text
stringlengths
20
1.01M
url
stringlengths
14
1.25k
dump
stringlengths
9
15
⌀
lang
stringclasses
4 values
source
stringclasses
4 values
Feeling a little frustrated as I just spent a considerable amount of time figuring out how to retrieve an item by index from a Seq. Finally figured it out. It can be done using the lift method. This method is also supported by other collections. This is the code snippet from REPL: scala> Seq(1,2,3,4,5) res0: Seq[Int] =...
https://nidkil.me/2014/11/05/retrieving-an-item-from-a-seq-by-index/
CC-MAIN-2021-10
en
refinedweb
JPA Implementation Patterns: Retrieving Entities Join the DZone community and get the full member experience.Join For Free last time i talked about how to save an entity . and once we've saved an entity we'd also like to retrieve it. compared to saving entities, retrieving entities is actually rather simple. so simple ...
https://dzone.com/articles/jpa-implementation-patterns-1
CC-MAIN-2021-10
en
refinedweb
Agenda See also: IRC log <trackbot> Date: 02 October 2009 <dug> yves - I'm blocked again - could you look at the logs? <Bob> scribe: Ram Jeyaraman <Yves> dug, I only have access to the black lists <Yves> and the ip you gave was not in it <dug> 195.212.29.67 <dug> try that one <dug> yves, is 195.212.29.67 in the blackli...
http://www.w3.org/2009/10/02-ws-ra-minutes.html
CC-MAIN-2018-26
en
refinedweb
#include <VOP_ExportedParmsManager.h> Manager of parameters exported by parameter VOPs contained in the owner network. Definition at line 43 of file VOP_ExportedParmsManager.h. Add the given parameter layout as a template for the next update to the owner VOP network's spare parameter layout. Dirty the exported paramete...
http://www.sidefx.com/docs/hdk/class_v_o_p___exported_parms_manager.html
CC-MAIN-2018-26
en
refinedweb
I'm trying to write data into a cell, which has multiple line breaks (I believe \n), the resulting .xlsx has line breaks removed. Is there a way to keep these line breaks? In openpyxl you can set the wrap_text alignment property to wrap multi-line strings: from openpyxl import Workbook workbook = Workbook() worksheet =...
https://codedump.io/share/iet3As5TaOx1/1/writing-multi-line-strings-into-cells-using-openpyxl
CC-MAIN-2018-26
en
refinedweb
'Remote Object Client ' 'Compile: 'vbc /t:exe /r:system.dll /r:System.Runtime.Remoting.dll '/r:ServerInfoProxy.dll remoteclient.vb ' Imports System Imports ObjectServerSpace Public Class Client Public Shared Sub Main( ) Try Dim si As New ServerInfo( ) If Not (si Is Nothing) Then Console.WriteLine(si.MachineName) Conso...
https://flylib.com/books/en/1.106.1.74/1/
CC-MAIN-2018-26
en
refinedweb
How do I configure a default handler for exceptions that happen in my threads? Created May 7, 2012 John Zukowski The setUncaughtExceptionHandler() method of Thread, introduced in JDK 5.0, allows you to configure this behavior by letting you attach an implementation of Thread.UncaughtExceptionHandler. The interface offe...
http://www.jguru.com/print/faq/view.jsp?EID=1251276
CC-MAIN-2018-26
en
refinedweb
Hello! Friends, here we have a 40-questions core Java quiz online test prepared for you. It intends to grill you on the concept of Java Strings and how you use them in your programs. Java String is one of the commonly asked topics in all Java interviews, so this quiz is here to test your preparation level. With 40 ques...
http://www.techbeamers.com/core-java-quiz-online-test/
CC-MAIN-2018-26
en
refinedweb
Pluggable types with JAX-RS and Jersey By sandoz on Aug 03, 2007 JAX-RS and Jersey support a pluggable type system for the encoding/decoding of a Java type to/from an entity of an HTTP response/request. JAX-RS specifies a number of Java types to be supported by an implementation, such as String, InputStream and JAXB be...
https://blogs.oracle.com/sandoz/tags/pluggable
CC-MAIN-2016-26
en
refinedweb
>> One issue with updating for the iPhone 5 is that in order to do so you have to use the newest Xcode. Which means that you're also ditching support for anything older than the 3GS. This means that app developers have to decide if they want to add support for the slightly larger screen or provide backwards compatibili...
http://arstechnica.com/apple/2012/11/op-ed-where-are-all-the-iphone-5-app-updates/?comments=1&post=23488903
CC-MAIN-2016-26
en
refinedweb
Encode::Arabic::ArabTeX - Interpreter of the ArabTeX notation of Arabic $Revision: 717 $ $Date: 2008-10-03 00:28:12 +0200 (Fri, 03 Oct 2008) $ use Encode::Arabic::ArabTeX; # imports just like 'use Encode' would, plus extended options while ($line = <>) { # maps the ArabTeX notation for Arabic into the Arabic script pri...
http://search.cpan.org/~smrz/Encode-Arabic-1.8/lib/Encode/Arabic/ArabTeX.pm
CC-MAIN-2016-26
en
refinedweb
csParticleAux Struct Reference [Mesh plugins] Auxiliary data per particle, not used as often. More... #include <imesh/particles.h> Detailed Description Auxiliary data per particle, not used as often. Definition at line 218 of file particles.h. Member Data Documentation Current color value. Definition at line 223 of fil...
http://www.crystalspace3d.org/docs/online/api-1.4/structcsParticleAux.html
CC-MAIN-2016-26
en
refinedweb
Pages: 1 Hey, I installed compiz, but when I try to run "ccsm" I get: Info: No sexy-python package found, don't worry it's optional. Traceback (most recent call last): File "/usr/bin/ccsm", line 99, in <module> import compizconfig ImportError: No module named compizconfig I've been searching everywhere for the solution...
https://bbs.archlinux.org/viewtopic.php?pid=837174
CC-MAIN-2016-26
en
refinedweb
This is a copy of CONTRIBUTORS file for the Pthreads-win32 library, downloaded from Included here to compliment the Pthreads-win32 license header in wtf/ThreadingWin.cpp file. WebKit is using derived sources of ThreadCondition code from Pthreads-win32. -------------------------------------------------------------------...
http://opensource.apple.com/source/JavaScriptCore/JavaScriptCore-7533.18.1/wtf/CONTRIBUTORS.pthreads-win32
CC-MAIN-2016-26
en
refinedweb
/* * SQLManageDataSource.c * * $Id: SQLManageDataSource.c,v 1.13 2006/01/20 15:58:35 source Exp $ * * Add, modify or delete datasources * * <iodbcadm.h> #include "iodbc_error.h" #include "dlf.h" #if defined (__APPLE__) && !(defined (NO_FRAMEWORKS) || defined (_LP64)) #include <Carbon/Carbon.h> #endif #define CALL_ADMIN...
http://opensource.apple.com/source/iodbc/iodbc-37/iodbc/iodbcinst/SQLManageDataSource.c
CC-MAIN-2016-26
en
refinedweb
JSF portlet and Public Render Parameters By User13334247-Oracle on Oct 19, 2008 In this blog i will talk about the support for public render parameter (new feature that was added in Portlet 2.0 specification) in the JSF Portlet Bridge. In JSFPortletBridge version 1.2.3 an enhancement was added to keep track of request ...
https://blogs.oracle.com/deepakg/entry/jsf_portlet_and_public_render
CC-MAIN-2016-26
en
refinedweb
Pages: 1 This has been a problem for me for some time now, and I have yet to find a solution. It seems that when I try to run any python program that loads modules I get an ImportError: No module name xyz . If I set PYTHONPATH to the exact directory for module xyz it seems to solve the problem, however it seems to requ...
https://bbs.archlinux.org/viewtopic.php?pid=76004
CC-MAIN-2016-26
en
refinedweb
The following two commands tell generate-mapping to log in to MySQL, look at the data dictionary of the indicated databases, and generate the mapping files that let you issue SPARQL queries against the Eudora and Outlook databases (substitute your own MySQL username and password; also note that a carriage return was ad...
http://www.devx.com/semantic/Article/38700/0/page/2
CC-MAIN-2016-26
en
refinedweb
You can create a new fulfiller if your site requires fulfillment functionality different from that of the HardgoodFulfiller or ElectronicFulfiller that ship with ATG Commerce. For example, you could create a new fulfiller if your customers can purchase a research report. Instead of allocating this report from inventory...
http://docs.oracle.com/cd/E23095_01/Platform.93/ATGCommProgGuide/html/s1409creatinganewfulfiller01.html
CC-MAIN-2016-26
en
refinedweb
Filter::Simple - Simplified source filtering # in MyFilter.pm: package MyFilter; use Filter::Simple; FILTER { ... }; # or just: # # use Filter::Simple sub { ... }; # in user's code: use MyFilter; # this code is filtered no MyFilter; # this code is not Source filtering is an immensely powerful feature of recent versions...
http://search.cpan.org/~jhi/perl-5.8.0/lib/Filter/Simple.pm
CC-MAIN-2016-26
en
refinedweb
- Do not clear old code before compiling a Embperl page in Perl >= 5.14.x because it causes seg faults. This leads to "subroutine redifined" warings, when a page was changed and is reloaded. - Corrected use of G_KEEPERR when calling eval, because of changed meaning, which cause the message "Compiling error" instead of ...
http://search.cpan.org/~grichter/Embperl/Changes.pod
CC-MAIN-2016-26
en
refinedweb
IRC log of tagmem on 2003-04-07 Timestamps are in UTC. 18:57:17 [RRSAgent] RRSAgent has joined #tagmem 18:57:26 [Ian] zakim, this will be TAG 18:57:26 [Zakim] ok, Ian, I see TAG_Weekly()2:30PM already started 18:57:34 [Ian] zakim, dial Ian-BO 18:57:34 [Zakim] I am sorry, Ian; I do not know a number for Ian-BO 18:57:35 ...
http://www.w3.org/2003/04/07-tagmem-irc.html
CC-MAIN-2016-26
en
refinedweb
JAX London Spring 2011 Trip Report By arungupta on Apr 13, 2011 Sebastian Meyen, the chair of worldwide JAX Conference kick started JAX London 2011 with a very passionate opening session highlighting that JAX is all about Java, that they are comitted to Java, and not going to dilute the content. This is the 10th year o...
https://blogs.oracle.com/arungupta/tags/liferay
CC-MAIN-2016-26
en
refinedweb
Bio::Search::Result::HmmpfamResult - A parser and result object for hmmpfam results # generally we use Bio::SearchIO to build these objects use Bio::SearchIO; my $in = Bio::SearchIO->new(-format => 'hmmer_pull', -file => 'result.hmmer'); while (my $result = $in->next_result) { print $result->query_name, " ", $result->a...
http://search.cpan.org/~cjfields/BioPerl-1.6.922/Bio/Search/Result/HmmpfamResult.pm
CC-MAIN-2016-26
en
refinedweb
There are times we want to alter how a method is invoked without adding additional code into the method itself, either because the methods are a part of third party libraries or the additional code is out of place within the methods execution. It may be that we want to log the method calls, check for permissions or eve...
http://www.codeproject.com/Articles/43598/Emit-Proxy?fid=1551590&df=90&mpp=25&sort=Position&spc=Relaxed&tid=3265176
CC-MAIN-2016-26
en
refinedweb
During my investigation of the DateTime and TimeSpan classes, I faced the following question several times, and unfortunately, I didn't find an answer to it. DateTime TimeSpan How can I get the difference between two dates in number of days, weeks, months, and years? I tried to use the Subtract method of the DateTime c...
http://www.codeproject.com/Articles/44048/Calculate-Difference-Between-Two-Dates-in-Day-Week?fid=1552231&df=90&mpp=10&noise=1&prof=True&sort=Position&view=Expanded&spc=None
CC-MAIN-2016-26
en
refinedweb
Microsoft Silverlight, versions 3 and greater Silverlight managed programming model and Silverlight XAML This technique relates to: See User Agents Supported for general information on user agent support. The objective of this technique is to wrap the Silverlight Image class inside a UI container class that is focusabl...
http://www.w3.org/WAI/GL/2013/WD-WCAG20-TECHS-20130314/SL5
CC-MAIN-2016-26
en
refinedweb
Textures are basically a chuck of memory, often using R,G,B(,A) values with 8 bits per channel. Usually textures contain image data, but it is data, you can do with it whatever you want. In GLSL a texture is specified as a uniform variable. Textures have their own type, which is one of the following: 2D texture Table: ...
https://www.opengl.org/sdk/docs/tutorials/ClockworkCoders/texturing.php
CC-MAIN-2016-26
en
refinedweb
[ ] Frank Schwarz commented on OPENJPA-692: --------------------------------------- With latest changes in trunk the dissolution of associations seems to work, i.e. an SQL delete statement is now used instead of an SQL update-set-null statement. > Bi-directional One-to-Many mapping with a JoinTable fails for Update or ...
http://mail-archives.apache.org/mod_mbox/openjpa-dev/200808.mbox/%3C1690635848.1218523606164.JavaMail.jira@brutus%3E
CC-MAIN-2016-26
en
refinedweb
: diff -u nfs-utils-1.0.10/debian/changelog nfs-utils-1.0.10/debian/changelog --- nfs-utils-1.0.10/debian/changelog +++ nfs-utils-1.0.10/debian/changelog @@ -1,3 +1,24 @@ +nfs-utils (1:1.0.10-6) unstable; urgency=medium + + * Give --with-tcp-wrappers to configure; for some reason it stopped being + enabled by default i...
https://lists.debian.org/debian-release/2007/01/msg01205.html
CC-MAIN-2014-10
en
refinedweb
Hello Nicolas, Thank you, I can only speak on my behalf but I think its a very nice post. I have tried to get into haXe in the beginning and was thrilled but I was never able to get the companies I worked in to use haXe. I know that haXe has a lot of features that AS3 doesn't have. Particularly "using" is just plain aw...
http://mail-archives.apache.org/mod_mbox/incubator-flex-dev/201202.mbox/%3C4F44D30C.7010101@leichtgewicht.at%3E
CC-MAIN-2014-10
en
refinedweb
NAME rdma_disconnect - This function disconnects a connection. SYNOPSIS #include <rdma/rdma_cma.h> int rdma_disconnect (struct rdma_cm_id *id); ARGUMENTS id RDMA identifier. DESCRIPTION Disconnects a connection and transitions any associated QP to the error state, which will flush any posted work requests to the comple...
http://manpages.ubuntu.com/manpages/precise/man3/rdma_disconnect.3.html
CC-MAIN-2014-10
en
refinedweb
This application gives you some basic photo-sharing capability similar to Ofoto or Yahoo-photos. The advantage to rolling your own application is that you gain full control over the content and layout of your site (no popup ads!) and you can completely customize it to fit your needs. This article describes the applicat...
http://www.codeproject.com/Articles/4631/An-ASP-NET-Application-to-View-and-Share-Photos-On
CC-MAIN-2014-10
en
refinedweb
27 November 2012 13:29 [Source: ICIS news] HOUSTON (ICIS)--Jacobs has won a contract for work on a sulphur recovery unit (SRU) by ?xml:namespace> Jacobs said that the unit will be part of VKG’s investment to upgrade a shale oil refinery complex in Under the deal, Jacobs will license its technology and will provide the ...
http://www.icis.com/Articles/2012/11/27/9618686/us-jacobs-wins-contract-for-sulphur-recovery-unit-in.html
CC-MAIN-2014-10
en
refinedweb
Integrating Inneractive advertising in a LWUIT application integrate NAX in a Java app based on the LWUIT framework. Nokia Asha Nokia Asha Platform 1.0 Introduction Nokia Ad Exchange (NAX) offers an effective and easy-to-use advertising solution that helps developers to monetize their apps. This article illustrates how...
http://developer.nokia.com/community/wiki/Integrating_Inneractive_advertising_in_a_LWUIT_application
CC-MAIN-2014-10
en
refinedweb
index to the online programming tutorials. These programming tutorial links will help you... MySQL Database Tutorials Oracle Database Tutorials Structured... Jbuilder Tutorials JDBC Tutorials RMI Tutorials jdbc mysql - JDBC =DriverManager.getConnection("jdbc:mysql://localhost:3306/ram","root","root... be problem in you...
http://www.roseindia.net/tutorialhelp/comment/40832
CC-MAIN-2014-10
en
refinedweb
* I/O exception that can be thrown by an I/O reactor. Usually exceptions 34 * of this type are fatal and are not recoverable. 35 * 36 * @since 4.0 37 */ 38 public class IOReactorException extends IOException { 39 40 private static final long serialVersionUID = -4248110651729635749L; 41 42 public IOReactorException(fin...
http://hc.apache.org/httpcomponents-core-dev/httpcore-nio/xref/org/apache/http/nio/reactor/IOReactorException.html
CC-MAIN-2014-10
en
refinedweb
The QAxObject class provides a QObject that wraps a COM object. More... This class is part of the Qt ActiveQt Extension. #include <qaxobject.h> Inherits QObject and QAxBase. Inherited by QAxScriptEngine. List of all member functions. This class is defined in the Qt ActiveQt Extension, which can be found in the qt/exten...
http://idlebox.net/2007/apidocs/qt-x11-free-3.3.8.zip/qaxobject.html
CC-MAIN-2014-10
en
refinedweb
05 April 2011 10:59 [Source: ICIS news] (recasts, adding 'Al' to Al-Labban throughout) DUBAI (ICIS)--Saudi Arabia's Rabigh Refining and Petrochemical (Petro Rabigh) is likely to bring its Phase II expansion project on stream by 2015, Ziad al-Labban, the company's President and CEO, said on Tuesday. “The Phase II projec...
http://www.icis.com/Articles/2011/04/05/9449851/saudi-arabias-petro-rabigh-phase-ii-likely-to-be-up-in-2015-ceo.html
CC-MAIN-2014-10
en
refinedweb
john levon sun com wrote: > Avoid passing NULL to printf %s specifier This looks fine. Thanks! > diff --git a/src/internal.h b/src/internal.h > --- a/src/internal.h > +++ b/src/internal.h > @@ -115,6 +115,8 @@ > #define ATTRIBUTE_RETURN_CHECK > #endif /* __GNUC__ */ > > +#define NULLSTR(a) ((a) ? (a) : "(null)") Howeve...
http://www.redhat.com/archives/libvir-list/2009-January/msg00268.html
CC-MAIN-2014-10
en
refinedweb
. namespace SoftwareArchitects.Web { public class CachingHandler : IHttpHandler { public bool IsReusable { get { return true; } } public void ProcessRequest(HttpContext context) { ... } } } We want our http handler to send a file to the client. As we are listening to files with the paths *.gif.ashx, *.jpg.ashx and *.pn...
http://www.codeproject.com/Articles/22888/Caching-Images-in-ASP-NET?msg=2742777
CC-MAIN-2014-10
en
refinedweb
25 November 2008 17:32 [Source: ICIS news] TORONTO (ICIS news)--Dow Chemical has refiled the application for approval of its $18.8bn (€14.6bn) acquisition of Rohm and Haas with the European Commission, it said on Tuesday. ?xml:namespace> The refiling was prompted by technical issues, Dow spokesman David Winder told ICI...
http://www.icis.com/Articles/2008/11/25/9174492/dow-refiles-rohm-and-haas-acquisition-in-europe.html
CC-MAIN-2014-10
en
refinedweb
- Join Date - Nov 2008 - Location - San Diego, Peoples' Republic of California - 2,053 - Vote Rating - 17 TreeNode.attributes, Record.data, and every other object TreeNode.attributes, Record.data, and every other object TreeNode has .attributes where much of the initialConfig of the node is stored - things you add that...
http://www.sencha.com/forum/showthread.php?96832-TreeNode.attributes-Record.data-and-every-other-object&s=d52aceeb115ea8c4279b100c0d19ee5e&p=459675
CC-MAIN-2014-10
en
refinedweb
Difference between revisions of "User talk:JeffLane" Revision as of 22:30, 24 November 2008 - 23 Revert Archives Please don't edit the archives. Team Fortress 2: item_teamflag There has been an issue brought up here which drew my attention. My question would be that is there a not-in-FGD input which instantly returns t...
https://developer.valvesoftware.com/w/index.php?title=User_talk:JeffLane&diff=prev&oldid=86486
CC-MAIN-2020-24
en
refinedweb
Bulk you have to really know your SQL (well to do it in SQL). Let's say you have to read data from an RSS feed, parse it and then load it into SQL. Let's assume further that this feed updates every 2 hours. It would be a trivial task to write a C# app that reads and parses the feed. One crude way to upload this data wo...
https://docs.microsoft.com/en-us/archive/blogs/nikhilsi/bulk-insert-into-sql-from-c-app
CC-MAIN-2020-24
en
refinedweb
A map is a collection in Java which stores key value pairs. The keys of this must not be null and each key should point to only one value. It is represented by the Map interface of java.util package. There are various classes which provides implementation to this interface. The HashMap is a class which implements the M...
https://www.tutorialspoint.com/why-string-class-is-popular-key-in-a-hashmap-in-java
CC-MAIN-2020-24
en
refinedweb
Configuring the Microsoft System Center Configuration Manager actor adapter You can configure an adapter in BMC Atrium Orchestrator Grid Manager. The configuration determines how the adapter interacts with the Microsoft System Center Configuration Manager application. Although each adapter must have a unique name, use ...
https://docs.bmc.com/docs/AtriumOrchestratorContent/201701/configuring-the-microsoft-system-center-configuration-manager-actor-adapter-677774946.html
CC-MAIN-2020-24
en
refinedweb
I am using the lastest night build of Scala plugin and as far as I know this problem affects all the releases. The problem is wrong parameter info, can't give a right suggestion for method declaration. The code is like this: def render = bind( "chat", // the namespace for binding "line" -> lines _, // bind the function...
https://intellij-support.jetbrains.com/hc/en-us/community/posts/206001459-Wrong-Parameter-info-for-methods-
CC-MAIN-2020-24
en
refinedweb
#include <spawn.h> int posix_spawnattr_getflags(const posix_spawnattr_t *restrict attr, short *restrict flags); int posix_spawnattr_setflags(posix_spawnattr_t *attr, short flags);. Upon successful completion, posix_spawnattr_setflags() shall return zero; otherwise, an error number shall be returned to indicate the erro...
https://man.linuxreviews.org/man3p/posix_spawnattr_getflags.3p.html
CC-MAIN-2020-24
en
refinedweb
table of contents other versions - buster 5.0.20180306-3 - testing 5.0.20180306-3 - unstable 5.0.20180306-3 - experimental 5.0.20190303-1 NAME¶cdk_traverse - functions to support keyboard traversal SYNOPSIS¶cc [ flag ... ] file ... -lcdk [ library ... ] #include <cdk.h> CDKOBJS *getCDKFocusCurrent (CDKSCREEN *screen); ...
https://manpages.debian.org/experimental/libcdk5-dev/setCDKFocusNext.3.en.html
CC-MAIN-2020-24
en
refinedweb
Check object (poly) intersect I have a script (python): - Adds a sphere - Checks the spheres bounding box - Determines how many cubes would need to be drawn along X,Y,Z to stack cubes that cover the sphere I am trying to figure out how to remove all cubes that do not intersect with the Sphere? Thank you for any guidanc...
https://plugincafe.maxon.net/topic/11744/check-object-poly-intersect
CC-MAIN-2020-24
en
refinedweb
Language in C Interview Questions and Answers Ques 61. How do I use swab( ) in my program ? Ans. The function swab( ) swaps the adjacent bytes of memory. It copies the bytes from source string to the target string, provided that the number of characters in the source string is even. While copying, it swaps the bytes wh...
http://www.withoutbook.com/Technology.php?tech=11&page=13&subject=Interview%20Questions%20and%20Answers
CC-MAIN-2020-24
en
refinedweb
Largest Palindromic Number by Rearranging Digits Given N (very large), we need to find the largest palindromic number by rearranging digits. If it is not possible to print the largest palindromic number from N then, print "Palindrome not found" without double quotes. Examples: Input: N = 113223 Output: 321123 Input: N ...
https://iq.opengenus.org/largest-palindromic-number-by-rearranging-digits/
CC-MAIN-2020-24
en
refinedweb
Quick and dirty ORM that maps JSON:API responses to object attributes. Project description JSON:API ORM Quick and dirty ORM that maps JSON:API responses to object attributes. - Free software: BSD license - Documentation:. How To Use Requests or (if you are a masochist) Python’s built-in urllib modules to make the reque...
https://pypi.org/project/jsonapi-orm/
CC-MAIN-2020-24
en
refinedweb
Rod cutting problem Reading time: 25 minutes | Coding time: 5 minutes The problem statement is quite simple, given a rod of some length 'n' and the price associated with each piece of the rod, the rod has to be cut and sold.The process of cutting should be in such a way that the amount(revenue) obtained from selling is...
https://iq.opengenus.org/rod-cutting-problem/
CC-MAIN-2020-24
en
refinedweb
A python implementation of the whole-history-rating algorythm by Rémi Coulom (based on the ruby implementation at) Project description whole_history_rating a python convertion from the ruby implementation of Rémi Coulom's Whole-History Rating (WHR) algorithm. the original code can be found here Installation pip instal...
https://pypi.org/project/whole-history-rating/
CC-MAIN-2020-24
en
refinedweb
Ruby Issue Tracking System: Issues 2020-05-15T03:20:39Z Ruby Issue Tracking System Redmine Ruby master - Feature #16894 (Open): Integer division for Ruby 3 2020-05-15T03:20:39Z ankane (Andrew Kane) <p>Hi Ruby team,</p> <p>It'd be great if division in Ruby matched what we all learned in school.</p> <pre><code class="rub...
https://bugs.ruby-lang.org/issues.atom?assigned_to_id=13%7C3824&per_page=100&set_filter=1&sort=status%2Csubject%2Cproject
CC-MAIN-2020-24
en
refinedweb
- Overview - Specifying a BMP Entity Bean Following the pattern of Session beans, specifying an Entity bean involves defining the local-home and the local interface: The local-home interface extends javax.ejb.EJBLocalHome. The local interface extends javax.ejb.EJBLocalObject. A discussion on each of these interfaces fo...
https://www.informit.com/articles/article.aspx?p=26271&seqNum=7
CC-MAIN-2020-24
en
refinedweb
Setup import numpy as np import tensorflow as tf from tensorflow import keras from tensorflow.keras import layers tf.keras.backend.clear_session() # For easy reset of notebook state. Introduction The Keras functional API is a way to create models that is more flexible than the tf.keras.Sequential API. The functional AP...
https://tensorflow.google.cn/guide/keras/functional
CC-MAIN-2020-24
en
refinedweb
Hopefully someone can help me. I am new-ish to python/programming. I have a script which controls when another script gets called for an alarm system. Basically i want to call tryingToSpawn.py if two vars in a database are set. If two different vars are set I want to kill/terminate tryingToSpawn.py. But I am having pro...
https://www.raspberrypi.org/forums/viewtopic.php?p=1499271
CC-MAIN-2020-24
en
refinedweb
sys_un.h(0P) POSIX Programmer's Manual sys_un.h(0P) This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. sys/un.h — definitions for U...
http://man7.org/linux/man-pages/man0/sys_un.h.0p.html
CC-MAIN-2017-47
en
refinedweb
This is one of the 100 recipes of the IPython Cookbook, the definitive guide to high-performance scientific computing and data science in Python. Let's import NumPy and Numexpr. import numpy as np import numexpr as ne We generate three large vectors. x, y, z = np.random.rand(3, 1000000) Now, we evaluate the time taken ...
http://nbviewer.jupyter.org/github/ipython-books/cookbook-code/blob/master/notebooks/chapter05_hpc/02_numexpr.ipynb
CC-MAIN-2017-47
en
refinedweb
Java.io.File.createNewFile() Method Description The java.io.File.createNewFile() method atomically creates a new file named by this abstract path name. FileLock facility should be used instead of this method for file-locking as the resulting protocol cannot be made to work reliably. Declaration Following is the declara...
http://www.tutorialspoint.com/java/io/file_createnewfile.htm
CC-MAIN-2017-47
en
refinedweb
This is one of the 100 recipes of the IPython Cookbook, the definitive guide to high-performance scientific computing and data science in Python. You need to download the Tennis dataset on the book's website, and extract it in the current directory. () import numpy as np import pandas as pd import scipy.stats as st imp...
http://nbviewer.jupyter.org/github/ipython-books/cookbook-code/blob/master/notebooks/chapter07_stats/04_correlation.ipynb
CC-MAIN-2017-47
en
refinedweb
This is one of the 100 recipes of the IPython Cookbook, the definitive guide to high-performance scientific computing and data science in Python. import numpy as np import matplotlib.pyplot as plt import skimage import skimage.feature as sf import matplotlib as mpl %matplotlib inline def show(img, cmap=None): cmap = cm...
http://nbviewer.jupyter.org/github/ipython-books/cookbook-code/blob/master/notebooks/chapter11_image/04_interest.ipynb
CC-MAIN-2017-47
en
refinedweb
This is one of the 100 recipes of the IPython Cookbook, the definitive guide to high-performance scientific computing and data science in Python. Standard imports. import numpy as np import matplotlib.pyplot as plt %matplotlib inline This function generates an array with random, uniformly distributed +1 and -1. def ste...
http://nbviewer.jupyter.org/github/ipython-books/cookbook-code/blob/master/notebooks/chapter04_optimization/02_profile.ipynb
CC-MAIN-2017-47
en
refinedweb
This is one of the 100 recipes of the IPython Cookbook, the definitive guide to high-performance scientific computing and data science in Python. First, we launch 4 IPython engines with ipcluster start -n 4 in a console. Then, we create a client that will act as a proxy to the IPython engines. The client automatically ...
http://nbviewer.jupyter.org/github/ipython-books/cookbook-code/blob/master/notebooks/chapter05_hpc/09_ipyparallel.ipynb
CC-MAIN-2017-47
en
refinedweb
IRVINE, Calif.--(BUSINESS WIRE)--Toshiba America Electronic Components, Inc. (TAEC), a committed technology leader, today unveiled software technology essential to enabling deployment of NVMe-oF™ (NVM Express® over Fabrics)2. This sophisticated software stack deploys on storage servers, and provides critical solid stat...
http://www.businesswire.com/news/home/20170807005151/en/Toshiba-Announces-NVMe-Fabrics-Software-Technology-Cloud
CC-MAIN-2017-47
en
refinedweb
I'm working on an application whose workflow is managed by passing messages in SQS, using boto. My SQS queue is growing gradually, and I have no way to check how many elements it is supposed to contain. Now I have a daemon that periodically polls the queue, and checks if i have a fixed-size set of elements. For example...
https://codedump.io/share/JUsRH12cidKF/1/how-to-get-all-messages-in-amazon-sqs-queue-using-boto-library-in-python
CC-MAIN-2017-47
en
refinedweb
I am not sure whether this matters, but I notice that you don't ever read anything from the ethernet client. I wonder what the library does when the buffer is full. It's a longshot, but you might consider reading what it has received, even if you just throw it away. I will try out using client.flush() every time I make...
http://forum.arduino.cc/index.php?topic=109623.0;prev_next=next
CC-MAIN-2015-11
en
refinedweb
Quickstart: Receiving shared content (XAML) [This article is for Windows 8.x and Windows Phone 8.x developers writing Windows Runtime apps. If you’re developing for Windows 10, see the latest documentation] This Quickstart walks you through the steps required to receive shared content from another app. Objective: To le...
https://docs.microsoft.com/en-us/previous-versions/windows/apps/hh871367(v=win.10)?redirectedfrom=MSDN
CC-MAIN-2019-43
en
refinedweb
Image Processing On The SBC Short guide on setting up OpenCV, and writing a small program that detects red objects in an image by Brian installed with minimal difficulty. Note that many image processing applications are extremely computationally intense and may be too much for the SBC to handle. This makes it important...
https://www.phidgets.com/?view=articles&article=ImageProcessingOnSBC
CC-MAIN-2019-43
en
refinedweb
Magnum User Guide¶ This. Overview¶:. Cluster¶. Infrastructure¶. - Magnum Troubleshooting Guide. Create¶: - >. - –timeout <timeout> The timeout for cluster creation in minutes. The value expected is a positive integer and the default is 60 minutes. If the timeout is reached during cluster-create, the operation will be a...
https://docs.openstack.org/magnum/latest/user/
CC-MAIN-2019-43
en
refinedweb
#include "cjkpitch.h" #include "genericvector.h" #include "ndminx.h" #include "topitch.h" #include "tovars.h" Go to the source code of this file. Definition at line 1057 of file cjkpitch.cpp. "If true, word delimiter spaces are assumed to have " "variable width, even though characters have fixed pitch." Definition at l...
https://fossies.org/linux/tesseract-ocr-doc-html/doc/html/cjkpitch_8cpp.html?m=b
CC-MAIN-2019-43
en
refinedweb
Hi, First time posting in the forum so please excuse any odd formatting. I wonder if anyone could help me with a problem. I created a custom factor called LastTwelveQuarters(...), inspired by Jamie McCorriston where I get the 12 latest quarters of e.g. revenue. I want to take these 12 latest quarters to do as following...
https://www.quantopian.com/posts/standard-deviation-slash-computation-on-results-from-custom-factor
CC-MAIN-2019-43
en
refinedweb
Tech developing Windows applications, as well as OS X and the many flavors of UNIX/Linux. What is Mono? Mono is based on the fact that the C# language and the CLI (Command Language Infrastructure) have been accepted as standards by ECMA. The Mono libraries include .NET compatibility libraries (including ADO.NET, System...
http://www.techrepublic.com/article/take-the-open-source-development-plunge-with-mono/
CC-MAIN-2017-34
en
refinedweb
I am not entirely understanding these. Can somebody make a simple example for me? I am not entirely understanding these. Can somebody make a simple example for me? Thank you, but I have already done that. I'll show you what I tryed to do. Please note that I have it read strings. I just forgot how to do that. Its in my ...
https://cboard.cprogramming.com/cplusplus-programming/95364-help-w-classes-functions.html
CC-MAIN-2017-34
en
refinedweb
Acadian Asset Management (Australia) Investment Funds Issued 28 August 2009 Issued by Colonial First State Investments Limited ABN 98 002 348 352 AFS Licence 232468 Product Disclosure Statement This Product Disclosure Statement is only for use by investors investing through a master trust, IDPS or wrap account. This is...
https://www.techylib.com/en/view/boliviahonorable/acadian_asset_management_australia_investment_funds
CC-MAIN-2017-34
en
refinedweb
The Adoption Program Insights series describes experiences of Microsoft Services consultants involved in the Windows Azure Technology Adoption Program assisting customers deploy solutions on the Windows Azure platform. This post is by Tom Hollander. Many developers choose to use service oriented techniques to break lar...
https://azure.microsoft.com/fr-fr/blog/hosting-services-with-was-and-iis-on-windows-azure/
CC-MAIN-2017-34
en
refinedweb
SPChange class Represents a change that has been made to a SharePoint object within the scope of an item, list, Web site, site collection, or content database, or to a security policy within the scope of a Web application. Microsoft.SharePoint.SPChange Namespace: Microsoft.SharePointNamespace: Microsoft.SharePoint Asse...
https://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spchange.aspx
CC-MAIN-2017-34
en
refinedweb
"ducks = birds[0]" should actually read "ducks = families[0]". I'd edit the post directly but itch.io's post edit feature messes up code pretty badly rmrenner Book Recent community posts "ducks = birds[0]" should actually read "ducks = families[0]". I'd edit the post directly but itch.io's post edit feature messes up c...
https://itch.io/profile/rmrenner
CC-MAIN-2017-34
en
refinedweb
This article is aimed towards demonstrating various features of the .NET framework to build a very simple tool to analyze various activities on a web site. This tool will ultimately provide complete web log analysis. But for starters we have focused mainly on reporting the various kinds of browsers that are being used ...
https://www.codeproject.com/Articles/1774/Web-Log-Analysis-Tool-Using-ASP-Net-and-Csharp
CC-MAIN-2017-34
en
refinedweb
I'm reviewing a piece of code I wrote not too long ago, and I just hate the way I handled the sorting - I'm wondering if anyone might be able to show me a better way. I have a class, Holding, which contains some information. I have another class, HoldingsList, which contains a List<Holding> member. I also have an enum,...
http://ansaurus.com/question/3141285-looking-for-a-better-way-to-sort-my-list
CC-MAIN-2017-34
en
refinedweb
Just want the component? Find it at GitHub Possibly the most frequently re-implemented code across any React component is that used to pass properties through to child components. This stems from the fact that you generally need some sort of input to make the component useful, while you don’t want these component-speci...
http://jamesknelson.com/building-a-property-passthrough-higher-order-component-for-react/
CC-MAIN-2017-34
en
refinedweb
One of the new features that we have added in Visual Studio Team System 2010 is the ability to create a new UML Sequence Diagram as well as generate one from existing code. I'm not going to go into too much detail on what a UML sequence diagram is since there is a plethora of information about the subject on Wikipedia....
http://blogs.msdn.com/b/habibh/archive/2009/07/29/use-uml-sequence-diagrams-in-team-system-2010-to-reverse-engineer-your-code.aspx
CC-MAIN-2015-11
en
refinedweb
25 March 2013 19:49 [Source: ICIS news] SAN ANTONIO, Texas (ICIS)--Tall oil fatty acid (TOFA) supply is expected to tighten during the next several months, as feedstock crude tall oil (CTO) stocks in the US may shorten, industry participants said on Monday. Speaking on the sidelines of the International Petrochemical C...
http://www.icis.com/Articles/2013/03/25/9653218/afpm-13-tall-oil-fatty-acid-supply-to-tighten-on-feedstock.html
CC-MAIN-2015-11
en
refinedweb
- Author: - ekellner - Posted: - August 28, 2008 - Language: - Python - Version: - .96 - admin field widget readonly modelchoicefield - Score: - 6 (after 6 ratings) This replaces the html select box for a foreign key field with a link to that object's own admin page. The foreign key field (obviously) is readonly. This ...
https://djangosnippets.org/snippets/1008/
CC-MAIN-2015-11
en
refinedweb
application. Applications. access control The ability of a system to grant or limit access to specific data for specific clients or groups of clients. attribute.. central directory In an Oracle Directory Integration and Provisioning environment, the directory that acts as the central repository. In an Oracle Directory ...
http://docs.oracle.com/cd/B25553_01/collab.1012/b25490/glossary.htm
CC-MAIN-2015-11
en
refinedweb
hi, im new to java and to this site so it's good to meet u all ok now with my problem, the problem is that i need to set u a add coin system which seems simple but my problem is i have to do it using 2 classes a money class which has the code and then a gui with the buton and a text box on but i dont know what to put o...
http://www.javaprogrammingforums.com/object-oriented-programming/352-java-program-using-two-classes.html
CC-MAIN-2015-11
en
refinedweb
Hi all, I'm just getting started with Java and created a simple app. Please see the code and the output. Where did I go wrong? Do I need to set the variable of "display" on top of the input? Why is the input not being stored as a variable? import java.util.Scanner; public class UserInput { public static void main (Stri...
http://www.javaprogrammingforums.com/whats-wrong-my-code/29852-newbie-question-print-out-strings-input.html
CC-MAIN-2015-11
en
refinedweb
sec_login_become_impersonator- Causes an intermediate server to become a delegate in a simple delegation chain #include <dce/sec_login.h> sec_login_handle_t sec_login_become_impersonator ( rpc_authz_cred_handle_t callers_identity, sec_id_delegation_type_t delegation_type_permitted, sec_id_restriction_set_t *delegate_re...
http://pubs.opengroup.org/onlinepubs/9696989899/sec_login_become_impersonator.htm
CC-MAIN-2015-11
en
refinedweb
Code Focused ASP.NET Web API allows you to write a service once and provide different output formats with little effort on the developer's side. ASP.NET Web API is a new framework technology from Microsoft, due for release with the .NET Framework 4.5. It allows a single Web service to communicate with multiple clients ...
http://visualstudiomagazine.com/articles/2012/06/13/creating-an-http-service-with-web-api.aspx
CC-MAIN-2015-11
en
refinedweb
#include <LiquidCrystal.h> LiquidCrystal lcd(10, 11, 12, 13, 14, 15, 16); int n = 0; void setup() { lcd.clear();//clears lcd.print("Ozbolt is GAY"); lcd.setCursor(0,1); lcd.print("not really");} void loop() {} Thanks guys this was much help. It is working now. the display works according to the program but it is very u...
http://forum.arduino.cc/index.php?topic=53952.msg1160165
CC-MAIN-2015-11
en
refinedweb
std::vector::resize From cppreference.com Resizes the container to contain count elements. If the current size is greater than count, the container is reduced to its first count elements as if by repeatedly calling pop_back(). [edit] Parameters [edit] Return value (none) [edit] Complexity Linear in the size of the cont...
http://en.cppreference.com/w/cpp/container/vector/resize
CC-MAIN-2015-11
en
refinedweb
In the future please give complete concise details of how your apps are deployed. I'm guessing that you would say that you have two geronimo instances running, either on the same machine or separate machines, and that your ejb jar is deployed on one of the geronimo instances and the war on the other geronimo instance. ...
http://mail-archives.apache.org/mod_mbox/geronimo-user/200801.mbox/raw/%3CB6C8A0DE-EF77-4D3E-A259-324B173E4D64@yahoo.com%3E/
CC-MAIN-2015-11
en
refinedweb
29 March 2012 15:31 [Source: ICIS news] LONDON (ICIS)--The European ethylene contract price for April is fully confirmed at €1,345/tonne ($1,793/tonne), up by €40/tonne from March, on the back of firm naphtha costs, market sources said on Thursday. The 3% increase took European contract ethylene to its second record hi...
http://www.icis.com/Articles/2012/03/29/9546056/europe-april-ethylene-fully-settled-at-1345tonne-fd-nwe.html
CC-MAIN-2015-11
en
refinedweb
DateField getValue() vs getCurrentValue() javadoc improvement suggestion. DateField getValue() vs getCurrentValue() javadoc improvement suggestion. Required Information Version(s) of GXT - GXT 3.0.1 Javadoc for getValue() : Gets this object's value. Specified by: getValue() in HasValue, getValue() in TakesValue Returns...
http://www.sencha.com/forum/showthread.php?250765-DateField-getValue()-vs-getCurrentValue()-javadoc-improvement-suggestion.&p=918326&viewfull=1
CC-MAIN-2015-11
en
refinedweb
10 November 2010 10:36 [Source: ICIS news] (adds additional sales figures and quotes from chairman throughout) LONDON (ICIS)--LANXESS reported a third-quarter net profit of €118m ($164m), a sharp increase from €23m in the same period last year, due to strong demand for its synthetic rubber and high-tech plastics, Axel ...
http://www.icis.com/Articles/2010/11/10/9408830/lanxess-q3-net-profit-surges-to-118m-on-strong-demand.html
CC-MAIN-2015-11
en
refinedweb
Name | Synopsis | Description | Return Values | Errors | Attributes | See Also #include <crypt.h> char *crypt_genhash_impl(char *ctbuffer, size_t ctbufflen, const char *plaintext, const char *salt, const char **params); The crypt_genhash_impl() elements of params represent strings of the form <parameter>[=<value>] to a...
http://docs.oracle.com/cd/E19082-01/819-2243/6n4i098s5/index.html
CC-MAIN-2015-11
en
refinedweb
MFA Financial, Inc. Announces Third Quarter 2013 Financial Results PR Newswire NEW YORK, Nov. 4, 2013 NEW YORK, Nov. 4, 2013 /PRNewswire/ --MFA Financial, Inc. (NYSE:MFA) today announced financial results for the third quarter ended September 30, 2013. Third Quarter 2013 and other highlights: oThird quarter net income ...
http://www.bloomberg.com/article/2013-11-04/aQTRf6zUg2v4.html
CC-MAIN-2015-11
en
refinedweb