text stringlengths 20 1.01M | url stringlengths 14 1.25k | dump stringlengths 9 15 ⌀ | lang stringclasses 4
values | source stringclasses 4
values |
|---|---|---|---|---|
New York Washington, D.C. Los Angeles Palo Alto London Paris Frankfurt Tokyo Hong Kong Beijing Melbourne Sydney April 14, 2016 Related-Party Debt / Equity Regulations IRS Issues Proposed Regulations Intended to Limit Earnings Stripping but Which—if Finalized—Would Broadly Change the U.S. Tax Treatment of Related-Party ... | http://www.lexology.com/library/detail.aspx?g=232244f7-c93d-4a13-8582-413dd2ae61a4 | CC-MAIN-2017-13 | en | refinedweb |
I'm reading a big file with hundreds of thousands of number pairs representing the edges of a graph. I want to build 2 lists as I go: one with the forward edges and one with the reversed.
Currently I'm doing an explicit
for
with open('SCC.txt') as data:
for line in data:
line = line.rstrip()
if line:
edge_list.append((... | https://codedump.io/share/Go3IwTA0MdPG/1/build-2-lists-in-one-go-while-reading-from-file-pythonically | CC-MAIN-2017-13 | 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
The template
deref_iterator
is a type used as an attribute customization point. It is invoked by
the Karma repetitive generators (such as List
(
%), Kleene
(unary
*), P... | http://www.boost.org/doc/libs/1_48_0/libs/spirit/doc/html/spirit/advanced/customize/iterate/deref_iterator.html | CC-MAIN-2014-23 | en | refinedweb |
An extra period appears in an SMTP domain in a recipient policy
Topic Last Modified: 2009-02-11
The Microsoft Exchange Server Best Practices Analyzer examines the Simple Mail Transfer Protocol (SMTP) domains that appear in Exchange Server 2003 recipient policies.
If the Best Practices Analyzer detects a period (.) at t... | http://technet.microsoft.com/en-us/library/dd535372(v=exchg.80).aspx | CC-MAIN-2014-23 | en | refinedweb |
Code. Collaborate. Organize.
No Limits. Try it Today.
Many a developer has found the dreaded GUI freeze problem simply by calling a method which takes a long time to execute. The reason for this is that the "long outstanding job" will execute on the same Thread as the GUI program. This stops all events from being poste... | http://www.codeproject.com/Articles/123183/Asynchronus-MVVM-Stop-the-Dreaded-Dead-GUI-Problem?msg=3683393 | CC-MAIN-2014-23 | en | refinedweb |
Code. Collaborate. Organize.
No Limits. Try it Today.
Users of C#, VB.NET and MC++ have a nice feature available :- delegates. The C++
language does not support this construct. But fortunately, there is a way to
implement rudimentary delegates using templates and some clever tricks borrowed
from the boost library.
I as... | http://www.codeproject.com/Articles/2922/NET-like-Delegates-in-Unmanaged-C?fid=7643&df=90&mpp=10&sort=Position&spc=None&tid=670578 | CC-MAIN-2014-23 | en | refinedweb |
Code. Collaborate. Organize.
No Limits. Try it Today.
Smart.
A Smart Pointer is a C++ object that acts like a pointer, but additionally deletes the object when it is no longer needed.
"No longer needed" is hard to define, since resource management in C++ is very complex. Different smart pointer implementations cover th... | http://www.codeproject.com/Articles/8394/Smart-Pointers-to-boost-your-code?fid=111912&df=90&mpp=10&noise=1&prof=True&sort=Position&view=Expanded&spc=None&select=935314&fr=42&PageFlow=FixedWidth | CC-MAIN-2014-23 | en | refinedweb |
Getting started
In this article, you will build a Web application using Grails, and deploy it on Apache Geronimo. Following is the software you need installed to follow along.
- Java Development Kit
- Both Grails and Geronimo require a Java Development Kit. Grails needs only Java V1.4, but Geronimo needs V1.5. That is ... | http://www.ibm.com/developerworks/library/os-ag-grails/index.html | CC-MAIN-2014-23 | en | refinedweb |
06 May 2013 22:27 [Source: ICIS news]
HOUSTON (ICIS) –?xml:namespace>
Total March US exports of nylon were 62,042 tonnes, up from 56,120 tonnes a year ago and 56,666 tonnes in February 2013.
Exports to
March imports of nylon rose by 10%, from 7,294 a year ago to 8,028 in March 2013. Shipments from
ICIS provides pricing... | http://www.icis.com/Articles/2013/05/06/9665385/us-march-nylon-exports-rose-by-11-compared-with-year-ago--itc.html | CC-MAIN-2014-23 | en | refinedweb |
This is your resource to discuss support topics with your peers, and learn from each other.
12-10-2012 02:47 PM
Cannot get InvokeActionItem to recognized and/or executed
Copied code ffrom documentation (2 places, more or less identical) and added to my actions. My ActionItems still appeared in menu and executed but the... | http://supportforums.blackberry.com/t5/Native-Development/InvokeActionItem-not-recognized-does-not-appear-in-menu/td-p/2028615/highlight/true | CC-MAIN-2014-23 | en | refinedweb |
Perl
From FedoraProject
Revision as of 16:58, 18 February)
Fedora perl infrastructure
Perl to CPAN Mapping
With most perl modules being in CPAN, preliminary "mapping" table has been created. This table is regenerated on a daily basis, and will be included in the upcoming Perl SIG Infrastructure hosted project .
Problem... | https://fedoraproject.org/w/index.php?title=Perl&diff=323890&oldid=77602 | CC-MAIN-2014-23 | en | refinedweb |
CGI::Application::Plugin::Session - Plugin that adds session support to CGI::Application
version 1.05
use CGI::Application::Plugin::Session; my $language = $self->session->param('language');
CGI::Application::Plugin::Session seamlessly adds session support to your CGI::Application modules by providing a CGI::Session ob... | https://metacpan.org/pod/release/FREW/CGI-Application-Plugin-Session-1.05/lib/CGI/Application/Plugin/Session.pm | CC-MAIN-2014-23 | en | refinedweb |
Code. Collaborate. Organize.
No Limits. Try it Today.
In this article, I shall describe one of the methods that can be used to transform C/C++ code into C# code with the least amount of effort. The principles laid out in this article are also suitable for other pairs of languages, though. I want to warn you straight-of... | http://www.codeproject.com/Articles/130919/Adapting-old-code-to-new-realities?fid=1598159&df=90&mpp=10&noise=3&prof=True&sort=Position&view=None&spc=Relaxed&select=3679294&fr=1 | CC-MAIN-2014-23 | en | refinedweb |
Code. Collaborate. Organize.
No Limits. Try it Today.
If you usually typing a password in a desktop application, it may be that a keylogger spies out your secrets. This is obviously not good. Screen keyboards might be a good solution, but again, there could be a screen capture program which watches effortlessly your pa... | http://www.codeproject.com/Articles/529676/How-to-make-keyloggers-life-difficult?fid=1824923&df=90&mpp=10&noise=1&prof=True&sort=Position&view=Expanded&spc=None | CC-MAIN-2014-23 | en | refinedweb |
fabs, fabsf, fabsl - absolute value function
#include <math.h>
double fabs(double x);
float fabsf(float x);
long double fabsl absolute value of their argument x,| x|.
Upon successful completion, these functions shall return the absolute value of x.
[MX]
If x is NaN, a NaN shall be returned.If x is NaN, a NaN shall be r... | http://pubs.opengroup.org/onlinepubs/000095399/functions/fabsf.html | CC-MAIN-2014-23 | en | refinedweb |
I am doing MIDlet optimization, trying to fit all the things in 64Kb.
While doing it I constantly reingineer various methods.
Is there any way or tool to analyze class files, to show which methods consume lots of space?
I am doing MIDlet optimization, trying to fit all the things in 64Kb.
While doing it I constantly re... | http://developer.nokia.com/community/discussion/showthread.php/26525-Methods-that-take-lots-of-space | CC-MAIN-2014-23 | en | refinedweb |
Dino Esposito
Download the Code Sample
In the past two installments of this column I discussed how to build an ASP.NET solution for the evergreen problem of monitoring the progress of a remote task from the client side of a Web application. Despite the success and adoption of AJAX, a comprehensive and widely accepted s... | http://msdn.microsoft.com/en-us/magazine/hh852586.aspx | CC-MAIN-2014-23 | en | refinedweb |
Code. Collaborate. Organize.
No Limits. Try it Today.
This article presents a class, handling sending of input (mouse and keyboard) to any running Windows Control by its handle.
Some time ago, I was making a program which would win a penalty shootout soccer flash game for me. My task in the application was repeatedly t... | http://www.codeproject.com/Articles/14656/Sending-Input-Messages-to-Other-Windows-or-How-To?msg=2015417 | CC-MAIN-2014-23 | en | refinedweb |
Code. Collaborate. Organize.
No Limits. Try it Today.
The jQuery DataTables plug-in is an excellent client-side component that can be used to create rich-functional tables in the web browser. This plug-in adds lot of functionalities to the plain HTML tables that are placed in web pages such as filtering, paging, sortin... | http://www.codeproject.com/Articles/155422/jQuery-DataTables-and-ASP-NET-MVC-Integration-Part?fid=1609174&df=90&mpp=25&sort=Position&spc=Relaxed&select=4238691&tid=4262809 | CC-MAIN-2014-23 | en | refinedweb |
Code. Collaborate. Organize.
No Limits. Try it Today.
This article describes a method to utilize WCF self hosted services to be able to serve web 2.0 user interface as well as web services.
By using this method tools or applications can be built using web 2.0 technologies like HTML5, CSS3 with self hosted WCF service a... | http://www.codeproject.com/Articles/229461/Devloping-web-user-interface-for-self-hosted-WC?msg=4332838 | CC-MAIN-2014-23 | en | refinedweb |
Opened 3 years ago
Closed 9 months ago
#16919 closed New feature (fixed)
Pass user to set_password_form in GET requests
Description
SetPasswordForm is being passed None on GET requests even though there is always a user available at that point. This patch passes user, so you can use it in the form constructor for whate... | https://code.djangoproject.com/ticket/16919 | CC-MAIN-2014-23 | en | refinedweb |
Startup functionality is common to all of the samples and is shared in the project SampleBase. Open the main file PhysXSample.cpp and navigate to the function onInit, which the sample calls on startup to initialize PhysX.
Note that the file includes the entire PhysX API in a single header. You may also selectively incl... | https://developer.nvidia.com/sites/default/files/akamai/physx/Docs/Startup.html | CC-MAIN-2014-23 | en | refinedweb |
IRootDesigner Interface
Provides support for root-level designer view technologies.
Assembly: System (in System.dll)
The IRootDesigner type exposes the following members.
A root designer is the designer that is in the top position, or root, of the current design-time document object hierarchy. A root designer must impl... | http://msdn.microsoft.com/en-us/library/system.componentmodel.design.irootdesigner(v=vs.100).aspx | CC-MAIN-2014-23 | en | refinedweb |
Patent application title: COMPUTER-BASED METHOD FOR TEAMING RESEARCH ANALYSTS TO GENERATE IMPROVED SECURITIES INVESTMENT RECOMMENDATIONS
Inventors:
James Tanner (Boulder, CO, US)
Assignees:
WALL STREET ON DEMAND
IPC8 Class: AG06Q4000FI
USPC Class:
705 36 R
Class name: Automated electrical financial or business practice... | http://www.faqs.org/patents/app/20090006268 | CC-MAIN-2014-23 | en | refinedweb |
The GNU Debugger (gdb) is the most popular open source debugger in use. Originally designed for C, it's been ported to debug code in many languages on a variety of computing systems, from tiny embedded devices to large-scale supercomputers. It's generally used as a command-line executable, but it can be accessed throug... | http://www.ibm.com/developerworks/library/os-eclipse-cdt-debug2/index.html | CC-MAIN-2014-23 | en | refinedweb |
Hey, Scripting Guy! Greetings from an old VBScript guy. I have a problem with a Windows PowerShell script. It returns the unexpected result of "RANSFER" instead of the desired result of "\TRANSFER". One more thing: How can I use the TrimStart method to cut exactly what was given instead of doing it like it does? Here i... | http://blogs.technet.com/b/heyscriptingguy/archive/2008/11/14/quick-hits-friday-the-scripting-guys-respond-to-a-bunch-of-questions.aspx | CC-MAIN-2014-23 | en | refinedweb |
Creating a Custom Rules Store
The Autoscaling Application Block includes two rules store implementations that you can select from in the block configuration: an XML rules store in Windows Azure blob storage and an XML rules store on the local file system. The first is intended for use when you host the block in Windows... | http://msdn.microsoft.com/en-us/library/hh680933(d=printer,v=pandp.50).aspx | CC-MAIN-2014-23 | en | refinedweb |
Get-NetAdapterRdma
Updated: October 17, 2013
Applies To: Windows 8.1, Windows PowerShell 4.0, Windows Server 2012 R2
Get-NetAdapterRdma
Syntax
Parameter Set: ByName Get-NetAdapterRdma [[-Name] <String[]> ] [-AsJob] [-CimSession <CimSession[]> ] [-IncludeHidden] [-ThrottleLimit <Int32> ] [ <CommonParameters>] Parameter ... | http://technet.microsoft.com/en-us/library/jj130896.aspx | CC-MAIN-2014-23 | en | refinedweb |
Introduction
Everywhere you go, people are using mobile devices to keep in touch with family and friends, take a picture to post on a social website, find the location of a restaurant, or check the latest news headlines. Mobile devices come in many different shapes and styles. Mobile phones run a variety of different o... | http://www.ibm.com/developerworks/library/wa-mobappdev1/ | CC-MAIN-2014-23 | en | refinedweb |
Contents
Rename "nobody" user
Summary
Use "nobody:nobody" as the names for the kernel overflow UID:GID pair, and retire the old "nfsnobody" name and the old "nobody:nobody" pair with 99:99 numbers.
Owner
- Name: Zbigniew Jędrzejewski-Szmek
- Name: Lennart Poettering
- Release notes ticket: #104
Current status
Detailed ... | https://www.fedoraproject.org/wiki/Changes/RenameNobodyUser | CC-MAIN-2020-29 | en | refinedweb |
About this tutorial
This tutorial describes how to make client calls and write servers in C++ using the Low-Level C++ Bindings (LLCPP).
Getting Started has a walk-through of using the bindings with an example FIDL library. The reference section documents the detailed bindings interface and design.
See Comparing C, Low-... | https://fuchsia.dev/fuchsia-src/development/languages/fidl/tutorials/tutorial-llcpp | CC-MAIN-2020-29 | en | refinedweb |
NAME
Create an event pair.
SYNOPSIS
#include <zircon/syscalls.h> zx_status_t zx_eventpair_create(uint32_t options, zx_handle_t* out0, zx_handle_t* out1);
DESCRIPTION
zx_eventpair_create() creates an event pair, which is a pair of objects that
are mutually signalable.
The signals ZX_EVENTPAIR_SIGNALED and ZX_USER_SIGNAL... | https://fuchsia.dev/fuchsia-src/reference/syscalls/eventpair_create | CC-MAIN-2020-29 | en | refinedweb |
Apple consistently marks "their", "there", "it’s" and several other similar common words as misspelled in all of my apps. Why is this happening and how do I prevent it?
Tag: common
c++ – Compare folders and find common files
I found this Powershell command useful in comparing folders and find common and different files... | https://proxies-free.com/tag/common/ | CC-MAIN-2020-29 | en | refinedweb |
Jason Seifer
Treehouse Guest Teacher
Orlando, FL
To describe my personality, I'd say good looking.
Topics & Specialties
Courses & Workshops I've Taught
- 20 minWorkshop
Introduction to Bundler
Bundler is the standard application dependency manager for Ruby. In this workshop, you'll learn what problems Bundler solves, h... | https://teamtreehouse.com/jasonseifer | CC-MAIN-2020-29 | en | refinedweb |
Spirit is an object-oriented recursive-descent parser generator framework implemented using template meta-programming techniques. Expression templates allow us to approximate the syntax of Extended Backus-Normal[sic] Form (EBNF) completely in C++. [_1]
EBNF is also known as Extended Backus-Naur Form [_2]. EBNF is a met... | https://accu.org/index.php/journals/294 | CC-MAIN-2020-29 | en | refinedweb |
Hello to this little introduction about Custom directives in angular.
What is Directive?
In angular a directive is special kind of component but without any template referencing directly. Meaning A component is directive with template binding out of the box. A directive can be useful for any DOM manipulation in applica... | https://dev.to/gaurangdhorda/custom-directive-implementation-like-ngif-is-fd6 | CC-MAIN-2020-29 | en | refinedweb |
🎼webpack 4: released today!!✨
Codename: Legato 🎶
Today we’re happy to announce that webpack 4 (Legato) is available today! You can get it via yarn or npm using:
$> yarn add webpack webpack-cli --dev
or
$> npm i webpack webpack-cli --save-dev
🎼 Why Legato?
We wanted to start a new tradition by giving each of our majo... | https://medium.com/webpack/webpack-4-released-today-6cdb994702d4 | CC-MAIN-2020-29 | en | refinedweb |
Scaling code that we’re ready to share.
To recap the talk: at any given point over the last four years, we have had what I’d call a minimum viable caching system. The stages were:
- Stand up a Master-slave Memcached pair.
- Add sharded Redis, each shard a master-slave pair, with loosely Pinstagram-style persistence, co... | https://tech.wayfair.com/2015/03/scaling-redis-and-memcached-at-wayfair/ | CC-MAIN-2020-29 | en | refinedweb |
A Temperature Controlled Relay Circuit
To show you how to wire the relay, let’s build a temperature controlled relay circuit that will turn off a light bulb when the temperature of a thermistor reaches 150 °F. Thermistors are really useful with 5V relays. You can use them to turn off a large motor if gets too hot or tu... | https://www.circuitbasics.com/setting-up-a-5v-relay-on-the-arduino | CC-MAIN-2020-29 | en | refinedweb |
From: Gennaro Prota (gennaro_prota_at_[hidden])
Date: 2002-08-22 15:50:19
On Thu, 22 Aug 2002 21:40:00 +0200, Alberto Barbati
<abarbati_at_[hidden]> wrote:
>In fact, one thing that striked me at first when studying lexical_cast is
>that with the current implementation, the expression:
>
>boost::lexical_cast<std::string... | https://lists.boost.org/Archives/boost/2002/08/34489.php | CC-MAIN-2020-29 | en | refinedweb |
The code is below. The program runs a series of calculations based on data input by the user. My problem is that for the most important thing I'm looking for, total kg CO2 emissions, I continually get an answer of 0.0. What I need is a sum of the individual total emissions as calculated in each method, i.e. the values ... | https://www.javaprogrammingforums.com/whats-wrong-my-code/39787-hw-help-returning-values-methods.html | CC-MAIN-2020-29 | en | refinedweb |
Enable injection with the environment variable
DD_LOGS_INJECTION=true when using
ddtrace-run.
If you have configured your tracer with
DD_ENV,
DD_SERVICE, and
DD_VERSION, then
env,
service, and
version will also be added automatically. Learn more about unified service tagging.
Note: The standard library
logging is suppo... | https://docs.datadoghq.com/ja/tracing/connect_logs_and_traces/python/ | CC-MAIN-2020-29 | en | refinedweb |
Source: Deep Learning on Medium
MNIST digits classification with Deep Learning using Python and Numpy
In this era of deep learning frameworks, many who start out with the subject often just watch a video or attend a class to learn the theory about Neural Networks and algorithms that are associated with it and then stra... | https://mc.ai/mnist-digits-classification-with-deep-learning-using-python-and-numpy/ | CC-MAIN-2020-29 | en | refinedweb |
The data access module provides a basic framework for accessing data. More...
The data access module provides a basic framework for accessing data.
It is designed towards data interoperability. You can write your own driver for accessing a different data source. Of course, we provide some basic data sources drivers..
T... | http://www.dpi.inpe.br/terralib5/codedocs_5.4.0/d8/d18/group__dataaccess.html | CC-MAIN-2020-29 | en | refinedweb |
Other Aliassd_bus_request_name
SYNOPSIS
#include <systemd/sd-bus.h>
- int sd_bus_request_name(sd_bus *bus, const char *name, uint64_t flags);
- int sd_bus_release_name(sd_bus *bus, const char *name);
DESCRIPTION
sd_bus_request_name().
NOTES
The sd_bus_acquire_name() and sd_bus_release_name() interfaces are available as... | http://manpages.org/sd_bus_release_name/3 | CC-MAIN-2020-29 | en | refinedweb |
How matrix and vice versa.
- Use AngleAxis function to create rotation matrix in a single line.
Example Implementation
To use the library, the following includes are recommended:
#include <Eigen/Geometry> #include <Eigen/Dense> #include <eigen_conversions/eigen_msg.h> #include <Eigen/Core>
For instance, a rotation matr... | https://roboticsknowledgebase.com/wiki/programming/eigen-library/ | CC-MAIN-2020-29 | en | refinedweb |
For instance, in the following code:
class Animal
class Dog extends Animal
trait Base {
def a: Animal = new Dog
}
trait Deri extends Base {
override val a: Dog
}
error: overriding value a in trait Deri of type Dog; method a in
trait Base of type => Animal needs to be a stable, immutable value;
(Note that value a in tra... | https://codedump.io/share/6l9QuOxL9Snb/1/why-can39t-concrete-members-be-overridden-with-abstract-ones-in-scala | CC-MAIN-2017-51 | en | refinedweb |
I need help understanding some of the outputs of the code below. (This is just a sample question for a midterm, not homework).
#include <stdio.h>
void figure_me_out(int* a, int b, int c, int* d);
int main(void) {
int var1 = 1, var2 = 10, var3 = 15, var4 = 20;
figure_me_out(&var1, var2, var3, &var4);
printf("%d, %d, %d,... | https://codedump.io/share/YjzLfbuNR5iW/1/determining-the-output-with-pointers | CC-MAIN-2017-51 | en | refinedweb |
java.lang.Object
org.netlib.lapack.SGEESXorg.netlib.lapack.SGEESX
public class SGEESX
SGEESX is a simplified interface to the JLAPACK routine sge two REAL (input) CHARACTER*1 * Determines which reciprocal condition numbers are computed. * = 'N': None are computed; * = 'E': Computed for average of selected eigenvalues o... | http://icl.cs.utk.edu/projectsfiles/f2j/javadoc/org/netlib/lapack/SGEESX.html | CC-MAIN-2017-51 | en | refinedweb |
C has a very weak form of data encapsulation that is provided via the generic void * pointer and the ability to declare that a struct is local to a file. Suppose I want to declare a Stack data type in C and I want to hide its implementation, including its data structures, from users. I can do this by first defining a p... | http://web.eecs.utk.edu/~bvz/teaching/cs365Sp17/notes/modules.html | CC-MAIN-2017-51 | en | refinedweb |
Free for PREMIUM members
Submit
Learn how to a build a cloud-first strategyRegister Now.
<TD align="CENTER"><A href="Packing_Slip_Progres
<IMG src="Images/btn_packing_sl
</TR>
or
<TD align="CENTER"><A href="Packing_Slip_Progres
<IMG src="Images/btn_packing_sl
</TR>
I've both way and none are working. I click to button ... | https://www.experts-exchange.com/questions/21210052/How-to-disable-a-image-button.html | CC-MAIN-2017-51 | en | refinedweb |
On December 2011, there has been a release for both of them, 2.1.11, stable, and 3.1.0, beta. The 3.0.x development has been discontinued, for a number of reasons that you can read in the OMQ release report on github.
I am not using ZMQ for a production job at the moment, so I can do some experimentation with version 3... | http://thisthread.blogspot.com/2012_01_01_archive.html | CC-MAIN-2017-51 | en | refinedweb |
Porting a NES emulator from Go to Nim2015-05-01 · Nim · Programming
Let me get this straight. We have an emulator for 1985 hardware that was written in a pretty new language (Go), ported to a language that isn’t even 1.0 (Nim), compiled to C, then compiled to JavaScript? And the damn thing actually works? That’s kind o... | https://hookrace.net/blog/porting-nes-go-nim/ | CC-MAIN-2017-51 | en | refinedweb |
?
> That's a known problem together with the Subversion bindings,
But which isn't as far I have been able to work out because mod_python
has bugs as some still occasionally suggest, but because of how the
Subversion bindings are implemented. :-(
> but seeing
> now that weird error reported for cx_Oracle and your sugges... | http://modpython.org/pipermail/mod_python/2007-March/023344.html | CC-MAIN-2017-51 | en | refinedweb |
Adding a Quandl Data Feed
Just started using backtrader today and ran into trouble trying to plot a quandl data feed. I keep getting this error "ValueError: posx and posy should be finite values"
The data is just a Pandas Dataframe which only contains 2 columns, Date and Values. I.E;
2009-01-31 0.000000 2009-02-01 1100... | https://community.backtrader.com/topic/225/adding-a-quandl-data-feed | CC-MAIN-2017-51 | en | refinedweb |
class Date {
private int year;
private String month;
private int day;
public Date() {
month = "January";
year = 1999;
day = 1;
} //End of Constructor 1
public Date(int year, String month, int day) {
setDate(year, month, day);
} //End of Constructor 2
public Date(int year) {
setDate(year, "January", 1);
} //End of Const... | https://codedump.io/share/i0BLXmqwjKwH/1/java-beginner-confused-about-usage-of-constructors | CC-MAIN-2017-51 | en | refinedweb |
I'm trying to understand how the cycle of my "main.py" works. It's based on examples found on the net, about the PySide and Qt Designer, to implement a Python GUI.
The code is:
#***********************************#
# Python Libraries #
#***********************************#
from PySide.QtCore import *
from PySide.QtGui ... | https://codedump.io/share/jS2XRAGwQraz/1/how-does-the-maindialog-cycle-work | CC-MAIN-2017-51 | en | refinedweb |
I'm looking to take the default ID key from the django model turn it into hexadecimal and display it on a page when the user sumbits the post, I've tried several of methods with no success can anyone point me in the right direction?
views.py
def post_new(request):
if request.method == "POST":
form = PostForm(request.PO... | https://codedump.io/share/kvcJ6Dxwqj8q/1/python-django-id-to-hex | CC-MAIN-2017-51 | en | refinedweb |
I read the article about singleton objects in scala but didn't find abything about if it's an instance of the class.
The following simple program tells that for this particular case it's true:
class TestMatch(val i: Int)
object TestMatch{
def apply(i: Int) = new TestMatch(i)
def unapply(tm : TestMatch): Option[Int] = S... | https://codedump.io/share/vzXlI5u9dgVR/1/is-companion-always-instance-of-the-class | CC-MAIN-2017-51 | en | refinedweb |
- Expand the test project node, in the Solution Explorer window
- Expand the References child node
- Right-click the assembly you wish to mole -- the context menu appears
- In the context menu, select the Add Moles Assembly option -- a .moles file appears in the text project
- Build the test project
Before building the... | http://thecurlybrace.blogspot.com/2011/10/how-do-i-mole-assembly.html | CC-MAIN-2017-51 | en | refinedweb |
CDI - Injecting Classes at runtimehamsterdancer Mar 9, 2012 1:55 PM
Hi there
I'm working on a project, where it is needed to load some classes at runtime. The classes to load are parts of CDI-Containers and have to be able to inject some stuff. The "loading class" itself is a part of a CDI-Container as well.
Now comes ... | https://community.jboss.org/message/722915 | CC-MAIN-2015-32 | en | refinedweb |
embedly_cards 0.2.0
Pelican plugin for embedding external content using Embed.ly CardsEmbedly-Cards
===============
Embedly-cards is a Pelican_ plugin providing restucturedText directives to allow
easy embedding of external content using `Embed.ly Cards <http: embed.`_.
`ReST <http: iza.`_ and
`markdown <http: iza.`_
l... | https://pypi.python.org/pypi/embedly_cards | CC-MAIN-2015-32 | en | refinedweb |
HOWTO Setup Android Development
From FedoraProject
Install one of these URLs, depending on your version of Eclipse. For Eclipse version 3.5 use:
or for Eclipse version 3.6 use:
For Eclipse version 3.7 (Fedora 16 and current Rawhide (as of Oct. 10, 2011)), use:
For Eclipse version 4.2 (Fedora 17 and current Rawhide (as ... | https://fedoraproject.org/w/index.php?title=HOWTO_Setup_Android_Development&oldid=316147 | CC-MAIN-2015-32 | en | refinedweb |
SafeHandle class in the System.Runtime.InteropServices namespace is an abstract wrapper class for operating system handles. Deriving from this class is difficult. Instead, use the derived classes in the Microsoft.Win32.SafeHandles namespace that provide safe handles for the following:
Files and pipes.
Memory views.
Cr... | https://msdn.microsoft.com/en-us/library/fs2xkftw(d=printer,v=vs.100).aspx?cs-save-lang=1&cs-lang=vb | CC-MAIN-2015-32 | en | refinedweb |
Debugging
From HaskellWiki.
You must keep in mind that due to lazy evaluation your traces will only print if the value they wrap is ever demanded.
A more powerful alternative for this approach is Hood. Even if it hasn't been updated in some time, Hood works perfectly with the current ghc distribution. Even more, Hugs h... | https://wiki.haskell.org/index.php?title=Debugging&oldid=5856 | CC-MAIN-2015-32 | en | refinedweb |
{-# OPTIONS_GHC -XNoImplicitPrelude #-} ----------------------------------------------------------------------------- -- | -- Module : Unsafe.Coerce -- Copyright : Malcolm Wallace 2006 -- License : BSD-style (see the LICENSE file in the distribution) -- -- Maintainer : [email protected] -- Stability : experimental ... | https://downloads.haskell.org/~ghc/6.12.1/docs/html/libraries/base-4.2.0.0/src/Unsafe-Coerce.html | CC-MAIN-2015-32 | en | refinedweb |
Following is a Java version of the
train example.
This is a multi threaded version of the
train example. In this
mode several threads can access the SICStus runtime via a
Prolog
interface. The static method
Jasper.newProlog() returns an
object that implements a
Prolog interface. A thread can make
queries by calling the... | https://sicstus.sics.se/sicstus/docs/latest/html/sicstus.html/Multi-Threaded-Example.html | CC-MAIN-2015-32 | en | refinedweb |
Toy compression implementations
From HaskellWiki
(Difference between revisions)
Revision as of 16:46, 15 February 2007)
module Compression where import Data.List -- Run-length encoding encode_RLE :: (Eq x) => [x] -> [(Int,x)] encode_RLE = map (\xs -> (length xs, head xs)) . groupBy (==) decode_RLE :: [(Int,x)] -> [x] d... | https://wiki.haskell.org/index.php?title=Toy_compression_implementations&diff=11324&oldid=11323 | CC-MAIN-2015-32 | en | refinedweb |
LayoutRect
Creates a container element for document content in a print or print preview template.
Remarks
LAYOUTRECT elements define the area or areas (and their styles) on a page where a document's content is displayed when printed or during print preview. In a print template, LAYOUTRECT elements are contained by DEVI... | https://msdn.microsoft.com/en-us/library/Aa969430.aspx | CC-MAIN-2015-32 | en | refinedweb |
With need.
Solid was implemented using a frontend/backend approach aiming portability among platforms like Linux and Windows. The frontend provides the high-level API for developers using Solid and backends deal with the specific hardware issues for the different platforms.
The frontend classes provide the API for deve... | https://techbase.kde.org/index.php?title=Development/Architecture/KDE4/Solid&direction=next&oldid=72922 | CC-MAIN-2015-32 | en | refinedweb |
import all of the how-to articles from the pkgsrc.se wiki.. | https://wiki.netbsd.org/cgi-bin/cvsweb/wikisrc/tutorials/how_to_use_thumb_mode_on_arm.mdwn?rev=1.1;content-type=text%2Fx-cvsweb-markup | CC-MAIN-2015-32 | en | refinedweb |
JScript .NET, Part III: Classes and Namespaces: Packaging A Namespace - Doc JavaScript
JScript .NET, Part III: Classes and Namespaces
Packaging a Namespace
You create a namespace with the
package statement. It combines one or more classes into a logical group called a namespace. Let's look at an example:
// Create a si... | http://www.webreference.com/js/column109/4.html | CC-MAIN-2015-32 | en | refinedweb |
Integrating SailFin-CAFE with OpenIMS
By Mohit Gupta on Sep 03, 2009
This entry demonstrates the procedure for installing OpenIMS and integrating Sailfin-CAFE with it. The attached sailfin-cafe application could then be used to establish a call between two clients registered with open-ims.
Overview
- Install OpenIMS co... | https://blogs.oracle.com/mohitg/tags/open-ims | CC-MAIN-2015-32 | en | refinedweb |
Type Classes With An Easier Example
I recently wrote this post. It contained a lot of rather obtuse mathematics, just to introduce what was basically the example problem for the article. That’s because it was a real honest-to-goodness problem I was solving and writing papers on for algebra journals… admittedly, not the... | https://cdsmith.wordpress.com/2009/09/20/side-computations-via-type-classes/?like=1&_wpnonce=d1fb2cdf27 | CC-MAIN-2015-32 | en | refinedweb |
This article has been dead for over six months: Start a new discussion instead
vishalonne
Junior Poster in Training
244 posts since Jun 2009
Reputation Points: 12 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
•Community Member
Hello
I am try to learn Brasenham Line Drawing Algorithm. I wrote this program in... | https://www.daniweb.com/software-development/c/threads/441546/brasenham-line-drawing-algorithm-problem | CC-MAIN-2015-32 | en | refinedweb |
Computing Mean Absolute Deviation
Summary Statistics offers two methods for computation of mean absolute deviation:
Method VSL_SS_METHOD_FAST is a performance-oriented implementation of the algorithm.
Method VSL_SS_METHOD_FAST_USER_MEAN is an implementation of the algorithm when a user-defined mean is provided.
The cal... | https://software.intel.com/fr-fr/node/497932?language=ru | CC-MAIN-2015-32 | en | refinedweb |
#include <StelLocation.hpp>
Return a short string which can be used in a list view.
Output the location as a string ready to be stored in the user_location file.
Parse a location from a line serialization.
Location/city name.
English country name or empty string.
State/region name (usefull if 2 locations of the same co... | http://www.stellarium.org/doc/0.10.4/classStelLocation.html | CC-MAIN-2015-32 | en | refinedweb |
No more ({ }) for single-element annotation value, thanks to varargs
By Cheng Fang on Apr 04, 2006
I found this accidentally that I can assign a single value to an array when specifying annotation fields. The other day when I wrote a simple EJB3 testcase, I realized there was a type mismatch: the value of
@Interceptors... | https://blogs.oracle.com/chengfang/entry/p_i_found_this_accidentally | CC-MAIN-2015-32 | en | refinedweb |
IRC log of lld on 2011-03-10
Timestamps are in UTC.
14:53:04 [RRSAgent]
RRSAgent has joined #lld
14:53:04 [RRSAgent]
logging to
14:53:10 [emma]
emma has joined #lld
14:53:13 [antoine]
rrsagent, bookmark
14:53:13 [RRSAgent]
See
14:53:22 [antoine]
zakim, this will be lld
14:53:22 [Zakim]
ok, antoine; I see INC_LLDXG()10:... | http://www.w3.org/2011/03/10-lld-irc | CC-MAIN-2015-32 | en | refinedweb |
Cloud Security
Crypto Services and Data Security in Microsoft Azure
Jonathan Wiggs
Many early adopters of Microsoft Azure still have a lot of questions about platform security and its support of cryptography. My hope here is to introduce some of the basic concepts of cryptography and related security within Azure. The ... | https://msdn.microsoft.com/magazine/ee291586.aspx | CC-MAIN-2015-32 | en | refinedweb |
Mapping Corporate Twitter Account Networks Using Twitter Contributions/Contributees API Calls
Savvy users of social networks are probably well-versed in the ideas that corporate Twitter accounts are often “staffed” by several individuals (often identified by the ^AB convention at the end of a tweet, where AB are the in... | http://blog.ouseful.info/2012/01/23/mapping-corporate-twitter-account-networks-using-the-twitter-multiple-author-contributionscontributees-api/ | CC-MAIN-2015-32 | en | refinedweb |
I confess to a deep fascination with the seemingly mundane topic of logging. Software crashes, shopping cart abandonment, and security breaches are among the many situations in which you’ll find yourself poring over logs trying to figure out what went wrong. Like many a developer and network administrator, I honed my P... | http://www.infoworld.com/d/developer-world/artful-logger-021 | crawl-002 | en | refinedweb |
[ Usenet FAQs | Search | Web FAQs | Documents | RFC Index ]
Search the FAQ Archives
Search the FAQ Archives
-
Part1 - Part2 - Part3 - Part4 - Part5 - Part6 - Part7 - Part8 - Part9 - MultiPage
INN FAQ Part 2/9: Specific notes for specific operating systems
From: [email protected] (Heiko W.Rupp) Newsgroups: news.software.nn... | http://www.faqs.org/faqs/usenet/software/inn-faq/part2/ | crawl-002 | en | refinedweb |
First time here? Check out the FAQ!
Steps to be followed to make it run:
1.Install open stack RDO with neutron enabled.
2.Create ifcfg-br-ex interface on compute node/neutron node:
3.If your open stack server (compute node/neutron node) is VM in ESXi set the promiscuous mode on ESX vSwitch.
problem solved..!
As compute... | https://ask.openstack.org/en/users/2482/mithun/?sort=recent | CC-MAIN-2019-43 | en | refinedweb |
Do you (re)arrange your class methods? Why?
Ope Adeyomoye
・1 min read
Lots of (open-source) libraries I go through seem to (re)arrange the methods of member classes in a specific manner e.g. such that any class methods that are to be used by other methods within that class are defined first.
For example:
<?php class Di... | https://dev.to/ope/do-you-rearrange-your-class-methods-why | CC-MAIN-2019-43 | en | refinedweb |
I added the rx-main package to the a WPF Workbook but when I type 'using System.Reactive;', both the autocompletion and the compiler fail to find the namespace. I tried my own NuGet package and worked fine.
What am I missing here? What version of .NET is the WPF Workbook using?
Any idea why it doesn't work?
Submitted i... | https://forums.xamarin.com/discussion/comment/319174 | CC-MAIN-2019-43 | en | refinedweb |
$ 44.99 US
28.99 UK
"Community
Experience
Distilled"
C o m m u n i t y
Adam Boduch
Flux Architecture
Flux Architecture
D i s t i l l e d
Flux Architecture
Learn to build powerful and scalable applications with Flux,
the architecture that serves billions of Facebook users every day
E x p e r i e n c e
Adam Boduch
nearly... | https://id.scribd.com/document/313120771/Flux-Architecture-Sample-Chapter | CC-MAIN-2019-43 | en | refinedweb |
From: Ed Brey (brey_at_[hidden])
Date: 2000-08-30 14:20:43
"any" looks like a very useful class. Some comments:
Design:
Why is there not a non-const version of to_ptr? I.e.
template<ValueType>
ValueType* to_ptr();
How about a cast member function to complement the any_cast global:
class any { ...
template<ValueType>
Va... | https://lists.boost.org/Archives/boost/2000/08/4841.php | CC-MAIN-2019-43 | en | refinedweb |
Introduction
This tutorial is the fifth part of our series on test-driving an Ember.js application. In this series, we have been building a complete application using Ember.js and Ruby on Rails. The premise of our application is a digital bookcase, where we can keep track of all the books we own.
If you’ve finished the... | https://semaphoreci.com/community/tutorials/test-driving-ember-js-crud-operations | CC-MAIN-2019-43 | en | refinedweb |
Check this out: I'm going to turn off my Wifi! Gasp! What do you think will happen? I mean, other than I'm gonna miss all my Tweets and Instagrams! What will happen when I refresh? The page will load, but all the images will be broken, right?
In the name of science, I command us to try it!
Woh! An error!?
Error execut... | https://symfonycasts.com/screencast/symfony-uploads/cached-s3-filesystem | CC-MAIN-2019-43 | en | refinedweb |
hash.; }
How data is stored in HashMap
First of all the Node array size is always 2^N. Following method guarantees it -
static final int tableSizeFor(int cap) { int n = cap - 1; n |= n >>> 1; n |= n >>> 2; n |= n >>> 4; n |= n >>> 8; n |= n >>> 16; return (n < 0) ? 1 : (n >= MAXIMUM_CAPACITY) ? MAXIMUM_CAPACITY : n + ... | http://opensourceforgeeks.blogspot.com/2015_02_13_archive.html | CC-MAIN-2019-43 | en | refinedweb |
Background
Method overloading and method overriding are two important concepts in Java. It is very crucial to know the way they are work and the way they are used.
The main motive of this post is to understand Method overriding and it's usage. Lets quickly understand what both terms mean and move on to the overriding p... | http://opensourceforgeeks.blogspot.com/2013_10_11_archive.html | CC-MAIN-2019-43 | en | refinedweb |
Contains utilization and resource usage statistics for the lifetime of a pool.
public class PoolStatistics
type PoolStatistics = class
Public Class PoolStatistics
Gets the time at which the statistics were last updated. All statistics are limited to the range between StartTime and this value.
Gets statistics related to... | https://docs.microsoft.com/en-us/dotnet/api/microsoft.azure.batch.poolstatistics?view=azure-dotnet | CC-MAIN-2019-43 | en | refinedweb |
Verifly v0.2
This gem consists of several dependent components, which all could be used standalone. The most important one is Verifier, but understanding Applicator and ApplicatorWithOptions helps understand its API. The least important one, ClassBuilder, is only used in private APIs, but its own API is public
Instalat... | https://www.rubydoc.info/github/umbrellio/verifly | CC-MAIN-2019-43 | en | refinedweb |
[
]
Stephe edited comment on WW-4804 at 6/19/17 1:43 PM:
-----------------------------------------------------
See update - had to try and trim it down. The real class is massive.
****
Probably found the source of the issue-
Uncaught ReferenceError: StrutsUtils is not defined.
Just need to work out why that isn't inclu... | http://mail-archives.apache.org/mod_mbox/struts-issues/201706.mbox/%[email protected]%3E | CC-MAIN-2019-43 | en | refinedweb |
Help to understand an AttributeError in a polynomial ring
F. Chapoton recently wrote a program the behaviour of which I do not understand.
def fermat(n): q = polygen(ZZ, 'q') return sum(n ** j * binomial(n, j) * (-1) ** (i + n + j) * binomial(n - 2 - j + 1, i + 1) * q ** i for j in range(n - 1) for i in range(n - 1 - j... | https://ask.sagemath.org/question/36387/help-to-understand-an-attributeerror-in-a-polynomial-ring/?sort=latest | CC-MAIN-2019-43 | en | refinedweb |
hi (cant post links)
currently trying to create local notifications without a service , so registerd an alarm
var alarmIntent = new Intent(Android.App.Application.Context, typeof(AlarmReceiver)); var pending = PendingIntent.GetBroadcast(Android.App.Application.Context, 0, alarmIntent, PendingIntentFlags.Immutable); var... | https://forums.xamarin.com/discussion/comment/377516 | CC-MAIN-2019-43 | en | refinedweb |
ize.
If you are not using the CSRF filter, you also should inject the
CSRFAddToken and
CSRFCheck action wrappers to force adding a token or a CSRF check on a specific action. Otherwise the token will not be available.
import play.api.mvc._ import play.api.mvc.Results._ import play.filters.csrf._ import play.filters.csr... | https://www.playframework.com/documentation/2.8.0-M5/ScalaCsrf | CC-MAIN-2019-43 | en | refinedweb |
Xamarin team!
I am in need of a solution at current for an iOS focused solution (potentially future Android) which will allow an object from a local HTML file which is displayed within a UIWebView to be populated using JavaScript, but calculating the value via C#.
The HTML files which I will be utilizing have associati... | https://forums.xamarin.com/discussion/comment/82353/ | CC-MAIN-2019-43 | en | refinedweb |
Hide Forgot
Version-Release number of selected component:
linphone-3.6.1-10.fc23
Additional info:
reporter: libreport-2.6.4
backtrace_rating: 4
cmdline: linphone
crash_function: sal_address_as_string
executable: /usr/bin/linphone
global_pid: 22195
kernel: 4.6.5-200.fc23.x86_64
runlevel: N 5
type: CCpp
uid: 1000
Truncat... | https://partner-bugzilla.redhat.com/show_bug.cgi?id=1367469 | CC-MAIN-2019-43 | en | refinedweb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.