text stringlengths 20 1.01M | url stringlengths 14 1.25k | dump stringlengths 9 15 ⌀ | lang stringclasses 4
values | source stringclasses 4
values |
|---|---|---|---|---|
Subject: Re: [boost] [threads] making parts of Boost.Threads header-only
From: Ulrich Eckhardt (doomster_at_[hidden])
Date: 2009-04-08 01:46:28
On Tuesday 07 April 2009 12:11:47 joaquin_at_[hidden] wrote:
>.
There is a "compile-in-place" project in the sandbox, which allows you to
#include <boost/thread/compile-in-plac... | https://lists.boost.org/Archives/boost/2009/04/150550.php | CC-MAIN-2018-34 | en | refinedweb |
On Thu, Feb 28, 2013 at 1:16 PM, Eric Snow <ericsnowcurrently at gmail.com> wrote: > On Thu, Feb 28, 2013 at 10:32 AM, Guido van Rossum <guido at. > > Could you elaborate on what confusion it might cause? Well, x.__class__ is different, repr(x) is different, ... > As to performance relative to dict, this has definitely... | https://mail.python.org/pipermail/python-ideas/2013-February/019704.html | CC-MAIN-2018-34 | en | refinedweb |
Linq to SQL Stored Procedures with Multiple Results – IMultipleResults
Continuing my post series about Linq to SQL, this post talks about using stored procedures that return multiple result sets in Linq to SQL. If you missed any of my previous posts about Linq to SQL, here is a reminder:
Sql Server supports returning m... | http://blogs.microsoft.co.il/bursteg/2007/10/05/linq-to-sql-stored-procedures-with-multiple-results-imultipleresults/ | CC-MAIN-2018-34 | en | refinedweb |
On Tue, Dec 15, 2009 at 6:50 PM, steve donovan <steve.j.donovan@gmail.com> wrote: > On Tue, Dec 15, 2009 at 5:13 PM, Francesco Abbate <gslshell@gmail.com> >>Talking about point 2, I don't know but I've got the idea that Lua >> does not have a really good set of libraries. > > No standard libraries - that's one of the P... | http://lua-users.org/lists/lua-l/2009-12/msg00604.html | CC-MAIN-2018-34 | en | refinedweb |
pcap_list_datalinks(3) pcap_list_datalinks(3)
NAME
pcap_list_datalinks, pcap_free_datalinks - get a list of link-layer header types supported by a capture device, and free that list
SYNOPSIS
#include <pcap/pcap.h> pcap_list_datalinks(3) *p, int **dlt_buf); void pcap_free_datalinks(int *dlt_list);
DESCRIPTION
pcap_list_... | http://manpagez.com/man/3/pcap_list_datalinks/ | CC-MAIN-2018-34 | en | refinedweb |
In Anticipation of Tiger
Theme 5: Ease of Development
The Java language and syntax are being enhanced to make code more readable, expressive, comact, safer, and easier to develop, without sacrificing compatibility. These new language features are being incorporated after several years of discussion and comparison of Ja... | https://www.developer.com/java/ejb/article.php/10931_2213791_2/In-Anticipation-of-Tiger.htm | CC-MAIN-2018-34 | en | refinedweb |
Working in a team of developers, the following might happen:
Developer 1 creates a piece of UI and adds a method to load data into said UI. The method he creates is called GetUserInfo(…)
Here comes Developer 2 and he also creates a piece of UI that displays user info. Developer 2 however, needs to display more than jus... | https://itq.nl/fluent-data-access/ | CC-MAIN-2018-34 | en | refinedweb |
For my upcoming game, Mouse Dreams, I need to support gamepad input as well as keyboard and touch. It turns out this is not quite as simple as I first thought. The big issue with supporting UI with different input methods is how it will appear to the user. With touch or mouse input, the user simply presses a button, bu... | http://unity.grogansoft.com/2016/12/ | CC-MAIN-2018-47 | en | refinedweb |
React, probably the most popular library to render views these days, created by Facebook developers.
This writing belongs to a serie of articles about using components with Vue, React, Polymer and Angular 2.
Introduction to React
According to its authors, the mear existence of this framework is to compose large web ap... | https://jeremenichelli.io/2016/07/building-a-component-based-app-react/ | CC-MAIN-2018-47 | en | refinedweb |
TypeScript - Understanding TypeScript
By Peter Vogel | January 2015#.
The question then remains, “Would you rather write your client-side code in this language or in JavaScript?”
TypeScript Is Data-Typed
TypeScript doesn’t have many built-in data types you can use to declare variables—just string, number and Boolean. T... | https://msdn.microsoft.com/en-us/magazine/dn890374.aspx | CC-MAIN-2018-47 | en | refinedweb |
regression test scripting framework for embedded systems developers
Project description
Intro
Using MONk you can write tests like you would write unit tests, just that they are able to interact with your embedded system.
Let’s look at an example. In the following example we have an embedded system with a serial termina... | https://pypi.org/project/monk_tf/0.2.22/ | CC-MAIN-2018-47 | en | refinedweb |
).
The included scaffolds are these:
starter
- URL mapping via URL dispatch and no persistence mechanism.
zodb
- URL mapping via traversal and persistence via ZODB. Note that, as of this writing, this scaffold will not run under Python 3, only under Python 2.
alchemy
- URL mapping via URL dispatch and persistence via S... | https://docs.pylonsproject.org/projects/pyramid/en/1.3-branch/narr/project.html | CC-MAIN-2018-47 | en | refinedweb |
I have data such as:
['$15.50']
['$10.00']
['$15.50']
['$15.50']
['$22.28']
['$50']
['$15.50']
['$10.00']
I want to get rid of the dollar sign and turn the strings into floats so I can use the numbers for several calculations. I have tried the following:
array[0] = float(array.text.strip('$'))
which gives me an attribu... | http://www.dlxedu.com/askdetail/3/bd83a93c091e0cf44185995bb3c86cb2.html | CC-MAIN-2018-47 | en | refinedweb |
I would like to name a function
draw in multiple modules. (My graph theory module would have a
draw from drawing graphs, my hyperbolic geometry module would have a
draw for drawing things in the hyperbolic plane, and so forth.) At times, I’d like to have a few modules loaded at the same time, but Julia tells me that th... | https://discourse.julialang.org/t/same-function-name-in-multiple-modules/16881 | CC-MAIN-2018-47 | en | refinedweb |
This will walk you through getting up and running from scratch with Apache OpenWhisk on OSX, and setting up an Action Sequence where the output of one OpenWhisk Action is fed into the input of the next Action.
Install OpenWhisk via Vagrant
You should see reams of output, followed by:
SSH into Vagrant machine and run Op... | http://tleyden.github.io/blog/2017/07/02/openwhisk-action-sequences/ | CC-MAIN-2018-47 | en | refinedweb |
In this series of tutorials, we’ll go through setting up Unity’s built-in Nav Mesh, which enables pathfinding and navigation without the need for complex code.
Before you Begin
For Intermediate Unity Developers
This tutorial series is for intermediate Unity users. I won’t go into detail on Unity basics, and assume you ... | http://unity.grogansoft.com/tag/navigation/ | CC-MAIN-2018-47 | en | refinedweb |
Workshop : CDOSYS + .Net
As anyone who has used the .Net System.Web.Mail namespace can attest, the default .Net mail classes are woefully lacking
in functionality. It’s really a shame too, considering that
they’re based off of the very powerful CDONTS/CDOSYS libraries, which
allow a lot more functionality.
In this firs... | http://charliedigital.com/2005/10/12/workshop-cdosys-net/ | CC-MAIN-2018-47 | en | refinedweb |
A flutter api for photo, you can get image/video from ios or android.
一个提供相册 api 的插件, android ios 可用,没有 ui,以便于自定义自己的界面, 你可以通过提供的 api 来制作图片相关的 ui 或插件
If you just need a picture selector, you can choose to use photo library , a multi image picker. All UI create by flutter.
dependencies: photo_manager: $latest_version
imp... | https://pub.dev/packages/photo_manager | CC-MAIN-2019-30 | en | refinedweb |
48675/mypy-with-dynamic-typing-example
Have a look at this example that prints the frequency of a word in a file:
import sys
import re
if not sys.argv[1:]:
raise RuntimeError('Usage: wordfreq FILE')
d = {}
with open(sys.argv[1]) as f:
for s in f:
for word in re.sub('\W', ' ', s).split():
d[word] = d.get(word, 0) + 1
# ... | https://www.edureka.co/community/48675/mypy-with-dynamic-typing-example?show=48683 | CC-MAIN-2019-30 | en | refinedweb |
public class MockitoAnnotations extends Object
MockitoSessionwhich not only initializes mocks but also adds extra validation for cleaner tests!); } }
Read also about other annotations @
Spy, @
Captor, @
InjectMocks
MockitoAnnotations.initMocks(this) method has to be called to initialize annotated fields.. | https://static.javadoc.io/org.mockito/mockito-core/3.0.0/org/mockito/MockitoAnnotations.html | CC-MAIN-2019-30 | en | refinedweb |
226
110 S.Ct. 2356
110 L.Ed.2d 191. P., 271275, 102 S.Ct. 269, 275-77, 70 L.Ed.2d 440whichapplies with equal force to
the Act. Pp. 247-253.
(a) Because the Act on its face grants equal access to both secular and
religious speech, it meets the secular purpose prong of the test. Pp. 248249.
, 655,,, 583-584,,.
7,
102 S.C... | https://www.scribd.com/document/310840929/Board-of-Ed-of-Westside-Community-Schools-Dist-66-v-Mergens-496-U-S-226-1990 | CC-MAIN-2019-30 | en | refinedweb |
This tutorial shows you how to create a continuous delivery pipeline using Google Kubernetes Engine (GKE), Cloud Source Repositories, Cloud Build, and Spinnaker. detecks the image, deploys image to Canary, and tests the Canary deployment. After a manual approval, Spinnaker deploys the image to production.
Objectives
- ... | https://cloud.google.com/solutions/continuous-delivery-spinnaker-kubernetes-engine?hl=ca | CC-MAIN-2019-30 | en | refinedweb |
You can use the
import
method to create a product set and products with reference images all at the
same time using a CSV file. This page describes how you format the CSV file.
Creating your reference images
Reference images are images containing various views of your products. The following recommendations apply:
- Ma... | https://cloud.google.com/vision/product-search/docs/csv-format?hl=hu | CC-MAIN-2019-30 | en | refinedweb |
Developers enjoy writing code but few developers enjoy writing exception handling code and even fewer do it right. A new book titled Exceptional Ruby by Avdi Grimm attacks the subject and helps developers take the right approach to solid exception handling code.
Exceptional Ruby is a new guide to exceptions and error-h... | https://www.infoq.com/news/2011/05/exceptional-ruby/ | CC-MAIN-2019-30 | en | refinedweb |
Currently the VM runcommand scenario use the fixed ip to ssh connect to the instance.
This could only works if fixed ip range is directly accessible with is the case in very limited deployments.
This blueprint proposes to support attachment of a floating ip to the instance allowing connection in most deployments.
Float... | https://blueprints.launchpad.net/rally/+spec/benchmark-scenarios-vm-floating-ip | CC-MAIN-2019-30 | en | refinedweb |
This page provides the Query Builder example of the Cloud Security Command Center (Cloud SCC) application package. The Query Builder app enables you to create and schedule advanced, multi-step queries on Cloud SCC data using a web application interface. When these queries run, the results can be sent to a Cloud Pub/Sub... | https://cloud.google.com/security-command-center/docs/how-to-install-query-builder | CC-MAIN-2019-30 | en | refinedweb |
On-Boarding H2o.ai and Generic Java Models) using any interface (eg.Python, Flow, R) provided by H2o., she.
Prerequisites¶
Java 1.8
The following Released components:
- Java Client v1.11.0 (java_client-1.11.0.jar)
- Generic Model Runner v2.2.3 (h2o-genericjava-modelrunner-2.2.3.jar)
Preparing to On-Board your H2o or a ... | https://docs.acumos.org/en/athena/AcumosUser/portal-user/portal/onboarding-java-guide.html | CC-MAIN-2019-30 | en | refinedweb |
Transfer
Manager
Class
Definition
This class contains a collection of methods (and structures associated with those methods) which perform higher-level operations. Whereas operations on the URL types guarantee a single REST request and make no assumptions on desired behavior, these methods will often compose several re... | https://docs.microsoft.com/en-us/java/api/com.microsoft.azure.storage.blob._transfer_manager?view=azure-java-preview | CC-MAIN-2019-30 | en | refinedweb |
If you are self-employed and are planning to file return of income, you should learn the income-tax provisions which will help you to file the return for Assessment Year 2018-19.
Every entrepreneur, India has ever produced, was once self-employed. The best thing about being self-employed is that you work with passion a... | https://www.financialexpress.com/money/income-tax/income-tax-return-filing-for-ay-2018-19-how-to-file-itr-for-self-employed-in-india/1228106/ | CC-MAIN-2019-30 | en | refinedweb |
The CSE Analysis object. More...
#include "llvm/CodeGen/GlobalISel/CSEInfo.h"
The CSE Analysis object.
This installs itself as a delegate to the MachineFunction to track new instructions as well as deletions. It however will not be able to track instruction mutations. In such cases, recordNewInstruction should be calle... | http://www.llvm.org/doxygen/classllvm_1_1GISelCSEInfo.html | CC-MAIN-2019-30 | en | refinedweb |
took to build this system.
For those of you who aren’t yet familiar with what SaltStack is, the best way to describe it is as an asynchronous, reactive event bus with different execution layers built on top of it. One such layer is intended for configuration management of your servers, while another is something calle... | https://blog.renaissancedev.com/from-heroku-to-aws-with-saltstack-part-1.html?utm_source=rss&utm_medium=rss | CC-MAIN-2019-30 | en | refinedweb |
#include <CGAL/Nef_polyhedron_S2.h>
Figures figureNefS2SVertexIncidences and figureNefS2SHalfloopIncidences illustrate the incidences of an sface.
An sface is described by its boundaries._S2<Traits> manages the needed sfaces internally.
CGAL::Nef_polyhedron_S2
CGAL::Nef_polyhedron_S2::SVertex | https://doc.cgal.org/4.7/Nef_S2/classCGAL_1_1Nef__polyhedron__S2_1_1SFace.html | CC-MAIN-2019-30 | en | refinedweb |
core.h Example Filestandalone/core.h
/**************************************************************************** ** ** Copyright (C) 2017 Klarälvdalens Datakonsult AB, a KDAB Group company, info@kdab.com, author Milian Wolff <milian.wolff@kdab.com> ** Contact: ** ** This file is part of the QtWebChannel CORE_H #defin... | http://doc.qt.io/qt-5/qtwebchannel-standalone-core-h.html | CC-MAIN-2018-09 | en | refinedweb |
Learn the importance of BufferedReader class while writing code for reading the input stream. You will get to know the features of BufferedReader in Java program.
AdsTutorials
In this article I will explain you the benefits and uses of BufferedReader class in Java. In Java there are classes for reading the file/input s... | http://roseindia.net/java/javafile/What-is-the-use-of-BufferedReader-in-Java-program.shtml | CC-MAIN-2018-09 | en | refinedweb |
Text::Microformat - A Microformat parser
Version 0.02
use Text::Microformat; use LWP::Simple; # Parse a document my $doc = Text::Microformat->new( get('') ); # Extract all known Microformats my @formats = $doc->find; my $hcard = shift @formats; # Easiest way to get a value (returns the first one found, else undef) my $... | http://search.cpan.org/dist/Text-Microformat/lib/Text/Microformat.pm | CC-MAIN-2018-09 | en | refinedweb |
MooX::Types::MooseLike::Email - Email address validation type constraint for Moo.
package MyClass; use Moo; use MooX::Types::MooseLike::Email qw/:all/; has 'email' => ( isa => EmailAddress, is => 'ro', required => 1 ); has 'message' => ( isa => EmailMessage, is => 'ro', required => 1 );
MooX::Types::MooseLike::Email is... | http://search.cpan.org/~hayajo/MooX-Types-MooseLike-Email-0.03/lib/MooX/Types/MooseLike/Email.pm | CC-MAIN-2018-09 | en | refinedweb |
question about programmatically accessing seam componentGerardo Segura Nov 22, 2007 4:49 AM
Hello,
I'm in the need of programmatically accessing (I mean not using @In annotation) a component which is created with @Factory . But neither this:
Course course = (Course)Contexts.lookupInStatefulContexts("course") ;
nor this... | https://developer.jboss.org/thread/140034 | CC-MAIN-2018-09 | en | refinedweb |
When you are working with main memory it is crucial to make sure that all the data structures are correctly sized and aligned. A typical approach is to create blocks of data that are processed independently. For the developer, the question is how large such blocks should be? The answer is that those blocks should alway... | https://punchcard.wordpress.com/tag/linux/ | CC-MAIN-2018-09 | en | refinedweb |
Name: rlT66838 Date: 08/10/99 If my first line of my javadoc comment ends in a question mark instead of a period, the next line gets included as part of the first line. Not good. Question marks are good for describing boolean attributes or methods that return a boolean value. I know that the requirement is to find a li... | https://bugs.java.com/bugdatabase/view_bug.do?bug_id=4261388 | CC-MAIN-2018-09 | en | refinedweb |
SYNOPSIS#include <sys/types.h>
#include "lfc_api.h"
struct lfc_direnrep *lfc_readdirxp (lfc_DIR *dirp, char *pattern, char *se)
DESCRIPTIONlfc_readdirxp reads the LFC directory opened by lfc_opendir in the name server. It does restricted pattern matching on basename.xp caches a variable number of such entries, dependin... | http://manpages.org/lfc_readdirxp/3 | CC-MAIN-2018-09 | en | refinedweb |
Iterative Point Matching for Registration of Free-Form Curves and Surfaces
- Brittany Hodges
- 2 years ago
- Views:
Transcription
1 International Journal of Computer Vision, 13:2, (1994) 1994 Kluwer Academic Publishers, Boston. Manufactured in The Netherlands. Iterative Point Matching for Registration of Free-Form Curv... | http://docplayer.net/280785-Iterative-point-matching-for-registration-of-free-form-curves-and-surfaces.html | CC-MAIN-2018-09 | en | refinedweb |
Prototype Pattern
DefinitionThe Prototype pattern is basically the creation of new instances through cloning existing instances. By creating a prototype, new objects are created by copying this prototype.
Where to use•When a system needs to be independent of how its objects are created, composed, and represented.
•When... | http://www.javatutorialcorner.com/2017/07/design-patterns-prototype-pattern.html | CC-MAIN-2018-09 | en | refinedweb |
> You agiven. For example if your mount got lazy umounted (like hal probablydoes) then it's a floating mount not one tied to any tree going to theroot of any namespace.-To unsubscribe from this list: send the line "unsubscribe linux-kernel" inthe body of a message to majordomo@vger.kernel.orgMore majordomo info at read... | http://lkml.org/lkml/2006/4/20/43 | CC-MAIN-2017-22 | en | refinedweb |
view raw
I'm having a JSON file and I'm trying to do a search using the values ( not the keys). Is there a built in function in Python that does so?
[["2778074170846781111111110", "a33104eb1987bec2519fe051d1e7bd0b4c9e4875"],
["2778074170846781111111111", "f307fb3db3380bfd27901bc591eb025398b0db66"]]
def OptionLookUp(key... | https://codedump.io/share/vW5Gcf5NHrf8/1/python-searching-a-json-with-key-value | CC-MAIN-2017-22 | en | refinedweb |
Prerequisites for ASMX-based code samples in Project 2013
Learn information to help you create projects in Visual Studio by using the ASMX-based code samples that are included in the Project Server Interface (PSI) reference topics.
Last modified: March 09, 2015
Applies to: Project Server 2013
Many of the code samples i... | https://msdn.microsoft.com/en-us/library/office/aa568853(v=office.15) | CC-MAIN-2017-22 | en | refinedweb |
Here’s a snippet of Winxed code I was running a few days ago on my machine:
function Foo(int a, int b) { ... } function Foo(string s) { ... } function main[main]() { Foo(1, 2); Foo("Hello"); }
Notice anything interesting about it? Up until now, Winxed hasn’t supported multiple dispatch. NotFound didn’t really use the f... | http://whiteknight.github.io/2011/08/15/multiple_dispatch_in_winxed.html | CC-MAIN-2017-22 | en | refinedweb |
Your answer is one click away!
I'm struggling to understand how Code First sets up relationships based on the model. Here's the model:
public class Person { [Key] public string PersonName { get; set; } [Required] public virtual Nation NationOfBirth { get; set; } [Required] public virtual Nation CurrentNationOfResidence... | http://www.devsplanet.com/question/35269493 | CC-MAIN-2017-22 | en | refinedweb |
view raw
I'm trying to make a test for checking whether a sys.argv input matches the RegEx for an IP address...
As a simple test, I have the following...
import re
pat = re.compile("\d{1,3}.\d{1,3}.\d{1,3}.\d{1,3}")
test = pat.match(hostIP)
if test:
print "Acceptable ip address"
else:
print "Unacceptable ip address"
\d... | https://codedump.io/share/RIgGeAuoha22/1/using-a-regex-to-match-ip-addresses-in-python | CC-MAIN-2017-22 | en | refinedweb |
Keith Beattie <KSBeattie at lbl.gov> wrote: > How do I pass the namespaces into minidom.parseString(), or > Domlette.NonvalidatingReader.parseString(), such that they'll be happy > with the 'unbound prefix'? I know of no convenient way of doing this with either minidom or domlette. Probably the quickest solution is to ... | https://mail.python.org/pipermail/xml-sig/2003-December/010044.html | CC-MAIN-2017-22 | en | refinedweb |
MAY 2013 |
| 1
{cvu}
ISSN 1354-3164
ACCU is an organisation of programmers who care
about professionalism in programming. That is, we
care about writing good code, and about writing it in
a good way. We are dedicated to raising the standard
of programming.
ACCU exists for programmers at all levels of
experience, from s... | https://www.techylib.com/en/view/secrettownpanamanian/cvu_accu | CC-MAIN-2017-22 | en | refinedweb |
.il.http;23 24 import javax.net.ssl.HostnameVerifier;25 import javax.net.ssl.SSLSession;26 27 /* An implementation of the HostnameVerifier that accepts any SSL certificate28 * hostname as matching the https URL that was used to initiate the SSL connection.29 * This is useful for testing SSL setup in development environ... | http://kickjava.com/src/org/jboss/mq/il/http/AnyhostVerifier.java.htm | CC-MAIN-2017-22 | en | refinedweb |
How VPN Pivoting Works (with Source Code)October 14, 2014
A VPN pivot is a virtual network interface that gives you layer-2 access to your target’s network. Rapid7’s Metasploit Pro was the first pen testing product with this feature. Core Impact has this capability too.
In September 2012, I built a VPN pivoting feature... | https://blog.cobaltstrike.com/2014/10/14/how-vpn-pivoting-works-with-source-code/ | CC-MAIN-2017-22 | en | refinedweb |
The Wipe-Eyeglasses is a new invention that wipes automatically your eyeglasses or your sunglasses.
Today, eyeglasses and sunglasses are very important in our life. Seeing well is a priority, so having clean eyeglasses is necessary. Then, when we wipe our glasses, we mechanically use what we have at hand : a piece of t... | http://www.instructables.com/id/The-Wipe-Eyeglasses-1/ | CC-MAIN-2017-22 | en | refinedweb |
resque-scheduler
Description
Resque-scheduler is an extension to Resque that adds support for queueing items in the future., argument) # runs a job in 5 days, calling SendFollowupEmail.perform(argument) # or Resque.enqueue_at(5.days.from_now, SomeJob, argument) # runs a job at a specific time, calling SomeJob.perform(a... | http://www.rubydoc.info/gems/resque-scheduler/frames | CC-MAIN-2017-22 | en | refinedweb |
#include <hallo.h> Anthony Towns wrote on Tue Dec 17, 2002 um 09:00:32PM: > Before we spend time, effort or imagination on this, there needs to be > some evidence that it'll actually benefit people. Well, how did other distribution manage this situation? Anyone tracking their changes and willing to make an overview? My... | https://lists.debian.org/debian-devel/2002/12/msg01100.html | CC-MAIN-2017-22 | en | refinedweb |
Standard Template Library(STL) is a general purpose library consisting of containers, generic algorithms, iterators, function objects, allocators, adaptors and data structures. The data structures used by the algorithms are abstract in the sense that the algorithms can be used with (practically) any data type.
The algo... | http://ftp.icce.rug.nl/documents/cplusplus/cplusplus18.html | CC-MAIN-2017-22 | en | refinedweb |
- (329)
- Academic Free License (20)
- Affero GNU Public License (1)
- Apache License V2.0 (10)
- Apache Software License (3)
- Artistic License (2)
- Attribution Assurance License (1)
- BSD License (47)
- Boost Software License (1)
- Common Development and Distribution License (2)
- Common Public License 1.0 (2)
- Ec... | https://sourceforge.net/directory/development/algorithms/language%3Ac/?sort=name&page=8 | CC-MAIN-2017-22 | en | refinedweb |
Opened 6 years ago
Closed 6 years ago
#14815 closed (duplicate)
app "labels" are ambiguous and cause bugs in manage.py
Description
In several places in django/db/models/loading.py, apps are looked up
via a non-namespaced name: that is, if your settings.INSTALLED_APPS
contains 'django.contrib.admin', the string 'admin' ... | https://code.djangoproject.com/ticket/14815 | CC-MAIN-2017-22 | en | refinedweb |
is not be editable in the inspector.
// Create a plane and dont let it be modificable in the Inspector // nor in the Sceneview.
function Start() { var createdGO : GameObject = GameObject.CreatePrimitive(PrimitiveType.Plane); createdGO.hideFlags = HideFlags.NotEditable; }
using UnityEngine; using System.Collections;
pu... | https://docs.unity3d.com/ScriptReference/HideFlags.NotEditable.html | CC-MAIN-2017-22 | en | refinedweb |
import "github.com/spf13/hugo/tpl/cast"
cast.go docshelper.go init.go
Namespace provides template functions for the "cast" namespace.
New returns a new instance of the cast-namespaced template functions.
ToInt converts the given value to an int.
ToString converts the given value to a string.
Package cast imports 5 pack... | https://godoc.org/github.com/spf13/hugo/tpl/cast | CC-MAIN-2017-22 | en | refinedweb |
tgext.menu 1.0rc3
Automatic menu/navbar/sidebar generation extension for TurboGears== Welcome to the TurboGears Menu Extension ==
tgext.menu provides a way for controllers to be more easily reused,
while providing developers a way to stop worrying about the menus in
their application. In a nutshell, that is what you ge... | https://pypi.python.org/pypi/tgext.menu/ | CC-MAIN-2017-47 | en | refinedweb |
Welcome to Cisco Support Community. We would love to have your feedback.
For an introduction to the new site, click here. And see here for current known issues.
Hello Community,
I've converted an EEM to Tcl using the tool on this site. However, I'm getting the following error:
R3(config)#event manager policy OjectTrack... | https://supportforums.cisco.com/t5/eem-scripting/tcl-script-assistance-modification/td-p/2242862 | CC-MAIN-2017-47 | en | refinedweb |
MPI_Op_freeFrees a user-defined combination function handle
int MPI_Op_free( MPI_Op *op );
Parameters
- op
- [in] operation (handle)
RemarksMarks a user-defined reduction operation for deallocation and sets op to MPI_OP_NULL on exit.
Null Handles
The MPI 1.1 specification, in the section on opaque objects, explicitly
d... | http://mpi.deino.net/mpi_functions/MPI_Op_free.html | CC-MAIN-2017-47 | en | refinedweb |
Creating Visual Web Parts for Sharepoint 2010 using Visual Studio 2010 – Part 1
Visual Studio 2010 development tools for Sharepoint 2010 provide an easy way to develop custom solutions for Sharepoint with minimum effort. Developing for Sharepoint 2010 is now as easy as developing ASP.NET web applications.
Development t... | http://techwirenews.com/2012/02/03/creating-visual-web-parts-for-sharepoint-2010-using-visual-studio-2010-%E2%80%93-part-1-2/ | CC-MAIN-2017-47 | en | refinedweb |
Image.blend(image1, image2, alpha)
Returns: Imagethat creates a new image by morphing image1 and image2, using a constant alpha.
outImage =.
Note: Both images must have the same size.
In this task, you will create a function called morphPicture that has two arguments representing the file names of image1 and image2. Yo... | http://www.dreamincode.net/forums/topic/295582-morphing-images/ | CC-MAIN-2017-47 | en | refinedweb |
I've a desktop application to detect faces written in python script, using opencv and numpy.
i want to put these python files into flask and run it, would it run without problems? like
import cv2
import numpy as np
from flask import Flask
app = Flask(__name__)
## define my functions here
@app.route('/')
def hello_world... | https://codedump.io/share/xE2i3Y4zDGYH/1/run-python-script-into-flask | CC-MAIN-2017-47 | en | refinedweb |
This question really makes no sense in Java. We can't just make a pointer to the middle of a String... We have to make a new String anyway, so the problem is trivial using basic String methods.
public class Solution { public String strStr(String haystack, String needle) { int pos = haystack.indexOf(needle); if (pos == ... | https://discuss.leetcode.com/topic/4210/this-question-makes-no-sense-in-java | CC-MAIN-2017-47 | en | refinedweb |
TypeScript Fundamentals.
Welcome and Setup
We’ll introduce ourselves and meet each other, and ensure everyone is properly set up for the course.
Strange JavaScript & The Benefits of Types
JavaScript has some quirky characteristics that can lead to considerable confusion, particularly from those who come from a backgrou... | https://simplabs.com/training/2017-05-01-typescript-fundamentals.html | CC-MAIN-2017-47 | en | refinedweb |
Add animate.css
" npm install animate.css --save" in your project directory
import in main.js
import Vue from 'vue' import Quasar from 'quasar' import 'animate.css/animate.min.css'
- add <transition> to the element/component you want to animate
more info here:
<div class="row"> <button @ toggleIt </button> <transition ... | http://forum.quasar-framework.org/topic/199/add-animate-css | CC-MAIN-2017-47 | en | refinedweb |
In the last article we set up a new project with NPM and installed some dependencies including Webpack. In Node.js we build code in modules and export functionality that is required by other modules. This module system is called CommonJS and we will be using this approach for both our server side Node.js code and our f... | http://spraso.com/webpack-react-js-and-modern-javascript-application-development/ | CC-MAIN-2017-47 | en | refinedweb |
- Redux Form
- API
reducer
reducer
The form reducer. Should be given to mounted to your Redux state at
form.
If you absolutely must mount it somewhere other than
form, you may provide a
getFormState(state)function to the
reduxForm()decorator, to get the slice of the Redux state where you have mounted the
redux-formredu... | https://redux-form.com/6.5.0/docs/api/reducer.md/ | CC-MAIN-2017-47 | en | refinedweb |
AOP – Encrypting with AspectJ using an Annotation
This is a continuation of AOP – Encrypting with AspectJ. It is expected you have read (or skimmed) that article first. This article uses the same project. The files in the project so far are these:
- Encrypt.java
- EncryptFieldAspect.aj
- FakeEncrypt.java
- Main.java
- ... | https://www.rhyous.com/2012/05/26/aop-encrypting-with-aspectj-using-an-annotation/ | CC-MAIN-2017-47 | 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.
django-ipgeo application
What is this?
django-ipgeo provides API to work with database from ipgeobase.ru
How to use it?
Install via pip django-ipgeo package.
Add "ipgeo" to INST... | https://bitbucket.org/lorien/django-ipgeo | CC-MAIN-2019-04 | en | refinedweb |
Introduction to Visual Basic and Visual C++ Array. What is Array? Why use Array?
- Heather Perry
- 2 years ago
- Views:
Transcription
1 Introduction to Visual Basic and Visual C++ Array Lesson 7 Declare and Assign Array I154-1-A Peter Lo I154-1-A Peter Lo What is Array? Why use Array? An array is a collection of data o... | http://docplayer.net/22697678-Introduction-to-visual-basic-and-visual-c-array-what-is-array-why-use-array.html | CC-MAIN-2019-04 | en | refinedweb |
I’m creating a new method in the SPI definition of the TinyClr for the G120. How does that method show up in visual studio?
How do new methods show up in Visual Studio when you update TinyClr
Creating a new definition in SPI where? I’m not sure what you mean
I’m trying to create a new method in the C++ file: LPC17_SPI.... | https://forums.ghielectronics.com/t/how-do-new-methods-show-up-in-visual-studio-when-you-update-tinyclr/20867 | CC-MAIN-2019-04 | en | refinedweb |
Buttons communicate the action that will occur when the user touches them.
Material buttons trigger an ink reaction on press. They may display text, imagery, or both. Flat buttons and raised buttons are the most commonly used types.
Flat buttons are text-only buttons. They may be used in dialogs, toolbars, or inline. T... | https://material-ui-next.com/demos/buttons/ | CC-MAIN-2019-04 | en | refinedweb |
This is a very exciting day for me as two major projects I am deeply involved with are having a major launch. First of all Fedora Workstation 24 is out which crosses a few critical milestones for us. Maybe most visible is that this is the first time you can use the new graphical update mechanism in GNOME Software to ta... | https://blogs.gnome.org/uraeus/2016/06/21/fedora-workstation-24-is-out-and-flatpak-is-now-officially-launched/ | CC-MAIN-2019-04 | en | refinedweb |
.
Enter Docker containers. Containers make it possible to isolate applications into small, lightweight execution environments that share the operating system kernel. Typically measured in megabytes, containers use far fewer resources than virtual machines and start up almost immediately. They can be packed far more den... | https://www.infoworld.com/article/3204171/docker/what-is-docker-docker-containers-explained.html | CC-MAIN-2019-04 | en | refinedweb |
So, I have a new Raspberry Pi 3, a new Raspberry Pi Camera module and a Twitter account. What can we build from this? How about a Raspberry Pi that will search out a specific hashtag and when it finds it sends a tweet to the originator of the tweet with the hashtag. Now building on that, we would like to be able to sen... | https://alaskaraspi.wordpress.com/2017/03/11/alaska-raspi-twitterpi/ | CC-MAIN-2019-04 | en | refinedweb |
SDK Documentation: Super Users
Why Send User Data?
Sending user data to us will annotate your users’ sessions, giving you more insight into who is using your app (Super Users) and who is seeing which in-app UI flows (Release Notes, Onboarding, etc.).
You can add as little or as much information as you’d like. We recomm... | https://apptoolkit.io/sdk/super-users/ | CC-MAIN-2019-04 | en | refinedweb |
Now that we have established the basic functionality for our API, and put it through rigorous testing, it's time to take the next step and hook up our frontend.
Wait, but didn't we say in this lesson that we would not be focusing on
.hbs and routing for our API - that we are providing raw data for users to query and no... | https://www.learnhowtoprogram.com/java/api-development-extended-topics/jadle-frontend-json-gson-and-postman | CC-MAIN-2019-04 | en | refinedweb |
Material-UI tries to make composition as easy as possible.
In order to provide the maximum flexibility and performance,
we need a way to know the nature of the child elements a component receives.
To solve this problem we tag some of our components when needed
with a
muiName static property.
However, users like to wrap... | https://material-ui-next.com/guides/composition/ | CC-MAIN-2019-04 | en | refinedweb |
#include <pcap/pcap.h> int pcap_get_selectable_fd(pcap_t *p);
Some network devices opened with pcap_create(3PCAP) and pcap_activate(3PCAP), or with pcap_open_live(3PCAP), do not support those calls (for example, regular network devices on FreeBSD 4.3 and 4.4, and Endace DAG devices), so PCAP_ERROR is returned for those... | https://www.tcpdump.org/manpages/pcap_get_selectable_fd.3pcap.html | CC-MAIN-2019-04 | en | refinedweb |
If.
Recently I also saw this on Twitter:
In #React-land: is it legit to have a component that only *does* stuff, but isn't visible? i.e. for setting cookie from a dispatched redux action, or kick off a background task, etc.— @rem (@rem) November 30, 2017
The idea is interesting so I decided to experiment and see the pr... | http://outset.ws/blog/article/react-markup-as-function | CC-MAIN-2019-04 | en | refinedweb |
REST interface for JBPMAlexei none Mar 17, 2010 7:29 AM
1. Re: REST interface for JBPMRonald van Kuijk Mar 17, 2010 8:18 AM (in response to Alexei none)
Would be nice if you could write a blog post about this.
Curious though why you used jaxb for a rest interface... jaxb=xml, rest!=xml right?
2. Re: REST interface for ... | https://developer.jboss.org/message/532596 | CC-MAIN-2018-05 | en | refinedweb |
// MetaphoneCOM.cpp : Implementation of DLL Exports.
#include "stdafx.h"
#include "resource.h"
// The module attribute causes DllMain, DllRegisterServer and DllUnregisterServer to be automatically implemented for you
[ module(dll, uuid = "{845FE5AF-CC53-4C37-9464-EE20A866B9B0}",
name = "MetaphoneCOM",
helpstring = "Ada... | https://www.codeproject.com/script/Articles/ViewDownloads.aspx?aid=4620&zep=MetaphoneCOM%2FMetaphoneCOM.cpp&rzp=%2FKB%2Fstring%2Fdmetaphone1%2F%2Fdmetaphone_src.zip | CC-MAIN-2018-05 | en | refinedweb |
Television Listings and XMLTV
February 18, 2004
Introduction
For several years I've wanted to assemble my own PC. Every time I decided to replace my computer, I would say that maybe this time I will get around to building my own. This resolution lasted about as long as it took for me to go to Dell and price its latest,... | https://www.xml.com/pub/a/2004/02/18/xmltv.html | CC-MAIN-2018-05 | en | refinedweb |
ProgrammerGuy123Member
Content count11
Joined
Last visited
Community Reputation127 Neutral
About ProgrammerGuy123
- RankMember
Updating Entities in a Chunk Based System
ProgrammerGuy123 posted a topic in General and Gameplay Programming.
Game Design With Update and Draw Functions
ProgrammerGuy123 posted a topic in Gene... | https://www.gamedev.net/profile/198373-programmerguy123/?tab=topics | CC-MAIN-2018-05 | en | refinedweb |
[
]
Sean Winard commented on FLINK-4977:
------------------------------------
It looks like changing the access modifier of the enum can make this work. In the case of
my small example program, you can make the enum {{public}} and it will work. In my real program,
I have a separate top-level enum class which is package... | http://mail-archives.apache.org/mod_mbox/flink-issues/201611.mbox/%3CJIRA.13016672.1477936198000.145177.1478016298327@Atlassian.JIRA%3E | CC-MAIN-2018-05 | en | refinedweb |
Set up the namespace with full DES authentication, even if the domains will operate in NIS-compatibility mode. Use the NIS+ scripts described in Solaris Naming Setup and Configuration Guide to set up your namespace; see Solaris Naming Administration Guide for more explanation of NIS+ structure and concepts. Then perfor... | https://docs.oracle.com/cd/E19455-01/806-2904/6jc3d07hr/index.html | CC-MAIN-2018-05 | en | refinedweb |
Problem with the toString() method and a "result" field
Given this protocol structure, with a field with name="result":
<struct name="styx_test"> <var name="result" type="int8" /> </struct>
The corresponding generated Java class is the following:
public class StyxTest implements ProtocolObject, Visitable { ... public b... | https://bitbucket.org/cubeia/cubeia-styx/issues/14/problem-with-the-tostring-method-and-a | CC-MAIN-2018-05 | en | refinedweb |
The basic idea of this program is to recursively compute the height of the left subtree and of the right subtree. If the returned two heights' are both positive and their difference is less or equal to 1, return the larger height. Otherwise, return -1 which indicates there existing heights' differ than 1.
/** * Definit... | https://discuss.leetcode.com/topic/21804/java-simple-o-n-solution | CC-MAIN-2018-05 | en | refinedweb |
TypeScript JSX syntax as a typed DSL
TypeScript has support for JSX and TypeScript’s compiler provides really nice tools to customize how JSX will be compiled and ultimately gives the ability to write DSL over JSX that will be type-checked on compile time. This article is exactly about that — how to implement a DSL ove... | https://medium.com/@dempfi/typescript-jsx-syntax-as-typed-dsl-97c052b825c8 | CC-MAIN-2018-05 | en | refinedweb |
I am pleased to announce that the new version of nScale, 0.16, has been released today! This new release includes several new features and improvements, including: AWS Auto Scaling groups support, deployment of multiple versions of the same microservice, and a clean start/stop cycle. Update it with:
npm install nscale ... | https://www.nearform.com/blog/nscale-0-16-now-deploying-aws-auto-scaling-group/ | CC-MAIN-2017-39 | en | refinedweb |
secure-filters is a collection of Output Sanitization functions ("filters")
to provide protection against Cross-Site Scripting
(XSS) and other
injection attacks.
npm install --save secure-filters
html(value)- Sanitizes HTML contexts using entity-encoding.
js(value)- Sanitizes JavaScript string contexts using backslash-... | https://www.npmjs.com/package/secure-filters | CC-MAIN-2017-39 | en | refinedweb |
UPDATE 15 February 2014: BoostPro is no more. You may find this alternative post useful in setting up the Boost libraries that require separate compilation.
A number of Windows-based Boost libraries are not “header-only” and require that you must get them compiled. One way is to compile them yourself. A possibly easier... | http://www.technical-recipes.com/2012/using-boostpro-to-install-boost-library-packages/ | CC-MAIN-2017-39 | en | refinedweb |
Analyzing my Spotify Music Library With Jupyter And a Bit of Pandas
Or the quest to cleanup my saved songs to play everything on random.
Are you a Spotify user? By now, that’s the way I consume most of my music.
Recently, I have been developing a web app which uses the Spotify API in part for a series of posts about de... | https://vsupalov.com/analyze-spotify-music-library-with-jupyter-pandas/ | CC-MAIN-2017-39 | 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.
How to Set Default Directory for Attachments Depedning on Object
I am implementing the Knowledge Management module in odoo v8 and... | https://www.odoo.com/forum/help-1/question/how-to-set-default-directory-for-attachments-depedning-on-object-82312 | CC-MAIN-2017-39 | en | refinedweb |
Exchange Server 2003 goes into Extended Support on 4/14/2009.Details on our lifecycle policy for Exchange 2003 can be found at Products Released General Availability Date Mainstream Support Retired Extended Support Retired Service Pack Retired Notes Exchange Server 2003 Enterprise Edition 9/28/2003 4/14/2009 4/8/2014 5... | https://blogs.msdn.microsoft.com/nayan/?m=20094 | CC-MAIN-2017-39 | en | refinedweb |
0
I have set up a code in a class but i am not sure if this is the class that i would use.I have to put the logic of the game in a Class and then use the methods from the class to run the game.Right now i have some methods in a class but i am not sure on how i would go on getting it to work and calling the functions.I ... | https://www.daniweb.com/programming/software-development/threads/159799/blackjack-game-help | CC-MAIN-2017-39 | en | refinedweb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.