text stringlengths 20 1.01M | url stringlengths 14 1.25k | dump stringlengths 9 15 ⌀ | lang stringclasses 4
values | source stringclasses 4
values |
|---|---|---|---|---|
owner_ptr<T> apT = new T; //apT is a safe exclusive owner
ref_ptr<T> rT = apT; //rT is a safe observer
vector<owner_ptr<T, in_collection> > vT; //a safe exclusive owner collection
ref_ptr<T> rT = vT[i]; //safe observer of an element
Download source (xnr.zip) - 9.4KB - 3 files ( xnr_ptrs.h, xnr_lean_ptr_engine.h, win_re... | http://www.codeproject.com/Articles/489429/Smart-pointers-for-single-owners-and-their-aliases?fid=1816466&df=90&mpp=10&noise=1&prof=True&sort=Position&view=Expanded&spc=None&fr=11 | CC-MAIN-2013-48 | en | refinedweb |
- Newbie Frontier::Daemon problem
- 'Replacement strings' in tagged data
- RDF-DAML question: missing object
- newbie: XML-based message protocol over TCP?
- How to use xsl variable in attribute value?
- Netscape, xml problem
- Adding empty CDATA bad?
- Unable to parse multiple values using XMLStarlet
- Nextpage Folio ... | http://www.velocityreviews.com/forums/archive/f-32-p-25.html | CC-MAIN-2013-48 | en | refinedweb |
User Tag List
Results 1 to 11 of 11
Need MVC expert to verify I am on right track.
After much though and deliberation, I have come to some decisions regarding my mvc project. I have reasons why I decided on my persistence engine over others and why I chose to perform injection the way I did. Overlook these two issues a... | http://www.sitepoint.com/forums/showthread.php?691318-Need-MVC-expert-to-verify-I-am-on-right-track&p=4658608&viewfull=1 | CC-MAIN-2013-48 | en | refinedweb |
namespace BusinessRules.Evolution_One
{
/// <summary>
/// Interface describing the Investor Domain object.
/// </summary>
public interface IInvestor
{
/// <summary>
/// Gets or sets the income.
/// </summary>
/// <value>The income.</value>
double Income { get; set; }
/// <summary>
/// Gets the tax liability.
/// </summ... | http://www.codeproject.com/script/Articles/ViewDownloads.aspx?aid=16469&zep=BusinessRules%2F1+-+Evolution+One%2FIInvestor.cs&rzp=%2FKB%2Farchitecture%2Fdomainrules%2F%2Fdomainrules_src.zip | CC-MAIN-2013-48 | en | refinedweb |
On Sun, 13 Feb 2000, Maurizio Loreti wrote: > > I. > > Yes, I had problems ... > I have unpacked the distribution, then used the commands: > > gzip -dc aspell-.29.1pre1.tar.gz | tar xof - > cd aspell-.29.1pre1 > ./configure alphaev56-dec-osf4.0d --prefix=/opt/gnu --with-gcc > make > > The compiler is gcc-2.95.2 . I had... | http://lists.gnu.org/archive/html/aspell-user/2000-02/msg00021.html | CC-MAIN-2013-48 | en | refinedweb |
posix_fadvise(), posix_fadvise64()
Provide advisory information about the expected use of a file
Synopsis:
#include <fcntl.h> int posix_fadvise( int fd, off_t offset, size_t len, int advice ); int posix_fadvise64( int fd, off64_t offset, size_t len, int advice );
Since:
BlackBerry 10.0.0
Arguments:
- fd
- An open file ... | https://developer.blackberry.com/native/reference/core/com.qnx.doc.neutrino.lib_ref/topic/p/posix_fadvise.html | CC-MAIN-2020-10 | en | refinedweb |
System.
Threading. Tasks Namespace
The
System.Threading.Tasks namespace provides types that simplify the work of writing concurrent and asynchronous code. The main types are Task which represents an asynchronous operation that can be waited on and cancelled, and Task<TResult>, which is a task that can return a value. T... | https://docs.microsoft.com/en-us/dotnet/api/system.threading.tasks?view=netcore-2.2 | CC-MAIN-2020-10 | en | refinedweb |
Last May, I did an article that explored how to "Retrofit" the new WebResource.axd features in ASP.NET 2.0 and how you could "replicate" all the features of the 2.0 ClientScript callback into the 1.1 platform.
Here I want to focus on one aspect of the items covered there, and that is the use of the WebResource.axd "pha... | http://www.nullskull.com/a/718/using-the-webresourceaxd-handler-with-embedded-aspnet-resources.aspx | CC-MAIN-2020-10 | en | refinedweb |
std::basic_istream::ignore in C++ with Examples
The std::basic_istream::ignore is used to extracts characters from the input string and discards them including delimiting character, i.e., if the end of the file is reached this function stops extracting characters. The delimiting character is the new line character i.e ... | https://www.geeksforgeeks.org/stdbasic_istreamignore-in-c-with-examples/?ref=rp | CC-MAIN-2020-29 | en | refinedweb |
Receiver Operating Characteristic Curves Demystified (in Python)
In this blog, I will reveal, step by step, how to plot an ROC curve using Python. After that, I will explain the characteristics of a basic ROC curve.
By Syed Sadat Nazrul, Analytic Scientist
In Data Science, evaluating model performance is very important... | https://www.kdnuggets.com/2018/07/receiver-operating-characteristic-curves-demystified-python.html | CC-MAIN-2020-29 | en | refinedweb |
One line solution in Clear category for Non-unique Elements by timio
#Your optional code here
#You can import some modules or create additional functions
def checkio(data):
return [n for n in data if data.count(n) > 1]
"
July 9, 2014
Forum
Global Activity
Jobs
Class Manager
Leaderboard
Coding games
Python programming f... | https://py.checkio.org/mission/non-unique-elements/publications/timio/python-3/one-line/share/7e471b2509315091fabc5c0ea00d0739/ | CC-MAIN-2018-39 | en | refinedweb |
coremltools¶
Core ML is an Apple framework that allows developers to easily integrate machine learning (ML) models into apps. Core ML is available on iOS, watchOS, macOS, and tvOS. Core ML introduces a public file format (.mlmodel) for a broad set of ML methods including deep neural networks (convolutional and recurren... | https://apple.github.io/coremltools/ | CC-MAIN-2018-39 | en | refinedweb |
public static boolean member(Integer obj,SimpleList<Integer> l); // returns true if obj is a member of l, false otherwise { }
the question is how could I use recursion to show that there is a member of a list?
I thought that maybe
if (l.isEmpty())
{return false}
else
?
thanks
Could you detail a bit more.
Could you deta... | https://www.daniweb.com/programming/software-development/threads/160569/recursion-problem | CC-MAIN-2018-39 | en | refinedweb |
We spent a week here from 11-18th Feb and thoroughly enjoyed it. As other reviewers have mentioned it is a little isolated but this probably helps with the warm and friendly atmosphere in the hotel.
We found all of the staff to be friendly and courteous, always asking how your day was going and ensuring your were enjoy... | https://www.tripadvisor.com/ShowUserReviews-g297555-d1416068-r152782270-Jaz_Sharks_Bay-Sharm_El_Sheikh_South_Sinai_Red_Sea_and_Sinai.html | CC-MAIN-2017-30 | en | refinedweb |
I'm trying to build an oscilloscope witch will communicate with the PC trough USB. Is it possible to make data exchange trough USB from user-space without writing drivers? (in windows XP)
I understood that to make things easier I have to make my oscilloscope a HID. If i'll do that i'll still have to write kernel code?
... | http://forums.codeguru.com/showthread.php?527711-Problems-with-WinDDK-provided-sample-drivers-(DrvStartPage-does-not-get-called)&goto=nextoldest | CC-MAIN-2017-30 | en | refinedweb |
Wiring up a web page to a backend database can be tedious. You have to use some type of data access layer (DAL) and then map this to fields on a page. This is repetitive and error prone code. There are numerous ORM tools that allow you to interface with a database but this does not help you with loading controls, promp... | https://www.codeproject.com/Articles/205099/Binding-Web-Pages-with-nHydrate?fid=1630703&df=90&mpp=10&noise=1&prof=True&sort=Position&view=Expanded&spc=None | CC-MAIN-2017-30 | en | refinedweb |
119 Neutral
About darraghdev
- RankNewbie
darraghdev reviewed Alpha_ProgDes's article in General and Gameplay Programming
darraghdev replied to darraghdev's topic in For BeginnersThanks.
darraghdev posted a topic in For BeginnersHey guys, sorry this isn't really a question I'd just like some feedback. I started a progr... | https://www.gamedev.net/profile/209479-hkjsdhkjhflajhlaksjhdkhfsk/ | CC-MAIN-2017-30 | en | refinedweb |
import datetime
today = datetime.date.today()
print ('Today is: ' + str(today))
//returns Today is: 2016-10-06
Based on
datetime.strftime() documentation:
import datetime today = datetime.date.today() print('Today is: ' + today.strftime("%B %d, %Y")) # Today is: October 06, 2016
Where:
%B- Month as locale’s full name
%... | https://codedump.io/share/vpbdTYA4Vcrm/1/need-help-on-datetime-manipulation-in-python | CC-MAIN-2017-30 | en | refinedweb |
In this post I will describe all the steps needed to execute custom Java code upon the selection of an entry in the action menu or the click of a button in the toolbar.
Add a sigoptionFirst you need to create a new sigoption. Open the Application Designer and select the application you want to modify. Select 'Add/Modif... | http://maximodev.blogspot.com/2011/08/call-java-method-on-action-menu-or.html | CC-MAIN-2017-30 | en | refinedweb |
player_blobfinder_color_config Struct Reference
#include <player_interfaces.h>
Detailed DescriptionRequest.
Definition at line 2748 of file player_interfaces.h.
Member Data Documentation
For devices that can track multiple colors, indicate which color channel we are defining with this structure.
Single channel devices ... | http://playerstage.sourceforge.net/doc/Player-2.1.0/player/structplayer__blobfinder__color__config.html | CC-MAIN-2017-30 | en | refinedweb |
Hi everyone,
I've taken a C++ class this semester and now I'm writing the seminal program, which is my first large-ish C++ project.
Usually it's a good idea to split code into smaller auxiliary functions when something grows too large. The question I want to ask is where is a good place to put those.
Say I have a .cpp ... | https://cboard.cprogramming.com/cplusplus-programming/113443-where-put-local-auxiliary-functions.html?s=65ca4d71c864a38898e136e016f85a69 | CC-MAIN-2020-10 | en | refinedweb |
AWS Cloud Development Kit (CDK) is a fantastic way of deploying AWS resources in a programmatic and repeatable way. If you are reading this blog you'll be happy to know that it was deployed and has all its resources managed entirely through CDK. But the benefits of using CDK don't stop at the programmatic syntax!
I was... | https://devopstar.com/2020/02/04/cdk-debugging-in-vscode | CC-MAIN-2020-10 | en | refinedweb |
Cellular automata, WinCA application VI
We continue with the series dedicated to cellular automata and the WinCA application, dedicated to build and executing them. In this article I will explain the code related to the expression system that allows establishing the conditions to change from one state to.
Language comp... | http://software-tecnico-libre.es/en/article-by-topic/data-analytics/complex-systems/cellular-automata/cellular-automata-winca-6 | CC-MAIN-2020-10 | en | refinedweb |
_amblksiz
The increment for the break pointer
Synopsis:
#include <stdlib.h> unsigned int _amblksiz
Since:
BlackBerry 10.0.0
Description:
The _amblksiz global variable is the basic unit that's used for heap allocations to get memory from the system using mmap(). All underlying mmap() operations made by the heap allocato... | https://developer.blackberry.com/native/reference/core/com.qnx.doc.neutrino.lib_ref/topic/a/_amblksiz.html | CC-MAIN-2020-10 | en | refinedweb |
Last time [1], I gave a survey of the first batch of suggested library extensions that were considered at the October 2001 C++ standards meeting in Redmond, Washington, USA. This time, as promised, we'll take a closer look at one of the proposed facilities smart pointers, which were discussed again at the following Apr... | https://www.drdobbs.com/cpp/the-new-csmarter-pointers/184403837 | CC-MAIN-2020-10 | en | refinedweb |
Learn conditional logic with branch and loop statements
This tutorial teaches you how to write code that examines variables and changes the execution path based on those variables. You write C# code and see the results of compiling and running it. The tutorial contains a series of lessons that explore branching and loo... | https://docs.microsoft.com/en-us/dotnet/csharp/tutorials/intro-to-csharp/branches-and-loops-local | CC-MAIN-2020-10 | en | refinedweb |
David Quiroz807 Points
Defining a Method and taking a string x amount of times, then looping and breaking
Not sure what is being ask of me in this challenge:.
My question is mainly what am I meant to do for this challenge?
Code Provided:
def repeat(string, times) fail "times must be 1 or more" if times < 1 counter = 0 ... | https://teamtreehouse.com/community/defining-a-method-and-taking-a-string-x-amount-of-times-then-looping-and-breaking | CC-MAIN-2020-10 | en | refinedweb |
Occasionally, blocking a thread checking for completion (or simply
.geting inside another thread) is to periodically check for completion.
Searching for solutions yields the above and an (outdated) Play dependant implementation. Here's a more simple solution using netty's
HashWheelTimer. Please note that
new HashWheelT... | https://andrewconner.com/posts/using-java-future-in-scala/ | CC-MAIN-2020-10 | en | refinedweb |
perfolationperfolation
Performance focused interpolation
Based on the original work of Dmitry Komanov ().
Note: the current version of the interpolation Macro is a complete rip-off of fast-string-interpolator as their performance is superior, but they don't currently support Scala.js or Scala Native.
What is it?What is... | https://index.scala-lang.org/outr/perfolation/perfolation/1.1.5?target=_2.12 | CC-MAIN-2020-10 | en | refinedweb |
Summary
Azure Event Hubs provides big data applications the capability to process large volume of data. It can also scale out during exceptionally high-demand periods as and when required. Azure Event Hubs decouples the sending and receiving messages to manage the data processing. This helps eliminate the risk of overw... | https://docs.microsoft.com/en-us/learn/modules/enable-reliable-messaging-for-big-data-apps-using-event-hubs/8-summary | CC-MAIN-2020-10 | en | refinedweb |
Developing an IntelliJ / WebStorm JavaScript plugin
I am writing this post because I want to encourage developers to write more JavaScript plugins for the IDEA platform. At the time of this writing there are 25 JavaScript plugins available for download. Three of them are mine.
In this post I will describe how to write ... | https://medium.com/@andresdom/developing-an-intellij-webstorm-javascript-plugin-65416f9afea3 | CC-MAIN-2020-10 | en | refinedweb |
Caching
Automatically set HTTP cache headers and save full responses in a cache.
Production apps often rely on caching for scalability.
A single GraphQL request consists of running many different resolvers, each of which can have different caching semantics. Some fields may be uncacheable. Some fields may be cacheable ... | https://www.apollographql.com/docs/apollo-server/performance/caching/ | CC-MAIN-2020-10 | en | refinedweb |
WikiClone wiki
mTango / mTangoUI
Welcome to mTangoUI page
On this page you will find mTangoUI user manual and its technical background. There is also an information about jsTangORB on top of which mTangoUI is implemented.
jsTangORB
jsTangORB is a javascript library that provides a high level API similar to TangORB.jar.... | https://bitbucket.org/hzgwpn/mtango/wiki/mTangoUI | CC-MAIN-2020-10 | en | refinedweb |
.
Cookies vs. Local Storage
We'll be using local storage to store tokens. Local storage is a means by which data is stored locally and can only be removed via JavaScript or by clearing the cache in the browser. Data stored in local storage can persist for a very long time. Cookies, on the other hand, are messages that ... | https://code.tutsplus.com/tutorials/jwt-authentication-in-angular--cms-32006?ec_unit=translation-info-language | CC-MAIN-2020-10 | en | refinedweb |
I want to optimize the following small integer program in speed.
My g++ compiler version is 4.3.4 on 32 bit linux.
Please suggest or comment the following ideas.
Some ideas are:
1. use compile flag such as -O3
2. rewrite the bigger function with function object
#include <algorithm> #include <cstdlib> // for abs() using... | https://www.daniweb.com/programming/software-development/threads/288308/optimize-integer-program-in-speed | CC-MAIN-2017-43 | en | refinedweb |
Data Base Distributor
Introduction
The project Database Distributor serves the purpose for distributing the data from centralized server to different geographical sites/servers/computer which will be relevant for the user of that particular site.
The system will require just the entry of data in centralized server and ... | https://hubpages.com/technology/Data-Base-Distributor-by-viplove | CC-MAIN-2017-43 | en | refinedweb |
Hi,
I have one Data Contract class like this.
[DataContract()]
public class Contract
{
.......
.........
Some Properties with DataMembers Attribute.
............
..............
[DataMember(Name = "Messages")]
public string Messages
{
get;
set;
}
}
In the above class, i need change name of the Property Messages based on... | http://www.dotnetspark.com/links/45560-how-to-change-datamember-name-based-on-our.aspx | CC-MAIN-2017-43 | en | refinedweb |
Hello everyone!
I have here my last homework assignment for an introductory C++ programming class. My skill level in this class ended about 4 weeks ago, so I'm have a terrible time with this last assignment.
I've searched the board and found a few threads related to this exact same program, but due to my limited knowle... | https://cboard.cprogramming.com/cplusplus-programming/61985-assistance-some-homework-please.html | CC-MAIN-2017-43 | en | refinedweb |
This is a simple little server program... my first socket program and pretty much my first program so don't bash me too badly on the formatting. You'll see that the program accepts input from the client and displays it in a message box... but what I don't understand is when I send the command quit... why does it not qu... | http://www.antionline.com/showthread.php?249874-SIMPLE-C-Server&s= | CC-MAIN-2017-43 | en | refinedweb |
#include <hallo.h> * Robert Millan [Tue, Nov 11 2003, 12:21:32PM]: > > . However I'll respond > to your question this time: Why could you not just wait for the debian-kernel mailing list to be created and really discuss your proposal there with other maintainers (which may have more experience in packaging kernels for ... | https://lists.debian.org/debian-devel/2003/11/msg00793.html | CC-MAIN-2017-43 | en | refinedweb |
Getting Started with Streaming in Python
Getting Started with Plotly Streaming
If you want to skip ahead to other streaming examples, you can go to any of the following links:
Check which version is installed on your machine and please upgrade if needed.
import plotly plotly.__version__
'1.9.10'
Now let's load the depe... | https://plot.ly/python/streaming-tutorial/ | CC-MAIN-2017-43 | en | refinedweb |
Jun 17, 2011 06:42 PM|jodeantn|LINK
I swicth to source code view and put the cursor between the <script runat="server"> and </script> tags.
The Object drop-down list (top area of the surce vode frame), does not display.
How can the Object -dropdown list be displayed.
All-Star
32671 Points
Jun 20, 2011 03:22 PM|supergup... | http://forums.asp.net/t/1691173.aspx?visual+web+developer+source+code+frame+is+not+showing+a+object+drop+down+box | CC-MAIN-2014-52 | en | refinedweb |
Is there any documentation on doing this the right (meaning, GNU) way? I've separated out find_mount_point() into a separate .c file, created a .h file, put both in ./gnulib/lib and linked-to them from lib, included the .h file in stat.c and df.c, but cannot compile (w/make). I believe I still need to modify a makefile... | http://lists.gnu.org/archive/html/bug-coreutils/2010-07/msg00043.html | CC-MAIN-2014-52 | en | refinedweb |
gridlayout with combo box
Dustin Schreader
Ranch Hand
Joined: May 25, 2009
Posts: 74
posted
Feb 12, 2011 00:34:19
0
I'm new to using gridlayout and combo boxs. I would like to get a combo box with three options, Saint Mary's hospital, Methodist, and both. Once an option is selected a search (textfield) will look throu... | http://www.coderanch.com/t/527103/GUI/java/gridlayout-combo-box | CC-MAIN-2014-52 | en | refinedweb |
Introduction
The IBM® Rational® Application Developer integrated development environment (IDE) for software developers includes tools that help in designing, developing, testing, and deploying portal applications. The workbench provides tools to design and develop portal applications that can integrate with Java Enterp... | http://www.ibm.com/developerworks/rational/library/new-rational-application-developer-portal-tools/index.html?cmp=dw&cpb=dwrat&ct=dwnew&cr=dwnen&ccy=zz&csr=110912 | CC-MAIN-2014-52 | en | refinedweb |
Using Consumer Priorities with RabbitMQ?
Heterogeneous Cluster
Let's say our cluster of workers doesn't run in exactly the same hardware. Some machines have some hardware features that give them an advantage over the others in the cluster based on the type of task we are running. For example some machines have SSDs and... | http://www.rabbitmq.com/blog/2013/12/16/using-consumer-priorities-with-rabbitmq/ | CC-MAIN-2014-52 | en | refinedweb |
Author: tabish
Date: Wed Mar 17 21:16:53 2010
New Revision: 924496
URL:
Log:
Cleanup the API docs to fix Doxygen warnings (decaf::util) package
Modified:
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/BlockingQueue.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/Reject... | http://mail-archives.apache.org/mod_mbox/activemq-commits/201003.mbox/%3C20100317211708.BF8DE23888DD@eris.apache.org%3E | CC-MAIN-2014-52 | en | refinedweb |
.
Moving the relation from one class to another feels a little off, but I’m a fan of query objects for this sort of use case as Bryan discusses in his ‘fat models’ post:
July 20, 2013 at 10:13 pm
A quick note on security with this refactoring: Without chaining through user, the query for projects will not automatically... | http://pivotallabs.com/activerecord-refactoring-move-association-behavior-to-associated-class/?tag=ruby-on-rails | CC-MAIN-2014-52 | en | refinedweb |
Business::BR::Ids::Common - Common code used in Business-BR-Ids modules
use Business::BR::Ids::Common qw(_dot _canon_i _canon_id); my @digits = (1, 2, 3, 3); my @weights = (2, 5, 2, 6); my $dot = _dot(\@weights, \@digits); # computes 2*1+5*2+2*3+6*3 = 36 # computes the sum of digits of ( 2*1, 5*2, 2*3, 6*3 ) # which is... | http://search.cpan.org/~ferreira/Business-BR-Ids-0.0022/lib/Business/BR/Ids/Common.pm | CC-MAIN-2014-52 | 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
STL containers are designed around the concept that each container controls its
own collection of elements, giving access to them in a manner specified by the
container... | http://www.boost.org/doc/libs/1_38_0/libs/multi_index/doc/tutorial/index.html | CC-MAIN-2014-52 | en | refinedweb |
01 May 2009 14:54 [Source: ICIS news]
By John Richardson
?xml:namespace>
It’s hard to say – in fact it’s impossible to really say right now, which is a major concern for producers.
Mathematically speaking, you would have thought that the retreat in pricing cannot be as bad as last year because prices are nowhere near t... | http://www.icis.com/Articles/2009/05/01/9213030/insight-trying-to-read-market-direction.html | CC-MAIN-2014-52 | en | refinedweb |
class. If you've completed the series on creating a music player for Android, you could use what you learn in this tutorial to further enhance it. You should be able to complete this tutorial if you have developed at least a few Android apps already.
1. Create a New App
Step 1
You can use the code in this tutorial to ... | http://code.tutsplus.com/tutorials/streaming-video-in-android-apps--cms-19888 | CC-MAIN-2014-52 | en | refinedweb |
Ty very much for your help. I got it figured out. Ty
Type: Posts; User: cbutcher0007
Ty very much for your help. I got it figured out. Ty
This is the error I get:
Documents\JCreator LE\MyProjects\ComputeLoan1\src\ComputeLoan1.java:25: cannot find symbol
symbol : variable monthlyPayment
location: class ComputeLoan1
...
... | http://www.javaprogrammingforums.com/search.php?s=11b59083dd8eeed8501495b3fb845d62&searchid=1272926 | CC-MAIN-2014-52 | en | refinedweb |
OpenTK and IDisposablePosted Monday, 1 June, 2009 - 22:58 by Mincus in
I have been wondering about whether OpenTK expects unmanaged resources to use IDisposable.
Largely up until now I've just been ensuring to release all resources in the Unload() function for Gamewindow. This works well enough when you keep track of a... | http://www.opentk.com/node/920 | CC-MAIN-2014-52 | en | refinedweb |
IRC log of rdfcore on 2002-10-04
Timestamps are in UTC.
14:01:05 [RRSAgent]
RRSAgent has joined #rdfcore
14:01:14 [em]
zakim, this is rdfcore
14:01:15 [Zakim]
this was already SW_RDFCore()10:00AM
14:01:16 [Zakim]
ok, em
14:01:23 [em]
zakim, who is here?
14:01:24 [Zakim]
On the phone I see FrankM, ??P10 (muted)
14:01:25... | http://www.w3.org/2002/10/04-rdfcore-irc | CC-MAIN-2014-52 | en | refinedweb |
03 February 2012 09:39 [Source: ICIS news]
By Amy Yu
?xml:namespace>
“The capacity loss of domestic [
PE output is predicted to be around 2.69m tonnes in the second quarter this year, from 2.71m in the same period last year, a 0.6% decrease, according to Chemease data.
The decrease in capacity output for PE will likely... | http://www.icis.com/Articles/2012/02/03/9529096/chinas-local-pe-supply-may-be-squeezed-in-q2-on-major-turnarounds.html | CC-MAIN-2014-52 | en | refinedweb |
I am trying to make a namespace with an array that can change in size:
namespace namespace2
{
int array[256][100][namespace1::variable];
}
where the value of "variable" is set earlier in the program. The problem is that my compiler (dev c++) gives me the following errors:
storage size of namespace2::array isn't constan... | http://cboard.cprogramming.com/cplusplus-programming/81800-variable-size-namespace.html | CC-MAIN-2014-52 | en | refinedweb |
Apr 02, 2009 05:49 AM|samw|LINK
I have a .aspx page in /DynamicData/CustomPages called ArticleViewer.aspx
Global.asax looks like this:
routes.Add(new DynamicDataRoute("Articles / {slug}") { Action="ArticleViewer" }); routes.Add(new DynamicDataRoute("{table}/{action}.aspx") { Constraints = new RouteValueDictionary(new {... | http://forums.asp.net/t/1405350.aspx?Routing+question | CC-MAIN-2014-52 | en | refinedweb |
DataGrid Class
A data bound list control that displays the items from data source in a table. The DataGrid control allows you to select, sort, and edit these items.
For a list of all members of this type, see DataGrid Members.
System.Object
System.Web.UI.Control
System.Web.UI.WebControls.WebControl
System.Web.UI.WebCon... | http://msdn.microsoft.com/en-us/library/e1zk1ey1(v=vs.71).aspx | CC-MAIN-2014-52 | en | refinedweb |
Although Python is a popular language, in the high-performance world, it is not known for being fast. A number of tactics have been employed to make Python faster. We look at three: Numba, Cython, and ctypes.
High-Performance Python – Compiled Code and C Interface
Python is one of the fastest growing languages for comp... | https://www.admin-magazine.com/HPC/Articles/High-Performance-Python-1 | CC-MAIN-2021-25 | en | refinedweb |
Suppose we have a string str and another string patt, we have to find determine the character in patt that is present at the minimum index of str. If no character patt1 is present in str1 then return -1.
So, if the input is like str = "helloworld" and patt = "wor", then the output will be 'o' as 'o' is present at minim... | https://www.tutorialspoint.com/find-the-character-in-first-string-that-is-present-at-minimum-index-in-second-string-in-python | CC-MAIN-2021-25 | en | refinedweb |
XSetEventQueueOwner (3) - Linux Man Pages
XSetEventQueueOwner: set event queue owner on a shared Xlib/XCB connection
NAMEXSetEventQueueOwner - set event queue owner on a shared Xlib/XCB connection
SYNTAX
#include <X11/Xlib-xcb.h>
- void XSetEventQueueOwner(Display *dpy, enum XEventQueueOwner owner);
ARGUMENTS
- dpy
- S... | https://www.systutorials.com/docs/linux/man/3-XSetEventQueueOwner/ | CC-MAIN-2021-25 | en | refinedweb |
The navigate method is not available in Selenium webdriver with Python.
In order to navigate to a page, we can use the get method and pass the URL of the page that we want to launch as a parameter.
In this method the webdriver waits till the webpage is completely loaded prior transferring the control to the next step i... | https://www.tutorialspoint.com/is-navigate-method-available-in-selenium-webdriver-with-python | CC-MAIN-2021-25 | en | refinedweb |
Backend is here
Here is the live version on codesandbox
Table of Contents
- Table of Contents
What is GraphQL?
Simple, a query language used to define an API which provides a complete and understandable description of the data and enables powerful developer tools.
More on GraphQL.
Intro
For our frontend we will use Rea... | https://practicaldev-herokuapp-com.global.ssl.fastly.net/danielpdev/frontend-part-with-react-and-apollographql-for-a-basic-todoapp-4b19 | CC-MAIN-2021-25 | en | refinedweb |
Tornado slower than expected with PyPy
As you know, I've recently been troubleshooting a poorly-performing Tornado app, where PyPy was delivering 50% of CPython's throughput.
I managed to close this gap significantly (and drastically improve overall performance) by eliminating use of Tornado's "import" and "module" tem... | https://foss.heptapod.net/pypy/pypy/-/issues/3402 | CC-MAIN-2021-25 | en | refinedweb |
Compositional, streaming I/O library for Scala
E.g., from JavaDoc.
in.availablereturned 1, then the next line could still block on 5000 bytes after that one ready byte
def spawn[F[_]: Concurrent, A](s: Stream[F, A]): Stream[F, Fiber[F, Unit]]
F
Stream.supervise
Stream
availableand not an expectation of not blocking (an... | https://gitter.im/functional-streams-for-scala/fs2?at=5bc1bc86384492366130c85b | CC-MAIN-2021-25 | en | refinedweb |
The spread of COVID is a complex systems simulation problem. Imagine you want to show how one COVID-infected passenger arriving on an airplane into a small country like New Zealand can cause a serious COVID outbreak during their holiday. How would you model such a complex problem? One approach would be to use Agent Bas... | https://sweetcode.io/simulating-complex-systems-with-python-how-does-covid-spread/ | CC-MAIN-2021-25 | en | refinedweb |
When.
Before going further let’s have a quick look at both of the syntaxes.
For Loop:
for ([initialExpression]; [conditionExpression];[incrementExpression]) {
statement|s
}const array = [1, 2, 3, 4, 5];
for (let index = 0; index < array.length; index++) {…
JS|TS By Example
You work on multiple projects. Most of the tim... | https://deepak-v.medium.com/?source=post_internal_links---------4---------------------------- | CC-MAIN-2021-25 | en | refinedweb |
I wrote a couple of years ago a Java application (Swing) incorporating an OpenOffice Writer component.
The trick relied on some sun.awt classes from the jdk to retrieve the AWT container's handle and pass it to the OO objects:
- Code: Select all Expand viewCollapse view
public static long getHWnd(Component f) {
Compone... | https://user.services.openoffice.org/en/forum/viewtopic.php?f=20&t=105143&p=510324&sid=148abb21d918ef2a0203fd801fa6c70f | CC-MAIN-2021-25 | en | refinedweb |
Hide Forgot
Spec URL:
SRPM URL:
koji build:
Description:
The purpose of this package is to come as close as possible as parsing an *.org
document into HTML, the same way one might publish with org-publish-html from
Emacs.
Fedora Account System Username: athoscr
Note that I created a dir in %{_datadir} for data needed f... | https://bugzilla.redhat.com/show_bug.cgi?id=1426954 | CC-MAIN-2021-25 | en | refinedweb |
SyntaxError when import webhelpers.paginate in py3.2
import webhelpers
import webhelpers.paginate
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/kulapard/Projects/test/test_env/lib/python3.2/site-packages/webhelpers/paginate.py", line 250
raise Exception, "getitem without slicing no... | https://bitbucket.org/bbangert/webhelpers/issues/72/syntaxerror-when-import-webhelperspaginate | CC-MAIN-2018-34 | en | refinedweb |
On-demand imports, taken from mercurial
Project description
demandimport
Delays loading of modules until they are actually used. Perfect for Python apps that need to be snappy like command-line utils. Source-code derived from mercurial.
To enable, write
import demandimport; demandimport.enable()
Imports of the followin... | https://pypi.org/project/demandimport/ | CC-MAIN-2018-34 | en | refinedweb |
Introduction: Getting Started Learning C# the Hard [sic] Way
So you want to learn to program in C# huh? This is the first in a series of guides that will show you how to do exactly that, but do so requiring only the simplest of tools and the most basic of setups, at no cost to you.
I believe in learning by doing and le... | https://www.instructables.com/id/Getting-Started-Learning-C-the-Hard-sic-Way/ | CC-MAIN-2018-34 | en | refinedweb |
Python client to connect to Postcodes.io API
Project description
Postcodes.io Python Client - alpha
Python client to connect to Postcodes.io API
- Free software: MIT license
- Documentation:.
Features
- Supports python 3.x (not yet python 2.x, sorry!)
- Response in Python native list and dict types
- Supports free REST... | https://pypi.org/project/postcodes_io/ | CC-MAIN-2018-34 | en | refinedweb |
How to develop and deploy ActiveX control in C#
There are lots of documents regarding how to develop and deploy an ActiveX control in native code(VB, C++, Delphi, …), however there’s few documents describe the manual in .NET. With this manual, you will learn how to develop, sign and deploy an ActiveX control with C#.NE... | https://blogs.msdn.microsoft.com/asiatech/2011/12/05/how-to-develop-and-deploy-activex-control-in-c/?replytocom=403 | CC-MAIN-2018-34 | en | refinedweb |
This namespace offers interpolations and extrapolations of discrete functions of one
FiniteElement
fe1 to another
FiniteElement
fe2.
It also provides the local interpolation matrices that interpolate on each cell. Furthermore it provides the difference matrix \(id-I_h\) that is needed for evaluating \((id-I_h)z\) for e... | https://dealii.org/8.5.0/doxygen/deal.II/namespaceFETools.html | CC-MAIN-2018-34 | en | refinedweb |
Sometimes, react-lite, or Inferno, offer smaller size while trading off functionality like
propTypes and synthetic event handling. Replacing React with a lighter alternative can save a significant amount of space, but you should test well if you do this.
If you are using react-lite, configure it as below:
{ resolve: { ... | https://survivejs.com/webpack/techniques/consuming/index.html | CC-MAIN-2018-34 | en | refinedweb |
import "go.chromium.org/luci/appengine/tq/tqtesting"
Package tqtesting can be used in unit tests to simulate task queue calls produced by tq.Dispatcher.
type SimulationParams struct { Deadline time.Time // default is "don't stop on deadline" ShouldStopBefore func(t Task) bool // returns true if simulation should stop S... | https://godoc.org/go.chromium.org/luci/appengine/tq/tqtesting | CC-MAIN-2018-34 | en | refinedweb |
.
Need help with LSTMs for Sequence Prediction?
Take my free 7-day email course and discover 6 different LSTM architectures (with code).
Click to sign-up and also get a free PDF Ebook version of the course.
Start Your FREE Mini-Course Now! or about this post? Ask your questions in the comments below and I will do my be... | https://machinelearningmastery.com/text-generation-lstm-recurrent-neural-networks-python-keras/ | CC-MAIN-2018-34 | en | refinedweb |
Sketch Notes At UIKonf 2017
I attended UIKonf (iOS developer conference in Berlin) this week. Great conference. I have been at UIKonf in 2014 but this time it was so much better for me because I talked to so many people. It’s not that the people have been more open this time.
It’s more like this time I met many people ... | http://swiftandpainless.com/ | CC-MAIN-2018-34 | en | refinedweb |
Here is Part 1 , Part2 of How to build Image classifier Robot using Raspberry Pi, with Deep Learning
Image classifier Robot Part 3 : Adding HC-SR04 sensor (Sonar)
In this Part 3 of building Image classifier Robot, we will adding sonar HC-SR04. The HC-SR04 ultrasonic range finder is easy and simple, it just act like oth... | https://www.royyak.com/adding-hc-sr04/ | CC-MAIN-2018-34 | en | refinedweb |
one arm drummer
one trr hill
lyrics for no one knows
pulled knickers to one side
whitehall one stop shop
one planet living
one major supreme court case
racing one mrn
one tree hill screencaps by episode
one fine day movie stunt
care one at evesham
free one night in china
marlon brando one eyed jacks
sidekick 3 one year... | http://metaambalaj.com/iundb/one.php | CC-MAIN-2018-34 | en | refinedweb |
The original pong game was not much compared to what would come later. For many it was amazing that something like was available for use in the home. I have seen others make pong games in Unity and thought it might be fun to try. Pictures of the console show controls for two players. For this project I’ll make the seco... | https://rickerg.com/2017/01/23/unity-pong-game-why-not/ | CC-MAIN-2018-34 | en | refinedweb |
Introduction to Database Visual Support
A Data Source
Introduction
To make database development user friendly and
graphically-driven, Microsoft Visual Studio provides its own set of tools.
Some of these tools are available from the Toolbox. Some other tools are
provided as classes you can use. As an example,, click Dat... | http://www.functionx.com/vcsharp/ado.net/dvs.htm | CC-MAIN-2016-36 | en | refinedweb |
Had to go take care of some other things, so that took longer than I wanted it to. Anyways, it should now handle nested assets. Also, everything is returned as bytes now.
I meant more this guy:
def get_package_and_asset(path):
package = os.path.basename(os.path.dirname(path))
package = package.replace(".sublime-package... | https://forum.sublimetext.com/t/st3-exporthtml/8938/55 | CC-MAIN-2016-36 | en | refinedweb |
.tomahawk.util; 21 22 import javax.faces.application.NavigationHandler; 23 import javax.faces.application.ViewHandler; 24 import javax.faces.component.UIViewRoot; 25 import javax.faces.context.FacesContext; 26 27 /** 28 * An alternative implementation of the standard JSF NavigationHandler API which 29 * directly using ... | http://myfaces.apache.org/tomahawk-project/tomahawk/xref/org/apache/myfaces/tomahawk/util/DirectNavigationHandler.html | CC-MAIN-2016-36 | en | refinedweb |
Params::Validate::Dependencies::Extending
How to extend Params::Validate::Dependencies, and a discussion of its internals.
Before even thinking about extending this module you should understand references, in particular code-references and closures, and also understand objects in perl.
If you've read the documentation ... | http://search.cpan.org/~dcantrell/Params-Validate-Dependencies/lib/Params/Validate/Dependencies/Extending.pod | CC-MAIN-2016-36 | en | refinedweb |
.
Stating encoder rpm without stating encoder lines is completely meaningless. My rough estimate is a polled loop in a PIC10F2xx should be able to track about 1.5 million lines/minute.
/* * Rotary encoder handler. * * This assumes wiper is ground, and 2 outputs are on PB0 and PB1. * * More info: */const char ttable[6][... | http://www.eevblog.com/forum/chat/quadrature-encoder-decoder-chip/ | CC-MAIN-2016-36 | en | refinedweb |
How can I run an untrusted Python script safely (i.e. Sandbox)
See also: Security, SandboxedPython.
I've noticed that some people mention a Python style sandbox, but nothing concrete. Here's my problem:
I would like to be able to distribue a Python script to be run on computers that may not trust me (I.E. for use as a ... | https://wiki.python.org/moin/Asking%20for%20Help/How%20can%20I%20run%20an%20untrusted%20Python%20script%20safely%20(i.e.%20Sandbox)?action=fullsearch&context=180&value=linkto%253A%2522Asking+for+Help%252FHow+can+I+run+an+untrusted+Python+script+safely+(i.e.+Sandbox)%2522 | CC-MAIN-2016-36 | en | refinedweb |
{-# LANGUAGE CPP #-} module Control.Concurrent.Spawn ( -- * Spawn spawn -- * Spawn with @'try'@ , Result , spawnTry -- * Higher-level functions , parMapIO , parMapIO_ , (|*|) -- * Limiting concurrency , pool ) where import Control.Concurrent import Control.Exception import Control.Monad -- | Two ways a computation of t... | http://hackage.haskell.org/package/spawn-0.3/docs/src/Control-Concurrent-Spawn.html | CC-MAIN-2016-36 | en | refinedweb |
/ Published in: ActionScript 3
I've updated this snippet to remove the timer and null it after the function is repeated
repeat times. You use it like this:
delay(functionname, [param1, param2], 350, 3);
This will call
functionname three times with a 350 millisecond delay between each call and pass
param1 and
param2 to ... | http://snipplr.com/view/51631/ | CC-MAIN-2016-36 | en | refinedweb |
:
Salut André,
I have checked in a new example on the graph.style functionality. It
is something which took me quite a while to remember / figure out how
to use it. I therefore think that an additional example is good here.
One question which occurs here: The symbols in graph.style all start
with an underscore. However... | https://sourceforge.net/p/pyx/mailman/message/18930041/ | CC-MAIN-2016-36 | en | refinedweb |
Forum Index
Summary: auto ref returns a reference its own stack
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody@puremagic.com
ReportedBy: reachzach@gmail.com
--- Comment #0 from Zach the Mystic <reachzach@gmail.com> 2013-02-19 10:54:14 PST... | http://forum.dlang.org/thread/bug-9537-3@http.d.puremagic.com%2Fissues%2F | CC-MAIN-2016-36 | en | refinedweb |
SmartMatch::Sugar - Smart match friendly tests.
use SmartMatch::Sugar; if ( $data ~~ non_empty_array ) { @$data; } if ( $object ~~ inv_isa("Class") { }
This module provides simple sugary tests that work on the right hand side of a smart match.
All exports are managed by Sub::Exporter so they can be renamed, aliased, et... | http://search.cpan.org/~leont/SmartMatch-Sugar-0.05/lib/SmartMatch/Sugar.pm | CC-MAIN-2016-36 | en | refinedweb |
On Thu, 2009-03-26 at 09:35 +0000, Paddy O'Loughlin wrote: > Hi, > As our resident python advocate, I've been asked by my team leader to > give a bit of a presentation as an introduction to python to the rest > of our department. > It'll be less than an hour, with time for taking questions at the end. > > There's not g... | https://mail.python.org/pipermail/python-list/2009-March/530494.html | CC-MAIN-2016-36 | en | refinedweb |
Working with XML on Android
Build Java applications for mobile devices
Getting started
Learn to build Android applications that can work with XML from the Internet. Android applications are written in the Java™ programming language, so experience with Java technology is a must-have. To develop for Android, you will nee... | http://www.ibm.com/developerworks/opensource/library/x-android/index.html?ca=drs- | CC-MAIN-2016-36 | en | refinedweb |
go to bug id or search bugs for
There is a dependency in certain modules (notably php_openssl) on apphelp.dll. This file seems to only be available on WindowsXP (and the file shipped with XP won't work on win2000). If I am correct (I'm not entirely sure), any use of this dll will render the extensions useless on any wi... | https://bugs.php.net/bug.php?id=14464 | CC-MAIN-2016-36 | en | refinedweb |
/* Definitions for symbol file management in GDB. Copyright 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, (OBJFILES_H) #define OBJFILES_H #include "gdb_obstack.h" /* For obstack internals. */ #include "symfile.h" /* For struct psymbol_allocation_list */ /* APPLE LOCAL subroutine inlining */ #include "inli... | http://opensource.apple.com/source/gdb/gdb-1344/src/gdb/objfiles.h | CC-MAIN-2016-36 | en | refinedweb |
/* dwarf2dbg.h - DWARF2 debug support Copyright 1999, 2000, 2002, 2003, 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef AS_DWARF2DBG_H #define AS_DWARF2DBG_H /* HACKS for bfd_* and BFD_RELOC_* These would come from bfd/reloc.c */ typedef int bfd_boolean; #include "as.h" #define DWARF2_FLAG_IS_S... | http://opensource.apple.com//source/cctools/cctools-829/as/dwarf2dbg.h | CC-MAIN-2016-36 | en | refinedweb |
Hi all ! I have written a little module called 'polymorph' that allows to call different methods of a class that have the same name but that have not the same number of arguments. *args are supported. You could find the module attached to this message. As in python, you could not define two method with same name (the s... | https://mail.python.org/pipermail/python-list/2003-November/206252.html | CC-MAIN-2016-36 | en | refinedweb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.