text stringlengths 454 608k | url stringlengths 17 896 | dump stringclasses 91
values | source stringclasses 1
value | word_count int64 101 114k | flesch_reading_ease float64 50 104 |
|---|---|---|---|---|---|
Beginner Data Visualization & Exploration Using Pandas
This tutorial will offer a beginner guide into how to get around with Pandas for data wrangling and visualization.
Pandas is an open source data structures and data analysis tool for python programming. As we saw from this article Python is the most popular data sc... | https://www.kdnuggets.com/2018/10/beginner-data-visualization-exploration-using-pandas-beginner.html | CC-MAIN-2019-13 | refinedweb | 566 | 62.58 |
- Calculate Area and Circumference of a Circle
This article covers a program in Java that find and prints area and circumference of a circle. Both area and circumference will get calculated based on the radius provided at run-time of the program.
Note - The area of a circle is calculated using the formula 3.14*r*r. Wh... | https://codescracker.com/java/program/java-program-calculate-area-circumference.htm | CC-MAIN-2022-21 | refinedweb | 508 | 57.77 |
Control Components
MVC in Brief
ZK framework supports the MVC design pattern to develop a web application. This pattern separates an application into 3 parts: Model, View, and Controller. The Model is the data that an application handles. The View is UI which indicates a ZUL page in a ZK-based application. The Controll... | https://www.zkoss.org/_w/index.php?title=ZK_Spreadsheet_Essentials/Working_with_Spreadsheet/Control_Components&oldid=53582 | CC-MAIN-2022-33 | refinedweb | 1,245 | 55.03 |
Closed Bug 748193 Opened 10 years ago Closed 5 years ago
Highlight Password Form Fields on http pages or with http submits
Categories
(Firefox :: Security, defect)
Tracking
()
People
(Reporter: tanvi, Unassigned)
References
(Blocks 2 open bugs)
Details
(Whiteboard: [fxprivacy])
Attachments
(2 files, 1 obsolete file)
Ph... | https://bugzilla.mozilla.org/show_bug.cgi?id=748193 | CC-MAIN-2022-33 | refinedweb | 2,494 | 63.9 |
Hello, I am attempting to import a text file with 6,000,000 characters (5,000 cases and 228 variables) into SPSS. Unfortunately the data file was generated with white space (space between variables ranging from a single space to many spaces) as its delimiter method. SPSS reads the first space as the delimiter, and then... | https://developer.ibm.com/answers/questions/441660/importing-txt-data-into-spss-when-data-are-white-s.html | CC-MAIN-2019-35 | refinedweb | 383 | 74.69 |
In the case of inputting three states from the user, the checkbox fails. We can use Dropdown but it doesn't look so good. So, I thought of creating a triple-state-checkbox, just like Win Forms. This control uses the CSS to show three states of the checkbox. Currently, it returns 255 (byte's max value) for not selected,... | http://www.codeproject.com/Articles/17983/Triple-State-Checkbox-for-Web?PageFlow=FixedWidth | CC-MAIN-2013-20 | refinedweb | 223 | 65.93 |
CSmtpProxyMT is a C++ class that provides developers with a simple way to
implement a multi-threaded SMTP proxy server in their applications. You can use
it in MFC projects as well as in non-MFC C++ projects. I'd like to thank my good
friend Colin Davies for his idea of inserting signatures into mails at
the SMTP level... | https://www.codeproject.com/Articles/1576/CSmtpProxyMT-1-0?fid=2913&df=90&mpp=10&noise=1&prof=True&sort=Position&view=None&spc=None&fr=11 | CC-MAIN-2017-34 | refinedweb | 658 | 64.81 |
CS::Network::Socket::iSocket Struct Reference
A socket connection obtained from iSocketManager. More...
#include <inetwork/socket.h>
Detailed Description
A socket connection obtained from iSocketManager.
Definition at line 70 of file socket.h.
Member Function Documentation
Accept a currently pending connection while li... | http://www.crystalspace3d.org/docs/online/api/structCS_1_1Network_1_1Socket_1_1iSocket.html | CC-MAIN-2017-30 | refinedweb | 558 | 65.12 |
New firmware release v1.7.7.b1 (REQUIRES NEW UPDATER TOOL)
Hello,
A new firmware release is out. The version is 1.7.7.b1. Here's the change log:
Before upgrading to this version make sure to get the latest updater tool firs. Read this port for more info:
esp32: Correct the OTAA (over the air update) functionality
esp32... | https://forum.pycom.io/topic/1536/new-firmware-release-v1-7-7-b1-requires-new-updater-tool | CC-MAIN-2017-34 | refinedweb | 1,211 | 73.37 |
Hi All,
Wondering if someone can help me finish off coding my script? It works the way I would like it to apart from one small problem which i've hit a brick wall over. i'll explain below.
i am currently developing this page for my employers:
on instructions from my employers they want me to remove the small palace cin... | http://www.webdeveloper.com/forum/showthread.php?206132-Client-not-recognizing-server-changes&goto=nextnewest | CC-MAIN-2014-49 | refinedweb | 512 | 71.44 |
>
Hello, I just want to know How to get object's X axis rotation EXACTLY as in inspector ? I tried transform.eulerAngles.x it works at the beginning but when the X axis in the inspector hits 83 the one in the script starts to decrease on its own, and when the one in the script hits 0 it goes up to 340 directly.. and I ... | https://answers.unity.com/questions/1514780/how-to-get-objects-x-axis-rotation-exactly-as-in-i.html | CC-MAIN-2019-26 | refinedweb | 1,099 | 67.25 |
What we're making
Seth Corker@darth_knoppix
🎬 Bounce animation with colour change in Framer Motion (React)
#react #framermotion #webdev #webanimation09:01 AM - 29 Nov 2019
We're creating this bouncing animation using easeOut easing and yoyo. This creates a simple bounce which continues to loop. We also make use of key... | https://practicaldev-herokuapp-com.global.ssl.fastly.net/darthknoppix/framer-motion-bouncing-ball-animation-5ce3 | CC-MAIN-2021-31 | refinedweb | 602 | 51.78 |
If you have a collection of methods in a file, is there a way to include those files in another file, but call them without any prefix (i.e. file prefix)?
So if I have:
[Math.py]
def Calculate ( num )
[Tool.py]
using Math.py
for i in range ( 5 ) :
Calculate ( i )
You will need to import the other file as a module like ... | https://codedump.io/share/zVcPYWA9cssc/1/how-to-include-external-python-code-to-use-in-other-files | CC-MAIN-2018-17 | refinedweb | 124 | 72.7 |
alive-progress alternatives and similar packages
Based on the "Terminal Rendering" category.
Alternatively, view alive-progress alternatives based on common mentions on social networks and blogs.
rich9.7 9.8 alive-progress VS richRich is a Python library for rich text and beautiful formatting in the terminal.
tqdm9.5 8... | https://python.libhunt.com/alive-progress-alternatives | CC-MAIN-2021-49 | refinedweb | 4,906 | 62.07 |
Alright, so the assignment for my entry level c++ class is to write a function isVowel in a program that can identify whether a letter entered by a user is a vowel or not. Here is what I have conjured up however know from looking at it I am very wrong in my approach, can somebody out there send me in the right directio... | https://cboard.cprogramming.com/cplusplus-programming/57637-help-im-still-learning.html | CC-MAIN-2017-13 | refinedweb | 133 | 55.92 |
Introducing Spock, a testing and specification framework for the JVM
Introducing Spock, a testing and specification framework for the JVM
Join the DZone community and get the full member experience.Join For Free
Get the Edge with a Professional Java IDE. 30-day free trial.
Spock is a new testing and specification frame... | https://dzone.com/articles/introducing-spock-testing-and | CC-MAIN-2018-43 | refinedweb | 748 | 64.41 |
Nmap Development
mailing list archives
The change from C++ to Lua [1] has been merged (r12887) into the Nmap
trunk. The merge came from the nse-lua-merge [2] branch which is a
watered down version of nse-lua [3]. The features removed in the final
patch from nse-lua were developed with the intention of demonstrating
sol... | http://seclists.org/nmap-dev/2009/q2/90 | CC-MAIN-2014-42 | refinedweb | 491 | 64.3 |
Details
- Type:
New Feature
- Status: Resolved
- Priority:
Major
- Resolution: Fixed
- Component/s: emma-plugin
- Labels:None
- Similar Issues:
Description
JaCoCo is the successor of emma.
Maybe it is possible to support the new coverage file format.
Attachments
Activity
Attached an xslt Stylesheet which converts the j... | https://issues.jenkins-ci.org/browse/JENKINS-10835?focusedCommentId=158127&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel | CC-MAIN-2016-44 | refinedweb | 492 | 58.58 |
Text Generation using Tensorflow, Keras and LSTM
Automatic Text Generation. The dataset is available here.
LSTM
-.
Here we are importing the necessary libraries:-
- We have used a command to select the tensorflow version as 2.x
- We have imported
tensorflowto build the model.
- We have imported
stringto get set of punc... | https://kgptalkie.com/text-generation-using-tensorflow-keras-and-lstm/ | CC-MAIN-2021-17 | refinedweb | 2,005 | 65.73 |
Last.
In Part 1 of this series, we created an e-commerce site that exposed three types of URLs:
We handled these URLs by creating a "ProductsController" class like below:.
The ASP.NET MVC framework includes a flexible URL routing system that enables you to define URL mapping rules within your applications. The routing ... | http://weblogs.asp.net/scottgu/archive/2007/12/03/asp-net-mvc-framework-part-2-url-routing.aspx | crawl-001 | refinedweb | 3,208 | 74.08 |
Django: Tear down and re-sync the database
Django includes the useful management command syncdb for creating the database tables and columns used by your application. If you add new tables (model classes) then re-running syncdb will add them for you. Unfortunately if you modify columns of existing tables, or add new c... | http://www.voidspace.org.uk/python/weblog/arch_Tools.shtml | CC-MAIN-2016-44 | refinedweb | 2,548 | 63.29 |
If you’re serious about web development, then you’ll need to learn about JavaScript at some point. Year after year, numerous surveys have shown that JavaScript is one of the most popular programming languages in the world, with a large and growing community of developers. Just like Python, modern JavaScript can be used... | https://realpython.com/python-vs-javascript/ | CC-MAIN-2021-17 | refinedweb | 16,885 | 53.41 |
Svante Signell, le Fri 15 Apr 2011 15:55:49 +0200, a écrit : > Updated, see patch. What kind of leak is this? path is overwritten by a > new malloced array. And so the old pointer is lost and will never be freed. > Are the potential problems coming from that malloc does not clear the > memory allocated, There is no rea... | https://lists.debian.org/debian-hurd/2011/04/msg00176.html | CC-MAIN-2020-50 | refinedweb | 130 | 73.27 |
:
Hey Alex,
Aren't unidirectional associations similar to aggregation.
How can be differentiate them.
The parent in an aggregation owns the relationship with the child. If the parent dies, the children die too. In an association, this isn't true.
in the doctor patient example, if we delete doctor james, then let the pr... | https://www.learncpp.com/cpp-tutorial/10-4-association/comment-page-1/ | CC-MAIN-2019-13 | refinedweb | 3,146 | 65.32 |
Bounds vrs Frame Center etc in ui
@omz, are the concepts of frames and bounds , Center not 100% correct?
Look if it's a little broken that's ok. But I am never sure if it is just me, oR I just don't understand your coord system. Maybe there is some missing documentation.
But to me, center for example seems wrong. If I ... | https://forum.omz-software.com/topic/2490/bounds-vrs-frame-center-etc-in-ui | CC-MAIN-2018-39 | refinedweb | 2,466 | 75 |
Thoughts on software development
James Shore has published an excellent 2 part series of articles covering agile planning through using risk management practices to make solid commitments. The articles show how to use Risk Multipliers to account for common risks such as turnover, changing requirements, work disruption ... | http://dotnet.org.za/cjlotz/ | crawl-002 | refinedweb | 4,098 | 59.53 |
There are several tools available to query and browse WMI information. These tools can be very useful in situations in which you want to access WMI information but do not want to write a script to do it.
The WMI command-line tool (WMIC) is a powerful tool that can expose virtually any WMI information you want to access... | http://etutorials.org/Server+Administration/Active+directory/Part+III+Scripting+Active+Directory+with+ADSI+ADO+and+WMI/Chapter+26.+Scripting+with+WMI/26.4+WMI+Tools/ | CC-MAIN-2017-04 | refinedweb | 543 | 59.94 |
TSSslSession¶
Synopsis¶
#include <ts/ts.h>
- TSSslSession
TSSslSessionGet(const TSSslSessionID * sessionid)¶
- int
TSSslSessionGetBuffer(const TSSslSessionID * sessionid, char * buffer, int * len_ptr)¶
- TSReturnCode
TSSslSessionInsert(const TSSslSessionID * sessionid, TSSslSession addSession)¶
- TSReturnCode
TSSslSess... | https://docs.trafficserver.apache.org/en/latest/developer-guide/api/functions/TSSslSession.en.html | CC-MAIN-2019-39 | refinedweb | 355 | 54.73 |
( Fi-1 whereas next is Fi
#include <iostream> int main() { unsigned int tests; std::cin >> tests; while (tests––) { unsigned long long last; std::cin >> last; unsigned long long sum = 0; // first Fibonacci numbers unsigned long long a = 1; unsigned long long b = 2; // until we reach the limit while (b <= last) { // eve... | https://nerdprogrammer.com/project-euler-problem-2-even-fibonacci-numbers-solution/ | CC-MAIN-2021-17 | refinedweb | 261 | 57.95 |
Archives
Tools galore
How many tools do you think we can use for .NET development?
Well, more than 905 tools (including 292 libraries) according to what I have referenced in SharpToolbox so far! How many do you actually know? ;-)
I started collecting this information more than three years ago now... It's been a while s... | http://weblogs.asp.net/fmarguerie/archive/2006/6 | CC-MAIN-2015-06 | refinedweb | 1,732 | 55.74 |
Raphaël is a small JavaScript library written by Dmitry Baranovskiy of Atlassian, that allows you to create and manipulate vector graphics in your web pages. It’s amazingly simple to use and is cross-browser compatible; supporting Internet Explorer 6.0+, Safari 3.0+, Firefox 3.0+, and Opera 9.5+. Internally Raphaël use... | http://www.sitepoint.com/blogs/2008/09/03/easy-vector-graphics-with-the-raphael-javascript-library/ | crawl-002 | refinedweb | 1,369 | 65.52 |
Environment:
Python 3.7.2
macOS
- Import sub1 normally from main.py
Currently, I am writing a python3 program with the following directory structure and source code.
├── main.py └── modules ├── sub1.py └── sub2.py
# main.py from modules import sub1 if __name__ == '__main__': sub1.sub1_func ()
# modules/sub1.py import s... | https://www.tutorialfor.com/questions-150749.htm | CC-MAIN-2021-10 | refinedweb | 465 | 54.42 |
Hello,
I am taking my first basic computer programming course. We are learning how to use C# in Visual Studio. Recently we started learning about classes and how they work in OOP. I get the idea of what they are and what they do. I am having a problem writing the code that is needed for my homework assignment. Here is ... | https://www.daniweb.com/programming/software-development/threads/440000/carpenters-desk-program | CC-MAIN-2016-50 | refinedweb | 818 | 68.47 |
Reading clojure docs is a PITA
Check for example this page:
First of all, it looks like some badly formatted prose, definitely not as some technical document that is supposed to convey exact definitions.
But the looks is just one thing, the content is even worse:
“Loads libs, skipping any that are already loaded.”
Norm... | https://medium.com/@johnsontabouret/reading-clojure-docs-is-a-pita-a1097cab08fb | CC-MAIN-2018-22 | refinedweb | 614 | 66.57 |
Python Data Structures and Algorithms: Sort a list of elements using Gnome sort
Python Search and Sorting : Exercise-13 with Solution
Write a Python program to sort a list of elements using Gnome sort.
Gnome sort is a sorting algorithm originally proposed by Dr. Hamid Sarbazi-Azad (Professor of Computer Engineering at ... | https://www.w3resource.com/python-exercises/data-structures-and-algorithms/python-search-and-sorting-exercise-13.php | CC-MAIN-2019-39 | refinedweb | 255 | 56.39 |
Red Hat Bugzilla – Bug 868447
Runtime Error Could not execute JDBC batch update at sun.reflect.NativeConstructorAccessorImpl.newInstance0:-2
Last modified: 2013-10-11 15:36:18 EDT
Description of problem:
I think I had just clicked on Subscribe to attach a subscription to my system (may have clicked Update though). Inst... | https://bugzilla.redhat.com/show_bug.cgi?id=868447 | CC-MAIN-2017-51 | refinedweb | 431 | 50.84 |
DCOP: Desktop COmmunications Protocol
Preston Brown <pbrown@kde.org> October 14, 1999
Revised and extended by Matthias Ettrich <ettrich@kde.org> Mar 29, 2000
HTMLized by Hans Meine Hans Meine <rastajoe@gmx.net> May 25, 2000
Added a DCOPRef example: Tim Jansen May 12, 2003
Note that new features may not be developed for... | http://techbase.kde.org/index.php?title=Development/Architecture/DCOP&diff=60952&oldid=51400 | CC-MAIN-2013-20 | refinedweb | 3,141 | 55.64 |
Bandits appeared in the city! One of them is trying to catch as many citizens as he can.
The city consists of 𝑛 squares connected by 𝑛 𝑎𝑖 citizens on the 𝑖 𝑛 — the number of squares in the city (2≤𝑛≤2⋅105).
The second line contains 𝑛−1 integers 𝑝2,𝑝3…𝑝𝑛 meaning that there is a one-way road from the square �... | https://blog.csdn.net/tomjobs/article/details/109369755 | CC-MAIN-2020-50 | refinedweb | 339 | 76.96 |
Phase One 645 Af Users Manual Capture 4 Guide
Phase-One-645-Af-User-Guide-778392 phase-one-645-af-user-guide-778392
645 AF to the manual 36aa9dd4-792e-4fba-aa5c-2ac1051f0293
645 AF - User Guide 645AF_UG_EN Free User Guide for Phase One Camera, Manual
2015-02-06
: Phase-One Phase-One-645-Af-Users-Manual-518342 phase-one... | https://usermanual.wiki/Phase-One/PhaseOne645AfUsersManual518342.959685904/html | CC-MAIN-2021-21 | refinedweb | 23,887 | 62.07 |
First you need to install the Serial library:
apt-get install python-serial
The Sparkfun adapter uses FTDI so it shows up as
/dev/ttyUSB0
I found this, it works really well.
Simple TCP/IP bridge
I started with this link:
I couldn’t get it to show data from the Xbee at first so I used Minicom to test:
Somehow it starte... | https://mobilewill.us/quicknote-raspberry-pi-python-serial-updated/ | CC-MAIN-2020-24 | refinedweb | 585 | 80.51 |
When defining a method on a class in Python, it looks something like this:
class MyClass(object):
def __init__(self, x, y):
self.x = x
self.y = y
I like to quote Peters' Zen of Python. "Explicit is better than implicit."
In Java and C++, '
this.' can be deduced, except when you have variable names that make it impossib... | https://codedump.io/share/w0Jehd7I6Isa/1/why-do-you-need-explicitly-have-the-quotselfquot-argument-into-a-python-method | CC-MAIN-2017-04 | refinedweb | 111 | 69.38 |
Code Sample: OAuth 2.0 Delegation
Published: April 7, 2011
Updated: April 9, 2013
Applies To: Windows Azure
This sample illustrates an end-to-end scenario that includes a resource protected by Windows Azure Active Directory Access Control (also known as Access Control Service or ACS) and a client application that consu... | http://msdn.microsoft.com/en-us/library/windowsazure/gg185937 | CC-MAIN-2013-20 | refinedweb | 1,583 | 55.84 |
Rather than get all items, our API users may want to find a specific entity in the database. For this kind of request, we can use
CrudRepository methods like
.findById(Integer id).
Continuing the example of the
Person model, we would add this endpoint to our
PersonController:
import java.util.Optional; // Other imports... | https://www.codecademy.com/courses/learn-spring/lessons/add-a-database-with-jpa/exercises/make-queries-to-your-database-findbyid | CC-MAIN-2022-27 | refinedweb | 321 | 60.95 |
Get sidetracked?
________________________________
From: Francis Galiegue <fge@one2team.com>
To: Ant Users List <user@ant.apache.org>
Sent: Monday, May 4, 2009 2:26:40 PM
Subject: Re: Reset BuildNumber
Le Monday 04 May 2009 22:02:04 Eric Fetzer, vous avez écrit :
> Thank you very much Francis! I really appreciate the ha... | http://mail-archives.apache.org/mod_mbox/ant-user/200905.mbox/%3C467892.97223.qm@web65702.mail.ac4.yahoo.com%3E | CC-MAIN-2014-42 | refinedweb | 121 | 70.13 |
#include <stdio.h>void initialize_arr(float *, int n);float summation(float *, int n);void main(){ int N=500; float arr[N], tot; initialize_arr(arr, N); tot = summation(arr, N); printf("tot = %f\n", tot);}
arr_cal.f90
subroutine initialize_arr(arr, n) bind(c) use, intrinsic :: iso_c_binding real(kind=c_float) :: arr(n)... | https://www.ibm.com/developerworks/community/blogs/5894415f-be62-4bc0-81c5-3956e82276f3/entry/xl_compilers_and_parallel_environment?lang=en | CC-MAIN-2019-51 | refinedweb | 438 | 57.57 |
We have seen in previous posts what is machine learning and even how to create our own framework. Combining machine learning and finance always leads to interesting results. Nevertheless, in supervised learning, it is crucial to find a set of appropriate labels to train your model. In today’s post, we are going to see ... | https://quantdare.com/4-simple-ways-to-label-financial-data-for-machine-learning/ | CC-MAIN-2022-40 | refinedweb | 1,609 | 59.6 |
NAME
memfd_create - create an anonymous file
SYNOPSIS
#define
_GNU_SOURCE /* See feature_test_macros(7) */
#include <sys/mman.h>
int memfd_create(const char *name, unsigned int flags);
DESCRIPTION
mem
On success, memfd_create() returns a new file descriptor. On error, -1 is returned and errno is set to indicate the err... | https://man.cx/memfd_create(2) | CC-MAIN-2022-21 | refinedweb | 144 | 67.25 |
In this example, we demonstrate on using a for loop to find the total sum of an array.
We have talked about property. Here, we used an array property Length to find the number of element in the array. This is shown in line 13 where we access the length of the array using array.Length.
This number is needed for the for ... | http://codecrawl.com/2014/08/20/csharp-finding-sum-average-array/ | CC-MAIN-2016-44 | refinedweb | 183 | 67.55 |
Publishers of technology books, eBooks, and videos for creative people
Home > Blogs > Easier Coding in Flash Builder
Flash Builder, like any good IDE, can facilitate programming in several different ways. By taking advantage of what Flash Builder can do, you can write ActionScript code more quickly and, most importantl... | http://www.peachpit.com/blogs/blog.aspx?uk=Easier-Coding-in-Flash-Builder | CC-MAIN-2018-13 | refinedweb | 672 | 60.14 |
A clear and powerful
Take a look at the online demo at: or you can visit these websites who use Zinnia.
- Fantomas’ side
- Ubuntu’s developers blog
- Tryolabs
- AR.Drone Best of User Videos
- Professional Web Studio
- Infantium
- Rudolf Steiner School of Kreuzlingen
- Vidzor Studio LLC
- Bookshadow
- Future Proof Games... | https://pypi.org/project/django-blog-zinnia/0.18.1/ | CC-MAIN-2018-17 | refinedweb | 217 | 50.53 |
Investors considering a purchase of Mohawk Industries, Inc. (Symbol: MHK) shares, but tentative about paying the going market price of $193.74/share, might benefit from considering selling puts among the alternative strategies at their disposal. One interesting put contract in particular, is the February 2016 put at th... | https://www.nasdaq.com/articles/commit-buy-mohawk-industries-175-earn-63-annualized-using-options-2015-07-28 | CC-MAIN-2019-39 | refinedweb | 391 | 64.91 |
I spent the whole evening trying all sorts of circuits and understanding the meaning of "open drain" and "sink capability".I ended up with conclusion that if I feed +5V, an open drain transistor like the DS2406 PIO pins with sink capability of 0.4V means it can go from +5.0V to +4.6V.It can't go from +5.0 to +0.4V, tho... | http://forum.arduino.cc/index.php/topic,12355.0.html | CC-MAIN-2015-22 | refinedweb | 422 | 70.8 |
On Thu, Jan 15, 2009 at 10:19:58AM +0000, Daniel P. Berrange wrote: > > +#ifdef __sun > > + { > > + ucred_t *ucred = NULL; > > + const priv_set_t *privs; > > + > > + if (getpeerucred (fd, &ucred) == -1 || > > + (privs = ucred_getprivset (ucred, PRIV_EFFECTIVE)) == NULL) { > > + if (ucred != NULL) > > + ucred_free (ucre... | https://www.redhat.com/archives/libvir-list/2009-January/msg00276.html | CC-MAIN-2014-15 | refinedweb | 412 | 72.97 |
Wendy, you could most certainly use a LRUMap with a fixed size. Give
each item a unique key and let the Map take care of uniqueness. LRUMap
will take care of discarding the least recently used entry once it
reached the maximum defined size, and the Iterator returns most recently
used to least recently used. This would ... | http://mail-archives.apache.org/mod_mbox/commons-user/200507.mbox/%3C42CA4CC9.4040603@discursive.com%3E | CC-MAIN-2017-09 | refinedweb | 459 | 50.63 |
Can I 'ignore' query string variables before pulling matching objects from the cache, but not actually remove them from the URL to the end-user?
For example, all the marketing
utm_source,
utm_campaign,
utm_* values don't change the content of the page, they just vary a lot from campaign to campaign and are used by all ... | https://www.codesd.com/item/ignore-utm-values-with-varnish.html | CC-MAIN-2019-13 | refinedweb | 339 | 55.74 |
Communities
Control-M not able to pass values to WebserviceArjun Thakur Jun 1, 2012 2:35 AM
Hi All,
I created below webservice usign Netbeans.
*************************************************************
@WebService()
public class AddNumbersImpl {
@WebMethod(operationName = "getName")
public String getName(@WebParam(n... | https://communities.bmc.com/thread/67367?start=0&tstart=0 | CC-MAIN-2019-18 | refinedweb | 241 | 55.78 |
A heuristic that stores the initial solution of the NLP. More...
#include <BonInitHeuristic.hpp>
A heuristic that stores the initial solution of the NLP.
This is computed before Cbc is started, and in this way we can tell Cbc about this.
Definition at line 24 of file BonInitHeuristic.hpp.
Copy constructor.
Destructor.
... | http://www.coin-or.org/Doxygen/Couenne/class_couenne_1_1_init_heuristic.html | crawl-003 | refinedweb | 103 | 60.51 |
Extending Phooey
From HaskellWiki
Revision as of 07:27, 18 August 2007
A note on how Phooey is being extended and utilised to develop a non-trivial application HGene. The key problem being addressed is the 'wiring problem' - How to wire up all the buttons, menus and display widgets so that it all works smoothly and is ... | http://www.haskell.org/haskellwiki/index.php?title=Extending_Phooey&diff=prev&oldid=15126 | CC-MAIN-2014-35 | refinedweb | 446 | 59.94 |
#include <MUserEventMessage.h>
This class is used to register user-defined event types, register callbacks with the user-defined event types, and to post user-defined messages.
The registerUserEvent and deregisterUserEvent methods allow user event types to be created and destroyed. User events are identified by a uniqu... | http://download.autodesk.com/us/maya/2009help/api/class_m_user_event_message.html | CC-MAIN-2016-44 | refinedweb | 293 | 65.52 |
Details
- Skillsc#, c++, embedded
Joined devRant on 9/15/2017
-
- Why the fuck do coding blogs insist on using themes with a 600px content column, then use code samples that are 3x wider than that? The whole reason I have a widescreen monitor is to not _have_ to scroll, jackass!1
- I wish the U.S. didn't "pasteurize" e... | https://devrant.com/users/tullo-x86 | CC-MAIN-2018-47 | refinedweb | 599 | 65.62 |
import org.netbeans.modules.form.palette.PaletteItem;25 26 /**27 * Cookie allowing drag and drop of nodes to form module.28 *29 * @author Jan Stola, Tomas Pavek30 */31 public interface NewComponentDrop extends Node.Cookie {32 33 /**34 * Describes the primary component that should be added.35 */36 PaletteItem getPalett... | http://kickjava.com/src/org/netbeans/modules/form/NewComponentDrop.java.htm | CC-MAIN-2016-44 | refinedweb | 121 | 51.04 |
[SOLVED] QSystemScreenSaver
I'm trying to stop the screensaver when my app is in the foreground.
()
I followed the code snippet from the link above, but still, I'm getting compile errors 'QSystemScreenSaver' does not name a type.
I use Qt SDK 1.1 beta on Windows 7.
The compiler can't find QSystemScreenSaver class decla... | https://forum.qt.io/topic/4103/solved-qsystemscreensaver | CC-MAIN-2018-47 | refinedweb | 123 | 62.68 |
Ok, I'm no noob to writing client/server applications or API's to interact with them. However, I have usually done this type of programming in C or PHP and rolled my own *EVERYTHING* to make it work. This is obviously very time consuming, and since I've been writing more and more API's lately I decided to give 'somethi... | http://www.robertshady.com/content/creating-very-basic-api-using-python-django-and-piston | CC-MAIN-2015-40 | refinedweb | 1,717 | 63.9 |
OpenGL Programming/Modern OpenGL Introduction
Contents, GLUT and GLEW are ready to use. Check the installation pages to prepare everything for your system.
To situate these libraries in the OpenGL stack, check APIs, Libraries and acronyms.
Note: we chose GLUT because it is as minimal as a portable layer can get. We won... | http://en.wikibooks.org/wiki/OpenGL_Programming/Modern_OpenGL_Introduction | CC-MAIN-2014-42 | refinedweb | 572 | 53.81 |
Package: e2fsprogs Version: 1.42~WIP-2011-10-05-1 Severity: important Tags: patch User: debian-hurd@lists.debian.org Usertags: hurd Hello, The patch inlined below fixes the remaining FTBFS problems for GNU/Hurd. It probably fixes the build problems for GNU/kFreeBSD too. The QIF_* stuff is only used for quota_v2 and kfr... | http://lists.debian.org/debian-hurd/2011/10/msg00020.html | CC-MAIN-2013-20 | refinedweb | 239 | 53.78 |
linc-thra
Junior Member
Last Activity: 3rd June 2017 06:47 PM
Most Thanked
Thanks
Post Summary
1
Is there a reason why you are trying to do this and not use the Plex App? Is it just a coding experiment or is there some reason why you want to bypass the Plex app? There is a reason. Now that this is working, I have tied ... | https://forum.xda-developers.com/member.php?s=8e16cab77baa24f5520ba455c19855c2&u=7929505 | CC-MAIN-2018-05 | refinedweb | 162 | 84.88 |
I have an class that is an enumerated type:
public class MyType implements Serializable {
public final static MyType TYPE1 = new MyType();
public final static MyType TYPE2 = new MyType();
...
}
When I use this type in a business object that is returned from a session bean method, the type is broken. I understand why, b... | http://www.theserverside.com/discussions/thread.tss?thread_id=12394 | CC-MAIN-2014-15 | refinedweb | 248 | 52.73 |
#include <IpIpoptAlg.hpp>
Inheritance diagram for Ipopt::IpoptAlgorithm:
Main Ipopt algorithm class, contains the main optimize method, handles the execution of the optimization. The constructor initializes the data structures through the nlp, and the Optimize method then assumes that everything is initialized and read... | http://www.coin-or.org/Doxygen/CoinAll/class_ipopt_1_1_ipopt_algorithm.html | crawl-003 | refinedweb | 574 | 50.63 |
30, 2007 09:00 AMPiers Cawley writes about a potential problem he discovered in a blog article about Lazily Initialized Attributes. The problematic code:".
nil. Here an example to illustrate:
a = falseWhat's the result of this? Since a was initialized in the first line, the second line should not have had any effect. ... | http://www.infoq.com/news/2007/07/ruby-gotcha | crawl-002 | refinedweb | 357 | 54.73 |
I've just started using pyserial as I will eventually need to read/save information coming from a particular port. Using the following code I am merely printing the port used and then trying to write and then read in some text ("hello"). The port is printing fine, but the output of my string is coming out as 5. Any ide... | https://codedump.io/share/gmX8JocYRnfD/1/pythonpyserial-reading-incoming-information-from-port | CC-MAIN-2017-26 | refinedweb | 214 | 52.97 |
This chapter describes how to integrate with unmanaged code in
native DLLs. Unless otherwise stated, the types mentioned in this chapter
exist in either the
System or the
System.Runtime.InteropServices
namespace.
P/Invoke, short for Platform
Invocation Services, allows you to access functions, structs,
and callbacks in... | https://www.oreilly.com/library/view/c-30-in/9780596527570/ch22.html | CC-MAIN-2019-26 | refinedweb | 219 | 50.02 |
How to Make a Simple Comparisons in C Programming
You make comparisons all the time, so you shouldn’t avoid comparisons in C programming. What will you wear in the morning? Should you avoid Bill’s office because the receptionist says he’s “testy” today? And how much longer will you put off going to the dentist? The com... | https://www.dummies.com/programming/c/how-to-make-a-simple-comparisons-in-c-programming/ | CC-MAIN-2018-47 | refinedweb | 311 | 73.47 |
NEW: Learning electronics? Ask your questions on the new Electronics Questions & Answers site hosted by CircuitLab.
Microcontroller Programming » I made a new language for programming the Atmega
I'm been noticing how tough programming can be for people who are new to it, perhaps forced into it just because they like el... | http://www.nerdkits.com/forum/thread/1749/ | CC-MAIN-2018-09 | refinedweb | 2,111 | 72.66 |
Full Circle THE INDEPENDENT MAGAZINE FOR THE UBUNTU LINUX COMMUNITY
ISSUE #51 - July 2011
HOW TO: USE KDE 4.6 - PART 2
DESKTOP EFFECTS AND APPLICATION EQUIVALENTS full circle magazine #51
1
full circle magazine is neither affiliated with, nor endorsed by, Canonical Ltd.
contents ^
Full Circle
HowTo
Program In Python Pt... | https://issuu.com/fullcirclemagazine/docs/120906162746-285b5fca89a04d9d9bbba69f9844a62c | CC-MAIN-2018-22 | refinedweb | 16,662 | 66.23 |
This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of C++11 status.
Section: 21.6 [container.adaptors] Status: C++11 Submitter: Pablo Halpern Opened: 2009-08-26 Last modified: 2017-02-03
Priority: Not Prioritized
View all other issues in [container.... | https://cplusplus.github.io/LWG/issue1198 | CC-MAIN-2018-47 | refinedweb | 341 | 57.67 |
Difference between revisions of "Hello XML World Example (Buckminster)"
From Eclipsepedia
Revision as of 12:00, 9 October 2006
< To: Buckminster Project
This examples shows several Buckminster features in action.
To run the example, use the File > Open three lines are the usual XML incantations - this is XML, and this ... | http://wiki.eclipse.org/index.php?title=Hello_XML_World_Example_(Buckminster)&diff=13338&oldid=13337 | CC-MAIN-2013-48 | refinedweb | 105 | 60.24 |
Created on 2010-05-28 00:12 by terry.reedy, last changed 2010-05-29 16:47 by pakal.
Some of my tests use io.StringIO and assert that captured print output equals expected output. Until now, I reused one buffer by truncating between tests. I recently replaced 3.1.1 with 3.1.2 (WinXP) and the *second* test of each run st... | http://bugs.python.org/issue8840 | crawl-003 | refinedweb | 1,065 | 76.42 |
Work motivation
While working for various clients that needed fast binary serialization, we had discovered that the
binary and
cereal packages are both inefficient and so we created the
store package.
In the high-frequency trading sector, we had to decode and encode a binary protocol into Haskell data structures for an... | https://www.fpcomplete.com/blog/2016/05/weigh-package | CC-MAIN-2020-05 | refinedweb | 2,387 | 64.81 |
I bought a used copy of Learning to Program in C++ by Steve Heller. It ususally comes with DJGPP Compiler, but mine was used and didn't have it. I just use Borland C++ 5.0
Anyways one of the examples in the book has
#include "string6.h"
my guess is for the part in the code that says
string answer;
Anyways when I compil... | http://cboard.cprogramming.com/cplusplus-programming/16599-string-h-help-printable-thread.html | CC-MAIN-2016-40 | refinedweb | 196 | 83.15 |
kalzium/libscience
#include <psetables.h>
Detailed Description
Holds all periodic system tables and make them accessible.
Provides functions to easyli create pse tables with qGridLayouts or qGraphicsView.
creating a table for the gridlayout
position elements in a qGraphicsScene
getting the position of the Numerations f... | https://api.kde.org/stable/kdeedu-apidocs/kalzium/libscience/html/classpseTables.html | CC-MAIN-2020-05 | refinedweb | 203 | 51.75 |
D-Bus users
Below is a list of projects using D-Bus. It is not complete so if you know of a project which should be added please just edit the wiki. (Or send mail to the mailing list and see if someone has time to do it for you.)
The list also includes the bus names owned by the projects' software. This is to help avoi... | https://freedesktop.org/wiki/Software/DbusProjects/?action=PackagePages | CC-MAIN-2016-40 | refinedweb | 157 | 81.73 |
Convert a Ruby Method to a Lambda
Convert a method to a lambda in Ruby: lambda(&method(:events_path)). OR JUST USE JAVASCRIPT.
It might not be clear what I was talking about or why it would be useful, so allow me to elaborate. Say you’ve got the following bit of Javascript:
var ytmnd = function() { alert("you're the ma... | https://www.viget.com/articles/convert-ruby-method-to-lambda/ | CC-MAIN-2021-43 | refinedweb | 426 | 71.75 |
[Fredrik Johansson] >>> I'd rather like to see a well implemented math.nthroot. 64**(1/3.0) >>> gives 3.9999999999999996, and this error could be avoided. [Steven D'Aprano] >> >>> math.exp(math.log(64)/3.0) >> 4.0 >> >> Success!!! [Tom Anderson] > Eeeeeeenteresting. I have no idea why this works. Given that math.log is... | https://mail.python.org/pipermail/python-list/2005-July/298805.html | CC-MAIN-2019-35 | refinedweb | 782 | 74.49 |
I'm using cakePHP and there is a very annoying problem. My controllers extend the AppController class which extends the Controller class. But when I want to use the Controller class's methods the code completion does not recognize them in my controllers.
The funny thing is that when I use the IDE's Go To Declaration it... | https://intellij-support.jetbrains.com/hc/en-us/community/posts/206376909-Code-completion-does-not-recognize-elements-of-the-parents-of-parent-class?page=1 | CC-MAIN-2020-29 | refinedweb | 824 | 63.09 |
Summary: in this tutorial, you’ll learn how to select columns from a DataFrame object.
In this example, we are going to use the data from List of metro systems on Wikipedia and parse its HTML table into a DataFrame object to serve as the main data source with the following code snippet.
# Create a DataFrame from Wiki t... | https://monkeybeanonline.com/select-dataframe-columns/ | CC-MAIN-2022-27 | refinedweb | 765 | 62.17 |
Announcing F# 4.6
Phillip
We’re excited to announce general availability of F# 4.6 and the F# tools for Visual Studio 2019! In this post, I’ll show you how to get started, explain the F# 4.6 feature set, give you an update on the F# tools for Visual Studio, and talk about what we’re doing next.
F# 4 also get an appropr... | https://devblogs.microsoft.com/dotnet/announcing-f-4-6/ | CC-MAIN-2019-18 | refinedweb | 2,414 | 60.35 |
I'm new to Java and have been working on an assignment for days w/ no luck.
I'm happy to post my program if needed BUT for now just looking for a hint(s) and clarification.
I am trying to write a 'simple' applet that will use a one dimensional array w/ 5 elements. Basically I want my user to enter a number in the text ... | http://forums.devx.com/showthread.php?140662-How-to-store-user-input-in-an-array-element&p=416577&mode=linear | CC-MAIN-2014-10 | refinedweb | 863 | 56.59 |
G'day, I just thought that I would make a little project announcement about something I've been tinkering with for the past week or two. NuFox is a server-side XUL toolkit written on top of nevow. It uses a customised stan dialect with xml namespace support as well as livepage (nevow svn head version), and then abstrac... | http://twistedmatrix.com/pipermail/twisted-web/2005-July/001782.html | CC-MAIN-2014-42 | refinedweb | 104 | 76.96 |
How to code Java (Basics) ( 300 Cycle Special! )
Java Tutorial (Basics) Understanding and coding Java
Hey guys! In this tutorial, I'll be going over most of the basics of Java and most of what I have learned. At the end there is some extra stuff that’s not in the basics, but useful stuff that I was able to learn from S... | https://replit.com/talk/learn/How-to-code-Java-Basics-300-Cycle-Special/39727?order=new | CC-MAIN-2021-17 | refinedweb | 2,623 | 71.85 |
Augmented reality has is showing up everywhere these days. Apple’s release of ARKit in iOS 11 and Google’s ARCore APIs are guaranteed to accelerate this trend by making augmented reality development accessible to even more developers and users.
We’re especially excited about the combination of augmented reality and rea... | https://www.twilio.com/blog/2017/10/ios-arkit-swift-twilio-programmable-video.html | CC-MAIN-2019-04 | refinedweb | 1,852 | 50.33 |
Dear all,
maybe this should go to the Enthought list, but as the failure is directly related to the pylab switch of ipython, I thought I try it here first:
On OSX I have trouble with using the pylab switch for ipython after I copied the gdal.pth into the Enthought site-packages folder (to be able to use my KyngChaos GD... | https://discourse.matplotlib.org/t/ipython-pylab-switch-gdal-enthought/13460 | CC-MAIN-2021-43 | refinedweb | 563 | 81.83 |
code:
#include "list.h"main(int argc, char *argv[]) { int i, N = atoi(argv[1]), M = atoi(argv[2]); Node t, x; initNodes(N); for (i = 2, x = newNode(1); i <= N; i++) { t = newNode(i); insertNext(x, t); x = t; } while (x != Next(x)) { for (i = 1; i < M ; i++) x = Next(x); freeNode(deleteNext(x)); } printf("%d\n", Item(x... | http://blogs.msdn.com/b/larryosterman/archive/2004/11/09/254561.aspx | CC-MAIN-2014-42 | refinedweb | 242 | 63.9 |
In “Mother of Components: Processor Expert with NXP Kinetis SDK V2.0 Projects” I presented an approach how to use Processor Expert components with the NXP Kinetis SDK. This article is a tutorial how to create a blinking LED project with that approach, using McuOnEclipse Processor Expert components and the Kinetis SDK V... | https://mcuoneclipse.com/2016/05/20/tutorial-blinky-with-nxp-kinetis-sdk-v2-0-and-processor-expert/ | CC-MAIN-2021-17 | refinedweb | 1,656 | 71.04 |
This topic describes how Windows Management Instrumentation (WMI) scripting is used with Microsoft Speech Server (MSS).
Use WMI scripting to perform tasks such as saving and loading configuration settings, monitoring servers, starting and restarting services, or initiating an action when a server shuts down.
For inform... | http://technet.microsoft.com/en-us/library/bb684732.aspx | crawl-002 | refinedweb | 787 | 50.73 |
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Need to remove Move , Clone issue ,Convert to issue from More drop down for Bug Issue type. I do not want to use permission Scheme. I would like to use script runner for this issue.
I have to question why you don'... | https://community.atlassian.com/t5/Adaptavist-questions/Need-to-remove-Move-Clone-issue-Convert-to-issue-from-More-drop/qaq-p/1905120 | CC-MAIN-2022-40 | refinedweb | 222 | 70.84 |
Not every bad block means that the entire disk will deteriorate soon.
I've had fixed installed disks where bad blocks were limited to a small area, and I kept using those disks (one for years) by simply allocating the bad blocks with a file, and making sure I never delete that file.
In other cases, especially if a drop... | http://hints.macworld.com/comment.php?mode=view&cid=122453 | CC-MAIN-2014-15 | refinedweb | 421 | 72.19 |
Installing Magic
Installing magic
Recently a method for imputing single cell gene expression matricies was posted on biorxiv by David van Dijk et al., called magic (Markov Affinity-based Graph Imputation of Cells). I’ve been analysing single cell RNA-seq data recently, and this method looks like it could be useful when... | http://timoast.github.io/blog/2017-03-03-installing-magic/ | CC-MAIN-2020-16 | refinedweb | 406 | 69.72 |
In the v14 environment:
rdm-convert --sed-d dbname.ddl
Use
'–sed' rather than
'–sed-d' if your original DDL is compiled without the
'-d' (duplicates allowed) command-line option.
Two files will be generated by rdm-convert:
dbname.sdl and
dbname.sed. The
.sdl file is SQL DDL, and you will use it to compile your new data... | https://docs.raima.com/rdm/14_1/create.html | CC-MAIN-2019-09 | refinedweb | 391 | 68.16 |
(For more resources on Python, see here.)
Introduction
Animation is about making graphic objects move smoothly around a screen. The method to create the sensation of smooth dynamic action is simple:
- First present a picture to the viewer’s eye.
- Allow the image to stay in view for about one-twentieth of a second.
- W... | https://hub.packtpub.com/python-graphics-animation-principles/ | CC-MAIN-2018-17 | refinedweb | 1,189 | 64.51 |
Copyright © 2006-2007. In this document the term HTML is used to refer to the XHTML dialect of HTML [XHTML].
GRDDL works through associating transformations with an individual document either through direct inclusion of references or indirectly through profile and namespace documents. For XML dialects the transformatio... | http://www.w3.org/TR/2007/NOTE-grddl-primer-20070628/ | crawl-001 | refinedweb | 5,769 | 51.89 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.