text stringlengths 20 1.01M | url stringlengths 14 1.25k | dump stringlengths 9 15 ⌀ | lang stringclasses 4
values | source stringclasses 4
values |
|---|---|---|---|---|
Welcome to Part 10 of the creating and Artificial Intelligence bot in StarCraft II with Python series. In this tutorial, we're going to be working on the creation of our model.
The focus here is just purely to see if a model can learn from this style of input data. The training data I built and that I will be using can... | https://pythonprogramming.net/building-neural-network-starcraft-ii-ai-python-sc2-tutorial/ | CC-MAIN-2019-26 | en | refinedweb |
Implement windows NTLM authentication using SSPI
VERIFIED FIXED in mozilla1.4alpha
Status
()
People
(Reporter: daniel, Assigned: darin.moz)
Tracking
Firefox Tracking Flags
(Not tracked)
Details
Attachments
(2 attachments, 6 obsolete attachments)
Bug 23679 (NTLM auth for HTTP) is an rfe for implementing crossplatform NT... | https://bugzilla.mozilla.org/show_bug.cgi?id=159015 | CC-MAIN-2019-26 | en | refinedweb |
Download presentation
Published byCarolina Osen Modified over 4 years ago
1
10/6: Lecture Topics Procedure call Calling conventions The stack
Preservation conventions Nested procedure call
2
Calling Conventions Sequence of steps to follow when calling a procedure Makes sure: arguments are passed in flow of control from... | https://slideplayer.com/slide/3377993/ | CC-MAIN-2019-26 | en | refinedweb |
AppDaemon Tutorial? AppDaemon is not meant to replace Home Assistant Automations and Scripts, rather complement them. For a lot of things, automations work well and can be very succinct. However, there is a class of more complex automations for which they become harder to use, and appdeamon then comes into its own. It ... | https://home-assistant.io/docs/ecosystem/appdaemon/tutorial/ | CC-MAIN-2018-13 | en | refinedweb |
User interface to display and manage an entity and associated resourcesDownload PDF
Info
- Publication number
- US7743332B2US7743332B2 US10967392 US96739204A US7743332B2 US 7743332 B2 US7743332 B2 US 7743332B2 US 10967392 US10967392 US 10967392 US 96739204 A US96739204 A US 96739204A US 7743332 B2 US7743332 B2 US 77433... | https://patents.google.com/patent/US7743332?oq=5%2C815%2C488 | CC-MAIN-2018-13 | en | refinedweb |
Have a look at the messages from the top…
It will answer all…
Regarding the CSV…
After removing the space inbetween,
At the time of submission we need to undo that …using
data.classes…
Have a look at the messages from the top…
It will answer all…
Regarding the CSV…
After removing the space inbetween,
At the time of sub... | http://forums.fast.ai/t/kaggle-comp-plant-seedlings-classification/8212?page=5 | CC-MAIN-2018-13 | en | refinedweb |
In this example, we will compare the F# and C# code for downloading a web page, with a callback to process the text stream.
We’ll start with a straightforward F# implementation.
// "open" brings a .NET namespace into visibility open System.Net open System open System.IO // Fetch the contents of a web page let fetchUrl ... | https://fsharpforfunandprofit.com/posts/fvsc-download/ | CC-MAIN-2018-13 | en | refinedweb |
- NAME
- SEE ALSO
- LICENSE
- AUTHOR
NAME
Test::Run::Base::PlugHelpers - base class for Test::Run's classes with pluggable helpers.
$self->register_pluggable_helper( { %args } )
Registers a pluggable helper class (commonly done during initialisation). %args contain the following keys:
'id'
The 'id' identifying this cla... | https://metacpan.org/pod/Test::Run::Base::PlugHelpers | CC-MAIN-2018-13 | en | refinedweb |
I applied for to road test [1] the Intel Joule 570X because it is one of the most powerfull soultions in market.
I'm Embedded Software Engieer focused on such solutions.
My plan is to attempt 3 phases of road testing:
1. Setup device to run Windows and Linux enviroment
2. Run and deploy Hello World applications on both... | https://www.element14.com/community/roadTestReviews/2429/l/Intel%C2%AE-Joule%E2%84%A2-570x-Developer-Kit | CC-MAIN-2018-13 | en | refinedweb |
There were several exciting announcements at Google IO 2017: too many to go through all in one post. The thing that stood out to me the most (other than Kotlin of course 😉) were the Android Architecture Components.
Google has finally given us some guidance around recommended architecture on Android and they’ve done so... | https://academy.realm.io/posts/android-architecture-components-and-realm/ | CC-MAIN-2018-13 | en | refinedweb |
I am attempting to run Python code on a Coldfusion server using Java. I am familiar with CFML but an absolute beginner with Java.
I can instantiate the objects and list their methods ok, however I am getting stuck with different object types.
The example I am trying to get to work in Coldfusion is
import javax.script.S... | https://codedump.io/share/bliKQ6Lj7sHR/1/java-and-jsr-223-to-run-python-or-ruby-code-on-a-coldfusion-server | CC-MAIN-2018-13 | en | refinedweb |
Short Description
Python environment for proso-apps
Full Description
PROSO Apps
Development
Setup your local virtual environment:
mkvirtualenv proso-apps
If the environment already exists, activate it:
workon proso-apps
To install/reinstall the project:
make install|reinstall
If you want to download javascript dependen... | https://hub.docker.com/r/hkarasek/proso-apps/ | CC-MAIN-2018-13 | en | refinedweb |
The Visual Studio 2015 updates 2 brings several improvement. Among all of them, one of the small but vary handy improvement is “Add Using command” for misspelled types using “fuzzy” matching. In case there is a typo for any predefined types, Visual Studio search the entire solution, analyze the meta data uses the fuzzy... | https://dailydotnettips.com/2016/05/18/add-using-command-for-misspelled-types-usingfuzzy-matching-visual-studio-2015/ | CC-MAIN-2018-13 | en | refinedweb |
ECF/Bot Framework
The Bot Framework was introduced as a new API in ECF's 1.0.0M6 release. It interoperated with the presence API which allowed it to be leveraged as both a typical chatroom-oriented bot in addition to one that was based around instant messaging. A bot can easily be created with just an implementation of... | http://wiki.eclipse.org/index.php?title=ECF/Bot_Framework&oldid=143262 | CC-MAIN-2017-22 | en | refinedweb |
...one of the most highly
regarded and expertly designed C++ library projects in the
world. — Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Read a Sequence from an input stream.
template <typename IStream, typename Sequence> IStream& operator>>(IStream& is, Sequence& seq);
is >> seq
Return type: IStream&
Se... | http://www.boost.org/doc/libs/1_64_0/libs/fusion/doc/html/fusion/sequence/operator/i_o/in.html | CC-MAIN-2017-22 | en | refinedweb |
NumericRevision
Since: BlackBerry 10.2.0
#include <bb/cascades/datamanager/NumericRevision>
To link against this class, add the following line to your .pro file: LIBS += -lbbcascadesdatamanager
A Revision which uses a 64-bit unsigned integer as the revision.
Overview
Inheritance
Public Functions Index
Public Functions
... | http://developer.blackberry.com/native/reference/cascades/bb__cascades__datamanager__numericrevision.html | CC-MAIN-2017-22 | en | refinedweb |
#include <pcre2.h>
This function builds a set of character tables for
character values()(3)(3) page and a description of the POSIX API in the pcre2posix(3) page. | http://manpages.courier-mta.org/htmlman3/pcre2_maketables.3.html | CC-MAIN-2017-22 | en | refinedweb |
Bugs in Web3CMS 1.0.7.r6 (User)
#21
Posted 12 October 2009 - 08:06 AM
In this release we implemented discussed ideas.
In the next release we are going to implement jqGrid and some rich text editor.
Thanks for your interest!
#22
Posted 10 November 2009 - 09:40 AM
phpdevmd, on 12 October 2009 - 08:06 AM, said:
In this re... | http://www.yiiframework.com/forum/index.php/topic/3264-bugs-in-web3cms-107r6-user/page__st__20__p__47753 | CC-MAIN-2017-22 | en | refinedweb |
System Error Codes (9000-119 9000 to 11999). They are returned by the GetLastError function when many functions fail. To retrieve the description text for the error in your application, use the FormatMessage function with the FORMAT_MESSAGE_FROM_SYSTEM not supported by name server.
- DNS_ERROR_RCODE_REFUSED
- 9005 (0x2... | https://technet.microsoft.com/en-us/library/ms681391(v=vs.85).aspx | CC-MAIN-2017-22 | en | refinedweb |
This article shows how you can make your apps transparent using the new functions provided with Win2K. If you download the Platform SDK from Microsoft then these functions will be available, but those of you without fast Internet connections this article could be useful.
This is a mix of stuff I found on the net so if ... | https://www.codeproject.com/Articles/981/Win2K-transparent-dialogs?fid=1974&df=90&mpp=10&sort=Position&spc=None&select=540951&tid=856191 | CC-MAIN-2017-22 | en | refinedweb |
How to swap two numbers without using temp or third variable is common interview question not just on Java interviews but also on C and C++ interviews. It is also a good programming questions for freshers. This question was asked to me long back and didn't had any idea about how to approach this question without using ... | http://javarevisited.blogspot.com/2013/02/swap-two-numbers-without-third-temp-variable-java-program-example-tutorial.html?showComment=1379794909967 | CC-MAIN-2017-22 | en | refinedweb |
SDL_SetVideoModeSection: SDL API Reference (3)
Updated: Tue 11 Sep 2001, 23:01
Index Return to Main Contents
NAMESDL_SetVideoMode- Set up a video mode with the specified width, height and bits-per-pixel.
SYNOPSIS
#include "SDL.h"
SDL_Surface *SDL_SetVideoMode(int width, int height, int bpp, Uint32 flags);
DESCRIPTION
S... | http://www.thelinuxblog.com/linux-man-pages/3/SDL_SetVideoMode | CC-MAIN-2017-22 | en | refinedweb |
I'm working on a little program and I want to break it up into multiple source files and also use a make file. I can't seem to get my program to compile though and I don't know why. I type
and it doesn't compile. Here are some source files that illustrate my problem.and it doesn't compile. Here are some source files th... | https://cboard.cprogramming.com/cplusplus-programming/106964-multiple-source-files-make-files-scope-include.html | CC-MAIN-2017-22 | en | refinedweb |
So far, all of the variables used have been declared at the start of main() method. However, Java allows the variables to be declared within any block.
A block is begin with an opening curly brace and ended by a closing curly brace. A block defines a scope. Thus, each time you start a new block, you are creating a new ... | https://codescracker.com/java/java-variables-scope.htm | CC-MAIN-2017-22 | en | refinedweb |
) More appropriate string types in IO
Johan would.
SPJ: I don't understand either the problem or the solution.
(G5) Avoid code copies
Johan says: The I/O manager currently has a copy of IntMap inside its implementation because base cannot use containers. Why? Becuase
containers depends on
base, so
base can't depend on
... | https://ghc.haskell.org/trac/ghc/wiki/SplitBase?version=22 | CC-MAIN-2017-22 | en | refinedweb |
MicroPython libraries¶
This chapter describes modules (function and class libraries) which are built into MicroPython and CircuitPython. There are a few categories of modules:
- Modules which implement a subset of standard Python functionality and are not intended to be extended by the user.
- Modules which implement a... | http://circuitpython.readthedocs.io/en/latest/docs/library/index.html | CC-MAIN-2017-22 | en | refinedweb |
Designing Custom Exceptions
The following guidelines help ensure that your custom exceptions are correctly designed.
Avoid deep exception hierarchies.
For more information, see Types and Namespaces.
Do derive exceptions from System.Exception or one of the other common base exceptions.
Note that Catching and Throwing St... | https://msdn.microsoft.com/en-us/library/ms229064(v=vs.100).aspx | CC-MAIN-2017-22 | en | refinedweb |
> .
Cody had some patches for enabling sub namespaces in endpoints (as in enabling slashes). Might be worth pulling those in. - Joris ----------------------------------------------------------- > ------- > > This involved a lot more challenges than I anticipated, I've captured the > various approaches and limitations a... | https://www.mail-archive.com/reviews@mesos.apache.org/msg04981.html | CC-MAIN-2017-22 | en | refinedweb |
Brid. The binary-based solutions described in this page are appropriate for software beyond your control.
Gradual migration to SLF4J from Jakarta Commons Logging (JCL)
jcl-over-slf4j.jar
To ease migration to SLF4J from JCL, SLF4J distributions include the jar file jcl-over-slf4j.jar. This jar file is intended as a drop... | https://www.slf4j.org/legacy.html | CC-MAIN-2017-22 | en | refinedweb |
25 March 2007 22:28 [Source: ICIS news]
SAN ANTONIO (ICIS news)--Shell Chemical expects ethylene demand in ?xml:namespace>
Despite the lower operating rate, there had been expressions of interest for the Puerto Rico refinery which supplies heavy feedstock for Shell’s ethylene units, he said, but added that the group wa... | http://www.icis.com/Articles/2007/03/25/9015897/npra-07-shell-expects-flat-ethylene-demand.html | CC-MAIN-2014-35 | en | refinedweb |
Allows object modules included in the application to perform various registration operations after main() has been called. More...
Allows object modules included in the application to perform various registration operations after main() has been called.
Most products need to register with other products to provide info... | http://trilinos.sandia.gov/packages/docs/r11.4/packages/stk/doc/html/group__stk__util__bootstrap__detail.html | CC-MAIN-2014-35 | en | refinedweb |
Editor's note: In part one of this two-part series of excerpts from Eclipse, author Steve Holzner provided examples of how Eclipse makes it easier to create Java code from scratch. Continuing in that vein, in this week's concluding excerpt Steve covers creating Javadocs, refactoring, adding certain skills to your Eclip... | http://www.linuxdevcenter.com/lpt/a/4911 | CC-MAIN-2014-35 | en | refinedweb |
PrintServer Class
Manages the print queues on a print server, which is usually a computer, but can be a dedicated hardware print server appliance.
System.Printing.PrintSystemObject
System.Printing.PrintServer
System.Printing.LocalPrintServer
Namespace: System.PrintingNamespace: System.Printing
Assembly: System.Printing... | http://msdn.microsoft.com/EN-US/library/system.printing.printserver | CC-MAIN-2014-35 | en | refinedweb |
Introduction
Note: all the code examples can be found on my Github profile under visual-studio-projects accessible here:.
In this tutorial, we’ll take a look at various methods that we can use to inject a DLL into the process’ address space. For injecting a DLL into the process’s address space, we must have administrat... | http://resources.infosecinstitute.com/api-hooking-and-dll-injection-on-windows/ | CC-MAIN-2014-35 | en | refinedweb |
17 August 2012 05:38 [Source: ICIS news]
SINGAPORE (ICIS)--?xml:namespace>
No details on the current operating rate of the plant were immediately available.
Kaltim Methanol is jointly owned by
Sojitz does the overseas marketing for 70% of the methanol produced by the company, while the remaining 30% is marketed in
Many... | http://www.icis.com/Articles/2012/08/17/9587834/indonesias-kaltim-methanol-to-shut-bontang-methanol-unit-in-nov.html | CC-MAIN-2014-35 | en | refinedweb |
03 February 2012 04:43 [Source: ICIS news]
By Judith Wang
SINGAPORE (ICIS)--Spot adipic acid prices in Asia are expected to rise further in near-term as major suppliers hike offers, citing high feedstock costs, as well as improving demand, industry sources said on Friday.
On 1 February, adipic acid prices were assessed... | http://www.icis.com/Articles/2012/02/03/9529064/asia-adipic-acid-to-gain-on-rising-benzene-cost-better-demand.html | CC-MAIN-2014-35 | en | refinedweb |
msdn says its as simple as Directory::DirectoryCreate(path). but it says you have to be #using a dll and thats not working for me. does anyone know how to do this?
Printable View
msdn says its as simple as Directory::DirectoryCreate(path). but it says you have to be #using a dll and thats not working for me. does anyon... | http://cboard.cprogramming.com/windows-programming/75422-creating-directory-printable-thread.html | CC-MAIN-2014-35 | en | refinedweb |
Java 6 features - Java Interview Questions
Java 6 features What are the advanced features added in Java 6 compared to Java 5
Java Interview Questions - Page 6
Java Interview Questions - Page 6
....
Question: Is sizeof a keyword?
Answer: The sizeof operator is not a keyword.
Question: What are wrapped
java - Servlet In... | http://roseindia.net/tutorialhelp/comment/97425 | CC-MAIN-2014-35 | en | refinedweb |
New to the AIR 1.5.2 release (and the corresponding Flash Player, 10.0.32) is the LocalConnection.isPerUser property. Note that you’ll need to update your application’s namespace to …/1.5.2 to access this property. Here’s why you should do that.
LocalConnection provides local (i.e., on the same machine) communication b... | http://blogs.adobe.com/simplicity/2009/08/localconnectionisperuser_in_ai.html | CC-MAIN-2014-35 | en | refinedweb |
The service document
The
<?xml version="1.0" encoding="UTF-8"?> <app:service xmlns: <app:workspace> <atom:title>AdminBlog</atom:title> <app:collection <atom:title>Weblog Entries</atom:title> <app:categories app: <atom:category atom: <atom:category atom: </app:categories> <app:accept>entry</app:accept> </app:collection>... | http://www.ibm.com/developerworks/xml/library/x-atomsidebar/index.html | CC-MAIN-2014-35 | en | refinedweb |
Sencha Forum
>
Sencha Touch 2.x Forums
>
Sencha Touch 2.x: Bugs
> Documentation Content Bugs
PDA
View Full Version :
Documentation Content Bugs
nick_p
11 Oct 2011, 11:21 AM
Please report any documentation content bugs for Sencha Touch 2 here.
kinetifex
11 Oct 2011, 1:58 PM
All the links to examples 404 on the data pack... | http://www.sencha.com/forum/archive/index.php/t-150418.html | CC-MAIN-2014-35 | en | refinedweb |
It's all about edUInsights, foresights and hindsights from the world of Microsoft (and other) technology in education. Community 7.1.12.36162 (Build: 7.1.12.36162)2008-05-13T01:14:53ZTools for Schools<p>One of the inherent issues in the age of Cloud is one of <strong>Discoverability</strong> – knowing how to search for... | http://blogs.technet.com/b/rgode/atom.aspx | CC-MAIN-2014-35 | en | refinedweb |
Checks whether a Slapi_RDN structure holds any RDN matching a given type/value pair.
#include "slapi-plugin.h" int slapi_rdn_contains(Slapi_RDN *rdn, const char *type, const char *value,size_t length);
This.
This function returns 1 if rdn contains an RDN that matches the type, value and length, or 0 if no RDN matches t... | http://docs.oracle.com/cd/E19693-01/819-0996/aailf/index.html | CC-MAIN-2014-35 | en | refinedweb |
Code covered by the BSD License
by
Jonathan Karr
21 Dec 2012
Class for representing empirical formulae including support for basic math (+, -, *, etc.)
|
Watch this File
Example Usage:
import edu.stanford.covert.util.EmpiricalFormula;
x = EmpiricalFormula()
x = EmpiricalFormula('H2O')
x = EmpiricalFormula(struct('H', 2... | http://www.mathworks.com/matlabcentral/fileexchange/39569-empirical-formula | CC-MAIN-2014-35 | en | refinedweb |
Fabulous Adventures In Coding
Eric Lippert is a principal developer on the C# compiler team. Learn more about Eric.
Here’s a crazy-seeming but honest-to-goodness real customer scenario that got reported to me recently. There are three DLLs involved, Alpha.DLL, Bravo.DLL and Charlie.DLL. The classes in each are:
public ... | http://blogs.msdn.com/b/ericlippert/archive/2010/03/29/putting-a-base-in-the-middle.aspx?PageIndex=6 | CC-MAIN-2014-35 | en | refinedweb |
The Obligatory Hello World
Since every programming paradigm needs to solve the tough problem of printing a well-known greeting to the console we’ll introduce you to the actor-based version.
import akka.actor.Actor import akka.actor.Props class HelloWorld extends Actor { override def preStart(): Unit = { // create the g... | http://doc.akka.io/docs/akka/2.2.3/scala/hello-world.html | CC-MAIN-2014-35 | en | refinedweb |
a.k.a.
We got ourselves a couple-two-tree noders, but no fronchroom.
I know what you're thinking: "OMGWTF! A Chicago Nodermeet?!?"
Yes, kids. Time to retire to the fallout shelter, for the end certainly is near. For the first time in the (readily available) history of everything2, there will be a nodermeet in Chicago! ... | http://everything2.com/title/Noders+By+The+Lake%253A+A+Chicago-Style+Nodermeet?showwidget=showCs1904274 | CC-MAIN-2014-35 | en | refinedweb |
This manual page is part of the POSIX Programmer’s Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux.
sys/stat.h — data returned by the stat() function
#include <sys/stat.h>
The <sys... | http://man.sourcentral.org/MGA6/0p+sys_stat.h | CC-MAIN-2020-40 | en | refinedweb |
import "github.com/julienschmidt/httprouter"
Package httprouter is a trie based high performance HTTP request router.
A trivial example is:
package main import ( "fmt" "github.com/julienschmidt/httprouter" "net/http" "log" ))) }
The router matches incoming requests by the request method and the path. If a handle is reg... | https://godoc.org/github.com/julienschmidt/httprouter | CC-MAIN-2020-40 | en | refinedweb |
Code Coverage as a Refactoring Tool
Code Coverage as a Refactoring Tool
Join the DZone community and get the full member experience.Join For Free
I am a big fan of using code coverage as a developer tool to promote more reliable, better tested code. The merits and limits of code coverage are widely discussed and fairly... | https://dzone.com/articles/code-coverage-refactoring-tool?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%253A+javalobby%252Ffrontpage+%2528Javalobby+%252F+Java+Zone%2529 | CC-MAIN-2020-40 | en | refinedweb |
import "github.com/documize/community/core/uniqueid/xid"
Package xid is a globally unique id generator suited for web scale
Xid is using Mongo Object ID algorithm to generate globally unique ids:
- 4-byte value representing the seconds since the Unix epoch, - 3-byte machine identifier, - 2-byte process id, and - 3-byte... | https://godoc.org/github.com/documize/community/core/uniqueid/xid | CC-MAIN-2020-40 | en | refinedweb |
The following program does the job of converting long to String.
public class LongToString { public static void main(String args[]) { long l1 = 10; String str = String.valueOf(l1); System.out.println("long l1 in string form is " + str); } }
Output screenshot of long to String Conversion
The long l1 is passed as paramet... | https://way2java.com/string-and-string-buffer/long-to-string-conversion-example-java/ | CC-MAIN-2020-40 | en | refinedweb |
Instant Form Validation Using JavaScript
Free JavaScript Book!
Write powerful, clean and maintainable JavaScript.
RRP $11.95
HTML\d]+)(\.[-\w\d]+)*(\.([a-zA-Z]{2,5}|[\d]{1,3})){1,2}(\/([-~%\.\(\)\w\d]*\/*)*(#[-\w\d]+)?)?$">
This example is a simple comments form, in which some fields are required, some are validated, a... | https://www.sitepoint.com/instant-validation/ | CC-MAIN-2020-40 | en | refinedweb |
Playing with OpenCV
• Mark Eschbach
I am investigating OpenCV for my aging server as an alternative to Tensorflow for facial recognition and hopefully GPU accelerated image down sampling. Tensorflow is a fine library however my server doesn’t have the AVX or AVX2 instruction sets and the GTX 570 only supports CUDA Comp... | https://meschbach.com/stream-of-consciousness/programming/2019/03/12-opencv/ | CC-MAIN-2020-40 | en | refinedweb |
TSUrlCreate¶
Traffic Server URL object construction API.
Synopsis¶
#include <ts/ts.h>
- TSReturnCode
TSUrlCreate(TSMBuffer bufp, TSMLoc * locp)¶
- TSParseResult
TSUrlParse(TSMBuffer bufp, TSMLoc offset, const char ** start, const char * endCreate() creates a new URL within the marshal buffer
bufp. Release the resulting... | https://docs.trafficserver.apache.org/en/latest/developer-guide/api/functions/TSUrlCreate.en.html | CC-MAIN-2020-40 | en | refinedweb |
My favorite analogy for explaining variables is the "bucket" analogy. Think of a variable as a bucket. Into that bucket, you can place data. Some buckets don't care what kind of data you place in them, and other buckets have specific requirements on the type of data you can place in them. You can move data from one buc... | https://flylib.com/books/en/1.237.1.12/1/ | CC-MAIN-2020-40 | en | refinedweb |
Event Handling in C#
In a previous article, we have seen a sneak preview about event handling in C#. In this article, we will examine the concept in detail with the help of relevant examples.
Understanding the Basic Technique
Actions and events serve an important part in every GUI-based application. These are equally i... | https://www.developer.com/net/csharp/article.php/1496891/Event-Handling-in-C.htm | CC-MAIN-2018-09 | en | refinedweb |
On Thu, May 08 2003, Linus Torvalds wrote:> > On Thu, 8 May 2003, Jens Axboe wrote:> > > > Maybe a define or two would help here. When you see drive->addressing> > and hwif->addressing, you assume that they are used identically. That> > !hwif->addressing means 48-bit is ok, while !drive->addressing means> > it's not do... | https://lkml.org/lkml/2003/5/8/156 | CC-MAIN-2018-09 | en | refinedweb |
Prime Programming Proficiency, Part 2: VS.NET Macros
WEBINAR:
On-Demand
Full Text Search: The Key to Better Natural Language Queries for NoSQL in Node.js
As soon as the first article of this Prime Programming Proficiency series hit CodeGuru.com, I received an e-mail response about the value of lines of code as a metric... | https://www.codeguru.com/csharp/.net/net_general/macros/article.php/c7823/Prime-Programming-Proficiency-Part-2-VSNET-Macros.htm | CC-MAIN-2018-09 | en | refinedweb |
Programming with Partial Classes in VB.NET 2005
WEBINAR:
On-Demand
Full Text Search: The Key to Better Natural Language Queries for NoSQL in Node.js
Sometimes I wonder what motivates language developers to make some of the design choices they do. In fact, I'd like to arrange events called Authors Summits, where the lan... | https://www.codeguru.com/csharp/csharp/cs_syntax/indexers/article.php/c10611/Programming-with-Partial-Classes-in-VBNET-2005.htm | CC-MAIN-2018-09 | en | refinedweb |
Recursion in a monad
From HaskellWiki
People sometimes wonder how to effectively do recursion when inside amonadic
-block. Here's some quick examples:
do
The problem is to read 'n' lines from stdin, recursively:
The obvious, recursive way:
main = f 3 f 0 = return [] f n = do v <- getLine vs <- f (n-1) return $! v : vs
... | https://wiki.haskell.org/index.php?title=Recursion_in_a_monad&printable=yes | CC-MAIN-2018-09 | en | refinedweb |
Today, we are announcing an update to our preview SDK and the adoption of Virtual Machine Scale Sets in Azure-hosted clusters. As part of this release, we are making a series of changes based on your feedback, some of which are breaking. Please read the notes below carefully to understand what you need to do to adopt t... | https://blogs.msdn.microsoft.com/azureservicefabric/2016/02/23/service-fabric-sdk-v1-5-175-and-the-adoption-of-virtual-machine-scale-sets/?replytocom=583 | CC-MAIN-2018-09 | en | refinedweb |
Details
- Type:
Bug
- Status: Resolved
- Priority:
Major
- Resolution: Won't Fix
- Affects Version/s: 1.8.3
- Fix Version/s: None
- Component/s: Bean / Property Utils
- Labels:None
Description
We have migrated the library from version 1.6.0 to 1.8.0 and the copyProperties() method fails when copying a java.util.Date at... | https://issues.apache.org/jira/browse/BEANUTILS-387 | CC-MAIN-2018-09 | en | refinedweb |
dtostrf() on D21G
The dtostrf() function (to convert float to string) is not included in the standard arduino.h in the D21G core.
This is probably due to memory size considerations, or it could just be added.
Anyhow, after a bit of search I solved this issue by adding the correct include:
#include <avr/dtostrf.h>
Hope ... | https://industruino.com/forum/help-1/question/dtostrf-on-d21g-449 | CC-MAIN-2018-09 | en | refinedweb |
With XML becoming a thing of past for inter process communication and data exchange on the Internet infrastructures, JSON is more increasingly getting popular for providing quicker and better packaging of data across the wires. To be specific, as the need for partial rendering of web pages increases with the dynamic ex... | http://www.codeproject.com/Articles/37069/JSON-serialization-and-de-serialization-in-WCF-Dat | CC-MAIN-2015-35 | en | refinedweb |
#include <windows.h>so I did that, and it reduced the number of errors. I tried adding it to more places and it continued to reduce the number of errors. Why do I need that in Visual Studio but not in Code Blocks? Is there some way to put that information somewhere once to fix the problem everywhere?
-mwindows -lopengl... | http://www.cplusplus.com/forum/windows/125815/ | CC-MAIN-2015-35 | en | refinedweb |
by Chengjiang (Andy) Lin
05/09/2005
BEA WebLogic Platform application provisioning is the process of preparing and providing a valid WebLogic Platform environment to support subsequent usage by the deployed applications. In a previous article, an overview was provided on what to expect when promoting a WebLogic Platfor... | http://www.oracle.com/technetwork/articles/entarch/automatic-provisioning-098769.html?ssSourceSiteId=otnes | CC-MAIN-2015-35 | en | refinedweb |
Name | Synopsis | Description | Attributes | See Also
#include <unistd.h> unsigned int sleep(unsigned int seconds);
The caller is suspended from execution for the number of seconds specified by the argument. The actual suspension time may be less than that requested because any caught signal will terminate the sleep() ... | http://docs.oracle.com/cd/E19082-01/819-2243/sleep-3c/index.html | CC-MAIN-2015-35 | en | refinedweb |
#include <lqr.h>
Rescale operations involving both directions will dump two maps.
The dumped maps will be attached to the LqrCarver object and can be accessed at any later time using the functions lqr_vmap_list_foreach(3) or a combination of lqr_vmap_list_start(3), lqr_vmap_list_current(3) and lqr_vmap_list_next(3).
Us... | http://www.makelinux.net/man/3/L/lqr_carver_set_no_dump_vmaps | CC-MAIN-2015-35 | en | refinedweb |
On Mon, Aug 18, 2003 at 06:43:20PM +0100, Bruce Stephens wrote: > > 4. A lot of documentation talks about people making new repositories > > each year because old ones get "big" > > It's the number of revisions, I suspect. Actually I think it's meant to address namespace pollution. If you're a good arch user and make b... | http://lists.gnu.org/archive/html/gnu-arch-users/2003-08/msg00047.html | CC-MAIN-2015-35 | en | refinedweb |
We all like C++’s container classes such as maps. The main negative thing about them is persistance. Ending your process makes the data structure go away. If you want to store it, you need to write code to serialise it to disk and then deserialise it back to memory again when you need it. This is tedious work that has ... | http://voices.canonical.com/jussi.pakkanen/tag/evil/ | CC-MAIN-2015-35 | en | refinedweb |
Duck Typing and Protocols vs. Inheritance
According to irb,
>> StringIO.is_a?(IO)
>> => false
This seems illogical to me. Is this intentional? If so, why?
One answer to this:
Since StringIO doesn't use IO to base its implementation, it is not an IO.
Why does it matter? If you use standard duck typing, it shouldn't. Cla... | http://www.infoq.com/news/2007/11/protocols-for-ducktyping/ | CC-MAIN-2015-35 | en | refinedweb |
Manage, Administrate and Monitor GlassFish v3 from Java code using AMX & JMX
Manage, Administrate and Monitor GlassFish v3 using Application Server Management Extensions (AMX) & The Java Management Extensions (JMX)
Management is one of the most crucial parts of an application server set of functionalities. Development ... | https://weblogs.java.net/node/386113/atom/feed | CC-MAIN-2015-35 | en | refinedweb |
Hi
I have many DOS clients on my LAN and I need to realize a communication tool based on NETBEUI protocol, does anybody know where i can get examples and source code (in C) ?
Network is working, I can share files among the DOS PC's.
Any help ?
Printable View
Hi
I have many DOS clients on my LAN and I need to realize a ... | http://cboard.cprogramming.com/networking-device-communication/58318-dos-network-communication-netbeui-printable-thread.html | CC-MAIN-2015-35 | en | refinedweb |
CSock - To verify timeout socket class
Posted by Seung Kyung, Lee. on May 11th, 1999
Environment: VC6, WindosNT4 SP3
I'm korean and not good at English.
In case of using CSocket class, We have problem to verify connction between computers.
This class(CSock) is solving this problem with method below.
CSocket don't retur... | http://www.codeguru.com/cpp/i-n/internet/network/article.php/c3397/CSock--To-verify-timeout-socket-class.htm | CC-MAIN-2015-35 | en | refinedweb |
Binding. If you want to code along with me, be sure to read my previous two posts.
setCountryId()method, change the types of
countryIdand
oldCountry.
- Switch back to the EditClient.java file and click Design at the top of the editor to work with the file in Design view.
- Right-click the combo box and choose Bind | el... | https://weblogs.java.net/node/240278/atom/feed | CC-MAIN-2015-35 | en | refinedweb |
Splashscreen does not automatically close
Not yet implemented or bug?
Javadoc says "It is closed automatically as soon as the first window is displayed by Swing/AWT".
Yet, it does not close unless explicitly closed.
I start with "java -splash:splash.png Main".
Here's the code:
import javax.swing.*;<br /> import java.aw... | https://www.java.net/node/644298 | CC-MAIN-2015-35 | en | refinedweb |
The QStyleSheet class is a collection of styles for rich text rendering and a generator of tags. More...
#include <qstylesheet.h>
Inherits QObject.
List of all member functions.
By creating QStyleSheetItem objects for a style sheet you build a definition of a set of tags. This definition will be used by the internal ri... | http://vision.lbl.gov/People/qyang/qt_doc/qstylesheet.html | CC-MAIN-2015-35 | en | refinedweb |
I.
I like the verbose output that a report like this provides, however, just about every macro scheme that I have encountered was just as verbose. Quite often these macro entries interfere with the readability of the code, they are cumbersome to fill out. They use the printf mechanism to report data values, and because... | http://www.codeproject.com/Articles/30028/Basic-Instrumentation-and-Profiling-Framework-for?msg=4119638 | CC-MAIN-2015-35 | en | refinedweb |
Foundations of Python Network Programming 144
First of all, 'Network' means 'Internet.' Everything in the book concerns protocols running over IP, which is almost anything useful these days. That said, this is a lot of ground to cover -- there's FTP, HTTP, POP3, IMAP, DNS, a veritable explosion of acronyms, and this bo... | http://news.slashdot.org/story/04/10/13/1815209/foundations-of-python-network-programming | CC-MAIN-2015-35 | en | refinedweb |
[!
Now the shooting, killing, racing, jumping and running can finally begin.
Posted by unrealer2 on Aug 23rd, 2011
How can we force something to move or interact with the player? Since we can't just say it out, we have to tell the computer what it has to do on other ways. That it is: We have to write a script. Therefor... | http://www.moddb.com/engines/wtech/news/wtech-scripting-support | CC-MAIN-2015-35 | en | refinedweb |
...one of the most highly
regarded and expertly designed C++ library projects in the
world. — Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
This example shows several functions, including summing all valid values.
#include <boost/circular_buffer.hpp> #include <numeric> #include <assert.h> int main(int /*arg... | http://www.boost.org/doc/libs/1_59_0/doc/html/circular_buffer/examples.html | CC-MAIN-2015-35 | en | refinedweb |
from (to) a file
SYNOPSIS
#include <curses.h>
int scr_dump(const char *filename);
int scr_restore(const char *filename);
int scr_init(const char *filename);
int scr_set(const char *filename);
DESCRIPTION util(3NCURSES)].". | http://www.linux-directory.com/man3/scr_set.shtml | crawl-003 | en | refinedweb |
SYNOPSIS
#include <sched.h>
int sched_setscheduler(pid_t pid, int policy,
const struct sched_param *param);
DESCRIPTION neg-
ative, the behavior of the sched_setscheduler() function is unspeci-
fied.. Addi-
tionally, implementation-defined restrictions may apply as to the
appropriate privileges required to set a proces... | http://www.linux-directory.com/man3/sched_setscheduler.shtml | crawl-003 | en | refinedweb |
This service provided by the operating system is fundamental, it is 'the supervisory of processes' execution; thus, processes are executed in a dedicated environment. Losing the control on execution of the processes brings to the developer a synchronization problem, summarized by this question: how is it possible to le... | http://www.redhat.com/mirrors/LDP/linuxfocus/English/January2003/article281.shtml | crawl-003 | en | refinedweb |
#include <vtkOBJExporter.h>
Inheritance diagram for vtkOBJExporter:
vtkOBJExporter is a concrete subclass of vtkExporter that writes wavefront .OBJ files in ASCII form. It also writes out a mtl file that contains the material properties. The filenames are derived by appending the .obj and .mtl suffix onto the user spec... | http://www.vtk.org/doc/release/5.0/html/a01766.html#w0 | crawl-003 | en | refinedweb |
The QIconEnginePluginV2 class provides an abstract base for custom QIconEngineV2 plugins. More...
#include <QIconEnginePluginV2>
This class was introduced in Qt 4.3.
The QIconEnginePluginV2 class provides an abstract base for custom QIconEngineV2 plugins.
Icon engine plugins produces QIconEngines for QIcons; an icon en... | http://doc.trolltech.com/main-snapshot/qiconenginepluginv2.html | crawl-003 | en | refinedweb |
ulimit - get and set process limits
Synopsis
Description
Return Value
Errors
Examples
Application Usage
Rationale
Future Directions
See Also
#include <ulimit.h>
long ulimit(int cmd, ...);
The ulimit() function shall control process limits. The process limits that can be controlled by this function include the maximum s... | http://www.squarebox.co.uk/cgi-squarebox/manServer/usr/share/man/man3p/ulimit.3p | crawl-003 | en | refinedweb |
/*************************************************** Analyzing Census data: Town/City/ADP Count Write a program that reads in a datafile from: and prints out the number of towns, cities, and CDP's. The user should specify the name of the file to be analyzed. This way, if you have data files from several states saved, y... | http://www.usna.edu/Users/cs/wcbrown/courses/F04SI204/classes/L10/TE3.html | crawl-003 | en | refinedweb |
Suggestions welcome!
There is online documentation (within ANU only) for JOGL and GLUT.
Sample questions and the ANU has copies of exam papers from previous years.
Simple 3D programs like the cube exercise may show multiple images in the window at once. This happens because the nVidia graphics cards are really fast and... | http://cs.anu.edu.au/student/comp4610.2007/2006/hints/index.html | crawl-003 | en | refinedweb |
hw_dataflash.h File Reference
Dataflash HW control routines (interface). More...
#include <cfg/compiler.h>
Go to the source code of this file.
Detailed Description
Dataflash HW control routines (interface).
Definition in file hw_dataflash.h.
Function Documentation
Data flash init function.
This function provide to init... | http://doc.bertos.org/2.7/hw__dataflash_8h.html | crawl-003 | en | refinedweb |
First Experiences with Scald.
Options for Cluster Processing #.
Scalding is used by Big Companies #
Another reason why I’m particularly interested in Scalding is that it is being used in several large companies. E.g. Etsy, Twitter. Twitter runs most of their backend batch tasks using scalding.
Getting Scalding #
You ca... | https://etl.svbtle.com/experiences-with-scalding | CC-MAIN-2019-51 | en | refinedweb |
Why is foreach iterating with a const reference?
I try to do the following:
QList<QString> a; foreach(QString& s, a) { s += "s"; }
Which looks like it should be legitimate but I end up with an error complaining that it cannot convert from 'const QString' to 'QString &'.
Why is the Qt foreach iterating with a const refe... | http://www.brokencontrollers.com/faq/45860226.shtml | CC-MAIN-2019-51 | en | refinedweb |
Support for interactive validation of form elements, HTML5 specs section 4.10.15.2, is necessary.
Some tip from other bugs this depends on:
1.
Form control elements can be in a "no-validate state" that is controlled by "novalidate" and "formNoValidate" attributes, plus some more condition. This snippet could be of help... | https://bugs.webkit.org/show_bug.cgi?format=multiple&id=28649 | CC-MAIN-2019-51 | en | refinedweb |
Top 10 Tips for Making the Spark + Alluxio Stack Blazing Fast
Top 10 Tips for Making the Spark + Alluxio Stack Blazing Fast
Check out these tips for blazing fast performance when running Spark on Alluxio.
Join the DZone community and get the full member experience.Join For Free
The Apache Spark + Alluxio stack is getti... | https://dzone.com/articles/top-10-tips-for-making-the-spark-alluxio-stack-bla?fromrel=true | CC-MAIN-2019-51 | en | refinedweb |
[lockfile] Fix non-deterministic lockfile generation. When different versions of a same packages is defined in manifest, there is a change that the lockfile generated is non-deterministic if the same version the package is deployed to different paths. This change fixes this issue. Bug: 42330 Change-Id: I31acd43edcc4632... | https://fuchsia.googlesource.com/jiri/+/refs/heads/master | CC-MAIN-2019-51 | en | refinedweb |
A legacy pass for the legacy pass manager that wraps the
SROA pass.
More...
A legacy pass for the legacy pass manager that wraps the
SROA pass.
This is in the llvm namespace purely to allow it to be a friend of the
SROA pass.
Definition at line 4618 of file SROA.cpp.
Definition at line 4625 of file SROA.cpp.
References... | http://llvm.org/doxygen/classllvm_1_1sroa_1_1SROALegacyPass.html | CC-MAIN-2019-51 | en | refinedweb |
Boston Python Workshop 3/Saturday/Twitter
Use the Twitter API to write the basic parts of a Twitter client. See what your friends are tweeting, get trending topics, search tweets, and more.
Setup[edit]
See the Friday setup instructions.
Goals[edit]
- Have fun playing with data from Twitter.
- See how easy it is to prog... | https://wiki.openhatch.org/wiki/Boston_Python_Workshop_3/Saturday/Twitter | CC-MAIN-2019-51 | en | refinedweb |
torch create tensor: Construct a PyTorch Tensor
torch create tensor - Create an uninitialized PyTorch Tensor and an initialized PyTorch Tensor
< > Code:
Transcript:
We import PyTorch.
import torch
We’re going to print the torch version to see what version we’re using.
print(torch.__version__)
We’re using 0.2.0_4.
To co... | https://aiworkbox.com/lessons/construct-a-pytorch-tensor | CC-MAIN-2019-51 | en | refinedweb |
Definitions: Let P be a point in 3D of coordinates X in the world reference frame (stored in the matrix X) The coordinate vector of P in the camera reference frame is:
\[Xc = R X + T\]
where R is the rotation matrix corresponding to the rotation vector om: R = rodrigues(om); call x, y and z the 3 coordinates of Xc:
\[x... | https://docs.opencv.org/3.4/db/d58/group__calib3d__fisheye.html | CC-MAIN-2019-51 | en | refinedweb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.