text
stringlengths
20
1.01M
url
stringlengths
14
1.25k
dump
stringlengths
9
15
⌀
lang
stringclasses
4 values
source
stringclasses
4 values
Provides simple filtering and visualization tools for Monte-Carlo simulation data Blah It is released under the MIT license. import MCres #.. image:: # :align: center Documentation Refer to this page, Requirements MCres requires the following Python packages: - NumPy, Scipy: for basic numerical routines - astropy.io.fi...
https://pypi.org/project/MCres/
CC-MAIN-2017-47
en
refinedweb
. from brian2 import * from brian2tools import brian_plot %matplotlib notebook prefs.codegen.target = 'numpy' The following example is a leaky integrate-and-fire neuron with a constant current input. As soon as the membrane potential crosses the threshold of -50mV, a spike is emitted and the membrane potential reset to...
https://briansimulator.org/posts/2020/video-scheduling-1/
CC-MAIN-2020-40
en
refinedweb
This post shows you How to fix "Add-Migration : The term 'add-migration' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again." At line:1 char:1 + add-migration todo + ~~~~~~~~~~~~~...
https://c-sharpcode.com/thread/the-term-addmigration-is-not-recognized/
CC-MAIN-2020-40
en
refinedweb
In this C++ tutorial, let us have a look at Polymorphism, its implementation and sample C++ program for polymorphism. Introduction of Polymorphism Polymorphism refers to having more than one form. So, polymorphism means multiple forms of something. A real-life example of polymorphism is, a person at the same time can h...
https://www.codeatglance.com/cpp-polymorphism/
CC-MAIN-2020-40
en
refinedweb
Introduction to Pandas¶ Written by Luke Chang & Jin Cheong Analyzing data requires being facile with manipulating and transforming datasets to be able to test specific hypotheses. Data come in all different types of flavors and there are many different tools in the Python ecosystem to work with pretty much any type of ...
https://dartbrains.org/content/Introduction_to_Pandas.html
CC-MAIN-2020-40
en
refinedweb
If you would like to display a fullscreen image in your presentation and select specific part of it, in order to to zoom in/highlight them, the "Big Image" slide is the one you are looking-big-img The Stencil documentation provide examples of framework integration for Angular, React, Vue and Ember. That being said, com...
https://docs.deckdeckgo.com/slides/bigimg/
CC-MAIN-2020-40
en
refinedweb
In this tutorial we will learn how to obtain video from a webcam and convert it to black and white, using OpenCV and Python. image to black and white with this approach, please check here. The code shown below was tested on Windows 8.1, with version 4.1.2 of OpenCV. The Python version used was 3.7.2. The code As usual,...
https://techtutorialsx.com/2020/04/23/python-opencv-converting-camera-video-to-black-and-white/
CC-MAIN-2020-40
en
refinedweb
The book I'm using continues to give me code and fails to explain the syntax. I got to a chapter on operator overloading and it gave me some code but didn't actually explain any of the code. I having trouble understanding the Rectangle operator+ line and that methods contents. Why does there need to be a constant? why ...
https://www.daniweb.com/programming/software-development/threads/485023/overloading-operators
CC-MAIN-2020-40
en
refinedweb
This document serves the following purposes: * Document project resources (repository links, etc.) * Introduce and present an overview of the key components making up the CODES library * Introduce and present an overview of the key components making up the CODES networking library "model-net", along with available mode...
https://xgitlab.cels.anl.gov/codes/codes/blame/swm-compute-fix/doc/GETTING_STARTED
CC-MAIN-2020-40
en
refinedweb
Hi, my name is Eric Crooks. I'm one of the founders of Drash. In this article, I talk about what Drash is and why I decided to build it with one of my colleagues. Before diving into this article, know that all statements made are by me and all opinions are my own. Table of Contents - What is Drash? - Why was Drash buil...
https://dev.to/drash_land/why-was-drash-built-4bob
CC-MAIN-2020-40
en
refinedweb
#include <map> #include "common.h" #include "Segment2.h" #include "MsgBase.h" Go to the source code of this file. The Segment intersection type enumerates the way two line segments intersect each other Invalid value No intersection The intersection is a non-degenerate segment (collinear intersection) The intersection i...
https://www.geom.at/fade2d/html/SegmentChecker_8h.html
CC-MAIN-2020-40
en
refinedweb
This is the mail archive of the newlib@sourceware.org mailing list for the newlib project. On 2013-11-20 15:35, Joel Sherrill wrote: On 11/20/2013 8:26 AM, Corinna Vinschen wrote:On Nov 20 07:38, Joel Sherrill wrote:On 11/20/2013 3:46 AM, Corinna Vinschen wrote.. Thanks. The guards are tricky. glibc has #if defined __U...
https://sourceware.org/ml/newlib/2013/msg00926.html
CC-MAIN-2018-09
en
refinedweb
Catalyst::Model::DBIC::Schema - DBIx::Class::Schema Model Class_names=1. This is the classname of your DBIx::Class::Schema Schema. It needs to be findable in @INC, but it does not need to be inside the Catalyst::Model:: namespace. This parameter is required. This is a hashref or arrayref of connection parameters, which...
http://search.cpan.org/~rkitover/Catalyst-Model-DBIC-Schema-0.60/lib/Catalyst/Model/DBIC/Schema.pm
CC-MAIN-2018-09
en
refinedweb
register_gui Register interest in a graphical user interface. Functions Description Register one or more Python packages with the following interface, and surrounding Pyblish projects may utilise them where needed. Such as in file menu of the Autodesk Maya integration. Interface def show(): """Create or unhide the most...
https://api.pyblish.com/pages/register_gui.html
CC-MAIN-2018-09
en
refinedweb
Opened 5 years ago Closed 5 years ago Last modified 5 years ago #19524 closed Bug (fixed) DoesNotExist exception when adding object in admin with inline object Description models.py class Service(models.Model): provider = models.ForeignKey("services.ServiceProvider", verbose_name=_("Service provider"), related_name="se...
https://code.djangoproject.com/ticket/19524
CC-MAIN-2018-09
en
refinedweb
What is LDAP (Lightweight Directory Access Protocol) and how to use LDAP it in Asp.Net - Part 1 This article provides you a small introduction about LDAP - Lightweight Directory Access Protocol - I have explained very basic info related to LDAP and provided a simple example how to use it in Asp.net. The example will di...
http://www.dotnetspider.com/resources/45207-What-LDAP-Lightweight-Directory-Access-Protocol-how-use-LDAP.aspx
CC-MAIN-2018-09
en
refinedweb
Creating a .txt file based on the user interaction Hello, I'm right in the middle of designing a UI with Qt Quick for a Touch Screen. In the end, I want a UI that creates a .txt file which is then red by another programm. I still have no idea how to achieve this and I am starting to wonder it Qt Widget would have been ...
https://forum.qt.io/topic/73637/creating-a-txt-file-based-on-the-user-interaction
CC-MAIN-2018-09
en
refinedweb
Use Collections outside Laravel Tighten has created a Collections only split from Laravel’s Illuminate Support package. This is designed for stand-alone PHP packages that would still like to use Laravel Collections. In the README it says it’s a manual split with the goal of eventually automating the process. One issue ...
https://laravel-news.com/use-collections-outside-laravel/
CC-MAIN-2018-09
en
refinedweb
Expressions Expression -- from my dictionary: expression: Mathematics a collection of symbols that jointly express a quantity : the expression for the circumference of a circle is 2πr. In gross general terms: Expressions produce at least one value. In Python, expressions are covered extensively in the Python Language R...
https://pythonpedia.com/en/knowledge-base/4728073/what-is-the-difference-between-an-expression-and-a-statement-in-python-
CC-MAIN-2020-34
en
refinedweb
Investors considering a purchase of Signet Jewelers Ltd (Symbol: SIG) shares, but cautious about paying the going market price of $134.08/share, might benefit from considering selling puts among the alternative strategies at their disposal. One interesting put contract in particular, is the July 2016 put at the $105 st...
https://www.nasdaq.com/articles/agree-buy-signet-jewelers-105-earn-42-annualized-using-options-2015-11-24
CC-MAIN-2020-34
en
refinedweb
#include "nmeatime.h" Go to the source code of this file. Definition at line 43 of file info.h. Referenced by QgsNMEAConnection::processGSASentence(). Definition at line 44 of file info.h. Referenced by QgsNMEAConnection::processGSVSentence(). Summary GPS information from all parsed packets, used also for generating NM...
https://api.qgis.org/2.0/info_8h.html
CC-MAIN-2020-34
en
refinedweb
Hello everyone! My name is Danielle M. Villegas, and I’m the “resident blogger” at Adobe DITA World 2017. In this blog post, I will sum up the presentations of Day 1 of the conference. There was a lot of information on this first day of Adobe DITA World 2017, but hopefully, I’ll be able to give you some of the highligh...
https://blogs.adobe.com/techcomm/2017/10/adobe-dita-world-2017-day-1-summary.html
CC-MAIN-2020-34
en
refinedweb
import "github.com/golang/go/src/cmd/compile/internal/types" etype_string.go identity.go pkg.go scope.go sym.go type.go utils.go const ( IgnoreBlankFields componentsIncludeBlankFields = false CountBlankFields componentsIncludeBlankFields = true ) MaxPkgHeight is a height greater than any likely package height. var ( //...
https://godoc.org/github.com/golang/go/src/cmd/compile/internal/types
CC-MAIN-2020-34
en
refinedweb
C# Fundamentals • Posted 4 months ago In a previous article we have seen that in the context of Polymorphic behaviors, a compile-time polymorphism involves method overloading while a runtime polymorphism employs method overriding. In this article, let's talk in particular about what are method overloading and overridin...
https://referbruv.com/blog/posts/understanding-method-overloading-and-overriding
CC-MAIN-2020-34
en
refinedweb
move_to_background 1.0.1 Flutter plugin for sending application to background. Send your app to the background with one line of code. move_to_background # Flutter plugin for sending mobile applications to background. Supports iOS and Android. Getting Started # Install it (pubspec.yaml) # move_to_background: <latest> Im...
https://pub.dev/packages/move_to_background
CC-MAIN-2020-34
en
refinedweb
Let’s compare the evaluation steps of the application of two recursive methods. First, consider gcd, a method that computes the greatest common divisor of two numbers. Here's an implementation of gcd using Euclid's algorithm. def gcd(a: Int, b: Int): Int = if (b == 0) a else gcd(b, a % b) gcd(14, 21) is evaluated as fo...
https://www.scala-exercises.org/scala_tutorial/tail_recursion
CC-MAIN-2017-39
en
refinedweb
FileStream.FileStream(String, FileMode, FileAccess, FileShare, Int32, FileOptions) Constructor. #using <System.dll> using namespace System; using namespace System::IO; using namespace System::Text; using namespace System::Security::AccessControl; int main() { try { // Create a file and write data to it. // Create an ar...
https://msdn.microsoft.com/en-us/library/d0y914c5(v=vs.85).aspx?cs-save-lang=1&cs-lang=cpp
CC-MAIN-2017-39
en
refinedweb
I need to mock an interface to call to MSMQ, is there a way I can use Moq to simulate real MSMQ scenario that there are 10 messages in the queue, I call mocked function 10 times and I can get a pre-defined object, on 11th time I should get a different return value (e.g. null)? Moq now has an extension method called Set...
https://codedump.io/share/HBJzIcSo5Jqg/1/moq-to-set-up-a-function-return-based-on-called-times
CC-MAIN-2017-39
en
refinedweb
This is an excerpt from the Scala Cookbook (partially modified for the internet). This is Recipe 4.13, “How to define properties in an abstract base class or trait.”Back to top Problem Using Scala, you want to define abstract or concrete properties in an abstract base class (or trait) that can be referenced in all chil...
https://alvinalexander.com/scala/how-to-define-properties-fields-in-abstract-class-trait-scala
CC-MAIN-2017-39
en
refinedweb
This C program, using recursion, finds the GCD of the two numbers entered by the user. The user enters two numbers by using a space in between them or by pressing enter after each input. Here is the source code of the C program to display a linked list in reverse. The C program is successfully compiled and run on a Lin...
http://www.sanfoundry.com/c-program-gcd-numbers-recursion/
CC-MAIN-2017-39
en
refinedweb
For this problem, if we look at the binary form of each number, we can get the idea that for each '1' (except for the first '1') it counts to two steps, for each '0', it counts to one step. So our goal is to use +1 or -1 to reduce steps. For example, 13 = 1101 If we plus one, we can get 1110; if we reduce one, we can g...
https://discuss.leetcode.com/topic/58839/java-3ms-bit-manipulation-solution
CC-MAIN-2017-39
en
refinedweb
Akka’s new Typed API has been released and it finally brings some type safety to the core actor API. When first trying to work with it, it wasn’t clear right away how certain concepts from untyped API map to this new API. Here are some caveats which can be helpful when migrating or incorporating it into your codebase. ...
https://dzone.com/articles/caveats-of-migrating-to-akka-typed-api
CC-MAIN-2017-39
en
refinedweb
Transforming XML with PHP [MaiaAIP01]. PEAR offers a wide variety of packages ready to use by PHP developers. Most PEAR packages are subclasses of the standard base classes [MaiaADLP01]. [Holman00]. While you need PEAR to use XML_Transformer, XSL transformations can be processed internally by PHP. PHP offers XSLT funct...
http://www.xml.com/pub/a/2003/06/18/php-xml.html
CC-MAIN-2017-13
en
refinedweb
Universal Windows apps enable you to target every Windows device in one solution. You develop once, share most of your code, and deploy on Windows, Windows Phone, or Xbox. The goal is to maximize the reuse of code. You can share code, user controls, styles, strings, and other assets between the Windows Phone and Window...
https://code.tutsplus.com/tutorials/creating-your-first-universal-windows-app--cms-23122
CC-MAIN-2017-13
en
refinedweb
Thanks for the report. I'll look into it! When the following program is run through valgrind, it states an error: #include <stdlib.h> #include <string.h> #include <curl/curl.h> int main() { struct curl_httppost * post = NULL; struct curl_httppost * last = NULL; char * request = malloc( 4096 ); memset( request, 1, 4096 ...
https://sourceforge.net/p/curl/bugs/1262/
CC-MAIN-2017-13
en
refinedweb
Charlie Maffitt Realizing that hitting “talk” on my phone dialed the previous number. Figuring out that the arrow next to my fuel gauge showed which side the car fuel door is on. Tab completion. A couple of times a month, I’ll have a “wow - that’s so useful and so simple” moment. One of the first times I experienced th...
https://www.bignerdranch.com/blog/ruby-moment-of-zen-method_missing/
CC-MAIN-2017-13
en
refinedweb
Why, - Get: To retrieve a resource. - Put: Creates or updates a resource with the provided details, ignoring completely, whatever is in there already, if anything. - Delete: Delete the specific resource. - Post: Submits the data to be processed by the given resource. Where to use Rest Service?I have divided this questi...
http://126kr.com/article/sjvl0ihk6
CC-MAIN-2017-13
en
refinedweb
Best Practices with Amazon Aurora This topic includes information on best practices and options for using or migrating data to an Amazon Aurora DB cluster. Topics - Determining Which DB Instance You Are Connected To - db.t2.medium DB Instance Class - Invoking an AWS Lambda Function - Using Amazon Aurora to Scale Reads ...
http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Aurora.BestPractices.html
CC-MAIN-2017-13
en
refinedweb
There have been a couple of discussions on the .NET RIA Services Forums regarding the DomainDataSource.DataView property. Colin Blair tossed in a comment that relates to something we’re working on: This looks like as good a place as any to say I would like to see the actual object behind IEditableCollectionView exposed...
http://jeffhandley.com/archive/2009/07/21/domaindatasource-dataview.aspx
CC-MAIN-2017-13
en
refinedweb
) shell extensions | GMail Drive shell | opera menu | shell for windows | shell namespace extension | box.net shell extension | download edit photo | sonic cd burner | shell | mobile sent 200 | spb shell | picasso photoshop | windows vista full Please be aware that Brothersoft do not supply any crack, patches, serial n...
http://www.brothersoft.com/mitec-shell-extension-pack-download-145057.html
CC-MAIN-2017-13
en
refinedweb
I have a program where I want to continue adding in an integer and string in a linked list. However when I print out the linked list it only prints out the last entered values and not the previous ones. So If I entered 3 Sally and then entered 6 Bob the linked list only prints out 6 bob. I want to be able to print out ...
https://codedump.io/share/DWi35w0njz0U/1/how-to-repeatedly-store-data-in-linked-lists
CC-MAIN-2017-13
en
refinedweb
Event Commander An EventBus, EventQueue, Command Pattern, and Undo-Redo library for Dart. Conventions Throughout this doc, properties/methods of classes will be listed in the following format: property_or_method : [modifiers] Type/ReturnType Event Bus The EventBus is the backbone for all of the EventQueue/Command/Undo-...
https://www.dartdocs.org/documentation/event_commander/0.1.2/index.html
CC-MAIN-2017-13
en
refinedweb
Time to Refactor XML? February 21, 2001 The W3C has been particularly busy over the last few weeks, releasing a flurry of new Working Drafts. While welcoming this progress, some members of XML-DEV have expressed concern over the new direction that these specifications have taken. Intertwined Specifications A succession...
http://www.xml.com/pub/a/2001/02/21/deviant.html
CC-MAIN-2017-13
en
refinedweb
iomap(7) iomap(7) NAME iomap - physical I/O address mapping SYNOPSIS #include <<<<sys/iomap.h>>>> DESCRIPTION The iomap mechanism allows the mapping (thus direct access) of physical I/O addresses into the user process address space. For PA- RISC machines, the physical I/O address space begins at 0xf0000000 and extends ...
http://modman.unixdev.net/?sektion=7&page=iomap&manpath=HP-UX-11.11
CC-MAIN-2017-13
en
refinedweb
Look Ma, No Tags July 24, 2002 XML combines all the inefficiency of text-based formats with most of the unreadability of binary formats. -- Oren Tirosh, comp.lang.python Silence is the mark of XML's ultimate success. The less people talk about XML, the more and more easily they use it, and the more using it is unremark...
http://www.xml.com/pub/a/2002/07/24/yaml.html
CC-MAIN-2017-13
en
refinedweb
CodePlexProject Hosting for Open Source Software Hey, I was wondering exactly how one is to appropriately do selects in a REST framework when the input type is complex. My example: I am returning an price estimate for a users submission. They send in parameters, and I return the estimate for their sale. public class Pr...
https://wcf.codeplex.com/discussions/295872
CC-MAIN-2017-13
en
refinedweb
Happy new year from Palo Alto! Please, I have been working for an inordinately long time trying to create some code for something that should be pretty basic. I have written some nice, simple PHP code that generates a random 11 digit alphanumeric codes, called $elevendigits, like this one: FFM00976YH5 What I now need t...
https://www.sitepoint.com/community/t/generate-modulus-10-luhn-check-digit-in-php-help/25244
CC-MAIN-2017-13
en
refinedweb
Hmm, now I see why apr_generate_random_bytes is not exported on AIX. For some reason I was checking apr.exp on linux and thought it was just a bug in older apr versions that apr_generate_random_bytes wasn't exported. my bad. So we have: #if APR_HAS_RANDOM ... APR_DECLARE(apr_status_t) apr_generate_random_bytes(unsigned...
http://mail-archives.apache.org/mod_mbox/apr-dev/200303.mbox/%3C3E7A6C41.7000802@stason.org%3E
CC-MAIN-2017-13
en
refinedweb
CubicWeb is designed to easily manipulate large amounts of data, and provides utilities to make imports simple. The main entry point is cubicweb.dataimport.importer which defines an ExtEntitiesImporter class responsible for importing data from an external source in the form ExtEntity objects. An ExtEntity is a transiti...
https://docs.cubicweb.org/book/devrepo/dataimport.html
CC-MAIN-2017-13
en
refinedweb
Sessions are objects linked to an authenticated user. The Session.new_cnx method returns a new Connection linked to that session. Connections provide the .execute method to query the data sources, along with .commit and .rollback methods for transaction management. There are two kinds of connections. Normal connections...
https://docs.cubicweb.org/book/devrepo/repo/sessions.html
CC-MAIN-2017-13
en
refinedweb
Survival in the changing business environment environment.gif. ORGANIZATIONAL PERFORMANCE According to Richard et al. (2009), "Organizational performance encompasses three specific areas of firm outcomes: (a) financial performance (profits, return on assets, return on investment, etc.); (b) product market performance (...
https://www.ukessays.com/essays/business/survival-in-the-changing-business-environment-business-essay.php
CC-MAIN-2017-13
en
refinedweb
C++ Quiz You've answered 0 of 76 questions correctly. (Clear) Question #153 Difficulty: According to the C++11 standard, what is the output of this program? #include <iostream> int main() { char* str = "X"; std::cout << str; } Problems? View a hint or try another question. I give up, show me the answer (make 3 more att...
http://cppquiz.org/quiz/question/153
CC-MAIN-2018-09
en
refinedweb
- Stop the subordinate permanently - Escalate the failure, thereby failing itself terminate implicit. build-in pattern the akka.pattern.BackoffSupervisor actor implements the so-called exponential backoff supervision strategy, which can be used to death-watch an actor, and when it terminates try to start it again, eac...
https://doc.akka.io/docs/akka/2.4.0/general/supervision.html
CC-MAIN-2018-09
en
refinedweb
Attached is an updated version of the LSPP requirements documentation following the recent concall. If anyone has any updates, please send them to me and I can update the document. - James -- James Morris <jmorris redhat com> ----------------------------------------------------------------------------- LSPP Requirement...
https://www.redhat.com/archives/redhat-lspp/2005-May/msg00055.html
CC-MAIN-2018-09
en
refinedweb
Meditations on Programming Theory meditation #4: Identification, part 2: functions In MOPT-03, I said that the theoretical difference between functions and variables was arbitrary, but useful. This time I'll explain why, and show how functions and variables work together. A function has all the same features a variable...
http://www.perlmonks.org/index.pl?parent=224813;node_id=3333
CC-MAIN-2018-09
en
refinedweb
A. I looked at the IMDB page structure(s) and scraped the relevant info and wrote it to an HTML page and CSV. Writing to a CSV will allow for data visualization with d3 (which I likely do when there's enough data from watching his movies). For this, I used BeautifulSoup, urllib2, re, csv, and python packages. After imp...
http://markpooley.github.io/blog/entries/2015/04/cage_page.html
CC-MAIN-2018-09
en
refinedweb
The Carousel control inherits from ItemsControl, representing a nice and smooth carousel. Carousel Control has a lot of properties for a flexible layouting. This control works fine with mouse, touch, and keyboard as well. Carousel Control is from UWP Community Toolkit. The UWP Community Toolkit is a collection of helpe...
http://www.c-sharpcorner.com/article/carousel-control-in-uwp/
CC-MAIN-2018-09
en
refinedweb
Today we're going to take a closer look at collections in Python, and two special features (iterators and generators) that let you create your own collection-like objects with special properties. 1. The Collection Protocol (again) You probably recall from an earlier lab exercise that there are some special methods you ...
http://zesty.ca/bc/explore-11.html
CC-MAIN-2017-13
en
refinedweb
Introduction In this tutorial, you'll learn how to create a mobile 3D game using C# and Unity. The objective of the game is to score as many points as possible. You'll learn the following aspects of Unity game development: - Setting up a 3D project in Unity - Implementing tap controls - Integrating physics - Creating P...
https://code.tutsplus.com/tutorials/create-a-basketball-free-throw-game-with-unity--cms-21203
CC-MAIN-2017-13
en
refinedweb
array triangles of all submeshes. When you assign a triangle array, the subMeshCount is set to 1. If you want to have multiple sub-Meshes, use subMeshCount and SetTriangles. It is recommended to assign a triangle array after assigning the vertex array, in order to avoid out of bounds errors. #pragma strict // Builds a...
https://docs.unity3d.com/ScriptReference/Mesh-triangles.html
CC-MAIN-2017-13
en
refinedweb
Scalability of Approximate Nearest Neighbors¶. from __future__ import division print(__doc__) # Authors: Maheshakya Wijewardena <maheshakya.10@cse.mrt.ac.lk> # Olivier Grisel <olivier.grisel@ensta.org> # # License: BSD 3 clause import time import numpy as np from sklearn.datasets.samples_generator import make_blobs fro...
http://scikit-learn.org/dev/auto_examples/neighbors/plot_approximate_nearest_neighbors_scalability.html
CC-MAIN-2017-13
en
refinedweb
Watching TAG Again July 3, 2002 Keeping Up With the Taggers Every few months I report on the state of the W3C's Technical Architecture Group (TAG). The TAG is probably the single most influential group of web architects, if for no other reason than the scope of W3C standards work, for which, institutionally, it serves ...
http://www.xml.com/pub/a/2002/07/03/tag-watch.html
CC-MAIN-2017-13
en
refinedweb
In our last installment, we learned about the standard validators that ship in the System.ComponentModel.DataAnnotations assembly. RequiredAttribute, RangeAttribute, StringLengthAttribute, and RegularExpressionAttribute all derive from ValidationAttribute and cover many common validation scenarios. Every system has its...
http://jeffhandley.com/archive/2010/09/25/RiaServicesCustomValidationMethods.aspx
CC-MAIN-2017-13
en
refinedweb
I've built many Enum classes with int getID() MyEnum withID(int) I'd say you are trying to solve the wrong problem. I usually persist enums as Strings and thereby avoid this problem in the first place. The drawback is of course a larger DB field, but that's hardly significant. That said: I'd say it's possible in genera...
https://codedump.io/share/GdMY05FljoKt/1/spring-custom-converter-for-all-enums
CC-MAIN-2017-13
en
refinedweb
I have already populated a numpy.histogram2d with a pair of lists (x0,y0) (x1,y1) (x0,y0) (x1,y1) np.histogram2D is not an object as pointed out in the comments. It is a function that returns an array with bin values as well as two for the bin edges. Nonetheless, as long as you do not compute a normed histogram, you ca...
https://codedump.io/share/kIJvUVUuFokt/1/is-it-possible-to-update--add-to-a-numpy-histogram-specifically-numpyhistogram2d-that-is-already-populated
CC-MAIN-2017-13
en
refinedweb
Use Case - Responding To User Input in QML Supported types of user input The Qt Quick module provides support for the most common types of user input, including mouse and touch events, text input, and key-press events. Other modules provide support for other types of user input for example, the Qt Sensors module provid...
https://doc-snapshots.qt.io/qt5-dev/qtquick-usecase-userinput.html
CC-MAIN-2019-22
en
refinedweb
of November 2, 2018 About implementation of joint activities of the State Parties of the Commonwealth of Independent States in the field of research and use of space in the peace purposes The governments of the State Parties of this agreement which further are referred to as with the Parties realizing importance of spa...
http://cis-legislation.com/document.fwx?rgn=111449
CC-MAIN-2019-22
en
refinedweb
On 2019-01-16 14:29, Cédric Le Goater wrote: > On 1/16/19 12:47 PM, Thomas Huth wrote: >> On 2019-01-16 12:43, Cédric Le Goater wrote: >>> On 1/11/19 9:17 AM, Thomas Huth wrote: >>>> When compiling the ppc code with clang and -std=gnu99, there are a >>>> couple of warnings/errors like this one: >>>> >>>> CC ppc64-softm...
http://lists.gnu.org/archive/html/qemu-devel/2019-01/msg03966.html
CC-MAIN-2019-22
en
refinedweb
Archived GeneralDiscussion. Zwiki 0.31 released, news --Simon Michael, Tue, 01 Jun 2004 13:33:48 -0700 reply Hi all, summer is coming; the "june edition" is ready for download at . Summary: Much i18n progress including a number of new translations; tracker cleanups and usability improvements; permissions fixes; tests, ...
http://zwiki.org/UserDiscussion200406
CC-MAIN-2019-22
en
refinedweb
Implement File Link Web Extensions API Status People (Reporter: Fallen, Assigned: darktrojan) Tracking (Blocks 1 bug) Thunderbird Tracking Flags (thunderbird_esr6064+ fixed, thunderbird64 fixed, thunderbird65 fixed) Details Attachments (3 attachments, 8 obsolete attachments) It would be nice if we can allow FileLink ad...
https://bugzilla.mozilla.org/show_bug.cgi?id=1481052
CC-MAIN-2019-22
en
refinedweb
Visual Studio 2019 version 16.1 Preview 3 Angel. IntelliCode Today, at Build 2019, we announced the general availability of IntelliCode, which gives you contextual IntelliSense recommendations powered by a machine learning model trained on thousands of open source repositories. IntelliCode now comes installed by defaul...
https://devblogs.microsoft.com/visualstudio/visual-studio-2019-version-16-1-preview-3/
CC-MAIN-2019-22
en
refinedweb
> Hi guys, I'm getting this error: error CS0246: The type or namespace name `CharacterMovement' could not be found. Are you missing a using directive or an assembly reference? The script is trying to reference the script "CharacterMovement" on the same gameObject level as itself, but it's coming up with this namespace ...
https://answers.unity.com/questions/1029223/error-cs0246-typenamespace-error.html
CC-MAIN-2019-22
en
refinedweb
This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of C++14 status. Section: 20.14.14.1 [func.bind.isbind] Status: C++14 Submitter: Sean Hunt Opened: 2010-07-19 Last modified: 2016-02-10 Priority: Not Prioritized View all other issues in [func.bind....
https://cplusplus.github.io/LWG/issue2010
CC-MAIN-2019-22
en
refinedweb
So, in advance, I have to admit that this is not quite as "good" a question as what is otherwise found here. It's not about a weird error, or something I can't figure out to do. I just get weird output. I've spent around 2 days simplifying the code, trying to pin down the error. I really can't. The project concerns sim...
https://www.daniweb.com/programming/software-development/threads/303487/1-out-of-4-or-9-identical-objects-gets-special-treatment
CC-MAIN-2019-22
en
refinedweb
Opened 4 years ago Closed 4 years ago #2656 closed defect (fixed) Regression: Notification not shown in icon popup Description Environment Chrome Adblock Plus 1.8.12.1440 Background #2642 moved the notification code into a separate module and thereby also removed the activeNotification variable from the background page...
https://issues.adblockplus.org/ticket/2656
CC-MAIN-2019-22
en
refinedweb
S sabeer6870-gmail-com @sabeer6870-gmail-com 7Reputation 6Posts 135Profile views 0Followers 0Following Posts made by sabeer6870-gmail-com - RE: Design push notification posted in Interview Questions - RE: Design push notification - yes its should be same as the one you might have been seen in your phone/email. 2.you ar...
https://discuss.leetcode.com/user/sabeer6870-gmail-com
CC-MAIN-2017-39
en
refinedweb
A custom appFolder configuration is lost when creating a sub-class hierarchy of more than one level. E.g. Ext.app.Application > myapp.app.AbstractApplication > myapp.app.MyApplication. If... A custom appFolder configuration is lost when creating a sub-class hierarchy of more than one level. E.g. Ext.app.Application > m...
https://www.sencha.com/forum/search.php?s=a1b662105f4853386cec849ecdc84ba2&searchid=19627412
CC-MAIN-2017-39
en
refinedweb
This is the program every Java programmer knows. I want to see what can be learned from this simple program. A simple start may lead to learning more complex stuff easier. It would be great if this post is interesting to read, not only for entry-level Java programmers. Please leave your comments if hello world means mo...
https://dzone.com/articles/what-can-we-learn-java
CC-MAIN-2017-39
en
refinedweb
AYLIEN Text API Client Library for Python Project Description Release History Download Files About This is the Python client library for AYLIEN’s APIs. If you haven’t already done so, you will need to sign up. Installation To install, simply use pip: $ pip install --upgrade aylien-apiclient See the Developers Guide for...
https://pypi.org/project/aylien-apiclient/
CC-MAIN-2017-39
en
refinedweb
of course, half the problem is not knowing how to mathematically solve the initial problem in the first place =) Moderators: SecretSquirrel, just brew it! MorgZ wrote:wats the quickest java implementation? Im tempted to give it a go since im pretty nifty at speedy algorithsm blitzy wrote:I'm glad my programming classes...
https://techreport.com/forums/viewtopic.php?f=20&t=17547&p=216110
CC-MAIN-2017-39
en
refinedweb
So I've recently been to job interview and was asked the following question. (Actually it was just a test writing, so I couldn't ask any questions) At the end of the main method, how many objects will be eligible for garbage collection? public class Main { public static void main(String[] args) { Object obj; for (int i...
https://codedump.io/share/4ehKtwUnRf2U/1/how-many-objects-will-be-eligible-for-garbage-collection
CC-MAIN-2017-39
en
refinedweb
So I was struggling for awhile with a binding issue in my Silverlight application, and learned the hard way that I forgot my basics. The scenario is fairly common. I have a view model that contains the entity I want to edit along with supporting lists. The common example I see on the web is something like this: public ...
https://csharperimage.jeremylikness.com/2009/10/silverlight-comboboxes-and-importance.html
CC-MAIN-2017-39
en
refinedweb
Red Hat Bugzilla – Bug 847719 Do not have '--force' option when using 'rhc domain delete' Last modified: 2015-05-14 22:02:40 EDT Description of problem: Haven't 'set force' option when using 'rhc domain delete' and haven't prompt when using 'rhc domain delete help',but delete a domain containing application,I can get p...
https://bugzilla.redhat.com/show_bug.cgi?id=847719
CC-MAIN-2017-39
en
refinedweb
I am using Application_Error() event to get all HTTP exceptions in web API. This event is returning all HTTP codes e.g."404","500" and using "Server.TransferRequest()" to transfer request to my "Error controller" for showing custom errors. But Application_Error() does not fire in case of HTTP Error "405"("The requested...
https://codedump.io/share/wN3xHtGHFaTG/1/handling-http-quot405quot-error-in-web-api-using-applicationerror-event
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, you need the twitter Python package for this recipe. You can install it with pip install twitter. () Then, you need to obtain authentication codes in order to access T...
http://nbviewer.jupyter.org/github/ipython-books/cookbook-code/blob/master/notebooks/chapter14_graphgeo/02_social.ipynb
CC-MAIN-2017-47
en
refinedweb
JAR Binding Project Settings: Target Framework: Nougat Android Class Parser: class-parse Android CodegenTarget: XamarinAndroid JAR Build Action: “InputJar” or “EmbeddedJar” (which is what I had read on Xamarin website). When the “Build Action” is changed to one of these two the following compiler error is received... E...
http://sqlanywhere-forum.sap.com/questions/30330/ultralite-jar-binding-project-build-in-vs-2017-vers-52
CC-MAIN-2017-47
en
refinedweb
The idea is to use each number i as root node, then the left branch will be what's less than i, the right branch will be what's larger than i. The total number of distinct structure is their product. Thus, sum up the product for all numbers. Use a map to memorize the visited number. public class Solution { public int n...
https://discuss.leetcode.com/topic/9474/simple-recursion-java-solution-with-explanation
CC-MAIN-2017-47
en
refinedweb
so i stumbled upon a few 'challenge questions' and decided to have a go. it should be my level. so anyways the question asked me to produce a code that makes me- input 2 numbers. the numbers get added ASWELL as the un numbers inbetween BUT excluding the numbers u input. then display the result. ie. if i input 5 and 2. ...
https://www.daniweb.com/programming/software-development/threads/309027/2-intergerrs-input-out-put-is-addition-of-all-in-between-numbers-help-please
CC-MAIN-2017-47
en
refinedweb
References in C# are second-class citizens, which is to say, that you cannot pass them around as values. They can appear in function parameter position, but that's it: public static void DoFoo(ref int value) { Action captureRef = () => value = 3; // ERROR: ref can't escape scope } This makes it easy to verify their saf...
https://higherlogics.blogspot.com/2013/11/first-class-references-for-net.html
CC-MAIN-2017-47
en
refinedweb
Generic functions Since ooc is strongly typed, usually when definining a function, it will only accept one type of argument: printInt: func (value: Int) { value toString() println() } But what if a function is meant to accept various types and react accordingly? Generics can be used for that: printAnything: func <T> (v...
https://ooc-lang.org/docs/lang/generics/
CC-MAIN-2017-47
en
refinedweb
This is the documentation for older versions of Odoo (formerly OpenERP). See the new Odoo user documentation. See the new Odoo technical documentation. 3 Automated YAML Tests Guideline¶ Note Please see also section YAML Data Serialization This is a guideline for project managers and developers on automated tests. 3.1 S...
https://doc.odoo.com/v6.1/contribute/15_guidelines/coding_guidelines_testing.html
CC-MAIN-2017-47
en
refinedweb
Applies to: PDFTextStream Indexing PDF documents with Lucene Apache Lucene is a full-text search engine written in Java. It is a perfect choice for applications that need 'built-in' search functionality: it's fast, works well with any kind of document structure, and is relatively painless to build around. Lucene is foc...
http://www.snowtide.com/help/indexing-pdf-documents-with-lucene-and-pdfxstream
CC-MAIN-2017-47
en
refinedweb
Python 3.5 + QT designer+ PyQT4 Hi everyone :) This is my first post here :) I create a main program called tyg. This is a Form with button. Also i created second program V1 and form called V1( Ui_V1). I would see this Form ( from V1) after when i click the button in program 'tyg'. I do everything from this anwser but ...
https://forum.qt.io/topic/71755/python-3-5-qt-designer-pyqt4
CC-MAIN-2017-47
en
refinedweb
Docbench -- Benchmark with Doctest Docbench is a framework based on doctest to benchmark Python code. If you already are familiar with doctest, you should be able to use docbench in minutes. And if you find that doctest is convenient – or Pythonic – hopefully you will feel the same about docbench ! We will walk you thr...
https://pypi.org/project/docbench/
CC-MAIN-2017-47
en
refinedweb
Setting up your AI Dev Environment in 5 Minutes. By Nick Walsh Whether you're a novice data science enthusiast setting up TensorFlow for the first time, or a seasoned AI engineer working with terabytes of data, getting your libraries, packages, and frameworks installed is always a struggle. While containerization tools...
https://www.kdnuggets.com/2018/08/ai-dev-environment.html
CC-MAIN-2021-17
en
refinedweb
Lightning Data Service is a declarative service that allows you to access, modify or create data in Salesforce with no need to write Apex code. The service provides a cache shared amongst all the components that use the service, and it is smart enough to notify those components about changes of the records performed th...
https://developer.salesforce.com/blogs/2019/09/caching-and-synchronizing-component-data-with-lightning-data-service.html
CC-MAIN-2021-17
en
refinedweb
Microsoft Hybrid Agent The Hybrid Agent removes some of the challenges you can face when you configure an Exchange Hybrid environment. The agent, which is built on the same technology as the Azure Application Proxy, removes some requirements for external DNS entries, certificate updates and inbound network connections ...
https://docs.microsoft.com/en-us/exchange/hybrid-deployment/hybrid-agent?WT.mc_id=M365-MVP-5003086
CC-MAIN-2021-17
en
refinedweb
Details - Type: Bug - Status: Closed (View Workflow) - Priority: Major - Resolution: Incomplete - Component/s: favorite-plugin - - Environment:Jenkins ver. 2.73.2 favorite 2.3.1 token-macro 2.3 - Similar Issues: Description When passing the ${FAVORITE_USERS_EMAIL} macro in the 'to:' line of a pipeline call to email-ext...
https://issues.jenkins.io/browse/JENKINS-47773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&showAll=true
CC-MAIN-2021-17
en
refinedweb
Real-Time Sentiment Analysis of a Phone Call Using NLTK and TextBlob in Python Speech to text conversion and real-time sentiment analysis In this project we are going to analyse the sentiment of the call. We are first going to convert the speech to text and the analyse the sentiment using TextBlob. TextBlob is a Python...
https://kgptalkie.com/real-time-sentiment-analysis-of-a-phone-call-using-nltk-and-textblob-in-python/
CC-MAIN-2021-17
en
refinedweb
. The length of dynamically allocated arrays has to be a type that’s convertible to std::size_t. We could use int, but that would cause a compiler warning when the compiler is configured with a high warning level. We have the choice between using std::size_t as the type of length, or declaring length as an int and then...
https://www.learncpp.com/cpp-tutorial/dynamically-allocating-arrays/
CC-MAIN-2021-17
en
refinedweb