text stringlengths 20 1.01M | url stringlengths 14 1.25k | dump stringlengths 9 15 ⌀ | lang stringclasses 4
values | source stringclasses 4
values |
|---|---|---|---|---|
Lead Image © lassedesignen, 123RF
Building a virtual NVMe drive
Pretender
Often, older or slower hardware remains in place while the rest of the environment or world updates to the latest and greatest technologies; take, for example, Non-Volatile Memory Express (NVMe) solid state drives (SSDs) instead of spinning magne... | https://www.admin-magazine.com/Articles/Building-a-virtual-NVMe-drive | CC-MAIN-2021-25 | en | refinedweb |
Nothing brings back warm childhood memories like grandma’s chocolate cake recipe. My slight alteration of her original recipe is to add a touch of Python and share it with the world through a static site.
By reading this article, you’ll learn how to create a Contentful-powered Flask app. You’ll also learn how to turn t... | https://www.contentful.com/blog/2018/02/02/chocolate-cake-and-static-sites/ | CC-MAIN-2021-25 | en | refinedweb |
Teleport is an open source, identity-aware, access proxy with an integrated certificate authority. People have been using teleport for ssh-access, Kubernetes clusters and with Teleport 6.0 you get Database access as well (Postgress and MySQL).
In this tutorial, I will show you how you can do it all from scratch for a s... | https://saiyampathak.medium.com/?source=post_page-----a38469535955-------------------------------- | CC-MAIN-2021-25 | en | refinedweb |
Introduction
In Machine learning projects, we have features that could be in numerical and categorical formats. We know that Machine learning algorithms only understand numbers, they don’t understand strings. So, before feeding our data to Machine learning algorithms, we have to convert our categorical variables into n... | https://www.analyticsvidhya.com/blog/2021/05/complete-guide-on-encode-numerical-features-in-machine-learning/ | CC-MAIN-2021-25 | en | refinedweb |
One of the coolest things I find about Data Science is Data Visualization. I can’t stop myself loving it. I think data visualization is like transform a story into a live-action movie.
Data is like a story that you imagine in your mind but you can’t share it with others in an explainable way but you can share it with o... | https://www.analyticsvidhya.com/blog/2021/05/covid-19-vaccination-data-analysis-visualization/ | CC-MAIN-2021-25 | en | refinedweb |
In this Python Tutorial I show you how to build a simple chat server. All you need to do this are the pre-installed modules: asyncore, asynchat and socket.
The code then basically does the following:
If you find this article helpful, please click here [googleplusone] so more people can find this 🙂
Leave any questions ... | https://www.newthinktank.com/2010/11/python-2-7-tutorial-pt-18-chat-server/ | CC-MAIN-2021-25 | en | refinedweb |
How to Use Custom Hooks In Your React App
React with Hooks is probably the most awesome part about React thus far. The power and ability it provides is almost endless and that continues on with Custom Hooks. Custom Hooks allow you to create your own reusable Hooks to use in your code and here I’m going to walk you thro... | https://connormulholland.medium.com/how-to-use-custom-hooks-in-your-react-app-7f42b37796c1?responsesOpen=true&source=---------2---------------------------- | CC-MAIN-2021-25 | en | refinedweb |
Today, InfoQ publishes a sample chapter "Integrating with a GWT-RPC Servlet" from "Google Web Toolkit", a book authored by Ryan Dewsbury.
Performance is the main reason Ajax is so popular. We often attribute the glitzy effects used in many Ajax apps as a core appeal for users, and users may also attribute this to why t... | https://www.infoq.com/articles/gwt-high-ajax/?itm_source=articles_about_ajax&itm_medium=link&itm_campaign=ajax | CC-MAIN-2021-25 | en | refinedweb |
This is post 1 of 2 to publish the slide decks for presentations I’ve given recently, in particular at the European SharePoint Conference 2017 held in Dublin. See also:
Presentation deck – Best bits of Azure for the Office 365 Developer
Unfortunately, I never think the slide deck alone conveys all of the information of... | https://www.sharepointnutsandbolts.com/2017/12/SPFx-pitfalls.html | CC-MAIN-2021-25 | en | refinedweb |
Lagged Indicator (eg. SMA)
- albertoburchi last edited by
Dear all,
I would like to build an indicator with lagged data. For example, get the SMA not today's close, but yesterday's or 2 days behind.
Is there such a possibility in Backtrader or do I have to build an indicator by myself?
Below I tried a lagged SMA of 7 d... | https://community.backtrader.com/topic/3753/lagged-indicator-eg-sma/1 | CC-MAIN-2021-25 | en | refinedweb |
The Poisson Deviance for Regression
You’ve probably heard of the Poisson distribution, a probability distribution often used for modeling counts, that is, positive integer values. Imagine you’re modeling “events”, like the number of customers that walk into a store, or birds that land in a tree in a given hour. That’s ... | https://peijin.medium.com/the-poisson-deviance-for-regression-d469b56959ce?source=---------3---------------------------- | CC-MAIN-2021-25 | en | refinedweb |
I hope this doesn't come across as confusing. I am doing something wrong, with a "error C2059: syntax error: ';' - line 45; error C2059: syntax error : '/' - line 47. I'm not sure, but maybe it has something to do with the %, and that I didn't use a needed header file to do this type of math. Please help me out, I am s... | https://www.daniweb.com/programming/software-development/threads/190785/help-with-multiplication-formula | CC-MAIN-2018-34 | en | refinedweb |
Question:
Instead of passing many arguments to a method, I was encapsulating it into an argument object.
note: simplied for demo
For such a case, what would be a better practice?
⢠Create a class and name it as
InventorySaveArgs?
-- or --
⢠Create a nested class and name it as
SaveArgs?
And would you also explain why... | http://www.toontricks.com/2018/05/tutorial-create-regular-class-or-inner.html | CC-MAIN-2018-34 | en | refinedweb |
Django Oscar Accounts is a package that provides the ability to manage accounts with fully managed account functionality to use with Django Oscar.
* Django Oscar Accounts provides managed accounts using double-entry bookkeeping.
* In this package every transaction is recorded twice(once for the source account and once ... | https://micropyramid.com/blog/integrate-django-oscar-accounts-with-django-oscar/ | CC-MAIN-2018-34 | en | refinedweb |
Forwarding this to the orocos-users list: anyone succeeded on
importing PyKDL in MacOSX?
Ruben
---------- Forwarded message ----------
From: Mirko Bordignon <mirko [dot] bordignon [..] ...>
Date: Wed, Mar 10, 2010 at 7:40 PM
Subject: orocos kdl python binding
To: Ruben Smits <Ruben [dot] Smits [..] ...>
Hi Ruben,
great... | http://www.orocos.org/forum/orocos/orocos-users/fwd-orocos-kdl-python-binding | CC-MAIN-2018-34 | en | refinedweb |
pmstat − high-level system performance overview
pmstat [−gLlPxz] [−A align] [−a archive] [−h host] [−H file] [−n pmnsfile] [−O offset] [−p port] [−S starttime] [−s samples] [−T endtime] [−t interval] [−Z.
Multiple hosts may be monitored by supplying more than one host with multiple −h flags (for live monitoring) or by ... | https://manpag.es/SUSE121/1+pmstat | CC-MAIN-2018-34 | en | refinedweb |
#include <iostream> int main() { std::cout << "Hello, DaniWeb!\n" << "I'm learning C++ from a book. When I finish this book I'm sure I'll have tonnes of questions for you. Thanks in advance.\n"; std::cin.get(); return 0; }
If I screwed that up, I'm embarrassed. Possibly that isn't as clean or as effective as it could b... | https://www.daniweb.com/community-center/threads/172288/hello-daniweb | CC-MAIN-2018-34 | en | refinedweb |
This is a Java Program to Print the kth Element in the Array.
Enter size of array and then enter all the elements of that array. Now enter the position k at which you want to find element. Now we print the element at k-1 position in given array.
Here is the source code of the Java Program to Print the kth Element in th... | https://www.sanfoundry.com/java-program-print-kth-element-array/ | CC-MAIN-2018-34 | en | refinedweb |
Sometimes small is beautiful. Juha Lindstedt's FRZR, a 4kB view library, was a nice example of that as we saw earlier. This time we'll discuss evolution of Juha's work - a solution known as RE:DOM.
I create all my projects with it, even large single page applications. You can also render it on server-side with NO:DOM.
... | https://survivejs.com/blog/redom-interview/index.html | CC-MAIN-2018-34 | en | refinedweb |
Sharing data globally within application with Gorilla Web Toolkit (golang)
If you have been a developer for several years, maybe you have been in a situation where you need to store some data and then be able to share that data between different modules within an application.
Context
For example, let's suppose we have ... | http://blog.magmalabs.io/2014/12/16/sharing-data-globally-within-application-with-gorilla-web-toolkit-golang.html | CC-MAIN-2018-34 | en | refinedweb |
Actually permissions are of 2 types:
1.Model level permissions
2.object level permissions
If you want to give permissions on all cars, then Model-level is appropriate, but if you Django to give permissions on a per-car basis you want Object-level. You may need both, and this isn't a problem as we'll see.
For Model perm... | https://micropyramid.com/blog/understanding-django-permissions-and-groups/ | CC-MAIN-2018-34 | en | refinedweb |
Developing Modular JavaScript Components
- |
-
-
-
-
-
-
Read later
Reading List
While most web applications these days employ an abundance of JavaScript, keeping client-side functionality focused, robust and maintainable remains a significant challenge.
Even though basic tenets like separation of concerns or DRY are t... | https://www.infoq.com/articles/modular-javascript | CC-MAIN-2018-34 | en | refinedweb |
This is the second part of my presentation in SilverKey Demo Day 2 (SKDD 2) last July, for the first part, Check Here, you will also find the presentation slides & samples attached in Part 1 or you can download from here
So let’s start
Let’s check our Agedna
In Part 1 we discussed what is SOA and the concepts behind it... | https://blogs.msdn.microsoft.com/bashmohandes/2007/09/17/soa-via-wcf-part-2/ | CC-MAIN-2016-36 | en | refinedweb |
\input texinfo @setfilename cpp.info @settitle The C Preprocessor @ifinfo @dircategory Programming @direntry * Cpp: (cpp). The GNU C preprocessor. @end direntry @end ifinfo @c @smallbook @c @cropmarks @c @finalout @setchapternewpage odd @ifinfo This file documents the GNU C Preprocessor. Copyright 1987, 1989, 1991, 199... | http://opensource.apple.com//source/gcc/gcc-937.2/gcc/cpp.texi | CC-MAIN-2016-36 | en | refinedweb |
iParticleSystemFactory Struct Reference
[Mesh plugins]
Properties for particle system factory. More...
#include <imesh/particles.h>
Inheritance diagram for iParticleSystemFactory:
Detailed Description
Properties.4.1 by doxygen 1.7.1 | http://www.crystalspace3d.org/docs/online/api-1.4.1/structiParticleSystemFactory.html | CC-MAIN-2016-36 | en | refinedweb |
Understanding Windows Communication Foundation
This article provides an introduction to Windows Communication Foundation (WCF) followed by a list of what's new for WCF in .NET Framework 3.5. In the companion topic, Developing Connected Systems, the concepts discussed here are illustrated with code from the DinnerNow.ne... | https://msdn.microsoft.com/de-de/library/cc179585.aspx | CC-MAIN-2016-36 | en | refinedweb |
This is your resource to discuss support topics with your peers, and learn from each other.
06-05-2009 11:22 AM
Hi,
I have created a BitmapField and added a Bitmap to it. The bitmapField is then placed inside a HorizontalFieldManager.
What I would like to do is draw circles of a specific diameter at certain locations o... | https://supportforums.blackberry.com/t5/Java-Development/Draw-Circles-On-Top-Of-Bitmap/m-p/250533 | CC-MAIN-2016-36 | en | refinedweb |
Langton Ants in PyGame
Many moons ago I implemented Langton Ants on a ZX Spectrum 48K, and I have been fascinated by it ever since. I thought it would be fun to implement it in PyGame.
Langton ants are simple creatures. They live in a grid of squares that can be one of two colors, and follow these two simple rules.
- A... | https://www.willmcgugan.com/blog/tech/post/langton-ants-in-pygame/ | CC-MAIN-2016-36 | en | refinedweb |
section of the BUI controls overall settings for the share that are independent of any particular protocol and are not related to access control or snapshots. While the CLI groups all properties in a single list, this section describes the behavior of the properties in both contexts.
For information on how these prope... | http://docs.oracle.com/cd/E26765_01/html/E26397/shares__shares__general.html | CC-MAIN-2016-36 | en | refinedweb |
Expand | Embed | Plain Text
- #include <iostream> #include <cstring> // for the strlen() function int main() {
- using namespace std; const int Size = 15; char name1[Size];
- // empty array
- char name2[Size] = �C++owboy�; // initialized array // NOTE: some implementations may require the static keyword /... | http://snipplr.com/view/49335/ | CC-MAIN-2016-36 | en | refinedweb |
IRC log of xproc on 2010-04-15
Timestamps are in UTC.
15:00:26 [RRSAgent]
RRSAgent has joined #xproc
15:00:26 [RRSAgent]
logging to
15:00:32 [Zakim]
Zakim has joined #xproc
15:00:54 [Norm]
zakim, this will be xproc
15:00:59 [PGrosso]
PGrosso has joined #xproc
15:01:16 [Zakim]
ok, Norm; I see XML_PMWG()11:00AM scheduled... | http://www.w3.org/2010/04/15-xproc-irc | CC-MAIN-2016-36 | en | refinedweb |
The Addressing Model of the Open Packaging Conventions
David Meltzer and Andrey Shur
Microsoft Corporation
June 2006
Applies to:
Open Packaging Conventions
Microsoft Office 2007
Microsoft Windows Vista
Microsoft .NET Framework
Summary: This article provides an overview of the addressing model used in the Open Packaging... | https://msdn.microsoft.com/en-us/library/aa480199.aspx | CC-MAIN-2016-36 | en | refinedweb |
Object Services Overview (Entity Framework)
Object Services is a component of the Entity Framework that enables you to query, insert, update, and delete data, expressed as strongly typed CLR objects that are instances of entity types. Object Services supports both Language-Integrated Query (LINQ) and Entity SQL queries... | https://msdn.microsoft.com/en-us/library/bb386871(v=vs.90).aspx | CC-MAIN-2016-36 | en | refinedweb |
I am sysadm'ing a mixed cluster of pc/linux, sparc/solaris and dec/osf computers. I have installed successfully aspell on linux and suns, but I could not figure how to install it on DEC systems. I still had mail messages exchanged with the author of aspell in the past. uname -a shows: OSF1 axcdf4.pd.infn.it V4.0 878 al... | http://lists.gnu.org/archive/html/aspell-user/2000-02/msg00008.html | CC-MAIN-2016-36 | en | refinedweb |
/* * ntfs_usnjrnl.h - Defines for transaction log ($UsnJrnl)_USNJRNL_H #define _OSX_NTFS_USNJRNL_H #include <sys/errno.h> #include "ntfs_types.h" #include "ntfs_endian.h" #include "ntfs_layout.h" #include "ntfs_volume.h" /* * Transaction log ($UsnJrnl) organization: * * The transaction log records whenever a file is mo... | http://opensource.apple.com//source/ntfs/ntfs-65.1/kext/ntfs_usnjrnl.h | CC-MAIN-2016-36 | en | refinedweb |
A module for collecting internal application/library performance statistics
Stats is a utility module which provides an API to collect internal application statistics for your programs and libraries. It is very thin and lite when running so as to not alter the performance of the program it is attempting to observe. Mos... | https://www.npmjs.com/package/stats-api | CC-MAIN-2016-36 | en | refinedweb |
Pages: 1
im googlin now since hours but didnt find anything useable...
what i want..
typedef struct vertex {
GLfloat x;
GLfloat y;
GLfloat z;
}
class SimpleClass {
public:
SimpleClass();
~SimpleClass();
private:
vector<vertex> v;
string n;
};
SimpleClass::SimpleClass() {
n="something";
voxel x;
x.x=0.0f; x.y=0.0f; x.z=... | https://bbs.archlinux.org/viewtopic.php?pid=73002 | CC-MAIN-2016-36 | en | refinedweb |
I see this issue every once in a while and thought it might make for a good tip. If you’re running into errors trying to integrate MDT and ConfigMgr 2007 then this one’s for you.
Issue
When trying to integrate MDT with a System Center Configuration Manager 2007 console via the option "Configure ConfigMgr Integration" o... | https://blogs.technet.microsoft.com/configurationmgr/2010/02/25/error-when-trying-to-integrating-mdt-with-configmgr-2007/ | CC-MAIN-2016-36 | en | refinedweb |
In (8. The second jellybean problem is still very simple. 047 binary put option delta (1. DuPraw (Ed. The aggregate scholarship on developmental counseling remains somewhat informal and eclectic. Equa- tion (2. Recently, 2000.
To create this test, employers must interview current employees and their superiors to identi... | http://newtimepromo.ru/free-binary-option-no-deposit-bonus-4.html | CC-MAIN-2016-36 | en | refinedweb |
Keith is talking about a "comitted choice" style of nondeterminism, where one of the arguments is picked and the computation continues from there. If you want a computation with backtracking, or a list of all possibly results then you should use the list monad, or another monad that supports nondetermanism. The tutoria... | http://www.haskell.org/pipermail/haskell-cafe/2004-April/006038.html | CC-MAIN-2014-15 | en | refinedweb |
I am trying to write a C# program that runs a python script. It, looks something like this: PythonEngine.Initialize(); PyList pyargv = null; PyObject sys = PythonEngine.ImportModule("sys"); if (sys.HasAttr("argv")) { pyargv = sys.GetAttr(new PyString("argv")) as PyList; } else { pyargv = new PyList(); foreach (string a... | https://mail.python.org/pipermail/pythondotnet/2008-May/000807.html | CC-MAIN-2014-15 | en | refinedweb |
Forums MaxMSP
Hi out there,
Wonder if Max can do this? Can I create some regions in an audio file in BIAS Peak or another editor and have Max read them for eventual use in [coll], [sflist], [sfplay], etc.? I believe AIFFs need a kludge of some sort on the part of the application to read/write region definitions, but is... | http://cycling74.com/forums/topic/reading-region-data-from-aiffbwav/ | CC-MAIN-2014-15 | en | refinedweb |
Code. Collaborate. Organize.
No Limits. Try it Today.
This article is being written in response of the need of building Microsoft Word document in an ASP.NET project. This article demonstrates how to create and modify document using Microsoft Word with ASP.NET.
Automation is a process that allows applications that are ... | http://www.codeproject.com/Articles/3959/Microsoft-Word-Documents-from-ASP-NET?msg=2927715 | CC-MAIN-2014-15 | en | refinedweb |
Typically this pattern is composed by two or more classes, one that is an abstract class providing template methods (non-abstract) that have calls to abstract methods implemented by one or more concrete subclasses.
Often template abstract class and concrete implementations reside in the same project, but depending on t... | http://www.javacodegeeks.com/2012/06/testing-abstract-classes-and-template.html/comment-page-1/ | CC-MAIN-2014-15 | en | refinedweb |
ad 1.2.2
Fast,.
Basic examples
Let's start with the main import that all numbers use to track derivatives:
>>> from ad import adnumber
Creating AD objects (either a scalar or an N-dimensional array is acceptable):
>>> x = adnumber(2.0) >>> x ad(2.0) >>> y = adnumber([1, 2, 3]) >>> y [ad(1), ad(2), ad(3)] >>> z = adnumb... | https://pypi.python.org/pypi/ad/ | CC-MAIN-2014-15 | en | refinedweb |
Tomcat 7 Finalized
timothy posted more than 3 years ago | from the not-yet-spayed dept.
."
fp (-1)
Anonymous Coward | more than 3 years ago | (#34895588)
suck my HUGE fat juicy NIGGER COCK!!!
Re:fp (-1)
Anonymous Coward | more than 3 years ago | (#34895604)
oh yeah, I'll suck it for you baby
Web.xml is the reason I hat... | http://beta.slashdot.org/story/146376 | CC-MAIN-2014-15 | en | refinedweb |
This release includes lots of improvements including :
- a simpler way for writing macros
- support for nested functions
- generic methods overloading works
- support for CLR 3.5 extension methods (moreover boo extension methods)
- compile-time conditionals through ConditionalAttribute and the new -define SYMBOL booc o... | http://docs.codehaus.org/display/BOO/2008/02/ | CC-MAIN-2014-15 | en | refinedweb |
How about one that understands your budget and is ready to work with you to identify your business’s problems and pain points; and only move forward if it’s a perfect fit.
Developers who would help you:
We solve your problems, not ours.
Prototype & MVPs Development
Whether you’re looking to realize an idea, or build an... | http://rorywalker.com/ | CC-MAIN-2014-15 | en | refinedweb |
Main class not recognized
Kevan Ryan
Greenhorn
Joined: Feb 08, 2010
Posts: 9
posted
Apr 20, 2010 06:49:17
0
Hey Javaranchers,
For some reason, the NetBeans IDE does not recognize the main class within my program. I thought that there was a way to set an object class as a 'main', but I'm not entirely sure. Is any requi... | http://www.coderanch.com/t/492231/vc/Main-class-recognized | CC-MAIN-2014-15 | en | refinedweb |
Please refer to the errata for this document, which may include some normative corrections.
This document is also available in these non-normative formats: Diff from Previous Recommendation, PostScript version, and PDF version
The English version of this specification is the only normative version. Non-normative transl... | http://www.w3.org/TR/2013/REC-rdfa-core-20130822/ | CC-MAIN-2014-15 | en | refinedweb |
AJAX and NetBeans - jMaki and ZK
By jonasdias on Out 27, 2008
Hi everybody,
Last Thursday I did a Tech Demo about developing AJAX web apps using the powerful NetBeans 6.1 at Federal University of Rio de Janeiro.
I started talking about AJAX and how it improves usability and creates user friendly interfaces for the Web.... | https://blogs.oracle.com/jonasdias/category/Sun | CC-MAIN-2014-15 | en | refinedweb |
Client-side Eventing Example
By Prashant Dighe on Dec 08, 2009
In the previous blog, Eventing in AJAX portlets, we saw an overview of client side eventing mechanism in OSPC and WebSpace, which works like a simple yet powerful extension of JSR-286 eventing.Lets look at an example to see how this all works.
EventGenerato... | https://blogs.oracle.com/pdblog/tags/portal | CC-MAIN-2014-15 | en | refinedweb |
I have been putting my thoughts toward the elusive goal of making python as fast as some LISP dialects. As a result, I have a proposal that could drastically speed up the common cases of accessing global variables, while slightly slowing down less common accesses, with some rare pathologies that will eat time and memor... | https://mail.python.org/pipermail/python-list/2001-November/104979.html | CC-MAIN-2014-15 | en | refinedweb |
You can subscribe to this list here.
Showing
1
results of 1
The branch "master" has been updated in SBCL:
via 4b25bb8e20bf3c1419a11b7d4cfefa23e4f3279b (commit)
from e0aff99a73d836da0dad4602e5559595fbe5ba5c (commit)
- Log -----------------------------------------------------------------
commit 4b25bb8e20bf3c1419a11b7d4c... | http://sourceforge.net/p/sbcl/mailman/sbcl-commits/?viewmonth=201205&viewday=14 | CC-MAIN-2014-15 | en | refinedweb |
How to Add Hyper-V Hosts in a Disjointed Namespace a disjointed name space as managed Hyper-V hosts in Virtual Machine Manager.
A disjointed name space occurs when the computer’s primary Domain Name System (DNS) suffix does not match the domain of which it is a member. For example, a disjointed namespace occurs when a ... | http://technet.microsoft.com/en-us/library/gg610641.aspx | CC-MAIN-2014-15 | en | refinedweb |
t:PAR Element | par Object
This topic documents a feature of HTML+TIME 2.0, which is obsolete as of Windows Internet Explorer 9.
Defines a new timeline container in an HTML document for independently timed elements.
Members Table
The following table lists the members exposed by the par object.Attributes/PropertiesColle... | http://technet.microsoft.com/en-us/library/ms533599(v=vs.85).aspx | CC-MAIN-2014-15 | en | refinedweb |
random resultThanks a lot!
Always got answers so quick here!
random resulthow come without using rand(). My program still generate random result.
I was trying to make a matr...
checker program errorbut x=0, y=0 will mess up the game
[output]
7 - b - b - b - b
6 b - b - b - b -
5 - b - b - b - b...
checker program error... | http://www.cplusplus.com/user/holywingz/ | CC-MAIN-2014-15 | en | refinedweb |
Using NHibernate with ServiceStack
A few people have asked me how they can use ServiceStack with other persistence technologies like RavenDB and NHibernate, or if you really must... EntityFramework... Rather than ServiceStack.OrmLite or ServiceStack.Redis like many of the examples in SS show.
Note: This isn't about bes... | http://www.philliphaydon.com/2012/06/using-nhibernate-with-servicestack/ | CC-MAIN-2014-15 | en | refinedweb |
Say that a have: # file test.py a=7 At the prompt: import test dir() I would like to see the variables created in the test namespace. However, variable "a" does not appear in the list, only "test". Since I know that var "a" is reachable from the prompt by means of test.a, how can I list this sort of variables? Vicente ... | https://mail.python.org/pipermail/python-list/2009-October/555808.html | CC-MAIN-2014-15 | en | refinedweb |
This tutorial introduces attribute variables. It builds on the tutorial about a minimal shader and the RGB-cube tutorial about varying variables.
This tutorial also introduces the main technique to debug shaders in Blender: false-color images, i.e. a value is visualized by setting one of the components of the fragment ... | http://en.m.wikibooks.org/wiki/GLSL_Programming/Blender/Debugging_of_Shaders | CC-MAIN-2014-15 | en | refinedweb |
.
Definition at line 79 of file TsqrFactory.hpp.
Instantiate and return TSQR implementation.
Instantiate and return (through the output arguments) the two TSQR implementation objects.
Definition at line 109 of file TsqrFactory.hpp. | http://trilinos.sandia.gov/packages/docs/r10.6/packages/anasazi/doc/html/classTSQR_1_1Trilinos_1_1TsqrFactory.html | CC-MAIN-2014-15 | en | refinedweb |
Path Objects
Path objects represent a sequence of directories that may or may not include a file. There are three ways to construct a Path object:
- FileSystems.getDefault().getPath(String first, String… more)
- Paths.get(String path, String… more), convenience method that calls FileSystems.getDefault().getPath
- Calli... | http://www.javacodegeeks.com/2012/02/java-7-copy-and-move-files-and.html | CC-MAIN-2014-15 | en | refinedweb |
geotrigger-python 0.1.1
A simple client library for interacting with the ArcGIS Geotrigger API.
A simple Python client library for interacting with the ArcGIS Geotrigger Service via the GeotriggerClient object.
The Geotrigger Service is a cloud-hosted geofencing platform, which sends push notifications or notifies a re... | https://pypi.python.org/pypi/geotrigger-python | CC-MAIN-2014-15 | en | refinedweb |
Feel free to talk to her, by typing into the text box above. If you ask her questions, she'll answer you. The cool thing is that we have designed her for extensibility, so that the internet community can make her smarter. As an example, I built a small code snippet to interface with the Best Buy Remix API so that you c... | http://blog.amyiris.com/2009/06/how-amy-iris-knows-where-best-buy-is.html | CC-MAIN-2014-15 | en | refinedweb |
NAME
ng_sppp -- sppp netgraph node type
SYNOPSIS
#include <netgraph/ng_sppp.h>
DESCRIPTION(4), and as an alternative to ng_cisco(4) node. While having less features than net/mpd + ng_ppp(4), it is significantly easier to use in the majority of simple configurations, and allows the administrator to not install the net/m... | http://manpages.ubuntu.com/manpages/oneiric/man4/ng_sppp.4freebsd.html | CC-MAIN-2014-15 | en | refinedweb |
I want to make text strikethrough using CSS.
I use tag:
button.setStyle("-fx-strikethrough: true;");
But this code is working, please help.
You need to use a CSS stylesheet to enable strikethrough on a button. Using a CSS stylesheet is usually preferable to using an inline CSS setStyle command anyway.
/** file: striket... | https://javafxpedia.com/en/knowledge-base/26843951/not-working-ccs-style-javafx--fx-strikethrough | CC-MAIN-2020-40 | en | refinedweb |
A Web API is an online “application programming interface” that allows developers to interact with external services. These are the commands that the developer of the service has determined will be used to access certain features of their program. It is referred to as an interface because a good API should have command... | http://www.nochedepalabras.com/how-to-use-a-web-api-from-your-android-app.html | CC-MAIN-2020-40 | en | refinedweb |
I have existing Hive data stored in Avro format. For whatever reason reading these data by executing SELECT is very slow. I didn't figure out yet why. So I decided to read the data directly by navigating to the partition path and using Spark SQLContext. This works much faster. However, the problem I have is reading the... | https://forums.databricks.com/questions/9199/how-using-spark-read-logical-double-value-stored-i.html | CC-MAIN-2020-40 | en | refinedweb |
data¶
- api_attr
declarative programming (static graph)
paddle.fluid.
data(name, shape, dtype='float32', lod_level=0)[source]
Data Layer
This function creates a variable on the global block. The global variable can be accessed by all the following operators in the graph. The variable is a placeholder that could be fed ... | https://www.paddlepaddle.org.cn/documentation/docs/en/api/fluid/data.html | CC-MAIN-2020-40 | en | refinedweb |
Mono comes with a really cool CSharp compiler as a service. The only problem is that no one seems to know about it!
I think the main reason for this is that anything related to Mono causes a fair bit of confusion to all the people who are not familiar with it. And that certainly includes myself, as I know very little a... | http://oldblog.davidebbo.com/2012/02/quick-fun-with-monos-csharp-compiler-as.html?showComment=1335442249672 | CC-MAIN-2020-40 | en | refinedweb |
.
Architecture
The Scala’s GRPC-Gateway is made of 3 components:
- The code generator: Generates source files from the .proto files definition
- The runtime library: Provides the runtime infrastructure (e.g. Netty server)
- The user code: Implements business logic and runs infrastructure (e.g. spawns up server on speci... | http://www.beyondthelines.net/computing/grpc-rest-gateway-in-scala/ | CC-MAIN-2020-40 | en | refinedweb |
Blog archive in space
I’ve been writing articles on this blog for about 13 years, and for a while now I’ve marked all of the 400ish articles with geo tags.
This blog is Jekyll-based. To add Geo tags, all I had to do was add the information to the ‘front-matter’. Here’s the header of a sample post:
title: "Browser tabs ... | https://evertpot.com/blog-archive-in-space/ | CC-MAIN-2020-40 | en | refinedweb |
This example demonstrates the usage of abstraction in Java programming language
What is Abstraction
Abstraction is a process of hiding the implementation details from the user. Оnly the functionality will be provided to the user. In Java, abstraction is achieved using abstract classes and interfaces. We have a more det... | https://javatutorial.net/java-abstraction-example | CC-MAIN-2020-40 | en | refinedweb |
winston-errbit-v2winston-errbit-v2
Errbit winston transporter for using the v2 API of Errbit.
How to useHow to use
Super duper easy.
import winston from 'winston'; import { ErrbitLogger } from 'winston-errbit-v2'; import { config } from 'your-config'; export function errbitInit() { const options = { key: config.errbit.... | https://libraries.io/npm/winston-errbit-v2 | CC-MAIN-2020-40 | en | refinedweb |
Hello!, i need help i have been stuck for about a week with this, i used multiple plugins on a proyect and those plugins uses the AndroidManifest.xml, so when i import a plugin it overwrites the old AndroidManifest, so i have picked all of them individually and im looking a way to merge them all.
The plugins im using a... | https://answers.unity.com/questions/735848/how-to-merge-multiple-androidmanifestxml-files.html | CC-MAIN-2020-40 | en | refinedweb |
Announcing the PyCharm 4 Release Candidate
We are now approaching the final steps towards the PyCharm 4 release. So today we’re happy to announce the availability of the PyCharm 4 Release Candidate.
Please take it for a spin and give us your feedback. The PyCharm 4 RC build 139.431 is available for download from the Ea... | https://blog.jetbrains.com/pycharm/2014/11/announcing-the-pycharm-4-release-candidate/?replytocom=114585 | CC-MAIN-2020-40 | en | refinedweb |
This page was generated from examples/xgboost_model_fitting_adult.ipynb.
A Gradient Boosted Tree Model for the Adult Dataset¶
Introduction¶
This example introduces the reader to the fitting and evaluation of gradient boosted tree models. We consider a binary classification task into two income brackets (less than or gr... | https://docs.seldon.io/projects/alibi/en/latest/examples/xgboost_model_fitting_adult.html | CC-MAIN-2020-40 | en | refinedweb |
# __.
# Quick Install
The following instructions were tested on Ubuntu 14.04.
The modules used for parser development are located under the 'nomadcore' package. You can setup this package in any way you like, but a simple installation script 'setup.py' is provided for ease of use. It will install the nomadcore package ... | https://gitlab.mpcdf.mpg.de/nomad-lab/python-common/-/blame/3f243d579e12c5effd402ef25699cc550a14ff59/README.md | CC-MAIN-2020-40 | en | refinedweb |
Bug #4681
namespace declaration not honored: error XTDE1390 undeclared prefix: saxon
0%
Description
When I run the file
<?xml version="1.0" encoding="utf-8"?> <xsl:stylesheet xmlns: <xsl:output <xsl:template <xsl:text xmlns:Run with {system-property('xsl:product-name')} {system-property('xsl:product-version')} {system-... | https://saxonica.plan.io/issues/4681 | CC-MAIN-2020-40 | en | refinedweb |
Editor's note: The following post was written by Visual Studio and Development Technologies MVP Houssem Dellai as part of our Technical Tuesday series..
Before we start, here are some considerations:
- The backend will be in ASP.NET and Identity, using the “Individual Accounts” template.
- The client application will b... | https://blogs.msdn.microsoft.com/mvpawardprogram/2018/02/06/signin-signup-xamarin-forms/ | CC-MAIN-2018-09 | en | refinedweb |
System and method for web services Java API-based invocationDownload PDF
Info
- Publication number
- US20040064503A1US20040064503A1 US10606573 US60657303A US2004064503A1 US 20040064503 A1 US20040064503 A1 US 20040064503A1 US 10606573 US10606573 US 10606573 US 60657303 A US60657303 A US 60657303A US 2004064503 A1 US2004... | https://patents.google.com/patent/US20040064503 | CC-MAIN-2018-09 | en | refinedweb |
In earlier blogs we have discussed the use of UI configuration tool and Easy enhancement workbench. Here we will discuss another way to enhance the UI 2007 screen by the use of Enhancement sets.
Scenario 3: You want to show a standard field related to the opportunity but not part of the opportunity structure.
e.g. you ... | https://blogs.sap.com/2009/05/20/crm-2007-enhancing-views-part-iii/ | CC-MAIN-2018-09 | en | refinedweb |
Yet Another Kyoto Cabinet Binding
Project Description
yakc (Yet Another Kyoto Cabinet Python Binding) is a Python module to manipulate Kyoto Cabinet with Python dictionary manner. This module also can be used as drop-in replacement of Python dict if you want to store many data in dict.
yakc focuses to replace Python di... | https://pypi.org/project/yakc/0.1/ | CC-MAIN-2018-09 | en | refinedweb |
UNIT 2: Recursion
Table of Contents
1 Recursion Review
1.1 Recursion!
Yes, it's back! You all learned about recursion in IC210, and you might have thought that it's pretty useless because you could do all the same things with iteration. And because recursion is so confusing.
Well, Data Structures (and most especially, ... | https://www.usna.edu/Users/cs/aviv/classes/ic312/f16/units/02/unit.html | CC-MAIN-2018-09 | en | refinedweb |
Other AliasTcl_SetStdChannel
SYNOPSIS
#include <tcl.h>
Tcl_Channel
Tcl_GetStdChannel(type)
Tcl_SetStdChannel(channel, type)
ARGUMENTS
-
- int type (in)
The identifier for the standard channel to retrieve or modify. Must be one of TCL_STDIN, TCL_STDOUT, or TCL_STDERR.
-
- Tcl_Channel channel (in)
The channel to use as t... | http://manpages.org/tcl_getstdchannel/3 | CC-MAIN-2018-09 | en | refinedweb |
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
*
*
Login using
C# Corner
In Focus
How to Get Most Benefit from a Tech Conference
C# Corner
Contribute
An Article
A Blog
A News
A Video
A Link
An Interview Question
Ask a Question
TECHNOLOGIES
.NET
C... | http://www.c-sharpcorner.com/UploadFile/201fc1/efficiently-storing-passwords-in-database/ | CC-MAIN-2018-09 | en | refinedweb |
Introduction and Background Yesterday, I was talking to myself about writing another post for C# programming; I agree I am addicted to programming now. So, I wanted to write a blog post and I found that I had a topic on my “write list.” So that I wasn't just writing about the topic, I added a bit more programming to it... | http://www.c-sharpcorner.com/article/building-custom-email-client-in-wpf-using-C-Sharp/ | CC-MAIN-2018-09 | en | refinedweb |
ContentHandler
public
interface
ContentHandler
Receive notification of the logical content of a document.
This module, both source code and documentation, is in the Public Domain, and comes with NO WARRANTY. See for further information.
This is the main interface that most SAX applications
implement: if the application... | https://developer.android.com/reference/org/xml/sax/ContentHandler.html | CC-MAIN-2018-09 | en | refinedweb |
given a matcher object has already a pattern to match and a string value to search for.
1) is the .find() method similar to looping a character sequence just to find a matching pattern?
for (int x = 0; x < someString.length(); x++) {
// do some string processing
}
2) does the .find() method starts from beginning? somet... | http://www.javaprogrammingforums.com/%20java-se-apis/10746-matcher-object-find-method-question-printingthethread.html | CC-MAIN-2015-18 | en | refinedweb |
May someone please spare a moment of there time to quickly help me, I am new to java and would like only about 10 minutes of your time to just fix an error that I cannot identify.
May someone please spare a moment of there time to quickly help me, I am new to java and would like only about 10 minutes of your time to ju... | http://www.javaprogrammingforums.com/whats-wrong-my-code/35691-help-needed.html | CC-MAIN-2015-18 | en | refinedweb |
Post your Comment
Graphics 2D
.
Noise Image in Graphics
This Java... be an image, graphics, picture, photograph, video or
any illustration.
We...
Graphics 2D
graphics - Java Beginners
graphics hi..all,
I have drawn an image using mouse pointer..an img has come..
Now i want to select that image and move..
how should i... | http://www.roseindia.net/discussion/22977-Noise-Image-in-Graphics.html | CC-MAIN-2015-18 | en | refinedweb |
CanQuery - jQuery Tutorials and examples
piece of code that provides very good support for ajax. jQuery can be used...
jQuery - jQuery Tutorials and examples
The largest collection of jQuery examples
PHP Examples
In this section of PHP examples, the new bees will learn the basic examples of most common used functions. ... | http://www.roseindia.net/tutorialhelp/comment/9788 | CC-MAIN-2015-18 | en | refinedweb |
// helloworld.cpp #include <iostream> #include <luabind> void greet() { std::cout << "hello world!\n"; } // int luaopen_[libname] is the entry point extern "C" int luaopen_libhelloworld(luaState* L) { using namespace luabind; open(L); module(L) [ def("greet", &greet), ]; return 0; }The above, when compiled into a .so, ... | http://www.gamedev.net/topic/624251-luabind-inside-a-shared-library/ | CC-MAIN-2015-18 | en | refinedweb |
#include <math.h>
double sqrt(double x);
float sqrtf(float x);
long double sqrtl(long double x);
These functions shall compute the square root of their argument x, sqrt square root of x.
For finite values of x < -0, a domain error shall occur, and either a NaN (if supported), or an implementation-defined value shall be... | http://www.makelinux.net/man/3posix/S/sqrt | CC-MAIN-2015-18 | en | refinedweb |
Send Message
Updated: February 4, 2015
Sends a message to a Service Bus queue or topic.
The following table describes required and optional request headers. In addition to the listed properties, the header can contain custom properties. See the example.
The request body is the message payload.
If the message is to be r... | https://msdn.microsoft.com/library/azure/hh780786.aspx | CC-MAIN-2015-18 | en | refinedweb |
MS Dynamics CRM 3.0
I have just started learning C# ; I was working in C++ till now (and would like to if allowed, but learning new things dont hurt). I am used to specifiying "const" to get the assurance that unless someone specifically cast-away the constness, object wont change. So, as part of my first ever program ... | http://www.megasolutions.net/cSharp/Is-const-allowed-anywhere_-71147.aspx | CC-MAIN-2015-18 | en | refinedweb |
by Josh Juneau
Learn how to use the Java API for Batch Processing, utilize Java Message Service, and create a chat client using WebSockets.
This article is the third in a three-part series demonstrating how to use Java EE 7 improvements and newer web standards, such as HTML5, WebSocket, and JavaScript Object Notation (... | http://www.oracle.com/technetwork/articles/java/ma14-new-to-java-pt3-2177806.html | CC-MAIN-2015-18 | en | refinedweb |
On Sat, 27 Dec 1997, Tim Waugh wrote:> Here's the oops report (reconstructed by hand) I get when booting 2.1.76> (compiled with gcc-2.7.2.1) on my Alpha.> > Tim.> */> > Unable to handle kernel paging request at virtual address ffffbe1c0160918> swapper(1): Oops 1> pc = [<fffffc0000424678>] ra = [<fffffc000040341c>] ps =... | https://lkml.org/lkml/1997/12/27/22 | CC-MAIN-2015-18 | en | refinedweb |
django.js 0.8.1
Django JS Tools
Dj.
Compatibility
Django.js requires Python 2.6+ and Django 1.4.2+.
Installation')), ... )
Documentation
The documentation is hosted on Read the Docs
Changelog
0.8.1 (2013-10-19)
- Fixed management command with Django < 1.5 (fix issue #23 thanks to Wasil Sergejczyk)
- Fixed Django CMS ha... | https://pypi.python.org/pypi/django.js/ | CC-MAIN-2015-18 | en | refinedweb |
18 June 2010 17:12 [Source: ICIS news]
By Nigel Davis
LONDON (ICIS news)--Chloralkali producers and, one might expect, their principal customers, take it in their stride - or at least seem to.
The demand pull on the twin products from the electrolysis of brine is very different. If the paper business is buoyant then pr... | http://www.icis.com/Articles/2010/06/18/9369388/insight-moving-down-the-chain-to-capture-growth-and.html | CC-MAIN-2015-18 | en | refinedweb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.