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
Asyncio doesn't work in pythonista 3 - jeremyherbert Hi, I've just purchased pythonista 3 and I'm trying to run the following code straight from the docs: import asyncio async def hello_world(): print("Hello World!") loop = asyncio.get_event_loop() # Blocking call which returns when the hello_world() coroutine is done ...
https://forum.omz-software.com/topic/3240/asyncio-doesn-t-work-in-pythonista-3/3
CC-MAIN-2022-05
refinedweb
380
65.83
10 September 2010 16:05 [Source: ICIS news] TORONTO (ICIS)--?xml:namespace> Gerd Romanowski, general manager of the science and technology portfolio at German chemical industry trade group VCI, said it was regrettable that the government would sacrifice tax measures to promote R&D because of the need for budget savings...
http://www.icis.com/Articles/2010/09/10/9392626/german-chems-disappointed-as-govt-freezes-r.html
CC-MAIN-2014-49
refinedweb
254
51.68
Mesh Scripting Contents Introduction First of all you have to import the Mesh module: import Mesh After that you have access to the Mesh module and the Mesh class which facilitate the functions of the FreeCAD C++ Mesh-Kernel. Creation and Loading To create an empty mesh object just use the standard constructor: mesh = ...
https://www.freecadweb.org/wiki/Mesh_Scripting
CC-MAIN-2020-05
refinedweb
536
58.69
client XXX.X.XX.XXX] File does not exist: /var/www/static File does not exist: /var/www/xhr import sys sys.path.insert(0, "/location/of/the/files") from htpcfrontend import app as application WSGIScriptAlias / /linktowhereyouinstalledtheprogram snoopy1492 Wrote:Thanks for those info! It helped a lot! EDIT : Unfortunate...
http://forum.xbmc.org/showthread.php?tid=113136&page=2
CC-MAIN-2013-48
refinedweb
101
57.98
Hi, I am new to C# and Forms/GUIs. Basically I am trying to pass a value in a textBox to my programs program.cs file where I can apply my programs logic, but I'm stuck with how to do this. To get started all I am making is a form which takes two variables, and I want to add those variables together and display the sum ...
https://www.daniweb.com/programming/software-development/threads/357121/c-forms-newbie-passing-values-from-form-cs-to-program-cs
CC-MAIN-2018-17
refinedweb
322
60.31
Just to conclude this posting: first many thanks to Alan! Alan's little nutshell example about how to use MethodHandles.Lookup and employ MethodHandle s to invoke helped me a lot to get afloat with rewriting the reflection part for the bindings also using MH. The new reflection mechanism has been implemented such that ...
https://www.mail-archive.com/jigsaw-dev@openjdk.java.net/msg10306.html
CC-MAIN-2018-13
refinedweb
624
66.64
13 May 2011 16:38 [Source: ICIS news] ?xml:namespace> US-owned ExxonMobil will hold a 51% stake in the agreement with Total taking the remaining 49%. The deal is subject to approval from the Polish authorities. The concessions will allow the companies to explore the areas for a period of five years, from March 2009 for...
http://www.icis.com/Articles/2011/05/13/9459871/total-exxonmobil-sign-agreement-to-search-for-shale-gas-in-poland.html
CC-MAIN-2014-52
refinedweb
118
65.32
0 Hello, I would like to know what am I missing in this program to be getting that error. Thanks in advance! Error is error C3861: 'setprecision': identifier not found #include <iostream> using namespace std; int main () { int numFloors=0, numRooms=0, numOccupied=0, totRooms = 0, totOccupied = 0, totUnoccupied=0; doubl...
https://www.daniweb.com/programming/software-development/threads/347559/setprecision-identifier-not-found-error
CC-MAIN-2017-22
refinedweb
142
51.65
Feedback Getting Started Discussions Site operation discussions Recent Posts (new topic) Departments Courses Research Papers Design Docs Quotations Genealogical Diagrams Archives In trying to bring my YinYang work to a textual programming language, I'm beginning to design a new type system based on mixin-like traits (a...
http://lambda-the-ultimate.org/node/4660
CC-MAIN-2014-52
refinedweb
3,104
70.43
squibnMembers Posts12 Joined Last visited Content Type Profiles Forums Store Showcase Product ScrollTrigger Demos Downloads Everything posted by squibn Liquid Stage with parallax asset squibn replied to squibn's topic in TransformManager (Flash)Hi Greensock, Apologies, I didn't mean to sound like I wanted you to work i...
https://greensock.com/profile/140-squibn/content/?change_section=1
CC-MAIN-2022-33
refinedweb
1,979
55.54
Introduction to JSON JSON is a simple idea that can be quite confusing at times. It can be difficult trying to figure out when you need to convert JSON to an object and when you need to convert an object to JSON. In this article you'll see both directions, but first what is JSON? JSON stands for JavaScript Object Notat...
https://tonys-notebook.com/articles/intro-to-json.html
CC-MAIN-2022-05
refinedweb
851
72.16
Subject: [Boost-bugs] [Boost C++ Libraries] #10524: Why does boost\log\sinks\text_file_backend.cpp prevents users from reusing its classes? From: Boost C++ Libraries (noreply_at_[hidden]) Date: 2014-09-22 15:45:40 #10524: Why does boost\log\sinks\text_file_backend.cpp prevents users from reusing its classes? ----------...
https://lists.boost.org/boost-bugs/2014/09/38009.php
CC-MAIN-2020-24
refinedweb
238
60.61
How to flip an image in Java ME This articles shows how to to flip a given Image in Java ME. Solution - Create a new Image using createImage - Or use drawRegion to fllp the image when drawn. - Apply Mirror transformation using Sprite.TRANS_MIRROR On some devices, pre-transformed images may render more quickly than imag...
http://developer.nokia.com/community/wiki/How_to_flip_an_image_in_Java_ME
CC-MAIN-2014-41
refinedweb
185
51.95
cleansing multiple build directories In my adventures of building GNOME with JHBuild, it often happens that when I tweak something that affects the build environment (e.g. use system Python instead of JHBuild-built one), I get a heck of a lot of build failures. This will happen even after I run jhbuild clean (which run...
http://tshepang.net/cleansing-multiple-build-directories/
CC-MAIN-2018-43
refinedweb
285
52.36
). By default, Django stores files locally, using the MEDIA_ROOT and MEDIA_URL settings. The examples below assume that you’re using these defaults. However, Django provides ways to write custom file storage systems that allow you to completely customize where and how Django stores files. The second half of this docume...
https://django.readthedocs.io/en/3.2.x/topics/files.html
CC-MAIN-2022-40
refinedweb
374
56.45
Hey Folks. I am working on a project in which i have to use Classes and do multiple things with different sorts of data. The basic question i have though is this: what am i doing wrong here in terms of this class declaration etc... i have looked around on here, other websites about classes, used my text book and my lec...
https://www.daniweb.com/programming/software-development/threads/99100/classes-basics-starting-implementation
CC-MAIN-2017-26
refinedweb
234
59.98
WARNING: Please do not use this code in your apps. It was just a quick experiment and is neither well tested nor secure. Updates: - February 23, 2012: I put the code for the category on GitHub and added a corresponding link to the article. I also added a custom prefix to the category methods to avoid possible namespace...
http://oleb.net/blog/2012/02/checking-code-signing-and-sandboxing-status-in-code/
CC-MAIN-2016-07
refinedweb
513
52.19
May 102011 I don’t even know… Okay, I guess I do know, I made it. Why? I don’t even know. How? bge and a simple gravity script of course. wanna hear it? here is go! import bge from mathutils import Vector co = bge.logic.getCurrentController() scene = bge.logic.getCurrentScene() obList = [] for o in scene.objects: if o....
http://funkboxing.com/wordpress/?p=423
CC-MAIN-2017-43
refinedweb
251
73.13
Dash TableDash Table An interactive DataTable for Dash. QuickstartQuickstart pip install dash-table import dash import dash_table import pandas as pd df = pd.read_csv('') app = dash.Dash(__name__) app.layout = dash_table.DataTable( id='table', columns=[{"name": i, "id": i} for i in df.columns], data=df.to_dict('records...
https://juliapackages.com/p/dash-table
CC-MAIN-2021-25
refinedweb
206
52.15
WSGIScriptAlias / /some/path/project-1/wsgi.py If wanting to host a second Django instance under the same host name but at a sub URL, you would use: WSGIScriptAlias /suburl /some/path/project-2/wsgi.py WSGIScriptAlias / /some/path/project-1/wsgi.py If the Django instances are not under the same host, then it would inst...
http://blog.dscpl.com.au/2012/10/requests-running-in-wrong-django.html
CC-MAIN-2014-52
refinedweb
2,511
53.41
Hi all, I've been doing some reading about calling a non static variable or method from a static context, and almost but not quite have my head around what exactly is going on. I've read the text but can't seem to put that into context, so please bare with me. I'm doing a program to simulate a student enrolment system ...
https://www.daniweb.com/programming/software-development/threads/371955/static-non-static-methods-searching-array-question
CC-MAIN-2021-43
refinedweb
518
54.73
Supporting Information - StackExchange thread on how to successfully use the UART on the Raspberry Pi 3 (it’s not as simple as you might think) Out with the Wand, In with the Pi Electronics projects, like so many other things in life, don’t always work out the way we expect. This has definitely been the case with the ...
http://www.allaboutcircuits.com/projects/c-biscuit-system-integration-and-testing/
CC-MAIN-2017-04
refinedweb
1,779
59.43
Hello, J.. You write 16 мая 2008 г., 4:27:07: JS> On Thu, May 15, 2008 at 11:50 PM, Dmitriy S. Sinyavskiy <[EMAIL PROTECTED]> wrote: >> So what about my patch and test? >> Is it right or someone can correct it? >> The silence is here for a week or more ( >> JS> Jonathan Rockway asked you to regenerate without whitespac...
https://www.mail-archive.com/catalyst@lists.scsys.co.uk/msg03184.html
CC-MAIN-2022-27
refinedweb
167
78.04
Radix Primitives can be rendered on the server. However a little setup is required to make sure they work properly. Server side rendering or SSR, is a technique used to render components to HTML on the server, as opposed to rendering them only on the client. Static rendering is another similar approach. Instead it pre-...
https://www.radix-ui.com/docs/primitives/overview/server-side-rendering
CC-MAIN-2021-43
refinedweb
194
54.22
Converting the minimal Hello World and the simple example from C to C++ (actually g++ 4.4.5 on Linux Debian for Apache 2.2) took a minimal effort. What I had to do was adding an explicit include directive for http_protocol.h, to let the less forgiving C++ compiler to properly check against a few functions. Not doing it...
https://thisthread.blogspot.com/2012/11/makefile-for-c-apache-module.html
CC-MAIN-2017-51
refinedweb
285
64.2
[Date Index] [Thread Index] [Author Index] Re: How smooth graphs?. Another option is to export each of the frames from Mathematica as they are created at about 4 times their desired final size. Then, you can import the frames into an application such as Adobe Photoshop and resize them down to the size you want. Photosh...
http://forums.wolfram.com/mathgroup/archive/2005/Oct/msg00549.html
CC-MAIN-2015-40
refinedweb
199
64.91
This is the second part of the two part series of "Say Hello to Behavior Driven Development". The first part of this series is Say Hello To Behavior Driven Development (BDD)- Part 1. In this article, I shall try to show you how to follow BDD in real life while starting development of any module or project. Please note ...
http://www.codeproject.com/Articles/150740/Say-Hello-To-Behavior-Driven-Development-BDD-Part?fid=1607032&df=90&mpp=10&sort=Position&select=3783539&tid=3783539
CC-MAIN-2015-18
refinedweb
1,373
62.07
Exploring Spark DataSource V2 - Part 2 : Anatomy of V2 Read second blog in the series where we discuss about different interfaces to read data in V2 API.Understanding these interfaces helps us to understand the design and motivation of v2 API.You can read all the post in the series here. Java Interfaces One of the char...
http://blog.madhukaraphatak.com/spark-datasource-v2-part-2/
CC-MAIN-2018-34
refinedweb
427
50.02
Imagine, we are writing text processor. Now we have two requirements for our text processor: - have three fonts - add ability to color a text So, text would look like this: Ok. We have understood a task. So let’s try to implement this task. … Imagine, we are writing text processor. One of requirements to text processor...
https://nicestepup.medium.com/?source=post_internal_links---------1----------------------------
CC-MAIN-2021-43
refinedweb
144
75.5
By Sean T. Allen The best place to see whether any of Storm's internal buffers are overflowing is the debug log output in Storm's logs. Assuming you're using a shuffle grouping to distribute tuples evenly among bolts and tasks, checking the value for any task of a given bolt should be enough to determine how close you ...
http://mobile.developer.com/open/addressing-internal-apache-storm-buffers-overflowing.html
CC-MAIN-2017-30
refinedweb
1,102
51.38
Agenda See also: IRC log Date: 6 Aug 2009 <scribe> Meeting: 151 <scribe> Scribe: Norm <scribe> ScribeNick: Norm <ht> oops, how time do fly <ht> running to grab T, brb ok -> Accepted. -> Accepted. Cancelling 13 Aug for Balisage Henry gives regrets for 20 Aug, 27 Aug Basically, what we've got doesn't work. Henry has made...
http://www.w3.org/2009/08/06-xproc-minutes.html
CC-MAIN-2016-50
refinedweb
929
66.74
. Extends "DESCRIPTION" in OODoc::Object. Extends "OVERLOADED" in OODoc::Object. Extends "METHODS" in OODoc::Object. Extends "Constructors" in OODoc::Object. -Option --Default skip_links undef The parser should not attempt to load modules which match the REGEXP or are equal or sub-namespace of STRING. More than one of ...
http://search.cpan.org/~markov/OODoc-2.01/lib/OODoc/Parser.pod
CC-MAIN-2017-17
refinedweb
184
52.05
I think \n moves the needle down, and \r moves the needle to the beginning of a line (left align)? I'm not sure, though. So, if I'm wrong please correct me.... \n \r Anyway, I was told that Windows and Linux handle newlines and carriage returns differently. I would like to know how they handle them differently and some...
http://superuser.com/questions/374028/how-are-n-and-r-handled-differently-on-linux-and-windows?answertab=votes
CC-MAIN-2016-07
refinedweb
853
61.87
Using Dependent Code: Adding the Twitter Handle Name to Your Referring Traffic A common request I hear from customers is the desire to integrate 3rd party data inside the digital marketing suite. There are a few approaches to do this. SAINT classifications allow you to add metadata to a particular data point. Generally...
http://blogs.adobe.com/digitalmarketing/digital-marketing/social-media/using-dependent-code-adding-the-twitter-handle-name-to-your-referring-traffic/
CC-MAIN-2013-20
refinedweb
796
55.64
On Tue, 2007-03-20 at 10:29 +0800, Zhang, Yanmin wrote:> On Wed, 2007-03-14 at 16:33 -0700, Siddha, Suresh B wrote:> > On Tue, Mar 13, 2007 at 05:08:59AM -0700, Nick Piggin wrote:> > > I would agree that it points to MySQL scalability issues, however the> > > fact that such large gains come from tcmalloc is still inter...
http://lkml.org/lkml/2007/4/1/268
CC-MAIN-2017-34
refinedweb
441
70.19
_lwp_cond_reltimedwait(2) - wait for child process to change state #include <wait.h> int waitid(idtype_t idtype, id_t id, siginfo_t *infop, int options); The waitid() function suspends the calling process until one of its child processes changes state. It records the current state of a child in the structure pointed to...
http://docs.oracle.com/cd/E18752_01/html/816-5167/waitid-2.html
CC-MAIN-2014-52
refinedweb
215
62.38
QML C++ application runs much slower than pure QML Hi everyone. I'm writing small game in qml. When i run it in qmlviewer everything works fine, application uses 10-15% CPU. When i create QtQuick project and run application with QmlApplicationViewer C++ class it runs much slower, there is about 70-80 % CPU usage. Is it...
https://forum.qt.io/topic/14434/qml-c-application-runs-much-slower-than-pure-qml
CC-MAIN-2022-40
refinedweb
371
58.38
Always Test Everything – Twitter App Update I image was, I decided this would be an ideal opportunity to check that the script is still current and working as it should. You’ll be glad to hear that the instructions still work fine and the original script still works. But – yes there’s always a but – I have a lot more t...
https://raspi.tv/2016/always-test-everything-twitter-app-update?replytocom=60401
CC-MAIN-2019-35
refinedweb
1,239
73.07
Features/GPUPassthrough - Revision history 2014-04-16T19:31:45Z Revision history for this page on the wiki MediaWiki 1.19.13 Ajax: Created page with "<!-- All fields on this form are required to be accepted by FESCo. We also request that you maintain the same order of sections so that all of the feature pages are unif...
https://fedoraproject.org/w/index.php?title=Features/GPUPassthrough&feed=atom&action=history
CC-MAIN-2014-15
refinedweb
566
55.95
Due by 11:59pm on Friday, 5/2 Homework 10 is in two parts, of which this is the first. The solutions to this part are in Python. Those for 10b are in logic notation. Submission. See the online submission instructions. Submit the files for hw10a and hw10b together as hw10. We have provided a hw10a starter file for the q...
https://inst.eecs.berkeley.edu/~cs61a/sp14/hw/hw10a.html
CC-MAIN-2020-10
refinedweb
311
67.15
MOUNT(2) BSD Programmer's Manual MOUNT(2) mount, unmount - mount or dismount a filesystem #include <sys/param.h> #include <sys/mount.h> int mount(const char *type, const char *dir, int flags, void *data); int unmount(const char *dir, int flags);user_SYNCHRONOUS All I/O to the filesystem should be done synchronously. MN...
http://www.mirbsd.org/htman/sparc/man2/unmount.htm
CC-MAIN-2017-09
refinedweb
116
60.51
Early in 2012, a developer, named Egor Homakov, took advantage of a security hole at Github (a Rails app) to gain commit access to the Rails project. His intent was mostly to point out a common security issue with many Rails apps that results from a feature, known as mass assignment (and did so rather loudly). In this ...
https://code.tutsplus.com/tutorials/mass-assignment-rails-and-you--net-31695
CC-MAIN-2018-17
refinedweb
1,558
55.54
Mastering the Visual Basic Language: Procedures, Error Handling, Classes, and Objects - Sub Procedures - Creating Functions - Using Optional Arguments - Passing a Variable Number of Arguments - Preserving Data Between Procedure Calls - Understanding Scope - Handling Runtime Errors - Unstructured Exception Handling - St...
http://www.informit.com/articles/article.aspx?p=31488&amp;seqNum=2
CC-MAIN-2017-13
refinedweb
2,798
53.41
This is a known bug in Wine. You can read more here: Something like: foreach(var line in File.ReadLines(filename) .Where(l => l.Contains("ERROR MESSAGE"))) { // Log line } Additionally if you need specific information inside the line you can use a Regex to capture the information. I cannot provide a better example with...
http://www.w3hello.com/questions/-populate-word-document-via-asp-net-
CC-MAIN-2018-17
refinedweb
2,567
57.77
“Good morning. It’s 7:00 a.m. The weather in Malibu is 72 degrees with scattered clouds. The surf conditions are fair with waist-to-shoulder high lines. High tide will be at 10:52 a.m”. Every time I hear this voice of Jarvis in the movie Iron Man it sends me chills down my spine. I am sure just like me many would have ...
https://circuitdigest.com/microcontroller-projects/raspberry-pi-based-jarvis-themed-speaking-alarm-clock
CC-MAIN-2020-50
refinedweb
2,762
62.07
How to display a splash screen for at specific minimum length of time in WPF WPF supports the ability to make an image load immediately as a splash screen to give your application the appearance of loading faster. It doesn’t actually load faster, but seeing the splash screen is a “feel good” experience for the user. Ad...
https://www.wpfsharp.com/2012/02/14/how-to-display-a-splash-screen-for-at-specific-minimum-length-of-time-in-wpf/
CC-MAIN-2019-13
refinedweb
892
60.92
Write bytes to a file #include <unistd.h> ssize_t write( int fildes, const void* buf, size_t nbytes ); libc Use the -l c option to qcc to link against this library. This library is usually included automatically. The write() function attempts to write nbytes bytes to the file associated with the open file descriptor, f...
http://www.qnx.com/developers/docs/qnxcar2/topic/com.qnx.doc.neutrino.lib_ref/topic/w/write.html
CC-MAIN-2022-40
refinedweb
601
69.92
All dates in your server applications should be stored in the UTC timezone. This is because you always want to store time without the offset of the timezone you may be working in. Clients of your application may be in many different timezones around the world. However, storing all data in the UTC or GMT (same thing) ti...
https://ao.gl/how-to-get-the-utc-timestamp-in-python/
CC-MAIN-2020-45
refinedweb
178
61.77
Hi All, I've been working on a App and submitted it to the App Exchange. I have had some issue with the CSRF attacks. What is the best way in FLASK to do this? I am writing my app in Python. Answer by BradPark (312) | Dec 04, 2017 at 05:24 PM Like QName said, the best way to fix a CSRF attack with a flask app is by usi...
https://developer.ibm.com/answers/questions/416755/qradar-app-exchange-secure-development-how-can-i-f.html?childToView=446212
CC-MAIN-2019-39
refinedweb
947
56.25
No project description provided Project description django-postgres-queue django-postgres-queue is a task queue system for Django backed by postgres. Why postgres? I thought you were never supposed to use an RDBMS as a queue? Well, postgres has some features that make it not as bad as you might think, it has some compe...
https://pypi.org/project/django-postgres-queue/
CC-MAIN-2021-10
refinedweb
1,255
55.54
view raw I need to find the average of 5 assignments = two inputs. I'm getting a result, but its no correct. Here is what I have: def main(): # list of grades x = [] # count of students n = 5 # fill list with grades from console input # using pythonic generator x = [int(input('Please enter the grade you got on assignme...
https://codedump.io/share/doBYfOvZLdsa/1/find-average-of-list--2-inputs---python
CC-MAIN-2017-22
refinedweb
104
56.79
just want to move it to the new server, just leave it at 1.1. As an aside, I ran the make pointing to the .net 2.0 and changed the site on the w2003 box to be be 2.0 asp.net version and the web app worked. When I just move it over to the w2008 64 bit box, I get now get a different error. Server Error in '/' Applicatio...
https://www.experts-exchange.com/questions/26465690/How-to-migrate-an-asp-net-framework-1-1-app-from-W2003-32-bit-server-to-a-w2008r2-64-bit.html
CC-MAIN-2018-13
refinedweb
254
68.16
Windows Azure AppFabric October 2010 CTP - Service Bus Samples from my PDC Talk (Part 1) In my PDC talk I’m showing a few little samples that are not in the SDK for the CTP release. I’ve bundled them up and they’re attached to this post. The solution contains three samples: - SBMT is the ‘Service Bus Management Tool’, ...
https://docs.microsoft.com/en-us/archive/blogs/clemensv/windows-azure-appfabric-october-2010-ctp-service-bus-samples-from-my-pdc-talk-part-1
CC-MAIN-2021-25
refinedweb
478
51.89
Opened 5 years ago Closed 5 years ago Last modified 5 years ago #8782 closed defect (fixed) MacroList should only display one help entry when there are multiple macros defined that differ only by case Description The MacroList macro should only display a single entry when multiple macros are defined that differ only in...
http://trac.edgewall.org/ticket/8782
CC-MAIN-2015-06
refinedweb
366
67.18
Logged In: YES user_id=11105 Does it work when you write it in this way: import dbi import odbc using the odbc module (from win32all), dbi.pyd is copied, but not in the library.zip : no dbi.pyo! thus not fould. Logged In: YES user_id=11105 Does it work when you write it in this way: import dbi import odbc I have observ...
https://sourceforge.net/p/py2exe/bugs/60/
CC-MAIN-2018-17
refinedweb
231
88.43
. I agree. I think a retry mechanism would be misused by new programmers. I don’t think there is too machine situations where it would be useful. In your example above with the file not being closed – rather than trying to retry the operation until the file was closed, wouldn’t it be better to work out why the file was...
https://blogs.msdn.microsoft.com/ericgu/2006/02/15/exception-handling-guidelines/
CC-MAIN-2018-13
refinedweb
3,111
60.35
04-01-2009 08:35 PM I have a PlayerListener that's supposed to call invalidate on a Field while the Player is playing. I don't know why but the field is not being repainted. Here's the code: public class PlayerHandler implements PlayerListener { public PlayerHandler() { } public void playerUpdate(Player player, String ...
http://supportforums.blackberry.com/t5/Java-Development/PlayerListener-not-working/td-p/201043
crawl-003
refinedweb
304
59.5
V1.2 (21-11-2001) - Fixed typo in Create_TCP_Connection code snippet - CoUnIntialize() should be CoUninitialize() - IID_LPDIRECTPLAYLOBBY2A should be IID_IDirectPlayLobby2A V1.1 (11-4-2000) Abstract Seeing that there are few (if any) tutorials on DirectPlay, and that it is such a pain to learn DirectPlay from the MSDN ...
http://www.gamedev.net/page/resources/_/technical/directx-and-xna/a-directplay-tutorial-r764
CC-MAIN-2016-40
refinedweb
5,592
54.63
This is a Java Program to check whether a point lies inside, outside or on the circle. For any point t (xt, yt) on the plane, its position with respect to the circle defined by 3 points (x1, y1) , (x2, y2), (x3, y3). s = (x-xt)^2 + (y-yt)^2 – r*r If s < 0, t lies inside the circle; if s > 0, t lies outside the circle; ...
http://www.sanfoundry.com/java-program-check-if-point-d-lies-inside-or-outside-circle-defined-points-a-b-c-plane/
CC-MAIN-2017-39
refinedweb
516
74.9
An Ellipse is defined by two points, each called a focus. If any point on the Ellipse is taken, the sum of the distances to the focus points is constant. The size of the Ellipse is determined by the sum of these two distances. The sum of these distances is equal to the length of the major axis (the longest diameter of ...
https://www.tutorialspoint.com/javafx/2dshapes_ellipse.htm
CC-MAIN-2019-35
refinedweb
607
55.13
{-# LANGUAGE MultiParamTypeClasses, FunctionalDependencies #-} module Control.Concurrent.STM.TChan.Class where import qualified Control.Concurrent.STM.TChan as C import Control.Concurrent.STM -- | A class capturing Chan operations in STM. class SplitTChan i o | i -> o, o -> i where -- | Write a value to the in chan. wr...
http://hackage.haskell.org/package/chan-split-0.5.0/docs/src/Control-Concurrent-STM-TChan-Class.html
CC-MAIN-2014-42
refinedweb
268
69.07
This tutorial explains Bubble Sort algorithm with an example showing multiple iterations of the algorithm. It then shows how to implement bubble sort in Java and explains the code. What is Bubble Sort: Bubble Sort, considered by many to be the simplest of sorts, works by progressively in-place sorting(ie. not using up ...
https://www.javabrahman.com/algorithms-in-java/bubble-sort-in-java/
CC-MAIN-2018-34
refinedweb
630
75.3
Polymorphism in Expression trees While trying to be extra-clever today, I found a potential nasty issue when dealing with strongly-typed reflection. Suppose I have a simple hierarchy of objects: public abstract class Base { public abstract string Foo { get; } } public class Child : Base { public override string Foo { g...
https://lostechies.com/jimmybogard/2009/02/25/polymorphism-in-expression-trees/
CC-MAIN-2018-26
refinedweb
248
52.09
Hello everyone OS : Windows 10 / XP PsychoPy version: 1.84.1 Standard Standalone? (y/n) yes What are you trying to achieve?: I am trying to setting up an fMRI experiment. For this, I want the routine to start, when the MRI scanner starts to send TR pulses. The MRI pulses will be received by the parallel port. What did ...
https://discourse.psychopy.org/t/mri-experiment-start-routine-by-mri-pulse-from-parallel-port/1135
CC-MAIN-2021-39
refinedweb
207
54.08
this library provides support to construct graphs and their coloring graphs. a coloring graph is a metagraph representing all the valid colorings of a graph. each vertex of a coloring graph represents a coloring of the base graph. Project description libcolgraph libcolgraph homepage on the web a coloring graphs library...
https://pypi.org/project/libcolgraph/
CC-MAIN-2021-21
refinedweb
661
56.15
User talk:Joto/How to invent tags Hi Jochen, there are still a few pages that deal with this topic: But I absolutely agree that this needs to be more centered on one single page and the community has to make clear how to add new features or change existing features --!i! 10:11, 1 November 2010 (UTC) - Thanks. I added t...
https://wiki.openstreetmap.org/wiki/User_talk:Joto/How_to_invent_tags
CC-MAIN-2018-09
refinedweb
242
70.33
You need to create the Proxy class when you want to consume a web service as described in the article How to consume a web service in ASP.NET. The first option is described in the article How to create the proxy class with wsdl command-line tool in ASP.NET. As a second option, you can create the Proxy class by adding a...
http://www.howtoasp.net/asp-net-tutorials/how-to-create-the-proxy-class-with-visual-studio-in-asp-net/
CC-MAIN-2018-43
refinedweb
602
65.12
User Account Control on Windows Vista provides a convenience feature which allows you to elevate a process without leaving the current desktop. (For a discussion of why this is a convenience feature, rather than a security feature, see Mark Russinovich's blog entry here:). Let's explore this at a fairly high level. To ...
https://blogs.msdn.microsoft.com/cjacks/2007/02/19/mapped-network-drives-with-uac-on-windows-vista/
CC-MAIN-2019-13
refinedweb
1,903
64.91
Lesson 7 - LINQ in C# - Revolution in querying In the previous lesson, Queue and stack in C# .NET, we talked about queues and stacks. In today's tutorial, we're going to introduce the revolutionary LINQ technology. LINQ refers to a set of tools for querying data which simplifies and generalizes working with any sort of...
https://www.ictdemy.com/csharp/collections-and-linq/linq-in-csharp-revolution-in-querying
CC-MAIN-2021-31
refinedweb
1,797
72.26
Comparing Closures in Java, Groovy and Scala Comparing Closures in Java, Groovy and Scala Join the DZone community and get the full member experience.Join For Free. Why those languages? Because they are the three JVM languages I'm most interested in. I suppose I could also have compared the closure support in Jython, J...
https://dzone.com/articles/comparing-closures-java-groovy
CC-MAIN-2019-18
refinedweb
1,049
65.22
Creating Your Own NuGet Package Introduction NuGet is a free and open source package management system for .NET applications. The primary goal of NuGet is to help developers simplify the process of incorporating third party libraries into their .NET applications. There are several NuGet packages available for you to us...
https://www.codeguru.com/csharp/article.php/c19247/Creating-Your-Own-NuGet-Package.htm
CC-MAIN-2019-13
refinedweb
1,278
57.67
NOTE: if you plan to use it, see better plugin bellow - Code: Select all from math import * from random import * import sublime, sublimeplugin class MiniPyCommand(sublimeplugin.TextCommand): def run(self, view, args): script = "" for region in view.sel(): script = view.substr(region) view.replace(region, str(eval(scrip...
http://www.sublimetext.com/forum/viewtopic.php?p=1762
CC-MAIN-2015-14
refinedweb
159
74.08
BYTE STREAMS in Java – File Reading and Writing Example using Byte Streams Performing input and output operations using a Byte Stream is one of the most common and the low level input output operation that a java program can perform. In this data is processed(read/write) in the form of a byte or we can use buffered app...
http://www.codingeek.com/java/io/read-and-write-file-using-byte-streams-in-java-example/
CC-MAIN-2017-04
refinedweb
581
60.55
Python alternatives for PHP functions import os content = os.listdir('/some/dir/') #example for filename in os.listdir('/some/dir/'): print filename (PHP 4, PHP 5) readdir — Read entry from directory handle Returns the filename of the next file from the directory. The filenames are returned in the order in which they a...
http://www.php2python.com/wiki/function.readdir/
CC-MAIN-2017-51
refinedweb
131
58.89
I am looking to add social sharing into our applications but cannot figure out how to access the sharing API from Qt/QML. The sharing UI feature is documented here: The key differentiator is that any app or service could handle the share request. The MeeGo open source project hosts the sharing libraries here: I have tr...
http://developer.nokia.com/community/discussion/showthread.php/226370-Accessing-ShareUI-on-Harmattan-MeeGo?p=850571&viewfull=1
CC-MAIN-2014-23
refinedweb
133
54.97
A Gentle Introduction to TypeScript Talk given at Fullstack Talks (NC San Diego) - 02/2o/2020 This information has been updated since the talk (mostly extra info added, some grammar/spelling errors corrected). Who am I? - Principal Software Engineer at Peachjar - 3/4 Stack Developer (or Pear-shaped Developer) - Former ...
https://rclayton.silvrback.com/a-gentle-introduction-to-typescript
CC-MAIN-2020-40
refinedweb
1,875
51.78
Gröbner Bases and Optics Ge $ \int dx’ G(x,x’)$. In geometrical optics, which was Huygens original intent I think (these old school guys were VERY geometrical), this is the curious operation of taking the geometrical envelope of the little waves produced by each point. The gist of Huygens principles. Ripped from wikipe...
https://www.philipzucker.com/grobner-bases-and-optics/
CC-MAIN-2021-39
refinedweb
294
68.6
This is the mail archive of the archer@sourceware.org mailing list for the Archer project. Chris> Just FYI, this patch breaks a handful of existing tests: Chris> gdb.base/setvar.exp Chris> gdb.cp/classes.exp Chris> gdb.cp/m-data.exp Chris> gdb.cp/m-static.exp Chris> cp/namespace.exp Chris> gdb.mi/mi-var-display.exp Chr...
http://sourceware.org/ml/archer/2010-q1/msg00066.html
CC-MAIN-2014-42
refinedweb
234
74.9
Apart from being unhappy about the performance, it's been a very unstable/shacky start for me (June 2003) to get it all working. Overall, the installation of NEMO now works, but I always seem to need some tinkering, which appears to depend on the OS patch level.... My new system (baught June 2004!) fared a little bette...
http://bima.astro.umd.edu/nemo/macosx.html
crawl-001
refinedweb
936
74.79
Ruby Eye for the Java guy: Constants. java.lang.Integer.MAX_VALUE java.lang.String" MyClass::MY_VAR[1] = "z" puts MyClass::MY_VAR #=> "xzx" freeze class MyClass MY_VAR = "xxx" MY_VAR.freeze end puts MyClass::MY_VAR #=> "xxx" MyClass::MY_VAR = "yyy" #=> "warning: already initialized constant MY_VAR" MyClass::MY_VAR[1] =...
http://blogs.sun.com/gjmurphy/
crawl-002
refinedweb
2,630
54.93
Greetings, printf() only takes one string literal in the first argument. To learn more about printf(), click here. By sending printf("Hello %s World""SBL") to printf(), you will retrieve an error because the string literal can only contain one string. Each "" contains one string, and the data inside. Any addition varia...
https://www.daniweb.com/programming/software-development/threads/11194/error-message-when-i-run-my-program-in-c
CC-MAIN-2016-50
refinedweb
442
72.87
plib.classes 0.9.1 Useful Python classes. The PLIB.CLASSES package contains a number of useful packages and modules that extend the Python standard library. Note: PLIB.CLASSES works with Python 2.7. If you are using Python 3, see the PLIB3.CLASSES package, available at. The setup.py script for PLIB.CLASSES uses the set...
https://pypi.python.org/pypi/plib.classes
CC-MAIN-2017-43
refinedweb
132
54.29
Even if you make them up yourself, acronyms should be treated as words like any other words used in Java names. There is no need to keep them in upper case. Consider how ugly the acronym “TCP/IP” looks in the following example if the English language acronymn rule is followed to the letter. package com.playpen.TCP_IP; ...
http://javagoodways.com/name_acronym_Acronyms_are_words.html
CC-MAIN-2021-21
refinedweb
153
50.46
Introduction to File Processing Overview of File Processing and Definitions. Streaming Prerequisites To support file processing, the .NET Framework provides the System.IO namespace that contains many different classes to handle almost any type of file operation you may need to perform. Therefore, to perform file proces...
http://functionx.com/vb/fileprocessing/introduction1.htm
CC-MAIN-2018-51
refinedweb
244
64.61
CBR using SOAP with Namespacestoby saville Nov 13, 2007 5:56 AM Hello, I am trying to route a SOAP message using CBR. The SOAP is: <soapenv:Envelope xmlns: <soapenv:Header/> <soapenv:Body> <om:dslCheck> <order> <solutions> <services> <customer> <phoneNumber>02072740056</phoneNumber> <address> <postCode>sw48dx</postCode...
https://developer.jboss.org/thread/143427
CC-MAIN-2019-22
refinedweb
442
58.32
T. Introduction From its inception in May 2000, TheServerSide.com has been an exceptionally successful information portal. TheServerSide.com is a typical, high volume web site. Incoming requests are dispatched to a front controller servlet for processing (this is very similar to how a Struts application is organized). ...
http://www.theserverside.com/news/1365138/TSS-Relaunches-on-Tapestry
CC-MAIN-2018-09
refinedweb
3,228
51.07
We're going to be in EGL land on an increasing number of platforms, and working more with extensions for EGL for EGLImage, EGLSync, and hopefully eventually EGLStream. Created attachment 630734 [details] [diff] [review] patch Created attachment 630739 [details] [diff] [review] patch Adds NS_ERRORs when the extensions a...
https://bugzilla.mozilla.org/show_bug.cgi?id=762265
CC-MAIN-2017-22
refinedweb
181
50.16
Working With Dates and Times in Python Python has lots of power when it comes to working with dates. These modules are helpful for creating an app that needs to that keeps track of appointments or run on certain days. Join the DZone community and get the full member experience.Join For Free Python.data. datetime.date P...
https://dzone.com/articles/python-101-working-with-dates-and-time
CC-MAIN-2021-17
refinedweb
1,684
76.32
File input and output¶ See also The ase.io module has three basic functions: read(), iread() and write(). The methods are described here: ase.io. read(filename, index=None, format=None, parallel=True, **kwargs)[source]¶ Read Atoms object(s) from file. - filename: str or file - Name of the file to read from or a file de...
https://wiki.fysik.dtu.dk/ase/ase/io/io.html
CC-MAIN-2018-39
refinedweb
908
68.06
subprocess.Popen handling stdout and stderr as they come subprocess.popen stdout to file python subprocess popen get stdout and stderr python subprocess stdout python subprocess get output python subprocess output to file python subprocess output to list python subprocess long running process I'm trying to process both...
http://thetopsites.net/article/54214184.shtml
CC-MAIN-2020-50
refinedweb
1,477
67.04
This article has been excerpted from book "Visual C# Programmer's Guide"Any programmer, no matter how experienced, cannot create complex programs without any errors on the first attempt! Although syntax errors are reported at the compiler level, the compiler cannot detect and report more complex runtime errors. To dete...
http://www.c-sharpcorner.com/uploadfile/prvn_131971/runtime-debuggers/
CC-MAIN-2017-22
refinedweb
1,480
57.47
a lot more interesting and interactive. The display I’m using is a 16×2 LCD display that I bought for about $5. You may be wondering why it’s called a 16×2 LCD. The part 16×2 means that the LCD has 2 lines, and can display 16 characters per line. Therefore, a 16×2 LCD screen can display up to 32 characters at once. It...
https://www.circuitbasics.com/how-to-set-up-an-lcd-display-on-an-arduino/
CC-MAIN-2021-39
refinedweb
2,445
75.71
There's an old tool I've had on my desktop for many years. It was originally called NetMedic, and I think I paid $50 for it back in, oh, about 1997. At some point it was sold, rebranded as VitalAgentIT and given away for free. Then it was built into some expensive, high-end IT solution and never heard from again. Here'...
http://blogs.msdn.com/b/jgalasyn/archive/2006/05/09/594037.aspx
CC-MAIN-2014-23
refinedweb
840
55.13
May as “crosshair”, then on the first frame of the main scene entered this actionscript: Line 1: Hiding the mouse Line 2: Attaching the movie “crosshair” instanced as “crosshair” at depth 1 Lines 3-5: Every time the crosshair is in the stage, its position is updated to _xmouse and _ymouse coordinates. This means you wi...
http://www.emanueleferonato.com/2007/04/28/create-a-flash-artillery-game-step-1/
CC-MAIN-2016-07
refinedweb
5,609
72.26
- The algorithm for calculating the number of lines in the text widget is slightly flawed, and doesn't always work correctly (out by a few chars occassionally). If someone can spot the problem, please fix it! - Works better for fixed-width fonts. Proportional fonts work, but it makes more errors in the algorithm (which...
http://wiki.tcl.tk/11152
CC-MAIN-2016-44
refinedweb
666
58.58
Building universal web applications combining server side rendering with front-end is popular these days. The approach is not without its problems, though. Now you have the extra challenge of managing code so that it works on the both sides. Due to the differences between them, you will run into a series of problems. n...
https://survivejs.com/blog/nextjs-interview/
CC-MAIN-2018-30
refinedweb
1,203
67.35
Hi, How does one run a function immediately following a user selection in a combo box? (Click Event or Update Event?) Eric Hi, How does one run a function immediately following a user selection in a combo box? (Click Event or Update Event?) Eric Hi @eric.bunn, Did you make a handler for DropDown.SelectedIndexChanged? –...
https://discourse.mcneel.com/t/run-function-after-combo-box-value-change-in-eto-form/99757
CC-MAIN-2020-40
refinedweb
610
76.62
How to set up ELK for Rails log management using Docker and Docker Compose by Dmitry Tsepelev Logging is one of the essential parts in any setup because logs are extremely useful when it comes to troubleshooting problems happening with your production app. When you decide to move your apps to the docker-managed environ...
https://medium.com/@AnjLab/how-to-set-up-elk-for-rails-log-management-using-docker-and-docker-compose-a6edc290669f
CC-MAIN-2017-39
refinedweb
1,448
51.38
23 March 2011 09:33 [Source: ICIS news] SINGAPORE (ICIS)--Japanese glycol ethers producer, Nippon Nyukazai, was keeping its Kashima-based plant off line after it was shut following the devastating earthquake and tsunami on 11 March, industry sources said on Wednesday. The company had taken off line its 30,000 tonnes/ye...
http://www.icis.com/Articles/2011/03/23/9446256/japan-disaster-nippon-nyukazai-keeps-glycol-ethers-kashima-unit-shut.html
CC-MAIN-2014-35
refinedweb
151
59.33
Qt provides QSplashScreen class in case you want to have a splash screen for your application without any efforts. You can use the approach below to add an splash screen image of your choice using QSplashScreen and QPixmap classes that stays for 1 second and then disappears. Change your application’s main.cpp file as s...
http://amin-ahmadi.com/2016/03/15/how-to-add-a-splash-screen-for-your-qt-application/
CC-MAIN-2017-04
refinedweb
143
58.99