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
Hi Robert, Robert Millan wrote: > When it comes to __attibute__((__unused__)), it's just a matter of > agreeing on whether to call it __attribute_unused__ or __unused. I don't agree. It's perfectly fine for there to be multiple names for the thing --- the task at hand is dividing up the __* namespace between libbsd and...
http://lists.debian.org/debian-kernel/2011/06/msg00468.html
CC-MAIN-2013-48
refinedweb
380
71.65
Fibonacci Python Program Table of Contents Today in this tutorial, we will learn how to write the Fibonacci python program. In python programming, the Fibonacci series can be implemented in many ways like memorization or by using the lru_cache method. First of all, you should know about the Fibonacci series. In the Fib...
https://technoelearn.com/fibonacci-python-program/
CC-MAIN-2020-45
refinedweb
802
55.37
Basic Options SDKs are configurable using a variety of options. The options are largely standardized among SDKs, but there are some differences to better accommodate platform peculiarities. Options are set when the SDK is first initialized. Options are passed to sentry inside your environment: import * as Sentry from "...
https://docs.sentry.io/platforms/javascript/guides/ember/configuration/options/
CC-MAIN-2021-31
refinedweb
242
59.19
Details Description When adding an InputStream via addResource(InputStream) to a Configuration instance, if the stream is a HDFS stream the loadResource(..) method fails with IOException indicating that the stream has already been closed. Activity - All - Work Log - History - Activity - Transitions Integrated in Hadoop...
https://issues.apache.org/jira/browse/HADOOP-4760
CC-MAIN-2017-51
refinedweb
669
73.88
Mur. thanks, alek > > Thanks, > > > > -------- Original Message -------- > Subject: XNode 1.1 API submission > Date: Tue, 19 Aug 2003 20:33:01 +0100 > From: Murray Altheim <m.altheim@open.ac.uk> > Organization: Knowledge Media Institute > To: Brian Behlendorf <brian@collab.net> > References: <2EDE63C8-C2C5-11D7-86F7-00...
http://mail-archives.apache.org/mod_mbox/incubator-general/200309.mbox/%3C3F6A33F2.9080601@cs.indiana.edu%3E
CC-MAIN-2018-22
refinedweb
822
65.52
FinalState QML Type Provides a final state. More... Detailed Description A final state is used to communicate that (part of) a StateMachine has finished its work. When a final top-level state is entered, the state machine's finished() signal is emitted. In general, when a final substate (a child of a State) is entered,...
https://doc.qt.io/archives/qt-5.7/qml-qtqml-statemachine-finalstate.html
CC-MAIN-2019-26
refinedweb
136
53.98
I have a waveshield that I want to activate based on proximity from my parallax 28015 ping sensor. When I run the AF_wave sketch (easier than WaveHC for me to manipulate), the waveshield works fine playing all the files in a loop. When I run the PING))) sketch ( ... oundSensor), I get a nice stream of numbers. However,...
https://forums.adafruit.com/viewtopic.php?f=31&t=14745&p=180778
CC-MAIN-2017-22
refinedweb
354
66.94
Print formatted output to a new string #include <qdb/qdb.h> char *qdb_mprintf( const char* format, ... ); qdb This function is a variant of sprintf() from the standard C library. The resulting string is written into memory obtained from malloc(), so there's no possibility of buffer overflow. The function implements som...
http://www.qnx.com/developers/docs/6.6.0.update/com.qnx.doc.qdb_en.dev_guide/topic/api/qdb_mprintf.html
CC-MAIN-2018-09
refinedweb
265
60.45
May 04, 2010 11:20 PM|franzo|LINK .Net 4.0 is encoding values when using Attributes.Add. In previous versions it didn't. With the new behaviour it is no longer possible to write attributes containing single quotes. Here's an example. <asp:TextBox txtTest.Attributes.Add("onkeyup", "keyuphandler('hello')"); With the appl...
http://forums.asp.net/p/1554455/3818604.aspx
CC-MAIN-2015-11
refinedweb
1,631
58.28
Python Programming/Decorators< Python Programming Duplicated code is recognized as bad practice in software for lots of reasons, not least of which is that it requires more work to maintain. If you have the same algorithm operating twice on different pieces of data you can put the algorithm in a function and pass in th...
https://en.m.wikibooks.org/wiki/Python_Programming/Decorators
CC-MAIN-2016-44
refinedweb
566
61.16
On Thu, 9 Aug 2018 12:07:00 -0400 Carlos Neira <cneirabus...@gmail.com> wrote: > Jesper, > Here is the updated patch. > > From 92633f6819423093932e8d04aa3dc99a5913f6fd Mon Sep 17 00:00:00 2001 > From: Carlos Neira <cneirabus...@gmail.com> > Date: Thu, 9 Aug 2018 09:55:32 -0400 > Subject: [PATCH bpf-next] BPF: helpers: ...
https://www.mail-archive.com/netdev@vger.kernel.org/msg245941.html
CC-MAIN-2018-47
refinedweb
146
71.34
XR constantly losing app connection? Just got my Xr back from FM to fix the Bluetooth issue. Tested it for few minutes; looks like it works fine now. I just got mine back. The signal strength seems to have a marginally improved. It held connection for about a minute into the ride then dropped. Still not usable. - Termi...
https://community.onewheel.com/topic/7966/xr-constantly-losing-app-connection/271
CC-MAIN-2019-39
refinedweb
1,075
84.78
Guide to Programming with Python. Chapter Nine Inheritance Working with multiple objects. OOP So Far. Object-oriented programming is a programming language model organized around "objects ” An object is a software bundle of related attributes and behavior Nine Inheritance Working with multiple objects class Player(obj...
https://www.slideserve.com/giacomo-rollins/guide-to-programming-with-python
CC-MAIN-2018-09
refinedweb
594
51.44
sec_rgy_attr_lookup_no_expand-Reads a specified object's attribute(s), without expanding attribute sets into individual member attributes #include <dce/sec_rgy_attr.h> void sec_rgy_attr_lookup_no_expand( sec_rgy_handle_t context, sec_rgy_domain_t name_domain, sec_rgy_name_t name, sec_attr_cursor_t *cursor, unsigned32 n...
http://pubs.opengroup.org/onlinepubs/9696989899/sec_rgy_attr_lookup_no_expand.htm
CC-MAIN-2014-42
refinedweb
466
56.05
Started a new gaming project and I'm faced with a small problem which I can't think of a clever function. The issue is the health bar of characters, they're always green in color (i know sikuli probably doesn't see colors). When the character looses health the green color depletes from the health bar Now these health b...
https://answers.launchpad.net/sikuli/+question/684034
CC-MAIN-2020-05
refinedweb
591
83.05
throw (C# Reference). A throw statement can be used in a catch block to re-throw the exception that the catch block caught. In this case, the throw statement does not take an exception operand. For more information and examples, see try-catch (C# Reference) and How to: Explicitly Throw Exceptions. This example demonstr...
https://msdn.microsoft.com/en-US/library/1ah5wsex(v=vs.120).aspx
CC-MAIN-2015-35
refinedweb
133
51.44
You .... Got it! Darn single quotes..... $env:Path += ";c:Program Fileslcpython15"; $env:PATHEXT += ";.py"; $arg1 = "Test3" $arg2 = "Testing" $arg3 = 'c:ProgramDataset_cust_attr.py' python $arg3 $arg1 $arg2 Use subprocess module: import subprocess args = [subject, body] subprocess.call(['python','SendMail.py'] + args) ...
http://www.w3hello.com/questions/use-bash-script-to-pass-arguments-to-a-python-script
CC-MAIN-2018-17
refinedweb
1,095
65.22
Tcl_DetachPids, Tcl_ReapDetachedProcs, Tcl_WaitPid - manage child pro- cesses in background #include <tcl.h> Tcl_DetachPids(numPids, pidPtr) Tcl_ReapDetachedProcs() Tcl_Pid Tcl_WaitPid(pid, statPtr, options) int numPids (in) Number of process ids contained in the array pointed to by pidPtr. int *pidPtr (in) Address of ...
http://www.syzdek.net/~syzdek/docs/man/.shtml/man3/Tcl_DetachPids.3.html
crawl-003
refinedweb
168
66.33
Polling from a ui.View (built in timers in ui.Views) @omz, some feedback on the updatefeature, all of it positive: - Very stable and consistent. Stops when the view is closed, no threading hassles. - Very intuitive to use. Changing the update_intervalto 0.0 stops updates, and positive numbers start them again. With my ...
https://forum.omz-software.com/topic/4109/polling-from-a-ui-view-built-in-timers-in-ui-views/?page=2
CC-MAIN-2021-10
refinedweb
626
72.53
SOLVED Handling selection in a Custom Tool Is there a standard way to handle the selection/unselection of points in a custom tool? I mean something like the EditingToolbehaves. When I subclass my custom tool from the EditingTool, the selection behaviour is there, but I don't want the editing/moving of points in my tool...
https://forum.robofont.com/topic/247/handling-selection-in-a-custom-tool/1
CC-MAIN-2021-49
refinedweb
149
66.13
Back to: Java Tutorials For Beginners and Professionals Thread Life Cycle in Java with Examples In this article, I am going to discuss Thread Life Cycle in Java with examples. Please read our previous article where we discussed Thread Class in Java. The thread can exist in different states. Just because of a thread’s s...
https://dotnettutorials.net/lesson/thread-life-cycle-in-java/
CC-MAIN-2021-31
refinedweb
985
65.32
XForms is intended to be used embedded within other markup. The most widely used, and the focus of this article, is within XHTML. There is a need to write your XHTML documents following some guidelines to ensure a smooth experience of a variety of browsers like Microsoft's® Internet Explorer, Mozilla's Firefox, X-Smile...
http://www.ibm.com/developerworks/library/x-xformsxbrowser.html
crawl-002
refinedweb
1,534
55.03
) 1.how/ISO C++ The American National Standards Institution (ANSI) and the International Standards Organisation (ISO) provide “official” and generally accepted standard definitions of many programming languages, including C and C++. Such standards are important. A program written only in ANSI/ISO C++ is guaranteed to r...
https://tfetimes.com/an-introduction-to-the-imperative-part-of-c/
CC-MAIN-2017-04
refinedweb
1,736
61.06
. In SBCL, as in CMU CL (or, for that matter, any compiler which really understands Common Lisp types) a suitable default does exist, in all cases, because the compiler understands the concept of functions which never return (i.e. has return type NIL, e.g. ERROR). Thus, as a portable workaround, you can use a call to s...
http://sourceforge.net/p/sbcl/sbcl/ci/sbcl_0_6_13/tree/BUGS
CC-MAIN-2015-35
refinedweb
3,470
53.51
I have this python script to check services like MySQL and Apache and if some of them are down then it starts again: import subprocess import smtplib _process = ['mysql', 'apache2'] for _proc in _process: p = subprocess.Popen(["service", _proc, "status"], stdout=subprocess.PIPE) output, err = p.communicate() print "***...
https://codedump.io/share/Jg9xoJDi7Omh/1/what-is-wrong-with-my-python-script-and-cron-job
CC-MAIN-2017-09
refinedweb
261
64.27
. Grace is derived from Xmgr (a.k.a. ACE/gr), originally written by Paul Turner. From version number 4.00, the development was taken over by a team of volunteers under the coordination of Evgeny Stambulchik. You can get the newest information about Grace and download the latest version at the Grace home page. When its ...
http://www.mcs.anl.gov/~jacob/gracedoc/UsersGuide.html
CC-MAIN-2016-22
refinedweb
11,023
62.68
The problem I have is theres suppose to be a certain amount of Os in front of the number when the final output is made. Here's what the output is suppose to look like: Please enter a positive number (no more than 10 digits): 12345 The number you entered has 5 digits. Big Number: 0000012345 here's my code: #include <ios...
https://www.dreamincode.net/forums/topic/111611-counting-integers-in-an-array/
CC-MAIN-2018-47
refinedweb
244
63.43
Now that the Wagtail CMS is gearing up for its 1.0 release, I wanted to take some time to introduce you to the all around best and most flexible Django CMS currently available. Wagtail has been around for a while, but doesn’t seem to get the attention I believe it deserves. We’ve used Wagtail recently on a number of pr...
https://www.revsys.com/tidbits/wagtail-best-django-cms/
CC-MAIN-2020-10
refinedweb
2,570
61.56
Using Auditing¶ Substance D keeps an audit log of all meaningful operations performed against content if you have an audit database configured. At the time of this writing, "meaningful" is defined as: - When an ACL is changed. - When a resource is added or removed. - When a resource is modified. The audit log is of a f...
http://substanced.readthedocs.io/en/latest/audit.html
CC-MAIN-2017-30
refinedweb
863
58.58
Exec command stays waiting for output and error streams to be closed even when executed command already finished. This bug prevents Ant from execution of processes, that are not closing out and err stream correctly on Windows. Small example is java class only executing its argument: public static void main (String args...
https://bz.apache.org/bugzilla/show_bug.cgi?id=5003
CC-MAIN-2021-25
refinedweb
2,572
57.98
Creating and Publishing a Flutter Package In this tutorial, you’ll learn how to create and publish your own Dart packages to be used in Flutter apps. Version - Dart 2.10, Flutter, Android Studio 4.1 Every three minutes, a new Flutter package pops up on pub.dev (according to the same source that revealed 73.6% of all st...
https://www.raywenderlich.com/19421827-creating-and-publishing-a-flutter-package
CC-MAIN-2021-17
refinedweb
3,935
66.23
Important: Please read the Qt Code of Conduct - QWidget objects with Qt::Window flag set do not pass on ignored events Using Qt 5.6.0 on Windows 10. After a fair amount of trouble and debugging, I discovered that if a QWidget is a window (has Qt::Window set), then it will not put ignored events back into the event loop...
https://forum.qt.io/topic/71813/qwidget-objects-with-qt-window-flag-set-do-not-pass-on-ignored-events/9
CC-MAIN-2021-21
refinedweb
1,535
57.77
- Java program to print all Armstrong numbers between 0 to N. In this Java program, given a number N we have to print all armstrong numbers between 0 and N. Here is a brief introduction of armstrong number. Here is the list of first few armstrong numbers 0, 1, 2, 3, 153, 370, 407 ... An Armstrong number is a number who...
https://www.techcrashcourse.com/2017/03/java-program-print-armstrong-numbers-between-1-to-N.html
CC-MAIN-2020-16
refinedweb
444
60.04
I'd like to propose lockless get_user_pages for merge in -mm. Since last posted, this includes Linus's scheme for loading the pte on 32-bit PAE (with comment), and an access_ok() check. I'd like if somebody can verify both these additions (and the patch in general). It wouldn't be hard to have a big security hole here ...
http://article.gmane.org/gmane.linux.kernel.cross-arch/930
crawl-002
refinedweb
2,272
62.58
. . In order to test Flask installation, type the following code in the editor as Hello.py from flask import Flask app = Flask(__name__) @app.route('/') def hello_world(): return 'Hello World’ if __name__ == '__main__': app.run() Importing flask module in the project is mandatory. An object of Flask class is our WSGI a...
http://www.tutorialspoint.com/flask/flask_quick_guide.htm
CC-MAIN-2021-49
refinedweb
3,941
59.8
Fredrik Lundh <effbot at telia.com> wrote: > Randall Hopper <aa8vb at yahoo.com> wrote: > > Reading BASIC and Pascal code for several years taught me (among other > > things) that case insensitivity isn't the better way. > > > > whY do WE Have RULES fOR capiTALIZation IN lANGUAGES? Because it makes > > them easier to r...
https://mail.python.org/pipermail/python-list/2000-May/023957.html
CC-MAIN-2019-35
refinedweb
157
60.75
Bummer! This is just a preview. You need to be signed in with a Basic account to view the entire video. View Tests6:26 with Kenneth Love We get to our model data through our views so they're equally important to test. Bonus, we can test our URLs at the same time. django.core.urlresolvers.reverse() takes a URL name and ...
https://teamtreehouse.com/library/django-basics/test-time/view-tests
CC-MAIN-2018-26
refinedweb
1,382
92.73
Hi, I am developing a phone application with the new Flex 4.5 SDK for mobile (Android) applications. I have a mapping component to the app, and i have been easily able to get the 'Geolocation' classes from the Flash.Sensors namespace. Also included is the accelerometer. This is all great, that we can take advantage of ...
https://forums.adobe.com/thread/859301
CC-MAIN-2018-30
refinedweb
192
80.82
Python parentheses primer If you have children, then you probably remember them learning to walk, and then to read. If you’re like me, you were probably amazed by how long it took to do things that we don’t even think about. Things that we take for granted in our day-to-day lives, and which seem so obvious to us, take ...
https://lerner.co.il/2018/06/08/python-parentheses-primer/?share=google-plus-1
CC-MAIN-2019-30
refinedweb
4,252
70.23
Introduction : Yellow warning box in react native is helpful if you want to know about any type of warnings. Especially, if you are using any third party library and if that library is using any deprecated API, it will show that over your phone screen. But it can be annoying at the same time if you already aware of tha...
https://www.codevscolor.com/react-native-remove-yellow-warning-box
CC-MAIN-2020-40
refinedweb
180
63.8
The QWSWindow class provides server-specific functionality in Qt/Embedded. More... #include <qwindowsystem_qws.h> List of all member functions.. Constructs a new top-level window, associated with the client client and giving it the id i. Returns the region that the window is allowed to draw onto, including any window d...
https://doc.qt.io/archives/3.3/qwswindow.html
CC-MAIN-2019-26
refinedweb
168
61.93
One of the problems most .NET developers would have come across is representing enum in human readable format. The problem is that, although you can get the string value by using .ToString(), it's hardly ever human friendly. One normally have to follow strict naming policies (for example Not_Connected), and run the enu...
http://www.codeproject.com/Articles/42375/Extending-Enum-for-Extra-Meta-Data
CC-MAIN-2014-52
refinedweb
1,086
55.44
In this lesson we will be writing a component to manage user input. We will work with Unity’s Input Manager so that your game should work across a variety of input devices (keyboard, controller, etc). The component we write will be reusable so that any script requiring input can receive and act on these events. Custom ...
http://theliquidfire.com/2015/05/24/user-input-controller/
CC-MAIN-2020-24
refinedweb
5,016
71.44
The final query expression we will be decomposing today is this: xpath(xml(variables('count')), '/*[local-name()="lists"]/*[local-name()="list"]/*[local-name()="name" and text()="*Billable"]/..') This is the XPath function (...). We assume there is a count string typed variable containing the XML payload to query into....
https://techcommunity.microsoft.com/t5/integrations-on-azure-blog/xpath-to-select-array-of-nodes-satisfying-a-child-property-with/ba-p/1475132
CC-MAIN-2021-49
refinedweb
276
58.89
Ruby Array#sort_by Let’s say we have the following list of very interesting items. items = [ { name: "dogfood", price: 4.99 }, { name: "catfood", price: 5.99 }, { name: "batfood", price: 4.99 } ] Our client wants the list sorted by price descending, and we should break ties in price by then sorting by item name descend...
https://til.hashrocket.com/posts/mr8cml6htw-ruby-arraysortby
CC-MAIN-2020-05
refinedweb
190
86.91
I have created a horizontal bar chart of student exam score by taking in input from a file that contains the count of students in the file, and a student's last name followed by their score in each subsequent line. I am using the graphics module created by John Zelle primarily for beginners to try out a simple graphics...
http://www.python-forum.org/viewtopic.php?p=15904
CC-MAIN-2015-35
refinedweb
482
63.9
I'm new to this site and was looking for help. I'm trying to design a program that will take an input of numbers from a user, store it into an array, and format them correctly into three columns. However, I can't seem to figure out why my inputs aren't formatting correctly. #include <stdio.h> int main() { int x=0; floa...
https://codedump.io/share/GiHltpLwSCCf/1/output-from-arrays-in-c-won39t-format
CC-MAIN-2017-13
refinedweb
323
82.95
Wow,. Glad to see the blog revived – I’ve been lurking here hoping for that for a looong time! Does all this mean that the event-based async pattern will get deprecated, and the Begin/End IAsyncResult pattern make a comeback? The event-based one is very hard to compose and generally a PITA to work with. I recall comple...
https://blogs.msdn.microsoft.com/wesdyer/2009/11/18/a-brief-introduction-to-the-reactive-extensions-for-net-rx/
CC-MAIN-2017-43
refinedweb
1,499
66.84
"A Conceptual Introduction to Hamiltonian Monte Carlo" arXiv:1701.02434 (). In this case study I will demonstrate the recommended Stan workflow in Python where we not only fit a model but also scrutinize these diagnostics and ensure an accurate fit. import pystan import matplotlib import matplotlib.pyplot as plot Unfo...
https://mc-stan.org/users/documentation/case-studies/pystan_workflow.html
CC-MAIN-2019-13
refinedweb
1,756
56.66
Move Type to Another Namespace refactoring This refactoring helps you move one or more non-nested types to a new or an existing namespace. Namespace declarations are replaced right in the original files and all usages are updated accordingly. If you need to move a nested type, you can first apply the Move Type to Outer...
https://www.jetbrains.com/help/resharper/2016.2/Refactorings__Move__Type_to_Another_Namespace.html
CC-MAIN-2018-26
refinedweb
223
72.76
As you may know, we recently brought Rolf Rolles on board the team here at Exodus. We all met at our Austin office and Rolf spent a week working alongside us. Our interview process doesn’t consist of contrived questions intended to observe the interviewee’s capacity for mental acrobatics. Traditionally, when we bring s...
https://blog.exodusintel.com/2012/09/
CC-MAIN-2021-10
refinedweb
1,263
64.44
I'm trying to expand my knowledge and skill of Python by moving from small scripts and web development to desktop applications, and am looking at Deluge's code for examples of how to structure a project. I am especially interested in how Deluge has separated the torrenting functionality from the user interface. Designi...
https://forum.deluge-torrent.org/viewtopic.php?f=8&t=54145&p=224771
CC-MAIN-2019-22
refinedweb
373
57.47
Doing more with less in JUnit 4 Doing more with less in JUnit 4 Join the DZone community and get the full member experience.Join For Free JUnit is a popular testing framework for writing unit tests in Java projects. Every software engineer should always try to consider using less code to achieve objectives and the same...
https://dzone.com/articles/doing-more-less-junit-4?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%253A+javalobby%252Ffrontpage+%2528Javalobby+%252F+Java+Zone%2529&utm_content=Google+Reader
CC-MAIN-2020-10
refinedweb
367
51.44
IRC log of xmlsec on 2008-10-20 Timestamps are in UTC. 06:43:25 [RRSAgent] RRSAgent has joined #xmlsec 06:43:25 [RRSAgent] logging to 06:43:27 [trackbot] RRSAgent, make logs member 06:43:27 [Zakim] Zakim has joined #xmlsec 06:43:27 [klanz2] klanz2 has joined #xmlsec 06:43:29 [trackbot] Zakim, this will be XMLSEC 06:43:...
http://www.w3.org/2008/10/20-xmlsec-irc
CC-MAIN-2014-52
refinedweb
9,055
59.98
C++ Programming What is a palindrome numbers? Palindrome numbers are those numbers which remain same after reverse. Think about the number 1221. If we reverse the number then the value will be same as 1221. This type of numbers are called palindrome numbers. Some palindrome numbers are 11, 55, 121, 363, 25652 etc. In t...
https://worldtechjournal.com/cpp-programming/print-palindrome-numbers-in-cpp/
CC-MAIN-2022-40
refinedweb
228
73.27
Oct 14, 2020 11:50 AM|Idi_idi|LINK I have a VS 2017 Web Application project. When the project is copied to my local C drive and I debug it using IIS Express, it runs fine and everything is all well. When I publish the site, it also works fine. However when I copy the project to a shared drive on the network, it fails t...
https://forums.asp.net/t/2171484.aspx?Web+Application+not+working+when+copied+to+another+drive
CC-MAIN-2021-17
refinedweb
1,116
70.02
In the previous lesson on Composition, we noted that object composition is the process of creating complex objects from simpler one., teacher is created independently of dept, and then passed into dept’s constructor. When dept is destroyed, the m_teacher pointer is destroyed, but the teacher itself is not deleted, so i...
http://www.learncpp.com/cpp-tutorial/103-aggregation/
CC-MAIN-2018-05
refinedweb
1,524
64.2
AD7705/AD7706 Library Revisited About a year ago, I wrote a simple library for interfacing AD7705/AD7706 with Arduino. The library works, but it requires some decent knowledge of the underlying chip, which had made it somewhat difficult to use. Most issues users reported can be resolved by adjusting the timing in user ...
http://www.kerrywong.com/2012/04/18/ad7705ad7706-library-revisited/comment-page-1/
CC-MAIN-2018-34
refinedweb
5,743
72.87
Contents - Introduction - Background - Converting the existing project - Extending the project - Using the code - Points of Interest - History Introduction One of my most epic moments at CodeProject was the release of the article about Mario5. In the article I describe the making of a game based on web technologies suc...
https://florian-rappl.de/Articles/Page/270/mario5-typescript
CC-MAIN-2020-29
refinedweb
6,206
58.38
10 November 2010 10:15 [Source: ICIS news] SHANGHAI (ICIS)--?xml:namespace> “Our group cut base oils output by 10% in November as we allocated more feedstock to boost diesel production,” a source at petrochemical giant Sinopec said in Mandarin. Diesel consumption in Sinopec subsidiary Jingmen Petrochemical, which has a...
http://www.icis.com/Articles/2010/11/10/9408821/china-refiners-cut-base-oils-output-to-boost-diesel-production.html
CC-MAIN-2015-22
refinedweb
176
56.18
I have to develop new arduino projects each week for my young pupil, who is passionate about electronics and hardware. For that, I found our last project creative and interesting, and I bet some of you can use it as a geek experiment. What we need here is graphite based pencils (or directly graphite, works better), ard...
https://practicaldev-herokuapp-com.global.ssl.fastly.net/terceranexus6/creating-an-interactive-drawing-with-arduino-2jnp
CC-MAIN-2020-40
refinedweb
367
56.05
NOTE. When I first posted about Django, I said that I'd post the details of how I wrote a blog in Django, without actually writing any real Python code. This will show you how you too can have a simple blog working in no time at all. I'll assume for this article that you've got Django installed and working, and you kno...
http://www.rossp.org/blog/2006/jan/23/building-blog-django-1/
CC-MAIN-2014-10
refinedweb
747
57.87
read ASCII or binary stereo lithography files More... #include <vtkSTLReader.h> read ASCII or binary stereo lithography files vtkSTLReader is a source object that reads ASCII or binary stereo lithography files (.stl files). The FileName must be specified to vtkSTLReader. The object automatically detects whether the fil...
https://vtk.org/doc/nightly/html/classvtkSTLReader.html
CC-MAIN-2021-17
refinedweb
285
62.24
jGuru Forums Posted By: ravi_raj Posted On: Monday, March 11, 2002 12:30 AM I have defined an hierarchy of packages and organized the source files in appropriate subdirectories. root package : FlexIMA It has subdirectories : ByteCodeExtractor Precompiler AgentCreation I have placed a package statement for *.java files ...
http://www.jguru.com/forums/view.jsp?EID=790468
CC-MAIN-2015-22
refinedweb
158
50.43
best of both worlds Document options requiring JavaScript are not displayed Help us improve this content Level: Intermediate Michael Roberts (michael@vivtek.com), Owner, Vivtek 01 Aug 2001 Extending Python in C is easy once you see how it all works, and an extension of Python is equally easy to package up for Zope. Th...
http://www-106.ibm.com/developerworks/library/l-pyzo.html
crawl-001
refinedweb
3,114
72.46
for those of you not familiar with the rules they can be found here: i am sort of new to java and i am trying to write the game of life, i have got the board made and how to randomly assign each cell a true or false (living or dead) variable, but for each cell i now need to write a way to count its neighbors so the rul...
https://www.daniweb.com/programming/software-development/threads/192843/conway-s-game-of-life-help
CC-MAIN-2018-47
refinedweb
299
67.12
Continuous Integration - Testing One of the key features of Continuous Integration is to ensure that the on-going testing holds all the code which gets built by the CI server. After a build is carried out by the CI Server, it has to be ensured that the test cases are in place to get the required code tested. Every CI s...
http://www.mumbai-academics.com/2018/07/continuous-integration-testing.html
CC-MAIN-2019-26
refinedweb
1,019
75.91
Cookies are strings of text that the server can store on the client side. These cookies can then be sent back by the client to the server each time the client accesses that server again. Cookies are commonly used for session tracking, authentication, site preferences and maintaining specific information about users. Fo...
http://silverlight.net/blogs/msnow/archive/2008/07/15/tip-of-the-day-18-how-to-set-browser-cookies.aspx
crawl-002
refinedweb
844
65.32
After. On the server, there are three steps which you can meddle with using OpenSSH: authentication, the shell session, and the command. The shell is pretty easily manipulated. For example, if you set the user’s login shell to /usr/bin/nethack, then nethack will run when they log in. Editing this is pretty straightforw...
https://drewdevault.com/2019/09/02/Interactive-SSH-programs.html
CC-MAIN-2019-39
refinedweb
1,209
58.99
Monitor the NTP daemon and determine its performance ntpq [-46dinp] [-c command] [host] [...] Neutrino The ntpq utility monitors the ntpd daemon operations and determines its performance. It uses the standard NTP mode 6 control message formats defined in Appendix B of the NTPv3 specification RFC 1305. The same formats ...
https://www.qnx.com/developers/docs/6.4.1/neutrino/utilities/n/ntpq.html
CC-MAIN-2018-47
refinedweb
907
50.26
On Wed, Mar 12, 2008 at 07:09:56AM +1100, nscott@xxxxxxxxxx wrote: > I don't have any immediate plans. I can imagine it could be used to > stitch parts of the namespace together in a filesystem that supports > multiple devices (in a chunkfs kinda way) ... or maybe more simply > just an in-filesystem auto-mounter. *shru...
http://oss.sgi.com/archives/xfs/2008-03/msg00913.html
CC-MAIN-2014-49
refinedweb
148
68.2
Archive for July, 2011: Which led to absolutely nothing happening when run like this!! Performance. Un: I can never quite tell which column I need to get so end up doing some exploration with awk like this to find out: Once we’ve worked out the column then we can add them together like this: I think that’s much better ...
http://www.markhneedham.com/blog/2011/07/
CC-MAIN-2015-14
refinedweb
917
53.78
IFMEDIA(4) BSD Programmer's Manual IFMEDIA(4) ifmedia - network interface media settings #include <sys/socket.h> #include <net/if.h> #include <net/if_media.h> The ifmedia interface provides a consistent method for querying and set- ting network interface media and media options. The media is typically set using the ifc...
https://www.mirbsd.org/htman/sparc/man4/ifmedia.htm
CC-MAIN-2016-30
refinedweb
595
61.12
Paperback, First printing, 107 pages By Robert Eckstein Published by O'Reilly & Associates, Inc. ISBN: I-56592-709-5 Review written: October 18, 2000 By Donald W. Larson Web Site: Book reviews: XML is becoming in lingua franca for exchanging information between computer systems. Many Java technologies implement XML as ...
http://www.oreillynet.com/cs/catalog/view/cs_msg/35919
crawl-002
refinedweb
156
58.18
13 - Networking and Communications This week's assignemnt is a very importnat assignment for my final project, so I decided to try to create the system that the final project will use. We need to create 2 boards and make them communicate between them. After doing some research and some tests, I decided to design a litt...
http://fab.academany.org/2019/labs/barcelona/students/josep-marti/Week13.html
CC-MAIN-2021-43
refinedweb
2,377
68.6
Steven Lehar 2010-07-19 Hi, I'm trying to add a wx.DirPickerControl from the Buttons controls, and as soon as I click the location on my panel, I get the error: Error on Accessing Getter for ToolTipString: 'NoneType' object has no attribute 'Get Tip' I'm using Python 2.5, wxPython 2.8.7.1, Boa Constructor 0.6.1 Werner ...
http://sourceforge.net/p/boa-constructor/discussion/5483/thread/f17272dd
CC-MAIN-2014-35
refinedweb
2,307
67.15
I need to “publish” pages to static files (in order to transfer to a server where Rails isn’t available, this is not for caching). When I do: require “open-uri” def publish File.open(publish_path, “w”) do |file| open(base_view_path) { |res| file.write(res.read) } end end where publish() is a method on a model running i...
https://www.ruby-forum.com/t/publish-to-static-pages/102312
CC-MAIN-2018-47
refinedweb
109
67.89
heterocephalus A type-safe template engine for working with popular front end development tools Heterocephalus template engine A type-safe template engine for working with popular front end development tools. Any PRs are welcome, even for documentation fixes. (The main author of this library is not an English native.) ...
https://www.stackage.org/package/heterocephalus
CC-MAIN-2017-51
refinedweb
941
65.12
0 im making a battleship game and so far i have this but im getting an error and i don't know what it means, this is the error error C2664: 'strcpy' : cannot convert parameter 1 from 'char' to 'char *' this is my code #include <iostream.h> #include <stdlib.h> #include <stdio.h> #include <string.h> struct coord { int x;...
https://www.daniweb.com/programming/software-development/threads/113991/error-i-don-t-understand
CC-MAIN-2018-43
refinedweb
309
69.04
Range-based for Statement (C++) Executes statement repeatedly and sequentially for each element in expression. Syntax for ( for-range-declaration : expression ) statement Remarks Use the range-based for statement to construct loops that must execute through a "range", which is defined as anything that you can iterate t...
https://docs.microsoft.com/en-us/cpp/cpp/range-based-for-statement-cpp?redirectedfrom=MSDN&view=vs-2019
CC-MAIN-2019-47
refinedweb
546
61.26
Today is the last day to fill out the survey for the Netbeans UML module. So, I thought I would share some early results of the survey. As of Sunday there have been 67 responses. if you have not already taken the survey, please take some time to give us your opinion. The current results are as followings: Stability: Ex...
http://blogs.sun.com/treyspiva/
crawl-002
refinedweb
4,325
63.8
There's another issue with these files:From drivers/scsi/qla2xxx/ql2100_fw.c in kernel 2.6:<-- snip -->/****************************************************************************** * QLOGIC LINUX SOFTWARE * * QLogic ISP2x00 device driver for Linux 2.6.x * Copyright (C) 2003-2004 QLogic Corporation * () * *. * *******...
http://lkml.org/lkml/2004/3/25/119
CC-MAIN-2017-13
refinedweb
143
73.88
On 13/08/10 09:39, Nick Coghlan wrote: On Thu, Aug 12, 2010 at 10:51 PM, Greg Ewing greg.ewing@canterbury.ac.nz wrote: There are plenty of uses for cofunctions that never send or receive any values using yield. I provided an example of doing exactly that during the yield-from debate. A full discussion can be found here...
https://mail.python.org/archives/list/python-ideas@python.org/message/GSCN42RQM573YDCEINGBVGESSC36XO64/
CC-MAIN-2021-49
refinedweb
121
53.41
How to deploy with WSGI¶ Dj webserver to use. Django includes getting-started documentation for the following WSGI servers: The application object¶ One key concept of deploying with WSGI is to specify a central application callable object which the webserver uses to communicate with your code. This is commonly specifie...
https://docs.djangoproject.com/en/1.4/howto/deployment/wsgi/
CC-MAIN-2015-40
refinedweb
199
50.53
The Ethereum Name Service (ENS) is so named not because it only supports Ethereum addresses (ENS can support any cryptocurrency address, as well as non-blockchain data like IPFS hashes and Tor .onion addresses), but because it runs on the Ethereum blockchain and uses ETH for payments. Other blockchain-based naming proj...
https://medium.com/the-ethereum-name-service/why-ens-uses-ethereum-and-eth-not-a-bespoke-blockchain-and-token-36f86727e71f?source=post_page-----36f86727e71f----------------------
CC-MAIN-2020-16
refinedweb
1,036
59.03
implementation of rand() I am writing some embedded code in C and need to use the rand() function. Unfortunately, rand() is not supported in the library for the controller. I need a simple implementation that is fast, but more importantly has little space overhead, that produces relatively high-quality random numbers. ...
http://thetopsites.net/article/52353083.shtml
CC-MAIN-2020-34
refinedweb
845
53.51
The core of the umtx code in the kernel is this: umtx_sleep: acquire and hold VM page tsleep loop using the page's physical address as the sleep address release page umtx_wakeup: acquire and hold the VM page lookup the physical address wakeup based on physical address. release page The page is not supposed to be reassi...
https://www.dragonflybsd.org/mailarchive/bugs/2008-04/msg00025.html
CC-MAIN-2017-39
refinedweb
335
73.78
Applies to: C166 C Compiler Information in this article applies to: What does the strtoul library routine do? The strtoul library routine converts the contents of a string to an unsigned long. Leading whitespace is ignored. A base may be specified. If the base specified is between 2 and 36, the conversion is performed ...
http://infocenter.arm.com/help/topic/com.arm.doc.faqs/ka9974.html
CC-MAIN-2018-47
refinedweb
193
72.76
On line 193 of "lib/xfile.c" there is a call to x_fflush which may start an infinite looping if something goes wrong during the flush and before f->bufused is updated. Quick fix: test the return value of x_fflush and act accordingly Better fix: replace the loop ; I've drafted some code that I can mail you if you're int...
https://bugzilla.samba.org/show_bug.cgi?id=5335
CC-MAIN-2022-21
refinedweb
546
56.69
What is dispatch? "dispatch" in the context of object-oriented languages means that calling one of subroutines that have the same names by checking the parameters dynamically. There are multiple and single for dispatch. I'll write about dispatch and its support in Java and other modern JVM languages in this post. Java ...
http://nagaimasato.blogspot.jp/2012/12/multiple-dispatch-in-modern-jvm.html
CC-MAIN-2018-22
refinedweb
911
57.27
Vadim Thanks for the sample code - both of these look quite a bit more complicated than the samples in the XSP Logicsheet, but I will work through them to try and understand both the grammar and logic. Please excuse my ignorance, but I am still unclear as to how these are actually *used*. Is there also a simple.xml fil...
http://mail-archives.us.apache.org/mod_mbox/cocoon-users/200202.mbox/%3Csc5cfde0.042@CS-IMO.CSIR.CO.ZA%3E
CC-MAIN-2019-26
refinedweb
429
62.78
Opened 20 months ago Closed 18 months ago #20895 closed enhancement (fixed) Computing ordinary models of plane curves Description Given a plane curve, it is possible to transform it into a plane curve with only ordinary singularities via application of a finite sequence of quadratic transformation maps. Implement a fun...
https://trac.sagemath.org/ticket/20895
CC-MAIN-2018-09
refinedweb
1,719
53.51
#include "test.h" void tst_sig(fork_flag, handler, cleanup) char *fork_flag; int (*handler)(); void (*cleanup)(); Tst_sig is used by UNICOS test case programs to set up signal handling functions for unexpected signals. This provides test cases with a graceful means of exiting following an unexpected interruption by a s...
http://www.makelinux.net/man/3/T/tst_sig
CC-MAIN-2015-22
refinedweb
476
59.53
.]]> Since the first iteration of my blog—some time around 2016—I've used highlight.js to highlight code blocks. With highlight.js being so popular, I never really second guessed the idea. It was a given to use JavaScript. A few weeks ago, TJ Miller introduced me to highlight.php by writing a Parsedown extension for it...
https://sebastiandedeyne.com/feed
CC-MAIN-2019-13
refinedweb
5,482
58.28
I spent some time this week working on building a Docker image using a Dockerfile. In the process I learned a little about networking with Docker that I wanted to record here before I forget about it. One of the steps in building my image was to update the list of packages using apt-get update. Mysteriously during the ...
https://mikewilliamson.wordpress.com/2013/10/06/docker-networking/
CC-MAIN-2020-16
refinedweb
726
65.62
A label that can be placed onto a map composition. More... #include <qgscomposerlabel.h> A label that can be placed onto a map composition. resizes the widget such that the text fits to the item. Keeps top left point Get item display name. This is the item's id if set, and if not, a user-friendly string identifying ite...
http://qgis.org/api/classQgsComposerLabel.html
CC-MAIN-2014-41
refinedweb
179
62.14
CRect CRect The CRect class is similar to a Windows RECT structure. CRect also includes member functions to manipulate CRect objects and Windows RECT structures. A CRect object can be passed as a function parameter wherever a RECT structure, LPCRECT, or LPRECT can be passed. Note This class is derived from the tagRECT ...
http://msdn.microsoft.com/en-us/library/aa300172(v=vs.60).aspx
CC-MAIN-2014-41
refinedweb
336
60.85
S. Somasegar is the corporate vice president of the Developer Division at Microsoft. Learn more about Somasegar. I’ve had multiple meetings recently with customers and press where the topic of .NET development has come up, particularly as it relates to the cloud and server. They’ve heard about the extensive work we’ve ...
http://blogs.msdn.com/b/somasegar/archive/2012/05/16/net-improvements-for-cloud-and-server-applications.aspx?PageIndex=1
CC-MAIN-2014-23
refinedweb
3,363
53.41
Making the zfs snapshot service run faster By user12625760 on Jan 03, 2009 I've not been using Tim's auto-snapshot service on my home server as once I configured it so that it would work on my server I noticed it had a large impact on the system: : pearson FSS 15 $; time /lib/svc/method/zfs-auto-snapshot \\ svc:/system...
https://blogs.oracle.com/chrisg/entry/making_the_zfs_snapshot_service
CC-MAIN-2015-27
refinedweb
1,896
77.77
Hi java beginner here. I was hoping someone could help me understand what my teacher cant be bothered with. Got to create a simple program for class that will take random 5 numbers entered by user - check to see if any of those are divisible by 3 - add any numbers that are divisible by 3 and print a total. please help ...
https://discuss.codecademy.com/t/idiot-requires-help-with-simple-java-please/52670
CC-MAIN-2018-26
refinedweb
216
70.19