text
stringlengths
20
1.01M
url
stringlengths
14
1.25k
dump
stringlengths
9
15
⌀
lang
stringclasses
4 values
source
stringclasses
4 values
Nashorn is a JavaScript Engine on the JVM that shipped with Java 8, it replaces the slow and outdated Rhino engine and is built using some new bytecode primitives that shipped with Java 8 JVM, namely invokeDynamic. Nashorn, unlike Rhino is actually pretty quick, the reason for this is that Nashorn interprets JavaScript...
http://blog.getsandbox.com/2018/01/15/nashorn-interupt/
CC-MAIN-2018-09
en
refinedweb
Scheduling some tasks have to be run periodically like crontab. One of the tasks is sending emails on specific triggers. Here at HackerEarth , one of the major chunk of emails is sent to recruiters and participants after a contest is finished or when participant triggers finish-test button. Till now we had done this us...
http://engineering.hackerearth.com/2013/06/05/scheduling-emails-with-celery-in-django/
CC-MAIN-2018-09
en
refinedweb
IDEA-117040 (Bug) Ultimate edition suggest to upgrade to the Ultimate edition IDEA-116927 (Bug) Strange message in .gitmodules file IDEA-66494 (Bug) Switching between search and replace WEB-8669 (Bug) *.[x]html content type <script type=application/ecmascript> IDEA-78206 (Bug) Constructing 'mailto' link -> cannot resol...
http://confluence.jetbrains.com/display/WI/WebStorm+133.350+Release+Notes
CC-MAIN-2018-09
en
refinedweb
Recently one of my friend who had a Java based web application which was was recently developed and deployed in the production environment was facing some performance issues contacted me. For some reasons in that application couple of functionality was taking more time to show up than few other functionalities, after d...
http://vasanti.org/blog/?p=398
CC-MAIN-2018-09
en
refinedweb
In NativeScript apps, you can use the Backend Services JavaScript SDK to connect to the Telerik Platform backend services. In this article: - Integrating in a NativeScript Core Application - Integrating in a NativeScript and Angular Application - Specifics Integrating in a NativeScript Core Application When building yo...
https://docs.telerik.com/platform/backend-services/javascript/nativescript
CC-MAIN-2018-09
en
refinedweb
tf-idf is the approach of determine relevant documents by the count of words they contain. While this would emphasis common words like ‘the’, tf-idf takes for each word it’s ratio of the overall appearence in a set of documents – the inverse-doucment-frequence. Here I’ll try to give a simple MapReduce implemention. As ...
https://henning.kropponline.de/2014/06/08/map-reduce-tf-idf/
CC-MAIN-2018-09
en
refinedweb
the second in the IPASBR series, see also: Part 2 is nice and easy. From Part 1 we exposed our service over the Azure Service Bus Relay using the netTcpRelayBinding and verified we could set up our network to listen for relayed messages. Assuming we want to consume that service in .NET from an environment which is fai...
http://geekswithblogs.net/EltonStoneman/archive/2012/09/26/integration-patterns-with-azure-service-bus-relay-part-2-anonymous.aspx
CC-MAIN-2018-09
en
refinedweb
C: Code to time execution with accuracy greater than a second The following application computes the time needed for a process to finish using the method clock(). The result of the application is the time in seconds as a floating number (where 1.0 = 1 second). It provides greater accuracy than seconds as the estimation...
https://bytefreaks.net/2017/03/20
CC-MAIN-2020-29
en
refinedweb
NAME Create a timer. SYNOPSIS #include <zircon/syscalls.h> zx_status_t zx_timer_create(uint32_t options, zx_clock_t clock_id, zx_handle_t* out); DESCRIPTION zx_timer_create() creates a timer, an object that can signal when a specified point in time has been reached. The only valid clock_id is ZX_CLOCK_MONOTONIC. The op...
https://fuchsia.dev/fuchsia-src/reference/syscalls/timer_create
CC-MAIN-2020-29
en
refinedweb
In perfect code all eventualities will be anticipated and code written for all eventualities. Sometimes though we might want to allow for more general failure of code and provide an alternative route. In the following code we try to perform some code on a list. For the code to work the list must be long enough and the ...
https://pythonhealthcare.org/2018/03/22/14-python-basics-try-except-where-code-might-fail/
CC-MAIN-2020-29
en
refinedweb
By Eduardo Berrocal Garcia De Carellan, Published: 01/02/2018, Last Updated: 01/02/2018 In this article, I show how to transform a simple C++ program—in this case a simplified version of the famous UNIX command-line utility grep—in order to take advantage of persistent memory (PMEM). The article starts with a descripti...
https://software.intel.com/content/www/us/en/develop/articles/boost-your-c-applications-with-persistent-memory-a-simple-grep-example.html?cid=em-elq-43168&utm_source=elq&utm_medium=email&utm_campaign=43168&elq_cid=1717881
CC-MAIN-2020-29
en
refinedweb
In recent years, the emergence of deep reinforcement learning (RL) has resulted in the growing demand for their evaluation. To implement and test RL models quickly and reliably, several RL libraries have been developed. Here we list we such libraries that make the job of an RL researcher easy: Pyqlearning Pyqlearning i...
https://analyticsindiamag.com/python-libraries-reinforcement-learning-dqn-rl-ai/
CC-MAIN-2020-29
en
refinedweb
> From: Juan José García-Ripoll > <address@hidden> > Date: Mon, 30 Mar 2020 09:54:26 +0200 > > > Please point to the relevant APIs, to make the discussion more > > practical. > > GDI+ is an evolution of GDI that supports arbitrary plug-ins for image > formats, > both bitmaps and vector type. It is a bit more modern tha...
https://lists.gnu.org/r/emacs-devel/2020-03/msg00865.html
CC-MAIN-2020-29
en
refinedweb
Building resilient search experiences with Workbox This codelab shows you how to implement a resilient search experience with Workbox. The demo app it uses contains a search box that calls a server endpoint, and redirects the user to a basic HTML page. This codelab uses Chrome DevTools. Download Chrome if you don't alr...
https://web.dev/en/codelab-building-resilient-search-experiences/
CC-MAIN-2020-29
en
refinedweb
The Show typeclass abstracts the ability to obtain a String representation of any object. It can be considered the typeclass equivalent of Java’s Object#toString. import arrow.* import arrow.core.extensions.* Int.show().run { 1.show() } // 1 Given an instance of F, it returns the String representation of this instance....
https://arrow-kt.io/docs/0.10/arrow/typeclasses/show/
CC-MAIN-2020-29
en
refinedweb
Plasma #include <xcursortheme.h> Detailed Description The XCursorTheme class is a CursorTheme implementation for Xcursor themes. Definition at line 38 of file xcursortheme.h. Constructor & Destructor Documentation Initializes itself from the dir information, and parses the index.theme file if the dir has one. Definitio...
https://api.kde.org/4.x-api/kde-workspace-apidocs/plasma-desktop/html/classXCursorTheme.html
CC-MAIN-2020-29
en
refinedweb
Getting Started with React: A Beginner’s Guide Free JavaScript Book! Write powerful, clean and maintainable JavaScript. RRP $11.95 In this guide, I’ll show you the fundamental concepts of React by taking you through a practical, step-by-step tutorial on how to create a simple Message App using React. I’ll assume you ha...
https://www.sitepoint.com/getting-started-react-beginners-guide/
CC-MAIN-2020-29
en
refinedweb
public class Condition extends java.lang.Object Statementobjects, and affect when a statement is applied. For example, a statement that allows access to an Amazon SQS queue could use a condition to only apply the effect of that statement for requests that are made before a certain date, or that originate from a range o...
https://aws-amplify.github.io/aws-sdk-android/docs/reference/com/amazonaws/auth/policy/Condition.html
CC-MAIN-2020-29
en
refinedweb
Read this section for an introduction to the generic programming in several languages, including Java and C++. It covers the standard template library, containers, algorithms, templates, and mentions compile time polymorphism vs. runtime polymorphism. GENERIC PROGRAMMING refers to writing code that will work for many t...
https://learn.saylor.org/mod/page/view.php?id=18808&forceview=1
CC-MAIN-2020-29
en
refinedweb
There are many cats and dogs both living near my house. I love them but cant adopt them as my parents are against it. How do i feed them? Don't! You will never get rid of them, and you'll attract even more as well. It's better to call your local humane society and report them. They will be able to give the animals medi...
https://hubpages.com/animals/forum/9900/wat-to-feed-a-sray-dog-or-cat
CC-MAIN-2018-05
en
refinedweb
Now this is not necessarily a problem if you apply clean code practices. As long as you make sure everything the user gave you is well sanitized, and you use Bound-Parameter style value passing to literally every API you use, then you might be OK. But Taint mode basically exists as a fall-back defense to guard against...
http://kentfredric.github.io/blog/2016/01/02/re-the-perl-jam-2-hashes-are-insecure/
CC-MAIN-2018-05
en
refinedweb
i love you phrakture!!! i just bought a new hdd(samsung ultraquiet 200gb) and did a fresh archinstall, copied over my old homedir and everything worked except for this term stuff, i was just about to post a thread when i saw this, Hah! My terminal color scheme rules, too - the commented one is good as well. Offline it ...
https://bbs.archlinux.org/viewtopic.php?pid=107851
CC-MAIN-2018-05
en
refinedweb
Undefined reference to function availabel in external added library I added external library by ADD LIBRARY method. When I am trying to use the functions available in library , errors are coming "undefined reference" QT += core TARGET = libtnis SOURCES += main.cpp win32: LIBS += -L$$PWD/libtins-latest-win32/libtins-lat...
https://forum.qt.io/topic/48474/undefined-reference-to-function-availabel-in-external-added-library
CC-MAIN-2018-05
en
refinedweb
Inputs guarantee only one edge needs to be removed to make the directed graph a tree, so there are only two cases where an edge needs to be deleted: - An edge that makes a node having more than one parents; - An edge that cause a loop. For each edge (u -> v), we firstly check whether the child (v) has already had a par...
https://discuss.leetcode.com/topic/105093/short-solutions-finding-nodes-parent
CC-MAIN-2018-05
en
refinedweb
I have the sneaking suspicion that I ought to punt and try to implement EEE Cooks in Sinatra + CouchDB, but I really would like to give Rails3 a least a cursory go. The chain is not about getting it done, but doing something, so... Some Git Yak Shavin I again start the night with rm -rf *(to get rid of rails edge) in m...
https://japhr.blogspot.com/2009/03/bleeding-edge-rails.html
CC-MAIN-2018-05
en
refinedweb
All, I have this very basic script that's producing some odd output. What I need to do is constantly ping a server, and when/if that server stops responding, I want to write the timestamp and " timed out" to a file. We're trying to lock down a time as to when something is going down. The code is below, and what's happe...
https://www.daniweb.com/programming/software-development/threads/463402/ping-looping-help
CC-MAIN-2018-05
en
refinedweb
Up to [cvs.NetBSD.org] / src / lib / libc / gen Request diff between arbitrary revisions Default branch: MAIN Revision 1.16.44.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:05:18 2012 UTC (4 years, 9 months ago) by yamt Branch: yamt-pagecache CVS Tags: yamt-pagecache-tag8 Changes since 1.16: +3 -5 lines...
http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libc/gen/getmntinfo.c
CC-MAIN-2017-04
en
refinedweb
Jabber::Lite - Standalone library for communicating with Jabber servers. author's ;) The methods within have been organised into several categories, listed here for your searching pleasure: Returns a new instance of the object. Takes a hash of arguments which are passed straight to ->init(); (Re-)initialises data store...
http://search.cpan.org/~beecee/Jabber-Lite-0.8.1/lib/Jabber/Lite.pm
CC-MAIN-2017-04
en
refinedweb
Talk:Pacman/Package signing. —This unsigned comment is by Myshkin (talk) 11:15, 10 October 2012. Please sign your posts with ~~~~! Web of Trust - [Moved from Talk:PacmanWoT -- Alad (talk) 15:21, 2 October 2015 (UTC)] Now we have three articles describing the "Web of trust": the (outdated) DeveloperWiki:Package_signing,...
https://wiki.archlinux.org/index.php/Talk:Pacman-key
CC-MAIN-2017-04
en
refinedweb
0 Hello there. I'm new in python thats why i hope for one quick explanation. I'm making this program just for fun tho i dunno how to really use raw_input in loop. from random import * ime_f = raw_input("Vnesi ime fanta: "); priimek_f = raw_input("Vnesi priimek fanta: "); ime_z = raw_input("Vnesi ime deklice: "); priime...
https://www.daniweb.com/programming/software-development/threads/332721/raw-input-in-loop
CC-MAIN-2017-04
en
refinedweb
Run E2E tests with JSON. Run E2E tests with JSON. Built off of Protractor and Selenium. Short for yanatramanav, the hindi word for robot. Instead of tests like code: browser;browserdriver; Write tests like scripts: "goto": """click": "a[href=\"]" yanatra runs "scripts": a linear sequence of actions. The kind of actions...
https://www.npmjs.com/package/yanatra
CC-MAIN-2017-04
en
refinedweb
I). Jeff David Jencks wrote: > As part of my work on breaking up our monolithic configuration into > smaller pieces, I now have a set of configurations that modularize jetty > and tomcat into two configurations each. These can be turned on and off > individually, by means of starting with different config.list files or...
http://mail-archives.apache.org/mod_mbox/geronimo-dev/200509.mbox/%3C431D1D3B.5090409@savoirtech.com%3E
CC-MAIN-2017-04
en
refinedweb
Hi , I have web application built in .net 3.5(Visual studio 2008), currently i am using AjaxToolKit.dll from version 3.0 Can i now upgrade AjaxToolKit.dll version from 3.0 to 3.5 ? Please let me know your thoughts View Complete Post Dear friends , I was working on an asp.net 3.5 website and used ajaxtoolkit in it and w...
http://www.dotnetspark.com/links/40746-upgrade-web-application-ajaxtoolkitdll-from.aspx
CC-MAIN-2017-04
en
refinedweb
Github user kirklund commented on the issue: We've been requiring unit tests or integration tests for all bug fixes. At a minimum, I would recommend adding a new test that fails due to at least of the conditions reported by GEODE-2109 and then passes with your changes. Example: ` import static org.assertj.core.api.Asse...
https://www.mail-archive.com/dev@geode.apache.org/msg00217.html
CC-MAIN-2017-04
en
refinedweb
You can use a SystemDialog control to ask the user to confirm an action (see Listing 4-22). (Note that you need to import the bb.system 1.2 library.) Listing 4-22. SystemDialog with User Confirmation import bb.cascades 1.2 import bb.system 1.2 Page { Container { layout: DockLayout { } Button { text: "Show Dialog!" vert...
http://academlib.com/22428/computer_science/systemdialog
CC-MAIN-2017-04
en
refinedweb
QuickTime for Java: A Developer's Notebook/Miscellaneous Media From WikiContent Audio and video are the most obvious and prominent kinds of media that can be found in a QuickTime movie, but the story doesn't end there. Take a look at quicktime.std.movies.media, and you'll find more than a dozen subclasses of Media, eac...
http://commons.oreilly.com/wiki/index.php?title=QuickTime_for_Java:_A_Developer's_Notebook/Miscellaneous_Media&oldid=7244
CC-MAIN-2017-04
en
refinedweb
This notebook uses Bayesian methods offered by pymc to estimate two parameters of a univariate first order VAR model. We'll let $\{y_t\}_{t=0}^T$ denote the sample. The model is a good laboratory for illustrating some important issues: The consequences of alternative ways of modeling the distribution of the initial ran...
http://nbviewer.jupyter.org/github/QuantEcon/QuantEcon.notebooks/blob/master/ar1_pymc.ipynb
CC-MAIN-2017-04
en
refinedweb
. 2 comments: Wow... Django's IPv6 validation code is pretty long... I tend to use this instead: import socket from django.core.exceptions import ValidationError def validate_ip_address(value): af = socket.AF_INET6 if ':' in value else socket.AF_INET try: tmp = socket.inet_pton(af, value) except socket.error: raise Val...
http://wadofstuff.blogspot.com/2011/06/django-gets-support-for-ipv6-fields.html
CC-MAIN-2017-04
en
refinedweb
I am currently in the process of updating my codebase to Swift 3.0., and I am using Alamofire. I had to update Alamofire to 4.0 (Alamofire git repo). I have a method to download media (video), and before migration it worked wonderfully. After using Xcode's migration tool I ended up with this error: "Cannot convert valu...
https://codedump.io/share/nkQdFzWxSRKr/1/alamofire-error-after-swift-30-migration-quotcannot-convert-value-of-type-39url-httpurlresponse-gt-url39-to-expected-argument-type-39parameters39quot
CC-MAIN-2017-04
en
refinedweb
The Common Lisp Object System: An Overview - Prosper Snow - 1 years ago - Views: Transcription 1 The Common Lisp Object System: An Overview by Linda G. DeMichiel and Richard P. Gabriel Lucid, Inc. Menlo Park, California 1. Abstract The Common Lisp Object System is an object-oriented system that is based on the concepts...
http://docplayer.net/325142-The-common-lisp-object-system-an-overview.html
CC-MAIN-2017-04
en
refinedweb
public class CleanupFailureDataAccessException extends NonTransientDataAccessException For example, this exception or a subclass might be thrown if a JDBC Connection couldn't be closed after it had been used successfully. Note that data access code might perform resources cleanup in a finally block and therefore log cl...
http://docs.spring.io/spring-framework/docs/3.2.0.M2/api/org/springframework/dao/CleanupFailureDataAccessException.html
CC-MAIN-2017-04
en
refinedweb
import com.sleepycat.je.Transaction; TransactionTriggerdefines the methods that track a transaction through its lifecycle. The following table captures the relationship between transaction lifecycle operations and their trigger methods. WARNING: Only transient triggers are currently supported, and the documention below...
http://grepcode.com/file/repo1.maven.org$maven2@com.fasterxml.transistore$transistore-server@0.9.7@com$sleepycat$je$trigger$TransactionTrigger.java
CC-MAIN-2017-04
en
refinedweb
Red Hat Bugzilla – Bug 657591 Review Request: rubygem-isolate - Very simple RubyGems sandbox Last modified: 2011-01-11 14:54:59 EST Spec URL: SRPM URL: Description: Isolate is a very simple RubyGems sandbox. It provides a way to express and automatically install your project's Gem dependencies. Koji scratch build for F...
https://bugzilla.redhat.com/show_bug.cgi?id=657591
CC-MAIN-2017-04
en
refinedweb
While searching on net I came across many good articles about REST, But I was explicitly searching for a very basic start up example like - "Hello world" program for RESTful service. I got an idea about it from here, but this article is also an one elaborated for me. In this article I am just showing to quickly set up ...
https://www.codeproject.com/tips/497876/quick-start-rest-service-application-in-net?pageflow=fixedwidth
CC-MAIN-2017-04
en
refinedweb
[ ] Advertising ASF GitHub Bot commented on METRON-363: --------------------------------------- Github user kylerichardson commented on a diff in the pull request: --- Diff: metron-platform/metron-parsers/src/main/java/org/apache/metron/parsers/utils/SyslogUtils.java --- @@ -0,0 +1.parsers.utils; + +import java.time.Zo...
https://www.mail-archive.com/issues@metron.incubator.apache.org/msg03136.html
CC-MAIN-2017-04
en
refinedweb
Content-type: text/html #include <netinet/in.h> #include <arpa/nameser.h> #include <resolv.h> int res_mkquery ( int query_type, char *domain_name, int class, int type, char *data, int data_length, struct rrec *reserved, char *buffer, int buf_length ); The res_mkquery() function makes packets for name servers in the Int...
http://backdrift.org/man/tru64/man3/res_mkquery.3.html
CC-MAIN-2017-04
en
refinedweb
binary options replicator the knowledge resided about what to do). F (1976) In vitro transmission and propagation of the bovme leukemia virus m monolayer cell cultures Cancer Res 36,4 152-4 159. Thus, how does the spotlight choose impor- tant events from among all the ongoing sensory information. Andy. We can summarize...
http://newtimepromo.ru/binary-options-replicator-9.html
CC-MAIN-2017-04
en
refinedweb
These notes are for developing a C++ application. If you are a developing a .NET/C# application please see our .NET Wiki instead. Checklist Before we begin, you’ll need the following: - The latest Awesomium 1.7 SDK for Mac OSX (download it here) - An Intel Mac running Mac OS X 10.6 (“Snow Leopard”) or higher. - XCode 3...
http://wiki.awesomium.com/getting-started/setting-up-on-macosx.html
CC-MAIN-2017-04
en
refinedweb
Comment Re:$400 an year for traffic data? better have top (Score 1) 203 I agree $400 per year is quite high considering the alternative, i.e. pay attention. At least this keeps the Audi engineers doing something other than cheating on emissions. I agree $400 per year is quite high considering the alternative, i.e. pay ...
https://slashdot.org/~danceswithtrees/firehose
CC-MAIN-2017-04
en
refinedweb
Reactive Cloud Actors: An Evolvable Web of Events - | - - - - - - Read later My Reading List Carl Hewitt defined the Actor Model in 1973 as a mathematical theory that treats “Actors” as the universal primitives of concurrent digital computation. Actors have been the focus of recent trends in distributed computing. Late...
https://www.infoq.com/articles/reactive-cloud-actors
CC-MAIN-2017-04
en
refinedweb
Before wrapping up this chapter, I want to illustrate how QML and JavaScript can be used for developing a slightly more complex application than the ones shown up to this point. This will also give me the opportunity to explain your application's project structure, something that I skimmed over in Chapter 1 (if you wan...
http://academlib.com/22399/computer_science/scalc_small_calculator
CC-MAIN-2017-04
en
refinedweb
What >>52622464 Thanks, I thought it'd be nice if we started posting programming-related news pieces in the OP Is it worth implementing a 2d vector library using SIMD? >>52622511 maybe if it will operate on many vectors at once git rebase master >>52622511 no i fell for the linux meme what do i do now? >>52622461. >>52...
http://4archive.org/board/g/thread/52622420
CC-MAIN-2017-04
en
refinedweb
Geofencing API Tutorial for Android In this geofence tutorial, you’ll learn how to use Android’s Geofencing API to build an app with custom geofences. Version - Kotlin 1.2, Android 4.4, Android Studio 3 Geofences are a powerful tool in a developer’s arsenal of location tricks to use on Android. Geofences give devices t...
https://www.raywenderlich.com/7372-geofencing-api-tutorial-for-android
CC-MAIN-2019-22
en
refinedweb
In Eclipse the emulator’s GPS coordinates can be set by changing to DDMS view (Window->Open Perspective->DDMS), then setting the location in the Location Controls. As the emulator is listening on localhost:5554 for a telnet-like connection, you can set the coordinates manually using the simple telnet application: telne...
http://blog.teamleadnet.com/2012/08/automatically-setting-gps-location-in.html
CC-MAIN-2019-22
en
refinedweb
Walkthrough: Creating a Custom ASP.NET Web Service Applies to: SharePoint Foundation 2010 This programming task provides an overview of how to create a custom Web service that operates within the context of Microsoft SharePoint Foundation. It steps through the process of creating a simple "Hello World" Web service in M...
https://docs.microsoft.com/en-us/previous-versions/office/developer/sharepoint-2010/ms464040(v=office.14)
CC-MAIN-2019-22
en
refinedweb
31492/command-history-in-interactive-python Try this - os.system("commands and arguments") READ MORE import os os.system('external_command') Replace external_command in the above code ...READ MORE yes, you can use "os.rename" for that. ...READ MORE You can try the below code which ...READ MORE can you give an example? ...
https://www.edureka.co/community/31492/command-history-in-interactive-python
CC-MAIN-2019-22
en
refinedweb
SCTP_PEELOFF(3) Linux Programmer's Manual SCTP_PEELOFF(3) sctp_peeloff - Branch off an association into a separate socket. #include <sys/types.h> #include <sys/socket.h> #include <netinet/sctp.h> int sctp_peeloff(int sd, sctp_assoc_t assoc_id); int sctp_peeloff_flags(int sd, sctp_assoc_t assoc_id, unsigned flags); sctp...
http://man7.org/linux/man-pages/man3/sctp_peeloff.3.html
CC-MAIN-2019-22
en
refinedweb
Bottle is a fast, simple and lightweight WSGI micro web-framework for Python. It is distributed as a single file module and has no dependencies other than the Python Standard Library. I am providing a Setup of 5 stars as bottle is a single file and very very easy to download and get started for anyone with at least som...
http://pythondiary.com/reviews/bottleV0.11.html
CC-MAIN-2019-22
en
refinedweb
Game Development Reference In-Depth Information The reason Flash does this is because it needs a point of refer- ence to be able to instantiate that symbol on the stage if it is used in script somewhere. To see the evidence of this, you can look at all the classes embedded in a compiled SWF inside of FlashDeve- lop. In...
http://nedrilad.com/Tutorial/topic-56/Real-World-Flash-Game-Development-55.html
CC-MAIN-2017-39
en
refinedweb
In this post I hope to clear up some misconceptions about the use of threads in ASP.NET applications so that you know the best way to perform asynchronous work in your ASP.NET applications. If you’re in a hurry and don’t want to read the rest of this, then I suggest that you use PageAsyncTask to execute work asynchrono...
https://blogs.msdn.microsoft.com/tmarq/2010/04/14/performing-asynchronous-work-or-tasks-in-asp-net-applications/
CC-MAIN-2017-39
en
refinedweb
Polyspace (Mathworks) for static code analysis Has anyone successfully used Polyspace (for static code analysis) with their -QT- Qt project? Ive encountered a few difficulties with the configuration. Im currently getting a compilation error related with -QT- Qt's foreach statement which stops the analysis. Any hints wo...
https://forum.qt.io/topic/14283/polyspace-mathworks-for-static-code-analysis
CC-MAIN-2017-39
en
refinedweb
Swing Section Index | Page 5 How can I create a dockable toolbar? Swing provides support for docking toolbars using the BorderLayout layout manager. Simply add a toolbar to a container that has a BorderLayout, set the toolbar to "floatable" and you can drag it o...more Can I use Windows Look-and-Feel on a Unix (Linux/S...
http://www.jguru.com/faq/client-side-development/swing?page=5
CC-MAIN-2017-47
en
refinedweb
can automatically map complex C# Types to simpler SQL types. Case 1: Strongly Typed Identities to SQL ints A complex web application can end up passing object id’s through any number of controller methods, business functions, or storage calls. It’s not hard to end up with a smattering of integer or GUIDs in the applic...
http://blogs.lessthandot.com/index.php/desktopdev/mstech/csharp/mapping-complex-types-tofrom-the-db-with-petapoco/
CC-MAIN-2017-47
en
refinedweb
NAME dlmake - log creation of logical RMSfile SYNOPSIS #include <cbase/dbase.h> #include <cbase/logfile.h> dlmake (lname, nrecs, deffile) char *lname, deffile; long nrecs; DESCRIPTION Dlmake records a marker in the current log file to create a logical RMSfile with a given size and format. The new RMS definition file is...
http://www.conetic.com/helpdoc/cbautil/cbautil00000075.html
CC-MAIN-2017-47
en
refinedweb
Implement a basic layout. More... #include <log4c/defs.h> #include <log4c/layout.h> Go to the source code of this file. Implement a basic layout. In log4j.PatternLayout conventions, the basic layout has the following conversion pattern: "%P %c - %m\n". Where "%P"is the priority of the logging event "%c"is the category ...
http://log4c.sourceforge.net/layout__type__basic_8h.html
CC-MAIN-2017-47
en
refinedweb
#include "petscts.h" PetscErrorCode TSSetForcingFunction(TS ts,TSForcingFunction func,void *ctx)Logically Collective on TS func (TS ts,PetscReal t,Vec f,void *ctx); This replaces the ODE F(u,u_t,t) = 0 the TS is solving with F(u,u_t,t) - func(t) = 0 This forcing function does not depend on the solution to the equations...
http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/TS/TSSetForcingFunction.html
CC-MAIN-2017-47
en
refinedweb
I'm trying to create a universal windows platform c# program that includes a network map. UWP c# doesn't include any built in pinging tools and system.net.pinging won't install. How can I ping using the windows.network.sockets namespace to find out what computers are on the network (and their mac address, hostname and ...
https://codedump.io/share/D77Ew9D9Czq7/1/pinging-in-c-uwp
CC-MAIN-2017-47
en
refinedweb
Red Hat Bugzilla – Bug 11466 ElectricFence crashes when EF_PROTECT_FREE is set Last modified: 2008-05-01 11:37:55 EDT In gdb, with an application linked against -lefence, I ran "set environment EF_PROTECT_FREE 1" before starting the application. Shortly after I started it, the application exited and I saw this mesage: ...
https://bugzilla.redhat.com/show_bug.cgi?id=11466
CC-MAIN-2017-47
en
refinedweb
public class TaskExecutorFactoryBean extends Object implements FactoryBean<TaskExecutor>, BeanNameAware, InitializingBean, DisposableBean clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait public TaskExecutorFactoryBean() public void setPoolSize(String poolSize) public void setQu...
https://docs.spring.io/spring/docs/3.2.2.RELEASE/javadoc-api/org/springframework/scheduling/config/TaskExecutorFactoryBean.html
CC-MAIN-2017-47
en
refinedweb
2 The Tkinter GUI toolkit's canvas object is very nice for all sorts of drawings and plotting. However, when it comes to saving the image Tkinter limits you to postscript printer files. One solution is to draw the same image in parallel on PIL's image-draw object in memory. This is made relatively simple, as the Tkinte...
https://www.daniweb.com/software-development/python/code/216929/saving-a-tkinter-canvas-drawing-python
CC-MAIN-2015-11
en
refinedweb
grunt-typescript-export Concat .d.ts from multiple files to provide an implicit module declaration for a npm package. grunt-typescript-export Generates a single index.d.ts file for your NPM package implemented in TypeScript by concatenating per-file d.ts files, wrapping them all into an implicit module declaration and ...
https://www.npmjs.com/package/grunt-typescript-export
CC-MAIN-2015-11
en
refinedweb
Maheshkumar S Tiwari (MVP) When: 12 Aug 2013 1:07 PM Last revision by Steef-Jan Wiggers (MVP, Microsoft Partner) When: 1 Jan 2015 12:28 PM Revisions: 54 29 > BizTalk Developer Interview Questions and Answers - Schema BizTalk Developer Interview Questions and Answers - Schema Article History BizTalk Developer Interview...
http://social.technet.microsoft.com/wiki/contents/articles/19063.biztalk-developer-interview-questions-and-answers-schema.aspx
CC-MAIN-2015-11
en
refinedweb
The Environmental Impact of PHP Compared To C++ On Facebook 752 Kensai7 writes "Recently, Facebook provided us with some information on their server park. They use about 30,000 servers, and not surprisingly, most of them are running tons of CO2 per year. Of course, it is a bit unfair to isolate Facebook here. Their ser...
http://developers.slashdot.org/story/09/12/20/1433257/the-environmental-impact-of-php-compared-to-c-on-facebook
CC-MAIN-2015-11
en
refinedweb
. Now to see if we can use the plots as a click track detector. I started with a track where I knew the drummer didn’t use a click track. I’m pretty sure that Ringo never used one – so I started with the old Beatle’s track – Dizzy Miss Lizzie. Here’s the resulting plot: This plot shows the beat duration variation (in s...
http://musicmachinery.com/2009/03/02/in-search-of-the-click-track/?like=1&source=post_flair&_wpnonce=ad7ead3064
CC-MAIN-2015-11
en
refinedweb
.NET Tip: Restrict the Access to Your Properties! I recommend using a read-only interface to prevent unwanted changes to inherited properties. I work with location data constantly when tracking various assets, so I use a GPSLocation class to keep track of location, speed, and direction data. Then, in my Asset class, I ...
http://www.codeguru.com/csharp/csharp/cs_syntax/inheritance/article.php/c14067/NET-Tip-Restrict-the-Access-to-Your-Properties.htm
CC-MAIN-2015-11
en
refinedweb
csSectorHitBeamResult Struct Reference [Crystal Space 3D Engine] Return structure for the iSector->HitBeam() routines. More... #include <iengine/sector.h> Detailed Description Return structure for the iSector->HitBeam() routines. Definition at line 149 of file sector.h. Member Data Documentation The documentation for t...
http://www.crystalspace3d.org/docs/online/api-1.4.1/structcsSectorHitBeamResult.html
CC-MAIN-2015-11
en
refinedweb
14 June 2011 18:43 [Source: ICIS news] By Clay Boswell NEW YORK (ICIS)--MDI (methyl di-p-phenylene isocyanate) is likely to be in short supply through 2015, Peter Vanacker, head of polyurethanes business at ?xml:namespace> “There have been a lot of announcements on MDI investments for 2015 and beyond, but it’s going to...
http://www.icis.com/Articles/2011/06/14/9469504/mdi-will-be-snug-through-2015.html
CC-MAIN-2015-11
en
refinedweb
The Braaain 1.0 Halloween time again. Last year I tried to do a simple little hardware project to make my emoticon pumpkins glow. That’s cute and all but not very difficult. This year, I decided to work on this idea I’ve had for more than a year and a half. The Brain – a silicone based brain with controllable LEDs insi...
http://www.interlockroc.org/2013/11/02/the-braaain-1-0/
CC-MAIN-2015-11
en
refinedweb
#include <cx/DataAccess.h>integer function cxConnEleSet (src, index, numconnections, connections) cxErrorCode cxConnEleSet(cxConnection *src, long index, long numConnections, long *connections) integer src integer index integer numconnections integer connections(numconnections) - src - Input connection list data struct...
http://www.nag.co.uk/visual/IE/iecbb/DOC/html/unix-ref/man3/cxconneleset.htm
CC-MAIN-2015-11
en
refinedweb
This document describes the RDFa Vocabulary for Term and Prefix Assignment. The Vocabulary is used to modify RDFa 1.1 processing behavior. The URI of the vocabulary is (abbreviated by rdfa: in this document). Turtle and an RDF/XML versions of the vocabulary are also available. The vocabulary is published by W3C For a p...
http://www.w3.org/ns/rdfa.html
CC-MAIN-2015-11
en
refinedweb
The parsing and tag creation in this module are based on the specifications in EPCGlobal's *EPC Tag Data Standards Version 1.1 Rev.1.24*, from April 1st 2004 (although it doesn't appear to be a joke...). See <> for more in...GIFF/RFID-EPC-0.002 - 08 Jul 2004 00:32:08 GMT - Search in distribution Constants Tag Type Cons...
https://metacpan.org/search?q=RFID-EPC
CC-MAIN-2015-11
en
refinedweb
That is one nice thing about Sewards code concept. His code computes a median value of a sample of the readings and uses that median to transform the readings into bits. So far only rudimentary ones. Terse much? I've ran across tinkerit's TrueRandom library. Maybe that will give you better results? ... No. It has at le...
http://forum.arduino.cc/index.php?topic=77695.msg791969
CC-MAIN-2015-11
en
refinedweb
Programming in Java Practical Class Table of Contents Last week you improved the error handling of your program by catching errors and throwing exceptions. You did this by defining your own exception, PatternFormatException, which extended the class Exception. This week you will explore what "extending" a class actuall...
http://www.cl.cam.ac.uk/teaching/1314/ProgJava/workbook5.html
CC-MAIN-2015-11
en
refinedweb
void* bsearch (const void* key, const void* base, size_t num, size_t size, int (*compar)(const void*,const void*)); void*pointer to a matching element, if found. void*. void*. const void*). The function shall return (in a stable and transitive manner): 0), this may point to any of them (not necessarily the first one). ...
http://www.cplusplus.com/reference/cstdlib/bsearch/
CC-MAIN-2015-11
en
refinedweb
hey, I'm trying to complete q3 from this pdf. here is what ive written, so far it draws the middle line and the top box, but to me it looks like the label is off. ive checked it and gone through it on paper and to me it should work fine (in theory), so now id like some help, see if someone else can spot my problem here...
http://www.javaprogrammingforums.com/whats-wrong-my-code/1460-centering-label-inside-rectangle.html
CC-MAIN-2015-11
en
refinedweb
public class PluggableSchemaResolver extends Object implements EntityResolver EntityResolverimplementation that attempts to resolve schema URLs into local classpath resourcesusing a set of mappings files. By default, this class will look for mapping files in the classpath using the pattern: META-INF/spring.schemas allo...
http://docs.spring.io/spring/docs/3.2.1.RELEASE/javadoc-api/org/springframework/beans/factory/xml/PluggableSchemaResolver.html
CC-MAIN-2015-11
en
refinedweb
NAME pthread_detach - detach a thread SYNOPSIS #include <pthread.h> int pthread_detach(pthread_t thread); Compile and link with -pthread.. RETURN VALUE On success, pthread_detach() returns 0; on error, it returns an error number. ERRORS EINVAL thread is not a joinable thread. ESRCH No thread with the ID thread could be...
http://manpages.ubuntu.com/manpages/precise/man3/pthread_detach.3.html
CC-MAIN-2015-11
en
refinedweb
I'm using DFS to access varios shares on a server using a domain namespace - like \mydomain.local\docs. The DFS shares are not replicated. The shares are located on a DC After rebooting the host the shares become unavailable from the client machines until they too reboot or restart the dfs client service. I've seen a s...
http://serverfault.com/questions/300449/access-to-dfs-shares-fails-after-reboot
CC-MAIN-2015-11
en
refinedweb
The C# Unary operators are also called increment and decrement operators. These C# unary operators generally used in the loop concepts. The C# Increment Operators are of two types: pre-increment(++i) and post-increment(i++). And the C# Decrement Operators are also of two types: post-decrement(i–) and pre-decrement(–i)....
https://www.tutorialgateway.org/csharp-unary-operators/
CC-MAIN-2021-43
en
refinedweb
Introduction to Groovy Part 3 Join the DZone community and get the full member experience.Join For Free In this third installment ofIntroduction to Groovy (part 1, part 2) we will continue looking at some features of the Groovy language. Some you may find them on other languages, but some are exclusive to Groovy. Varar...
https://dzone.com/articles/introduction-groovy-part-3
CC-MAIN-2021-43
en
refinedweb
; Getting Started For each algorithm you can see the examples in the provided colab or in the repo itself. For VAD we also provide streaming examples for a single stream and multiple streams. import torch torch.set_num_threads(1) from pprint import pprint model, utils = torch.hub.load(repo_or_dir='snakers4/silero-vad',...
https://habr.com/en/post/537276/
CC-MAIN-2021-43
en
refinedweb
Psutil is a python based library, it provides an interface to monitor your computer system's resources. You can use this utility and its available APIs to find out all details about currently running processes, their resource consumption like memory, network and disk usage etc. It is a cross-platform application which ...
https://linoxide.com/psutil-library-fectch-process-information/
CC-MAIN-2021-43
en
refinedweb
GREPPER SEARCH SNIPPETS USAGE DOCS INSTALL GREPPER All Languages >> Whatever >> how to differential backup “how to differential backup” Code Answer how to differential backup whatever by Glamorous Goosander on Feb 22 2021 Comment 0 BACKUP DATABASE AdventureWorks TO DISK = 'C:\AdventureWorks.DIF' WITH DIFFERENTIAL GO So...
https://www.codegrepper.com/code-examples/whatever/how+to+differential+backup
CC-MAIN-2021-43
en
refinedweb
Examples: Conveyor Belt¶ This document shows how to use Ned’s Conveyor Belt. If you want to see more about Ned’s Conveyor Belt functions, you can look at PyNiryo - Conveyor Danger If you are using the real robot, make sure the environment around it is clear. Simple Conveyor control¶ This short example shows how to conn...
https://docs.niryo.com/dev/pyniryo/v1.0.5/en/source/examples/examples_conveyor.html
CC-MAIN-2021-43
en
refinedweb
#include <itkImageIterator.h> A multi-dimensional iterator templated over image type. This is a base class of ImageConstIterator that adds write-access functionality. Please see ImageConstIterator for more information. Definition at line 65 of file itkImageIterator.h. Accessor type that convert data between internal an...
https://itk.org/Doxygen/html/classitk_1_1ImageIterator.html
CC-MAIN-2021-43
en
refinedweb
From: Markus Schöpflin (markus.schoepflin_at_[hidden]) Date: 2004-08-31 03:59:47 Jeff Garland wrote: > On Mon, 30 Aug 2004 13:25:51 +0200, Markus Schöpflin wrote ... >> [lib.facets.examples] doesn't say so but most examples I could find >> either have a default constructor or a constructor taking a reference >> count. ...
https://lists.boost.org/Archives/boost/2004/08/71034.php
CC-MAIN-2021-43
en
refinedweb
From: Eric Niebler (eric_at_[hidden]) Date: 2008-03-31 02:11:30 Larry Evans wrote: > > The file, expk_test.zip here: > > > > Contains a prototype where tags contain the arity. This prototype > enables initialization like: > <===== cut here ======= > > using namespace boost::proto; > > typedef > tags::tag_kind_arity<tag...
https://lists.boost.org/Archives/boost/2008/03/135227.php
CC-MAIN-2021-43
en
refinedweb
Andy Levy wrote: > > On Mon, Nov 23, 2009 at 00:36, SVram <malsam.v2_at_gmail.com> wrote: >> As said installed VS2008 and now everything is in good position. Ran the >> nant >> setup and it went on for nearly 8 hours in my system (p4 1gigs ram) >> Finally >> it threw an error in the final part of the script like as fol...
https://svn.haxx.se/tsvnusers/archive-2009-11/0340.shtml
CC-MAIN-2021-43
en
refinedweb
Type.GetTypeFromProgID Method (String) .NET Framework (current version) Namespace: System Gets the type associated with the specified program identifier (ProgID), returning null if an error is encountered while loading the Type. Assembly: mscorlib (in mscorlib.dll) Parameters - progID - Type: System.String The ProgID o...
https://msdn.microsoft.com/en-us/library/hss5hw09.aspx?cs-save-lang=1&cs-lang=vb
CC-MAIN-2017-47
en
refinedweb
I was delighted to find that the Task Factory has the ability to use a custom scheduler. The scheduler controls when tasks begin and how many threads are available to process incoming tasks. Perfect. I just needed a single threaded implementation that processes in the same order as they are queued. Even better, the MSD...
http://blog.rees.biz/2011/01/customising-taskfactory-scheduler.html
CC-MAIN-2017-47
en
refinedweb