text stringlengths 20 1.01M | url stringlengths 14 1.25k | dump stringlengths 9 15 ⌀ | lang stringclasses 4
values | source stringclasses 4
values |
|---|---|---|---|---|
> To: tutor at python.org > From: alan.gauld at btinternet.com > Date: Mon, 6 Sep 2010 08:27:31 +0100 > Subject: Re: [Tutor] why do i get None as output > > > "Roelof Wobben" <rwobben at hotmail.com> wrote > > def make_empty(seq): > > > > > _______________________________________________ > Tutor maillist - Tutor at pyt... | https://mail.python.org/pipermail/tutor/2010-September/078316.html | CC-MAIN-2014-10 | en | refinedweb |
csUserRenderBufferManager Class ReferenceHelper class to manage multiple render buffers, usually provided by the user. More...
#include <cstool/userrndbuf.h>
Detailed DescriptionHelper class to manage multiple render buffers, usually provided by the user.
Definition at line 51 of file userrndbuf.h.
Member Function Docu... | http://www.crystalspace3d.org/docs/online/api-1.2/classcsUserRenderBufferManager.html | CC-MAIN-2014-10 | en | refinedweb |
On 28 February 2012 09:54, Stefan Behnel <stefan_ml at behnel.de>. > -------- Original-Message -------- > Betreff: Re: [cython-users] What's up with PyEval_InitThreads() in python 2.7? > > Mike Cui, 28.02.2012 10:18: >>> Thanks for the test code, you hadn't mentioned that you use a "with gil" >>> block. Could you try t... | https://mail.python.org/pipermail/cython-devel/2012-February/001980.html | CC-MAIN-2014-10 | en | refinedweb |
filequeue 0.3.1
A thread-safe queue object which is interchangeable with the stdlib Queue. Any overflow goes into a compressed file to keep excessive amounts of queued items out of memory
Contents
Overview
filequeue is a Python library that provides a thread-safe queue which is a subclass of Queue.Queue from the stdlib... | https://pypi.python.org/pypi/filequeue | CC-MAIN-2014-10 | en | refinedweb |
I have thinking sphinx setup with my search form, but it is returning all users instead of users with the data I searched.
In the users controller:
Code Ruby:
def index @users = params[:query].blank? ? User.all : User.search(params[:query])
user_index.rb (inside /indices):
Code Ruby:
ThinkingSphinx::Index.define :user,... | http://www.sitepoint.com/forums/printthread.php?t=1163061&pp=25&page=1 | CC-MAIN-2014-10 | en | refinedweb |
A degenerate zero-tetrahedron saturated block that corresponds to attaching a Mobius band to a single annulus boundary. More...
#include <subcomplex/nsatblocktypes.h>
A degenerate zero-tetrahedron saturated block that corresponds to attaching a Mobius band to a single annulus boundary.
This is a degenerate case of the ... | http://regina.sourceforge.net/engine-docs/classregina_1_1NSatMobius.html | CC-MAIN-2014-10 | en | refinedweb |
!). The.. Qt, or rather DOM, offers a simply way to generate elements with a namespace attached:
QDomDocument::createElementNS( const QString &nsURI, const QString &qName )
doc.createElement( "holiday" );
with
doc.createElementNS( "urn:kde:developer:tutorials:QtDom:holidays", "h:holiday" );
Again, we can write our own ... | http://techbase.kde.org/index.php?title=Development/Tutorials/QtDOM_Tutorial&diff=60725&oldid=7382 | CC-MAIN-2014-10 | en | refinedweb |
There are many DLL files that help you to export data to Excel but always there are some problems with them that causes error or you should pay some money to use them with all features.
I want to show that how we can use Microsoft Office original DLL file in order to export data to standard Excel file. In this tip, we ... | http://www.codeproject.com/Tips/669509/How-to-export-data-to-Excel-in-VB-NET | CC-MAIN-2014-10 | en | refinedweb |
Part of twisted.python View Source
This module aims to provide a unified, object-oriented view of Python's runtime hierarchy.
Python is a very dynamic language with wide variety of introspection utilities. However, these utilities can be hard to use, because there is no consistent API. The introspection API in python i... | http://twistedmatrix.com/documents/8.2.0/api/twisted.python.modules.html | CC-MAIN-2014-10 | en | refinedweb |
Each unit test tests one bit of functionality in the software. Unit tests are entirely automated and complete quickly. Unit tests for the entire system are gathered into one test suite, and may all be run in a single batch. The result of a unit test is simple: either it passes, or it doesn't. All this means you can tes... | http://twistedmatrix.com/trac/export/34350/trunk/doc/core/development/policy/test-standard.xhtml | CC-MAIN-2014-10 | en | refinedweb |
19 September 2008 17:12 [Source: ICIS news]
By Nigel Davis
LONDON (ICIS news)--Towards the end of an extraordinary week some confidence has returned to the world’s financial markets while manufacturing industry still has to take stock.
At the time of writing the ?xml:namespace>
It was expected to take on billions of do... | http://www.icis.com/Articles/2008/09/19/9157788/insight-the-threat-from-financial-turmoil.html | CC-MAIN-2014-10 | en | refinedweb |
Package Access Specifier - Java Beginners
specifier and identifier
specifier and identifier what is the difference between specifier and identifier in java
date format - Java Beginners
date format how to 45day in dd-mmm-yyyy date format. Hi friend,
Code to solve the problem :
import java.util.Date;
import java.util.Loc... | http://www.roseindia.net/tutorialhelp/comment/59754 | CC-MAIN-2014-10 | en | refinedweb |
Opened 6 years ago
Closed 4 years ago
Last modified 4 years ago
#8758 closed (fixed)
get_tag_uri in /django/utils/feedgenerator.py breaks with port numbers
Description
The following function:
def get_tag_uri(url, date): "Creates a TagURI. See" tag = re.sub('^http://', '', url) if date is not None: tag = re.sub('/', ',%... | https://code.djangoproject.com/ticket/8758 | CC-MAIN-2014-10 | en | refinedweb |
In this post I will show you, how to create a WCF Service with both flavor of SOAP and REST paradigm . For purpose of this post , I am going to create a Calculator Service with following characteristics
- Serivice will have both SOAP and REST enabled
- REST Service will have JOSN Message format
In later part of the pos... | http://debugmode.net/2011/12/22/how-to-enable-rest-and-soap-both-on-the-same-wcf-service/ | CC-MAIN-2014-10 | en | refinedweb |
GLSL Programming/Unity/Curved Glass
This tutorial covers refraction mapping and its implementation with cube maps.
It is a variation of Section “Reflecting Surfaces”, which should be read first.
Refraction Mapping[edit]
In Section “Reflecting Surfaces”, we reflected view rays and then performed texture lookups in a cub... | http://en.wikibooks.org/wiki/GLSL_Programming/Unity/Curved_Glass | CC-MAIN-2014-10 | en | refinedweb |
The PathAttribute allows setting an attribute at a given position in a Path. More...
The PathAttribute object allows attibutes consisting of a name and a value to be specified for the endpoints of path segments. The attributes are exposed to the delegate as Attached Properties. The value of an attribute at any particul... | http://idlebox.net/2010/apidocs/qt-everywhere-opensource-4.7.0.zip/qml-pathattribute.html | CC-MAIN-2014-10 | en | refinedweb |
Multi Object Tracker for TLD. More...
#include <opencv2/tracking/tracker.hpp>
Multi Object Tracker for TLD.
TLD is a novel tracking framework. The implementation is based on [103] .
The Median Flow algorithm (see cv::TrackerMedianFlow) was chosen as a tracking component in this implementation, following authors. The tr... | https://docs.opencv.org/3.4.8/d2/d33/classcv_1_1MultiTrackerTLD.html | CC-MAIN-2020-24 | en | refinedweb |
netinet_tcp (0p) - Linux Man Pages
netinet_tcp: definitions for the Internet Transmission Control Protocol (TCP)
PROLOGThis manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the inte... | https://www.systutorials.com/docs/linux/man/docs/linux/man/0p-netinet_tcp/ | CC-MAIN-2020-24 | en | refinedweb |
- Table of contents
- Module threading types
Module threading types¶
This page talks only about plugins with the "module" suffix; services, sources, tools, and any other plugins are not discussed here.
As of art 3.00.00, modules can be characterized in two dimensions:
- workflow behavior: is the module a producer, filt... | https://cdcvs.fnal.gov/redmine/projects/art/wiki/Module_threading_types | CC-MAIN-2020-24 | en | refinedweb |
You can generate Data Matrix in MS Excel spreadsheet, MS Access, Crystal Reports.
To print Barcode in C#, you need both barcode true type font and cruflbcsn.dll.
To get cruflbcsn.dll, you can either download it from Barcode Code 39 Barcode in C#
using cruflbcsn;
cruflbcsn.ILinear pLinear= new CLinear();
textBox2.Text =... | https://www.barcodesoft.net/barcode-csharp.aspx | CC-MAIN-2020-24 | en | refinedweb |
In Part 2, we showed you how to use Istio’s built-in features and integrations with third-party tools to visualize your service mesh, including the metrics that we introduced in Part 1. While Istio’s containerized architecture makes it straightforward to plug in different kinds of visualization software like Kiali and ... | https://www.datadoghq.com/blog/istio-datadog/ | CC-MAIN-2020-24 | en | refinedweb |
gatsby-plugin-page-transitions
** NOT COMPATIABLE WITH GATSBY 2 **
The API and the features this plugin provides is no longer possible with Gatsby 2. For simple page fade transitions the Gatsby team has provided an adequate example.
With Gatsby 2, the plugin will FAIL TO BUILD because the
replaceHistory API has been re... | https://www.gatsbyjs.org/packages/gatsby-plugin-page-transitions/ | CC-MAIN-2020-24 | en | refinedweb |
#include <sys/stat.h> int utimensat(int fd, const char *path, const struct timespec times[2], int flag); #include <sys/time.h> int utimes(const char *path, const struct timeval times[2]);
Any typographical or formatting errors that appear in this page are most likely to have been introduced during the conversion of the... | https://man.linuxreviews.org/man3p/utimensat.3p.html | CC-MAIN-2020-24 | en | refinedweb |
AWS Fargate has steadily gained traction in Amazon Elastic Container Service (ECS) environments because it allows users to run containerized applications without thinking about their underlying infrastructure. Today, AWS announced that support for Amazon Elastic Kubernetes Service (EKS) on AWS Fargate is now generally ... | https://www.datadoghq.com/blog/eks-fargate-monitoring/?lang_pref=en | CC-MAIN-2020-24 | en | refinedweb |
ustat - get file system statistics
#include <sys/types.h> #include <ustat.h> int ustat(dev_t dev, struct ustat *buf);
The ustat() function returns information about a mounted file system. The dev argument is a device number identify- ing a device containing a mounted file system (see makedev(3C)). The buf argument is a... | http://man.eitan.ac.il/cgi-bin/man.cgi?section=2&topic=ustat | CC-MAIN-2020-24 | en | refinedweb |
My service implementation uses hibernate dao objects which should be managing its own connections via the c3p0 connection pool. All my service objects and Dao objects are marked as singletons in my Spring applicationContext.xml file. I don't think any of my transactions are failing as it would most likely throw an exce... | https://www.mail-archive.com/users@wicket.apache.org/msg70100.html | CC-MAIN-2020-24 | en | refinedweb |
I just completed an implementation of an immutable hash array mapped trie (HAMT) in C#. The HAMT is an ingenious hash tree first described by Phil Bagwell. It's used in many different domains because of its time and space efficiency, although only some languages use the immutable variant. For instance, Clojure uses imm... | https://higherlogics.blogspot.com/2012/04/immutable-hash-array-mapped-trie-in-c.html | CC-MAIN-2017-47 | en | refinedweb |
#include <vectmath.h> CLRV(v) v = 0 i UNITV(v,j) v = delta i ij SETV(v,u) v = u i i ADDV(v,u,w) v = u + w i i i SUBV(v,u,w) v = u - w i i i MULVS(v,u,s) v = u s i i DIVVS(v,u,s) v = u / s i i DOTVP(s,v,u) s = v u i i dotvp(v,u) v u i i ABSV(s,v) s = sqrt(v v ) i i absv(v) sqrt(v v ) i i DISTV(s,v,u) s = sqrt((v - u ) (... | http://bima.astro.umd.edu/nemo/man_html/vectmath.3.html | CC-MAIN-2017-47 | en | refinedweb |
Opened 5 years ago
Closed 5 years ago
#7200 closed Feature Requests (fixed)
Unable to build boost.thread modularized
Description
building cmake modularized boost.thread from master, using xcode 4.4 (apple llvm) fails on : /thread.cpp:27:10: fatal error:
'libs/thread/src/pthread/timeconv.inl' file not found
#include <li... | https://svn.boost.org/trac10/ticket/7200 | CC-MAIN-2017-47 | en | refinedweb |
I give the prompt at the end to checkout another customer, they have to pick Y or N. If they pick N it will go to the good bye, sotre closing, ect...but if they pick Y then it just sits there, it does not know to go back up top to customer two....how can I change this?
Bryan
Code:#include <iostream> #include <fstream> ... | https://cboard.cprogramming.com/cplusplus-programming/45206-continue-yes-no.html | CC-MAIN-2017-47 | en | refinedweb |
DMXChangeScreensAttributes man page
DMXChangeScreensAttributes — change back-end screen attributes
Synopsis
#include <X11/extensions/dmxext.h>
int DMXChangeScreensAttributes(Display *dpy, int screen_count, int *screens, int mask_count, unsigned int *masks, DMXScreenAttributes *attr, int *error_screen);
Description
DMXC... | https://www.mankier.com/3/DMXChangeScreensAttributes | CC-MAIN-2017-47 | en | refinedweb |
A Programming Language with Extended Static Checking, what got me looking at this was the following paper:
Constrained Types for Object-Oriented Languages, N. Nystrom, V. Saraswat, J. Parlsberg and C. Grothoff, OOPSLA, 2008. [DOI] [PDF]
Constrained types (which are a form of dependent type) are quite interesting to me,... | http://whiley.org/2010/08/05/the-x10-programming-language/ | CC-MAIN-2017-47 | en | refinedweb |
Introduction
When you have many Strings or other type of values to display in a list then a ListActivity is used. It will simply display all the values in a list and you can also use its various types of listeners.
A ListActivity needs an Adapter to set its List. It may be an ArrayAdapter or a SimpleCursorAdapter. In t... | http://www.c-sharpcorner.com/UploadFile/88b6e5/how-to-use-listactivity-in-your-android-application/ | CC-MAIN-2017-47 | en | refinedweb |
LINQ is a set of extensions to the .NET Framework that encompass language-integrated query, set, and transform operations. It extends C# and Visual Basic with native language syntax for queries and provides class libraries to take advantage of these capabilities.
In LINQ we used same format as SQL but some difference l... | https://www.mindstick.com/Articles/204/linq-language-integrated-query | CC-MAIN-2017-47 | en | refinedweb |
...one of the most highly
regarded and expertly designed C++ library projects in the
world. — Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
In November 1999, Jeet Sukumaran proposed a framework based on virtual functions, and later sketched a template-based approach. Ed Brey pointed out that Microsoft Visua... | http://www.boost.org/doc/libs/1_49_0/doc/html/boost_random/history_and_acknowledgements.html | CC-MAIN-2015-11 | en | refinedweb |
public class SanderRossel : Lazy<Person>
{
public void DoWork()
{
throw new NotSupportedException();
}
}
Sander Rossel wrote:
I'm kind of done with Chrome. It just doesn't play YouTube sound for some video's. I fixed it once, but it came back for no apparent reason.
Sander Rossel wrote: That's the worst advice ever
San... | http://www.codeproject.com/Lounge.aspx?msg=4865614 | CC-MAIN-2015-11 | en | refinedweb |
28 September 2012 10:50 [Source: ICIS news]
SINGAPORE (ICIS)--?xml:namespace>
The company had informed their customers of the shutdown and had build up sufficient cargo to supply to their customers until 8 October, the source said.
The company will assess the viability of restarting the MA plant based on the market sit... | http://www.icis.com/Articles/2012/09/28/9599439/chinas-changzhou-shuguang-chemical-factory-to-shut-ma.html | CC-MAIN-2015-11 | en | refinedweb |
Hello friends,
I need to find second largest number in an array of n elements. I have tried a c code for that...
#include <stdio.h>
int main(void) {
int pri, sec, i, v;
int arr[] = {4,10,3,8,6,7,2,7,9,2,0};
pri = sec = 0;
for (i = 0; arr[i]; ++i) {
v = arr[i];
if (v > pri) sec = pri, pri = v;
if (v > sec && v < pri) se... | http://forums.devshed.com/software-design-43/algorithm-largest-element-array-351510.html | CC-MAIN-2015-11 | en | refinedweb |
using System;
using System.Diagnostics;
namespace AngleSharp
{
/// <summary>
/// A set of useful helpers concerning errors.
/// </summary>
static class Errors
{
/// <summary>
/// Retrieves a string describing the error of a given error code.
/// </summary>
/// <param name="code">A specific error code.</param>
/// <retu... | http://www.codeproject.com/script/Articles/ViewDownloads.aspx?aid=609053&zep=AngleSharp%2FFoundation%2FErrors.cs&rzp=%2FKB%2Flibrary%2F609053%2F%2FSource.zip | CC-MAIN-2015-11 | en | refinedweb |
I'm doing an practice exercise from a book and I am having problems with initializing an array structure in a class.
I get multiple errors. one says a brace-enclosed initializer is not allowed here before '{' token.
another says ISO c++ forbids initialization of member 'drink'
third -making 'drink' satic
fourth error -... | http://cboard.cprogramming.com/cplusplus-programming/127070-initializing-structure-class-printable-thread.html | CC-MAIN-2015-11 | en | refinedweb |
I think that the problem you are having here might be related to one I ran into last week on avrfreaks. Could you please scrounge up four more wires and test your LCD in the 8-bit mode? I don't think that pictures are necessary, just a description of what happens should be OK. Don
sorry but how would I connect the wire... | http://forum.arduino.cc/index.php?topic=54458.msg390333 | CC-MAIN-2015-11 | en | refinedweb |
sigwaitinfo, sigtimedwait - wait for queued signals (REALTIME)
#include <signal.h> int sigwaitinfo(const sigset_t *set, siginfo_t *info); int sigtimedwait(const sigset_t *set, siginfo_t *info, const struct timespec *timeout);
The function sigwaitinfo() function sigwaitinfo() behaves the same as the sigwait() function i... | http://pubs.opengroup.org/onlinepubs/007908775/xsh/sigwaitinfo.html | CC-MAIN-2015-11 | en | refinedweb |
Introduction
The .NET framework contains a number of 'Dictionary' classes including:
All of these associate a key with a value and
are represented internally by a collection of key/value pairs. However, none of
them permit duplicate keys and so, if you try to add an item whose key is
already present, an exception is th... | http://www.c-sharpcorner.com/UploadFile/b942f9/a-dictionary-class-which-permits-duplicate-keys/ | CC-MAIN-2015-11 | en | refinedweb |
Edward Hyde, 1st Earl of Clarendon, was an English historian and statesman and grandfather to two British monarchs, Mary II and Queen Anne.
-------------------------------------------------------------
Dictionary of National Biography, 1885-1900, Volume 28
Hyde, Edward (1609-1674)
by Charles Harding Firth
HYDE, EDWARD,... | http://www.geni.com/people/Sir-Edward-Hyde-of-Dinton/6000000006444674622 | CC-MAIN-2015-11 | en | refinedweb |
#include <freeswan.h>
Ttoul
Numbers are specified in text ttoul tt.
The dstlen parameter of ult, ULTOT_BUF, which is the size of a buffer just large enough for worst-case results.
The format parameter of ultot must be one of:
'o'
8
'd'
10
'x'
16
17
Ttoul returns NULL for success and a pointer to a string-literal error ... | http://www.makelinux.net/man/3/I/ipsec_ttoul | CC-MAIN-2015-11 | en | refinedweb |
-- | Query and update documents residing on a MongoDB server(s) {-# LANGUAGE OverloadedStrings, RecordWildCards, NamedFieldPuns, TupleSections, FlexibleContexts, FlexibleInstances, UndecidableInstances, MultiParamTypeClasses, GeneralizedNewtypeDeriving, StandaloneDeriving, TypeSynonymInstances, RankNTypes, Impredicativ... | http://hackage.haskell.org/package/mongoDB-0.7/docs/src/Database-MongoDB-Query.html | CC-MAIN-2015-11 | en | refinedweb |
Quoting Eric W. Biederman (ebiederm@xmission.com):> "Ser.No, you shortcut security/commoncap.c:get_file_caps() if (bprm->nosuid),which is set if test_tsk_thread_flag(current, TIF_NOSUID) at exec.So if we're in this new no-suid mode, then file capabilities are nothonored.Which is the right thing to do.> >> removes> the ... | http://lkml.org/lkml/2009/12/30/236 | CC-MAIN-2015-11 | en | refinedweb |
Collections
Posted on March 1st, 2001
To summarize what we’ve seen so far, your first, most efficient choice to hold a group of objects should be an array, and you’re forced into this choice if you want to hold a group of primitives. In the remainder of the chapter we’ll look at the more general case, when you don’t kn... | http://www.codeguru.com/java/tij/tij0088.shtml | CC-MAIN-2015-11 | en | refinedweb |
29 August 2012 09:44 [Source: ICIS news]
SINGAPORE (ICIS)--Indian major Reliance Industries Ltd (RIL) has withdrawn all export offers for polypropylene (PP) from 28 August, on the back of low stock levels, a company source said on Wednesday.
RIL plans to resume offers for export beginning from 3 September for October s... | http://www.icis.com/Articles/2012/08/29/9590643/indias-ril-withdraws-all-pp-export-offers-to-resume-on-3.html | CC-MAIN-2015-11 | en | refinedweb |
my_product = Product.find(:first)
STDOUT.print my_product.name
my_product.name = "New Product Name"
Active Record uses English pluralization rules to map classes to tables. The model class name is singular and capitalized, while the table name is plural and lowercased. Examples include:
This singular/plural convention... | http://www.onlamp.com/pub/a/onlamp/2005/10/13/what_is_rails.html?page=3 | CC-MAIN-2015-11 | en | refinedweb |
this post I describe some of the similarities and differences between the standard ASP.NET Core
WebHostBuilder used to build HTTP endpoints, and the
HostBuilder used to build non-HTTP services. I discuss the fact that they use similar, but completely separate abstractions, and how that fact will impact you if you try ... | https://andrewlock.net/the-asp-net-core-generic-host-namespace-clashes-and-extension-methods/ | CC-MAIN-2021-31 | en | refinedweb |
This site uses strictly necessary cookies. More Information
Question no longer needs to be answered
Hello,
I am making a game and I have a script where I can move my object around the screen, but I want it so the object can only be moved inside a border. I followed this tutorial on how to make movable objects:
I was th... | https://answers.unity.com/questions/1543457/i-want-a-border-limit-from-which-object-can-be-mov.html | CC-MAIN-2021-31 | en | refinedweb |
Today everything is connected and everything is mobile. People expect access to their data and their apps across all their devices, and this means that as developers we have more work to do than ever. To make it easier to build amazing, enterprise-class mobile apps, Apple and Salesforce have announced a strategic partn... | https://developer.salesforce.com/blogs/2018/09/build-ios-apps-with-salesforce.html | CC-MAIN-2021-31 | en | refinedweb |
Optimizing VR Hit Game Space Pirate Trainer* to Perform on Intel® Integrated Graphics
Published: 05/29/2018 Last Updated: 05/29/2018
By Cristiano Ferreira (@cristianohh), Dirk Van Welden (@quarkcannon), and Seth Schneider (@SethPSchneider)
Space Pirate Trainer* was one of the original launch titles for HTC Vive*, Oculu... | https://software.intel.com/content/www/us/en/develop/articles/optimizing-vr-hit-game-space-pirate-trainer-to-perform-on-intel-integrated-graphics.html | CC-MAIN-2021-31 | en | refinedweb |
Re: [gentoo-dev] Needs ideas: Upcoming circular dependency: expat <> CMake
On 19.12.19 18:37, Michał Górny wrote: > We have a better alternative that lets us limit the impact on the users. > Why not use it? Which one? The CMake bootstrap copy? The adding to stage3 one?
Re: [gentoo-dev] Needs ideas: Upcoming circular de... | https://www.mail-archive.com/search?l=gentoo-dev%40lists.gentoo.org&q=from:%22Sebastian+Pipping%22&o=newest&f=1 | CC-MAIN-2021-31 | en | refinedweb |
The'.
The video 'Dealing with the explosion of complexity in web test automation' gives you a good idea of how QF-Test handles a deeply nested DOM structure.
Though they often go unnoticed, at least until the first
ComponentNotFoundException occurs, the 'Component' nodes
are the heart of a test-suite. Everything else r... | https://www.qfs.de/en/qf-test-manual/lc/manual-en-user_components.html | CC-MAIN-2021-31 | en | refinedweb |
Hi
I write code for microcontroller I want to write my own scheduler for microcontroller. But I am not getting any idea even after searching a lot
scheduling is process by which operating...
Hi
I write code for microcontroller I want to write my own scheduler for microcontroller. But I am not getting any idea even afte... | https://cboard.cprogramming.com/search.php?s=4034049aa1b526c9381d3a7af26c751e&searchid=7058638 | CC-MAIN-2021-31 | en | refinedweb |
Boost Implementation Variations
Separation of interface and implementation
The interface specifications for boost.org library components (as well as for quality software in general) are conceptually separate from implementations of those interfaces. This may not be obvious, particularly when a component is implemented ... | https://www.boost.org/community/implementation_variations.html | CC-MAIN-2018-43 | en | refinedweb |
Asynchronous wait on timer, part two, where a job was executed concurrently to the ASIO handler in another thread, using of a mutex, a lock, and an atomic int to let it work as expected.
With ASIO we can follow a different approach, based on its strand concept, avoiding explicit synchronization.
The point is that we wo... | http://thisthread.blogspot.com/2018/03/boost-asio-strand-example.html | CC-MAIN-2018-43 | en | refinedweb |
My problem is that i want to get the 1st part only of the string ive done based on my code i can get the audio/x-aiff by finding the space but want i want to do is i want to is get or print the .aif is there any way to get that 1st substring thanks in advance
#include <stdio.h> #include <string.h> int main(void) { char... | https://www.daniweb.com/programming/software-development/threads/371258/get-sub-string-in-a-string | CC-MAIN-2018-43 | en | refinedweb |
Gradual Packaging - allow packaging simple python code with very little effort. Later on (if needed) you can create a more polished package. Follow conventions, support the simple cases. If you need to go out of the simple cases, allow a path towards better packaging.
File layouts (based on simple and common layouts of... | http://renesd.blogspot.com/2017/02/gradual-packaging-python-part-two.html | CC-MAIN-2018-43 | en | refinedweb |
This chapter describes how to use XLink and XInclude with resources in Oracle XML DB Repository. It contains these topics:
Overview of XLink and XInclude
XLink and XInclude Link Types
XInclude: Compound Documents
Using XLink with Oracle XML DB
Using XInclude with Oracle XML DB
Examining XLink and XInclude Links using D... | http://docs.oracle.com/cd/E18283_01/appdev.112/e16659/xdb_xlink.htm | CC-MAIN-2016-44 | en | refinedweb |
*a student must have taken all 4 tests and have no test grade less than 80
*after the lowest of the four tests is dropped, the student must have an average 90 or better."
I have the code written but I still have a couple of problems:
1)When doing the if statement to decide which students are exempt, I get this error me... | http://www.dreamincode.net/forums/topic/48404-using-the-parse-methods-with-arrays/ | CC-MAIN-2016-44 | en | refinedweb |
Once I got a case in which my customer wanted to create a webpart which will allow them to add some custom webparts to the specific zone in the same page by checking the corresponding check boxes in that webpart. (almost similar to the functionality in IGoogle)
It will look like the image below :
That “Test” webpart wa... | https://blogs.msdn.microsoft.com/sowmyancs/2008/05/29/issue-with-the-webpartmanager-class-while-adding-webparts-dynamically-to-a-specific-webpart-zone/ | CC-MAIN-2016-44 | en | refinedweb |
Gitweb:;a=commit;h=bdf88217b70dbb18c4ee27a6c497286e040a6705 Commit: bdf88217b70dbb18c4ee27a6c497286e040a6705 Parent: 0ddc9cc8fdfe3df7a90557e66069e3da2c584725 Author: Roland McGrath <[EMAIL PROTECTED]> AuthorDate: Wed Jan 30 13:31:44 2008 +0100 Committer: Ingo Molnar <[EMAIL PROTECTED]> CommitDate: Wed Jan 30 13:31:44 2... | https://www.mail-archive.com/git-commits-head@vger.kernel.org/msg35816.html | CC-MAIN-2016-44 | en | refinedweb |
.barcelona;21 22 23 public class B1 extends B0{24 25 private int b1;26 27 public B1(){28 }29 30 public B_ | | http://kickjava.com/src/org/polepos/circuits/barcelona/B1.java.htm | CC-MAIN-2016-44 | en | refinedweb |
Odoo Help
This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.
How to get value from input tag in python ?
How to get value from input tag in python ? I've created input tag with id and name, but whatev... | https://www.odoo.com/forum/help-1/question/how-to-get-value-from-input-tag-in-python-90983 | CC-MAIN-2016-44 | en | refinedweb |
-- | ) where import Test.Hspec.Internal import qualified Test.QuickCheck as QC data QuickCheckProperty a = QuickCheckProperty a property :: QC.Testable a => a -> QuickCheckProperty a property = QuickCheckProperty instance QC.Testable t => SpecVerifier (QuickCheckProperty t) where it description (QuickCheckProperty pro... | http://hackage.haskell.org/package/hspec-0.3.0/docs/src/Test-Hspec-QuickCheck.html | CC-MAIN-2016-44 | en | refinedweb |
django-redactoreditor 1.2.7
Integrates the Redactor Javascript WYSIWYG editor with Django.
This package helps integrate the Redactor Javascript WYSIWYG-editor in Django.
Installation
- Pip install: pip install django-redactoreditor (or add the redactor directory to your Python path)
- Add the redactor application to yo... | https://pypi.python.org/pypi/django-redactoreditor/1.2.7 | CC-MAIN-2016-44 | en | refinedweb |
CodePlexProject Hosting for Open Source Software
I'm making a game that uses Farseer Physics, and the XNA.Framework.Content. So far to get the physics engine and XNA content pipeline to work together, I've added quite a few [ContentSerializerIgnore] attribute tags around the XNA3 branch. I'm also keeping
with the lates... | http://farseerphysics.codeplex.com/discussions/58138 | CC-MAIN-2016-44 | en | refinedweb |
Dan Harmon says
Interesting problem. There are two questions to be answered; which wire in the box is hot and which is neutral, and which one on the swag fixture is which.
This sounds like it is likely the old knob and tube wiring from decades ago used when they didn't care much which wire went where although the plast... | http://hubpages.com/living/answer/105157/how-do-i-wire-old-ceiling-light-where-all-wires-are-the-same-color-in-the-light-and-ceiling-box | CC-MAIN-2016-44 | en | refinedweb |
:
I/O and Streams
Need help with simulating unix command in java
david colais
Greenhorn
Posts: 29
posted 4 years ago
Hi,
I have a unix command as follows:
Command : nawk -F, '{x=$4;gsub(" ", "", x);print >x".dat"}' $proj_file
The file passed to it is a .txt file with over 20 columns and over a million rows.
The above c... | https://coderanch.com/t/559827/java/simulating-unix-command-java | CC-MAIN-2016-44 | en | refinedweb |
Code. Collaborate. Organize.
No Limits. Try it Today.
Keith Barrow wrote:Half of Punt and Denis is doing an excellent Eric Idle impression.
public class SanderRossel : Lazy<Person>
{
public void DoWork()
{
throw new NotSupportedException();
}
}
_Maxxx_ wrote:Is this the beginning of the 'dumbing down' of programming?
_... | http://www.codeproject.com/Lounge.aspx?fid=1159&df=90&mpp=10&noise=1&prof=True&sort=Position&view=None&spc=None&select=4484889&fr=2808 | CC-MAIN-2014-23 | en | refinedweb |
Diffie Hellman key exchange
Over View
The following code snippet demonstrates the Diffie-Hellman key exchange algorithm which is a cryptography algorithm that allows two parties to jointly establish a shared secret key over an insecure communication channel. Diffie Hellman method is used to jointly arrive at the same S... | http://developer.nokia.com/community/wiki/index.php?title=Diffie_Hellman_key_exchange&oldid=162617 | CC-MAIN-2014-23 | en | refinedweb |
On a side note, the Bluetooth module has a red LED which doesn't stop flashing. Should I expect the flashing to stop at some point if things are working properly?Is it possible this isn't going to work because my bluetooth module is "Master-Only" ?
#include <WProgram.h>void setup(){ Serial.begin(9600); // bluetooth ser... | http://forum.arduino.cc/index.php?topic=97971.msg745780 | CC-MAIN-2014-49 | en | refinedweb |
1 Nov 20:07 2000
statically nested scopes
Jeremy Hylton <jeremy <at> alum.mit.edu>
2000-11-01 19:07:10 GMT
2000-11-01 19:07:10 GMT
Title: Statically Nested Scopes Author: Jeremy Hylton <jeremy <at> digicool.com> Status: Draft Type: Standards Track Created: 01-Nov-2000 Abstract This PEP proposes the additional of static... | http://permalink.gmane.org/gmane.comp.python.devel/25058 | CC-MAIN-2014-49 | en | refinedweb |
User:Modusoperandi/PLS
From Uncyclopedia, the content-free encyclopedia
{{:User:Electrified mocha chinchilla/PLS/Main}}
Consult the talk page or me for any questions or concerns. See the Poo Lit Archives for the results from past competitions.
edit The competition
edit What is the Poo Lit Surprise?
A writing competitio... | http://uncyclopedia.wikia.com/wiki/User:Modusoperandi/PLS?oldid=5010836 | CC-MAIN-2014-49 | en | refinedweb |
In this section we are going to discuss about how to reverse a sting in java. There are many ways to reverse a string in java java API provides StringBuffer and StringBuilder reverse() method which can easily reverse a string, this is the most easy way to reverse a string in java but in most interview they will ask to ... | http://www.roseindia.net/java/beginners/index/string-reverse-in-java.shtml | CC-MAIN-2014-49 | en | refinedweb |
Reference Index
Table of Contents
sem_init, sem_wait, sem_trywait, sem_post, sem_getvalue, sem_destroy - operations on semaphores
#include <semaphore.h>
int sem_init(sem_t *sem, int pshared, unsigned int value);
int sem_wait(sem_t * sem);
int sem_timedwait(sem_t * sem, const struct timespec *abstime);
int sem_trywait(s... | http://www.sourceware.org/pthreads-win32/manual/sem_init.html | CC-MAIN-2014-49 | en | refinedweb |
Minutes of 20 Feb 2002 and 13 March 2002 approved as posted.
-- On Email binding appendices: MarkB sees the current email binding (RFC 2822) as insufficient in our attempt to exercise our binding framework. Noah does not share MarkB's concerns, he thinks the current Email binding is a usable binding, and it shows a "se... | http://www.w3.org/2000/xp/Group/2/03/20-pminutes.html | CC-MAIN-2014-49 | en | refinedweb |
Matthew Dillon <dillon@apollo.backplane.com> writes: > It's not an issue for USB, but it is an actual > error... well, more like a warning. . .. > USB is generating an interrupt which is not being handled > by the interrupt service routine, or which is being > generated before USB is able to install its service > routi... | http://leaf.dragonflybsd.org/mailarchive/kernel/2007-08/msg00051.html | CC-MAIN-2014-49 | en | refinedweb |
Panel Class
Provides a base class for all Panel elements. Use Panel elements to position and arrange child objects in Windows Presentation Foundation (WPF) applications.
Assembly: PresentationFramework (in PresentationFramework.dll)
The Panel type exposes the following members.
A Panel contains a collection of UIElemen... | http://msdn.microsoft.com/en-us/library/System.Windows.Controls.Panel(v=vs.100).aspx | CC-MAIN-2014-49 | en | refinedweb |
FileAttributes Enumeration
Provides attributes for files and directories.
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
Namespace: System.IONamespace: System.IO
Assembly: mscorlib (in mscorlib.dll)
You can get attributes for files and directories by calling the ... | http://msdn.microsoft.com/library/windows/apps/system.io.fileattributes(v=vs.110).aspx?cs-save-lang=1&cs-lang=cpp | CC-MAIN-2014-49 | en | refinedweb |
.
Functionality extensions
Let's start by exploring some of the GCC tricks that extend the standard C language.
Type discoveryof to build a generic macro
#define min(x, y) ({ \ typeof(x) _min1 = (x); \ typeof(y) _min2 = (y); \ (void) (&_min1 == &_min2); \ _min1 < _min2 ? _min1 : _min2; })
Range extension
case statement... | http://www.ibm.com/developerworks/library/l-gcc-hacks/ | CC-MAIN-2014-23 | en | refinedweb |
Larry Franks and Brian Swan on Open Source and Device Development in the Cloud
Recently I was trying to figure out how to allow users to login to a Ruby (Sinatra) web site using an identity service such as Facebook, Google, Yahoo, etc. I ended up using Windows Azure AppFabric Access Control Service (ACS) since it has b... | http://blogs.msdn.com/b/silverlining/archive/2011/10/03/ruby-web-sites-and-windows-azure-appfabric-access-control.aspx | CC-MAIN-2014-23 | en | refinedweb |
Is there such a type as "days"?
This is a discussion on Validating time within the C++ Programming forums, part of the General Programming Boards category; Is there such a type as "days"?...
[EDIT}[EDIT}Code:void Contract::CalculateNoOfDays(Date issue_dt, Date return_dt) { using namespace boost::gregorian; std::ostring... | http://cboard.cprogramming.com/cplusplus-programming/110978-validating-time-2.html | CC-MAIN-2014-23 | en | refinedweb |
Use cond_destroy(3C) to destroy state that is associated with the condition variable pointed to by cv . The space for storing the condition variable is not freed. For POSIX threads, see pthread_condattr_destroy Syntax.
#include <thread.h> int cond_destroy(cond_t *cv);
cond_destroy() returns 0 if successful. When any of... | http://docs.oracle.com/cd/E19253-01/816-5137/sthreads-82842/index.html | CC-MAIN-2014-23 | en | refinedweb |
financial market, believing is not seeing. When people become convinced a particular investment strategy is a risk-free way of making money, typically everyone ends up losing their shirt. In the case of Japan, the belief that the yen will weaken in the future creates an incentive for firms to borrow at home and invest... | http://www.economist.com/comment/1958286 | CC-MAIN-2014-23 | en | refinedweb |
Stateflow® provides context-sensitive editing assistance with tab completion. You can quickly select syntax-appropriate options for keywords, data, event, and function names.
In R2014a, there is one Stateflow Chart block that defaults to using MATLAB as the action language. You can modify the action language of a chart... | http://www.mathworks.co.uk/help/stateflow/release-notes.html?nocookie=true | CC-MAIN-2014-23 | en | refinedweb |
The official source of product insight from the Visual Studio Engineering Team
This:
· Adding code-behind to a Start Page
· Persisting user settings using the Visual Studio Settings Store
· Sharing a Start Page on the Visual Studio Gallery
In these next steps we will remove the unnecessary XAML in the user control and ... | http://blogs.msdn.com/b/visualstudio/archive/2010/07/29/walkthrough-creating-a-custom-start-page-part-2.aspx | CC-MAIN-2014-23 | en | refinedweb |
The Java EE 7 Tutorial
45.2 Basic JMS API Concepts.
45.2.1 JMS API Architecture 45-2 illustrates the way these parts interact. Administrative tools or annotations allow you to bind destinations and connection factories into a JNDI namespace. A JMS client can then use resource injection to access the administered object... | http://docs.oracle.com/javaee/7/tutorial/doc/jms-concepts002.htm | CC-MAIN-2014-23 | en | refinedweb |
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 | en | refinedweb |
Fundamental use cases for porting iPhone and Android applications to Qt
Revision as of 04:16, 11 October 2012[2] property. Note that the QtWebKit import is also required.
import QtQuick 1.0
import QtWebKit 1.0
WebView {
height: 640
width: 480
url: ""
}
To get a scrolling webview, put the WebView element inside a Flicka... | http://developer.nokia.com/community/wiki/index.php?title=Fundamental_use_cases_for_porting_iPhone_and_Android_applications_to_Qt&diff=174961&oldid=111301 | CC-MAIN-2014-23 | en | refinedweb |
> From: Christopher Lenz [mailto:cmlenz@gmx.de]
> Dominique Devienne wrote:
> >>From:?
>
> If you also define the namespace prefix "xsi", the document is still
> well-formed so everything should be fine. Xerces will not try to validate
> the build file though, since Ant doesn't put the parser in validating
> mode, of c... | http://mail-archives.apache.org/mod_mbox/ant-dev/200311.mbox/%3CD44A54C298394F4E967EC8538B1E00F10248CB2D@lgchexch002.lgc.com%3E | CC-MAIN-2014-23 | en | refinedweb |
ServiceProcessInstaller Class
Installs an executable containing classes that extend ServiceBase. This class is called by installation utilities, such as InstallUtil.exe, when installing a service application.
For a list of all members of this type, see ServiceProcessInstaller Members.
System.Object
System.MarshalByRefO... | http://msdn.microsoft.com/en-US/library/system.serviceprocess.serviceprocessinstaller(v=vs.71).aspx | CC-MAIN-2014-23 | en | refinedweb |
System.Speech.Recognition.SrgsGrammar Namespace
With the members of the System.Speech.Recogntion.SRGSGrammar namespace, you can programmatically create grammars that comply with the W3C Speech Recognition Grammar Specification Version 1.0 (SRGS).
To create an SRGS grammar programmatically, you construct an empty SrgsDo... | http://msdn.microsoft.com/en-us/library/system.speech.recognition.srgsgrammar(d=printer).aspx | CC-MAIN-2014-23 | en | refinedweb |
Peer-to-Peer Collaboration Peer-to-Peer Collaboration Infrastructure is a simplified implementation of the Microsoft Windows Peer-to-Peer Infrastructure that leverages the People Near Me service in Windows Vista and later platforms. It is best used for peer-enabled applications within a subnet for which the People Near... | http://msdn.microsoft.com/en-us/library/vstudio/bb968787(v=vs.100).aspx | CC-MAIN-2014-23 | en | refinedweb |
Asynchronous Programming
What happens if you have a lot of sockets that are waiting to read or write data? Asynchronous programming lets you write code that basically says, "Call my callback when you actually have something for me." Although this approach is used all the time in C, it's even nicer in Python because Pyt... | http://www.drdobbs.com/tools/concurrency-and-python/206103078?pgno=3 | CC-MAIN-2014-23 | en | refinedweb |
Row-level permissions model
The row-level permissions system): model_id = models.PositiveIntegerField("'Type' ID") model_ct = models.ForeignKey(ContentType, verbose_name="'Type' content model", related_name="model_ct") owner_id = models.PositiveIntegerField("'Owner' ID") owner_ct = models.ForeignKey(ContentType, verbos... | https://code.djangoproject.com/wiki/RowLevelPermissionsDeveloper?version=5 | CC-MAIN-2014-23 | en | refinedweb |
Carsten Ziegeler wrote:
> Reinhard Pötz wrote
>>
>> My proposal
>> -----------
>>
>> * I think we should contact the Apache Commons community and talk with
>> them about org.apache.excalibur.sourceresolve.jnet stuff.
>>
>> * Since I don't expect that we can release it from there anytime soon, I
>> think we should relea... | http://mail-archives.apache.org/mod_mbox/cocoon-dev/200804.mbox/%3C481586F0.7070909@apache.org%3E | CC-MAIN-2014-23 | en | refinedweb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.