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
DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world Playing Sound py_s60 1.1.3 provides audio module which allow you to play sound. This should let people write some fun games. Here's a quick ex...
http://www.dzone.com/snippets/playing-sound
CC-MAIN-2014-35
refinedweb
131
80.99
I was just writing code in C and it turns out it doesn't have a boolean/bool datatype. Is there any C library which I can include to give me the ability to return a boolean/bool datatype? If you have a compiler that supports C99 you can #include <stdbool.h> Otherwise, you can define your own if you'd like. Depending on...
https://codedump.io/share/pp81kqIKVMuH/1/how-to-use-boolean-datatype-in-c
CC-MAIN-2018-22
refinedweb
130
76.05
Chess TDD 50: Back to the Green Field (Kinda).” This time around, I actually get to do a bit of green field development again. That sounds like a weird distinction to make, but I’d been so involved in modifying the existing pieces and the board class that biting the bullet and creating a class to handle castling was a ...
https://daedtech.com/chess-tdd-50-back-to-the-green-field-kinda/
CC-MAIN-2020-16
refinedweb
343
68.2
We are about to switch to a new forum software. Until then we have removed the registration on this forum. Hi, so I've just recently learned how to program and I'm trying to make a project that you can play a piano with the keyboard.. I don't know much about processing but whenever i run the code, I can only play each ...
https://forum.processing.org/two/discussion/10931/processing-piano-help
CC-MAIN-2021-39
refinedweb
976
74.59
I noticed a probable dynamic stream allocation bug ... Coul you confirm? here is a simple test program // Test_GPU_1.cpp : Defines the entry point for the console application. #include "stdafx.h" #include "brook/Stream.h" brook::Stream<int3> *stream_A; void create_streams( int width, int height ) { unsigned int dims[2]...
https://community.amd.com/thread/104865
CC-MAIN-2020-10
refinedweb
170
65.93
05 July 2010 06:07 [Source: ICIS news] GUANGZHOU (ICIS news)--Chinese oil major, PetroChina, is expected to begin commercial operations at its new ?xml:namespace> The yuan (CNY) 15.2bn ($2.24bn) refinery was started up on 29 June and its operating rate would be maintained at around 70% for the next three months, said a...
http://www.icis.com/Articles/2010/07/05/9373643/petrochina-to-begin-commercial-ops-at-guangxi-refinery-by-aug.html
CC-MAIN-2013-48
refinedweb
115
61.87
Isomorphic React Apps in Symfony with the help of Webpack It is a strong tendency in our sector to have increasingly more frontend code and present the user with rich client applications. As a result, new and better ways of organising client code have appeared. We, in Limenius, as Symfony lovers, have been exploring wa...
http://nacho-martin.com/symfony-react.html
CC-MAIN-2017-26
refinedweb
1,556
63.09
DApps in Pure Elm More examples and docs are in the works! This library allows you to interact with the Ethereum blockchain much like purescript-web3, ethers.js, or web3.js. You can hook into web wallets like MetaMask and send transactions, as well as perform read-only operations off an Ethereum node. Import the Eth mo...
https://package.frelm.org/repo/1359/5.0.0
CC-MAIN-2018-51
refinedweb
387
61.93
$ git checkout v2.6.18 git-checkout - Checkout a branch or paths to the working tree. As a convenience, --track will default to create a branch whose name is constructed from the specified branch name by stripping the first namespace level. When <paths> are given, this command does not switch branches. It updates the n...
https://www.kernel.org/pub/software/scm/git/docs/v1.6.2.2/git-checkout.html
CC-MAIN-2016-40
refinedweb
230
72.56
On Mon, Dec 10, 2007 at 08:57:28PM +0100, Andi Kleen wrote:> On Monday 10 December 2007 20:32, Sam Ravnborg wrote:> > On Thu, Nov 22, 2007 at 03:43:10AM +0100, Andi Kleen wrote:> > > When passing an file name > 1k the stack could be overflowed.> > > Not really a security issue, but still better plugged.> >> > Looks goo...
https://lkml.org/lkml/2007/12/10/213
CC-MAIN-2015-32
refinedweb
143
85.59
#include <win32.h> List of all members. Definition at line 28 of file win32.h. 0 [virtual] Add system specific Common::Archive objects to the given SearchSet. E.g. on Unix the dir corresponding to DATA_PATH (if set), or on Mac OS X the 'Resource' dir in the app bundle. Reimplemented from OSystem_SDL. from OSystem. Get...
https://doxygen.residualvm.org/de/df7/classOSystem__Win32.html
CC-MAIN-2019-13
refinedweb
106
69.68
Calling Access Grid Web services The Access Grid is built atop SOAP-based web services. SOAP will not be covered in this document in any more detail than is necessary, and need not be. For the sake of Access Grid development, client classes have been generated and ship with the software. These classes simplify the task...
http://www.accessgrid.org/developer/CallingAccessGridWebServices
CC-MAIN-2018-05
refinedweb
697
62.48
Microsoft Dynamics CRM 3.0: Accessing Selected Records in a Grid Peter Hecke Microsoft Corporation January 2007 Applies to: Microsoft Dynamics CRM 3.0 Requirements Microsoft Dynamics CRM 3.0 Microsoft Visual Studio 2005 Summary: Learn how to determine programmatically which entity records a user has selected in the Mic...
https://docs.microsoft.com/en-us/previous-versions/dynamicscrm-2013/crm.6/bb267367(v=crm.6)
CC-MAIN-2019-22
refinedweb
4,179
58.38
res_init - Search for a default domain name and Internet address #include <sys/types.h> #include <netinet/in.h> #include <arpa/nameser.h> #include <resolv.h> void res_init( void ); Standard C Library (libc) The res_init() function reads the /etc/resolv.conf file for the default domain name and the Internet address of t...
https://nixdoc.net/man-pages/Tru64/man3/res_init.3.html
CC-MAIN-2020-45
refinedweb
254
68.57
This blog post is closely related with my interest in low-level stuff. As you already may know, I’ve started to be interested in such things like: How N works, where the N is something like - what does occur when we turn on the computer, pressing key on keyboard, how does an operating system load a program and many man...
https://0xax.github.io/grub/
CC-MAIN-2017-47
refinedweb
5,228
60.85
Lead Image © Zlatko Guzmic, 123RF.com Kubernetes clusters within AWS EKS Cloud Clusters When a Kubernetes laboratory environment is required, the excellent localized Minikube and the tiny production-ready k3s distributions are fantastic. They permit a level of interaction with Kubernetes that lets developers prove work...
https://www.admin-magazine.com/index.php/Archive/2021/64/Kubernetes-clusters-within-AWS-EKS/(tagID)/362
CC-MAIN-2022-05
refinedweb
1,669
57.81
I've got a problem trying to replace keys (dictionary) that I have in a file, with its corresponding values. More details: an input file called event_from_picks looks like: EVENT2593 EVENT2594 EVENT2595 EVENT41025 EVENT2646 EVENT2649 Also, my dictionary, created by reloc_event_coords_dic() looks like: {'EVENT23595': , ...
https://www.daniweb.com/programming/software-development/threads/392433/replace-keys-with-values-and-write-in-a-new-file-python
CC-MAIN-2019-13
refinedweb
207
56.86
: sanmartinian, although I do agree with much of what you say, I'm afraid the road fatalities example is not a good one. The decrease in road fatalities was achieved in Portugal by only considering a road fatality when someone dies in the spot of the accident or on the way to the hospital. All other EU countries consid...
http://www.economist.com/comment/284182
CC-MAIN-2014-52
refinedweb
3,125
58.92
expo-printprovides an API for iOS (AirPrint) and Android printing functionality. expo install expo-print If you're installing this in a bare React Native app, you should also follow these additional installation instructions. import * as Print from 'expo-print'; Note: On iOS, printing from HTML source doesn't support l...
https://docs.expo.io/versions/v39.0.0/sdk/print/
CC-MAIN-2021-31
refinedweb
234
52.56
system - execute a shell command #include <stdlib.h> int system (const char * string); system() executes a command specified in string by calling /bin/sh -c string, and returns after the command has been completed. During execution of the command, SIGCHLD will be blocked, and SIGINT and SIGQUIT will be ignored. The val...
https://nixdoc.net/man-pages/Linux/man3/system.3.html
CC-MAIN-2022-21
refinedweb
123
68.57
On Sat, 17 Feb 2007, Emerson Posadas wrote: > As posted here: > > I'm having some troubles importing the svn.repos into python and i > haven't found any solutions to this issue. This list pertains to development of Subversion itself. Please keep this type of question on the users mailing list. From your original messag...
https://svn.haxx.se/dev/archive-2007-02/0416.shtml
CC-MAIN-2019-22
refinedweb
150
52.56
Hi, I would like to put data on the GPU-memory once at the beginning of the program, and use this data (which is never modified) within a loop calling a subroutine. Here is a trivial example: subroutine accumulateTrigo(a, size, sum) integer :: ii,jj, size real, dimension(size) :: a real :: sum !$acc data region copyin(...
https://forums.developer.nvidia.com/t/keeping-data-on-gpu-while-looping-and-calling-subroutines/132806
CC-MAIN-2022-21
refinedweb
298
64.1
The Currency Hedging Dilemma Currency hedging comes with some trade-offs. Currency hedging comes with some trade-offs. Currency hedging mitigates the additional volatility that exchange rates impose on foreign assets. But these currency-hedged strategies bear additional costs and can have tax implications. Our recent r...
https://www.morningstar.com/articles/888033/article
CC-MAIN-2022-33
refinedweb
931
54.02
Member 26 Points Oct 10, 2011 09:58 PM|kutubanget|LINK hi there, i have a project using ASP.Net MVC 3. and for the report using SQL Server Reporting Service (a lot of rdl files). now i want to make report menu in my project. i want to add all those rdl file into my project ( i dont want to design the report again in my...
https://forums.asp.net/t/1728972.aspx?Handling+SSRS+Report+in+ASP+Net+MVC+3+using+Microsoft+Visual+Studio+2010
CC-MAIN-2020-50
refinedweb
421
58.38
#include <Shared_Memory_Pool.h> Inheritance diagram for ACE_Shared_Memory_Pool: Initialize the pool. Acquire at least nbytes from the memory pool. rounded_byes is the actual number of bytes allocated. Also acquires an internal semaphore that ensures proper serialization of Memory_Pool initialization across processes. R...
http://www.dre.vanderbilt.edu/Doxygen/5.5.5/html/ace/classACE__Shared__Memory__Pool.html
CC-MAIN-2013-20
refinedweb
303
60.61
0 Hello to all. I am trying to get an aproximation of expodential of x, using the power serie expansion which is x to the power n over n factorial, with n approaching to inifinty. Now I am trying to get the value of expodential of 1 by passing to the command line x = {"1.0"},with n ={"25"}. However, I always get 2 as o...
https://www.daniweb.com/programming/software-development/threads/353208/rebellion-of-long-variables
CC-MAIN-2016-50
refinedweb
209
64.91
The QWebSecurityOrigin class defines a security boundary for web sites. More... #include <QWebSecurityOrigin> This class was introduced in Qt 4.5. The QWebSecurityOrigin class defines a security boundary for web sites. QWebSecurityOrigin provides access to the security domains defined by web sites. An origin consists o...
https://doc.qt.io/archives/qt-4.7/qwebsecurityorigin.html
CC-MAIN-2021-17
refinedweb
342
60.61
With the first edition of Recipes with Backbone hot off the virtual press, I get started tonight with a little bit of follow up work. I am still not quite satisfied with the namespacing and packaging chapter for which I was responsible. There are two decent approaches, but I am holding out hope for a little better. Ton...
https://japhr.blogspot.com/2011/12/getting-started-with-backbonejs-and.html
CC-MAIN-2018-30
refinedweb
1,545
67.96
After showing how to create barcodes it only seems logical to show how to read them – your XAML NetAdvantage package of choice would not be complete if it only included a control to create barcodes. And, well, it is complete, since it includes the Infragistics Barcode Reader as well! Barcode representations have evolve...
http://www.infragistics.com/community/blogs/damyan_petev/archive/2012/05/14/how-to-use-the-infragistics-barcode-reader.aspx
CC-MAIN-2017-04
refinedweb
1,567
58.96
- Introduction: Seeking Code Roots - Program Executable Entry Points - Interfaces and Classes - Clues from Access Modifiers - Packages - Making Objects - Factories - Reflection - Conclusion Clues from Access Modifiers The access controls (public, protected, private, and package) give clues as to what the programmers wa...
http://www.informit.com/articles/article.aspx?p=30170&seqNum=4
CC-MAIN-2019-18
refinedweb
263
58.01
root plugin A Flutter Plugin to check Android device Root status and Run shell commands in android(only). This plugin is based on Topjohnwu libsu and Stericson Root Tools. Usage To use this plugin, add root as a dependency in your pubspec.yaml file. root: ^1.0.0 import it import 'package:root/root.dart'; Declare a asyn...
https://pub.dev/documentation/root/latest/
CC-MAIN-2021-21
refinedweb
157
61.77
The first step towards creating custom widgets in PyQt6 is understanding bitmap (pixel-based) graphic operations. All standard widgets draw themselves as bitmaps on a rectangular "canvas" that forms the shape of the widget. Once you understand how this works you can draw any widget you like! A bitmap is a rectangular g...
https://www.pythonguis.com/tutorials/pyqt6-bitmap-graphics/
CC-MAIN-2022-40
refinedweb
3,574
59.5
Hi, I'm having a problem in linking that I don't understand. I'm working with mingw with gcc 3.2 under Windows Xp. My project has 4 files: cons.h usrcon.h (includes cons.h) usrcon.cpp (includes usrcon.h) main.cpp (include usrcon.h) in cons.h I have a #ifndef A #def A 1 namespace FS{ const short int FOO = 23; const char...
http://forums.devshed.com/programming/76242-strange-constants-last-post.html
CC-MAIN-2018-17
refinedweb
116
79.06
As I didn’t find anything satisfying in this forum to get the GPSBee to output to serial while using a XBee Shield, I searched the net and found this link: forums.fungizmos.com/viewtopic.php?f=6&t=4 I will copy the code with some minor corrections: [code] #include <NewSoftSerial.h> // To easily use the Xbee shield as a...
https://forum.seeedstudio.com/t/how-to-use-gpsbee-or-xbee-via-xbee-shield-newsoftserial/15238
CC-MAIN-2020-29
refinedweb
347
62.27
Documentation / Algorithms / Shortest path The A* Shortest path algorithm A* computes the shortest path from a node to another in a graph. It can eventually fail if the two nodes are in two distinct connected components. In this A* implementation, the various costs (often called g, h and f) are given by a org.graphstre...
https://graphstream-project.org/doc/Algorithms/Shortest-path/A-star/
CC-MAIN-2022-27
refinedweb
460
58.79
: Use HTMLTranslator for HTML documents, GenericTranslator for “generic” XML documents. (The former has a more useful translation for some selectors, based on HTML-specific element types or attributes.) >>> from cssselect import GenericTranslator, SelectorError >>> try: ... expression = GenericTranslator().css_to_xpath...
http://pythonhosted.org/cssselect/
CC-MAIN-2015-18
refinedweb
926
53.17
Optional: Java 8's Way to Deal With null The Java Zone is brought to you in partnership with ZeroTurnaround. Discover how you can skip the build and redeploy process by using JRebel by ZeroTurnaround. For those who have been programming Java or C/C++ for any period of time will know one of the most annoying things is t...
https://dzone.com/articles/optional-java-8s-way-deal-null
CC-MAIN-2015-48
refinedweb
2,211
56.55
🙂 If all you want to do is get Visual Studio-style build numbers, of the form 1.0.yyMMdd.revision (for example, 1.0.51111.02 for the third build today), then you simply add the following line to your project file after any existing <Imports>: <Import Project=“$(MSBuildExtensionsPath)\Microsoft\AssemblyInfoTask\Micros...
https://blogs.msdn.microsoft.com/msbuild/2005/11/11/how-to-update-assembly-version-numbers-with-msbuild/
CC-MAIN-2017-22
refinedweb
1,565
68.67
I made this program that tokenizes a date based on the "/" character. However, the test string below the if statment is never executed. How come? There are two 12's in my date, it should print out the test string twice. Code:#include <iostream> #include <cstring> using namespace std; void checkDate( char * ); int main(...
http://cboard.cprogramming.com/cplusplus-programming/83386-how-come-i-can%27t-compare-string-token.html
CC-MAIN-2015-32
refinedweb
102
80.41
Before using GaeVFS you should review the Commons VFS API documentation. The GaeVFS jar file contains a vfs-providers.xml configuration file that binds GaeVFS to the scheme gae. The URI format supported by GaeVFS is: gae://path Where path is a UNIX-style (or URI-style) absolute or relative path. Paths that do not start...
http://code.google.com/p/gaevfs/wiki/UsingGaeVFS
crawl-003
refinedweb
521
50.33
Home >>ReactJS Tutorial >React Higher-Order Components Higher order components are JavaScript functions which are used to add extra functionality to the existing object. These functions are pure, which means that they receive data according to that data and return values accordingly. If the data changes, it re-runs hig...
https://www.phptpoint.com/react-higher-order-components/
CC-MAIN-2021-39
refinedweb
466
50.12
I managed to create a pdf file that contains a histogram, which is stored on the server. my problem is: I want to display the window "save as" in the browser to give customers the possibility to save the file locally and I do not know how please help me - Code: Select all import string from reportlab.lib.styles import ...
http://www.python-forum.org/viewtopic.php?f=10&t=6219
CC-MAIN-2016-07
refinedweb
413
51.14
Nice Arches Hackerearth Nikki’s latest work is writing a story of letters. However, she finds writing story so boring that, after working for three hours, she realized that all she has written are M long words consisting entirely of letters A and B. Having accepted that she will never finish the story in time, poor Nik...
https://coderinme.com/nice-arches-hackerearth-problem-solution/
CC-MAIN-2019-13
refinedweb
527
76.11
On 10/27/06, Dominique Devienne <ddevienne@gmail.com> wrote: > On 10/27/06, Jeff Holt <jeff.holt@hotsos.com> wrote: > > The reason I don't want to use <apply> is that I have to qualify the > > executable path. Otherwise, for some yet unknown reason, ant executes > > /usr/bin/java rather than the one in the PATH. And, o...
http://mail-archives.apache.org/mod_mbox/ant-user/200610.mbox/%3Cdffc72020610271426x6e162cbdue24bff81520c881b@mail.gmail.com%3E
CC-MAIN-2016-40
refinedweb
224
63.56
When the Apache developers first began talking about Apache 2.0, one of the major goals was for one module to be able to modify the output of another. This goal was realized earlier this year with the sixth alpha version. The mechanism used to make modifications are called filters. Originally it was difficult to write ...
http://www.onlamp.com/lpt/a/1124
CC-MAIN-2015-18
refinedweb
1,084
63.7
Qt5 Tutorial QThreads - Wait() - 2017 In this tutorial, we will learn about wait() function. The main() starts with only the GUI thread running and it should terminate with only the GUI thread running. Exiting the program when another thread is still busy is a programming error, and therefore, wait() is called which bl...
http://www.bogotobogo.com/Qt/Qt5_QThreads_wait.php
CC-MAIN-2017-26
refinedweb
329
70.53
14 February 2008 13:52 [Source: ICIS news] Correction: In the ICIS news story headlined "Mid-East PP supply eases on PIC Kuwait restart" dated 14 February 2008, please read in the fourth paragraph ... ‘Kuwait National Petroleum Co (KNPC), a fully-owned subsidiary of Kuwait Petroleum co (KPC), produces 100,000 tonnes/ye...
http://www.icis.com/Articles/2008/02/14/9100995/corrected-mid-east-pp-supply-eases-on-pic-kuwait-restart.html
CC-MAIN-2015-18
refinedweb
217
61.36
Does Your LCD Play Catch-Up To Your Mouse? 691 Dishes of Ryan writes "I fell in love with the idea of an LCD monitor, so I ended up buying a nice, shiny Dell 2001FP. However, nowhere, and I mean *nowhere* did I read about LCDs having an input lag on them. For instance, if I scoot the mouse across the screen, there is a...
http://hardware.slashdot.org/story/04/09/27/0016253/does-your-lcd-play-catch-up-to-your-mouse
CC-MAIN-2013-20
refinedweb
6,020
71.85
I have to sort a set of 100000 integers as a part of a programming Q. The time limit is pretty restrictive, so I have to use the most time-efficient approach possible. My current code - #include<cstdio> #include<algorithm> using namespace std; int main() { int n,d[100000],i; for(i=0;i<n;++i) { scanf("%d",&d[i]); } sort...
http://bighow.org/42362278-Efficient_way_to_sort_large_set_of_numbers.html
CC-MAIN-2018-34
refinedweb
566
73.37
To understand ADO.Net, analyze the figure shown below. From the above figure, it is very clear that every application whether it be a web application like Asp.Net web Forms app and Asp.Net MVC app or a Desktop application like WPF app or Winforms app or a Web Service like Web API or WCF, needs to communicate to a data ...
https://www.sharpencode.com/article/ADONET/heywhat-is-ado-net
CC-MAIN-2021-43
refinedweb
699
52.05
In this tutorial, we will build an IoT based soil moisture monitoring system with ESP32 and Adafruit IO. Firstly, we will show you how to interface soil moisture sensor e.g. HL-01 with ESP32. Not only that but we will build a soil moisture monitor that will indicate the percentage of moisture in soil on the Arduino ser...
https://microcontrollerslab.com/esp32-iot-soil-moisture-monitoring-system-adafruit-io/
CC-MAIN-2021-39
refinedweb
2,026
66.64
>> Playing with Destructors in C++ C in Depth: The Complete C Programming Guide for Beginners 45 Lectures 4.5 hours Practical C++: Learn C++ Basics Step by Step 50 Lectures 4.5 hours Master C and Embedded C Programming- Learn as you go 66 Lectures 5.5 hours Destructor is a function of a class in c++ that does the job o...
https://www.tutorialspoint.com/playing-with-destructors-in-cplusplus
CC-MAIN-2022-40
refinedweb
467
60.04
Using Oslo to Speed Up Database Development [This content is no longer valid. For the latest information on "M", "Quadrant", SQL Server Modeling Services, and the Repository, see the Model Citizen blog .] Stephen Forte, Telerik Building applications and services today, for business or just about anything else, always i...
https://msdn.microsoft.com/en-us/library/ee424598(v=MSDN.10).aspx
CC-MAIN-2018-51
refinedweb
4,007
52.09
Permission and Forgiveness I needed to check the times for trains from Bristol to London, so I went to and filled out the Quick Timetable form, entering bristol temple meads and paddington as my departure and destination points. Which Paddington? As you can see, I stick to lowercase when I’m in a hurry — but I did reme...
http://wordaligned.org/articles/permission-and-forgiveness
CC-MAIN-2013-48
refinedweb
822
60.24
10 March 2010 16:18 [Source: ICIS news] By Linda Naylor LONDON (ICIS news)--Polyethylene (PE) prices in Europe have reached a 17-month high but buying sources complain that demand is flat and hikes are being forced through on supply restrictions, several said on Wednesday. “They are squeezing the marketplace by cutting...
http://www.icis.com/Articles/2010/03/10/9341646/europe-polyethylene-prices-at-17-month-high-on-tight-supply.html
CC-MAIN-2014-52
refinedweb
521
65.25
Think about [currency exchange rate] in an online market. This data must be in DB and developers will use that in calculation for currency conversion. Given that the rate changes periodically once a day, at 6 AM sharp. Apparently the data will never change during 24 hours. Then we don't have to access DB every time we ...
http://www.codeproject.com/KB/web-cache/SavingDBaccess.aspx
crawl-002
refinedweb
794
59.3
. We're working on getting docs in order but Kommander is also progressing quickly so it's hard to keep up. A preview of the docs can be seen at but it is not currently up to date with Alpha 4. On the next update it is planned to cover features for Alpha 5, but this could be prior to it's release. Docs are fairly impor...
https://dot.kde.org/comment/98598
CC-MAIN-2017-17
refinedweb
6,468
72.76
31,56 Related Items Succeeded by: Nassau County star Full Text ''L NIIR'ROR& ' - - - I SUMI-WKtilCLY. IrERNANDIXA FLA. WEDNESDAY, .MARCH :151 1880, VOL. 2. NO.) JW.!) ----- I CO.1JJ//'i/O.\/w.; _n an outlet for Sumter in any event, if the tek- | H\\lnI'I11.\'Ir.: a lithographer, committed :, facetiously! termed his "r...
http://ufdc.ufl.edu/UF00054505/00056
CC-MAIN-2016-50
refinedweb
31,102
69.68
Google Summer of Code 2018 projects Like previous years, the Elixir community is happy to participate in Google Summer of Code 2018. We are currently working on four different projects. Let’s have a look at them. StreamData integration with typespecs Student: Nikola Jichev StreamData is a data-generation and property-b...
https://elixir-lang.org/blog/2018/06/28/gsoc-projects/
CC-MAIN-2019-47
refinedweb
759
51.99
Details - Type: Bug - Status: Resolved - Priority: Major - Resolution: Fixed - Affects Version/s: odfdom-0.8.5 - Fix Version/s: odfdom-0.9 - - Labels:None - Environment:Operating System: Linux Platform: PC Description When a slide deck is very simple (like attachment 1) it can't be used in OdfPresentationDocument.copyF...
https://issues.apache.org/jira/browse/ODFTOOLKIT-110?focusedCommentId=13111216&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel
CC-MAIN-2015-32
refinedweb
6,461
57.67
How to publish a Custom react hooks package written in TypeScript. August 06, 2020 First , The Config To get started, you can either have TypeScript installed globally on your computer using sudo apt install node-typescriptfor Linux or you can have it installed as a Dev Dependency using npm i typescript --save-dev. We ...
https://blog.adebola.dev/how-to-publish-a-custom-react-hooks-package-written-in-typescript./
CC-MAIN-2021-10
refinedweb
850
58.69
I've read some of your thoughts on student postings and while I am keen to do things on my own behalf I have hit a wall. I've slaved at this project, mainly because I've not done any programming before, but i can't get my code to run and can't seem to see why. Any help would be much appreciated. Purps xx Also is there ...
https://www.daniweb.com/programming/software-development/threads/21932/dynamic-disaster
CC-MAIN-2017-34
refinedweb
264
70.7
Web Development tclblend.txt Associated article: TclBlend: Blending Tcl and Java Tags: Web Development JVM Languages Published source code accomanying the article by Scott Stanton in which he discusses TclBlend, a scripting language based on Tcl and Java, introduces new Tcl commands that let you directly manipulate Jav...
http://www.drdobbs.com/web-development/sourcecode/tclblend-blending-tcl-and-java/30201274
CC-MAIN-2016-30
refinedweb
116
52.7
Profile RSS Dave Winer: We could establish a profile of RSS 2.0 and implement strict compliance with that profile in the major blogging tools. Excellent! I can make sure that the RSS validator checks for compliance. It’s just data Dave Winer: We could establish a profile of RSS 2.0 and implement strict compliance with ...
http://www.intertwingly.net/blog/1393.html
crawl-002
refinedweb
4,669
71.85
How to Build a Web App with React Native Aman Mittal— April 29, 2019 The power of React Native as a framework continues to increase over time. For those who are unfamiliar, React Native is a cross-platform framework developed by Facebook. It’s open source and lets you build mobile applications using JavaScript as its c...
https://amanhimself.dev/how-to-build-a-web-app-with-react-native/
CC-MAIN-2020-10
refinedweb
1,195
54.73
“The temptation to form premature theories upon insufficient data is the bane of our profession.” Sherlock Holmes in the Valley of fear by Arthur Conan Doyle “If we have data, let’s look at data. If all we have are opinions, let’s go with mine.” Jim Barksdale, former CEO Netscape In this post I use Apache NiFi Dataflow...
https://gigadom.in/tag/yorkpy/
CC-MAIN-2022-05
refinedweb
1,104
51.78
In this section we will discuss about the own implementation of Linked List in Java. Linked List is a part of Data Structure. In Linked List nodes are connected by a link this link is referred to as one node contains the reference of next node. In this tutorial we will learn this by a simple example. In this example we...
http://www.roseindia.net/java/example/java/core/java-linklist-example.shtml
CC-MAIN-2015-06
refinedweb
372
75.81
Difference between revisions of "Release notes/0.46" Latest revision as of 21:12, 2 May 2021 Inkscape). Style). As in all other tools, the style swatch on the far right of the Controls bar shows the style that will be used for the next fill object you create. Controls In the tool's Controls bar: - Paint Bucket's percep...
https://wiki.inkscape.org/wiki/index.php?title=Release_notes/0.46&diff=cur&oldid=15583
CC-MAIN-2021-39
refinedweb
6,845
57.91
Async generators and context managers for Python 3.5+ Project description The async_generator library Python 3.6 added async generators. (What’s an async generator? Check out my 5-minute lightning talk demo from PyCon 2016.) Python 3.7 adds some more tools to make them usable, like contextlib.asynccontextmanager. This ...
https://pypi.org/project/async_generator/
CC-MAIN-2022-40
refinedweb
378
59.9
Monte Carlo & Python Oooooootay!!!!! Now, we’re going to use Python to simulate the Monte Carlo concept. Now, what in God’s name is Monte Carlo? It’s a concept that builds upon the predictive analytics we’ve been doing. Okay, to explain a Monte Carlo the best way is to go back to linear regressions. In linear regressio...
https://damonemoore.wordpress.com/
CC-MAIN-2018-05
refinedweb
720
84.27
Hello all! I'm working on setting up a program to go about some files in a directory, do with them what I need, then delete. So, I started with the unfamiliar part for me, as the rest I am sure will be easy as pie. I tried to just write a small program that would delete all the files for me in a given, static folder. H...
https://www.daniweb.com/programming/software-development/threads/271978/assistance-with-getting-some-files-deleted
CC-MAIN-2017-34
refinedweb
254
84.37
GIS Library - Write Cell Header functions. More... #include <stdio.h> #include <grass/gis.h> Go to the source code of this file. GIS Library - Write Cell Header functions. (C) 2001-2008 by the GRASS Development Team This program is free software under the GNU General Public License (>=v2). Read the file COPYING that co...
http://grass.osgeo.org/programming6/wr__cellhd_8c.html
crawl-003
refinedweb
107
56.21
Opened 9 years ago Closed 9 years ago Last modified 9 years ago #9786 closed (fixed) Files (and subclasses) override __eq__ but not __ne__ Description We were trying to compare two model objects using the following function: def allModelFieldsEqual(a, b): fields = [f.name for f in a._meta.fields] for name in fields: if...
https://code.djangoproject.com/ticket/9786
CC-MAIN-2018-17
refinedweb
160
57.67
Apr 02, 2009 05:49 AM|samw|LINK I have a .aspx page in /DynamicData/CustomPages called ArticleViewer.aspx Global.asax looks like this: routes.Add(new DynamicDataRoute("Articles / {slug}") { Action="ArticleViewer" }); routes.Add(new DynamicDataRoute("{table}/{action}.aspx") { Constraints = new RouteValueDictionary(new {...
http://forums.asp.net/t/1405350.aspx?Routing+question
CC-MAIN-2014-52
refinedweb
2,292
56.55
In part III of this series, I wrote about many issues with parallel streams. The main problem was that the most important feature advertised about Streams was automatic parallelization. And the fact is that, as spectacular as this feature may be, there are very little use cases for it in real business development. The ...
https://dzone.com/articles/whats-wrong-java-8-part-vii
CC-MAIN-2017-51
refinedweb
2,180
58.48
While. Syntax for while loop: while (condition) { statements; } Flow chart for while loop: Example 1: C# example for while loop C# Program to display multiplication table for given number. using System; namespace loop { class Program { static void Main(string[] args) { Console.Write("Enter a number: "); int a = (int)Co...
https://www.programtopia.net/csharp/docs/while-loop
CC-MAIN-2019-30
refinedweb
219
63.7
ContactAttribute Since: BlackBerry 10.0.0 #include <bb/pim/contacts/ContactAttribute> To link against this class, add the following line to your .pro file: LIBS += -lbbpim The ContactAttribute class represents a property of a Contact. A ContactAttribute is a single piece of information about a Contact, such as a phone ...
https://developer.blackberry.com/native/reference/cascades/bb__pim__contacts__contactattribute.html
CC-MAIN-2016-44
refinedweb
1,035
50.63
Hello, I really need some help on some Java programming homework that is due tonight. Here is the homework: Your. I think I understand how to do this all except for the numbers. All three numbers will be written on the same line separated by a space. So, I think that I should use blankLoc. I understand how to use this ...
http://www.javaprogrammingforums.com/%20whats-wrong-my-code/1062-basic-java-program-help-printingthethread.html
CC-MAIN-2017-30
refinedweb
197
68.47
You can click on the Google or Yahoo buttons to sign-in with these identity providers, or you just type your identity uri and click on the little login button. In the example code below, note that the last line could generate a W0201, but it shouldn't because W0201 is disabled. However, when is_message_enabled() is exe...
https://www.logilab.org/ticket/115247
CC-MAIN-2019-43
refinedweb
211
75.1
Hey, I'm having some problems with creating events in Kendo. When I create event it calls server but it does not fill in start and end dates in my event view model. public class EventVm : IGanttTask { public int Id { get; set; } public int? ParentId { get; set; } public int OrderId { get; set; } public decimal PercentC...
https://www.telerik.com/forums/create-event-does-not-get-start-and-end-dates
CC-MAIN-2021-21
refinedweb
165
71.24
First time here? Check out the FAQ! sorry it took so long to answer. opencv 2.4.1 i am using and the problem exists only with avi files with h264 encoding. When I change them to mpg things seem to work but the problem is that the videos increase 10 times their size. So any ideas? In my program the video properties give...
https://answers.opencv.org/users/158/ararr/?sort=recent
CC-MAIN-2020-29
refinedweb
925
71.24
Problem Statement In this problem a binary tree is given with its root. A node X in the tree is named good if in the path from root to X there are no nodes with a value greater than X. We have to return the number of good nodes in the given binary tree. Example 3 / \ 1 4 / / \ 3 1 5 4 Explanation: Nodes in blue are goo...
https://www.tutorialcup.com/leetcode-solutions/count-good-nodes-in-binary-tree-leetcode-solution.htm
CC-MAIN-2021-25
refinedweb
678
70.84
Using visualization packages¶ AEN supports multiple visualization packages for Python and R language. For Python, the default environment has Matplotlib and Bokeh installed. For R language, the default environment has r-ggplot2 and r-bokeh installed. Matplotlib¶ Matplotlib is a Python 2D and 3D plotting and visualizati...
https://docs.continuum.io/ae-notebooks/user-guide/adv-tasks/use-visualization-pkgs/
CC-MAIN-2019-35
refinedweb
307
52.6
This is the sixth post in my series of blog posts about Python decorators and how I believe they are generally poorly implemented. It follows on from the previous post titled 'Decorators which accept arguments', with the very first post in the series being 'How you implemented your Python decorator is wrong'. In the pr...
http://blog.dscpl.com.au/2014/01/maintaining-decorator-state-using-class.html?showComment=1389571263592
CC-MAIN-2016-18
refinedweb
2,255
61.77
17 Data on websites has become a very rich source of information for many organizations, and the way to get that data is to ‘Scrape’ it. Web-scraping is an easy skill to get started with and a valuable tool in every developer’s toolbox. In this guide, you will learn how to scrape your first website with Python. Opening...
https://www.pluralsight.com/guides/guide-scraping-your-first-webpage-python
CC-MAIN-2020-29
refinedweb
960
59.94
I had an interesting issue at work the other day. While the details are unit-test specific, I learned a useful general idea that’s worth sharing. We run all of our various Maya tools through a single build system which runs unit tests and compiles code for our different targets (currently Maya 2011 and 2015). Ordinaril...
https://theodox.github.io/2014/dog_ate_my_homework
CC-MAIN-2017-26
refinedweb
1,696
55.37
Docbench -- Benchmark with Doctest Docbench is a framework based on doctest to benchmark Python code. If you already are familiar with doctest, you should be able to use docbench in minutes. And if you find that doctest is convenient – or Pythonic – hopefully you will feel the same about docbench ! We will walk you thr...
https://pypi.org/project/docbench/
CC-MAIN-2017-47
refinedweb
482
80.41
Migrating from ASP.NET to ASP.NET Core ASP.NET to ASP.NET Core — Motivation If you are still developing or maintaining a .NET Framework based solution (which probably should be considered legacy at this point, especially for ASP.NET), then by now you must have considered migrating it to .NET Core. Before we jump into n...
https://iteo.medium.com/migrating-from-asp-net-to-asp-net-core-610bbab60361
CC-MAIN-2022-21
refinedweb
3,603
57.67
On Tue, 17 Jun 2008 12:03:42 -0400 Chong Yidong <address@hidden> wrote: > Taylor Venable <address@hidden> writes: > > > I built Emacs from CVS this morning, and there's no font > > anti-aliasing being done. > > I can't reproduce this using latest CVS. What font are you using? >From my .emacs file: (set-face-attribute '...
http://lists.gnu.org/archive/html/emacs-devel/2008-06/msg01186.html
CC-MAIN-2015-32
refinedweb
220
73.58
Natural Language Toolkit (NLTK) Sample and Tutorial: Part 1 Natural Language Toolkit (NLTK) Sample and Tutorial: Part 1 Join the DZone community and get the full member experience.Join For Free What is NLTK? Natural Language Toolkit (NLTK) is a leading platform for building Python programs to work with human language d...
https://dzone.com/articles/natural-language-toolkit-nltk
CC-MAIN-2020-34
refinedweb
643
52.09
PyQt, JavaScript and WorkerScript I'm trying to work with WorkerScript that will call a class in Python, but the way I have it setup is giving me an error when I run it. Here is what I have so far: import sys from PyQt5.QtCore import * from PyQt5.QtGui import * from PyQt5.QtQml import * from PyQt5.QtWidgets import * fr...
https://forum.qt.io/topic/72437/pyqt-javascript-and-workerscript
CC-MAIN-2017-47
refinedweb
820
67.86
If you work in any kind of business that require you to verify a users identity, you might have noticed that most solutions can be quite pricey. In this blog post I'll go over the solution we came up with that makes this process completely free (depending on your configuration) and integrated in your own application. I...
https://practicaldev-herokuapp-com.global.ssl.fastly.net/hergend/processing-identity-documents-in-laravel-4g1p
CC-MAIN-2021-31
refinedweb
1,491
52.23
Intermediate ASP.NET - MVC, ViewModels, EF and WebAPI This is meant for people with basic understanding of the ASP.NET technology. It's a quick and dirty primer on some "intermediate" functionalities that should just get you going, it's not written in great detail, but rather just describes the basic usage. This should...
http://cdn.dreamincode.net/forums/topic/337130-intermediate-aspnet-mvc-viewmodels-ef-and-webapi/
CC-MAIN-2018-05
refinedweb
2,471
64.2
XStream serializes and restores very clean, readable XML from POJOs, like this: public class Publisher { private String publisherID; private String name; // getters and setters... } Becomes: <Publisher> <publisherID>lorenz</publisherID> <name>Lorenz Corporation</name> </Publisher> <Publisher> <publisherID>lorenz</publi...
http://weblogs.java.net/blog/scottschram/archive/2005/09/the_xstream_lib.html
crawl-002
refinedweb
752
62.98
Preventing Injection in JPA Query language - sample app and project SQL: String expected = "SELECT e FROM Customer e WHERE e.name = :name"; You could chain methods, which looks like this: EntityQuery query = new EntityQuery.SELECT().ENTITY().FROM(Customer.class).WHERE().attribute("name").build(); A static inner class w...
https://adambien.blog/roller/abien/entry/preventing_injection_in_jpa_query
CC-MAIN-2021-31
refinedweb
381
58.48
Traditionally, Tcl code has been distributed in source form. This had the advantage of being simple to use and allowing users to customize the code, but it had some disadvantages: you can't keep proprietary information secret and it may be harder to support users if they modify the code. Tcl Dev Kit Compiler eliminates...
http://docs.activestate.com/tdk/5.3/Compiler.html
CC-MAIN-2017-39
refinedweb
2,836
63.59
Contents matplotlib has an extensive codebase that can be daunting to many new users. However, most of matplotlib can be understood with a fairly simple conceptual framework and knowledge of a few important points. Plotting requires action on a range of levels, from the most general (e.g., ‘contour this 2-D array’) to ...
https://matplotlib.org/1.4.0/faq/usage_faq.html
CC-MAIN-2022-21
refinedweb
1,281
65.73
Save Plot as Image with Matplotlib Matplotlib is one of the most widely used data visualization libraries in Python. Matplotlib plots and visualizations are commonly shared with others, be it through papers or online. In this article, we'll take a look at how to save a plot/graph as an image file using Matplotlib. Let'...
https://www.codevelop.art/save-plot-as-image-with-matplotlib.html
CC-MAIN-2022-40
refinedweb
897
68.57
ImportError even module is in the same folder Hi, I am new with Pycom and Python in general. I am working on a new project and since then, keep struggling with the same issue. I cannot import modules I need. For example, if I need the onewire module and its OneWire class, I get this error "ImportError: no module named ...
https://forum.pycom.io/topic/3922/importerror-even-module-is-in-the-same-folder
CC-MAIN-2019-30
refinedweb
251
73.98
Managing the DataScroller's Page in a Master/Detail scenario A typical master/detail scenario: A table displays a Collection of objects. You want be able to click on an 'edit' link or button and be brought to the detail screen for editing the record. See ExecutingMethodsFromLinkButtonParameters for this part of the fun...
https://wiki.apache.org/myfaces/ManagingDataScrollerPage?highlight=%28%28ExecutingMethodsFromLinkButtonParameters%29%29
CC-MAIN-2017-09
refinedweb
750
51.99