text stringlengths 20 1.01M | url stringlengths 14 1.25k | dump stringlengths 9 15 ⌀ | lang stringclasses 4
values | source stringclasses 4
values |
|---|---|---|---|---|
Webtracking Tool für Express based sites backed by MongoDB
Webtracking tool for Express and jQuery based sites with integrated server. Tracks page impressions and server side events and stores them in MongoDB (Mongoose)
$ npm install adnoce
Adnoce needs serveral modules, see dependencies
// setup websocketsvar io = io;... | https://www.npmjs.com/package/adnoce | CC-MAIN-2017-09 | en | refinedweb |
Hi, i want to know the best way to make a register system, that's will be very hard to hack, and what i will need, some books for help me, some sites, any way to helpme, and some kinds of tricks of how to use others way to find you friends, like, if two members, friends on facebook, register on my site, they will get a... | https://www.sitepoint.com/community/t/register-system/9970 | CC-MAIN-2017-09 | en | refinedweb |
C# 6 has got nothing major coming like LINQ or async/await in past instead it has got several small enhancements which actually helps you clean up your code and get ride of boilerplate code. In this post, I am going to share some of the code snippets I wrote to explore new features in C# 6.
This post is written using V... | http://adilmughal.com/blog/2015/03/playing-with-csharp-6-features/ | CC-MAIN-2017-09 | en | refinedweb |
Products and Services
Downloads
Store
Support
Education
Partners
About
Oracle Technology Network
(Bug was originally about two different classes. I've split of part of this into 6387579).
The javax.swing.text.ParagraphView.Row package-private class is referenced to from the following method of public javax.swing.text.P... | http://bugs.java.com/bugdatabase/view_bug.do?bug_id=6387360 | CC-MAIN-2017-09 | en | refinedweb |
The JTS Utility class is used to smooth out some of the common JTS Geometry activities.
Reference:
There is a helper method allowing you to calculate the real-world distance between two points:
double distance = JTS.orthodromicDistance(start, end, crs); int totalmeters = (int) distance; int km = totalmeters / 1000; int... | http://docs.geotools.org/stable/userguide/library/api/jts.html | CC-MAIN-2017-09 | en | refinedweb |
Learn C Language Basics | File Handlings in C programming
We regularly utilize files for putting away data which can be handled by our projects. In this c programming tutorial we are using file structure in our c programs. With a specific end goal to store data forever and recover it we have to utilize files.
Files in ... | http://www.cprogrammingtutorial.org/file-handlings-in-c-language.html | CC-MAIN-2017-09 | en | refinedweb |
(defprotocol AProtocol "A doc string for AProtocol abstraction" (bar [a b] "bar docs") (baz [a] [a b] [a b c] "baz docs"))
Clojure is written in terms of abstractions. There are abstractions for sequences, collections, callability, etc. In addition, Clojure supplies many implementations of these abstractions. The abstr... | https://clojure.org/reference/protocols | CC-MAIN-2017-09 | en | refinedweb |
The JAX-RS specification has a few facilities that help you manage conneg. It does
method dispatching based on
Accept
header values. It allows you to view this content information directly. It
also has complex negotiation APIs that allow you to deal with multiple
decision points. Let’s look into each of these.
In previ... | https://www.safaribooksonline.com/library/view/restful-java-with/9780596809300/ch08s04.html | CC-MAIN-2017-09 | en | refinedweb |
API helpers¶
- class
helper.
FormHelper(form=None)[source]¶
This class controls the form rendering behavior of the form passed to the {% crispy %} tag. For doing so you will need to set its attributes and pass the corresponding helper object to the tag:
{% crispy form form.helper %}
Let’s see what attributes you can se... | http://django-crispy-forms.readthedocs.io/en/latest/api_helpers.html | CC-MAIN-2017-09 | en | refinedweb |
Rythm.js
Demo at :
A javascript library that makes your page dance.
Currently in development
Getting started
Install with npm
npm install rythm.js
Good old way
Import rythm into your page
<script type="text/javascript" src="../rythm.js"></script>
Add one of the rythm css classes to indicate which element will dance.
<d... | http://okazari.github.io/Rythm.js/?utm_source=frontendfocus&utm_medium=email | CC-MAIN-2017-09 | en | refinedweb |
This task wasn’t solved during the CTF. People must hate sparc!
Find the binary, sources and exploit here!
In this task you were provided a sparc server binary and a python client, which was a Tkinter GUI. The client had an automatic animation reproducing the commands that are entered in the famous Jurassic Park video ... | https://blog.scrt.ch/2015/03/24/insomnihack-finals-jurassic-sparc-writeup/ | CC-MAIN-2017-09 | en | refinedweb |
My document object model does not assign namespaces at each node.
It does not store namespace prefix assignments. It requires a
namespace prefix resolver, uses a default resolver, or generates
namespace prefixes as need be.
If I were to dump the document, I'd generate a document that had all
the namespace declarations... | https://sourceforge.net/p/saxon/mailman/saxon-help/?viewmonth=200312&viewday=30 | CC-MAIN-2017-09 | en | refinedweb |
JAVA
>
Flashcards
> Print Preview
The flashcards below were created by user
sappcc
on
FreezingBlue Flashcards
. What would you like to do?
Get the free app for
iOS
Get the free app for
Android
Learn more
defines the circumstances under which a class can be accessed and the other classes that have the right to use a cla... | https://www.freezingblue.com/flashcards/print_preview.cgi?cardsetID=310754 | CC-MAIN-2017-09 | en | refinedweb |
Aurelia Q&A
Last week Aurelia was announced and we've seen a number of recurring questions crop up on twitter, email lists, forums and elsewhere. This post attempts to provide some answers.
Can I go to production?
What!? No. Please do not do that yet...not for real. Remember that Aurelia is in an "early preview" stage.... | http://blog.aurelia.io/2015/02/03/aurelia-qa/ | CC-MAIN-2017-09 | en | refinedweb |
Beginner Computer Programming for Women
Beginner’s Approach to Computer Programming for Women
Hello, and welcome to the course page for the Beginner Code Editor // This is where we will be writing code every day.
- EarSketch website, with API Reference, all Effects Explained, and the main Curriculum.
Day 7 (7/24/14)
Th... | http://ilabliberia.org/beginner-computer-programming-for-women/ | CC-MAIN-2017-09 | en | refinedweb |
Sometimes I’m really blind. For the last couple of months I was all the time having some problems with serializing JavaBeans that I get out of Hibernate into JSON and often got an error like this:
java.lang.NoSuchMethodException: Property 'delegate' has no getter method
I always knew that it had to be something with th... | https://zerokspot.com/weblog/2008/02/13/jsonlib-vs-cgilibproxy/ | CC-MAIN-2017-09 | en | refinedweb |
C program to read a file: This program reads a file entered by the user and displays its contents on the screen, fopen function is used to open a file it returns a pointer to structure FILE. FILE is a predefined structure in stdio.h . If the file is successfully opened then fopen returns a pointer to file and if it is ... | http://www.programmingsimplified.com/c-program-read-file | CC-MAIN-2017-09 | en | refinedweb |
14 Groovy
Groovy is an alternative JVM programming language. It has a strong synergy with Java and many language and library features that make it a compelling programming environment. Ratpack provides strong integration with Groovy via the
ratpack-groovy and
ratpack-groovy-test libraries. Writing Ratpack applications ... | https://ratpack.io/manual/current/groovy.html | CC-MAIN-2017-09 | en | refinedweb |
Lets learn how to create beep using java.
We can create a beep sound to indicate a warning or error by using java. However, it is often better to give a warning dialog box with a description about the problem using GUI interface.
There are two ways to produce the sound beep:
1.Using Toolkit class: We can create a beep ... | http://www.roseindia.net/java/example/java/awt/Beep.shtml | CC-MAIN-2017-09 | en | refinedweb |
This is my sample code and its output.
namespace AAA
{
#include <vector>
}
int main()
{
AAA::std::vector<int> vec;
return 0;
}
/usr/include/c++/4.9/new:129:41: error: 'void* AAA::operator new(AAA::std::size_t)' may not be declared within a namespace
__attribute__((__externally_visible__));
<vector>
Yes, this operator m... | https://codedump.io/share/nFoBrwHSnG9p/1/why-it39s-required-to-include-vector-and-other-headers-too-in-global-namespace-only | CC-MAIN-2017-09 | en | refinedweb |
Name | Synopsis | Description | Parameters | Return Values | Attributes | See Also | Notes
#include <rpc/rpcsec_gss.h> bool_t rpc_gss_set_callback(struct rpc_gss_callback_t *cb);
A server may want to specify a callback routine so that it knows when a context gets first used. This user-defined callback may be specified ... | http://docs.oracle.com/cd/E19253-01/816-5170/6mbb5esni/index.html | CC-MAIN-2017-09 | en | refinedweb |
On Tue, 2004-09-21 at 14:24 +0200, Pavel Machek wrote:> Hi!> > > I've lost track of how many of these patches I've done, but here's> > the much anticipated next revision ;^) The purpose of this patch is to> > expose ACPI objects in the already existing namespace in sysfs> > (/sys/firmware/acpi/namespace/ACPI). There's ... | https://lkml.org/lkml/2004/9/21/85 | CC-MAIN-2014-15 | en | refinedweb |
The Developer Diaries Or, Random Thoughts on Life and Software 2012-01-16T04:16:17+00:00 Apache Roller Solaris 10 Containers Released on OpenSolaris Jordan Vaughan 2009-10-23T20:10:33+00:00 2009-10-24T03:14:16+00:00 <p>After roughly nine months of nonstop development, Jerry Jelinek <a href="">integrated the first phase... | http://blogs.oracle.com/lunchware/feed/entries/atom | CC-MAIN-2014-15 | en | refinedweb |
School:Architecture
Welcome to the Wikiversity School of Architecture[edit].
We welcome you to The School of Architecture, whether simply out of curiosity, or having something specific to learn, share or to teach. Browse through the material presented here and do not hesitate to make additions or corrections.
Architect... | http://en.wikiversity.org/wiki/School:Architecture | CC-MAIN-2014-15 | en | refinedweb |
How Active Directory Searches Work
Updated: May 7, 2010
In Active Directory, directory clients use Lightweight Directory Access Protocol (LDAP) to perform searches against the directory. LDAP is defined by Request for Comments (RFC) 3377, “Lightweight Directory Access Protocol (v3): Technical Specification.” LDAP is a ... | http://technet.microsoft.com/en-us/library/cc755809(WS.10).aspx | CC-MAIN-2014-15 | en | refinedweb |
Everyone is writing singletons and everyone thinks they know what they are doing, but what if they're wrong?
There is at least one scenario where things indeed can go wrong: serialization! SimoneB wrote about it in a blog post but I think she missed something. In fact, in .NET, there are at least two possible approache... | http://weblogs.asp.net/ricardoperes/archive/2008/09/08/singletons.aspx | CC-MAIN-2014-15 | en | refinedweb |
The QSqlError class provides SQL database error information. More...
#include <QSqlError>
The QSqlError class provides SQL database error information.
A QSqlError object can provide database-specific error data, including the driverText() and databaseText() messages (or both concatenated together as text()), and the er... | http://idlebox.net/2010/apidocs/qt-everywhere-opensource-4.7.0.zip/qsqlerror.html | CC-MAIN-2014-15 | en | refinedweb |
>>
No video? Bah!
Ironic, since book printing in color is usually done using the CMYK “color space”…
It’s not the “complete” RGB colorspace. More likely it’s the mapping of the RGB color namespace through the particular color management of the printer and printer driver to CMY+K?+m+c+???), including gamut mapping (comp... | http://makezine.com/2012/10/15/books-printed-with-complete-rgb-color-space/?like=1&source=post_flair&_wpnonce=39eb77acf0 | CC-MAIN-2014-15 | en | refinedweb |
04 February 2011 16:55 [Source: ICIS news]
(adds further detail on research and development investment in paragraphs 5 - 7)
LONDON (ICIS)--BASF increased its research and development (R&D) spending in 2010 to a record level of nearly €1.5bn ($2.1bn), the German chemicals major said on Friday.
BASF said that R&D spendin... | http://www.icis.com/Articles/2011/02/04/9432644/basf-r.html | CC-MAIN-2014-15 | en | refinedweb |
12 January 2012 09:49 [Source: ICIS news]
SINGAPORE (ICIS)--Japan-based Cosmo Oil has resumed operations at some secondary units at its 220,000 bbl/day ?xml:namespace>
The
Cosmo Oil said in a statement said partial operations have been resumed at the No 10 fuel oil hydro-desulphurisation unit, the No 20 hydrogen produc... | http://www.icis.com/Articles/2012/01/12/9522940/japans-cosmo-oil-restarts-some-units-at-chiba-refinery.html | CC-MAIN-2014-15 | en | refinedweb |
NativeWindow.CreateHandle Method
Assembly: System.Windows.Forms (in system.windows.forms.dll)
The cp parameter specifies the values that are passed to the native Win32 CreateWindowEx method to create a window and its handle.
When the ClassName field is not a null reference (Nothing in Visual Basic), the newly created w... | http://msdn.microsoft.com/en-us/library/system.windows.forms.nativewindow.createhandle(v=vs.85).aspx?cs-save-lang=1&cs-lang=cpp | CC-MAIN-2014-15 | en | refinedweb |
Retrieve and Query XML Data
This topic describes the query options that you have to specify to query XML data. It also describes the parts of XML instances that are not preserved when they are stored in databases.
SQL Server preserves the content of the XML instance, but does not preserve aspects of the XML instance th... | http://technet.microsoft.com/en-us/library/bb510442.aspx | CC-MAIN-2014-15 | en | refinedweb |
Implementing Simple Role-Based Security in Managed C++.
Permission Sets
Permission sets can be used imperatively or declaratively, the documentation likes to say, which means you can either call a function or add an attribute. Let's start with the imperative way.
I added a class to my console project. It isn't even a m... | http://www.codeguru.com/cpp/w-p/system/security/article.php/c5735/Implementing-Simple-RoleBased-Security-in-Managed-C.htm | CC-MAIN-2014-15 | en | refinedweb |
24 December 2009 03:35 [Source: ICIS news]
By Chow Bee Lin
SINGAPORE (ICIS news)--Polyethylene (PE) and polypropylene (PP) trade in China and southeast Asia looks set on a weak start next year and may only pick up momentum starting the second quarter due to restocking, industry sources said on Thursday.
Demand usually ... | http://www.icis.com/Articles/2009/12/24/9320713/outlook-10-china-se-asia-pe-pp-trade-off-to-a-weak-start.html | CC-MAIN-2014-15 | en | refinedweb |
16 October 2012 11:59 [Source: ICIS news]
SINGAPORE (ICIS)--?xml:namespace>
The loading dates from Mumbai are on 15-17 November and 25-27 November, they added.
The tender was closed earlier on 16 October, with bids to stay valid until 17 October, traders said.
In its last tender, BPCL sold 30,000 tonnes of naphtha to C... | http://www.icis.com/Articles/2012/10/16/9604203/indias-bpcl-closes-a-tender-to-sell-h2-november-naphtha.html | CC-MAIN-2014-15 | en | refinedweb |
#import Directive (C++)
C++ Specific
Used to incorporate information from a type library. The content of the type library is converted into C++ classes, mostly describing the COM interfaces.:
If you do not specify a localization ID, a progid is chosen according to the following rules:
If there is only one localization ... | http://msdn.microsoft.com/en-us/library/vstudio/8etzzkb6.aspx | CC-MAIN-2014-15 | en | refinedweb |
I am attempting to build the latest development version (12/16/09) of gnuplot using Sun Studio 12.1, and wxGTK-2.8.10 (with patches applied from\). During the make process, I get errors during the compilation of wxterminal/wxt_gui.cpp that look like the same kinds of errors I got when trying to build wxGTK before addin... | http://sourceforge.net/p/gnuplot/bugs/824/ | CC-MAIN-2014-15 | en | refinedweb |
Preconditioner operator class for solving space-time (XYZT) systems. More...
#include <LOCA_Epetra_xyztPrec.H>
Preconditioner operator class for solving space-time (XYZT) systems.
Implements right preconditioning operators for use in global XYZT Jacobian matrix solves.
Global - applies a right preconditioner to the glo... | http://trilinos.sandia.gov/packages/docs/r10.4/packages/nox/doc/html/classLOCA_1_1Epetra_1_1xyztPrec.html | CC-MAIN-2014-15 | en | refinedweb |
3D computer graphics have many uses -- from games to data visualization, virtual reality, and beyond. More often than not, speed is of prime importance, making specialized software and hardware a must to get the job done. Special-purpose graphics libraries provide a high-level API, but hide how the real work is done. A... | http://www.javaworld.com/article/2076745/learn-java/3d-graphic-java--render-fractal-landscapes.html | CC-MAIN-2014-15 | en | refinedweb |
On 19 Sep 2000, Lars Marius Garshol wrote: > > > I can try to post a patch tonight, although that will not have been > tested against Python 2.0, since I don't have it on my system. > > Question is: what is the recommended way to post a patch? Sourceforge patch manager. > This depends on the namespaces feature, which c... | https://mail.python.org/pipermail/xml-sig/2000-September/003361.html | CC-MAIN-2014-15 | en | refinedweb |
#include <OptionsFromStreamPack_SetOptionsFromStreamNode.hpp>
Inheritance diagram for OptionsFromStreamPack::SetOptionsFromStreamNode:
This class uses the template method pattern to delegate the setting of options.
Definition at line 42 of file OptionsFromStreamPack_SetOptionsFromStreamNode.hpp.
Constructs with the nam... | http://trilinos.sandia.gov/packages/docs/r10.2/packages/moocho/src/MoochoUtilities/doc/html/classOptionsFromStreamPack_1_1SetOptionsFromStreamNode.html | CC-MAIN-2014-15 | en | refinedweb |
Parameters for the TSQR::Combine benchmarks. More...
#include <Tsqr_CombineBenchmark.hpp>
Parameters for the TSQR::Combine benchmarks.
numRows: Number of rows in the cache block A.
numCols: Number of columns in the cache block A, and number of rows and columns in the upper triangular matrices R, R1, and R2.
testReal: W... | http://trilinos.sandia.gov/packages/docs/r10.8/packages/kokkos/doc/html/structTSQR_1_1Test_1_1CombineBenchmarkParameters.html | CC-MAIN-2014-15 | en | refinedweb |
NAME
link - make a hard file link
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <unistd.h> int link(const char *name1, const char *name2);.
SEE ALSO directories which corrupts the file system coherency. This implementation no longer permits it. | http://manpages.ubuntu.com/manpages/karmic/man2/link.2freebsd.html | CC-MAIN-2014-15 | en | refinedweb |
TDD with Pylons
I’ve written about test driven development and Pylons before but there have apparently been some changes to how it all works since Pylons 1.0. I didn’t run across anything in the documentation detailing the changes, specifically to the template context global and how you access it in your tests.
From th... | http://mentalpandiculation.com/2010/11/tdd-with-pylons/ | CC-MAIN-2014-15 | en | refinedweb |
tensorflow::
ops:: BarrierInsertMany
#include <data_flow_ops.h>
For each key, assigns the respective value to the specified component.
Summary. | https://www.tensorflow.org/versions/r2.2/api_docs/cc/class/tensorflow/ops/barrier-insert-many?hl=pl | CC-MAIN-2020-34 | en | refinedweb |
We recently published a series discussing the views of our Founders on hereditary fortunes: they were vehemently against them. Yes, they didn't much like taxes either, but for many of our Founders, estate taxes were the lesser evil when compared to hereditary wealth. Eliminating the ability of rich, powerful families t... | http://www.scragged.com/articles/who-s-afraid-of-social-engineering | CC-MAIN-2020-34 | en | refinedweb |
Hello,
Could you confirm that dynamic_cast is not (yet?) supported by OpenACC?
Here is the small reproducer:
#include <iostream> #include "openacc.h" #include "accel.h" class base { public: base(){} virtual ~base(){} int base_int; }; class derived : public base { public: derived(){} ~derived(){} int derived_int; }; int... | https://forums.developer.nvidia.com/t/dynamic-cast-not-supported-by-openacc/136298/1 | CC-MAIN-2020-34 | en | refinedweb |
Chinese pure white garlic 5.5cm / Brand" Renhe" fresh white garlic export
MOQ: 26.0 Metric Tons
US $600.00-800.00 /Metric Ton
1
Sponsored Listing
Natural Fresh White Garlic Normal White Garlic New Crop 2020
MOQ: 10 Metric Tons
US $1,000.00-1,400.00 /Metric Ton
1
Sponsored Listing
Best Natural Garlic
MOQ: 10.0 Metric To... | https://m.alibaba.com/countrysearch/CN/garlic-brands.html | CC-MAIN-2020-34 | en | refinedweb |
Nested Blocks are blocks that render more blocks 🤯. This can be helpful if you're creating a page builder experience. You may have layout level blocks, and then within a single layout block you will have more blocks for editors to add / manage.
One example could be a gallery block. The gallery may be a part of a top-l... | https://tinacms.org/guides/general/inline-blocks/nested-blocks | CC-MAIN-2020-34 | en | refinedweb |
bindbc-bgfx 0.4.0+108
Dynamic and static D bindings for bgfx.
To use this package, run the following command in your project's root directory:
bindbc-bgfx
Dynamic and static D bindings for bgfx.
These bindings target bgfx API version 108 (commit ecb0143a40a4888465ad22f128b45bf6505e644b).
Usage (DUB)
To install this lib... | https://code.dlang.org/packages/bindbc-bgfx?tab=info | CC-MAIN-2020-34 | en | refinedweb |
How To Use External Plain JavaScript Libraries in TypeScript Projects
If you are into front end development then your probably have used or at least heard of all modern frameworks built in TypeScript or ES6 (TypeScript is just ES+) and used with build systems such as Webpack and SystemJS . TypeScript is a modern langua... | https://www.techiediaries.com/use-external-javascript-libraries-typescript-projects/ | CC-MAIN-2020-34 | en | refinedweb |
/>
In this post I will write code in Python to export data from PostgreSQL to an Excel spreadsheet.
There is a baffling selection of reporting software out there with very sophisticated functionality and users can put together reports impressive enough to satisfy any manager or board. However, many people put pragmatic... | https://www.codedrome.com/exporting-postgresql-data-to-excel-with-python/ | CC-MAIN-2020-34 | en | refinedweb |
Below is a simple Angular 2 app with a real time search to the cdnjs public API. Type-in and see the real time magic:
It uses the power of observables and the Reactive Extensions for JavaScript (RxJS). We’re using a few operators, namely debounceTime, distinctUntilChanged and switchMap to make sure we don’t send too ma... | https://alligator.io/angular/real-time-search-angular-rxjs/ | CC-MAIN-2020-34 | en | refinedweb |
Tutorial
Integrating Google Maps in Your Angular you can import into your application.
Getting Started
First and foremost, in order to do any kind of interaction with the Maps API, you need an API key from Google. Follow the instructions here to get that set up.
Install and configure Angular Google Maps
From your proje... | https://www.digitalocean.com/community/tutorials/angular-angular-google-maps | CC-MAIN-2020-34 | en | refinedweb |
std::basic_ios::clear
From cppreference.com
Sets the stream error state flags by assigning them the value of
state. By default, assigns std::ios_base::goodbit which has the effect of clearing all error state flags.
If rdbuf() is a null pointer (i.e. there is no associated stream buffer), then state | badbit is assigned... | https://en.cppreference.com/w/cpp/io/basic_ios/clear | CC-MAIN-2018-34 | en | refinedweb |
US9355421B2 - Product options framework and accessories - Google PatentsProduct options framework and accessories Download PDF
Info
- Publication number
- US9355421B2US9355421B2 US14508918 US201414508918A US9355421B2 US 9355421 B2 US9355421 B2 US 9355421B2 US 14508918 US14508918 US 14508918 US 201414508918 A US20141450... | https://patents.google.com/patent/US9355421B2/en | CC-MAIN-2018-34 | en | refinedweb |
Register your product to gain access to bonus material or receive a coupon.++.
Click below for Web Resources related to this title:
Author Web Site
Generic Programming and the C++ Standard Library
Click below for Sample Chapter related to this title:
sutteritem1.pdf
sutteritem2.pdf
sutteritem3.pdf
sutteritem4.pdf
Forew... | http://www.informit.com/store/more-exceptional-c-plus-plus-40-new-engineering-puzzles-9780201704341?w_ptgrevartcl=Generic+Programming+and+the+C%2B%2B+Standard+Library_25142 | CC-MAIN-2018-34 | en | refinedweb |
What We are Looking At an inbuilt Broadcom WiFi Adapter. If you are using previous versions, you will have to connect an external USB WiFi adapter. Connect the Pi to your network. It is better to provide a static IP address for the Pi. Next you will have to enable and setup SSH on your Pi. Test your connection by conne... | http://hackersgrid.com/2017/02/mobile-phone-accelerometer-controlled.html | CC-MAIN-2018-34 | en | refinedweb |
Question:
I need to test whether the value of a form's
onsubmit is a function. The format is typically
onsubmit="return valid();". Is there a way to tell if this is a function, and if it's callable? Using typeof just returns that it's a string, which doesn't help me much.
EDIT: Of course, I understand that "return vali... | http://www.toontricks.com/2018/05/tutorial-testing-if-value-is-function.html | CC-MAIN-2018-34 | en | refinedweb |
Re: What is “high cardinality” in facet streams?
All in all the index is about 250GB and it’s sharded in two dedicated VMs with 24GB of memory and it’s performing ok so far (queries take about 7 seconds, the worst cases about 10). At some point in the past we needed to transition to SolrCloud because a single Solr core... | https://www.mail-archive.com/search?l=solr-user@lucene.apache.org&q=date:20180222 | CC-MAIN-2018-34 | en | refinedweb |
If you have a customer entity that looks like this…
public class Customer { public int Id { get; set; } public string Name { get; set; } public string Address { get; set; } public string PhoneNumber { get; set; } }
…and need to get the customer’s name, chances are you will load the entire entity from the database and m... | http://www.levibotelho.com/database/eager-and-lazy-loading-in-entity-framework/ | CC-MAIN-2018-34 | en | refinedweb |
In functional programming, we have various pillars like Functors, Monads, Applicative and more. Today we will try to explore one of these pillars called Functors. First let’s explore function composition:
Function Composition:
- In this diagram, we have 3 sets called A, B, and C.
- Set A contains an element called x.
-... | https://blog.knoldus.com/scalafp-welcome-to-the-world-of-functors | CC-MAIN-2018-34 | en | refinedweb |
Electronic Anti-roll system for tractor (or how to connect IOIO to a Basic Atom
October 19, 2011 4 Comments
“Tractor”, what tractor… ? That’s what you must be wondering right now, as I don’t often blog about tractors… especially full scale agricultural ones…
This is a slightly different post for me, in that it’s about ... | https://trandi.wordpress.com/2011/10/19/electronic-anti-roll-system-for-tractor-or-how-to-connect-ioio-to-a-basic-atom/ | CC-MAIN-2018-34 | en | refinedweb |
One device. This flexibility has allowed various groups, some commercial and some hobbyist, to develop alternative distributions of Android. These are commonly referred to as “custom ROMs” however a better name would be “custom firmware.”
Since all the necessary building blocks are available, maybe you have wondered ho... | https://www.androidauthority.com/build-custom-android-rom-720453/ | CC-MAIN-2018-34 | en | refinedweb |
Now that we understand some Java basics, let's construct something a little larger! In this lesson we'll discuss how to setup, compile, and run a basic Java program.
Every program must have a
.java file containing this basic setup:
public class MyProgram { public static void main(String[] args) { //I am in charge here ... | https://www.learnhowtoprogram.com/java/java-basics-9a4b2b2a-6de4-44b5-9f35-0e506177d73b/writing-and-compiling-a-java-program | CC-MAIN-2018-34 | en | refinedweb |
Depending on order of traits, private members can shadow inherited members and prevent compilation. This does not happen with separate compilation.
scala> :pa
// Entering paste mode (ctrl-D to finish)
trait A { private val x = 1 }
trait B { val x = 2 }
trait C extends B with A { println(x) }
// Exiting paste mode, now ... | https://issues.scala-lang.org/si/jira.issueviews:issue-word/SI-7475/SI-7475.doc | CC-MAIN-2018-34 | en | refinedweb |
You need to import and use a module called time. This module provides various time-related functions for Python users.
Python sleep syntax
The syntax is as follows
import time
time.sleep(1)
time.sleep(N)
The time.sleep() suspend execution of a script for the given number of seconds. The argument may be a floating point... | https://www.cyberciti.biz/faq/python-sleep-command-syntax-example/ | CC-MAIN-2018-34 | en | refinedweb |
Often, virtualenv is overkill for the basic task of installing project dependencies and keeping them isolated. We present a simple alternative consisting of:
./.pipto your
PYTHONPATH
pip install -t .pipto install modules locally
pythonfrom your project’s root directory
Installing dependencies is a required step for alm... | https://www.zoomeranalytics.com/blog/pip-install-t | CC-MAIN-2018-34 | en | refinedweb |
Oops, try again. Does your censor function take exactly two arguments, a text string and a word to replace with asterisks? Your code threw a "sequence item 0: expected string, builtin_function_or_method found" error.
I'm trying to replace the "i"th element of "lis" by the number of asterisks as the length of word/low.... | https://discuss.codecademy.com/t/10-censor/45842 | CC-MAIN-2018-34 | en | refinedweb |
So the problem I'm having is that I'm iterating over a pretty large csv file. startDate and endDate are input given to me by the user and I need to only search in that range.
Although, when I run the program up to that point, it takes a long time to just spit back out "set()" at me. I've pointed where I'm having troubl... | https://codedump.io/share/aDcMIvBmW2ck/1/iterating-over-a-csv-file-given-a-specific-range | CC-MAIN-2017-17 | en | refinedweb |
This preview shows
page 1. Sign up
to
view the full content.
Unformatted text preview: return numStocked; } public void setNumStocked(int stock) { numStocked = stock; } // Returns a string representation of an album, listing // the album name, the band name, and the number in stock public String toString() { return ("\... | https://www.coursehero.com/file/5791251/Album/ | CC-MAIN-2017-17 | en | refinedweb |
T_OPTMGMT(3N) T_OPTMGMT(3N)
NAME
t_optmgmt - manage options for a transport endpoint
SYNOPSIS
#include <<tiuser.h>>
int t_optmgmt(fd, req, ret)
int fd;
struct t_optmgmt *req;
struct t_optmgmt *ret;
DESCRIPTION
t_optmgmt() enables a transport user to retrieve, verify, or negotiate
protocol options with the transport pro... | http://modman.unixdev.net/?sektion=3&page=t_optmgmt&manpath=SunOS-4.1.3 | CC-MAIN-2017-17 | en | refinedweb |
2 August 2010
By clicking Submit, you accept the Adobe Terms of Use.
Some experience developing Flex applications for PHP back-ends will be helpful.
All
Note: This article was written using Flex 4 and/or Flash Builder 4, however, the information described here is still valid for Flex 4.5 SDK and/or Flash Builder 4.5 th... | https://www.adobe.com/devnet/flex/articles/flex_php_charting.html | CC-MAIN-2017-17 | en | refinedweb |
L3TOL(3C) L3TOL(3C)
NAME
l3tol, ltol3 - convert between 3-byte integers and long integers
SYNOPSIS
#include <<stdlib.h>>
void l3tol (lp, cp, n)
long *lp;
const char *cp;
int n;
void ltol3 (cp, lp, n)
char *cp;
const long *lp;
int n;
DESCRIPTION
l3tol() converts a list of n three-byte integers packed into a charac-
ter ... | http://modman.unixdev.net/?sektion=3&page=ltol3&manpath=SunOS-4.1.3 | CC-MAIN-2017-17 | en | refinedweb |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Adam GROSZER wrote:
Advertising
> I think we need some sort of stering group (or person(s)). > Without rules and decisions to follow we're going to end up like headless > chicken running around in the kitchen. Noone knows the direction. > > Yes sometimes radical changes are... | https://www.mail-archive.com/zope-dev@zope.org/msg28069.html | CC-MAIN-2017-17 | en | refinedweb |
PyLucene GCJ 2.2.0-1 for win32, python 2.5
PyLucene is Python binding to the Lucene library created by osafoundation.org.
PyLucene-2.2.0-1-gcj-py25-win32.zip
Download from DivShare
Download from WikiFortio
Compilation Settings:
This version is compiled MingW 3.4.5 (the PyLucene creators recommends MingW 3.4.2 ;P), Luce... | https://charupload.wordpress.com/category/python/ | CC-MAIN-2017-17 | en | refinedweb |
Dirk Gerrits <dirk at gerrits.homeip.net> writes: > Seriously though, I have some more questions. > > When you are embedding Python in a C++ program, your Python code may > need to call C++ code in the embedding program. (At least, that's > what I currently need to do.) That seems pretty standard. There's probably not ... | https://mail.python.org/pipermail/cplusplus-sig/2003-May/003562.html | CC-MAIN-2017-17 | en | refinedweb |
Hi there,
I'm pretty new to DirectX, Direct2D and C#-Development in General (not to Development in itself) so excuse me if there are any oblivious flaws.
The attached tags should give an rough overview about the Environment I'm using (or at least I hope so
).
My SharpDX-Application is using DirectX10 combined with Dire... | https://www.gamedev.net/topic/659323-questions-first-renderloop-with-fixed-time-step-and-animations/ | CC-MAIN-2017-17 | en | refinedweb |
def _ease_time_warp(x):
import math
return .5 - math.cos(math.pi * x) / 2.0
This is a rather simple cosine wave section, normalized so the peaks are at 0 and 1. KS uses this kind of movement for almost everything.
However, only almost; there is a small set of very slow-moving, long-range pans. And if the moves take ver... | http://katawashoujo.blogspot.de/2009/07/little-function-that-could.html | CC-MAIN-2017-17 | en | refinedweb |
Overview
The sample application is a simple contacts application, where phone numbers can be associated to persons. It uses Spring for dependency injection and transaction management, JDO for persistence, and Wicket for the presentation layer.
Basic GAE/Wicket Setup
As mentioned, the basic setup of a GAE/Wicket applica... | http://stronglytypedblog.blogspot.com/2009/07/wicket-spring-jdo-on-google-app-engine.html | CC-MAIN-2017-17 | en | refinedweb |
Red Hat Bugzilla – Bug 86339
Update to glibc-2.3.2-4.80 breaks SSH
Last modified: 2016-11-24 09:49:16 EST
Description of problem:
After Upgrade to glibc-2.3.2-4.80 as per the RHSA-2003:089 - Security Advisory,
sshd will disconnect remote connections after providing the username.
No errors are logged in /var/log.
Versio... | https://bugzilla.redhat.com/show_bug.cgi?id=86339 | CC-MAIN-2017-17 | en | refinedweb |
:
A new Get Started Guide walks you through the basics of getting SaltStack up and running. You'll learn how to:
This walkthrough is an additional tutorial to help you get started quickly and gain a foundational knowledge of Salt:
Official Salt Walkthrough
The following getting started tutorials are also available:!.
i... | https://docs.saltstack.com/en/2015.8/ | CC-MAIN-2017-17 | en | refinedweb |
What do you need:
Preparing the field
First we create a simple activity that has a method with the native qualifier. That tells the JVM that that method is not implemented in Java but by the native layer on C or C++. With Eclipse and ADT 20 that is pretty easy.
package com.example.testjni; import android.os.Bundle; imp... | http://aoriani.blogspot.com/2012/08/using-native-code-jni-on-android-apps.html | CC-MAIN-2017-17 | en | refinedweb |
We ran into this exact scenario when we started using QtCreater 2.8.1 for a recent project. The available documentation () provides a lot of good information, but it seems to only be part of the puzzle, and you're left to dig under the couch to find the missing pieces.
I'm going to assume that you've read through the l... | http://plohrmann.blogspot.com/2013/10/writing-debug-visualizers-for-gdb.html | CC-MAIN-2017-17 | en | refinedweb |
> MultiSlice Programmer Documentation
[MultiSlice API]
MultiSlice is designed in order to shield programmers from the X/MOTIF
code, which can often prove
to be extremely difficult to program in. It is also designed to provide programmers with the ability to
manipulate large 3D data-sets without resorting to falling bac... | http://yhs.sourceforge.net/old_site_1/docs.html | CC-MAIN-2017-17 | en | refinedweb |
Hi, Just two things I thought about while perusing my archives yesterday. >>> #.. FYI, I noticed that PEP 382 (namespace packages) says “the namespace package itself” to refer to the corp/__init__.py file of the corp.somelib package. In the Python tutorial, we have things like “the __init__.py code”. So it looks like t... | https://mail.python.org/pipermail/distutils-sig/2011-June/017848.html | CC-MAIN-2017-17 | en | refinedweb |
Now, we are able to loop over all network interfaces within a shell script. How about we do it in C ? Let's make a first attempt using syscalls, shall we ? The alert reader already guessed that like all major things, there will be three parts (talking about major things, Google suggests me that there are three little p... | http://iijean.blogspot.nl/2010/02/howto-get-list-of-network-interfaces-in_19.html | CC-MAIN-2017-17 | en | refinedweb |
Through the Looking Glass
Using Set Theory
In the last post, we took a look at the basics of set theory. Now, I’d like to take a look at how to actually make use of it in your code.
One of the issues with practically using the code in the last post is that the initial subsets were defined arbitrarily and not derived fr... | http://kyleisom.net/blog/2012/02/01/using-set-theory/index.html | CC-MAIN-2017-17 | en | refinedweb |
!
97 Reader Comments
it's not like i have a lot to be throwing around for this stuff but if I ever do I'll return to Kiva.
I had the same question. The Wikipedia page quotes 31.25% as the average rate charged as of Nov 2009. Average repayment rate is above 98% (less than 2% of lendees default, and many of these are cov... | http://arstechnica.com/staff/2009/12/join-kiva-and-lets-all-help-the-world-today/?comments=1 | CC-MAIN-2014-23 | en | refinedweb |
If I have a do-while loop like this below: and then what follows, how would I repeat the whole shabang?
and then I say thisand then I say thisCode:
#include <iostream>
# include <time.h>
using namespace std
;int main()
{int maximum;
int minimum;
int random_number;
int req_subtraction;
int current_total;
int total;
cout... | http://cboard.cprogramming.com/cplusplus-programming/151068-repeat-printable-thread.html | CC-MAIN-2014-23 | en | refinedweb |
.
75 Reader Comments
You missed his point. He isn't saying normativly that the the price should be $0, he stating as an issue of fact that prices in a competitive market tend toward the marginal cost of production i.e. $0 in the case of digital goods. Of course, that's is a simplification, since you don't have perfect ... | http://arstechnica.com/tech-policy/2010/02/contextualizing-the-copyright-debate-reward-vs-creativity/?comments=1&post=72965 | CC-MAIN-2014-23 | en | refinedweb |
Actors within the ChorusOS operating system environment may extend their address space using the malloc() library call as illustrated earlier in this document. However, this is a rather inflexible way of allocating memory, as there is no way to control the attributes of the allocated memory; that is, whether it is a re... | http://docs.oracle.com/cd/E19048-01/chorus4/806-0610/6j9v18t5s/index.html | CC-MAIN-2014-23 | en | refinedweb |
Security Considerations for JScript
Writing secure code is a challenge in any language. JScript includes a few areas where developers might unknowingly use the language in an insecure way because the language does not force developers to use the most effective practices. Although JScript has been designed with security... | http://msdn.microsoft.com/en-us/library/vstudio/6tbwc8te(v=vs.120).aspx | CC-MAIN-2014-23 | en | refinedweb |
Top Apps
- Audio & Video
- Business & Enterprise
- Communications
- Development
- Home & Education
- Games
- Graphics
- Science & Engineering
- Security & Utilities
- System Administration
Showing page 5 of 8.
XKeymacs
XKeymacs provides key bindings like Emacs for applications running on Windows. You can also configure... | http://sourceforge.net/directory/natlanguage%3Ajapanese/os%3Amswin_xp/?sort=rating&page=5 | CC-MAIN-2014-23 | en | refinedweb |
User talk:Romartus/Archive16
From Uncyclopedia, the content-free encyclopedia
- ArchivejusticePS
- Thanks Pup. It's featured on both sites and I am still working on the 'epic'. Odd thing is, I really wrote it for myself to see how much nonsense I could weave in an updated spirit of the classic book 1066 and All That. -... | http://uncyclopedia.wikia.com/wiki/User_talk:Romartus?oldid=5652369 | CC-MAIN-2014-23 | en | refinedweb |
StateMachine Usage
StateMachine is used as an inherited base class. The
Motor class is
an example of how to use it (see Listings Four and Five).
Motor implements our hypothetical motor-control state machine, where
clients can start the motor, at a specific speed, and stop the motor. The
SetSpeed
and
Halt public functio... | http://www.drdobbs.com/cpp/c-and-the-perils-of-double-checked-locki/cpp/state-machine-design-in-c/184401236?pgno=3 | CC-MAIN-2014-23 | en | refinedweb |
Quick question, so I need to get the min and max of a file. The numbers in the file are:
3
5
8
4
and this is my code:
Right now it is just displaying all of the numbers from the file and I'm really kind of stuck... any help is MUCH appreciated!Right now it is just displaying all of the numbers from the file and I'm rea... | http://cboard.cprogramming.com/cplusplus-programming/95995-how-get-min-max-file.html | CC-MAIN-2014-23 | en | refinedweb |
XMonad.Actions.Promote
Description
Alternate promote function for xmonad.
Moves the focused window to the master pane. All other windows retain their order. If focus is in the master, swap it with the next window in the stack. Focus stays in the master.
Usage
You can use this module with the following in your
~/.xmonad... | http://hackage.haskell.org/package/xmonad-contrib-0.11.2/docs/XMonad-Actions-Promote.html | CC-MAIN-2014-23 | en | refinedweb |
This chapter discusses values that JavaScript recognizes and describes the fundamental building blocks of JavaScript expressions: variables, constants, and literals.
Values
JavaScript recognizes the following types of values:.
Plus operator
An alternative method of retrieving a number from a string is with the
+ operat... | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Values,_variables,_and_literals$revision/418539 | CC-MAIN-2014-23 | en | refinedweb |
KinoSearch::Search::NOTQuery - Invert the result set of another Query.
The KinoSearch code base has been assimilated by the Apache Lucy project. The "KinoSearch" namespace has been deprecated, but development continues under our new name at our new home:
my $not_bar_query = KinoSearch::Search::NOTQuery->new( negated_qu... | http://search.cpan.org/~creamyg/KinoSearch-0.315/lib/KinoSearch/Search/NOTQuery.pod | CC-MAIN-2014-23 | en | refinedweb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.