text
stringlengths
20
1.01M
url
stringlengths
14
1.25k
dump
stringlengths
9
15
⌀
lang
stringclasses
4 values
source
stringclasses
4 values
Welcome to the Apache Jackrabbit Wiki Apache Jackrabbit is a project at the Apache Software Foundation. We are in dire need of better documentation, so feel free to add to these pages as you learn more about Jackrabbit. Community JcrMeetupApril2008: JCR community gathering in Amsterdam on April 8th, 2008 Features Persi...
http://wiki.apache.org/jackrabbit/
crawl-001
en
refinedweb
Interface for a seekable & readable data stream. More... #include <stream.h> List of all members. Interface for a seekable & readable data stream. Definition at line 571 of file stream.h. 16 0 Print a hexdump of the stream while maintaing position. The number of bytes per line is customizable. Definition at line 261 of...
https://doxygen.residualvm.org/d3/d59/classCommon_1_1SeekableReadStream.html
CC-MAIN-2020-40
en
refinedweb
table of contents NAME¶ares_parse_soa_reply - Parse a reply to a DNS query of type SOA SYNOPSIS¶ #include <ares.h> int ares_parse_soa_reply(const unsigned char* abuf, int alen, struct ares_soa_reply** soa_out); DESCRIPTION¶The ares_parse_soa_reply function parses the response to a query of type SOA into a struct ares_s...
https://manpages.debian.org/unstable/libc-ares-dev/ares_parse_soa_reply.3.en.html
CC-MAIN-2020-40
en
refinedweb
Mbed OS 5 provides various runtime statistics to help characterize resource usage. This allows easy identification of potential problems, such as a stack close to overflowing. The metrics currently supported are available for the heap and the stack. Heap statistics Heap statistics provide exact information about the n...
https://os.mbed.com/docs/mbed-os/v5.13/tutorials/optimizing.html
CC-MAIN-2020-40
en
refinedweb
React is a JavaScript library built by Facebook for building user interfaces. If you are new to React, I would recommend reading one of our earlier tutorials on getting started with React. In this tutorial, we'll discuss how to handle nested routing in a React web application. Setting Up the App We'll start by setting ...
https://code.tutsplus.com/tutorials/understanding-nested-routing-in-react--cms-27955
CC-MAIN-2020-40
en
refinedweb
Problem Running a simple PyCUDA program, I got this error: $ python hello_cuda.py Traceback (most recent call last): File "hello_cuda.py", line 5, in <module> from pycuda.compiler import SourceModule File "/usr/local/lib/python2.7/dist-packages/pycuda/compiler.py", line 1, in <module> from pytools import memoize File "...
https://codeyarns.com/2015/02/24/pycuda-error-cannot-import-name-intern/
CC-MAIN-2020-40
en
refinedweb
Introduction: Arduino Data Logger Shield. How to Control Sample Rate With Rtc Edited 21/07/2016. I have another tutorial with 2 DS18B20 (datalogger).It follows the same concepts of this. Link on the step 6.See you there! Hi, this instructable is for those who want to log data from their sensors but don´t need a bunch o...
https://www.instructables.com/id/Arduino-Data-Logger-Shield-How-to-Control-Sample-R/
CC-MAIN-2020-40
en
refinedweb
Here’s the deal, when I create physics simulations in BGE I want to be able to increase the iterations-per-frame and substeps but when i try writing a script for it (there is no GUI is there?) it crashes. The script usually looks like this: import PhysicsConstraints PhysicsConstraints.setNumIterations(10) And when i ex...
https://blenderartists.org/t/physicsconstraints-setnumiterations-make-blender-crash/430877
CC-MAIN-2020-40
en
refinedweb
Attempting to perform a basic log in using the services authentication page but I keep receiving a 404 response. I've used custom code and a slightly modified version of the basic python code provided on Splunk's page both to no avail. Here's the basic code. import urllib import httplib2 from xml.dom import minidom bas...
https://community.splunk.com/t5/Developing-for-Splunk-Enterprise/404-Accessing-REST-authetication-page/m-p/30239
CC-MAIN-2020-40
en
refinedweb
Tutorial Interface Declaration Merging in TypeSc previous post on TypeScript Mixins, we talked briefly about declaration merging in TypeScript. In these series of posts, we are going to go a little deeper starting with interfaces with interface declaration merging. What is Declaration Merging? Declaration merging is wh...
https://www.digitalocean.com/community/tutorials/typescript-interface-declaration-merging
CC-MAIN-2020-40
en
refinedweb
import "github.com/mailru/easygo/netpoll" Package netpoll provides a portable interface for network I/O event notification facility. Its API is intended for monitoring multiple file descriptors to see if I/O is possible on any of them. It supports edge-triggered and level-triggered interfaces. To get more info you coul...
https://godoc.org/github.com/mailru/easygo/netpoll
CC-MAIN-2018-51
en
refinedweb
#include <wx/sashwin.h> A sash event is sent when the sash of a wxSashWindow has been dragged by the user. The following event handler macros redirect the events to member function handlers 'func' with prototypes like: Event macros: wxEVT_SASH_DRAGGEDevent, when the user has finished dragging a sash. wxEVT_SASH_DRAGGED...
https://docs.wxwidgets.org/3.0/classwx_sash_event.html
CC-MAIN-2018-51
en
refinedweb
Download presentation Presentation is loading. Please wait. Published byJames MacKenzie Modified over 5 years ago 1 ACCA P4 Advanced Financial Management December 2011 Exams 2 Capital asset pricing model CAPM basics Arbitrage 3 CAPM basics 1 The CAPM formula E (ri) = Rf + βi (E (rm) – Rf) Where E (ri) is expected retur...
https://slideplayer.com/slide/220349/
CC-MAIN-2018-51
en
refinedweb
(If don't have the VS 2015 Redistributables, please find it here) That is a hash function that maps names of arbitrary length to an integer. This hash function will simply count how many letters are in the name to find the correspondent integer. Note that, for this function, it is not hard to find examples of different...
https://www.codeproject.com/Articles/1044042/Cryptographic-Hashes-What-They-Are-and-Why-You-Sho?msg=5483239
CC-MAIN-2018-51
en
refinedweb
Hello, Do you have any plans to make the ipython notebook interface available to pythonanywhere users? Hello, Do you have any plans to make the ipython notebook interface available to pythonanywhere users? Hey Nicholas, it's on our list, but it's not a straightforward fit with our infrastructure, so it's not easy. I'd ...
https://www.pythonanywhere.com/forums/topic/56/
CC-MAIN-2018-51
en
refinedweb
Full meaning of FQL is ‘Facebook Query Language’. This is used to retrieve filtered data from facebook api similarly as sql query works with database. You won’t find it exactly like SQL query syntax all the time, and not all kind of operations too. But, it definitely meets the demand. In this tutorial, i will try to ex...
https://codesamplez.com/development/facebook-fql-tutorial-in-c-sharp
CC-MAIN-2018-51
en
refinedweb
CURLOPT_TCP_NODELAY explained NAME CURLOPT_TCP_NODELAY - set the TCP_NODELAY option SYNOPSIS #include <curl/curl.h> CURLcode curl_easy_setopt(CURL *handle, CURLOPT_TCP_NODELAY, long nodelay); DESCRIPTION PROTOCOLS EXAMPLE CURL *curl = curl_easy_init(); if(curl) { curl_easy_setopt(curl, CURLOPT_URL, ""); /* disable Nagl...
https://curl.haxx.se/libcurl/c/CURLOPT_TCP_NODELAY.html
CC-MAIN-2018-51
en
refinedweb
import "github.com/magefile/mage/sh" CmdRan examines the error to determine if it was generated as a result of a command running via os/exec.Command. If the error is nil, or the command ran (even if it exited with a non-zero exit code), CmdRan reports true. If the error is an unrecognized type, or it is an error from e...
https://godoc.org/github.com/magefile/mage/sh
CC-MAIN-2018-51
en
refinedweb
Horizontal Pod Autoscaler automatically scales the number of pods in a replication controller, deployment or replica. This example requires a running Kubernetes cluster and kubectl, version 1.2 or later. metrics-server monitoring needs to be deployed in the cluster to provide metrics. To demonstrate Horizontal Pod Auto...
https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/
CC-MAIN-2018-51
en
refinedweb
nl:: This is an abstract class. Weave:: Profiles:: DeviceControl:: DeviceControlDelegate #include <src/lib/profiles/device-control/DeviceControl.h> Delegate class for implementing incoming Device Control operations on the server device. Summary InheritanceInherits from: nl::Weave::WeaveServerDelegateBase Public functio...
https://openweave.io/reference/class/nl/weave/profiles/device-control/device-control-delegate.html
CC-MAIN-2018-51
en
refinedweb
Recommender Engine - Under The Hood We examine two main types of recommender systems: Content based and Collaborative filtering. Both have their pros and cons depending upon the context in which you want to use them. context in which you want to use them. Content based: In content based recommender systems, keywords or...
https://www.kdnuggets.com/2018/02/recommender-engine.html
CC-MAIN-2018-51
en
refinedweb
I'm not sure what I am doing wrong, but the error message is "Oops, try again. median([1]) resulted in an error: list index out of range." I have printed my own list, and it gives back the correct median. Here is my code: def median(sequence): sequence = sorted(sequence) ls = len(sequence) # if ls > 1: middle = ls/2 m...
https://discuss.codecademy.com/t/15-median-median-1-list-index-out-of-range/48218
CC-MAIN-2018-51
en
refinedweb
A simple bar chart As with all matplotlib charts, pie charts are highly configurable. Here we just show the simplest of pie charts. import matplotlib.pyplot as plt labels = 'Dan','Sean','Andy','Mike','Kerry' cake_consumption = [10, 15, 12, 30, 100] plt.pie(cake_consumption, labels=labels) plt.title ("PenCHORD's Cake Co...
https://pythonhealthcare.org/2018/04/10/39-matplotlib-pie-charts-and-adding-a-title/
CC-MAIN-2018-51
en
refinedweb
NAME Alt - Alternate Module Implementations SYNOPSIS PERL_ALT_INSTALL=OVERWRITE cpanm Alt::IO::All::Redux: PERL_ALT_INSTALL=OVERWRITE. ALT BEST PRACTICES This idea is new, and the details should be sorted out through proper discussions. Pull requests welcome. Here are the basic guidelines for best using the Alt namespa...
https://metacpan.org/pod/Alt
CC-MAIN-2016-44
en
refinedweb
Pension Risk Management Utilities Sector. Tim Geddes, FSA, EA, MAAA Director, Deloitte Consulting LLP - Tyler Reed - 1 years ago - Views: Transcription 1 Pension Risk Management Utilities Sector Tim Geddes, FSA, EA, MAAA Director, Deloitte Consulting LLP 2 Agenda Introduction Pension Risk Overview Pension Risk in the U...
http://docplayer.net/455003-Pension-risk-management-utilities-sector-tim-geddes-fsa-ea-maaa-director-deloitte-consulting-llp-tgeddes-deloitte-com-1-313-396-3954.html
CC-MAIN-2016-44
en
refinedweb
Series: This post is the ninth part of the Data Services Expressions Series which describes expressions generated by WCF Data Services. In the last post we looked at projections, which leaves us with just one last big feature, expansions. The $expand query option Query which targets a certain entity by default returns ...
https://blogs.msdn.microsoft.com/vitek/2010/07/15/data-services-expressions-part-9-expansions/
CC-MAIN-2016-44
en
refinedweb
- NAME - DESCRIPTION - About the new versioning system - Incompatible Changes - Core Changes - Threads - Compiler - Regular Expressions - Improved malloc() - Quicksort is internally implemented - Reliable signals - Reliable stack pointers - Behavior of local() on composites is well-defined - %! is transparently tied to...
https://metacpan.org/pod/release/GSAR/perl5.004_72/pod/perldelta.pod
CC-MAIN-2016-44
en
refinedweb
In the end of this post you will find the source code to download. You can use it as you wish. Just go to the last page and do the download. \o/ If you downloaded the code and did not understand something, in this post I will explain every detail found in the code. Just read the subject inside this post that you want. ...
https://www.javacodegeeks.com/2012/06/full-webapplication-jsf-ejb-jpa-jaas.html
CC-MAIN-2016-44
en
refinedweb
The digital compass I'm using is the Compass Module - Vector 2Xe On the product's data sheet it mentions certain functions like SetConfiguration and GetData but I don't know if I have to write these functions myself #include <Wire.h> // only to allow to include twi.hextern "C" { #include "utility/twi.h"}byte addr =33; ...
http://forum.arduino.cc/index.php?topic=21319.0;prev_next=prev
CC-MAIN-2016-44
en
refinedweb
import java.awt.Color ;23 import javax.swing.Icon ;24 25 /** A class which can provide rendering data for the tree portion an Outline,26 * such as converting values to text, providing tooltip text and icons.27 * Makes it possible to provide most of the interesting data that affects28 * display without needing to provi...
http://kickjava.com/src/org/netbeans/swing/outline/RenderDataProvider.java.htm
CC-MAIN-2016-44
en
refinedweb
It would be nice if the user could right click on an XML document and transform it with an XSL document. The XSL document chosen and destination location should be based on either of the following: 1 - Properties in the property sheet for the XML document if they are set, otherwise: 2 - The reference to an XSL file in ...
https://netbeans.org/bugzilla/show_bug.cgi?id=19439
CC-MAIN-2016-44
en
refinedweb
isdigit() Test a character to see if it's a decimal digit Synopsis: #include <ctype.h> int isdigit(digit() function tests for a decimal digit (characters 0 through 9). Returns: Nonzero if c is a decimal digit; otherwise, zero. Examples: #include <stdio.h> #include <stdlib.h> #include <ctype.h> char the_chars[] = { 'A',...
http://developer.blackberry.com/native/reference/core/com.qnx.doc.neutrino.lib_ref/topic/i/isdigit.html
CC-MAIN-2016-44
en
refinedweb
The following code examples are used in this chapter: The maemo platform's basic starting point for graphical user interface programming is the Hildon[44], an application framework comprising of a lightweight desktop, a set of widgets optimized for handheld devices, a set of theming tools and other complementary librar...
http://maemo.org/maemo_release_documentation/maemo4.1.x/node7.html
CC-MAIN-2016-44
en
refinedweb
Creating a WMI Script You can view or manipulate any information made available through WMI using scripts. Scripts can be written in any scripting language that supports Microsoft ActiveX script hosting, including Visual Basic Scripting Edition (VBScript), PowerShell, and Perl. Windows Script Host (WSH), Active Server ...
https://msdn.microsoft.com/en-us/library/aa389763(v=vs.85).aspx
CC-MAIN-2016-44
en
refinedweb
Working with meeting requests in Exchange ActiveSync Last modified: January 21, 2013 By Katarzyna Puchala Summary: This article explains how Microsoft Exchange ActiveSync clients can create, send, receive, and interpret meeting requests by using Exchange ActiveSync protocol version 14.1. Where applicable, differences b...
https://msdn.microsoft.com/en-us/library/hh428684(v=EXCHG.140).aspx
CC-MAIN-2016-44
en
refinedweb
#include <hallo.h> Robert Millan wrote on Sun May 19, 2002 um 08:39:47AM: > There's no problem, you asked me to contact upstream and that's what I'll do. > > I don't tag anyone as "friend or enemy". My post was not a complain but > merely a reference to bug #146396, open for interpretation. So,so reference, but in whic...
http://lists.debian.org/debian-devel/2002/05/msg01355.html
CC-MAIN-2013-48
en
refinedweb
Not logged in Log in now Recent Features LWN.net Weekly Edition for December 5, 2013 Deadline scheduling: coming soon? LWN.net Weekly Edition for November 27, 2013 ACPI for ARM? LWN.net Weekly Edition for November 21, 2013 Why learn Fortran? Posted Jun 29, 2012 2:29 UTC (Fri) by dskoll (subscriber, #1630) [Link] In ord...
http://lwn.net/Articles/504121/
CC-MAIN-2013-48
en
refinedweb
...., hashed indices take an initial number of buckets, a key extractor, a hash function and an equality predicate; while sequenced and random access indices do not need any construction argument. For instance, given the definition typedef multi_index_container< unsigned int, indexed_by< hashed_unique<identity<unsigned...
http://www.boost.org/doc/libs/1_44_0/libs/multi_index/doc/tutorial/creation.html
CC-MAIN-2013-48
en
refinedweb
AZOO_iterate: A function built around AztecOO that mimics the Aztec funciton AZ_iterate. More... #include "Epetra_Comm.h" #include "Epetra_Map.h" #include "Epetra_Vector.h" #include "Epetra_VbrMatrix.h" #include "Epetra_CrsMatrix.h" #include "Epetra_LinearProblem.h" #include "AztecOO.h" #include "Aztec2Petra.h" AZOO_it...
http://trilinos.sandia.gov/packages/docs/r11.4/packages/aztecoo/doc/html/AZOO__iterate_8h.html
CC-MAIN-2013-48
en
refinedweb
Drawing a Histogram ( I know its been covered and I have read through those posts) dante cass Greenhorn Joined: Nov 02, 2009 Posts: 11 posted Nov 02, 2009 22:07:28 0 I edited this and hopefully this will work . Basically I am trying to draw a histogram from the results of a dice roll. Two dice actually. I have already...
http://www.coderanch.com/t/469257/java/java/Drawing-Histogram-covered-read-posts
CC-MAIN-2013-48
en
refinedweb
Spring Security 3.1 — Save 50% Secure your web applications from hackers with this step-by-step guide with this book and ebook. (For more resources related to this topic, see here.) Hello Spring Security Although Spring Security can be extremely difficult to configure, the creators of the product have been thoughtful a...
http://www.packtpub.com/article/getting-started-with-spring-security
CC-MAIN-2013-48
en
refinedweb
The core flaw of pipes and conduit October 9, 2013 Michael Snoyman This blog post has actually been through many iterations as I've investigated the problems more thoroughly. After looking at the various examples I'll be bringing below quite a bit, I've come to a conclusion: there is just one single design decision in ...
http://www.yesodweb.com/blog/2013/10/core-flaw-pipes-conduit
CC-MAIN-2013-48
en
refinedweb
this exercise was from the book "Java how to program 9th edition". you ask the user to input 10 numbers and your program should find the largest number and the second largest number out of the 10. the logic in my code makes sense to me but it does not come up with the two largest numbers. :mad: Code Java: import java.u...
http://www.javaprogrammingforums.com/%20whats-wrong-my-code/13133-find-two-largest-number-printingthethread.html
CC-MAIN-2013-48
en
refinedweb
A number of tools are provided for examining and managing FNS contexts. The commands and their syntax are shown in the sections that follow. fnlookup displays the binding of the given composite name.Table 24-2 fnlookup Command Options For example, to show the binding for the user darwin in detail, you would enter: Supp...
http://docs.oracle.com/cd/E19455-01/806-1387/6jam692eb/index.html
CC-MAIN-2013-48
en
refinedweb
Django web application framework is nearing an important milestone: version 1.0. Like Ruby on Rails, TurboGears, and others, Django is meant to streamline application development for the web by providing easy-to-use libraries for tasks that are commonly performed by dynamic web sites, such as database access and HTML ...
http://lwn.net/Articles/294983/bigpage
CC-MAIN-2013-48
en
refinedweb
? The shared constructor? It's guaranteed to run first, and to tun once, so it MUST be threadsafe, right? :) According to the specification the static constructor will only run once, and all concurrent acces to the type (static or instance) is hold up until the static constructor has finished. Cheers "the Common Langua...
http://odetocode.com/blogs/scott/archive/2006/10/19/static-doesnt-mean-thread-safe.aspx
CC-MAIN-2013-48
en
refinedweb
FAQ How do I create a Rich Client application? From Eclipsepedia An Eclipse RCP application has full control over how the user interface is created. The locus of control for an RCP applicationthe place where all configuration startsis the WorkbenchAdvisor class. Your subclass of WorkbenchAdvisor controls the initial la...
http://wiki.eclipse.org/FAQ_How_do_I_create_a_Rich_Client_application%3F
CC-MAIN-2013-48
en
refinedweb
ChestyPuller wrote:Is it possible to convert a selection to proper case? i.e. First letters of each word to uppercase? Thanks! class TitleCaseCommand(sublimeplugin.TextCommand): def run(self, view, args): self.transformSelectionText(string.capwords, view) def isEnabled(self, view, args): return view.hasNonEmptySelectio...
http://www.sublimetext.com/forum/viewtopic.php?p=4171
CC-MAIN-2013-48
en
refinedweb
28 March 2010 19:28 [Source: ICIS news] SAN ANTONIO, Texas (ICIS news)--The European second-quarter butadiene (BD) contract price of €1,275/tonne ($1,700/tonne) does not reflect true market fundamentals and is too high, a major butadiene consumer said on Sunday. “€1,275/tonne is too high,” it said on the sidelines of t...
http://www.icis.com/Articles/2010/03/28/9346419/npra-10-europe-q2-butadiene-contract-does-not-reflect.html
CC-MAIN-2013-48
en
refinedweb
use Scalar::Util(looks_like_number); sub comp { my ($a, $b) = @_; if (looks_like_number($a) && looks_like_number($b)) { return ($a == $b); } else { return ($a eq $b); } } [download] If your data can contain reals, you might want to think about whether 10.0 == 10.000000000000001, or not. when comparing numbers, I tend t...
http://www.perlmonks.org/index.pl?node_id=626343
CC-MAIN-2013-48
en
refinedweb
Created on 2004-03-26 03:17 by trevp, last changed 2008-02-24 05:41 by mark.dickinson. This issue is now closed. Sometimes you want to turn a long into a byte-string, or vice-versa. This is useful in cryptographic protocols, and probably other network protocols where you need to exchange large integers. In 2.4, you can...
http://bugs.python.org/issue923643
CC-MAIN-2013-48
en
refinedweb
Learn how to control applications and services dynamically deployed from a variety of cloud environments into devices like user desktops, Microsoft Terminal Services and a range of mobile devices. If you believe even a fraction of the current press about cloud computing, you want to understand not only how to harness i...
http://technet.microsoft.com/en-us/magazine/hh389788.aspx
CC-MAIN-2013-48
en
refinedweb
High-level Python 3 module for creating and parsing torrent files Project description torf provides a high-level Torrent class that represents the metainfo of a torrent. Torrent instances can be created from scratch, from a file path or from a file-like object. A Torrent instance can create a .torrent file or a BTIH ma...
https://pypi.org/project/torf/
CC-MAIN-2020-16
en
refinedweb
The wcscpy() function is defined in <cwchar> header file. wcscpy() prototype wchar_t *wcscpy( wchar_t *dest, const wchar_t *src ); The wcscpy() function takes two arguments: dest and src. It copies the wide character string pointed to by src to the memory location pointed to by dest. The null terminating wide character...
https://www.programiz.com/cpp-programming/library-function/cwchar/wcscpy
CC-MAIN-2020-16
en
refinedweb
HST-2 Edge Side Includes Support Introduction HST provides basic ESI (Edge Side Includes) support for both external ESI Processors such as Content Delivery Networks (CDN) such as Akamai or Web Cache Servers such as Varnish, Squid or HST ESI Processor. Edge Side Includes is a markup language for edge level dynamic web c...
https://documentation.bloomreach.com/13/library/concepts/web-application/hst-2-edge-side-includes-support.html
CC-MAIN-2020-16
en
refinedweb
import "gopkg.in/gcfg.v1" Package gcfg reads "INI-style" text-based configuration files with "name=value" pairs grouped into sections (gcfg files). This package is still a work in progress; see the sections below for planned changes. The syntax is based on that used by git config: . There are some (planned) differences...
https://godoc.org/gopkg.in/gcfg.v1
CC-MAIN-2020-16
en
refinedweb
Java Adaptersimprove this page | report issue Overview Java adapters are based on the JAX-RS 2.0 specification. In other words, a Java adapter is a JAX-RS 2.0 service that can easily be deployed to a MobileFirst Server instance and has access to MobileFirst Server APIs and other 3rd party APIs. Prerequisite: Make sure ...
https://mobilefirstplatform.ibmcloud.com/tutorials/fr/foundation/8.0/adapters/java-adapters/
CC-MAIN-2020-16
en
refinedweb
Managed DirectSound 9 is a part of Managed DirectX 9 library. In this tutorial I’m going to explain how to play sounds with Microsoft Managed DirectSound 9, how to apply effects, select the output audio device and a few more tricks. I hope you’ll discover that DirectSound is not as difficult as it seems. In order to de...
https://www.codeproject.com/Articles/11184/The-ultimate-Managed-DirectSound-9-Tutorial-Part-1?msg=4591451
CC-MAIN-2020-16
en
refinedweb
: ruby PHP exit(string) function PHP function exit(int $status) uses numeric $status return code but function exit(string $status) just outputs argument string. import sys sys.exit(0) and imports sys sys.exit(“aa! errors!”) In Perl there is only exit(int_code) variant available. However, we use die(‘last words’) or eve...
https://kikudjiro.wordpress.com/tag/ruby/
CC-MAIN-2020-16
en
refinedweb
I've been faced with some interfaces like this: public interface IPoller { void Poll(); } This doesn't look too bad. The Pollmethod presumably calls every so often to poll something. Looking at the constructor then shows something a bit hidden. public class Poller : IPoller { private IPollListener m_Listener; public Po...
http://www.fatvat.co.uk/2012/12/code-smells-lying-interface.html
CC-MAIN-2020-16
en
refinedweb
Overview Atlassian Sourcetree is a free Git and Mercurial client for Windows. Atlassian Sourcetree is a free Git and Mercurial client for Mac. XlsXcessive - XLSX Generation Library Introduction XlsXcessive provides a Python API for writing Excel/OOXML compatible .xlsx spreadsheets. It generates the XML so you don't hav...
https://bitbucket.org/chmullig/xlsxcessive
CC-MAIN-2018-17
en
refinedweb
web.xml modified to web.xml.org - Subsequent runs failPatrick Madden Jul 17, 2007 6:39 PM Hi, On July 7, we download the SVN version of JBossWS 2.0.0.0.GA and also JBoss-4.2.1.GA version of application server. I also believe this problem occurred with JBossWS 1.2.1GA and JBoss-4.2.0.GA of the application server. We cou...
https://developer.jboss.org/thread/102197
CC-MAIN-2018-17
en
refinedweb
HOWTO @Inject a @PersistenceContext(Type=EXTENDED)Bernhard Anzeletti Aug 30, 2012 6:57 PM Dear Community, I would like to keep my Entity Manager alive across a whole conversation. When I use, say, a SFSB with a @PersistenceContext(Type=Extended) field, everything works as I understand it should work. However, if I @Inj...
https://developer.jboss.org/thread/204761
CC-MAIN-2018-17
en
refinedweb
System.out.println(exp); is used to display messages to the command window. If we go further to the functioning of System.out.println() statement, we will find that: 1. System is a class built into the core Java language and it is defined within the java.lang package. 2. out is a public static member of the System clas...
http://cs-fundamentals.com/tech-interview/java/how-system-out-println-work-in-java.php
CC-MAIN-2018-17
en
refinedweb
As per the standards every directory will contain one Makefile. So you can have three Makefiles for this job done if you have three directories. (d) common | |---(f) common.h |---(f) common.c |---(f) Makefile --- MAkefile for the common folder. (d) app | |---(f) app.h |---(f) app.c |---(f) Makefile (d) unittest | |---(...
http://www.w3hello.com/questions/Why-do-I-have-multiple-python-executables-
CC-MAIN-2018-17
en
refinedweb
We have a class, TapeRecorder, that implements the recorder itself, giving us access to its functionality. Than we have a pure virtual base class, CommandBase, that would be base for each actual class implementing a recorder command, like PlayCommand, StopCommand, etc. Given that, our GUI, or whatever interface we prov...
http://thisthread.blogspot.com/2010/05/boostfunction-and-command-pattern.html
CC-MAIN-2018-17
en
refinedweb
same cluster are more similar to each other than to those in other clusters. In this blog post, I walk through using AWS Glue to take a data set of taxi rides located on Amazon S3 and apply K-means to separate the data into 100 different clusters based on the ride coordinates. Then, I use Amazon Athena to query the nu...
https://aws.amazon.com/blogs/machine-learning/serverless-unsupervised-machine-learning-with-aws-glue-and-amazon-athena/
CC-MAIN-2018-17
en
refinedweb
: namespace ba=boost::locale::boundary; std::string text= ... ; std::locale loc = ... ; ba::segment_index<std::string::const_iterator> map(ba::word,text.begin(),text.end(),loc);:;: map.full_select(true);: text="to be or "; ssegment_index map(word,text.begin(),text.end(),gen("en_US.UTF-8")); ssegment_index::iterator p =...
https://www.boost.org/doc/libs/1_55_0/libs/locale/doc/html/boundary_analysys.html
CC-MAIN-2018-17
en
refinedweb
Logging in ASP.NET Core By Steve Smith and Tom Dykstra ASP.NET Core supports a logging API that works with a variety of logging providers. Built-in providers let you send logs to one or more destinations, and you can plug in a third-party logging framework. This article shows how to use the built-in logging API and pro...
https://docs.microsoft.com/en-us/aspnet/core/fundamentals/logging/?tabs=aspnetcore2x&view=aspnetcore-2.1
CC-MAIN-2018-17
en
refinedweb
enough. Join the conversationAdd Comment int main() { vector<feline::kitty> v; cout << "*** Constructing cat." << endl; feline::kitty cat; cout << "*** Pushing back cat #1." << endl; v.push_back(cat); cout << "*** Pushing back cat #2." << endl; v.push_back(cat); cout << "*** Destroying cat and v." << endl; } C:Temp>cl...
https://blogs.msdn.microsoft.com/vcblog/2008/08/11/tr1-fixes-in-vc9-sp1/
CC-MAIN-2018-17
en
refinedweb
I just installed the py27-numpy package via MacPorts and python will not find the module when I use this command: import scipy help('modules') echo $PATH Your PATH is incorrect. It appears to be picking up another Python 2.7, likely one installed using a binary installer from python.org or elsewhere, and not the MacPor...
https://codedump.io/share/D7VMkajI2kcU/1/locate-macports-package
CC-MAIN-2018-17
en
refinedweb
package require test::tap namespace import ::test::tap::* # We want to run four tests. plan 4 ok {expr {1 == 1}} -description "1 is equal to 1" # Similar. Note: For now one must use [concat] to pass a variable or constant. is {concat 1} 1 ok {expr {0 == 1}} # But is has more diagnostics: is {concat 0} 1This test script...
http://wiki.tcl.tk/19774
CC-MAIN-2016-50
en
refinedweb
Google Releases WAP Search Tool 95 ChrisUK writes "Google seem to have single-handedly brought html to WAP devices. WAP/Palm users can log on to on their devices, and search through Google's web database. Furthermore, the pages that are linked to can be jumped to, and will be converted to wml on the fly. More details c...
https://slashdot.org/story/00/05/14/1240252/google-releases-wap-search-tool
CC-MAIN-2016-50
en
refinedweb
jip 0.8.1 jip installs packages, for Jython Jip is the jython equivalent of pip to python. It will resolve dependencies and download jars for your jython environment. License jip itself is distributed according to MIT License . Install jip is recommended to run within virtualenv, which is a best practice for python/jyt...
https://pypi.python.org/pypi/jip/0.8.1
CC-MAIN-2016-50
en
refinedweb
Virtual Data Processor. More... #include "prt.h" Go to the source code of this file. Virtual Data Processor. PULSAR Runtime Copyright (C) 2012-2015 University of Tennessee. Definition in file prt_vdp.h. Annihilates a VDP. Used for complete annihilation of VDPs that don't belong in the node. Destroys all input channels....
http://icl.cs.utk.edu/projectsfiles/pulsar/html/doxygen/prt__vdp_8h.html
CC-MAIN-2016-50
en
refinedweb
Question Barb Simmons was speaking to Madge Wilcox recently after a management meeting at Liberty Corporation. Barb told Madge that she was really disappointed with the company’s recently revised code of ethics and saw no reason why the company should have such a document. “After all,” she said, “everyone knows what’s ...
http://www.solutioninn.com/barb-simmons-was-speaking-to-madge-wilcox-recently-after-a
CC-MAIN-2016-50
en
refinedweb
How does it work and how do I do it? I have been looking all over for this but I can't find an explanation for returning 'this'. public class MyClass int i = 1; public static void main(String [] args) { MyClass object = new MyClass(); object.method(3); } public MyClass method(int i) { this.i = i; return this; } What ha...
https://codedump.io/share/G7WqEPvwci93/1/what-happens-if-i-return-the-39this39-keyword
CC-MAIN-2016-50
en
refinedweb
Update 01/20/2009: Since I failed to mention this before I wanted to make something clear about these workflow posts. All information in these posts is based on the knowledge I gained through developing a framework based on Windows Workflow 4.0. I am not a member of the team nor is this information in any way endorsed ...
https://blogs.msdn.microsoft.com/patcarna/2010/01/19/windows-workflow-4-0-workflow-instance-extensions/
CC-MAIN-2016-50
en
refinedweb
It has been just over a year since Windows Phone 7 (WP7) was released. While the WP7 application ecosystem has been expanding quickly (in comparison to its market share), some developers have concerns about the future of the platform, particularly with regards to the upcoming Windows 8. The good news for WP7 developers...
http://www.techrepublic.com/blog/software-engineer/porting-a-wp7-app-to-windows-8/?count=50&view=collapsed
CC-MAIN-2016-50
en
refinedweb
Opened 10 years ago Last modified 13 10 years ago by comment:2 Changed 10 years ago by Milestone Version 1.0 deleted comment:3 Changed 10 years ago by I created a simple patch for this. It seems to work for me. Changed 10 years ago by patch to fix get_or_create with GenericRelation Changed 10 years ago by other patch h...
https://code.djangoproject.com/ticket/2316?cversion=0&cnum_hist=1
CC-MAIN-2016-50
en
refinedweb
There are several reasons I love Tcl: - It supports Unicode in code and GUI - The community is great - It is truly interactive: Open a console in your application and see what is really going on - Tclkit or Starkit deployment is very, very convenient - It is very easy to install libraries without changing config files ...
http://wiki.tcl.tk/14766
CC-MAIN-2016-50
en
refinedweb
Android: Retrieving the Camera preview as a Pixel Array Posted by Dimitri | Mar 24th, 2011 |: This image explains the above process. After that, find the CameraPreview.java file that is located at: com.example.android.apis.graphics package. The code from this class is going to be changed. This is the file the changes a...
http://www.41post.com/3470/programming/android-retrieving-the-camera-preview-as-a-pixel-array
CC-MAIN-2016-50
en
refinedweb
i have dataset : recency;frequency;monetary 21;156;41879955 13;88;16850284 8;74;79150488 2;74;26733719 9;55;16162365 ...;...;... DataFrame df = pd.DataFrame(datas, columns=['userid', 'recency', 'frequency', 'monetary']) df['recency'] = df['recency'].astype(float) df['frequency'] = df['frequency'].astype(float) df['mone...
https://codedump.io/share/Hn0p1BFYpOg5/1/why-use-pandas-qcut-return-valueerror-bin-edges-must-be-unique
CC-MAIN-2016-50
en
refinedweb
« Return to documentation listing MPI_Type_create_f90_real - Returns a bounded MPI real datatype #include <mpi.h> int MPI_Type_create_f90_real(int p, int r, MPI_Datatype *newtype) INCLUDE ’mpif.h’ MPI_TYPE_CREATE_F90_REAL (P, R, NEWTYPE, IERROR) INTEGER P, R, NEWTYPE, IERROR #include <mpi.h> static MPI::Datatype MPI::D...
http://icl.cs.utk.edu/open-mpi/doc/v1.7/man3/MPI_Type_create_f90_real.3.php
CC-MAIN-2014-52
en
refinedweb
Computer Science Archive: Questions from February 24, 2009 - Anonymous askedTry to... Show moreQ1)think back to your first computer (say pentium II PC, orMacintosh Power PC 603, 604, G3)Try to recall the characteristics of :*Processor type*Processor speed*Memory sizecharacteristics such as :Type of main & secondary sto...
http://www.chegg.com/homework-help/questions-and-answers/computer-science-archive-2009-february-24
CC-MAIN-2014-52
en
refinedweb
Post your Comment sql sql i want that whenever i click add button in my form value of an column employee-id will automatically increase by one..and show the new employee-id value in text box. please send me the source code for this .   sql - SQL full details with source code to solve the problem. Thanks thnx Open Sourc...
http://www.roseindia.net/discussion/19251-Open-Source-SQL.html
CC-MAIN-2014-52
en
refinedweb
In this article we will understand the basics of Classloader in Java. Let us first understand what is the meaning of. Why do we need the ClassLoader ? The class loading mechanism allows us to have multiple classes with the same name (exactly the same) but different class loaders. This is what happens for example in web...
http://www.javabeat.net/classloader-java/
CC-MAIN-2014-52
en
refinedweb
> {-# LANGUAGE CPP, GeneralizedNewtypeDeriving #-} > -- Since we don't get a MonadFix instance for MaybeT from transformers: > {-# OPTIONS_GHC -fno-warn-orphans #-} > module Control.Concurrent.Actors.Behavior > where >Our 'spawn'ing a @Behavior@. Behaviors consist of > -- a composed 'Action' that is executed when a mes...
http://hackage.haskell.org/package/simple-actors-0.1.0/docs/src/Control-Concurrent-Actors-Behavior.html
CC-MAIN-2014-52
en
refinedweb
Assume that A and B have similar AT and BT classes associated with them via the @Contract annotation. When JUnit runs the CImplContractTest test, it uses the ContractSuite class. That class discovers all the interfaces implemented by CImpl and then locates their associated tests. It uses the implementation of interface...
http://www.drdobbs.com/cpp/are-you-sure-you-know-whats-broken/240144986http:/www.drdobbs.com/cpp/simplifying-contract-testing/240167128?pgno=2
CC-MAIN-2014-52
en
refinedweb
. Quoting from the Oracle docs - ." Note the last sentence. Every time you reuse a connection (typically once per page) the application must reestabilsh the context. In the application you have to capture who the "real" user is and the application must keep Oracle informed, on each connection re-use, of who the connect...
http://www.orafaq.com/maillist/oracle-l/2005/05/23/1241.htm
CC-MAIN-2014-52
en
refinedweb
Hello all... In the god old times when a few compilers supported namespaces you could put incomplete declarations in headers file, e.g.: class ostream; class someclass { ostream* ptr }; Now the problem is that when I try to write: class std::ostream; class someclass { std::ostream* ptr; }; the compiler (g++ 3.4) gives ...
http://cboard.cprogramming.com/cplusplus-programming/59330-namespace-confusion.html
CC-MAIN-2014-52
en
refinedweb
On Mon, Mar 31, 2008 at 07:59:42PM +0200, Reimar D?ffinger wrote: > Hello, > On Mon, Mar 31, 2008 at 06:57:30PM +0200, Michael Niedermayer wrote: > > > > It does not work for Sun CC, so I guess it is not legal C... > > > > > > This will be a problem when we get Sun CC up and running for FATE. Then > > > again, was FFmp...
http://ffmpeg.org/pipermail/ffmpeg-devel/2008-April/039786.html
CC-MAIN-2014-52
en
refinedweb
Introduction IBM® WebSphere® Message Broker V6 gives message flow developers full access to the Java language for implementing message processing logic for routing, transformation, and enrichment, and logging and warehousing in-flight data, as an alternative to ESQL. Since this processing implemented in the Broker ofte...
http://www.ibm.com/developerworks/websphere/library/techarticles/0703_boag/0703_boag.html?S_TACT=105AGY01&S_CMP=BLOG
CC-MAIN-2014-52
en
refinedweb
I love it when I find new ways to improve my testing ability. In this case, it’s not really new, just new to me. I’m referring The Object Mother or Test Data Builder patterns used to encapsulate objects you need for testing. I started playing with these patterns to simplify my tests and I found a way to further reduce ...
http://lostechies.com/johnteague/2008/08/13/encapsulating-test-data-and-expectations/
CC-MAIN-2014-52
en
refinedweb
This is the Z Solid database adapter product for the Z Object Publishing Environment. *** IMPORTANT *** This product is distributed as a NON-BINARY release! This product requires a compiled Python extension that is NOT included as a binary with this release. You must build or install the required extensions using the i...
http://old.zope.org/Products/ZSolidDA/swpackage_view
CC-MAIN-2014-52
en
refinedweb
Study On Asset Prices And Arbitrage Pricing Theory Finance Essay Asset prices are commonly believed to react sensitively to economic news. Daily experience seems to support the view that individual asset prices are influenced by a wide variety of unpredictable events and that some events have a more pervasive effect on...
http://www.ukessays.com/essays/finance/study-on-asset-prices-and-arbitrage-pricing-theory-finance-essay.php
CC-MAIN-2014-52
en
refinedweb
So here is something that came up in a discussion I was having. It revolved around delegates and their parameter types because we were trying to find an easier way to solve an issue without having to write more code than we really wanted to. If you program entirely in VB or are not using .Net framework 2.0 with C#, the...
http://codebetter.com/blogs/raymond.lewallen/archive/2006/12.aspx
crawl-001
en
refinedweb
Visual Studio 2008 includes a project template to create a solution with the basic settings and code files for a Silverlight-based managed class library. There are Silverlight project templates for C# and for Visual Basic. This QuickStart explains how to create a solution for a Silverlight-based class library using the...
http://silverlight.net/Quickstarts/Start/65f7a50a-9858-4425-8b6f-1993e5ab0236.aspx
crawl-001
en
refinedweb
The Silverlight Tools Beta 1 for Visual Studio 2008 includes support for creating applications in Silverlight version 2 Beta 1. The Silverlight Designer Preview in Visual Studio 2008 has features that are a subset of the features in the WPF Designer. The following table lists the features that are supported in the Silv...
http://silverlight.net/Quickstarts/Start/18660837-4a10-462b-bf6e-723b36748ec3.aspx
crawl-001
en
refinedweb
How to draw graphics in Swing rather than using an AWT Canvas on a Swing Component? Created May 4, 2012 Scott Stanchfield You simply subclass JComponent and override its paintComponent() method. Do not override paint(), as the default version of paint does much more. For example public class MyComponent extends JCompon...
http://www.jguru.com/faq/view.jsp?EID=325148
CC-MAIN-2019-47
en
refinedweb