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
Following is a quick and dirty C++ XML XPath expression parser. I started the day checking the web looking for a quick and easy XPath parser for C++. Now, before I begin, I just want to say that I found plenty of XML libraries out there but nothing that quite suited my needs. What got me started on this XPath adventure...
http://www.codeproject.com/Articles/18693/Quick-Dirty-XML-XPath-Parser?msg=2815167
CC-MAIN-2015-40
refinedweb
712
58.38
On Fri, 2007-10-12 at 17:50 +0200, Jan Blunck wrote:> In case of somebody opens a file with dentry_open(dentry, NULL, ...) we don't> want to stumble on the NULL pointer mnt in struct file. ...> +++ b/fs/namespace.c> @@ -253,6 +253,9 @@ void mnt_drop_write(struct vfsmount *mnt> int must_check_underflow = 0;> struct mnt_...
http://lkml.org/lkml/2007/10/12/279
CC-MAIN-2015-22
refinedweb
153
65.01
weda82 weda82 @mikael Thanks for your reply. You are right. I was missing the brackets at "nowPlayingItem". I already had them for title, but you need both. weda82 Thank you for your ideas and I am sorry for my late reply. I tried the previous suggestion and I think the query is not working properly. If I iterate the q...
https://forum.omz-software.com/user/weda82
CC-MAIN-2020-29
refinedweb
183
51.34
Initially only a few TBs of space is needed for a storage solution (<10TBs). My initial plan is to have a NAS with other servers mounting the data stored on the NAS device, pushing and pulling data from it. Because this will be a small deployment the cost of a SAN can't be justified, and growth expectancy is unknown as...
http://serverfault.com/questions/357401/how-to-get-san-like-flexibility-from-a-nas
CC-MAIN-2015-18
refinedweb
629
67.28
Using the @stencil decorator¶ Stencils are a common computational pattern in which array elements are updated according to some fixed pattern called the stencil kernel. Numba provides the @stencil decorator so that users may easily specify a stencil kernel and Numba then generates the looping code necessary to apply th...
https://numba.readthedocs.io/en/stable/user/stencil.html
CC-MAIN-2020-40
refinedweb
1,510
50.26
Abstract This PEP introduces a new built-in function, enumerate() to simplify a commonly used looping idiom. It provides all iterable collections with the same advantage that iteritems() affords to dictionaries -- a compact, readable, reliable index notation. Rationale Python 2.2 introduced the concept of an iterable i...
http://www.python.org/dev/peps/pep-0279/
crawl-002
refinedweb
1,150
54.52
Firebase is a mobile and web application development platform, and Firebase Storage provides secure file uploads and downloads for Firebase apps. In this post, you'll build an Android application with the ability to upload images to Firebase Storage. Firebase Setup If you don't have a Firebase account yet, you can crea...
https://code.tutsplus.com/tutorials/image-upload-to-firebase-in-android-application--cms-29934
CC-MAIN-2018-17
refinedweb
1,604
51.04
2086Re: window Expand Messages - Mar 30, 2011What has worked well for me is to create a namespace based on one's domain name, or a domain name that one owns. This is discussed in some detail by David Flanagan in his book, JavaScript: The Definitive Guide (O'Reilly), Paragraph 10.1. See Example 10.1, Creating a namespac...
https://groups.yahoo.com/neo/groups/jslint_com/conversations/messages/2086
CC-MAIN-2015-32
refinedweb
186
68.47
Simple Example to Illustrate Chain Of Responsibility Design Pattern GoF Design pattern book states the intent of Chain of Responsibility pattern as: that the origin of the request need not worry who and how its request is being handled as long as it gets the expected outcome. By decoupling the origin of the request and...
http://java.dzone.com/articles/simple-example-illustrate
CC-MAIN-2014-10
refinedweb
1,093
52.7
Here we show a simple example of how to use k-means clustering. We will look at crime statistics from different states in the USA to show which are the most and least dangerous. We get our data from here. (This tutorial is part of our Apache Spark Guide. Use the right-hand menu to navigate.) The data looks like this. T...
https://www.bmc.com/blogs/k-means-clustering-apache-spark/
CC-MAIN-2022-05
refinedweb
817
68.87
22. UV Sensor(EF05021) 22.1. Introduction It is able to measure the total UV intensity of the sunlight. 22.2. Characteristic Designed in RJ11 connections, easy to plug. 22.3. Specification 22.4. Outlook 22.5. Quick to Start 22.5.1. Materials Required and Diagram Connect the UV sensor to J1 port and the OLED to the IIC ...
https://www.elecfreaks.com/learn-en/microbitplanetX/Plant_X_EF05021.html
CC-MAIN-2022-27
refinedweb
218
70.7
Building the Right Environment to Support AI, Machine Learning and Deep Learning Watch→ You also can re-open an existing class definition and inject your own methods in, or override ones that are already there. For example, I could redefine the .to_s method of the Fixnum class, which is the class that all integers take...
http://www.devx.com/RubySpecialReport/Article/34470/0/page/4
CC-MAIN-2020-16
refinedweb
299
67.49
help code required page Will you plz help me out by providing me with the code Editor help required. - Java Server Faces Questions Editor help required. I am having problem with editor used to design JSP page in JSF applications. I want to open JSP page with Web Page Editor... are they? Please Help me.... Thanks In adv...
http://www.roseindia.net/tutorialhelp/comment/20369
CC-MAIN-2013-20
refinedweb
2,535
74.49
(For more resources on Oracle, see here.) APEX introduced AJAX supports in version 2.0 (the product was called HTML DB back then). The support includes a dedicated AJAX framework that allows us to use AJAX in our APEX applications, and it covers both the client and the server sides. AJAX support on the client side The ...
https://www.packtpub.com/books/content/ajax-implementation-apex
CC-MAIN-2016-07
refinedweb
6,912
61.16
0,4 b(n) = A002620(n+2) = number of multigraphs with loops on 2 nodes with n edges [so g.f. for b(n) is 1/((1-x)^2*(1-x^2))]. Also number of 2-covers of an n-set; also number of 2 X n binary matrices with no zero columns up to row and column permutation. - Vladeta Jovovic, Jun 08 2000 a(n) is also the maximal number of...
https://oeis.org/A002620
CC-MAIN-2018-17
refinedweb
5,209
73.17
On 7/12/2012 7:20 AM, Tim Watts wrote: > No offense, but this really isn't a list for teaching Java. > But what the hell, I'll make one "exception": > > public class DAOException extends Exception { > public DAOException(String msg) { > super(); > } > > public DAOException(String msg) { > super(msg); > } > > public DAO...
http://mail-archives.apache.org/mod_mbox/tomcat-users/201207.mbox/%3C4FFE4573.1080707@poonam.org%3E
CC-MAIN-2015-27
refinedweb
177
56.55
Abstract data types in C What's an abstract data type? You're well acquainted with data types by now, like integers, arrays, and so on. To access the data, you've used operations defined in the programming language for the data type, for instance by accessing array elements by using the square bracket notation, or by a...
http://inst.eecs.berkeley.edu/~selfpace/studyguide/9C.sg/Output/ADTs.in.C.html
CC-MAIN-2016-22
refinedweb
849
62.17
This project was showcased at Intel IoT Hackthon 2015, Pune INDIA. So whats the Idea and reason behind Project : Project aims to provide medical assistance to rural population with the help of electronic hardware and cloud platform so that doctors can remotely examine the patients and study the reports.Problem: Still t...
https://www.instructables.com/id/Cloud-Health-Monitoring-Intel-IoT/
CC-MAIN-2019-47
refinedweb
1,202
59.19
VCL Controls: The Database Radio Group Control Introduction When creating a database object such as a table, you may provide a column that allows a user to set a single value from a small list of values. For example, you can create a column that would be used to specify the gender of an applicant. Instead of letting th...
http://www.functionx.com/bcb/controls/dbradiogroup.htm
CC-MAIN-2016-07
refinedweb
677
50.36
pyaudio (Part 1) 00:00 Congrats! You’ve made it to the last library we’ll cover for playing audio. In this video, you’ll learn how to use pyaudio, which also provides bindings for PortAudio. PortAudio keeps it cross-platform, so it will work on many different operating systems. pyaudio is a bit different from what we’v...
https://realpython.com/lessons/pyaudio-part-1/
CC-MAIN-2022-05
refinedweb
1,034
81.53
The idea is to encode a unit-length quaternion in a manner analogous to cube mapping, but with one extra dimension and taking advantage of the property that a sign flip doesn't change which rotation is being represented. One can think of cube mapping as consisting of an encoding of points in a sphere by first indicatin...
http://www.gamedev.net/topic/627484-packing-a-3d-rotation-into-32-bits/
CC-MAIN-2015-14
refinedweb
655
50.43
Followup question to Big XML File: First thanks a lot for yours answers. After… what I do wrong? This is my class which uses SAX: public class SAXParserXML extends DefaultHandler { public ... I'm getting the error in the title occasionally from a process the parses lots of XML files. The files themselves seem OK, and r...
http://www.java2s.com/Questions_And_Answers/Java-File/XML-file/sax.htm
CC-MAIN-2013-48
refinedweb
487
68.57
In my previous post, I described how I used React and the Amplify CLI to implement an initial front-end for the Bearcam Companion. This time I will write about - UI improvements (especially the bounding boxes) - Adding authentication, sign-up and sign-in - Implementing a method for users to identify bears UI Improvemen...
https://practicaldev-herokuapp-com.global.ssl.fastly.net/aws-builders/bearcam-companion-ui-improvements-authentication-and-identifications-3h4i
CC-MAIN-2022-33
refinedweb
1,239
55.84
go: tell me about slow channels Go channels are a powerful construct for passing information between different go routines, each with distinct responsibilities. Writing to an unbuffered channel is a blocking operation which does not complete until a reader is available at the other end. The blocked write is not guarant...
http://aronatkins.github.io/2015/11/15/go-tell-me-about-slow-channels.html
CC-MAIN-2017-13
refinedweb
327
67.15
Most software developers share the same pattern in their professional career of having to deal with projects of similar nature, while few developers manage to jump from one project to a completely different one. Personally for me, I found one particular area that has always been taking great deal of my time from one pr...
https://www.codeproject.com/Articles/28231/Professional-System-Library-Introduction?msg=3580132
CC-MAIN-2017-09
refinedweb
2,606
50.97
DLL Hijacking: The Code DLL Hijacking: The Code Continuing a look at DLL hijacking, we'll turn to the code, with a simple example written with GCC on Kali Linux. Join the DZone community and get the full member experience.Join For Free Learn more about how to Prevent Slow or Broken APIs From Affecting Your Bottom Line....
https://dzone.com/articles/dll-hijacking-the-code
CC-MAIN-2018-17
refinedweb
1,037
68.36
lp:~larsu/indicator-sound/add-title - Get this branch: - bzr branch lp:~larsu/indicator-sound/add-title Branch merges - Ted Gould (community): Approve on 2013-09-12 - PS Jenkins bot (community): Approve (continuous-integration) on 2013-09-12 - Diff: 11 lines (+1/-0)1 file modifiedsrc/service.vala (+1/-0) Related bugs R...
https://code.launchpad.net/~larsu/indicator-sound/add-title
CC-MAIN-2021-04
refinedweb
419
61.12
Important: Please read the Qt Code of Conduct - directoryOf function QT4 -> QT5 I came across the following code snippet written with QT4: void HelpBrowser::showPage(const QString &page) { auto path = directoryOf("doc").absolutePath(); auto browser = new HelpBrowser(path, page); browser->resize(500, 400); browser->show...
https://forum.qt.io/topic/106882/directoryof-function-qt4-qt5
CC-MAIN-2020-50
refinedweb
291
58.79
In this short tutorial we’ll look at several ways we can use GIO to launch (or “open”) files. Note: This article is part of my ongoing GIO tutorial series, which currently consists of: (1) File and path operations; (2) File IO; and (3) Launching files (this document). Quick recap: GIO is GLib’s IO library. File and pat...
https://sjohannes.wordpress.com/2010/01/07/gio-tutorial-launching-files/
CC-MAIN-2018-43
refinedweb
455
58.79
Hello! This is my first post and I am a beginner in Java programming-so don't come down on me too hard :) I have a problem that I need to solve over the weekend and I was hoping some of you could help me out. The problem at hand is that I need to compute n! where n is an integer entered by the user. the catch is that I...
https://www.daniweb.com/programming/software-development/threads/227099/program-to-computer-n-using-an-array-to-store-the-answer
CC-MAIN-2018-30
refinedweb
304
71.95
There are exceptions to the types of SOAP web services Flash can consume. Flash only supports SOAP-based web services when they are transported over the HTTP protocol. Flash does not support SOAP web services over SMTP or FTP as of this release. Flash also does not support web services with non-SOAP ports, such as MIME...
http://www.adobe.com/devnet/flash/articles/flmxpro_webservices_03.html
crawl-002
refinedweb
856
52.6
It's important to know the life cycle of the request so you can understand what is going on under the hood in order to write better software. Whenever you have a better understanding of how your development tools work, you will feel more confident as you'll understand what exactly is going on. This documentation will t...
https://docs.masoniteproject.com/architectural-concepts/request-lifecycle
CC-MAIN-2020-34
refinedweb
1,173
67.89
Wicket 1.3.3 Support for NetBeans IDE 6.1 Today we uploaded the latest NBMs of our Wicket support into the Plugin Portal: There are several changes, some mentioned recently in this blog. Basically, the names of the generated templates are friendlier, the JARs are Wicket 1.3.3 instead of 1.3.0, some useless options have...
http://blogs.sun.com/geertjan/date/20080501
crawl-001
refinedweb
964
66.47
ARIN IPv6 Allocation Policy 121 possible writes: "ARIN has announced the last call for public comments on its proposed IPv6 address allocation policy. This last call for public comments will expire on 23:59 EDT August 03, 2001." FORTUNE'S FUN FACTS TO KNOW AND TELL: A black panther is really a leopard that has a solid ...
https://slashdot.org/story/01/07/28/2147259/arin-ipv6-allocation-policy
CC-MAIN-2017-39
refinedweb
7,081
71.95
Answers to Review Questions - Carmella Wood - 2 years ago - Views: Transcription 1 Answers to Review Questions 1. The real rate of interest is the rate that creates an equilibrium between the supply of savings and demand for investment funds. The nominal rate of interest is the actual rate of interest charged by the su...
http://docplayer.net/11251370-Answers-to-review-questions.html
CC-MAIN-2018-05
refinedweb
7,289
61.26
<<value-type>> A string convertible to std::string and with similar functionality More... #include <dds/core/String.hpp> <<value-type>> A string convertible to std::string and with similar functionality In many cases, for performance reasons and other implementation requirements, the RTI Connext API uses dds::core::str...
https://community.rti.com/static/documentation/connext-dds/5.2.0/doc/api/connext_dds/api_cpp2/classdds_1_1core_1_1basic__string.html
CC-MAIN-2022-33
refinedweb
156
54.49
Enumeration Enumeration is a way of defining your own type that can accept a predefined set of values identified by names. For example, you want a variable that can only store directions such as east, west, north, and south. You can define an enumeration named Direction and declare all the possible values it can have i...
https://compitionpoint.com/enumeration/
CC-MAIN-2021-31
refinedweb
839
63.59
I'm struggling on how to do this. For example. for i in range (1 ,100): if i % 3 == 2: print i, " mod ", 3, "= 2" i think i need to understand what this does more. Firstly what does % mean? if i is the square route of 3? i've attempted the question but i think i'm a while off because the example i worked to help me don...
https://www.daniweb.com/programming/software-development/threads/186130/changing-for-loops-to-while-loops-and-vice-versa
CC-MAIN-2018-51
refinedweb
134
87.15
W3C has morphed HTML into XHTML, but they still splash around in the same gene pool. XHTML 1.0, a reformulation of HTML, appeared in 2000 as a W3C recommendation (). The simple difference between HTML and XHTML is that the tags in an HTML document are based on an SGML DTD, but the tags in an XHTML document are based on...
https://www.oreilly.com/library/view/xml-hacks/0596007116/ch04s04.html
CC-MAIN-2019-18
refinedweb
425
65.42
Introducing Protocol-Oriented BDD in Swift for iOS Apps: Part 1 Introducing Protocol-Oriented BDD in Swift for iOS Apps: Part 1 In this step-by-step tutorial, see how to use Swift protocols, extensions, and enumerations with Behavior Driven Development, or BDD, in iOS mobile apps. Join the DZone community and get the f...
https://dzone.com/articles/introducing-protocol-oriented-bdd-in-swift-for-ios?fromrel=true
CC-MAIN-2020-24
refinedweb
1,559
56.96
Opened 8 years ago Closed 7 years ago #3171 closed merge (fixed) threadDelay causes Ctrl-C to be ignored when running interpreted code Description the following program: import Control.Concurrent import Control.Concurrent.MVar main = threadDelay 0 >> newEmptyMVar >>= takeMVar will not respond to Ctrl-C when run via run...
https://ghc.haskell.org/trac/ghc/ticket/3171
CC-MAIN-2016-44
refinedweb
205
64.1
Hello. I am working on this and it asks for me to print a series of names in ascending order then descending order. This is what the projects asks: Call both your project and class AscendDescend. The first column should be in ascending order and the second in descending order. The output should appear as below (Be sure...
http://www.javaprogrammingforums.com/%20whats-wrong-my-code/36022-two-one-printingthethread.html
CC-MAIN-2017-30
refinedweb
167
65.01
Agenda See also: IRC log RESOLUTION: minutes of 2006-11-27 accepted bob: a couple of new issues ... Jonathan noted capitalization problems ... David Illsley's comment on namespaces DavidI: not sure if my namespace comment needs a new issue RESOLUTION: close new issue on capitalization with Jonathan's proposal bob: Paul...
https://www.w3.org/2002/ws/addr/6/12/04-ws-addr-minutes.html
CC-MAIN-2016-22
refinedweb
2,577
63.29
Injecting Spring Beans with data from Config In one of the projects, we had to externalize the Config file to be in a properties file. All configurations related to the application were to be stored in that file. We had a few spring beans, like the JMS connection factory, which needs the brokerURL which should ideally ...
https://www.tothenew.com/blog/injecting-spring-beans-with-data-from-config/
CC-MAIN-2020-34
refinedweb
228
51.34
0 from PIL import Image, ImageDraw from random import randint picture = Image.new("RGB", (600, 600)) artist = ImageDraw.Draw(picture) for i in range(100): x1, y1 = randint(0, 600), randint(0, 600) x2, y2 = randint(0,600), randint(0,600) color = (randint(0, 255), randint(0, 255), randint(0, 255)) width = randint(2, 20) ...
https://www.daniweb.com/programming/software-development/threads/308081/problem-with-pil
CC-MAIN-2017-04
refinedweb
154
61.36
So, I am learning ruby outside of my job, which is not programming related. Eventually want to move into programming though for a job, because I do enjoy this stuff. However, I am currently a little confused on the current puzzle I’m working on and want to make sure I’m going down the right path. Basically, I will give...
https://www.ruby-forum.com/t/trying-to-learn-ruby-through-rspec-puzzles-help-with-this-one-class-related/238605
CC-MAIN-2021-25
refinedweb
275
73.68
Hello everybody, I have a script called "HouseProperties" and I want all the objects with this script to be in my dictionary of string and gameobjects Dictionary<string, gameObject> houseProp = new Dictionary<string, gameObject>(); Dictionary<string, gameObject> houseProp = new Dictionary<string, gameObject>(); Is it p...
https://answers.unity.com/questions/1535444/assigning-a-script-as-a-game-object-in-dictionary.html
CC-MAIN-2021-17
refinedweb
354
61.36
This article describes in detail the steps I took in setting up Elasticsearch as the search provider for Pony Foo. I start by explaining what Elasticsearch is, how you can set it up to make useful searches through the Node.js API client, and how to deploy the solution onto a Debian or Ubuntu environment. A while back I...
http://www.shellsec.com/news/23892.html
CC-MAIN-2017-13
refinedweb
3,579
52.7
Audio Volume CLI By brendan on Mar 05, 2007 If you have installed fvwm2 from the companion CD and would like to try it, the easiest way is to enter a fail safe session from the login screen, then run the binary - /opt/sfw/bin/fvwm2. The proper way is to create config files under /etc/dt/config, so that the login screen...
https://blogs.oracle.com/brendan/entry/audio_volume_cli
CC-MAIN-2015-48
refinedweb
522
69.92
Release and Upgrade Information for Caché 5.1 This chapter provides the following information for Caché 5.1: New and Enhanced Features for Caché 5.1 Welcome and thank you for using Caché! This chapter provides an overview of the new and improved features in Caché 5.1. See the Major New Features section for a descriptio...
https://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=GCRN_51
CC-MAIN-2021-10
refinedweb
27,087
54.32
Is jBPM-BPEL GA backward compatible to beta 3?Meghana Joglekar Jan 30, 2008 8:34 PM Hello, We have several processes running on jBPM BPEL Beta3. We have created a deployment system that deploys our BPEL processes to the server. Now if we upgrade to GA, will we have to change that system? or is it backward compatible? I...
https://developer.jboss.org/thread/116893
CC-MAIN-2018-39
refinedweb
1,591
60.21
klish 2.0.1 Features at a glance The software is highly configurable through XML files, and provides a long list of attractive features, including namespaces or logically nested views, support for optional arguments, support for subcommands, and support for switching subcommands. Among other features, we can mention CI...
http://linux.softpedia.com/get/Programming/Libraries/klish-60780.shtml
CC-MAIN-2014-52
refinedweb
341
52.09
Hello all. A friend is shipping some items in a container so it gave me the inspiration to write a quick little program. This only took 20minutes at best so please bear that in mind. The basic idea is if the containers size is known, and the cost is known then the program will work out the cost of an individual item pr...
https://www.daniweb.com/programming/software-development/threads/413410/basic-application-to-calculate-shipping-costs
CC-MAIN-2022-05
refinedweb
325
65.73
New to .NET? It's a big bugger, ain't it?! Have no fear, below you'll find a load of links to great information available here at SitePoint to get you started! Enjoy and hope to see you in the forums, D [b]<font size='3'>Books</font> [/b] [rule=100%]Orange[/rule] [b] Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3...
https://www.sitepoint.com/community/t/net-resources-2-0/3035
CC-MAIN-2016-36
refinedweb
3,643
60.72
Agenda See also: IRC log Agenda same as last week. . . Plus vote to publish interim CR draft:, dated 10 May RESOLUTION: Accept minutes of 7 March as published HT: Next meeting is 21 May HT: Regrets from HST for 21 May HT: Norm distributed a pointer to his latest draft:, dated 10 May HT: We are not in immediate reach of...
http://www.w3.org/XML/XProc/2009/05/14-minutes.html
CC-MAIN-2014-49
refinedweb
1,023
70.43
Filling in for Editor-in-Chief Howard Dierking, Ted Neward lends some insight into the state of data collection and manipulation. Ted Neward MSDN Magazine July 2008 See why you need to be a polyglot programmer and what mixing and matching languages can do for your projects. MSDN Magazine March 2009 Cobra, a descendant...
http://msdn.microsoft.com/en-us/magazine/cc164244.aspx
crawl-002
refinedweb
925
52.26
. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default2.aspx.cs And the code behind (doesnt have to be all of it, but at least the class and some of the code you changed): EX: public partial class Default2 : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { //CODE I CHANGED } } ALSO...
https://www.experts-exchange.com/questions/24413671/Basic-question-Changes-on-code-behind-aspx-cs-file-dosen't-effect.html
CC-MAIN-2018-09
refinedweb
466
76.42
Compositional, streaming I/O library for Scala Alarmfor every read/write? In any case, in the websocket stream case the exact timeout is not so important so you can merge with a 1 second interval stream and then count upwards, emitting a keepalive on 10, or resetting on a message Queueand Ref[F, Token] List[IO[PdfDocum...
https://gitter.im/functional-streams-for-scala/fs2?at=5bc1e36b384492366131b9de
CC-MAIN-2021-25
refinedweb
497
59.53
import Statement Enables access to a namespace contained either within the current script or in an external library.. The following example defines three simple packages and imports the namespaces into the script. Typically, each package would be in a separate assembly to allow maintenance and distribution of the packa...
https://msdn.microsoft.com/en-US/library/eydzeybh(v=vs.80).aspx
CC-MAIN-2017-26
refinedweb
216
51.34
Jinja built-in statements/tags and functions (like Django template tags) Jinja offers several built-in statements/tags that offer immediate access to elaborate operations on Jinja templates. I'll classify each of these built-in statements/tags and functions into sections so it's easier to identify them, note I'll add t...
https://www.webforefront.com/django/usebuiltinjinjastatements.html
CC-MAIN-2021-31
refinedweb
3,034
53.41
Hi, extend JFrame class. class MyFrame extends JFrame add your button objects to the container object(MyFrame) from within the constructor. //create the button object JButton button = new JButton("Button 1"); //add it to the container(unsure if i typed this correctly) getContentPane().add(button); I didn't run this cod...
http://forums.devx.com/showthread.php?139724-flicker-problem&goto=nextoldest
CC-MAIN-2016-50
refinedweb
731
68.4
Hi, I’m hoping to ask for some help please filtering the Coarse Universe of US stocks in QuantConnects 'research' section, and displaying the stock info (open, close, volume etc) in a dataframe. I’m new to Python (taking the EDX course), new to pandas/numpy (watching a lot of YouTube tutorials) and trading (listening t...
https://www.quantconnect.com/forum/discussion/4525/newbie-help-filtering-coarse-universe-in-research-notebook-amp-stock-info-in-dataframe/*
CC-MAIN-2020-40
refinedweb
953
53.92
get_mouse_mickeys man page get_mouse_mickeys — How far the mouse has moved since the last call to this function. Allegro game programming library. Synopsis #include <allegro.h> void get_mouse_mickeys(int *mickeyx, int *mickeyy); Description Measures how far the mouse has moved since the last call to this function. The ...
https://www.mankier.com/3/get_mouse_mickeys
CC-MAIN-2018-05
refinedweb
149
62.07
Android Graphics Example. Let’s take a quick tour of the DrawDemo screenshot. The blue circle in the upper left corner was drawn without anti-aliasing, notice the jagged circumference. The blue circle on the right was drawn with anti-aliasing turned on, thus the smooth circumference. “Style.STROKE” was drawn with Paint...
https://bestsiteinthemultiverse.com/2008/11/android-graphics-example/
CC-MAIN-2022-27
refinedweb
868
54.59
Created on 2012-03-15.15:18:59 by danilo2, last changed 2012-03-15.16:04:36 by fwierzbicki. Hi! weakrefs in juthon 2.5.2 does not work as they should. concider this code from jython manual: import weakref class Object: pass o = Object() r = weakref.ref(o) o2 = r() o is o2 del o, o2 print '!' print r() as a reusult we c...
http://bugs.jython.org/issue1851
CC-MAIN-2014-35
refinedweb
189
75
Michael Speer wrote: > I wrote the following patch to the 7.2 branch of coreutils to allow > `sort` to sort by human readable byte sizes. I looked around a bit to > see what the status of previous attempts to integrate this > functionality were, but didn't see any very recent activity. This is > my first interaction wi...
http://lists.gnu.org/archive/html/bug-coreutils/2009-04/msg00249.html
CC-MAIN-2015-22
refinedweb
1,117
54.52
There are plenty of books about software engineering, but only a few of them rank among my favorites. I read all of those that do over and over again, and I might just update this post in the future when I stumble upon something else that's decent. Note that I tried to put the most important books at the top of the lis...
http://www.yegor256.com/2015/04/22/favorite-software-books.html
CC-MAIN-2017-26
refinedweb
1,038
65.93
namekuseijin <namekuseijin.nospam at gmail.com> writes: > C); No, it only constructs one list (the zip() one) and only in Python 2.x - in Python 3.x, zip return a special 'zip object'. There is no list comprehension. It's a generator expression [1]. To avoid the list created by zip in python 2.x (for x large enough!), ...
https://mail.python.org/pipermail/python-list/2009-April/534823.html
CC-MAIN-2017-04
refinedweb
200
77.64
In my previous post I illustrated the Levenshtein edit distance by comparing the opening paragraphs of Finnegans Wake by James Joyce and a parody by Adam Roberts. In this post I’ll show how to align two sequences using the sequence alignment algorithms of Needleman-Wunsch and Hirschberg. These algorithms can be used to...
http://www.statsblogs.com/2018/11/24/sequence-alignment/
CC-MAIN-2019-22
refinedweb
439
57.1
It even goes a step further and offers numerous animations and reminder options, adding to this free app’s appeal. CDEX GRATIS DOWNLOAD allows you to control more of the icons at the top of your computer’s menu bar, including system icons that are typically off limits, making it a very useful app for those with limited...
http://baseofdownloads.com/
CC-MAIN-2016-30
refinedweb
3,117
57.91
Disclaimer:: - REPL (read-eval-print-loop) abilities which allow for a very fast feedback loop while experimenting - Terseness – the lack of type names everywhere makes code shorter - Code evaluated at execution time (so config files can be scripts etc): - Duck typing - Dynamic reaction to previously undeclared message...
https://codeblog.jonskeet.uk/2009/11/17/where-do-you-benefit-from-dynamic-typing/
CC-MAIN-2020-05
refinedweb
2,556
57.3
Find the first match from a list of words in a string excel find text in range and return cell reference how to get the first word of a string in python excel find first occurrence of a value in a column python regex index match if cell contains text python first word of each line python extract first word from a strin...
https://thetopsites.net/article/58809588.shtml
CC-MAIN-2021-25
refinedweb
931
78.18
symlink, symlinkat - make a symbolic link relative to directory file descriptor #include <unistd.h> int symlink(const char *path1, const char *path2); int symlinkat(const char *path1, int f. The symbolic link's user ID shall be set to the process' effective user ID. The symbolic link's group ID shall be set to the grou...
https://pubs.opengroup.org/onlinepubs/9699919799.2008edition/functions/symlinkat.html
CC-MAIN-2021-39
refinedweb
535
53.21
please some body give me the full C code of water jug problem jony_munsi -1 Newbie Poster nitin1 commented: >.< +0 Gonbe commented: Delete your account, sell your computer. -1 Recommended Answers #include <stdio.h> int main() { printf("Fill the three up, and pour it into the five. Fill the three up aain, and pour it in...
https://www.daniweb.com/programming/software-development/threads/459560/water-jug-problem
CC-MAIN-2021-31
refinedweb
109
64.71
Regular Expressions for Objects For action phrases and noun phrases, which are defined as follows, using regex-like notation: human_action = ("he"|"she"|"i"|"they"|"we") ([VERB] [ADP])+ noun_phrase = [DET]? ([ADJ] [NOUN])+ Translated to English this means that human actions are defined as 1st and 3rd person, singular a...
https://rolisz.ro/2018/06/08/regular-expressions-for-objects/
CC-MAIN-2019-13
refinedweb
402
57.06
/* * Copyright (c) written prior permission. This software * is provided ``as is'' without express or implied warranty. * * RCS: @(#) $Id: tmpnam.c,v 1.2 2001/09/14 01:42:00 zlaski Exp $ */ #include <sys/param.h> #include <sys/stat.h> #include <sys/file.h> #include <stdio.h> /* * Use /tmp instead of /usr/tmp, because L...
http://opensource.apple.com/source/gcc_os/gcc_os-1256/tcl/compat/tmpnam.c
CC-MAIN-2016-30
refinedweb
103
63.36
IRC log of tagmem on 2011-02-08 Timestamps are in UTC. 14:04:25 [RRSAgent] RRSAgent has joined #tagmem 14:04:25 [RRSAgent] logging to 14:04:41 [jar] scribe: Jonathan Rees 14:04:46 [jar] scribenick: jar 14:04:52 [jar] chair: Noah Mendelsohn 14:06:11 [jar] agenda: 14:06:43 [jar] zakim, this is tag 14:06:43 [Zakim] ok, ja...
http://www.w3.org/2011/02/08-tagmem-irc
CC-MAIN-2013-48
refinedweb
11,117
70.84
Seymour wrote: > I just made some typos and was wondering if there was an easier > way to clear the Python namespace at the interactive prompt rather than > shutting Komodo down and restarting (really brute force). most IDE's have a "reset interactive mode" command (it's ctrl-F6 in IDLE, for example). another approach ...
http://mail.python.org/pipermail/python-list/2006-November/414963.html
CC-MAIN-2013-20
refinedweb
146
68.1
In recent years, Visual Basic has won great acclaim for granting programmers the tools for creating highly detailed user interfaces via an intuitive form designer, along with an easy to learn programming language that together produced probably the best environment for rapid application development out there. One of th...
http://www.codeproject.com/Articles/1465/Beginning-C-Chapter-13-Using-Windows-Form-Controls?msg=4031178
CC-MAIN-2014-42
refinedweb
20,707
63.19
For questions, use instead! This chat is for informal discussions and debugging sessions with developers of the HoloViz.org tools (HoloViews, Datashader, Panel, hvPlot, GeoViews, Param, etc.), but user questions should go to the HoloViz Discourse site so that others won't have to ask them again. pn.Tabelements. By usin...
https://gitter.im/pyviz/pyviz?at=5ee5af4c035dfa12611cb299
CC-MAIN-2021-17
refinedweb
333
61.12
Comments serve as a sort of in-code documentation. When inserted into a program, they are effectively ignored by the compiler; they are solely intended to be used as notes by the humans that read source code. All comments are removed from the program at translation phase 3 by replacing each comment with a single whites...
https://docs.w3cub.com/c/comment/
CC-MAIN-2020-40
refinedweb
400
62.68
fontcharset.serif.0=koi8.converter.CharToByteKOI8_R fontcharset.sansserif.0=koi8.converter.CharToByteKOI8_R fontcharset.monospaced.0=koi8.converter.CharToByteKOI8_R fontcharset.dialog.0=koi8.converter.CharToByteKOI8_R fontcharset.dialoginput.0=sun.io.CharToByteKOI8_Rwhich tell JVM how to convert. This is supposed to be...
http://www.ibiblio.org/sergei/Software/java.html
crawl-002
refinedweb
160
51.55
Puppy gets a Pet action and no attack but cats and butterflies are still Attack Katie Russell 2013-06-03 Kimmo Rundelin 2013-09-13 The puppy (ab)uses the custom menu system to override the default menu items for RPEntities. The other PassiveNPCs can use the same trick if there are nice alternate actions for them. Here'...
http://sourceforge.net/p/arianne/bugs/5706/
CC-MAIN-2014-23
refinedweb
335
57.47
Plotting Data From Arduino 59,359 63 14 Arduino doesn't have much in terms of debug and analysis capability built in, so it can be very useful to have a facility to plot data that's sent from Arduino over the Serial Port. There are several ways to do that including Processing, Python + Matplotlib etc.. but none of thes...
https://www.instructables.com/id/Plotting-Data-From-Arduino/
CC-MAIN-2018-51
refinedweb
1,389
63.29
I have got a car.csv, which has lines like this: vhigh,vhigh,2,2,small,low,unacc [vhigh,vhigh,2,2,small,low,unacc]. import csv a = [] with open("car.csv", 'r') as f: reader = csv.reader(f) for line in f: a.append([line]); ['vhigh,vhigh,2,2,small,med,unacc\n']. When you create the reader, iterate over that instead of ov...
https://codedump.io/share/w34sCvDeXLLP/1/read-csv-file-into-list-of-lists-without-string-convertion-in-python
CC-MAIN-2017-30
refinedweb
108
63.15
Failure test based on whether the norm of a vector has a finite value. More... #include <NOX_StatusTest_FiniteValue.H> Failure test based on whether the norm of a vector has a finite value..::Complete, NOX::StatusTest::Failed,. The finite number test algorithm. Autoconf will test to see if the compiler implements the i...
http://trilinos.sandia.gov/packages/docs/dev/packages/nox/doc/html/classNOX_1_1StatusTest_1_1FiniteValue.html
CC-MAIN-2014-15
refinedweb
152
58.58
ui.load_view() fails with 'UI could not be loaded' (Custom Action Advanced) Hi all, just started on my Jekyll's post settings editor and I'm kinda lost now, because it fails to load my view and don't know what else to try. Here's the link to the unlisted (for now) workflow. What's hapenning ... 1st scenario - start Edi...
https://forum.omz-software.com/topic/1729/ui-load_view-fails-with-ui-could-not-be-loaded-custom-action-advanced
CC-MAIN-2018-05
refinedweb
433
65.62
DENAIR, Calif. --. Any society that would give up a little liberty to gain a little security will deserve neither and lose both.” B. Franklin What in the heck? Isn't this the US of America where flying the flag is a show of patriotism? All these overboard politically correct Boobs need to be holstered. At least if they...
https://hubpages.com/politics/forum/59213/school-forces-boy-to-take-flag-off-bike
CC-MAIN-2018-30
refinedweb
2,788
73.98
Creating and Publishing an Android Library Introduction Our lives as Android developers would be a lot harder if not for all those third-party libraries out there that we love to include in our projects. In this tutorial, you will learn how to give back to the developer community by creating and publishing your own And...
http://designncode.in/creating-and-publishing-an-android-library/
CC-MAIN-2017-43
refinedweb
2,110
55.24
Auto fill/correct blowing up editor/app This was an old problem, that sort of went away. I am working on a huge file (pythonista 3, non-beta) and am seeing it again. I will type mainView['tableview_prog_display'] as I type a period after the closing brace to type in a method, pythonista crashes. This is a valid ui.Tabl...
https://forum.omz-software.com/topic/3692/auto-fill-correct-blowing-up-editor-app
CC-MAIN-2017-26
refinedweb
241
61.43
Feedback Getting Started Discussions Site operation discussions Recent Posts (new topic) Departments Courses Research Papers Design Docs Quotations Genealogical Diagrams Archives I am presenting a paper at PADL 2011, in which I discuss the fundamental limitations of current Haskell parser combinator libraries like Pars...
http://lambda-the-ultimate.org/node/4160
CC-MAIN-2018-43
refinedweb
1,857
50.77
A. Simple Example A stable sort can be best illustrated with an example. Consider the following simple Person class with Name and Age fields. The class also implements the IComparable interface that has the CompareTo method, which in this example sorts the Person objects by Age: class Person : IComparable { public Pers...
https://www.csharp411.com/c-stable-sort/
CC-MAIN-2021-39
refinedweb
1,113
57.06
Sortix issues 2018-03-10T12:42:22Z SIGINFO (^T) 2018-03-10T12:42:22Z Jonas Termansen SIGINFO (^T) BSD has SIGINFO that can be sent with `^T`. Programs like dd, and other long running programs handle it and write out progress statistics. I think this is fairly useful and Sortix should implement it, though Linux doesn't....
https://gitlab.com/sortix/sortix/issues.atom?scope=all&state=opened
CC-MAIN-2018-13
refinedweb
1,699
51.48
I'm trying to parse an XML to create Json but I couldn't find any json package I tried running import json json.dumps(['foo', {'bar': ('baz', None, 1.0, 2)}]) print json.dumps("\"foo\bar") under modeler script window but it throws an error Error: AEQMJ0132E: Script cannot load module json on line 447 column 1 Appreciat...
https://developer.ibm.com/answers/questions/264893/is-there-any-support-available-to-create-json-in-m.html
CC-MAIN-2019-43
refinedweb
410
70.94
I? I did anything wrong here? I am pretty sure that my thinger.io setting is correct, as I am able to run the same code on my linkitone and work perfectly. thankyou all here. Ivan code: #include <BridgeSSLClient.h> #include <ThingerYun.h> #define USERNAME "myusername" #define DEVICE_ID "mydeviceid" #define DEVICE_CREDE...
https://forum.seeedstudio.com/viewtopic.php?p=25872
CC-MAIN-2018-39
refinedweb
146
53.47
Editor's note: This article is the fifth in a series of articles on composite applications to be published on developerWorks Lotus over the next few months. See the previous developerWorks articles, "Designing composite applications: Unit testing," "Designing composite applications: Design patterns," "Designing composi...
http://www.ibm.com/developerworks/lotus/library/notes8-eclipse-comp/index.html
crawl-002
refinedweb
3,657
53
First off, please don't hate on me I know I'm a total noob! I keep getting an error when I try to compile this and I can't seem to find out why. I'm reviewing the book I purchased to help me, but I still can't find out whats going wrong. I know its something small and dumb.. Can ANYONE help If you could please point ou...
http://cboard.cprogramming.com/cplusplus-programming/129991-new-cplusplus-writing-first-script-need-help-finding-bug.html
CC-MAIN-2014-23
refinedweb
201
84.78
public class ZoomEvent extends GestureEvent The event is delivered to the top-most node picked on the gesture coordinates in time of the gesture start - the whole gesture is delivered to the same node even if the coordinates change during the gesture. The event provides two values: zoomFactor is the zooming amount of t...
http://docs.oracle.com/javafx/2/api/javafx/scene/input/ZoomEvent.html
CC-MAIN-2016-40
refinedweb
239
52.09
Core Text Tutorial for iOS: Making a Magazine App Update note: This tutorial has been updated to Swift 4 and Xcode 9 by Lyndsey Scott. The original tutorial was written by Marin Todorov. Core Text is a low-level text engine that when used alongside the Core Graphics/Quartz framework, gives you fine-grained control over...
https://www.raywenderlich.com/153591/core-text-tutorial-ios-making-magazine-app
CC-MAIN-2018-13
refinedweb
4,604
58.99
Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo You can subscribe to this list here. Showing 1 results of 1 Michael Kay wrote: > When elements from a source document are copied to a result document, all > their in-scope namespaces are copied too. This is because it...
http://sourceforge.net/p/saxon/mailman/saxon-help/?viewmonth=200405&viewday=8
CC-MAIN-2015-18
refinedweb
129
83.56