text
stringlengths
20
1.01M
url
stringlengths
14
1.25k
dump
stringlengths
9
15
⌀
lang
stringclasses
4 values
source
stringclasses
4 values
Block pop-ups when loading external content Block pop-ups using HTML on embedded pages and enjoy streaming movies on your smart TV. We can split and stream our audio or video content. Thanks to the Media Source Extensions API, we can download and add to buffer only part of the media or load bits by bits the whole file....
https://pantaley.com/blog/Handle-HTTP-range-requests-with-status-code-206-Partial-Content/
CC-MAIN-2020-29
en
refinedweb
read — binary input SYNOPSIS #include <stdio.h> size_t fread.(). RETURN VALUE. ERRORS Refer to fgetc(). The following sections are informative. EXAMPLES)-1.. APPLICATION USAGE. RATIONALE None. FUTURE DIRECTIONS None. SEE ALSO Section 2.5, Standard I/O Streams, feof(), ferror(), fgetc(), fopen(), fscanf(), getc(), gets(...
https://reposcope.com/man/en/3p/fread
CC-MAIN-2020-29
en
refinedweb
Convenience API¶ With Toyplot, a figure always consists of three parts: - A canvas - One or more sets of coordinate systemsadded to the canvas. - One or more marksadded to the axes. Creating these entities separately gives you the maximum flexibility, allowing you to add multiple (even overlapping) coordinate systems t...
https://toyplot.readthedocs.io/en/latest/convenience-api.html
CC-MAIN-2020-29
en
refinedweb
While working in an academic research lab, I was often tasked with generating figures for myself or colleagues for use in publications and presentations. In looking for an alternative to the unwieldy Excel and the rather sterile GraphPad, I came upon Python's popular plotting library matplotlib. Not only is matplotlib ...
https://jonchar.net/notebooks/matplotlib-styling/
CC-MAIN-2020-29
en
refinedweb
Callback Sample This sample demonstrates how to pass delegates to an unmanaged function expecting function pointers. A delegate is a class that can hold a reference to a method and is equivalent to a type-safe function pointer or a callback function. The Callback sample uses the following unmanaged functions, shown wit...
http://msdn.microsoft.com/en-us/library/5zwkzwf4
crawl-003
en
refinedweb
Upgrade your MVC 1 app to MVC 2. First remove all references from your projects to the MVC 1 dll and replace it with the MVC 2 dll. Now update your web.config file in your web app root folder by simply changing references to assembly="System.Web.Mvc, Version 1.0.0.0 to Version 2.0.0.0, there are a couple of references ...
http://geekswithblogs.net/renso/archive/2010/12/30/upgarde-from-asp.net-mvc-1-to-mvc-2---how.aspx
crawl-003
en
refinedweb
namespaces using System.Security.Permissions; using System.Security.Principal; Add the below two functions UseAppPoolIdentity()ReturnToImpersonatingCurrentUser() Please call the function UseAppPoolIdentity() where ever you want to impersonate the user with admin rights. When you finished with admin privileged operatio...
http://www.c-sharpcorner.com/uploadfile/Roji.Joy/impersonation-in-sharepoint/
crawl-003
en
refinedweb
In my last posting about code contracts I introduced you how to force code contracts to classes through interfaces. In this posting I will go step further and I will show you how code contracts work in the case of inherited classes. As a first thing let’s take a look at my interface and code contracts. [ContractClass(t...
http://weblogs.asp.net/gunnarpeipman/archive/2010/05/12/code-contracts-and-inheritance.aspx?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+gunnarpeipman+%28Gunnar+Peipman%27s+ASP.NET+blog%29
crawl-003
en
refinedweb
ASP><p> <%= ViewModel.ProductDescription %></p> User can see besides other stuff the fragment like. ViewModel property of Controller is great addition to ASP.NET MVC and it makes our code and views more readable. Instead of using ViewData or strongly typed views we can use ViewModel to form our model objects dynamicall...
http://weblogs.asp.net/gunnarpeipman/archive/2010/07/27/asp-net-mvc-3-new-viewmodel-is-dynamic-viewdata.aspx?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+gunnarpeipman+%28Gunnar+Peipman%27s+ASP.NET+blog%29
crawl-003
en
refinedweb
This blog has personalition features for you, the reader. Below is a key of what all the icons mean and which aspects of the layout they change. Close Window MVVM == Model View ViewModel Pattern is a MUST follow pattern in Silverlight (WPF). here is why… Problems it solves: •Tight coupling of layers (ex a query in the ...
http://geekswithblogs.net/subodhnpushpak/archive/2009/09/18/silverlight-3.0-ria-services-and-mvvm.aspx
crawl-003
en
refinedweb
1 package org.tigris.scarab.test.mocks;2 3 /* ================================================================4 * Copyright (c) 2000-2003Net <>.NetNet.47 */ 48 49 import org.tigris.scarab.om.Issue;50 import org.tigris.scarab.util.ScarabLink;51 52 /**53 * @author Eric Pugh54 *55 * TODO To change the template for this ge...
http://kickjava.com/src/org/tigris/scarab/test/mocks/MockScarabLink.java.htm
CC-MAIN-2016-50
en
refinedweb
Given a string S and a string T, count the number of distinct subsequences of T in S. A subsequence of a string is a new string which is formed from the original string by deleting some (can be none) of the characters without disturbing the relative positions of the remaining characters. (ie, “ACE” is a subsequence of ...
http://www.crazyforcode.com/distinct-subsequences/
CC-MAIN-2016-50
en
refinedweb
import java.text.NumberFormat; /** * @author Alfons Jose Pineda-Knauseder * @version 1.0.0 * *This class can be used to represent any products and their information. */ public class Product { private String code; private String description; private double price; public Product() { this("", "", 0); } /** * @param code T...
http://www.dreamincode.net/forums/topic/347105-i-need-assistance-with-javadoc/
CC-MAIN-2016-50
en
refinedweb
Content All Articles Python News Numerically Python Python & XML Community Database Distributed Education Getting Started Graphics Internet OS Programming Scientific Tools Tutorials User Interfaces ONLamp Subjects Linux Apache MySQL Perl PHP Python BSD Profiling and Optimizing Python Pages: 1, 2, 3). ncalls tottime per...
http://www.onlamp.com/pub/a/python/2005/12/15/profiling.html?page=2
CC-MAIN-2016-50
en
refinedweb
Table of Contents - (for Trac 0.11) now supports the following features: - API for extensions to allow watching of content generated by other plugins. - Allow users to use wildcards in wiki/ticket add input field, e.g. "Trac*" should add all wikis starting with Trac. - "Delete Wiki/Ticket" input field on watchlist. - U...
https://trac-hacks.org/wiki/WatchlistPlugin?version=42
CC-MAIN-2016-50
en
refinedweb
What specifically is happening? Does it fail to compile? Does it freeze or crash? Does the initial "Enter a number" prompt print? Regarding cin.get() , that is specifically for reading in a single character, which you don't seem to be doing anywhere here. In what way did it fail when you tried to use it? How is that su...
https://www.daniweb.com/programming/software-development/threads/399689/factorial
CC-MAIN-2016-50
en
refinedweb
WebReference.com - Scalable Vector Graphics: The Art is in the Code (2/8) SVG: The Art is in the Code What is SVG? Essentially, SVG is a bridge between design and programming because unlike traditional methods of creating graphics, graphics in SVG are created through a programming language. This programming language is...
http://www.webreference.com/authoring/languages/svg/intro/2.html
CC-MAIN-2016-50
en
refinedweb
Opened 3 years ago Closed 3 years ago Last modified 2 years ago #21584 closed Uncategorized (invalid) prefetch_related child queryset does not update on create Description When a child foreign key relationship has been prefetched, calling the .create method on the queryset does not update the queryset. I've reproduced ...
https://code.djangoproject.com/ticket/21584
CC-MAIN-2016-50
en
refinedweb
I have a class called Tile which represents a tile in a game. In my main screen, I have a loop that draws the tiles on the user's screen. I want to turn each of these tiles into their own objects. I need to store the data for each tile(coordinates, etc) in an array so that I can access them later. I also need to store ...
https://codedump.io/share/rPLaMs50wUP7/1/how-can-i-store-an-array-of-objects-in-a-class-property-in-java
CC-MAIN-2016-50
en
refinedweb
Hello, I have been fighting with this assignment for almost 3 week now and it's almost ready besides one part that I simply don't understand. I would appreciate if someone could maybe translate it into "simple English" for me and maybe give me a little guidance. Basically we are writting a small train track simulation ...
https://www.daniweb.com/programming/software-development/threads/192097/confused-with-threads-help-with-a-homework
CC-MAIN-2016-50
en
refinedweb
So I'm trying to make a program that randomly places my mouse in specific areas in python, and I'm still testing it so it can get a bit crazy. I was wondering if it were possible to make a fail safe command that would terminate the program if the key or command were entered. Since the program is clicking and moving aro...
https://codedump.io/share/NhPsDPoYMAT6/1/how-do-i-have-a-fail-safe-command-in-python
CC-MAIN-2016-50
en
refinedweb
Cannot modify dial-in permissions for computers that use wireless networking This article was previously published under Q306260 This article has been archived. It is offered "as is" and will no longer be updated. When you run administrative tasks on a Windows 2000-based domain where computers use 802.1x wireless netwo...
https://support.microsoft.com/en-us/kb/306260
CC-MAIN-2016-50
en
refinedweb
Re: mmap for I/O access - From: Albert van der Horst <albert@xxxxxxxxxxxxxxxxxx> - Date: 15 Jan 2008 21:04:59 GMT In article <478286ac.198578@xxxxxxxxxxxxxxxxxxxxxx>, Robert Scott <---@---> wrote: My call to mmap is causing a Segmentation fault. Is this the right way to do it? I have some general-purpose I/O on this Em...
http://linux.derkeiler.com/Newsgroups/comp.os.linux.embedded/2008-01/msg00085.html
CC-MAIN-2016-50
en
refinedweb
c# constructors interview questions and answers paper 193 - skillgunNote: Paper virtual numbers may be different from actual paper numbers . In the page numbers section website displaying virtual numbers . What is the output of the following code? public class A { public A(int x) { } } public class B:A { public B(int y...
http://skillgun.com/csharp/constructors/interview-questions-and-answers/paper/193
CC-MAIN-2016-50
en
refinedweb
dpns_aborttrans - abort a transaction #include <sys/types.h> #include "dpns_api.h" int dpns_aborttrans (void) dpns_aborttrans aborts a transaction. A ROLLBACK is executed for all updates done since dpns_starttrans._endtrans(3), dpns_starttrans(3)
http://huge-man-linux.net/man3/dpns_aborttrans.html
CC-MAIN-2018-05
en
refinedweb
MatchCollection.Count Property Gets the number of matches. Assembly: System (in System.dll) Property ValueType: System.Int32 The number of matches. ImplementsICollection.Count Accessing individual members of the MatchCollection object by retrieving the value of the collection's Count property causes the regular express...
https://msdn.microsoft.com/en-us/library/system.text.regularexpressions.matchcollection.count(v=vs.110).aspx
CC-MAIN-2018-05
en
refinedweb
The problem is that you have a mix of rc2 and rc3 libs in your classpath, and this is because org.codehaus.mojo:gwt-maven-plugin itself brings GWT dependencies (with the same version as the plugin, as a convention). See; or use rc3 of the plugin too. Advertising On Thursday, October 13, 2016 at 6:42:31 PM UTC+2, Teleti...
https://www.mail-archive.com/google-web-toolkit@googlegroups.com/msg103617.html
CC-MAIN-2018-05
en
refinedweb
This is a continuation of my previous question. So far this what I have...the for loop finds the length of the string but I don't understand how to write the function that will pass the array. #include <stdio.h> #include <stdlib.h> main() { int i; char a[]; char b[]; for ( i = 0; a[i] != '\0'; i++ ); return i;
https://cboard.cprogramming.com/cplusplus-programming/3848-cont.html
CC-MAIN-2018-05
en
refinedweb
I would probably consider this an O(n) space solution since it is recursive and uses the stack as space. I just kind of did this for fun but it turned out it is quite short and easy to understand. Basically, it passes the first element down the recursion stack until hitting the last element, it then increments the firs...
https://discuss.leetcode.com/topic/45509/java-recursive-o-n-time-o-n-space-if-you-consider-the-recursive-stack-o-1-otherwise-solution
CC-MAIN-2018-05
en
refinedweb
SageMath 8.0 using Windows installer I have installed SageMath 8.0 on Windows 10 as the following instruction. wiki.sagemath.org/SageWindows Everything ᅟ seemed to work well first, but I got an error message as follows. sage: 1+1 2 sage: plot(sin(x)) /opt/sagemath-8.0/local/lib/python2.7/site-packages/sage/repl/rich_ou...
https://ask.sagemath.org/question/40131/sagemath-80-using-windows-installer/
CC-MAIN-2018-05
en
refinedweb
On a Spring-Hibernate project I’m working on we use a custom way of filling and clearing specific database tables in unit tests. Yes, something like DbUnit but ofcourse completely hand-made, tailored to our situation 🙂 In a TestNG testcase we do something like this: @BeforeMethod public void setUp() { DatabaseFiller.f...
https://tedvinke.wordpress.com/2010/12/16/hibernate-class-metadata-through-spring/
CC-MAIN-2018-05
en
refinedweb
Text::CSV::Separator - Determine the field separator of a CSV file Version 0.20 - November 2, 2008 use Text::CSV::Separator qw(get_separator); my @char_list = get_separator( path => $csv_path, exclude => $array1_ref, # optional include => $array2_ref, # optional echo => 1, # optional ); my $separator; if (@char_list) {...
http://search.cpan.org/~enell/Text-CSV-Separator-0.20/lib/Text/CSV/Separator.pm
CC-MAIN-2018-05
en
refinedweb
} } This uses either grails.converters.XML or grails.converters.deep.XML, but doesn’t include my Book’s own defined getFormattedTitle() method in the output on the place that I want, so I needed to adjust things and list the properties myself: def book = { if(params.id && Book.exists(params.id)) { def b = Book.get(par...
https://tedvinke.wordpress.com/2009/03/14/curried-closures-xml-markup/
CC-MAIN-2018-05
en
refinedweb
. A second problem I talked about is the single thread breakdown. In a servlet container like Tomcat this is mitigated using a threadpool to service clients, but if a single request represents a large job it is wasteful to run that in a single thread. For more expensive service invocations you need to divide the work. ...
http://spring.io/blog/2009/06/23/messaging-meets-osgi-at-osgi-devcon-europe/
CC-MAIN-2018-05
en
refinedweb
Sometimes some of us want to narrow encoding of an output XML document, while to preserve data fidelity. E.g. you transform some XML source with arbitrary Unicode text into another format and you need the resulting XML document to be ASCII encoded (don't ask me why). Here is fast and simple solution for that problem. O...
http://www.tkachenko.com/blog/archives/000266.html
CC-MAIN-2018-05
en
refinedweb
Hi, Regular Expressions (Regex for short) are nice but their computation can take time. You can reduce that time by using precompiled patterns. That's what I did in this version. import java.util.regex.*; public class Solution { private static final Pattern IPV4 = Pattern.compile("(([1-9]|1\\d|2[0-4])?\\d|25[0-5])(\\.(...
https://discuss.leetcode.com/topic/75335/java-regex-with-pattern-matcher
CC-MAIN-2018-05
en
refinedweb
On 11/07/2011 02:21 PM, Robby Pelssers wrote: > Hi Andre, > > Are you sure these @Path annotations are correct? > > In your sitemap you specify the pattern "create/image/creator/*" Hi Robby, I think you are looking at the wrong email. The code you are referring to is from a different email posted last week concerning a...
http://mail-archives.apache.org/mod_mbox/cocoon-users/201111.mbox/%3C4EB7D541.8000600@cc.oulu.fi%3E
CC-MAIN-2018-05
en
refinedweb
IRC log of css on 2009-04-15 Timestamps are in UTC. 15:57:31 [RRSAgent] RRSAgent has joined #css 15:57:31 [RRSAgent] logging to 15:57:36 [fantasai] Bert, the proposal was to copy wording directly from dev.w3.org/csswg/css3-background 15:57:42 [dbaron] dbaron has joined #css 15:57:48 [glazou] Zakim, this will be Style 1...
http://www.w3.org/2009/04/15-css-irc
CC-MAIN-2018-05
en
refinedweb
Felgo Multiplayer is officially released. Following its successful beta release, you can now access Felgo Multiplayer when you update Felgo – even as a free user. This new feature can be integrated into your game with less than 100 lines of code! Felgo Multiplayer allows you to create real-time and turn-based multiplay...
https://felgo.com/mobile-game-development/felgo-multiplayer
CC-MAIN-2019-39
en
refinedweb
356 [details] Sample forms project I'm noticing an issue where the debugger is not aware of the App object in xamarin forms projects. This seriously hinders debugging because the App object is central to Forms. Others have referenced the issue here:? I've attached a sample project. You simply need to restore packages, ...
https://xamarin.github.io/bugzilla-archives/46/46539/bug.html
CC-MAIN-2019-39
en
refinedweb
Provided by: libfuntools-dev_1.4.7-4_amd64 NAME FunTableRowGet - get Funtools rows SYNOPSIS #include <funtools.h> void *FunTableRowGet(Fun fun, void *rows, int maxrow, char *plist, int *nrow) DESCRIPTION The FunTableRowGet() routine retrieves rows from a Funtools binary table or raw event file, and places the values of...
http://manpages.ubuntu.com/manpages/eoan/man3/FunTableRowGet.3.html
CC-MAIN-2019-39
en
refinedweb
Hi. I am trying to get started with Xamarin Form Labs, with my first goal to get the Device resolution, size and dpi. I added the Forms Labs Core package to my Android project, as well as the IoC package, using the package manager. However, the compiler still complains that " The type or namespace name `XLabs' could no...
https://forums.xamarin.com/discussion/27412/confused-about-xamarin-form-labs
CC-MAIN-2019-39
en
refinedweb
move FrameLoadRequest to loader/ Created attachment 103159 [details] Patch Comment on attachment 103159 [details] Patch Patch seems to lack the actual header file move. meh, seems like webkit-patch doesn't like git mv :( Created attachment 103160 [details] Patch Comment on attachment 103160 [details] Patch still doesn'...
https://bugs.webkit.org/show_bug.cgi?format=multiple&id=65817
CC-MAIN-2019-39
en
refinedweb
5. HTTP Frameworks 5.1. atlassian-python-api from atlassian import Confluence from atlassian import Jira jira = Jira( url='', username='admin', password='admin') confluence = Confluence( url='', username='admin', password='admin') JQL = 'project = DEMO AND status NOT IN (Closed, Resolved) ORDER BY issuekey' data = jira...
http://python.astrotech.io/http/frameworks.html
CC-MAIN-2019-39
en
refinedweb
I have a confession to make: I really like tidying up. Whether it’s my room, my laptop, someone else’s room or code. I really like stuff being neat and tidy and organized. I am obsessed with making plans and lists and lists for what plans and lists I have to make and so on. And this is exactly why programming is perfec...
https://sophieau.com/article/why-programming/
CC-MAIN-2019-39
en
refinedweb
In this article, we will go over the Django User Model. We can extend it with AbstractUser and AbstractBaseUser, but what options do we have? How can we customize it and how can we use it? The Django User Model is part of the Django Authentication package. It provides you with a standard model that is used as a backbon...
https://djangowaves.com/resources/django-user-model/
CC-MAIN-2019-39
en
refinedweb
Purely functional JSON parser and library in scala. MarketEventbit, but you can discriminate on the typeproperty to determine which decoder to use Array[T]all of the sudden. Hey guys I have a really basic question, for a basic webhook thing I'd like to parse json partially and keep a field as string val rawJson: String...
https://gitter.im/argonaut-io/argonaut?at=5bc6e394435c2a518ebd43d9
CC-MAIN-2019-39
en
refinedweb
This article includes everything you need to know about using an I2C LCD with Arduino. I have included a wiring diagram and many example codes. The first part of this article covers the basics of displaying text and numbers. In the second half I will go into more detail on how to display custom characters and how you c...
https://www.makerguides.com/character-i2c-lcd-arduino-tutorial/
CC-MAIN-2019-39
en
refinedweb
import "go-hep.org/x/hep/xrootd/xrdproto/bind" Package bind contains the structures describing bind request and response. RequestID is the id of the request, it is sent as part of message. See xrootd protocol specification for details:, 2.3 Client Request Format. type Request struct { SessionID [16]byte // SessionID is...
https://godoc.org/go-hep.org/x/hep/xrootd/xrdproto/bind
CC-MAIN-2019-39
en
refinedweb
package pack; class OffLimits { // Note this has default access public int x = 11; } public class Allowed extends OffLimits {} package outside; import pack.*; public class Outsider extends Allowed { public static void main(String[] args) { System.out.println((new Outsider()).x); }} This program is legal, and yet, if we...
http://java.sun.com/docs/books/jls/public-symref-compilation-rules.html
crawl-001
en
refinedweb
SQLAlchemy Frequently Asked Questions - General - Setting Up/Connecting - How do I configure logging ? - The "help" keyword (i.e. help(sqlalchemy)) and "pydoc" commands dont work - Do I have to do something special to use connection pooling ? Are my connections pooled ? - How do i specify (insert custom DBAPI argument ...
http://www.sqlalchemy.org/trac/wiki/FAQ
crawl-001
en
refinedweb
Whats New in 0.4 - First Things First - Module Imports - Object Relational Mapping - Querying - Relations - Horizontal Scaling (Sharding) API - Sessions - Inheritance - Types - SQL Expressions - Schema and Reflection - SQL Execution First Things First If you're using any ORM features, make sure you import from sqlalche...
http://www.sqlalchemy.org/trac/wiki/WhatsNewIn04
crawl-001
en
refinedweb
In case you haven’t heard, ASP.NET Identity is the new kid on the block for handling user identity, and replaces ASP.NET Membership, Simple Membership and Universal Membership. It is built on top of OWIN which positions it well for the future of ASP.NET. If you’re not familiar with ASP.NET Identity then check out Intro...
https://blogs.msdn.microsoft.com/stuartleeks/2014/01/15/asp-net-identity-and-windows-azure-table-storage/
CC-MAIN-2017-26
en
refinedweb
In addition to my earlier question on entity framework. My purpose is to encrypt the field before saving to DB and Decrypt the fields before reading from DB.I have class (User.cs) generated from table User(having UserName property(to be encrypted) and I created a separate class SecureUser with UserName property that is...
https://codedump.io/share/wkEpZzblTu7o/1/encrypting-decrypting-data-via-entity-framework-using-separate-class-exposing-encrypteddecrypted-values-linq-statements-fails
CC-MAIN-2017-26
en
refinedweb
PdbSublimeTextSupport 0.2 Display source code in Sublime Text 2 while debugging with pdb. - This module is used to hook up pdb, the python debugger, with Sublime Text 2, enabling it to display the debugged source code during a pdb session. After downloading and unpacking the package, you should install the helper modul...
https://pypi.python.org/pypi/PdbSublimeTextSupport
CC-MAIN-2017-26
en
refinedweb
{ my @nums = (0..9,'a'..'z','A'..'Z'); my %nums = map { $nums[$_] => $_ } 0..$#nums; sub to_base { my $base = shift; my $number = shift; return $nums[0] if $number == 0; my $rep = ""; # this will be the end value. while( $number > 0 ) { $rep = $nums[$number % $base] . $rep; $number = int( $number / $base ); } return $r...
http://www.perlmonks.org/index.pl?parent=720148;node_id=3333
CC-MAIN-2017-26
en
refinedweb
Yaydoc being based on sphinx natively supports reStructuredText. From the official docs: reStructuredText is an easy-to-read, what-you-see-is-what-you-get plaintext markup syntax and parser system. It is useful for quickly creating simple web pages, and for standalone documents. reStructuredText is designed for extensi...
http://blog.fossasia.org/tag/python/
CC-MAIN-2017-26
en
refinedweb
Question: I have an interface, and some classes that inherit from it. public interface IFoo {} public class Bar : IFoo {} public class Baz : IFoo {} If I get the types which implement IFoo, how can I decide if the type will represent a Bar or a Baz (without actually creating the object)? // Get all types in assembly. T...
http://www.toontricks.com/2018/10/tutorial-detect-class-from-interface.html
CC-MAIN-2018-43
en
refinedweb
Layout which contains these common UI parts, so that we don't have to write the same code in every page. The layout view is same as the master page of the ASP.NET webform application. For example, an application UI may contain Header, Left menu bar, right bar and footer section that remains same in every page and only ...
http://www.tutorialsteacher.com/mvc/layout-view-in-asp.net-mvc
CC-MAIN-2018-43
en
refinedweb
Hi there - python beginner here. I am trying to build an algorithm that deploys cash incrementally and I am running into a frustrating error. I want the algorithm to buy in incremental waves of $100k (wave_A,wave_B etc) then once it has purchased using that code not run that code again. I am trying to do this by using ...
https://www.quantopian.com/posts/issues-with-incremental-cash-use
CC-MAIN-2018-43
en
refinedweb
c Copyright 2008 by Peter C. Chapin August 31, 2008 Contents 1 Introduction 2 Creating and Destroying Threads 2.1 2.2 Creating Threads . . . . . . . . . . . . . . . . . . . . . . . . . . . Returning Results from Threads . . . . . . . . . . . . . . . . . . 2 3 3 5 8 8 10 14 17 18 19 20 20 21 22 23 23 25 26 3 Thread Sync...
https://www.scribd.com/document/14705905/Pthread-Tutorial-by-Peter-Good-One
CC-MAIN-2018-43
en
refinedweb
Talk:Proposed features/Fire Hydrant Extensions Contents - 1 dry_barrel vs wet_barrel - 2 Underground hydrants - 3 Additional wrench type and cap vs bonnet - 4 More location values - 5 fire_hydrant vs suction_point - 6 Flow and pipes capacity - 7 Pipe Diameter - 8 Bonnet - 9 Remove fire_hydrant: namespace from keys - 10...
https://wiki.openstreetmap.org/wiki/Talk:Proposed_features/Fire_Hydrant_Extensions
CC-MAIN-2018-43
en
refinedweb
SCOTIABANK STUDENT GIC PROGRAM GUIDE. I. How does the Scotiabank Student GIC Program work? - Gary Williamson - 2 years ago - Views: Transcription 1 IMPORTANT: This Scotiabank Student GIC Program Guide outlines program and product details effective May 1st, If you are set-up under the old program (Cashable GIC) and requ...
http://docplayer.net/15717092-Scotiabank-student-gic-program-guide-i-how-does-the-scotiabank-student-gic-program-work.html
CC-MAIN-2018-43
en
refinedweb
Class action lawsuits against employers have steadily increased both in number and in dollar value over the past two decades. These lawsuits cost employers millions, often for technical or minor violations spread over many class members and several years. The United States Supreme Court, however, just cleared a path fo...
https://www.lexology.com/library/detail.aspx?g=f649e503-2358-4096-b8de-0f71c1583906
CC-MAIN-2018-43
en
refinedweb
Private Equity Performance Measurement BVCA Perspectives Series - Lynne Jordan - 2 years ago - Views: Transcription 1 Private Equity Performance Measurement BVCA Perspectives Series Authored by the BVCA s Limited Partner Committee and Investor Relations Advisory Group Spring 2015 2 Private Equity Performance Measuremen...
http://docplayer.net/18685952-Private-equity-performance-measurement-bvca-perspectives-series.html
CC-MAIN-2018-43
en
refinedweb
In this post I add a Minstrel, whose task is singing a song when a knight starts and ends a quest. Following the idea that we don't know to create tight connections between components, we are going to use an Aspect Oriented Programming (AOP) design, treating Minstrel as an aspect of our application. AOP suggests to let...
http://thisthread.blogspot.com/2017/01/aop-with-spring.html
CC-MAIN-2018-43
en
refinedweb
@s-ui/bundler sui-bundersui-bunder Config-free bundler for ES6 React apps. Features: - Simple CLI for prod and dev environment - Unique solution for bundling; no boilerplate, no config. - Remote improvements inherited transparently (ej: monitoring, PWA, etc) InstallationInstallation $ npm install @s-ui/bundler --save-d...
https://www.npmjs.com/package/@s-ui/bundler
CC-MAIN-2018-43
en
refinedweb
I create a concrete Quest, annotated so that Spring sees it as a Component qualified as quest. @Component @Qualifier("quest") public class SlayDragonQuest implements Quest { @Override public String embark() { return "Embarking on quest to slay the dragon!"; } }I annotate the BraveKnight component, that Springs can now ...
http://thisthread.blogspot.com/2017/01/injecting-and-wiring-in-spring-with.html
CC-MAIN-2018-43
en
refinedweb
This is a guest post by Jonathan Katz, Vice President of Platform Engineering at Crunchy Data & PostgreSQL Core Team Member. Edge computing helps businesses become more proactive and dynamic by placing applications and processing power closer to the devices and sensors that create or consume data. This enables them to ...
https://www.openshift.com/blog/building-cloud-native-data-analytic-services-for-the-edge
CC-MAIN-2021-25
en
refinedweb
This site uses strictly necessary cookies. More Information Is it possible to select a gameobject by selecting the gizmo in the Scene View? I have a line (Gizmos.DrawLine) between object A and object B and I want to be able to select the line and have it select object A. That then leads on to my second question to grab...
https://answers.unity.com/questions/31197/select-object-by-selecting-gizmo-or-handle.html
CC-MAIN-2021-25
en
refinedweb
Set entry assembly in Unit testing methods Resolving null entry assembly issue in unit tests Recently I started writing unit tests for a small project I keep in my visualstudio online TFS repository. After few test done I run into an issue. Since this project heavily relies on Reflection and dynamic assembly loading, m...
https://dejanstojanovic.net/aspnet/2015/january/set-entry-assembly-in-unit-testing-methods/
CC-MAIN-2021-25
en
refinedweb
apollo-link-serialize An Apollo Link that serializes requests by key, making sure that they execute in the exact order in which they were submitted. Motivation When sending requests to the server using HTTP there are no guarantees in which order requests will reach the server. Worse yet, when using a RetryLink, it is v...
https://www.npmtrends.com/@maxired/apollo-link-serialize
CC-MAIN-2021-25
en
refinedweb
I am trying to parse strings like this I need to get the cpnum value (555) I am using the following function def get_drugId(link) arrParts = link.html.split(’?’) cpnum = arrParts[1].split(’&’) cpnumparts= cpnum[0].split("=") drugId = cpnumparts[1] end but I imagine there is a simpler way to do this. Also, I would like ...
https://www.ruby-forum.com/t/parsing-query-parameters-from-hyperlink/113561
CC-MAIN-2021-25
en
refinedweb
Summary Calculates the Euclidean distance from a single source or set of sources. The Distance Accumulation or Distance Allocation tools provide enhanced functionality or performance.. One example application of this tool is finding the distance from any location to the closest town. When the input source data is an im...
https://pro.arcgis.com/en/pro-app/latest/tool-reference/raster-analysis/calculate-distance.htm
CC-MAIN-2021-25
en
refinedweb
Introducing the Microsoft.FeatureManagement library Use Microsoft.FeatureManagement to add native feature flags! A couple of weeks ago, I needed to find a way to better manage new functionality for a feature that was not ready yet (it broke stuff). We didn’t know exactly when the feature would be shipped, but we also d...
https://www.daveabrock.com/2020/05/24/introducing-feature-management-copy/
CC-MAIN-2021-25
en
refinedweb
Google Test Page Contents Read The Docs! Installing To download the source files and install [Ref]: sudo apt-get install libgtest-dev cd /usr/src/gtest # Might also be /usr/src/googletest/googletest sudo mkdir build cd build sudo cmake -DCMAKE_BUILD_TYPE=RELEASE .. sudo make sudo cp libg* /usr/lib cd .. sudo rm -fr bui...
https://jehtech.com/c_and_cpp/google-test.html
CC-MAIN-2021-25
en
refinedweb
SAP Fiori for SAP S/4HANA – Adding selected SAP content to a custom Business Role This blog post gives a simple how-to example of adding selective SAP content to a custom Business Role, using a custom business catalog. You will learn how to: - Copy a SAP Business catalog into the customer namespace creating a custom bu...
https://blogs.sap.com/2020/09/23/sap-fiori-for-sap-s-4hana-adding-selected-sap-content-to-a-custom-business-role/
CC-MAIN-2021-25
en
refinedweb
std::ranges::view::counted (3) - Linux Man Pages std::ranges::view::counted: std::ranges::view::counted NAME std::ranges::view::counted - std::ranges::view::counted Synopsis namespace view { inline constexpr /*unspecified*/ counted = /*unspecified*/; (since C++20) } A counted view presents a View of the elements of the...
https://www.systutorials.com/docs/linux/man/3-std%3A%3Aranges%3A%3Aview%3A%3Acounted/
CC-MAIN-2021-25
en
refinedweb
We show an example of parallel reconstruction using a Q-Ball Constant Solid Angle model (see Aganj et al. (MRM 2010)) and peaks_from_model. Import modules, fetch and read data, and compute the mask. import time from dipy.core.gradients import gradient_table from dipy.data import get_fnames, get_sphere from dipy.io.grad...
https://dipy.org/documentation/1.4.1./examples_built/reconst_csa_parallel/
CC-MAIN-2021-25
en
refinedweb
In the Client app create a new folder named Components. This is not a special name, we can choose any name we wish. Once you’ve created the new Components folder, create a file within it named MyFirstComponent.razor and enter the following mark-up. <div> <h2>This is my first component</h2> </div> Now edit the Index.raz...
https://blazor-university.com/components/creating-a-component/
CC-MAIN-2021-25
en
refinedweb
Recently I had to test some of the upgrade scenarios for Reporting Services and in some scenarios I hit the infamous error message "The version of the report server database is either in a format that is not valid, or it cannot be read. The found version is 'C.0.9.45'. The expected version is '147'. (rsInvalidReportSer...
https://blogs.msdn.microsoft.com/jtarquino/2011/06/10/generate-upgrade-script-in-reporting-services-with-wmi/
CC-MAIN-2017-30
en
refinedweb
mbstowcs - convert a multibyte string to a wide-character string Synopsis Description Notes Colophon #include <stdlib.h> size_t mbstowcs(wchar_t *dest, const char *src, size_t n); mbstowcs() function returns the number of wide characters that make up the converted part of the wide-character string, not including the te...
http://manpages.sgvulcan.com/mbstowcs.3.php
CC-MAIN-2017-30
en
refinedweb
This post is the 3rd of series on serialization in WCF. The post is taking the previous post concept one step ahead by wrapping the List<T> as serializable type Jump into the code see the theory in the previous post [XmlRoot (Namespace = “htp://…”)] public class GenListCustom<T>:List<T>,IXmlSerializable { private stati...
http://blogs.microsoft.co.il/bnaya/2009/06/08/serialize-generics-list-part-2/
CC-MAIN-2017-30
en
refinedweb
#include <sys/wait.h> #include <sys/time.h> #include <sys/resource.h> pid_t wait3(int *statusp, int options, struct rusage *rusage); pid_t wait4(pid_t pid,, −1.h.h., −1 is returned and errno is set to indicate the error. If wait3() or wait4() return due to the delivery of a signal to the calling process, −1, −1 −1 −1,)...
http://docs.oracle.com/cd/E36784_01/html/E36874/wait3-3c.html
CC-MAIN-2017-30
en
refinedweb
What is a Multimethod's Identity? The key question with multimethods is one of identity. A multimethod is a collection of methods, but when should two piles of identically-named methods be a single method and when should they be separate? Other ways to phrase the question: - When do two defs with the same name collide ...
http://magpie.stuffwithstuff.com/design-questions/what-is-a-multimethods-identity.html
CC-MAIN-2017-30
en
refinedweb
FTW(3) Library Functions Manual FTW(3) NAME ftw - walk a file tree SYNOPSIS #include <<ftw.h>> int ftw(path, fn, depth) char *path; int (*fn)(); int depth; DESCRIPTION ftw() recursively descends the directory hierarchy rooted in path. For each object in the hierarchy, ftw() calls fn, passing it a pointer to a null-term...
http://modman.unixdev.net/?sektion=3&page=ftw&manpath=SunOS-4.1.3
CC-MAIN-2017-30
en
refinedweb
W3C | TAG | Previous: 27 February 2006 | Next: 28 March 2006 Nearby: Teleconference details - issues list (handling new issues) - www-tag archive - tag archive Roll call -- Regrets: ? Chair: Vincent, Scribe: Henry Propose next teleconference: 28 March, appoint scribe: propose David Accept this agenda? Approve minutes o...
http://www.w3.org/2001/tag/2006/03/21-agenda.html
CC-MAIN-2017-30
en
refinedweb
That is all. NAUCC 2010 from Max Schulze. Having bought some Ay-Up LED lights (which are absolutely awesome) in December for an outing at Unicon (which I never actually went on), lately I've been getting into night unicycling - so far mostly on Mount Victoria. Last night I finally got back up to Makara Peak - somehow I...
http://planproof-fool.blogspot.com/
CC-MAIN-2017-30
en
refinedweb
Odoo Help Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps: CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc. Is it possible to change a field with readonly, after pressing a button? i need a option once i click a button, particular field ...
https://www.odoo.com/forum/help-1/question/is-it-possible-to-change-a-field-with-readonly-after-pressing-a-button-29280
CC-MAIN-2017-30
en
refinedweb
Hello C Board, I'm a first time caller :) I reading thru C++ Without Fear-Overland. Okay, here's the example exercise I'm having a problem with: Okay, that is the sample answer, i didn't change it.Okay, that is the sample answer, i didn't change it.Code: //the project name is readtxt2 and the text file is name output.t...
https://cboard.cprogramming.com/cplusplus-programming/135468-command-line-problems-printable-thread.html
CC-MAIN-2017-30
en
refinedweb
Update AvatarService docs and guide to include required fields and methods Review Request #9493 — Created Jan. 19, 2018 and submitted When an extension for AvatarServices doesn't include an implementation for get_avatar_urls_uncachedor get_etag_data, it throws a 500 error. With the changes, we now return a default etag...
https://reviews.reviewboard.org/r/9493/
CC-MAIN-2019-09
en
refinedweb
The nsIDOMNSDocumentStyle interface is an extension to the nsIDOMDocumentStyle interface. More... import "nsIDOMNSDocumentStyle.idl"; set lastStyleSheetSet to that value. From the DOM's perspective, all views have the same selectedStyleSheetSet. If a UA supports multiple views with different selected alternate style sh...
http://doxygen.db48x.net/comm-central/html/interfacensIDOMNSDocumentStyle.html
CC-MAIN-2019-09
en
refinedweb
User:Randomjunk I support OSM by being a member of the OpenStreetMap Foundation Are you? My OSM user is randomjunk. Cycle Map I'm helping Andy out with his cycle map. He uses my machine to render the tiles. GPS points I thrashed the OSM DB server for a while last week, and produced some interesting images of the GPS po...
https://wiki.openstreetmap.org/wiki/User:Randomjunk
CC-MAIN-2019-09
en
refinedweb
Working with CDI and JSF 2.0 on Tomcat 7: Configuring Weld By default, you can't use CDI in your JSF 2.0 applications when they are simply deployed to a standard servlet engine such as Tomcat 7. But, with Weld, you can make it work. The JSF specification was ahead of the pack when it came to working with and annotating...
https://www.theserverside.com/tutorial/Working-with-CDI-and-JSF-20-on-Tomcat-7-Configuring-Weld
CC-MAIN-2019-09
en
refinedweb
Testing Code That Emits Output Here's the scenario: you have code that will emit headers and content, for instance, a front controller. How do you test this? The answer is remarkably simple, but non-obvious: namespaces. Prerequisites For this approach to work, the assumptions are: - Your code emitting headers and outpu...
https://mwop.net/blog/2014-08-11-testing-output-generating-code.html
CC-MAIN-2019-09
en
refinedweb
Using OAuth for a simple command line script to access Google's data 22 January 2019 I. I first did this back in 2015. A year or so later, it broke, and I didn't have the bandwidth to fix it. I finally did fix it in 2019. While the libraries I'd used had changed (for the better), the documentation was still rather lack...
https://martinfowler.com/articles/command-line-google.html
CC-MAIN-2019-09
en
refinedweb
- Advertisement johannesgMember Content Count12 Joined Last visited Community Reputation0 Neutral About johannesg - RankMember Personal Information - InterestsProgramming - Ok, thanks for the info. I'll make the necessary changes to ensure I'm not invoking UB. Could I do this instead: object @O = makeobject ("foo"); an...
https://www.gamedev.net/profile/263166-johannesg/
CC-MAIN-2019-09
en
refinedweb
/> The Image module of the Pillow imaging library for Python has a method called histogram. When I first saw it I naively assumed that it generated three nice little graphics. I was wrong! What the method actually does is to return the frequencies of the colour values 0 to 255 for the three colour channels red, green a...
https://www.codedrome.com/image-histograms-in-python/
CC-MAIN-2021-31
en
refinedweb
#include "petscpc.h" PetscErrorCode PCASMSetLocalSubdomains(PC pc,PetscInt n,IS is[],IS is_local[])Collective on pc By default the ASM preconditioner uses 1 block per processor. Use PCASMSetTotalSubdomains() to set the subdomains for all processors. If is_local is provided and PCASMType is PC_ASM_RESTRICT then the solu...
https://www.mcs.anl.gov/petsc/petsc-dev/docs/manualpages/PC/PCASMSetLocalSubdomains.html
CC-MAIN-2021-31
en
refinedweb
This Instructable will show you how to make a concentration game using a MicroBit. This is going to create a metal shape and wand to have a reaction when the wand touches the metal shape. Inspired by carnival games and wanted to challenge my students. Supplies: Items needed: MicroBit – any MicroBit will do. I have sets...
https://atmega32-avr.com/microbit-concentration-game/
CC-MAIN-2021-31
en
refinedweb