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
I have the following code: #include <iostream> using namespace std; int main(int argc, char *argv[]) { string &s1 = argv[0]; // error const string &s2 = argv[0]; // ok argv[0] = "abc"; cout << argv[0] << endl; // prints "abc" cout << s2 << endl; // prints program name } s1 invalid initialization of reference of type 's...
https://codedump.io/share/9Zi2HrKJd7Lu/1/convert-char-to-stringamp
CC-MAIN-2017-26
refinedweb
210
62.27
reviews,. Oracle Developer Cloud Service is included as a free entitlement with Oracle Java Cloud Service and Oracle Messaging Cloud Service. The Developer Cloud Service includes all the tools you need to support the team development lifecycle. There are popular open source tools such as Git, Maven and Hudson. There's...
https://community.oracle.com/blogs/bleonard?page=3
CC-MAIN-2017-43
refinedweb
2,401
52.6
OpenGL Spec Now Controlled by Khronos Group 245 Posted by ScuttleMonkey from the passing-the-torch dept. from the passing-the-torch dept.." Kronos? (Score:5, Funny) Re:Kronos? (Score:5, Funny) That would be the Q'onos group, you spineless p'taq! BTW, I included the "spineless p'taq" comment in order to keep with the th...
http://slashdot.org/story/06/08/01/1856259/opengl-spec-now-controlled-by-khronos-group
CC-MAIN-2013-48
refinedweb
4,875
72.36
Connect Azure to ITSM tools using IT Service Management Connector . However, the work items related to an issue typically reside in an ITSM product/service. The ITSM connector provides a bi-directional connection between Azure and ITSM tools to help you resolve issues faster.. Read more about the legal terms and privac...
https://docs.microsoft.com/en-us/azure/azure-monitor/platform/itsmc-overview
CC-MAIN-2019-47
refinedweb
1,379
51.28
Source cpython_sandbox / Doc / howto / pyporting.rst Porting Python 2 Code to Python 3 Abstract With Python 3 being the future of Python while Python 2 is still in active use, it is good to have your project available for both major releases of Python. This guide is meant to help you choose which strategy works best fo...
https://bitbucket.org/ncoghlan/cpython_sandbox/src/ae7fef62b462/Doc/howto/pyporting.rst
CC-MAIN-2015-11
refinedweb
2,813
69.62
MonkeeSage wrote: > Proposal: > > When an attribute lookup fails for an object, check the top-level > (and local scope?) for a corresponding function or attribute and apply > it as the called attribute if found, drop through to the exception > otherwise. This is just syntactic sugar. > > > Example: > > a = [1,2,3] > > ...
https://mail.python.org/pipermail/python-list/2007-November/457792.html
CC-MAIN-2014-10
refinedweb
511
66.33
MapLongPressToPinDrop Since: BlackBerry 10.0.0 #include <bb/cascades/maps/MapLongPressToPinDrop> To link against this class, add the following line to your .pro file: LIBS += -lbbcascadesmaps A utility action class for performing a pin drop, which is the creation of a new point of interest (pin) triggered by a user's a...
https://developer.blackberry.com/native/reference/cascades/bb__cascades__maps__maplongpresstopindrop.html
CC-MAIN-2017-13
refinedweb
321
57.77
Hello i am trying to make a simple program that counts the words in a given .txt file, the .txt file will be included when running the program like: ./a.out < test.txt I am very new to programming and this is my first program using another file, so any help would be greatly appreciated The wordcounting part of the prog...
http://cboard.cprogramming.com/c-programming/131622-wordcounting-program-problem-filereading-printable-thread.html
CC-MAIN-2014-23
refinedweb
275
80.82
* "Position" Concept as it applies to Data Structures Dario Romani Greenhorn Joined: Oct 03, 2003 Posts: 13 posted Nov 01, 2003 00:11:00 0 I am trying to understand the concept of "position", as it relates to data structures and as it is defined in the book "Data Structures and Algorithms in Java", 2nd. Ed., by Goodri...
http://www.coderanch.com/t/394728/java/java/Position-Concept-applies-Data-Structures
CC-MAIN-2014-15
refinedweb
2,692
62.27
From: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>The below warning was added in place of pte_mkyoung(); if (is_write)pte_mkdirty();In fact, if the PTE is not marked young/dirty, our dirty/accessed bit emulationwould cause the TLB permission not to be changed, and so we'd loop, and given wedon't support preem...
https://lkml.org/lkml/2005/11/12/100
CC-MAIN-2016-44
refinedweb
313
55.95
DarksshadesMember Content count4 Joined Last visited Community Reputation125 Neutral About Darksshades - RankNewbie Luabind Property not working when from luabind::globals Darksshades replied to Darksshades's topic in Engines and MiddlewareSorry about that, I didn't actually compile that pasted code. But anyways I comp...
https://www.gamedev.net/profile/197495-darksshades/
CC-MAIN-2018-05
refinedweb
1,039
54.22
GXT Image Viewer: w/Pan and zoom GXT Image Viewer: w/Pan and zoom I did this class to manage images in an any-size content panel, it works for me... Last edited by jeroni; 24 Nov 2010 at 4:35 AM. Reason: error uploading classes I have written a layout and plugins for this very purpose, I just asked my manager if I can ...
http://www.sencha.com/forum/showthread.php?108577-GXT-Image-Viewer-w-Pan-and-zoom
CC-MAIN-2014-52
refinedweb
480
50.02
11 November 2012 00:16 [Source: ICIS news] RIO DE JANEIRO (ICIS)--?xml:namespace> “The project is progressing well. Site preparation is complete and basic engineering finished. We have also made orders to procure around 50% of all the equipment,” said Jose Luis Uriegas, CEO of Grupo Idesa. Mexico-based Idesa owns 35% o...
http://www.icis.com/Articles/2012/11/11/9612966/APLA-12-Mexico-Ethylene-XXI-on-track-for-July-2015.html
CC-MAIN-2014-42
refinedweb
198
67.25
Optimize with a SATA RAID Storage Solution Range of capacities as low as $1250 per TB. Ideal if you currently rely on servers/disks/JBODs Java has always had many different faces to its security model. It has a strongly typed compiler to eliminate programming bugs and help enforce language semantics, a bytecode verifie...
http://www.javaworld.com/javaworld/jw-08-1998/jw-08-sandbox.html?page=1
crawl-003
refinedweb
2,014
56.45
Can Kruskal-Wallis test be used to test significance of multiple groups within multiple factors? I have tried to read what I can on Kruskal-Wallis and while I have found some useful information, I still seem to not find the answer to my question. I am trying to use the Kruskal-Wallis test to determine the significance ...
http://codegur.com/48215526/can-kruskal-wallis-test-be-used-to-test-significance-of-multiple-groups-within-m
CC-MAIN-2018-05
refinedweb
2,161
60.72
🚀 Interested in making these for a project? Get in touch If you are making an application that requires some basic true/false, yes/no, a/b/c/d input from a customer, a very reliable way to achieve this is by making USB push-buttons they can press. When plugged into your machine, these buttons will appear as a generic ...
https://timmyomahony.com/blog/making-usb-push-buttons
CC-MAIN-2021-17
refinedweb
1,307
71.24
URL dispatcher This document is for Django's SVN release, which can be significantly different from previous releases. Get old docs here: 0.96, 0.95. in your settings file, but if the incoming HttpRequest object has an attribute called urlconf,. - news would not match any of these patterns, because each pattern require...
http://www.djangoproject.com/documentation/url_dispatch/
crawl-001
refinedweb
1,140
58.58
When automating some tasks in Windows OS, you may wonder how to automatically close Windows process if you do not have the direct control of the running application or when the application is just running for too long time. In this article, I will be sharing with you how to close the Windows process with some python li...
https://www.codeforests.com/category/resources/page/5/
CC-MAIN-2022-21
refinedweb
424
64
Is there a script to delete all children of an object? Need this fast…thanks Is there a script to delete all children of an object? Need this fast…thanks import bge cont=bge.logic.getCurrentController() own=cont.owner() if object.children!=None: for objects in children: objects.endObject() import bge cont=bge.logic.get...
https://blenderartists.org/t/delete-children/614577
CC-MAIN-2019-30
refinedweb
1,195
72.76
#include <gromacs/utility/textstream.h> Interface for reading text. Concrete implementations can read the text from, e.g., a file or an in-memory string. The main use is to allow unit tests to inject in-memory buffers instead of writing files to be read by the code under test, but there are also use cases outside the t...
https://manual.gromacs.org/documentation/2019-beta2/doxygen/html-full/classgmx_1_1TextInputStream.xhtml
CC-MAIN-2021-17
refinedweb
154
50.02
I2C master troublesarunas.straigis_1530751 Dec 6, 2015 10:56 AM Hello, I started exploring the world of PSoC with PSOC 4 BLE kit and it was great until I ran into trouble making i2c bus work. I am trying to hook up i2c character LCD, however it seems like I am unable to initialize i2c properly. I tried different pins/s...
https://community.cypress.com/thread/15188
CC-MAIN-2018-22
refinedweb
775
76.11
Python Generate random integers with random from 0 to 10 The simplest generation of a series of random integers is done by from random import randint. Below you can find example of generating 1000 integers in interval from 0 to 10: from random import randint import collections nums = [] for x in range(1000): nums.appen...
https://blog.softhints.com/python-random-number-examples/
CC-MAIN-2021-25
refinedweb
469
64.81
TAG This page is for maintaining a record of changes between each revision of "Architectural Principles of the World Wide Web, produced by the TAG. If you find the list is incomplete or inaccurate please send email to the TAG at www-tag@w3.org. Last modified: $Date: 2004/12/15 01:48:53 $ Changes between 5 November 2004...
http://www.w3.org/2001/tag/webarch/changes.html
crawl-001
refinedweb
14,040
54.12
Hey Haim, Thursday, June 28, 2001, 4:42:46 PM, you wrote: HD> Kevin, >> If you apply Dave Fuchs' patch to make a '.' a valid character (but making '/' >> and invalid one), then that becomes a valid Cyrus username. Search the Cyrus >> IMAP mailing list archives for it. He sent it out for 2.0.14 some time last >> week wh...
https://lists.debian.org/debian-isp/2001/06/msg00309.html
CC-MAIN-2016-07
refinedweb
208
83.86
We are proud to announce the preview release of the Elastic APM .NET agent! To make sure everyone is on the same page I’d like to start by defining what we exactly mean by “Preview Release”: this release is the first properly packaged version of the .NET APM agent. The main goal is to collect feedback and to share our ...
https://www.elastic.co/blog/elastic-apm-dot-net-agent-preview-released
CC-MAIN-2019-30
refinedweb
1,423
52.46
2CommentsJoined May 29th, 2016 - nbattan commented on DanM5's instructable Moving Rainbow Arduino Sign7 months ago - nbattan enrolled in Robots Class1 year ago - nbattan commented on Magesh Jayakumar's instructable Quick Start to Nodemcu (ESP8266) on Arduino IDE1 year agoView Instructable » Very nice write-up for a Qui...
http://www.instructables.com/member/nbattan/
CC-MAIN-2018-05
refinedweb
208
62.48
Introduction Almost all SAP implementations require to certain degree a custom ABAP development. Some custom development projects are very small and involve one or two ABAP programmers implementing user exits or enhancements. Some are very large and include custom development of complete, complex bolt-on subsystems by ...
https://blogs.sap.com/2008/07/31/custom-abap-development-methodology/
CC-MAIN-2018-30
refinedweb
4,795
54.73
Suppose, we have given an integer array. The problem “Count of index pairs with equal elements in an array” asks to find out the no of pair of indices (i,j) in such a way that arr[i]=arr[j] and i is not equal to j. Example arr[] = {2,3,1,2,3,1,4} 3 Explanation Pairs of indices are: (0, 3), (1, 4), (2, 5) arr[] = {3, 3,...
https://www.tutorialcup.com/interview/hashing/count-of-index-pairs-with-equal-elements-in-an-array.htm
CC-MAIN-2021-49
refinedweb
659
62.17
User talk:Un-Algorithm/archive2 From Uncyclopedia, the content-free encyclopedia More Fisher Price gripes I made a category for Fisher Price so that we wouldn't have to have a sub-heading. Having a subheading in the article defeats the meaasge which is, Fisher Price was made, and remains as, a short petty vandalism. Mr...
http://uncyclopedia.wikia.com/wiki/User_talk:Algorithm/archive2?direction=prev&oldid=2250081
CC-MAIN-2016-18
refinedweb
4,621
71.44
The obvious thing to do with a formula is to evaluate it. The following proc does just that. It requires a mapping varToVal from the variable name to its value: from math import pow proc evaluate(n: Formula; varToVal: proc (name: string): float): float = case n.kind of fkVar: varToVal(n.name) of fkLit: n.value of fkAdd...
http://www.drdobbs.com/jvm/an-algorithm-for-compressing-space-and-t/jvm/nimrod-a-new-systems-programming-languag/240165321?pgno=2
CC-MAIN-2016-26
refinedweb
964
56.76
Version 0.4.0.428 of DBTestUnit has been released and can be downloaded from SourceForge. This release implements the name change from ‘Database testing framework’ to ‘DBTestUnit’. So what has changed? There has been no change in overall functionality. Basically, a number of components and namespaces have been changed ...
https://dbtestunit.wordpress.com/2011/02/25/version-0-4-0-428-dbtestunit-released/
CC-MAIN-2017-39
refinedweb
421
52.56
atRetAttr, atSetAttr, atAttrName, atAttrValue, atAllAttrs, atFreeAttrs - attribute handling #include <atfs.h> #include <atfstk.h> char*atRetAttr (Af_key *aso, char *attributeName); void atFreeAttr (char *attributeValue); int atSetAttr (Af_key *aso, char *attribute, int mode); int atSetAttrFile (Af_key *aso, char *filen...
http://huge-man-linux.net/man3/atAttrName.html
CC-MAIN-2017-13
refinedweb
1,078
55.95
Hey everyone, sorry for the weird title but I don't know how to word this without it sounding confusing. Basically I have a left and right arrow on my screen that move the player when physically held on the phone (touch controls). My problem is that when you click and hold the right arrow button, the player walks right...
https://answers.unity.com/questions/1386059/make-touch-buttons-stop-working-after-finger-slide.html
CC-MAIN-2019-47
refinedweb
400
74.29
Related link: Shelley Powers came up with an interesting alternative to trackback: “tagback,” in which she creates a unique tag (in the folksonomy/flickr/del.icio.us/technorati sense of the term “tag,” not the XML sense) for each weblog posting, tags the posting with that tag using Technorati’s syntax, and then encoura...
http://www.oreillynet.com/xml/blog/2005/02/folksonomy_tags_for_indirect_l.html
crawl-002
refinedweb
635
60.95
keyctl_get_keyring_ID man page keyctl_get_keyring_ID — get the ID of a special keyring Synopsis #include <keyutils.h> key_serial_t keyctl_get_keyring_ID(key_serial_t key, int create); Description keyctl_get_keyring_ID() maps a special key or keyring ID to the serial number of the key actually representing that feature....
https://www.mankier.com/3/keyctl_get_keyring_ID
CC-MAIN-2018-47
refinedweb
204
61.46
Table of Content Search clouds Licenses Author's resources The SCaVis contains many high-performance Java packages for linear algebra and matrix operations: For manipulations with vectors, use the following classes with useful static methods: You can also use the Python list as a container to hold and manipulate with 1...
http://www.jwork.org/scavis/wikidoc/doku.php?id=man:numeric:matrix_operations
CC-MAIN-2014-41
refinedweb
1,200
50.43
In my previous article I talked about Unity and Visual Studio: using Visual Studio to edit and maintain your Unity code. In that article I talked about working with source code directly in your Unity project. DLLs are another way to get code into your Unity project. I'm talking about C# code that has been compiled and ...
https://codecapers.com.au/unity-and-dlls/
CC-MAIN-2021-49
refinedweb
3,377
74.08
Problem Running a simple PyCUDA program, I got this error: $ python hello_cuda.py Traceback (most recent call last): File "hello_cuda.py", line 5, in <module> from pycuda.compiler import SourceModule File "/usr/local/lib/python2.7/dist-packages/pycuda/compiler.py", line 1, in <module> from pytools import memoize File "...
https://codeyarns.com/2015/02/24/pycuda-error-cannot-import-name-intern/
CC-MAIN-2020-40
refinedweb
337
60.92
What is the best approach for importing a CSV that has a different number of columns for each row using Pandas or the CSV module into a Pandas DataFrame. "H","BBB","D","Ajxxx Dxxxs" "R","1","QH","DTR"," "," ","spxxt rixxls, raxxxd","1" Using this code: import pandas as pd data = pd.read_csv("smallsample.txt",header = N...
https://pythonquestion.com/post/import-csv-with-different-number-of-columns-per-row-using-pandas/
CC-MAIN-2020-16
refinedweb
111
60.04
Welcome to CS1315. Click on the python to add comments. This page removed for FERPA compliance Midterm Exam 1 Review Fall 2003: What does it mean? (Back to Fall2003 Midterm Review 1 ) Answers? Comments? Comments on answers? def defines and names a function. This statement defines the function as "someREMOVEDnction" wit...
http://coweb.cc.gatech.edu/cs1315/793
crawl-003
refinedweb
289
74.9
. SQL Server would take each byte of the source binary data, convert it to an integer value, and then uses that integer value as the ASCII value for the destination character data. This behavior applied to the binary, varbinary, and timestamp datatypes. The only workarounds were to use either a stored procedure as desc...
https://techcommunity.microsoft.com/t5/sql-server-blog/sql-server-2008-new-binary-8211-hex-string-conversion/ba-p/383490
CC-MAIN-2021-49
refinedweb
668
50.7
14.6. Neural Collaborative Filtering for Personalized Ranking¶ This section moves beyond explicit feedback, introducing the neural collaborative filtering (NCF) framework for recommendation with implicit feedback. Implicit feedback is pervasive in recommender systems. Actions such as Clicks, buys, and watches are commo...
https://www.d2l.ai/chapter_recommender-systems/neumf.html
CC-MAIN-2019-47
refinedweb
1,829
50.33
I Hi Andy, When you create the new user using the Membership API, you can actually mark the account as not approved directly via the Membership API. What this means is that you don't need to use the Profile API for this. You'd then send them a dynamic random URL to click to activate the account. You could to this using...
http://weblogs.asp.net/scottgu/archive/2005/11/01/427754.aspx
CC-MAIN-2014-15
refinedweb
3,276
72.66
Analyze API message content using custom analytics Introduction This topic presents a tour demonstrating how to use policies to extract statistical data from a request and feed that data to the Edge Analytics system. Then, it shows how to create a custom analytics report based on that data, which appears as custom dime...
http://docs.apigee.com/analytics-services/content/analyze-api-message-content-using-custom-analytics
CC-MAIN-2016-22
refinedweb
1,799
54.32
Simple CRON for MicroPython. Project description Simple CRON for MicroPython SimpleCRON is a time-based task scheduling program inspired by the well-known CRON program for Unix systems. The software was tested under micropython 1.10 (esp32, esp8266) and python 3.5. What you can do with this library: Run any task at pre...
https://pypi.org/project/micropython-scron/0.5.4/
CC-MAIN-2022-40
refinedweb
649
58.38
So it looks increasingly like .NET Core is going to be an important technology in the near future, in part because Microsoft is developing much of it in the open (in a significant break from their past approach to software), in part because some popular projects support it (Dapper, AutoMapper, Json.NET) and in part bec...
http://www.productiverage.com/migrating-my-full-text-indexer-to-net-core-supporting-multitarget-nuget-packages
CC-MAIN-2017-13
refinedweb
5,333
64.91
Hi, I'm having some very hard time with my header files when working with linked lists. I'm not too sure what I need to define in them except for the prototype functions. The way to create strucs within the header files confuse me. This first file is the header for the file that works with the linked lists. // // linke...
http://www.daniweb.com/software-development/c/threads/416091/help-with-header-files-linked-lists
CC-MAIN-2014-10
refinedweb
849
64.91
. Test: Tests can be run automatically on a MeeGo image by adding package eat-selftest to the image. eat-selftest package pulls testrunner-lite and test-definition as dependencies to the image. The package itself installs an init script that finds all installed test packages and calls testrunner-lite to execute them. T...
http://wiki.meego.com/index.php?title=Quality/QA-tools/Autotest-guide&diff=prev&oldid=20842
CC-MAIN-2013-20
refinedweb
925
58.69
. Designed by Dave Winer only a week after he formalized RSS 2.0, the BlogChannel module allows the inclusion of data used by weblogging applications and, specifically, the newer generation of aggregating and filtering systems. It consists of three optional elements, all of which are subelements of channel, and has the...
http://etutorials.org/Misc/rss/Chapter+8.+RSS+2.0+Simply+Extensible/8.2+Module+Support+Within+RSS+2.0/
CC-MAIN-2017-04
refinedweb
216
56.66
> Hi guys, I'm getting this error: error CS0246: The type or namespace name `CharacterMovement' could not be found. Are you missing a using directive or an assembly reference? The script is trying to reference the script "CharacterMovement" on the same gameObject level as itself, but it's coming up with this namespace ...
https://answers.unity.com/questions/1029223/error-cs0246-typenamespace-error.html
CC-MAIN-2019-22
refinedweb
346
64.51
Related Topics: Java IoT Java IoT: Article Java Gotchas: Instance Variables Hiding If methods with the same signatures or member variables with the same name exist in ancestor and descendant classes, the Java keyword super allows access members of the ancestor. But what if you do not use the keyword super in the descen...
http://news.sys-con.com/node/46344
CC-MAIN-2018-17
refinedweb
1,896
61.16
> Very nice summary! Just suggesting some changes here, in some cases > because the docs you started from are out of synch with the current > incarnation of the language: Thanks! (Say, what's the deal with the overlap in the ref manual and the lib ref manual? It seems like the lib ref manual provides more up-to-date an...
https://legacy.python.org/search/hypermail/python-1994q2/0971.html
CC-MAIN-2021-43
refinedweb
362
61.67
Question Acme Sales has two store locations. Store A has fixed costs of $125,000 per month and a variable cost ratio of 60%. Store B has fixed costs of $200,000 per month and a variable cost ratio of 30%. At what sales volume would the two stores have equal profits? Answer to relevant QuestionsA leading broker has adve...
http://www.solutioninn.com/acme-sales-has-two-store-locations-store-a-has-fixed
CC-MAIN-2017-13
refinedweb
245
77.23
Trying to load a .mp4 Video fails Hey guys, I've installed ffmpeg and opencv on my linux server, like that: git clone <ffmpeg_git_repositiory> cd FFmpeg ./configure --enable-shared make sudo make install git clone <opencv_git_repositiory> cmake <path to the OpenCV source directory> mkdir release cd release cmake -D CMA...
https://answers.opencv.org/question/128583/trying-to-load-a-mp4-video-fails/
CC-MAIN-2020-24
refinedweb
138
67.55
On Mon, 2004-04-19 at 23:08, Trond Myklebust wrote:> On Mon, 2004-04-19 at 16:49, Fabian Frederick wrote:> > Trond,> > > > Here is a patch to have nfs to sysctl although Maxreadahead is tunable> > under nfs init only.Do you have an idea and do you think it's acceptable> > to make it applicable directly i.e. would it be...
https://lkml.org/lkml/2004/4/19/253
CC-MAIN-2016-44
refinedweb
315
66.64
About a year ago we checked the Linux core. It was one of the most discussed articles at that time. We also got quite a number of requests to check FreeBSD, so finally we decided to take the time to do it. About the project FreeBSD is a contemporary operating system for servers, desktops and embedded computer platforms...
https://hownot2code.com/2016/05/23/pvs-studio-delved-into-the-freebsd-kernel/
CC-MAIN-2021-39
refinedweb
4,899
58.18
am wrapping an internal set of libraries written in C++ to provide access to an API in Java and I haven't run into any issues until now. I have a struct that is wrapped into a Java proxy class with its associated getters and setters. The generated code actually does work for some time. However, after enough calls to t...
https://sourceforge.net/p/swig/mailman/swig-user/?viewmonth=201405&viewday=28
CC-MAIN-2017-26
refinedweb
665
67.45
yamldirs - create directories and files (incl. contents) from yaml spec. yamldirs Create directories and files (including content) from yaml spec. This module was created to rapidly create, and clean up, directory trees for testing purposes. Installation: pip install yamldirs Usage The YAML record syntax is: fieldname:...
https://pypi.org/project/yamldirs/
CC-MAIN-2017-43
refinedweb
584
67.04
Rafael Z. Frantz wrote: Hi folks, another question: I have an object that uses a PriorityBlockingQueue. This object is shared among several threads that invoke add( object ) and pool() on this shared object. here is the code: The PriorityBlockingQueue is used like this: public class MyClass { PriorityBlockingQueue queu...
http://www.coderanch.com/t/487349/threads/java/PriorityBlockingQueue-concurrent-access
crawl-003
refinedweb
235
58.38
ccTalk - Part 2 - Coin acceptor handling Published on 19 August 2013 Coin acceptor A coin acceptor is a device that can recognize various types of coins based on its weight, shape, size and more (all depends on the device and the manufacturer). Usually, all the different coins it can recognize are separated in what are...
http://www.balda.ch/posts/2013/Aug/19/cctalk-part2/
CC-MAIN-2015-35
refinedweb
1,045
51.58
CSS-in-JS is something I've been unable to stop using on both personal projects and work. CSS has been introducing more and more features, making SCSS less of an obvious choice. At the same time, CSS-in-JS libraries entered the scene. They add some interesting features: Server-Side-Rendering, code splitting as well as ...
https://practicaldev-herokuapp-com.global.ssl.fastly.net/kornil/about-css-in-js-and-react-5ajg
CC-MAIN-2021-17
refinedweb
592
58.48
Mapbox is a mapping platform that makes it easy to integrate location into any mobile and online application. We are pleased to showcase the Mapbox Qt SDK as a target platform for our open source vector maps rendering engine. Our Qt SDK is a key component in Mapbox Drive, the first lane guidance map designed for car co...
http://blog.qt.io/blog/2016/10/04/customizable-vector-maps-with-the-mapbox-qt-sdk/
CC-MAIN-2017-13
refinedweb
958
64.41
Querying a Database with LINQ to SQL We will be creating a Windows Forms Application that allows as to you to query and view records from a particular table using LINQ to SQL classes, SQL Server 2008, and the Northwind sample database. You will learn how to use the Object Relational Designer to generate LINQ to SQL Cla...
https://compitionpoint.com/querying-a-database-with-linq-to-sql/
CC-MAIN-2021-31
refinedweb
1,205
56.05
.. image:: .. image:: :align: center :alt: Pipeline UI screenshot Pipelines is a simple tool with a web UI to manage running tasks. It supports running tasks manually through a Web UI or automatically via webhooks. Pipelines is composed of three components: Pipelines is primarily developed to run on Linux / MacOS. Wind...
https://awesomeopensource.com/project/Wiredcraft/pipelines
CC-MAIN-2021-04
refinedweb
860
63.09
Description: Door Lock System using Arduino and GSM– In this Tutorial, you will learn how to control an electronic door lock through an SMS using GSM Module and Arduino Uno or Mega. This is a wireless remote controlled electronic lock project, with the help of this project the Door Lock can be controlled from anywhere ...
https://www.electroniclinic.com/door-lock-system-using-arduino-and-gsm-wireless-electronic-lock/
CC-MAIN-2021-39
refinedweb
1,244
60.85
Recent new feature: As well as tweeting user requested images NixieBot will send out a daily movie tweet about "how my day went". This movie is composed of one frame taken every 15 minutes throughout the day so you can see how lighting changes and weather affect the images the camera produces. The word to display is ei...
https://hackaday.io/project/9155-nixiebot/log/47480-daily-time-lapse-movies-from-nixiebot
CC-MAIN-2021-39
refinedweb
888
60.65
Here is an other (simpler) way to do it ! 14th October, 2015 Mehdi_Souihed left a reply on How Do You Unit Test File Uploads? • 3 years ago Here is an other (simpler) way to do it ! Mehdi_Souihed left a reply on File Upload Unkown Error With Phpunit • 3 years ago Hi Guys, I came across a similar problem while trying to...
https://laracasts.com/@Mehdi_Souihed
CC-MAIN-2018-43
refinedweb
1,126
55.58
I am not seeing anyone else have this problem, and it just seems to have cropped up for me. So how do I determine if this is a local install problem or (and I highly doubt this) an issue with the library? Using requests import requests s = requests.Session() s.auth('username', 'pass') ----------------------------------...
https://codedump.io/share/wSqY7h0AVOUD/1/baffling-inability-to-auth-with-requests-nonetype-error
CC-MAIN-2017-04
refinedweb
102
75.1
Hey, Scripting Guy! In Windows XP, how can I use a script to automatically queue up files that I want to burn to a CD?-- BD Hey, BD. Well, unfortunately, we have some bad news for you: there’s currently no way to burn a CD using a script. You see, the problem is that - oh, wait a second: you just want to queue up the f...
http://blogs.technet.com/b/heyscriptingguy/archive/2006/05/02/how-can-i-use-a-script-to-automatically-queue-up-files-that-i-want-to-burn-to-a-cd.aspx
CC-MAIN-2013-48
refinedweb
1,321
59.64
Sensor node can't find gateway Hello, I'm trying to setup a mysensors serial gateway following the instructions. The only modifications for both (gateway and node) I added '#define MY_RF24_PA_LEVEL RF24_PA_LOW' Gateway is on Arduino Uno (chinese clone) on COM7 Node is on Arduino Uno (official version) on COM5 Distance ...
https://forum.mysensors.org/topic/9743/sensor-node-can-t-find-gateway/6
CC-MAIN-2019-04
refinedweb
605
56.25
Hello, I've searched beforehand, and nothing applies to my specific situation, and I need to have moving platforms work, however, I'm using a rigidbody because I need it to be pushed around, and because of issues with scaling and being parented but just frozen in midair, I can't use parenting to do this. I'm moving the...
https://answers.unity.com/questions/696505/velocity-powered-rigidbody-on-a-moving-platform-wi.html
CC-MAIN-2019-09
refinedweb
731
72.56
Hello there! Here are two things that occurred to me while I played around with the TSRM module (I am using 4.0.4pl1): The first is: when compiling the TSRM without TSRM_DEBUG defined, but compiling the PHP with -enable-debug option, the file zend_alloc.c uses the function tsrm_error() but the function is not compiled ...
https://www.mail-archive.com/php-dev@lists.php.net/msg06840.html
CC-MAIN-2018-39
refinedweb
578
64.61
Closed Bug 705755 Opened 10 years ago Closed 4 years ago Reintroduce handling of SSL short write after SSL thread removal Categories (Core :: Security: PSM, defect, P1) Tracking () mozilla57 People (Reporter: briansmith, Assigned: mayhemer) References (Blocks 1 open bug) Details (Keywords: regression, Whiteboard: [psm-...
https://bugzilla.mozilla.org/show_bug.cgi?id=705755
CC-MAIN-2021-39
refinedweb
1,631
57.61
Commons Lang 2.4 is out, and the obvious question is: "So what? What's changed?" . This article aims to briefly cover the changes and save you from having to dig through each JIRA issue to see what went on in the year of development between Lang 2.3 and 2.4. First, let us start with a couple of deprecations. As you can...
http://commons.apache.org/lang/article2_4.html
crawl-001
refinedweb
1,269
57.37
Hello and welcome to this tutorial series of Azure Data Services. Through the course of this tutorial, I will take you through what Azure has to offer in Data Services. I will start with the basics of relational databases, dig into the goodness of non-relational offerings and end with what is new and what is exciting i...
https://blogs.msdn.microsoft.com/cdndevs/2015/01/22/azure-data-services-blobbing-did-you-say-what-is-that-part-3/
CC-MAIN-2019-39
refinedweb
1,429
61.16
I saw many beautiful blogs around this topic, some among the others are: - Create and use custom tile type - Creating an SAP Smart Business like tile without HANA on your Fiori Launchpad - Customised Tile Types in Fiori Launchpad (although this one is not really a “custom” tile type – more like a customized standard on...
https://blogs.sap.com/2017/01/28/how-to-create-custom-tile-types-for-onpremise-fiori-launchpad/
CC-MAIN-2017-22
refinedweb
3,581
53.81
I gave up on Boost. Never could get it to build no matter what I did. Thanks anyway, but I'm looking for a pyCXX solution. Stefan Seefeld wrote: > apocalypznow wrote: > >>Hi, >> >>Can anyone post a simple pyCXX example of a callback into python? My > > > I don't know what 'pyCXX' is, so let's assume you mean boost.pyth...
http://mail.python.org/pipermail/cplusplus-sig/2006-November/011294.html
CC-MAIN-2013-20
refinedweb
187
54.83
>> variables and values. [ID:1333] (2/2) in series: Python Terminology - introduction - video tutorial by gasto, added 03/09 Name: [3253] gasto Member:. In this tutorial, I aim to teach absolute beginners the meaning of variables and values, how an expression can output a value in immediate mode of the interpreter with...
http://showmedo.com/videotutorials/video?name=6950010
CC-MAIN-2015-32
refinedweb
685
71.85
When we talk about writing asynchronous JavaScript we often use timer functions or promises as an example. Whereas the majority of asynchronous code written in modern JavaScript web apps is focused on events caused either by a user interacting with the UI (addEventListener) or some native API (IndexedDB, WebSocket, Ser...
https://michalzalecki.com/react-memoized-event-handlers/
CC-MAIN-2019-26
refinedweb
761
54.12
Products and Services Downloads Store Support Education Partners About Oracle Technology Network Name: dbT83986 Date: 05/13/99 When trying to load an ImageIcon from an application jar file that resides on an unmapped network directory, the image will not load. If you map the path to a drive instead of using the UNC pat...
http://bugs.java.com/bugdatabase/view_bug.do?bug_id=4238086
CC-MAIN-2017-04
refinedweb
1,906
51.95
Today was a regular day. All thanks to closures I was only able to learn just one new concept. Higher-Order Components in React Those are basically nothing but Higher-order functions. So Higher-Order Components basically takes one component as input do something with it and return a new component and components are bas...
https://practicaldev-herokuapp-com.global.ssl.fastly.net/icecoffee/6-of-100daysofcode-47ge
CC-MAIN-2021-21
refinedweb
365
50.12
The GIMP is designed to provide an intuitive graphical interface to a variety of image editing operations. Here is a list of the GIMP's major features:. To enable I18N extensions, execute "gimp.setfont" before you use GIMP. WWW: NOTE: FreshPorts displays only information on required and default dependencies. Optional d...
http://www.freshports.org/graphics/gimp1/
CC-MAIN-2015-18
refinedweb
641
62.75
OpenGL Discussion and Help Forums > OpenGL Developers Forum > OpenGL coding: advanced > import .x file PDA View Full Version : import .x file appdeveloper 10-15-2009, 06:43 AM Is it possible to import a 3d studio max file, probably exported as .x (like in some game engines) to be rendered in OpenGL? How? My thanks in a...
https://www.opengl.org/discussion_boards/archive/index.php/t-168905.html
CC-MAIN-2018-30
refinedweb
493
75.1
0 Okay I don't get this problem at all: import random def chance(number): number = input for each in xrange(number): n = random.randrange(100)+1 return n def extreme(x): z = x + 5 y = z - 3 return z, y #main repeat = 0 while repeat != 2: x = input("Enter a value for x: ") z, y = extreme(x) print x," + 5 = ",z print z,"...
https://www.daniweb.com/programming/software-development/threads/179539/loops-random-number-and-dictionaries
CC-MAIN-2017-34
refinedweb
213
55.1
In the last lesson we derived the nearest neighbor formula. Nearest neighbors is a powerful algorithm because it allows us to predict other attributes about people using their proximity data. For example, those who live in a particular neighborhood may be more likely to be a certain age or have similar interests. Using...
https://learn.co/lessons/applying-nearest-neighbors
CC-MAIN-2019-09
refinedweb
1,396
50.77
Paul Prescod writes: >Without any xmllib-specific optimization, pyexpat runs almost as fast as >sgmlop: >raw sgmlop: 13222 items; 0.426 seconds; 1281.29 kbytes per second >fast xmllib: 13222 items; 1.445 seconds; 378.03 kbytes per second >slow xmllib: 13222 items; 6.651 seconds; 82.11 kbytes per second >pyexpat: 13210 ...
https://mail.python.org/pipermail/xml-sig/2000-January/001843.html
CC-MAIN-2017-43
refinedweb
253
68.77
How To Write Your First Airflow Pipeline SeattleDataGuy ・6 min read This tutorial discusses the basic steps it takes to create your first workflow using Apache Airflow. Before getting started, you need to set up an Airflow environment to be able to follow along with each of the steps discussed in this article. If you h...
https://practicaldev-herokuapp-com.global.ssl.fastly.net/seattledataguy/how-to-write-your-first-airflow-pipeline-2j43
CC-MAIN-2020-05
refinedweb
1,340
56.05
This. This. Memory Allocation Functions There are three standard C functions that you can use to allocate memory — malloc() , calloc() , and realloc() . Their prototypes, as defined in <stdlib.h> , are: void* calloc (size_t nmemb, size_t size); void* malloc (size_t size); void* realloc (void *ptr, size_t size); malloc(...
http://www.linux-mag.com/id/806
crawl-002
refinedweb
2,734
60.85
In the final part of this tutorial, we will demonstrate how to construct large scale ASP.NET websites. In the previous tutorials of this series, we saw how to build single ASP.NET pages where all the code for a page was written on the page itself. This approach can quickly get tedious when you have code that is common ...
http://archive.oreilly.com/pub/a/dotnet/2004/12/06/asp2aspnet_pt3.html
CC-MAIN-2015-32
refinedweb
2,119
65.73
This chapter documents the class contained in package oracle.xml.sql.dml, which handles data manipulation and modification for XML SQL Utility for Java (XSU). XSU is part of the Oracle XDK for Java. XML SQL Utility for Java generates and stores XML data to and from the database from SQL queries or result sets or tables...
http://docs.oracle.com/cd/B10501_01/appdev.920/a96609/arj_xmlsqldml.htm
CC-MAIN-2015-27
refinedweb
1,208
58.38
I need to use requests module in my python script to scraping HTML data with XPath. I am getting ModuleNotFound error when import requests module. Could anyone please tell me how to add python module in test complete? Solved! Go to Solution. You should put your external libraries in python lib in testcomplete eg C:\Pro...
https://community.smartbear.com/t5/TestComplete-General-Discussions/How-to-add-python-module-in-test-complete/m-p/162627
CC-MAIN-2021-17
refinedweb
180
56.15
Hello, World: Getting Started with IE8 Visual Search ★★★★★★★★★★★★★★★ ieblogSeptember 18, 200854 Share 0 0 PingBack from how about the ability to save the actual image resolution of the thumbnail using accelerators it’s much faster that way. Is this possible to do? how about the ability to save the actual image dimensio...
https://blogs.msdn.microsoft.com/ie/2008/09/18/hello-world-getting-started-with-ie8-visual-search/
CC-MAIN-2017-47
refinedweb
2,995
71.14
The Build Job feature allows you to deploy and execute a Job on any server, independent of Talend Studio. By executing build scripts generated from the templates defined in Project Settings, the Build Job feature adds all of the files required to execute the Job to an archive, including the .bat and .sh along with any ...
https://help.talend.com/reader/eGbThEsTyqkXi6bEn7Tw8g/jkU~1VVypQak7HOqbMmLwg
CC-MAIN-2019-39
refinedweb
1,134
62.17
Hi, I'm having trouble with using this module, more specifically the 'search' function. How do i get the atom list from a pdb file (is this using PDBParser)? How do I use it to find the nearest residues from the co-crystallized ligand? Cheers Hi, I'm having trouble with using this module, more specifically the 'search'...
https://www.biostars.org/p/1816/
CC-MAIN-2018-39
refinedweb
754
77.74
To Do this Create an XML-based Web service using ASP.NET In Visual Studio .NET, create a new ASP.NET Web Service project. Visual Studio .NET will create the application in IIS and create a default Web service file with an .asmx extension. Test a Web service Browse the .asmx file containing the Web service from a Web br...
http://www.yaldex.com/asp_tutorial_2/LiB0074.html
CC-MAIN-2016-50
refinedweb
244
65.93
Implementing Custom States. The commit() method is optional; it is useful if the bolt manages state on its own. This is currently used only by internal system bolts (such as CheckpointSpout). KeyValueState implementations should also implement the methods defined in the KeyValueState interface. The framework instantiat...
https://docs.cloudera.com/HDPDocuments/HDF3/HDF-3.4.1.1/developing-storm-applications/content/implementing_custom_states.html
CC-MAIN-2019-47
refinedweb
118
58.18
NPFL092 Technology for NLP (Natural Language Processing) - Lecturer: Zdeněk Žabokrtský <zabokrtsky@ufal.mff.cuni.cz>, teaching assistant: Rudolf Rosa <rosa@ufal.mff.cuni.cz> - Time and location: Thursday 09:50–12.10 SU2 Course schedule overview - Linux and Bash - survival in Linux - Bash command line and scripting - te...
http://ufal.mff.cuni.cz/~zabokrtsky/courses/npfl092/html/
CC-MAIN-2017-51
refinedweb
3,168
52.02
Wikis : Information, communities, and feedback loops. Wikis are cool. People who wiki are part of a community People who are part of a community make a difference If you don’t have much information to process, don’t have a community, or don’t want others to make a difference, you don’t need a wiki. (but they’re still c...
https://blogs.harvard.edu/longestnow/wikis-information-communities-and-feedback-loops/
CC-MAIN-2021-31
refinedweb
215
59.8
One of the most frustrating thing about clicking on blog posts is having to scroll through people's long winded explanations of stuff when you can just put the answer at the top. Here's how you do the thing in the title: <Router> <NavLink to="/homepage">Homepage</NavLink> <Route path="/homepage" render={props => (<Home...
https://dev.to/halented/passing-state-to-components-rendered-by-react-router-and-other-fun-things-3pjf
CC-MAIN-2021-43
refinedweb
1,053
71.55
Java is a case sensitive programming language. To be able to write a program in Java, it is necessary to know the exact structure of a Java program. So, let us study the structure of a Java program along with its important syntax and keywords. Basic Structure of a Java Program A Java program involves the following sect...
https://csveda.com/java/structure-of-a-java-program/
CC-MAIN-2022-33
refinedweb
581
64.2