text stringlengths 20 1.01M | url stringlengths 14 1.25k | dump stringlengths 9 15 ⌀ | lang stringclasses 4
values | source stringclasses 4
values |
|---|---|---|---|---|
all about I/O ------------- computers aren't useful unless we can put data into them, and get results out. input -- data to computer output -- data from computer computer model: ----- -------- |CPU| <----> |memory| ----- ^ -------- | | \ / ----- |i/o| ----- examples of input devices: keyboard, mouse, network, disk, ?? ... | http://pages.cs.wisc.edu/~smoler/x86text/lect.notes/io.html | crawl-003 | en | refinedweb |
Operating systems, development tools, and professional services
for connected embedded systems
for connected embedded systems
pthread_key_delete()
Delete a thread-specific data key
Synopsis:
#include <pthread.h> int pthread_key_delete( pthread_key_t key );
Arguments:
- key
- The key, which you created by calling pthrea... | http://www.qnx.com/developers/docs/6.3.2/neutrino/lib_ref/p/pthread_key_delete.html | crawl-003 | en | refinedweb |
for connected embedded systems
pthread_join()
Join thread
Synopsis:
#include <pthread.h> int pthread_join( pthread_t thread, void** value_ptr );().
Classification:
See also:
pthread_create(), pthread_detach(), pthread_exit(), pthread_timedjoin(), ThreadJoin(), ThreadJoin_r() | http://www.qnx.com/developers/docs/6.3.2/neutrino/lib_ref/p/pthread_join.html | crawl-003 | en | refinedweb |
User Name:
Published: 09 Aug 2010
By: Xianzhong Zhu.
As is well known, Shader Effect is a great thing supported with the release of WPF 3.0/ Silverlight 3.0. However, WPF only comes with five kinds of bitmap effects and two kinds of rendering effects while Silverlight only supports two kinds of rendering effects: BlurE... | http://dotnetslackers.com/articles/silverlight/Using-Custom-Effect-to-Create-Silverlight-4-Animation.aspx | crawl-003 | en | refinedweb |
After the Server Core installation is complete and the server is configured, you can install one or more optional features. The Server Core installation of Windows Server 2008 R2 supports the following optional features:
The following procedure describes how to install these features on a server running a Server Core i... | http://technet.microsoft.com/en-us/library/ee441253(WS.10).aspx | crawl-003 | en | refinedweb |
derwin, newwin, subwin - window creation functions
#include <curses.h> WINDOW *derwin(WINDOW *orig, int nlines, int ncols, int begin_y, int begin_x); WINDOW *newwin(int nlines, int ncols, int begin_y, int begin_x); WINDOW *subwin(WINDOW *orig, int nlines, int ncols, int begin_y, int begin_x);
The derwin() function is t... | http://pubs.opengroup.org/onlinepubs/7990989799/xcurses/derwin.html | crawl-003 | en | refinedweb |
More like this
- Decorator to logout user based on a test and/or redirect to another url by vemubalu 1 year, 5 months ago
- login_required decorator that doesn't redirect by brutasse 1 year, 3 months ago
- Internet Explorer Redirect Decorator by johnboxall 3 years, 7 months ago
- LoginRequired class-based view decorato... | http://djangosnippets.org/snippets/2103/ | crawl-003 | en | refinedweb |
java.lang.Object
chord.project.Bootchord.project.Boot
public class Boot
Entry point of Chord before JVM settings are resolved. Resolves JVM settings and spawns Chord in a fresh JVM process with those settings. The system properties in the current JVM are altered as follows (in order): 1. Property chord.main.dir is set ... | http://www.cc.gatech.edu/computing/pag/chord/javadoc/chord/project/Boot.html | crawl-003 | en | refinedweb |
FTW(3) BSD Programmer's Manual FTW(3)
ftw, nftw - traverse (walk) a file tree
#include <ftw.h> int ftw(const char *path, int (*fn)(const char *, const struct stat *, int), int maxfds); int nftw(const char *path, int (*fn)(const char *, const struct stat *, int, struct FTW *), int maxfds, int flags);
These functions are... | http://mirbsd.mirsolutions.de/htman/i386/man3/ftw.htm | crawl-003 | en | refinedweb |
for connected embedded systems
ApAppendTranslation()
Append external translation files to an application's translation list
Synopsis:
#include <Ap.h> int ApAppendTranslation( char const *filename, char const *lang_extension );
Arguments:
- filename
- The name of the translation file that you want to append.
- lang_exte... | http://www.qnx.com/developers/docs/6.3.2/photon/lib_ref/ap/apappendtranslation.html | crawl-003 | en | refinedweb |
#include <itkMixtureModelComponentBase.h>
Inheritance diagram for itk::Statistics::MixtureModelComponentBase< TSample >:
This class expects that its subclasses (distribution components) should have analytical expressions for updating its paraters using only the measurement vectors and their associated weights.
This cla... | http://www.itk.org/Doxygen16/html/classitk_1_1Statistics_1_1MixtureModelComponentBase.html | crawl-003 | en | refinedweb |
utimes - set file access and modification times
#include <sys/time.h> int utimes(const char *path, const struct timeval times[2]);
The utimes() function sets appropriate privileges to use this call in this manner. Upon completion, utimes() will mark the time of the last file status change, st_ctime, for update.
Upon su... | http://pubs.opengroup.org/onlinepubs/7990989775/xsh/utimes.html | crawl-003 | en | refinedweb |
#include <rtt/dev/DigitalInInterface.hpp>
When there are N bits, the bits are numbered from Zero to N-1.
Definition at line 54 of file DigitalInInterface.hpp.
Construct a nameserved DigitalInInterface instance.
The object can then be retrieved using DigitalInInterface::nameserver .
Definition at line 65 of file Digital... | http://people.mech.kuleuven.be/~orocos/pub/stable/documentation/rtt/v1.8.x/api/html/classRTT_1_1DigitalInInterface.html | crawl-003 | en | refinedweb |
According to the first principle of S.O.L.I.D, SRP – Single Responsibility Principle, a class should have one responsibility, shortly, it should have only one reason to change.
Example
Let assume that we have to create a software for importing CSV data to the database.
“Fast & Dirty”
Reading directly from the CSV file ... | http://blogs.microsoft.co.il/blogs/smallfish/archive/2009/09/25/programming-tip-for-easier-life-or-applying-srp-principle-on-variables-enums.aspx | crawl-003 | en | refinedweb |
.
The application discussed in this post will keep the initial album carousel screen shown above but add an alternate view for users to look at. It also adds an album details screen that shows the album cover, title, pricing and songs for a given album. Let's take a look at changes made to the initial screen to provide... | http://weblogs.asp.net/dwahlin/archive/2011/01/23/migrating-a-silverlight-application-to-windows-phone-7-part-ii.aspx | crawl-003 | en | refinedweb |
I have the opportunity to teach a lot of people about Silverlight (among other technologies) and one of the topics. In this post I wanted to put together a (hopefully) simple explanation of dependency properties and why you should care about them if you’re currently working with Silverlight or looking to move to it.
XA... | http://weblogs.asp.net/dwahlin/archive/2011/01/09/demystifying-silverlight-dependency-properties.aspx | crawl-003 | en | refinedweb |
for connected embedded systems
setbuffer()
Assign block buffering to a stream
Synopsis:
#include <unix.h> void setbuffer( FILE *iop, char *abuf, size_t asize );
Arguments:
- iop
- The stream that you want to set the buffering for.
- abuf
- NULL, or a pointer to the buffer that you want the stream to use.
- asize
- The ... | http://www.qnx.com/developers/docs/6.3.2/neutrino/lib_ref/s/setbuffer.html | crawl-003 | en | refinedweb |
Course material 2010–11
Operating Systems
Principal lecturer: Dr Steven Hand
Taken by: Part IA CST
Syllabus
Past exam questions
Information for supervisors (contact lecturer for access permission)
Aims
The overall aim of this course is to provide a general understanding of how low-level computer software works. This in... | http://www.cl.cam.ac.uk/teaching/1011/OpSystems/ | crawl-003 | en | refinedweb |
Note: This tutorial is most likely to be helpful to you if you have not run any Beta job in many months (or at all). If you have run Beta successfully in the last two or three months, you probably already know most of what's here.
This tutorial is created partially from material found in the BaBar Offline Workbook, the... | http://www.slac.stanford.edu/BFROOT/www/doc/tutorials/15May2000_BetaKanga_Tutorial/beta_tutorial_May2000.html | crawl-003 | en | refinedweb |
Test problems with discontinuity over an interface with Lagrange multipliers for the mean of the normal derivative. More...
#include <testMixedNonCont.hh>
Test problems with discontinuity over an interface with Lagrange multipliers for the mean of the normal derivative.
Definition at line 27 of file testMixedNonCont.hh... | http://www.math.ethz.ch/~concepts/doxygen/html/classtest_1_1MixedNonContTest.html | crawl-003 | en | refinedweb |
#include <itkEllipsoidInteriorExteriorSpatialFunction.h>
Inheritance diagram for itk::EllipsoidInteriorExteriorSpatialFunction< VDimension, TInput >:
Reimplemented from itk::InteriorExteriorSpatialFunction< VDimension, TInput >.
Definition at line 48 of file itkEllipsoidInteriorExteriorSpatialFunction.h.
Input type for... | http://www.itk.org/Doxygen16/html/classitk_1_1EllipsoidInteriorExteriorSpatialFunction.html | crawl-003 | en | refinedweb |
ASP.NET 2.0 brought with it a new compilation model for Web Applications (together with a new Project Model for them, the Web Site Project (WSP) model).
The WSP project model for Web Applications is extremely productive for program development due to its "Edit & Continue" features. However, the older ASP.NET 1.x WAP pr... | http://www.codeproject.com/Articles/36690/WSP-to-WAP-and-vice-versa-in-under-5-minutes | crawl-003 | en | refinedweb |
Exceptions thrown by vidl. More...
#include <vcl_iostream.h>
#include <vcl_string.h>
Go to the source code of this file.
Exceptions thrown by vidl.
This file contains a replica of Ian Scott's exception mechanism as coded in vil_exception.h and mbl_exception.h. However, it encapsulates the exceptions thrown by the vidl ... | http://public.kitware.com/vxl/doc/release/core/vidl/html/vidl__exception_8h.html | crawl-003 | en | refinedweb |
#include <ClpPrimalColumnPivot.hpp>
Inheritance diagram for ClpPrimalColumnPivot: 22rimalColumnDantzig, ClpPrimalColumnSteepest, and ClpPrimalQuadraticDantzig.
Updates weights - part 1 (may be empty).
Reimplemented in ClpPrimalColumn) forces some initialization e.g. weights Also sets model
Implemented in ClpPrimalColum... | http://www.coin-or.org/Doxygen/CoinAll/class_clp_primal_column_pivot.html | crawl-003 | en | refinedweb |
#include <CmdMol.h>
#include <CmdMol.h>
Inheritance diagram for CmdMolRepColorUpdate:
Definition at line 280 of file CmdMol.h.
[inline]
Definition at line 290 of file CmdMol.h.
References Command::MOL_REPCOLORUPDATE, onoroff, repn, and whichMol.
[protected, virtual]
virtual function which is called when a text version ... | http://www.ks.uiuc.edu/Research/vmd/doxygen/classCmdMolRepColorUpdate.html | crawl-003 | en | refinedweb |
#include <NOX_LineSearch_NonlinearCG.H>
Inheritance diagram for NOX::LineSearch::NonlinearCG:
This is a simple linesearch intended to be used with NOX::Direction::NonlinearCG, which provides search direction
, in computing an update to the current solution vector
. It is designed to compute a step length
consistent wit... | http://trilinos.sandia.gov/packages/docs/r10.0/packages/nox/doc/html/classNOX_1_1LineSearch_1_1NonlinearCG.html | crawl-003 | en | refinedweb |
Let's take a look at a very simple example of an asychronous task using jQuery and its ajax method to load a file of data.
task.spawn(function() { var data = yield $.ajax("text.html"); $('#result').html(data);});
All of the Task.js methods are within the task namespace.
The spawn function adds the task to the scheduler... | http://i-programmer.info/programming/javascript/5815-taskjs-asynchronous-tasks-in-javascript.html?start=1 | CC-MAIN-2014-10 | en | refinedweb |
Steganography made simple.
Lemon juice on paper never worked for me, and (as I discovered when I tried to devise a title for an earlier post).
'''Digital image steganography based on the Python Imaging Library (PIL) Any message can be hidden, provided the image is large enough. The message is packed into the least sign... | http://wordaligned.org/articles/steganography | CC-MAIN-2014-10 | en | refinedweb |
The Hashbelt Data Structure
Pages: 1, 2, 3, 4, 5:
grosso.expiration
grosso.collections
AbstractHashbeltExpirationSystem. This is an abstract base class. It implements the ExpirationSystem interface and handles most of the basic bookkeeping for implementations of the hashbelt algorithm.
AbstractHashbeltExpirationSystem
... | http://www.onlamp.com/pub/a/onjava/2002/01/30/dataexp2.html?page=3 | CC-MAIN-2014-10 | en | refinedweb |
There are certain truths in the world: we're born, we die, and URLs should end with a slash if it doesn't point to a file. The ASP.NET MVC framework bucks tradition and convention, and the built-in methods that generate URLs do so by omitting the trailing slash. It may seem like a non-issue (and to many people it's not... | http://code.tutsplus.com/articles/generating-traditional-urls-with-aspnet-mvc3--net-20953 | CC-MAIN-2014-10 | en | refinedweb |
then having a smart lawyer makes a man innocent. Do not use it like that ever. Even in versions where it was accepted, it made the function execution slower, because the compiler could not be certain which names are local and which are question builtins:
This is a “don’t” which is much weaker then the previous “don’t”... | http://docs.python.org/3.0/howto/doanddont.html | CC-MAIN-2014-10 | en | refinedweb |
10 February 2011 17:24 [Source: ICIS news]
By Joe Kamalick
WASHINGTON (ICIS)--Congressional Republicans this week launched their case against federal rules limiting industrial emissions of greenhouse gases (GHG), attacking the regulations on legal and practical grounds with a goal of completely undoing the policy.
The ... | http://www.icis.com/Articles/2011/02/10/9433987/insight-house-panel-builds-case-against-epa-climate-rules.html | CC-MAIN-2014-10 | en | refinedweb |
19 June 2012 07:58 [Source: ICIS news]
SINGAPORE (ICIS)--?xml:namespace>
The unit was shut on 11 June for maintenance, added the source.
The company has ample inventories for supply during the shutdown period, according to the source.
The company usually produces 200 tonnes/day of MTBE and supplies chemical factories i... | http://www.icis.com/Articles/2012/06/19/9570660/chinas-shandong-qiwangda-group-to-restart-mtbe-unit-in-mid-july.html | CC-MAIN-2014-10 | en | refinedweb |
Toasts
A SystemToast displays a small message that expires and disappears after a predefined amount of time. This message provides users with information and allows them to continue with the application after the toast expires.
A SystemToast uses a dark theme. This approach makes the toast very distinctive on the brigh... | https://developer.blackberry.com/native/documentation/cascades/ui/dialogs_toasts/toasts.html | CC-MAIN-2014-10 | en | refinedweb |
SLEEP(3) BSD Programmer's Manual SLEEP(3)
sleep - suspend process execution for interval of seconds
#include <unistd.h> unsigned int sleep(unsigned int seconds);). 7 AT&T UNIX.. | https://www.mirbsd.org/htman/i386/man3/sleep.htm | CC-MAIN-2014-10 | en | refinedweb |
To find out the release version of Xerces, execute the following:
java org.apache.xerces.impl.Version.
java org.apache.xerces.impl.Version
Please refer to the Reporting bugs in JIRA.
In order to take advantage of the fact that this parser is
very often used in conjunction with other XML technologies,
such as XSLT proce... | https://xerces.apache.org/xerces2-j/faq-general.html | CC-MAIN-2014-10 | en | refinedweb |
Breaking up is hard to do (to member functions):
- Cannot be virtual (if it goes in the vtable, it goes in the ‘class’ def,
- Cannot be abstract (since you’d have to declare it in the class),
- Cannot share a name with a well-defined member function or variable,
- Not visible to derived classes even if they are in the ... | http://kfsone.wordpress.com/2012/11/19/breaking-up-is-hard-to-do-to-member-functions/ | CC-MAIN-2014-10 | en | refinedweb |
give some idea for installed tomcat version 5 i have already tomcat 4
how to call jsp from flex
how to call jsp from flex hi,
i want to know that how can i call a FLEX from JSP.
. A good Example will be appreciated
Diff ways to call a EJB from Servlet, JSP - Java Interview Questions
Diff ways to call a EJB from Servle... | http://roseindia.net/tutorialhelp/comment/5224 | CC-MAIN-2014-10 | en | refinedweb |
01 March 2010 15:56 [Source: ICIS news]
LONDON (ICIS news)--European polypropylene (PP) prices have a reached a 15-month high as buyers complain that they have been unable to recover the hefty increases foisted on them this year, several said on Monday.
“It’s not easy,” said one large buyer. “[Producers] will have to b... | http://www.icis.com/Articles/2010/03/01/9338844/europe-pp-buyers-grim-as-prices-reach-15-month-high.html | CC-MAIN-2014-10 | en | refinedweb |
On Thursday 21 September 2006 23:32, Davide Viti wrote: I have just tested keymap switching with a slightly modified patch (attached) with the current 2.8 GTK libs. Attilio: is this patch OK with you? The testresults: - keymap switching works now :-) - VT1 does get quite a few messages "Reloading keymap" and "Reloaded ... | https://lists.debian.org/debian-boot/2006/09/msg00940.html | CC-MAIN-2014-10 | en | refinedweb |
13 November 2012 10:07 [Source: ICIS news]
SINGAPORE (ICIS)--China has imposed temporary antidumping measures on imports of toluene diisocyanate (TDI) originating in the EU, the country's Ministry of Commerce announced on Tuesday.
Effective 13 November, a security deposit ranging from 6.6%-37.7% will be levied on produ... | http://www.icis.com/Articles/2012/11/13/9613382/china-issues-temporary-antidumping-measure-on-tdi-imports-from-eu.html | CC-MAIN-2014-10 | en | refinedweb |
[CLOSED [2.0 M1/M2/M3] RowLayout problem
[CLOSED [2.0 M1/M2/M3] RowLayout problem
I don't know how to explain this problem but I'll do my best. I hope you understand me! hehe
- Detailed description of the problem:
I have a window with FitLayout setted. In this window I've attached a LayoutContainer which uses a RowLayo... | http://www.sencha.com/forum/showthread.php?72447-CLOSED-2.0-M1-M2-M3-RowLayout-problem | CC-MAIN-2014-10 | en | refinedweb |
On Thu, Mar 15, 2012 at 1:17 PM, PJ Eby <pje at telecommunity.com> wrote: > On Thu, Mar 15, 2012 at 1:50 PM, Guido van Rossum <guido at python.org> wrote: >> >> How would you implement that anyway? > > > From the PEP: > > """If the parent package does not exist, or exists but lacks > a __path__ attribute, an attempt is... | https://mail.python.org/pipermail/import-sig/2012-March/000450.html | CC-MAIN-2014-10 | en | refinedweb |
Configuring the Production
This chapter describes the process of creating and configuring an X12 Production. It contains the following sections:
Creating a new X12 Production
Adding an X12 Business Service
Adding an X12 Business Process
Adding an X12 Routing Rule
Adding an X12 Business Operation
Be sure to perform all ... | https://docs.intersystems.com/healthconnectlatest/csp/docbook/Doc.View.cls?KEY=EX12_production | CC-MAIN-2020-45 | en | refinedweb |
Discover and use UARTs and serial ports in Elixir
Available items
The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:
Circuits.UARTallows you to use UARTs, serial ports, Bluetooth virtual serial port connections an... | https://xscode.com/elixir-circuits/circuits_uart | CC-MAIN-2020-45 | en | refinedweb |
Get IP address from hostname in C++ for Windows
In this tutorial, we are going to learn what is an IP address, hostname and later we will learn how to get the IP address from the hostname for Windows in C++ program.
Each device that is connected to a network must be uniquely identified. This is needed for communication... | https://www.codespeedy.com/get-ip-address-from-hostname-in-cpp-for-windows/ | CC-MAIN-2020-45 | en | refinedweb |
Cisco
December 2007
Presence Authorization.
Table of Contents
1. Introduction ....................................................2 2. Terminology .....................................................3 3. Structure of Presence Authorization Documents ...................3 3.1. Conditions ................................... | http://pike.lysator.liu.se/docs/ietf/rfc/50/rfc5025.xml | CC-MAIN-2020-45 | en | refinedweb |
createDirectory: permission denied
The following program results in an odd "permission denied" error from
createDirectory on Windows. It is derived from the
createDirectoryIfMIssing001 test, but doesn't involve calling
createDirectoryIfMissing, only
createDirectory.
There are two threads, each of which is repeatedly cr... | https://gitlab.haskell.org/ghc/ghc/-/issues/2924 | CC-MAIN-2020-45 | en | refinedweb |
I got hit again last night by a bug in my Makefile that meant I effectively ran rm -rf /*, which was not fun.
Today I have been looking for how to make Make stop if a variable is undefined.
Here’s my solution. This Makefile contains a bug (“SRCS” instead of “SRC”):
# Turn on the warning we want MAKEFLAGS += --warn-unde... | https://www.artificialworlds.net/blog/2015/04/22/treat-warnings-as-errors-in-a-gnu-makefile/ | CC-MAIN-2020-45 | en | refinedweb |
Replacing number with another Incrementing #
Hello!
I’m having difficulties in finding regexes again… Sorry I was a bit confused…
I would like to search all these numbers in bold below before the # ‘hash’ sign…
100#
A sweet tasting tropical fruit made famous by its use in slapstick comedy and practical jokes.
101#
Clus... | https://community.notepad-plus-plus.org/topic/19345/replacing-number-with-another-incrementing | CC-MAIN-2020-45 | en | refinedweb |
I keep getting a syntax error for the following code and I’m having trouble understanding why. The syntax error is from the "if x % n == 0 line.
def is_prime(x):
for n in range (2, x-1):
if x % n == 0
return False
else:
return True
print is_prime(4)
print is_prime(5) | https://discuss.codecademy.com/t/https-www-codecademy-com-courses-learn-python-lessons-practice-makes-perfect-exercises-isprime/514380 | CC-MAIN-2020-45 | en | refinedweb |
Dictionary is one of the most used data structures in Python. A dictionary is an unordered collection of items and we usually have keys and values stored in a dictionary. Let us look at a few examples for how the dictionary is usually used.
# dictionary declaration 1 dict1 = dict() # dictionary declaration 2 dict2 = {}... | https://www.freecodecamp.org/news/python-dictionary-data-structure-explained/ | CC-MAIN-2020-45 | en | refinedweb |
#include <CGAL/Optimal_transportation_reconstruction_2.h>
This class provides a means to reconstruct a 1-dimensional shape from a set of 2D points with masses.
The algorithm computes an initial 2D Delaunay triangulation from the input points, and performs a simplification of the triangulation by performing half edge co... | https://doc.cgal.org/latest/Optimal_transportation_reconstruction_2/classCGAL_1_1Optimal__transportation__reconstruction__2.html | CC-MAIN-2019-18 | en | refinedweb |
I can see from the Vue-DevTools that the playlist state is populated, but when I destructure the state off of the context object in my action, state is undefined…
Here is the relevant code:
import PlaylistService from './api/PlaylistService' export const state = { playlist: {}, oldTitle: '', oldDescription: '' } export... | https://forum.vuejs.org/t/state-is-undefined-in-vuex-action/59848 | CC-MAIN-2019-18 | en | refinedweb |
HyperspaceHyperspace
Hyperspace is a way to get nearly anywhere from wherever you are, whether that’s within Emacs or on the web. It’s somewhere in between Quicksilver and keyword URLs, giving you a single, consistent interface to get directly where you want to go. It’s for things that you use often, but not often enou... | https://libraries.io/emacs/hyperspace | CC-MAIN-2019-18 | en | refinedweb |
For those creating dynamic text fields in Flash it often comes as a surprise that dynamic text fields do not behave as expected when modifying the alpha parameter of it or it’s parent. Often even I forget that telling a movie clip to transition out based on a tween of its alpha property doesn’t modify the text field. W... | http://mdbitz.com/2009/10/06/code-snippets-enabling-alpha-for-dynamic-text-fields-in-flash/ | CC-MAIN-2019-18 | en | refinedweb |
06 February 2019 0 comments Javascript, ReactJS
React 16.8.0 with Hooks was released today. A big deal. Executive summary; components as functions is all the rage now.
What used to be this:
class MyComponent extends React.Component { ... componentDidMount() { ... } componentDidUpdate() { ... } render() { STUFF } }
...i... | https://www.peterbe.com/plog/avoid-infinite-recursion-in-react.useeffect | CC-MAIN-2019-18 | en | refinedweb |
SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and iOS Chart & Android Chart Components
Do you have any examples for printing and screenshots when using a multi-pane chart using a SciChartGroup? Our application uses multi-pane charts and needs to be able to print and create screen captures of these as a... | https://www.scichart.com/questions/wpf/screenshots-and-printing-for-scichartgroup | CC-MAIN-2019-18 | en | refinedweb |
An object that represents a C++ lexical token. CPP_Token objects are usually obtained from token streams. See CPP_Token_Stream's for an example use. More...
#include <cpp_token_stream.h>
An object that represents a C++ lexical token. CPP_Token objects are usually obtained from token streams. See CPP_Token_Stream's for ... | http://www.bordoon.com/tools/structcxxtls_1_1CPP__Token.html | CC-MAIN-2019-18 | en | refinedweb |
Let us say, you have a scenario to navigate from user control
In code behind of the user control very first put below namespace,
Next globally define an event as below,
After this you need to create a method to handle page navigation event as below. This function is taking URI to navigate as input parameter.
Let us say... | https://debugmode.net/2011/12/01/how-to-navigate-to-other-page-from-a-user-control-in-windows-phone-7/ | CC-MAIN-2019-18 | en | refinedweb |
Opened 7 years ago
Last modified 15 months ago
#34572 closed defect
samba3 @3.6.5 fails to initialize on startup — at Version 1
Description (last modified by ryandesign (Ryan Schmidt))
The latest SAMBA fails to initialize on startup. This seems to be related to the low value of NAX_NGROUPS in the Darwin Kernel.
Here is... | https://trac.macports.org/ticket/34572?version=1 | CC-MAIN-2019-04 | en | refinedweb |
This is a list of plugins which are used by webpack internally.
You should only care about them if you are building your own compiler based on webpack, or introspect the internals.
Categories of internal plugins:
Plugins affecting the environment of the compiler.
node/NodeEnvironmentPlugin()
Applies Node.js style files... | https://webpack.js.org/plugins/internal-plugins/ | CC-MAIN-2019-04 | en | refinedweb |
Isilon SDK
Project description
About
This package is part of the Isilon SDK. It includes language bindings for easier programmatic access to the OneFS API for cluster configuration (on your cluster this is the REST API made up of all the URIs underneath https://[cluster]:8080/platform/*, also called the “Platform API” ... | https://pypi.org/project/isi-sdk-8-0/ | CC-MAIN-2019-04 | en | refinedweb |
a label for your data. Commonly, you might want to predict fraud, customers that will buy a product, or home values in an area.
In unsupervised machine learning, you are interested in clustering data together that isn’t already labeled. This is covered in more detail in the Machine Learning Engineer Nanodegree. Howeve... | http://tomreads.com/2018/03/10/simple-linear-regression/ | CC-MAIN-2019-04 | en | refinedweb |
Mocking away the .__init__() method?
5 comments:
Fuzzyman said...
Hello Floris,
As far as I can tell you have two problems.
1) Doing too much work in the constructor making it painful to test / mock. At the least move the stuff you want to avoid into another method (called by __init__) and then mock that instead. (You'... | http://blog.devork.be/2008/12/mocking-away-init-method.html | CC-MAIN-2019-04 | en | refinedweb |
Bummer! This is just a preview. You need to be signed in with a Basic account to view the entire video.
Comparing and Combining Dice5:41 with Kenneth Love
Dice are great but we need to be able to find ones that fit certain criteria, like being greater than four. It'd also be handy to be able to add dice together. We ca... | https://teamtreehouse.com/library/comparing-and-combining-dice | CC-MAIN-2019-04 | en | refinedweb |
object VarianceChecker
extends Object
Provides
check method to check that all top-level definitions
in tree are variance correct. Does not recurse inside methods.
The method should be invoked once for each Template.
ConstructorsConstructors
MembersMembers
case class VarianceError
object VarianceError
def checkLambda ( ... | http://dotty.epfl.ch/api/dotty/tools/dotc/typer/VarianceChecker$.html | CC-MAIN-2019-04 | en | refinedweb |
Difference between revisions of "Keyboard shortcuts"
Revision as of 04:27, 10 October 2018
This article provides a list of (not commonly known) default keyboard shortcuts and provides information about user customization.
Contents
Standard shortcuts
Kernel
There are several low level shortcuts that are implemented in t... | https://wiki.archlinux.org/index.php?title=Keyboard_shortcuts&diff=546880&oldid=497326 | CC-MAIN-2019-04 | en | refinedweb |
XML
IntelliJ IDEA brings powerful XML editing support that includes:
Validation and syntax highlighting.
Code completion (Ctrl+Space).
Indentation (Ctrl+Alt+I, Ctrl+Alt+L).
Formatting (Ctrl+Alt+L) according to the XML code style.
Intention actions (Alt+Enter).
Importing unbound namespaces.
Viewing code structure (Alt+7... | https://www.jetbrains.com/help/idea/working-with-xml.html | CC-MAIN-2019-04 | en | refinedweb |
In this chapter, you learn about two kinds of SWT controls: Combo and List. Both combos and lists allow the user to choose items from a list of items. The primary difference between them is that a Combo (also know as a "drop-down") allows only one selected item while a List may have multiple items selected at a time. A... | https://flylib.com/books/en/1.70.1/combos_and_lists.html | CC-MAIN-2019-04 | en | refinedweb |
CURLOPT_COPYPOSTFIELDS explained
NAME
CURLOPT_COPYPOSTFIELDS - have libcurl copy data to POST
SYNOPSIS
#include <curl/curl.h>
CURLcode curl_easy_setopt(CURL *handle, CURLOPT_COPYPOSTFIELDS, char *data);
DESCRIPTION
Pass a char * as parameter, which should be the full data to post in a HTTP POST operation. It behaves as... | https://curl.haxx.se/libcurl/c/CURLOPT_COPYPOSTFIELDS.html | CC-MAIN-2019-18 | en | refinedweb |
Despite many developers do not know it, since Java SE 6 it is really easy to integrate Java and some scripting languages through a standard Java Scripting API (JSR-223 implementation)
Currently, both AppleScript (2.2.1) and ECMAScript (1.6) script engines are supported by default, at least on my machine. In the followi... | https://guidogarcia.net/blog/2011/11/03/scripting-for-the-java-platform/ | CC-MAIN-2019-18 | en | refinedweb |
In addition to the basic histogram, this demo shows a few optional features:
- Setting the number of data bins
- The
normedflag, which normalizes bin heights so that the integral of the histogram is 1. The resulting histogram is an approximation of the probability density function.
- Setting the face color of the bars
... | https://matplotlib.org/2.1.0/gallery/statistics/histogram_features.html | CC-MAIN-2019-18 | en | refinedweb |
Opened 11 years ago
Closed 11 years ago
#58 closed Feature Request (Rejected)
Add a new button Type called Splitbutton
Description
Addition of the "BS_SPLITBUTTON" type button.]
This makes it possible to combine a button with a dropdownlist style.
Attachments (0)
Change History (18)
comment:1 Changed 11 years ago by Ga... | https://www.autoitscript.com/trac/autoit/ticket/58 | CC-MAIN-2019-18 | en | refinedweb |
In this article, we're going to take look at Ionic 2, the newest version of the Ionic cross-platform mobile app framework. For starters, we'll recap what Ionic is and what it's used for. Then we're going to dive into Ionic 2. I'll tell you what's new and how it differs from Ionic 1, and I'll help you decide whether you... | http://esolution-inc.com/blog/introduction-to-ionic-2--cms-28193.html | CC-MAIN-2019-18 | en | refinedweb |
Paul,
I looked at exactly the same page as you, but I didn't trust the
documentation and went to
where it ultimately points to, and there it is a .kt file. Maybe add
multiple extensions...
On Mon, Apr 10, 2017 at 7:54 PM, <paulmerlin@apache.org> wrote:
> POLYGENE-29 Fix Kotlin Script file extension: *.kts
>
> See
> jav... | http://mail-archives.apache.org/mod_mbox/polygene-dev/201704.mbox/%3CCADmm+KfH4w+cYcgVj69759NXLs42-NSZHMmtXKXPF4Tixi9vww@mail.gmail.com%3E | CC-MAIN-2019-18 | en | refinedweb |
LINQ stands for Language-INtegrated Queries and basically makes queries first citizens of the .NET languages such as C# and VB.NET (i.e., makes them available in the IntelliSense of Visual Studio 2008).
We can use LINQ with any data source. We can express efficient query behavior in our programming language of choice, ... | https://www.codeproject.com/Articles/417819/Learning-LINQ-LINQ-to-SQL-provider | CC-MAIN-2019-18 | en | refinedweb |
Github user keith-turner commented on a diff in the pull request:
--- Diff: server/master/src/main/java/org/apache/accumulo/master/tableOps/TableRangeOp.java
---
@@ -38,19 +37,24 @@
private static final long serialVersionUID = 1L;
private final String tableId;
+ private final String namespaceId;
--- End diff --
I did s... | http://mail-archives.apache.org/mod_mbox/accumulo-dev/201701.mbox/%3C20170126222408.4C354DFA68@git1-us-west.apache.org%3E | CC-MAIN-2019-18 | en | refinedweb |
We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hi everyone. I am a complete beginner with processing. I have tried to build a pacman game. I assume i will need to build it with a grid and let the pacman follow the grid. However, I'm unsure about how I would cr... | https://forum.processing.org/two/discussion/19724/build-a-pacman-game | CC-MAIN-2019-18 | en | refinedweb |
Here a basic code I'm trying to run But I'm having trouble with stoi (it's c++) I keep getting error:
‘stoi’ was not declared in this scope
I tried atoi and strtol with this error
.cpp:23: error: cannot convert ‘std::string’ to ‘const char*’ for argument ‘1’ to ‘int atoi(const char*)’
The code:
using namespace std; int... | http://databasefaq.com/index.php/answer/40/c-string-cpp23-error-cannot-convert-stdstring-to-const-char-for-argument-1-to-int-atoiconst-char | CC-MAIN-2019-18 | en | refinedweb |
Minimum jumps to reach end of array
Given an array of integers, find minimum jumps to reach end of the array. Condition is that you can maximum jump a[i] indices from index i.
For example, in following array, minimum jumps required are 2.
At index 1, we can either jump 0, 1 or 2 indices ahead. If we jump 2 indices, we ... | https://algorithmsandme.com/category/data-structures/arrays/page/2/ | CC-MAIN-2019-18 | en | refinedweb |
This is a
playground to test code. It runs a full
Node.js environment and already has all of
npm’s 400,000 packages pre-installed, including
bs-breakpoints with all
npm packages installed. Try it out:
require()any package directly from npm
awaitany promise instead of using callbacks (example)
This service is provided b... | https://npm.runkit.com/bs-breakpoints | CC-MAIN-2019-18 | en | refinedweb |
Application: A Face Detection Pipeline
This chapter has explored a number of the central concepts and algorithms of machine learning.
But moving from these concepts to real-world application can be a challenge.
Real-world datasets are noisy and heterogeneous, may have missing features, and data may be in a form that is... | https://jakevdp.github.io/PythonDataScienceHandbook/05.14-image-features.html | CC-MAIN-2019-18 | en | refinedweb |
The Button component provides
one of the most frequently used objects in graphical applications. When
the user selects a button, it signals the program that something needs
to be done by sending an action event. The program responds in its handleEvent()
method (for Java 1.0) or its actionPerformed()
method (defined by ... | https://docstore.mik.ua/orelly/java/awt/ch05_03.htm | CC-MAIN-2019-18 | en | refinedweb |
A few weeks ago, some friends of mine started playing a Facebook game, Puzzle Adventures. This is a (pretty fun) jigsaw puzzle game, so I played a few levels at some point. The game limits you significantly in many areas (e.g. you can only play three or four games before you have to wait for minutes to play more, or pa... | https://www.stavros.io/posts/winning-puzzle-adventures/ | CC-MAIN-2020-05 | en | refinedweb |
KmPlot
#include <function.h>
Detailed Description
Uniquely identifies a single plot (i.e.
a single curvy line in the View).
Definition at line 589 of file function.h.
Constructor & Destructor Documentation
Definition at line 981 of file function.cpp.
Member Function Documentation
The color that the plot should be drawn... | https://api.kde.org/4.x-api/kdeedu-apidocs/kmplot/kmplot/html/classPlot.html | CC-MAIN-2020-05 | en | refinedweb |
digikam
#include <PltXbox360.h>
Detailed Description
Definition at line 43 of file PltXbox360.h.
Constructor & Destructor Documentation
Definition at line 52 of file PltXbox360.cpp.
Definition at line 62 of file PltXbox360.cpp.
Member Function Documentation
Definition at line 165 of file PltXbox360.cpp.
Definition at l... | https://api.kde.org/extragear-api/graphics-apidocs/digikam/html/classPLT__Xbox360.html | CC-MAIN-2020-05 | en | refinedweb |
import "go.chromium.org/luci/logdog/common/storage/memory"
Package memory implements in-memory Storage structures.
It is designed for testing, and hasn't been optimized for any productio use.
Cache is an in-memory storage.Cache implementation.
Get implements storage.Cache.
Put implements storage.Cache.
type Storage str... | https://godoc.org/go.chromium.org/luci/logdog/common/storage/memory | CC-MAIN-2020-05 | en | refinedweb |
import "go.chromium.org/luci/milo/buildsource/buildbucket"
buckets.go build.go build_legacy.go builder.go client.go common.go feedback_links.go pools.go pubsub.go
var ( ErrNotFound = errors.Reason("Build not found").Tag(grpcutil.NotFoundTag).Err() ErrNotLoggedIn = errors.Reason("not logged in").Tag(grpcutil.Unauthentic... | https://godoc.org/go.chromium.org/luci/milo/buildsource/buildbucket | CC-MAIN-2020-05 | en | refinedweb |
$ cnpm install @rocketsofawesome/mirage
Live Demo of the Pattern Library
First run the command:
npm install @rocketsofawesome/mirage
Then inside of your react project (preferably towards the top of the application) wrap the application in the
<ROATheme></ROATheme> theme wrapper. This will set a bunch of props on childr... | https://npm.taobao.org/package/@rocketsofawesome/mirage | CC-MAIN-2020-05 | en | refinedweb |
* An indication to the transport layer that a flush is required.24 * 25 * @openwire:marshaller code="15"26 * @version $Revision$27 */28 public class FlushCommand extends BaseCommand {29 30 public static final byte DATA_STRUCTURE_TYPE=CommandTypes.FLUSH_COMMAND;31 public static final Command COMMAND = new FlushCommand(... | http://kickjava.com/src/org/apache/activemq/command/FlushCommand.java.htm | CC-MAIN-2018-26 | en | refinedweb |
For specific validity questions, you might want to run against Metro and
see what it says. Although not perfectly reliable, similiar error
messages (or lack thereof) to CXF's might help determine what is not
allowed with WSDL in general compared to what just CXF doesn't like.
Glen
2008-05-26 Benson Margulies wrote:
> H... | http://mail-archives.apache.org/mod_mbox/cxf-dev/200805.mbox/%3C1211836487.12298.4.camel@gmazza-desktop%3E | CC-MAIN-2018-26 | en | refinedweb |
[
]
ASF GitHub Bot commented on DRILL-3623:
---------------------------------------
Github user jacques-n commented on a diff in the pull request:
--- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/planner/sql/handlers/DefaultSqlHandler.java
---
@@ -162,6 +166,9 @@ public PhysicalPlan getPlan(SqlNode sqlNode)... | http://mail-archives.apache.org/mod_mbox/drill-issues/201510.mbox/%3CJIRA.12854015.1439253004000.68576.1444397186526@Atlassian.JIRA%3E | CC-MAIN-2018-26 | en | refinedweb |
Opened 10 years ago
Last modified 9 years ago
#2399 reopened Bugs
Python boost.mpi.Request.test() crashes
Description
With the addition of the request_with_value type, the wrapper for request::test() was broken (can't convert optional<status> to Python type). A fix:
const object request_test(request &req) { ::boost::op... | https://svn.boost.org/trac10/ticket/2399 | CC-MAIN-2018-26 | en | refinedweb |
import "github.com/shurcooL/go-goon/bypass"
Package bypass allows bypassing reflect restrictions on accessing unexported struct fields.
UnsafeReflectValue converts the passed reflect.Value into a one that bypasses the typical safety restrictions preventing access to unaddressable and unexported data. It works by diggin... | https://godoc.org/github.com/shurcooL/go-goon/bypass | CC-MAIN-2018-26 | en | refinedweb |
on Thu Oct 09 2008, Robert <rcdailey-AT-gmail.com> wrote: > Hi, > > Is it really necessary to obtain __dict__ in order to add variables to > some object's scope? No. > For example, suppose I want to define a global > variable in a module, how would I do this? I know the first step I > must take is to import the module:... | https://mail.python.org/pipermail/cplusplus-sig/2008-October/013840.html | CC-MAIN-2018-26 | en | refinedweb |
On Wed, Jun 2, 2010 at 8:36 AM, Gmail <arnodel at googlemail.com> wrote: > > On 1 Jun 2010, at 18:36, cool-RR wrote: > > Hello, > >.) > > > Not exactly (python 2.6): > > >>> class Foo(object): > ... def f(self): pass > ... > >>> Foo.f > <unbound method Foo.f> > >>> Foo.f.im_class > <class '__main__.Foo'> > >>> class Ba... | https://mail.python.org/pipermail/python-ideas/2010-June/007318.html | CC-MAIN-2018-26 | en | refinedweb |
17 Hystrix
If your application is part of a distributed architecture like microservices, has dependencies on other distributed services or a client library that can potentially result in network requests, then it is essential that you defend your application with Hystrix. Part of the Netflix OSS Platform, Hystrix is a ... | https://ratpack.io/manual/current/hystrix.html | CC-MAIN-2018-26 | en | refinedweb |
ExecutorServiceabstractioniceworks. There are many places to learn that, today I wanted to share few lesser known features and practices. However this article is still aimed toward intermediate programmers, nothing especially advanced.
1. Name pool threadsI can't emphasize this. When dumping threads of a running JVM or... | https://www.nurkiewicz.com/2014/11/executorservice-10-tips-and-tricks.html | CC-MAIN-2018-26 | en | refinedweb |
class Car(object):
condition = "new"
def __init__(self, model, color, mpg):
self.model = model
self.color = color
self.mpg = mpg
def display_car(self):
return "This is a %s1 %s2 with %s3 MPG." %(my_car.color, my_car.model, str(my_car.mpg))
my_car = Car("DeLorean", "silver", 88)
print my_car.display_car()`
For my mpg ou... | https://discuss.codecademy.com/t/7-11-creating-class-methods/24143/3 | CC-MAIN-2017-39 | en | refinedweb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.