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
"""This module is intended for solving recurrences or, in other words, difference equations. Currently supported are linear, inhomogeneous equations with polynomial or rational coefficients. The solutions are obtained among polynomials, rational functions, hypergeometric terms, or combinations of hypergeometric term wh...
http://docs.sympy.org/dev/_modules/sympy/solvers/recurr.html
CC-MAIN-2013-20
refinedweb
2,484
60.72
This article tells you how to merge any two files, whether it is text or video irrespective of the content type and size of the file. Introduction:I have used FileStream class for merging two files. First file will be opened for appending. Second file will be opened and read into a byte array. Then this byte array is w...
http://www.c-sharpcorner.com/UploadFile/sonuraj/MergeTwoFiles04082008144204PM/MergeTwoFiles.aspx
crawl-002
refinedweb
206
70.29
Issues ZF-12224: Zend_Json::fromXml creates empty json string Description I have extracted an xml (xmp) string from a jpeg photo and successfully loaded it to create a DOMDocument in php. When I export the xml string from the DOMDocument (using $xmlstring = $xmldocument->saveXML()) and try to create a json string using...
http://framework.zend.com/issues/browse/ZF-12224?focusedCommentId=50745&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel
CC-MAIN-2015-27
refinedweb
468
59.84
-- | -- ( SearchQueue(..), SearchView(..), LIFO(..), FIFO(..), parallelTreeSearch ) where import Control.Monad.SearchTree import Control.Concurrent import qualified Data.Sequence as Seq -- | -- Search queues store multiple search trees. -- class SearchQueue q where -- | Constructs an empty search queue. emptyQ :: q a ...
http://hackage.haskell.org/package/parallel-tree-search-0.2/docs/src/Control-Concurrent-ParallelTreeSearch.html
CC-MAIN-2016-30
refinedweb
513
73.21
Corejava Interview,Corejava questions,Corejava Interview Questions,Corejava Core Java Interview Questions Page2  ... than an interface ? Ans : A Java interface is an abstract data type like... we cannot create objects of an interface. Typically, an interface in java Inter Thread Communication is ended or there is no th...
http://roseindia.net/tutorialhelp/comment/8920
CC-MAIN-2014-42
refinedweb
2,276
63.49
This program is awesome! This program is awesome! If you just want to change the year, you can do this: import time t = time.localtime(1222988400.0) t = (t[0] - 30,) + t[1:] unix_time = time.mktime(t) print unix_time Is this too crude? Why do you need this? Are you building a time machine? I'd say that PyS60 is around ...
http://developer.nokia.com/community/discussion/search.php?s=4ca073fd1680fe19509412d0ae4d9d00&searchid=1953317
CC-MAIN-2014-10
refinedweb
692
85.69
I'm trying to set bounds for an array that will later be printed in the console and summed. The lower bound ($a) should be less than 50 and I wrote this code to evaluate for that, but I want it to re-prompt for a number if a higher number is typed. So far, Google and experimentation have failed me. def num_a print "Pic...
https://codedump.io/share/mrSRwQt0AKgY/1/re-try-logic-in-a-simple-loop
CC-MAIN-2017-09
refinedweb
210
71.38
Detecting Code Indentation The Firefox developer tools use CodeMirror as the source editor in many places (including the new WebIDE). CodeMirror provides auto-indentation when starting a new line and can convert tab presses into indents. Both of these features are frustrating however if the editor is set to insert the ...
https://medium.com/firefox-developer-tools/detecting-code-indentation-eff3ed0fb56b
CC-MAIN-2017-09
refinedweb
1,335
63.8
Hi, I have created a feature collection layer using static feature collection. I am working in a completely disconnected environment. How can I export my feature collection layer to a shapefile/geojson/csv format ?? Please provide with some solution. Thanks in advance The runtime doesn't provide any feature for that. I...
https://community.esri.com/t5/arcgis-runtime-sdk-for-net/how-can-i-export-to-a-shapefile-geojson-csv-from-feature/td-p/112296
CC-MAIN-2020-50
refinedweb
444
56.25
Content-type: text/html #include <rpcsvc/ypclnt.h> int yp_get_default_domain( char **outdomain); int yp_bind( char *indomain); void yp_unbind( char *indomain); int yp_match( char *indomain, char *inmap, char *inkey, int inkeylen,, int *outorder); int yp_master( char *indomain, char *inmap, char **outname); char *yperr_...
http://backdrift.org/man/tru64/man3/yp_master.3.html
CC-MAIN-2016-44
refinedweb
1,052
53.31
Related Question Flask+nginx+uwsgi+Ubuntu tutorial My hopes are lost and so is my temper. I have followed the tutorial found here - I have reinstalled and started all over 10 times and still same PROBLEM. Is there another tutorial available because this only works to 80%. All works fine up to a certain point but I alwa...
https://www.digitalocean.com/community/questions/flask-nginx-uwsgi-ubuntu-tutorial
CC-MAIN-2020-24
refinedweb
386
52.87
Red Hat Bugzilla – Bug 246723 backport optimistic DAD patch from upstream Last modified: 2008-05-21 10:45:28 EDT Description of problem: ODAD backport as part of ipv6. As it turns out, this patch breaks xen... See bug 423791 for details. in 2.6.18-60.el5 You can download this test kernel from The patch contained in thi...
https://bugzilla.redhat.com/show_bug.cgi?id=246723
CC-MAIN-2017-26
refinedweb
122
59.7
Table of Contents - What this is about - The reference code base - 1. Fetch and print values within Session.run - 2. Use the tf.Print operation - 3. Use Tensorboard visualization for monitoring - a) clean the graph with proper names and name scopes - b) Add tf.summaries - c) Add a tf.summary.FileWriter to create log fi...
https://medium.com/free-code-camp/debugging-tensorflow-a-starter-e6668ce72617?source=post_recirc---------2------------------
CC-MAIN-2020-16
refinedweb
1,334
57.67
A CRTP base class for scoring schemes. More... #include <seqan3/alignment/scoring/scoring_scheme_base.hpp> A CRTP base class for scoring schemes. This type is never used directly, instead use seqan3::nucleotide_scoring_scheme or seqan3::aminoacid_scoring_scheme. This class is only implementation detail and not required...
https://docs.seqan.de/seqan/3-master-user/classseqan3_1_1scoring__scheme__base.html
CC-MAIN-2021-39
refinedweb
118
62.14
Give an algorithm (or straight Python code) that yields all partitions of a collection of N items into K bins such that each bin has at least one item. I need this in both the case where order matters and where order does not matter. Example where order matters >>> list(partition_n_in_k_bins_ordered((1,2,3,4), 2)) [([1...
https://codedump.io/share/KvvW4ibDWn0f/1/partition-n-items-into-k-bins-in-python-lazily
CC-MAIN-2017-30
refinedweb
317
61.9
.7, also released on November 20. It includes a fair number of fixes, including one with a CVE number attached. Kernel development news Quotes of the week +/* + * "Define 'is'", Bill Clinton + * "Define 'if'", Steven Rostedt + */ +#define if(cond) if (__builtin_constant_p((cond)) ? !!(cond) : \ + ({ \ + int ______r; \ ...
http://lwn.net/Articles/307993/
crawl-002
refinedweb
2,892
58.62
So this project started with a need - or, not really a need, but an annoyance I realized would be a good opportunity to strengthen my Haskell, even if the solution probably wasn't worth it in the end. There's a blog I follow (Fake Nous) that uses Wordpress, meaning its comment section mechanics and account system are a...
https://practicaldev-herokuapp-com.global.ssl.fastly.net/yujiri8/comparing-the-same-web-scraper-in-haskell-python-go-387a
CC-MAIN-2021-49
refinedweb
2,265
65.93
years, 2 months ago. Making a LED pulse for a desk lamp Hello: I am currently doing an experiment to check the alertness in people working with certain light scenarios. I need to add to a convenitonal desk lamp a BLUE LED light pulsing at: Rate of 1milisecond ON and 9miliseconds OFF With a power of 12micro watts / cm2...
https://os.mbed.com/questions/4749/Making-a-LED-pulse-for-a-desk-lamp/
CC-MAIN-2019-51
refinedweb
1,444
78.18
Liquidat has posted a nice overview of the technology known as NEPOMUK, a part of KDE 4. An excerpt reads: "Nepomuk-KDE is the basis for the semantic technologies we will see in KDE 4. Sebastian Trüg, the main developer behind Nepomuk-KDE, provided me with some up2date information about the current state and future pla...
http://dot.kde.org/comment/50627
CC-MAIN-2014-10
refinedweb
2,415
71.85
Copyright © 2007 W3C® (MIT, ERCIM, Keio), All Rights Reserved. W3C liability, trademark and document use rules apply. First Public Working Draft. Please send your comments. Based on the RIF Use Cases and Requirements, this document develops the RIF Core (core of the Rule Interchange Format) through (see . As mentioned,...
http://www.w3.org/TR/2007/WD-rif-core-20070330/
CC-MAIN-2017-04
refinedweb
1,396
54.93
Anton Pevtsov wrote: > The attached file contains the test updated according to your notes. Thanks! > > Martin Sebor's wrote: > >> <>> Second, in the test function, I would like to use rw_match() instead > > >> <>of Traits::compare() to verify that the contents of the buffer match >> the >> expected result. This will l...
http://mail-archives.apache.org/mod_mbox/stdcxx-dev/200603.mbox/%3C44283823.2040402@roguewave.com%3E
CC-MAIN-2017-13
refinedweb
362
57.5
On 11/23, Pekka Enberg wrote:> (Adding some CC's.)>> On Sat, Nov 21, 2009 at 2:16 PM, André Goddard Rosa> <andre.goddard@gmail.com> wrote:> > Avoid calling kfree() under pidmap spinlock, calling it afterwards.> >> > Normally kfree() is very fast, but sometimes it can be slow, so avoid> > calling it under the spinlock i...
http://lkml.org/lkml/2009/11/23/187
CC-MAIN-2016-18
refinedweb
197
66.94
FCNTL(2) System Calls Manual FCNTL(2) fcntl - file control #include <fcntl.h> int fcntl(int fd, int cmd, ...); The by some commands, a pointer to a struct flock by others (see below), and ignored by the rest. The commands are: F_DUPFD Return a new descriptor as follows: o Lowest numbered available descriptor greater th...
https://resin.csoft.net/cgi-bin/man.cgi?section=2&topic=fcntl
CC-MAIN-2019-09
refinedweb
291
65.01
Move last element to front of a Linked-List in C++ In this tutorial, we will learn to move last element to front of a linked-list in C++. For Example: - If the given linked list is 1->2->3->4->5 - Then, the output is 5->1->2->3->4 Algorithm: - Firstly, traverse the linked list till the last node. - Secondly, we will us...
https://www.codespeedy.com/move-last-element-to-front-of-a-linked-list-in-cpp/
CC-MAIN-2020-40
refinedweb
307
68.81
In this article we'll measure the performance of an example React app with both the Profiler tab in React DevTools, and the Profiler component. You’ve just created a brand new React app, but you want to understand its performance characteristics before shipping it to your customers. While you can use the browser’s User...
https://www.telerik.com/blogs/profiling-react-apps-with-profiler-api
CC-MAIN-2021-17
refinedweb
886
62.88
I hate this change :-( The code generated for something like this today: def f(): if 0: x = 1 elif 0: x = 2 elif 1: x = 3 elif 0: x = 4 else: x = 5 print(x) is the same as for: def f(): x = 3 print(x) No tests or jumps at all. That made the optimization an extremely efficient, and convenient, way to write code with the...
https://bugs.python.org/msg347383
CC-MAIN-2021-43
refinedweb
128
57.44
, ... [POSIX Threads Extension (1003.1c-1995)] TTYNAME(3) OpenBSD Programmer's Manual TTYNAME(3) NAME ttyname, ttyname_r, isatty, ttyslot - get name of associated terminal (tty) from file descriptor SYNOPSIS #include <unistd.h> char * ttyname(int fd); int ttyname_r(int fd, char *name, size_t namesize); int isatty(int f...
http://www.rocketaware.com/man/man3/ttyname.3.htm
crawl-002
refinedweb
233
53.41
Quick settings is undoubtedly one of the most popular feature in Android devices. It provides a convenient way to quickly change the device settings or key actions directly from the notification panel. Like required or frequently used, and should not be used as shortcuts to launching an app. Android Quick Settings Tile...
https://www.stacktips.com/tutorials/android/quick-settings-tile-api-example-in-android-n
CC-MAIN-2018-34
refinedweb
332
50.63
I am trying to make a custom ListView that can track where the list is in the view. To do this I need to set the delegate of the control, but if I do this I loose original functionality (Like ItemSelected). I guess that Xamarin have made a delegate for the ListView and I am setting my CustomListView to a new delegate, ...
https://forums.xamarin.com/discussion/comment/129827/
CC-MAIN-2019-18
refinedweb
475
58.38
If Page1.aspx opens Page2.aspx in a window, how can I have Page1.aspx refresh once Page2.aspx is closed? I have a page with data on it and I have a LinkButton set up so the user can edit that data. The LinkButton launches another windowed page with some text fields and a "Save" & "Cancel" button. Once one of those clic...
http://bighow.org/tags/ASPX/1
CC-MAIN-2017-04
refinedweb
606
67.86
Hi, I'm trying to make a very simple program that declares a new type of class, that contains a vector. The idea is that I will be able to make objects of this class for different chat bots, that are just a name, and then a list of numbers. Anyway, after scouring numerous forums I've been able to figure out how to decl...
https://cboard.cprogramming.com/cplusplus-programming/96464-using-vector-members-class.html
CC-MAIN-2017-22
refinedweb
172
71.95
using map, i want display message based on id selected [both are strings] i do no Hi Friend, Try the following code: import java.util.*; class MapExample { public static void main(String[] args) { Map map=new HashMap(); map.put("Message1","Hello"); map.put("Message2","Hello World"); map.put("Messgae3","All glitters are...
http://www.roseindia.net/answers/viewqa/Java-Beginners/14616-map.html
CC-MAIN-2013-20
refinedweb
112
66.64
Inline::Python - Write Perl subs and classes in Python. print "9 + 16 = ", add(9, 16), "\n"; print "9 - 16 = ", subtract(9, 16), "\n"; use Inline Python => <<'END_OF_PYTHON_CODE'; def add(x,y): return x + y def subtract(x,y): return x - y END_OF_PYTHON_CODE. Version 0.21 provides the ability to bind to 'new-style' clas...
http://search.cpan.org/~neilw/Inline-Python/Python.pod
crawl-002
refinedweb
511
67.45
import java.awt.Color ;23 import javax.swing.Icon ;24 25 /** A class which can provide rendering data for the tree portion an Outline,26 * such as converting values to text, providing tooltip text and icons.27 * Makes it possible to provide most of the interesting data that affects28 * display without needing to provi...
http://kickjava.com/src/org/netbeans/swing/outline/RenderDataProvider.java.htm
CC-MAIN-2016-44
refinedweb
299
60.95
How to Set up Borland's Free C Compiler for Windows The Borland C++ compiler is a free command line compiler which allows conversion of C or C++ applications into runnable computer programs (*.exe). This compiler is extremely well used and versatile. It is also a great value for its price of zero dollars. [edit] Steps ...
http://www.wikihow.com/Set-up-Borland%27s-Free-C-Compiler-for-Windows
crawl-002
refinedweb
689
76.01
On Tue, 2002-01-08 at 15:52, Andrew Morton wrote:> naah. preempt() means preempt. But the implementation> is in fact maybe_preempt(), or preempt_if_needed().Agreed. preempt has me envision various things, none of which are whatwe want. What is the difference between schedule vs preempt? Confusing.What we are calling pr...
https://lkml.org/lkml/2002/1/8/214
CC-MAIN-2015-11
refinedweb
126
61.73
Hive for Flutter — fast local storage database made with Dart About a month ago, talking with one application developer on Flutter, there was a problem of braking the processing of small (in tens of thousands) data arrays on the user’s phone. Many applications require data processing on the phone and, further, their sy...
https://awaik.medium.com/hive-for-flutter-fast-local-storage-database-made-with-dart-167ad63e2d1
CC-MAIN-2021-43
refinedweb
1,731
66.13
Neil Jerram <address@hidden> writes: > > an example? (c-lazy-catch #t (lambda () (mucho hairy data download using http, including continuations to suspend)) (lambda args (print-message "%s and %s went wrong" ...) ;; continue on connection or http protocol problems (including ;; http timeout), throw full error otherwise...
http://lists.gnu.org/archive/html/guile-devel/2006-01/msg00074.html
CC-MAIN-2016-26
refinedweb
275
62.58
TlsLiteCherry? TlsLiteCherry? is a little module that enables SSL for CherryPy. It uses TLS Lite, a pure Python implementation of the SSL/TLS stuff. A little comment from Daniel McNair: To be quite honest, the only reason I did this is because M2Crypto didn't compile on my Python 2.4-based Gentoo box. Ergo, I had to fi...
http://tools.cherrypy.org/wiki/TlsLite
CC-MAIN-2014-42
refinedweb
386
69.18
Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll Deployment Options8:26 with James Churchill Regardless of your specific development, testing, and deployment workflow, you'll need a way to apply pending migrations to databases hosted in shared envi...
https://teamtreehouse.com/library/deployment-options
CC-MAIN-2020-45
refinedweb
1,507
51.89
0 Members and 2 Guests are viewing this topic. def TWI_SLAVE_enable_sub_20568(...):LINK 0x0; # R0=TWI SLAVE ADDRB[FP + 0x8] = R0;R1 = 0x7f (X); # R1=0x7fR0 = R0 & R1; # discriminate lower 7 bitsP1 = 0x1404 (X); # P1=0x1404P1.H = 0xffc0; # P1=0xffc01404 -> TWI_CONTROLR1 = W[P1] (Z);R0 = R0 | R1;W[P1] = R0.L;R0 = W[P1] (...
https://www.eevblog.com/forum/testgear/sniffing-the-rigol_s-internal-i2c-bus/25/
CC-MAIN-2019-43
refinedweb
482
76.42
I have an aplication that I have been working on in flash CS4, it is an air application. When I close the application using the main windows close button it appears to close but is still running when I look at processes. If I close it by calling exit from the main menu it closes properly. I guess I am probably missing ...
https://forums.adobe.com/thread/488271
CC-MAIN-2017-39
refinedweb
542
64.81
FWIDE(3P) POSIX Programmer's Manual FWIDE(3P) This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. fwide — set stream orientation #in...
https://www.man7.org/linux/man-pages/man3/fwide.3p.html
CC-MAIN-2022-27
refinedweb
275
66.13
Raw OpenGL bindingsPosted Friday, 19 March, 2010 - 13:49 by todd in Hello, I've been enjoying playing with OpenTK: the enum's for input parameters are particularly sweet. HOWEVER... I am trying to port some moderately gnarly Java/JOGL code into C# with minimal changes. JOGL exposes a fairly raw-looking interface: input...
http://www.opentk.com/node/1655
CC-MAIN-2015-40
refinedweb
500
75.5
Question: What are the potential faults in using the IRR as What are the potential faults in using the IRR as a capital budgeting technique? Given these faults, why is this technique so popular among corporate managers? Relevant QuestionsWhy is the NPV considered to be theoretically superior to all other capital budget...
http://www.solutioninn.com/what-are-the-potential-faults-in-using-the-irr-as
CC-MAIN-2017-39
refinedweb
208
56.66
"Mark D. Baushke" <address@hidden> writes: > 1) bugfix. readlink() on AIX 4.3 returns a > negative link_length and sets errno == ERANGE > when the length of the link is greater than > buf_size. Shouldn't this incompatibility be fixed in readlink.c rather than xreadlink? I would expect other users of the readlink module...
http://lists.gnu.org/archive/html/bug-gnulib/2004-11/msg00015.html
CC-MAIN-2013-20
refinedweb
388
68.47
![if gte IE 9]><![endif]><![if gte IE 9]><![endif]><![if gte IE 9]><![endif]><![if gte IE 9]><![endif]> I am having some issues when I implement a watch dog timer in my application on top of ZStack-1.4.3-1.2.1 in CC2430 when I enable power saving. To give a brief overview on how i implement my algorithm, during the app...
http://e2e.ti.com/support/wireless_connectivity/proprietary_sub_1_ghz_simpliciti/f/156/t/16543
CC-MAIN-2016-22
refinedweb
804
65.22
alphaKValphaKV A simple key-value database, fast and lightweight. Support Linux/Mac/IOS/Android How to UseHow to Use #include "alphakv.hpp" USING_NS_HIVE; AlphaKV* pKey = new AlphaKV(); bool result = pKey->openDB("mydb"); result = pKey->set(key, keyLength, value, valueLength); uint32 valueLength; char* value = pKey->ge...
http://www.ctolib.com/alphaKV.html
CC-MAIN-2017-43
refinedweb
104
53
Tagged Content List Blog Post: 64-Bit Team Build Fails on Silverlight Projects (and How to Fix It) Jimmy Lewis If... on 22 Jan 2010 Blog Post: MSBuilding Web Site Projects doesn’t Copy Silverlight XAP (and How to Fix It) Jimmy Lewis If... on 2 Nov 2009 Blog Post: Refactoring Root namespace Breaks Silverlight Applicati...
http://blogs.msdn.com/b/jamlew/archive/tags/silverlight/
CC-MAIN-2013-20
refinedweb
194
67.18
KJALB/PodSimplify-0.04 - 16 Aug 1996 19:14:10 GMT Converts files from pod format (see perlpod) to HTML format. It can automatically generate indexes and cross-references, and it keeps a cache of things it knows how to cross-reference....SHAY/perl-5.26.1 - 22 Sep 2017 21:30:18 GMT Converts files from pod format (see per...
https://metacpan.org/search?q=module%3APod%3A%3AHTML
CC-MAIN-2018-51
refinedweb
592
67.25
Reverse first ‘K’ items in a Queue in C++ Welcome to this tutorial where you are going to learn “How to reverse first ‘K’ items in a Queue in C++”. So without wasting any time let’s begin this tutorial with a quick revision of “Queue” in C++. - So Queue is a linear structure of data where items can be inserted and dele...
https://www.codespeedy.com/reverse-first-k-items-in-a-queue-in-cpp/
CC-MAIN-2022-27
refinedweb
606
75.34
import "github.com/juju/juju/charmstore" charmid.go client.go info.go jar.go latest.go MacaroonURI is use when register new Juju checkers with the bakery. var MacaroonNamespace = checkers.NewNamespace(map[string]string{MacaroonURI: ""}) MacaroonNamespace is the namespace Juju uses for managing macaroons. type CharmID s...
https://godoc.org/github.com/juju/juju/charmstore
CC-MAIN-2020-10
refinedweb
758
57.77
This is an Entrance chart on an iPhone. It was generated by a Groovy script using the Entrance Java API to plot data from a RAWS weather station. The script takes advantage of certain Apple iPhone CSS extensions and Joe Hewitt’s iUI framework to make the page behave a lot like like a native iPhone application. If you h...
http://dbentrance.com/blog/?m=201001
CC-MAIN-2015-06
refinedweb
656
69.31
Types and Type DeclarationsTypes and Type Declarations One of the design principles of Deno is no non-standard module resolution. When TypeScript is type checking a file, it only cares about the types for the file, and the tsc compiler has a lot of logic to try to resolve those types. By default, it expects ambiguous m...
https://deno.land/manual@v1.16.1/typescript/types
CC-MAIN-2022-21
refinedweb
1,987
60.35
<< Uria LeviCourses Plus Student 1,760 Points Python OOP help(solved) Hello everyone, I made some code inspired by Kenneth (almost the same code as he does). When I try to run the code I get an error but I can't understand the problem. I don't know how to copy as VSC mode so I will just copy-paste: File #1 "character.p...
https://teamtreehouse.com/community/python-oop-helpsolved
CC-MAIN-2022-27
refinedweb
382
61.53
PEP: Python3 and UnicodeDecodeError This is a PEP describing the behaviour of Python3 on UnicodeDecodeError. It's a draft, don't hesitate to comment it. This document suppose that my patch to allow bytes filenames is accepted which is not the case today. While I was writing this document I found poential problems in Py...
https://wiki.python.org/moin/Python3UnicodeDecodeError
CC-MAIN-2022-21
refinedweb
1,202
58.08
Operating systems, development tools, and professional services for connected embedded systems for connected embedded systems mq_getattr() Get a message queue's attributes Synopsis: #include <mqueue.h> int mq_getattr( mqd_t mqdes, struct mq_attr* mqstat ); Arguments: - mqdes - The message-queue descriptor, returned by ...
http://www.qnx.com/developers/docs/6.3.2/neutrino/lib_ref/m/mq_getattr.html
crawl-003
refinedweb
363
66.03
Top: Multithreading: semaphore & timedsem #include <pasync.h> class semaphore { semaphore(int initvalue); void wait(); void post(); void signal(); // alias for post() } class timedsem { timedsem(int initvalue); bool wait( [ int milliseconds ] ); void post(); void signal(); } Semaphore is a special helper object with ve...
http://www.melikyan.com/ptypes/doc/async.semaphore.html
crawl-001
refinedweb
857
52.7
Here I begin what will be a massive Java Video Tutorial. I start with all you need to start writing Java programs. I then cover just about anything you’d want to know about Javas primitive data types. I cover declaration statements, expression statements, all the types and how to convert them. This tutorial starts out ...
http://www.newthinktank.com/2011/12/java-video-tutorial/
CC-MAIN-2021-31
refinedweb
6,823
73.68
A thread that processes pending crash reports in a CrashReportDatabase by uploading them or marking them as completed without upload, as desired. More... #include "handler/crash_report_upload_thread.h" A thread that processes pending crash reports in a CrashReportDatabase by uploading them or marking them as completed ...
https://crashpad.chromium.org/doxygen/classcrashpad_1_1CrashReportUploadThread.html
CC-MAIN-2019-13
refinedweb
283
65.83
When you using Vue.js functional components you have nothing except render function and it's context with some parameters. I always prefer to use functional component instead of a stateful component in my shared components library at work and it works fine when I don't need state. But sometimes I need mounted and befor...
https://dev.to/denisinvader/mounted-and-beforedestroy-hooks-in-vuejs-functional-components-7bi
CC-MAIN-2021-43
refinedweb
304
59.3
How do I add color to my svg image in react react svg tutorial react-svg style tag react svg sprite react svg not rendering change svg color css react svg hover referencing svg in react I have a list of icons. I want to change the icons colors to white. By default my icons are black. Any suggestions guys? I normally us...
https://thetopsites.net/article/54519654.shtml
CC-MAIN-2021-25
refinedweb
1,166
71.95
The downfall of HTML Imports is upon us (to me) Meghan Denny ・2 min read [Deprecation] Styling master document from stylesheets defined in HTML Imports is deprecated, and is planned to be removed in M65, around March 2018. I just read this in my console today after my Chrome browser just updated to M61. And it's the sa...
https://dev.to/nektro/the-downfall-of-html-imports-is-upon-us-to-me
CC-MAIN-2019-43
refinedweb
481
69.82
Hello everyone, Here is my simple bonus assignment program. The issue I met with is, the ResultTotalReceived is larger then ResultTotalSent, which violates corporation policy and exception is thrown. The program works in this way, 1. At source side, calculate and assign the bonus according to each worker's factor (100F...
http://cboard.cprogramming.com/csharp-programming/103472-float-calculation-issue-printable-thread.html
CC-MAIN-2016-18
refinedweb
311
51.55
Objectives - We keep on playing with DC motors and the Adafruit Motor Shield V1. - We will see the foundations of making a rover turn without using a steering wheel. - We will program the basic movements of the robot. Bill of materials Controlling the turn In previous chapters we have seen the foundations of DC motors ...
http://prometec.org/controlling-a-4x4-rover-robot/
CC-MAIN-2019-13
refinedweb
1,441
64.24
EARLY RELEASE Note that this is a very early-stage release, with no unit tests. Be careful if using it in production at this point. dart_up For a managed/hosted solution (truly "serverless"), check out! (this service does not yet exist) Web application container for Dart servers, akin to PM/2 (Node.js). Runs applicatio...
https://pub.dev/documentation/up/latest/
CC-MAIN-2020-45
refinedweb
849
58.99
Distances between objects. More... #include <hwloc.h> relative_depth NULL Distances between objects. One object may contain a distance structure describing distances between all its descendants at a given relative depth. If the containing object is the root object of the topology, then the distances are available for a...
https://www.open-mpi.org/projects/hwloc/doc/v1.2.2/structhwloc__distances__s.php
CC-MAIN-2017-17
refinedweb
112
57.47
YOLO, or You Only Look Once, is one of the most widely used deep learning based object detection algorithms out there. In this tutorial, we will go over how to train one of its latest variants, YOLOv5, on a custom dataset. More precisely, we will train the YOLO v5 detector on a road sign dataset. By the end of this pos...
https://blog.paperspace.com/train-yolov5-custom-data/
CC-MAIN-2022-27
refinedweb
4,136
58.38
![if !IE]> <![endif]> Cookies When a client visits a Web site, the server for that Web site may write a cookie to the client’s machine. This cookie can be accessed by servers within the Web site’s domain at a later time. Cookies are usually small text files used to maintain state information for a par-ticular client. S...
http://www.brainkart.com/article/Cookies---Python_11132/
CC-MAIN-2019-51
refinedweb
1,303
64.91
User Tag List Results 1 to 2 of 2 - Join Date - Dec 2007 - 348 - Mentioned - 0 Post(s) - Tagged - 0 Thread(s) fakemail in python not working on windows (os.fork) hi guys, having failed to install the perl version of fakemail ( - thanks anyway Kevin!) I downloaded the python version and it works fine if I manually invok...
http://www.sitepoint.com/forums/showthread.php?611717-fakemail-in-python-not-working-on-windows-(os-fork)&p=4226840
CC-MAIN-2016-44
refinedweb
288
70.43
You have been contributing to open source by hosting your projects on Github for some time now. That’s great! 👍 But my question is, do you take some time to describe what your project does?🤔 Or even how to run or install the project to guide anyone who interested in the project? No! I have been there before.🤫 I almo...
https://victorbruce82.medium.com/?source=post_internal_links---------0----------------------------
CC-MAIN-2021-25
refinedweb
752
62.27
Odoo Help Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps: CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc. The write function is not updating while raising an error The write function is not updating while raising an error @api.model de...
https://www.odoo.com/forum/help-1/question/the-write-function-is-not-updating-while-raising-an-error-111065
CC-MAIN-2017-09
refinedweb
327
53.78
#include <mysql/components/service.h> #include "my_inttypes.h" Go to the source code of this file. Converts a character buffer to string of specified charset to a string object. The caller provides the destination string object, which content will be modified. Converts the mysql_string to a given character set. Find a ...
https://dev.mysql.com/doc/dev/mysql-server/latest/mysql__string_8h.html
CC-MAIN-2022-05
refinedweb
202
71.51
In the first part of this post, we talked about a PAL algorithm that works with some relations represented in graphs. This is the Link Prediction algorithm. Now, we’re going to visualize the results. This visualization is presented through a Web interface, combining the SAP UI5 library and D3js in order to use a more “...
https://blogs.sap.com/2014/04/11/buyers-and-sellers-on-the-visualization-of-the-link-prediction-results-combining-sap-ui5-with-d3js/
CC-MAIN-2017-22
refinedweb
765
56.05
When I go to localhost:3000 I get: Uncaught ReferenceError: LocaleProvider is not defined at app.js:281 at maybeReady (meteor.js:809) at HTMLDocument.loadingCompleted (meteor.js:821) But this makes no sense because it worked fine before the update. The import is: import { LocaleProvider } from 'antd'; Now here’s the re...
https://forums.meteor.com/t/ant-design-breaks-on-meteor-1-4-4/35676
CC-MAIN-2022-27
refinedweb
119
59.3
When. Therefore, when a system is distributed across a network, it also needs a cache that is running on the network. Nowadays, there are plenty of network servers that offer caching capability—for example, Redis. As you’re going to see in this tutorial, memcached is another great option for caching. After a quick intr...
https://julien.danjou.info/python-memcached-efficient-caching-in-distributed-applications/
CC-MAIN-2019-30
refinedweb
1,774
62.38
When you started your Ext JS 4.* project with Sencha Cmd you know how easy… Make a native build with Ext JS 5, Sencha Cmd 5 and Phonegap / Cordova with plugins.: - Let's generate a new Ext JS 5 app Browse with your terminal to your Ext JS 5 SDK folder. Run the following command: sencha generate app MyApp ../phonegapdem...
https://www.leeboonstra.com/developer/make-a-native-build-with-ext-js-5-sencha-cmd-5-and-phonegap-cordova-with-plugins/
CC-MAIN-2017-34
refinedweb
438
63.09
Python internal metric unit conversion function I'm trying to build a function to do internal metric conversion on a wavelength to frequency conversion program and have been having a hard time getting it to behave properly. It is super slow and will not assign the correct labels to the output. If anyone can help with e...
http://thetopsites.net/article/54755729.shtml
CC-MAIN-2020-40
refinedweb
1,425
62.98
Represents an application instance for a single session. More... #include <Wt/WApplication> Represents an application instance for a single session. Each user session of your application has a corresponding WApplication instance. You need to create a new instance and return it as the result of the callback function pas...
http://www.webtoolkit.eu/wt/doc/reference/html/classWt_1_1WApplication.html
CC-MAIN-2013-20
refinedweb
4,346
58.08
You have a Collection but you need a Java language array. Use the Collection method toArray( ) . If you have an ArrayList or other Collection and you need a Java language array, you can get it just by calling the Collection's toArray( ) method. With no arguments, you get an array whose type is Object[]. You can optiona...
https://flylib.com/books/en/2.213.1.126/1/
CC-MAIN-2020-50
refinedweb
254
59.4
0 OK, as you can probably tell from my code, I am trying to design a program that will keep requesting a password until the right password is entered (using a Do While Loop with char instead of int). this is my code: (this is one of my first solo pieces of coding, so go easy on me if I have done something completely wr...
https://www.daniweb.com/programming/software-development/threads/90518/need-help-with-my-code
CC-MAIN-2018-22
refinedweb
186
75.13
Let's compile the following code with ECJ compiler from Eclipse Mars.2 bundle: import java.util.stream.*; public class Test { String test(Stream<?> s) { return s.collect(Collector.of(() -> "", (a, t) -> {}, (a1, a2) -> a1)); } } $ java -jar org.eclipse.jdt.core_3.11.2.v20160128-0629.jar -8 -g Test.java javap -v -p Test...
https://codedump.io/share/tVJUzJXi04oJ/1/strange-quotquot-entry-in-localvariabletypetable-when-compiling-with-eclipse-compiler
CC-MAIN-2017-34
refinedweb
436
58.38
On 8/18/05, Guido van Rossum <gvanrossum at gmail. In practice, it causes much confusion if you ever use a local variable that has the same name as the built-in namespace. If you intend to use id as a variable, it leads to confusing messages when a typo or editing error accidentally removes the definition, because the ...
https://mail.python.org/pipermail/python-dev/2005-August/055517.html
CC-MAIN-2021-31
refinedweb
103
68.3
im just trying to open a file. i have done it for 100 times, and then I sent SIGCHLD signal to other processes and i think right after that i couldn't open that file anymore. #include <signal.h> #include <stdio.h> #include <unistd.h> #include <fcntl.h> #define FLAGS IPC_CREAT | 0644 int main() { int res =open("results....
https://codedump.io/share/hqbOA9J0bxmV/1/open-file-linux-eclipse-c-error-after-getchld
CC-MAIN-2018-09
refinedweb
114
79.46
When we developers work on a Web application, we focus mostly on the server side, the N-tier layering in its architecture, Model View Controller in its presentation layer, Data Transfer Objects across layers, various design patterns, database organization, etc. Then we focus on client or browser side where the presenta...
http://www.codeproject.com/Articles/37504/A-Note-on-Web-application-with-Reference-to-ASP-NE?msg=3168975
CC-MAIN-2014-42
refinedweb
4,762
51.99
Login is not possible Bug Description * Impact: connecting to raring vsftpd servers doesn't work * Test Case: - install vsftpd on raring, configure the server, try to connect to it * Regression potential: the server was failing to accept connections before so should only be better --- I'm using Ubuntu 13.04 dev with vs...
https://bugs.launchpad.net/ubuntu/+source/vsftpd/+bug/1160372
CC-MAIN-2016-44
refinedweb
3,508
66.94
Tell us what you think of the site. hey there, I might be missing a crucial part of my maya learning, but is there a way to auto load a project? Say you have a project for each shot in a pipeline, and when opening an animation file Maya automatic sets the project. Could you provide more details? What is not working? i ...
http://area.autodesk.com/forum/autodesk-maya/mel/auto-set-project/
crawl-003
refinedweb
160
67.96
Hi everyone, I hope you are all fine and live happy and safely. This is the first time to post here in the forum, and I feel that there is a nice and variety developers community here. I really appreciate and willing to share with you some of my experience and knowledge. By the way, my English is second language, so if...
http://forums.devshed.com/java-help-9/pipe-filter-architecture-txt-file-931278.html
CC-MAIN-2015-11
refinedweb
527
80.11
0 I need help i am not sure if i am on the right track. i have to write a program to calculate the night of nights someone has to stay and what size bed they want. than i have to give a total of cost plus 6% sales tax. her is what i have so far.. i am getting a compiling error at the start of the first "if" statement. ...
https://www.daniweb.com/programming/software-development/threads/355352/homework-beginner-c
CC-MAIN-2018-39
refinedweb
340
65.96
The errors produced by PHP are useful when developing scripts, but aren't sufficient for deployment in a web database application. Errors should inform users without confusing them, not expose secure internal information, report details to administrators, and have a look and feel consistent with the application. This s...
http://etutorials.org/Programming/PHP+MySQL.+Building+web+database+applications/Chapter+12.+Errors+Debugging+and+Deployment/12.3+Custom+Error+Handlers/
CC-MAIN-2022-05
refinedweb
2,751
54.12
Introduction The State Pattern is an interesting design pattern in that it allows us to separate out portions of code into individual related modules, or states. This pattern is particularly useful for applications which need to retain state information, such as the current phase a program is in. While you can typicall...
http://www.primaryobjects.com/CMS/Article94.aspx
crawl-002
refinedweb
2,746
64.71
Elastic. While its general interface is pretty natural, I must confess I’ve sometimes struggled to find my way around ElasticSearch’s powerful, but also quite complex, query system and the associated JSON-based “query DSL” (domain specific language). This post therefore provides a simple introduction and guide to query...
http://okfnlabs.org/blog/2013/07/01/elasticsearch-query-tutorial.html
CC-MAIN-2016-44
refinedweb
1,625
61.26
ive doing a homework which we need to provide buttons (GUI) for a vending machine. the vending machine takes dollars, quaters, dimes, and nickels, and the vending machine has drinks (60 cents) and snacks (45 cents). we done a code were it does work through "SCANNER", but now we have to create a GUI for it. /** * Vendin...
https://www.daniweb.com/programming/software-development/threads/125961/gui-vending-machine
CC-MAIN-2022-21
refinedweb
484
51.95
USAGE: import com.greensock.TweenLite; import com.greensock.plugins.TweenPlugin; import com.greensock.plugins.FrameLabelPlugin; TweenPlugin.activate([FrameLabelPlugin]); //activation is permanent in the SWF, so this line only needs to be run once. TweenLite.to(mc, 1, {frameLabel:"myLabel"}); Note: When tweening the fra...
http://www.greensock.com/asdocs/com/greensock/plugins/FrameLabelPlugin.html
CC-MAIN-2022-40
refinedweb
110
52.26
Hi all, I know there have been several threads about getting card images into a GUI, but I'm flustered trying to understand why some things work and some things don't. Here's the code: import random from Tkinter import * import Image, ImageTk class Card(object): suits = ["C","D","H","S"] values = ['A','2','3','4','5','...
https://www.daniweb.com/programming/software-development/threads/65594/trying-to-get-card-images-into-a-gui
CC-MAIN-2017-26
refinedweb
571
53.68
Azure’s new Event Hub November 18, 2014 7 Comments Over the past few months, I had the good fortune to be accepted to present at ThatConference in Wisconsin and CloudDevelop in Ohio. I count myself even more fortunate because at the time I submitted my session for both these events, it was about a new Azure solution th...
https://brentdacodemonkey.wordpress.com/2014/11/18/azures-new-event-hub/
CC-MAIN-2017-22
refinedweb
2,541
70.33
Our ArduStation MEGA boards arrived today and I am truly excited to see how they work. Now starts small assembly job for them and then we can start doing testing for those. Big thanks for Colin for his original ASM work, it's great to see what great minds can create. New boards looks just awesome. Few connectors are mi...
https://diydrones.com/profiles/blogs/ardustation-mega-v1-0b-arrived?commentId=705844%3AComment%3A1235982&xg_source=msg_com_blogpost
CC-MAIN-2022-40
refinedweb
818
75.2
Installation instructions¶ Introduction¶ The OpenPTV contains of these main parts: The Python bindings allow the easy access to the C library. There are two packages that are built around the Python bindings: - Python 2.7 with PyQt4 GUIs and command line scripts from Yosef Meller called The Particle Bureau of Investiga...
http://openptv-python.readthedocs.io/en/latest/installation_instruction.html
CC-MAIN-2018-30
refinedweb
1,756
62.68
09 July 2009 18:09 [Source: ICIS news] TORONTO (ICIS news)--Shell may sell or close its 130,000 bbl/day refinery in Montreal in Canada’s Quebec province, a spokeswoman said on Thursday, confirming media reports. The refinery employs about 500 full-time workers. “We began a strategic review for the refinery and have inf...
http://www.icis.com/Articles/2009/07/09/9231556/shell-could-sell-or-close-130000-bblday-montreal-refinery.html
CC-MAIN-2014-42
refinedweb
125
60.35
0 I've got an XML file that looks like this: <routingTable> <router> <id>1</id> <ip>1.1.1.1</ip> <nexthop>1.1.1.2</nexthop> </router> <router> <id>2</id> <ip>2.2.2.1</ip> <nexthop>2.2.2.2</nexthop> </router> </routingTable> With possibly more than two router entries as time goes on. What I would like to do, is take eac...
https://www.daniweb.com/programming/software-development/threads/427306/how-can-i-read-xml-to-retrieve-values-of-tags
CC-MAIN-2017-47
refinedweb
141
79.36