text stringlengths 20 1.01M | url stringlengths 14 1.25k | dump stringlengths 9 15 ⌀ | lang stringclasses 4
values | source stringclasses 4
values |
|---|---|---|---|---|
Sometimes your application needs certain common values in its templates, such as a base URL to external media files (not served under MEDIA_URL). Initially I thought a custom template tag was the way to go, and it does work, but there are some disadvantages. You have to load your template tag library into each template... | http://fragmentsofcode.wordpress.com/ | crawl-002 | en | refinedweb |
Recent:
Archives:
While going through "Polymorphism in its purest form," I saw the unfamiliar term factory method. Could you please describe what a factory method is and explain how I can use it?
Factory method is just a fancy name for a method that instantiates objects. Like a factory, the job of the factory method
is... | http://www.javaworld.com/javaworld/javaqa/2001-05/02-qa-0511-factory.html | crawl-002 | en | refinedweb |
Accessing data using Language Integrated
Query (LINQ) in ASP.NET WebPages – Part 1
This article comprises of two parts; Part 1
deals with the introduction to LINQ and LinqDataSource control in ASP.NET and
describes how to define and retrieve an in-memory data collection and display
data in a web page. Part 2 explains h... | http://www.codedigest.com/Articles/ASPNET/38_Accessing_data_using_Language_Integrated_Query_(LINQ)_in_ASPNET_WebPages_%e2%80%93_Part_1.aspx | crawl-002 | en | refinedweb |
Ben Hall, one of the team who wrote SQL Data Generator, has gone on to develop ways of using it to provide test data for a wide variety of Unit Testing requirements. Whether you use NUnit, XUnit, MbUnit or MSTest, you can now lay your hands on as much data as you need..
[Test]
[ExecuteSql(ExecuteWhen = TestSequence.Bef... | http://www.simple-talk.com/sql/sql-tools/using-sql-data-generator-with-your-unit-tests/ | crawl-002 | en | refinedweb |
The Culture of PerlThe Culture of Perl
This is the keynote address I delivered to the Perl Conference on August 20, 1997. Links in square brackets below point to sound files (.au format). If your browser supports .au files, you can play them by clicking on them, just as I did during my sermon, er, uh, speech. The first... | http://www.perl.com/lpt/a/7 | crawl-002 | en | refinedweb |
Bugzilla – Bug 139
gccld does not link objects/archives in order specified on the command line
Last modified: 2004-12-05 14:16:46
You need to
before you can comment on or make changes to this bug.
If you say gccld .... foo.a ... foo.a ... foo.a, it may give you back symbol
redefinition errors, but what we want is for i... | http://llvm.org/bugs/show_bug.cgi%3Fid=139 | crawl-002 | en | refinedweb |
Bugzilla – Bug 107
AsmParser Misses Symbol Redefinition Error
Last modified: 2003-11-11 22:44:25
You need to
before you can comment on or make changes to this bug.
Test Case:
void %test() {
%X = add int 0, 1
%X = add int 1, 2
ret void
}
This assembles fine (no errors/warnings) because the second add gets renamed.
Howev... | http://llvm.org/bugs/show_bug.cgi%3Fid=107 | crawl-002 | en | refinedweb |
Constant objects are a bit more useful in C++ than they are in C. Unfortunately, they're still not as useful as some people would like them to be.
A couple of months ago, I explained that C and C++ offer three different ways to define symbolic constants: as macros, enumeration constants, or constant objects ("Symbolic ... | http://www.embedded.com/story/OEG20011220S0063 | crawl-002 | en | refinedweb |
29-31October 2001
-1-
INTRODUCTION
Hydrogen is increasingly being considered as a utility gas within the refining and petrochemical industry. From an end users perspective, investments in hydrogen plant capacity tend to be judged by the cost of producing hydrogen molecules rather than by the rate of return from the pla... | https://ru.scribd.com/document/61852166/H2-Plant-Design-Discussion | CC-MAIN-2019-43 | en | refinedweb |
public class ValidatorHandler extends FaceletsAttachedObjectHandler implements EditableValueHolderAttachedObjectHandler
Handles setting a
Validator instance on an
EditableValueHolder parent. Will wire all
attributes set to the
Validator instance
created/fetched. Uses the "binding" attribute for grabbing instances
to ap... | https://docs.oracle.com/javaee/7/api/javax/faces/view/facelets/ValidatorHandler.html | CC-MAIN-2019-43 | en | refinedweb |
Since the new Mango developer tools were just released I wanted to write a quick post on PathListBox since I have been looking for an excuse to give it a try. PathListBox allows layout of list box items along an arbitrary path (see PathListBox). So, after installing the Mango developer tools, I created a standard Windo... | http://peted.azurewebsites.net/wp7-pathlistbox/?replytocom=94021 | CC-MAIN-2019-43 | en | refinedweb |
public class InvalidPreferencesFormatException extends Exception
Preferencesspecification.
Preferences,PreferencesFormatException(Throwable cause)
cause- the cause (which is saved for later retrieval by the
Throwable.getCause()method).
public InvalidPreferencesFormatException(String message)
message- the detail message... | https://docs.oracle.com/javase/7/docs/api/java/util/prefs/InvalidPreferencesFormatException.html | CC-MAIN-2019-43 | en | refinedweb |
How to: Show Available Serial Ports in Visual Basic
This topic describes how to use
My.Computer.Ports to show the available serial ports of the computer in Visual Basic.
To allow a user to select which port to use, the names of the serial ports are placed in a ListBox control.
Example
This example loops over all the st... | https://docs.microsoft.com/en-us/dotnet/visual-basic/developing-apps/programming/computer-resources/how-to-show-available-serial-ports?view=netframework-4.8 | CC-MAIN-2019-43 | en | refinedweb |
Subject: [boost] "protected" APIs
From: Lorenzo Caminiti (lorcaminiti_at_[hidden])
Date: 2012-01-02 04:25:49
Hello all,
Boost.Closure (formerly, Boost.Local) needs to use some macros, types,
etc that are currently marked private in Boost.ScopeExit:
BOOST_SCOPE_EXIT_AUX_TAG
boost::scope_exit::aux::undeclared
...
So I wi... | https://lists.boost.org/Archives/boost/2012/01/189233.php | CC-MAIN-2019-43 | en | refinedweb |
BackgroundIn last few posts we saw various I/O streams. We saw example code for byte stream and character stream.We saw BufferedStream and we even saw how to take input from standard input using BufferedReader.Now lets see how can we use Scanner to take input and understand When and why do we use it?
Why scanning?
Obje... | http://opensourceforgeeks.blogspot.com/2013_03_10_archive.html | CC-MAIN-2019-43 | en | refinedweb |
- Yann Droneaud authored
A patchset to remove support for passing pre-allocated struct seq_file to seq_open(). Such feature is undocumented and prone to error. In particular, if seq_release() is used in release handler, it will kfree() a pointer which was not allocated by seq_open(). So this patchset drops support for ... | https://gitlab.flux.utah.edu/xcap/xcap-capability-linux/blob/be7b3caaba41b62cd178c5ac76b0e427939c33b9/fs/mount.h | CC-MAIN-2019-43 | en | refinedweb |
React or Vue: Which Javascript UI Library Should You Be Using?
.
As a result, a lot of web developers are wondering which one they should be using. Is one clearly superior over the other? Do they have specific pros and cons to be aware of? Or are they basically the same?
Two frameworks, two advocates.
In this article I... | https://www.ctolib.com/topics-103690.html | CC-MAIN-2019-43 | en | refinedweb |
Created attachment 50400 [details].
1. Disable sending <gone/>
Following <>, we could modify our implementation of chat state notifications to send <gone/> after a timeout, rather than when the user closes the Telepathy channel. This would prevent the information leak. (I actually don't think the other client should ne... | https://bugs.freedesktop.org/show_bug.cgi?id=40249 | CC-MAIN-2019-43 | en | refinedweb |
But (and there's always a but) I have a problem with what I think is effectively simultaneous execution. The first part of my script takes time, because it involves network activities:
- Code: Select all
from PIL import Image
import subprocess
import time
pic_destination = "/Library/Application Support/Perceptive Autom... | https://forums.indigodomo.com/viewtopic.php?t=20818&p=178981 | CC-MAIN-2019-43 | en | refinedweb |
RCMD(3) BSD Programmer's Manual RCMD(3)
rcmd, rcmd_af, rresvport, rresvport_af, iruserok, ruserok, iruserok_sa - routines for returning a stream to a remote command
#include <unistd.h> int rcmd rresvport(int *port); int rresvport_af(int *port, int af); int established to a server residing at the well-known Internet por... | https://www.mirbsd.org/htman/sparc/man3/rcmd.htm | CC-MAIN-2017-30 | en | refinedweb |
Style in Flex4 through <fx:Style> tag:-
In this example we have apply style property through corresponding components. User can see we have create Text and Link button components and create style for a particular components in the <fx:Style> tag. If user want to apply this process for components it is used namespace fo... | http://www.roseindia.net/tutorial/flex/flex4/components/stylethroughnamescace.html | CC-MAIN-2017-30 | en | refinedweb |
import "google.golang.org/appengine/capability"
Introduction
Package capability exposes information about outages and scheduled downtime for specific API capabilities.
This package does not work in App Engine "flexible environment".
Example:
if !capability.Enabled(c, "datastore_v3", "write") { // show user a different ... | https://cloud.google.com/appengine/docs/standard/go/capabilities/reference | CC-MAIN-2017-30 | en | refinedweb |
{-# OPTIONS non-empty. init :: [a] -> [a] #ifdef USE_REPORT_PRELUDE #endif -- | Test whether a list is empty. null :: [a] -> Bool null [] = True null (_:_) = False -- | /O(n)/. . -- We write foldl as a non-recursive thing, so that it -- can be inlined, and then (often) strictness-analysed, -- and hence the classic spa... | https://downloads.haskell.org/~ghc/7.0-latest/docs/html/libraries/base-4.3.1.0/src/GHC-List.html | CC-MAIN-2017-30 | en | refinedweb |
On Sun, Oct 19, 2003 at 11:20:33AM +0200, Josip Rodin. At this point I see only two alternative: 1) use dependencies build: build-arch binary-indep: build-indep This is not good to run build-indep as root, but only the maintainer run binary-indep, and there is no need to change dpkg-buildpackage. 2) Set a make variable... | https://lists.debian.org/debian-policy/2003/10/msg00065.html | CC-MAIN-2017-30 | en | refinedweb |
NAME
Alt - Alternate Module Implementations
SYNOPSIS
cpanm Alt::IO::All::crackfueled.
GUIDELINES
This idea is new, and the details should be sorted out through proper discussions. Pull requests welcome.
Here are the basic guidelines for using the Alt namespace:
- Name Creation
Names for alternate modules should be mint... | https://metacpan.org/pod/release/INGY/Alt-0.04/lib/Alt.pm | CC-MAIN-2017-30 | en | refinedweb |
Your operating system will typically define three standard streams that are accessible through members of the System class in Java:
A standard input stream that usually corresponds to the keyboard by default. This is encapsulated by the in member of the System class, and is of type InputStream.
A standard output stream... | http://www.yaldex.com/java_tutorial/0105304172.htm | CC-MAIN-2017-30 | en | refinedweb |
Today we are releasing a new milestone: Kotlin M11, which brings such long-awaited features as secondary constructors, a first glimpse of true reflection support for Kotlin and much more.
Language Changes
M11 brings quite a few language changes, some of which are breaking changes and/or deprecation of old ways of doing... | https://blog.jetbrains.com/kotlin/2015/03/kotlin-m11-is-out/ | CC-MAIN-2017-30 | en | refinedweb |
In today’s Programming Praxis exercise, our task is to implement two inefficient sorting algorithms. Let’s get started, shall we?
Some imports:
import Control.Arrow import System.Random import System.Random.Shuffle
Stoogesort is fairly bad at O(n^2.7).
stoogesort :: Ord a => [a] -> [a] stoogesort [] = [] stoogesort xs@... | https://bonsaicode.wordpress.com/2011/05/17/programming-praxis-two-bad-sorts/ | CC-MAIN-2017-30 | en | refinedweb |
This is my first time posting, I hope I got it right
This is my header:
these are my implementation definitionsthese are my implementation definitionsCode:#ifndef TTT_H #define TTT_H #include <iostream> #include <stdlib.h> using namespace std; class TicTacToe { public: static const size_t rows = 3; static const size_t ... | https://cboard.cprogramming.com/cplusplus-programming/127644-trouble-initialiazing-array-constants.html | CC-MAIN-2017-30 | en | refinedweb |
Team,
2 things i am trying to do as per below code
1) write data in column 2,3,4 and 8 of file1 to a new file.
2) data in 1st column(copied in new file)should be searched file2. if found,pick the data in 3rd column of same row of file 2 and write the same to the new column of new file.
point 1 is working fine..finding ... | https://codedump.io/share/QRoj74hRIrth/1/how-to-add-data-to-the-new-column-in-existing-csv-using-python-script | CC-MAIN-2017-30 | en | refinedweb |
Issue Type: Bug Created: 2012-12-27T21:18:26.000+0000 Last Updated: 2013-01-10T11:23:47.000+0000 Status: Resolved Fix version(s): - 1.12.2 (25/Feb/13)
Reporter: Chuck Reeves (creeves1982) Assignee: Chuck Reeves (creeves1982) Tags: - Zend_Test_PHPUnit
Related issues: Attachments: - library.diff
assertHeaderContains and ... | https://framework.zend.com/issues/browse/ZF-12492?page=com.atlassian.streams.streams-jira-plugin:activity-stream-issue-tab | CC-MAIN-2017-30 | en | refinedweb |
in reply to ASCII Battleship Program
Download, check - the tweaked version from roboticus, actually. Play, check (after fixing the two variables reported by '-w'.) Feel all old-school, check. :) Very cool for a first effort, indeed!
In addition to the one-off positioning problem reported, the collision detector doesn't... | http://www.perlmonks.org/?node_id=953727 | CC-MAIN-2017-30 | en | refinedweb |
27110
To read all comments associated with this story, please click here.
To read all comments associated with this story, please click here.
Member since:
2006-05-30
Syllable has been floundering with no direction for years. A lot of good people have left the project because of this.
I mean, I give Kai props for tryin... | http://www.osnews.com/permalink?527110 | CC-MAIN-2017-30 | en | refinedweb |
//I have a class that does intensive work that I need to show its progress using//a progress bar. The progress is getting updated but it does not get updated//as the loop executes. I mean you do not see the actuall progress you just see//the progress bar in the final state. I had hard time looking in action script//for... | https://forums.adobe.com/thread/493713 | CC-MAIN-2017-30 | en | refinedweb |
Hello,
I have having some trouble with my code not working.
In my book I am in the file i/o part so this is what the exercise is on.
My program is one where the user can:
1) make a record in the categories model, make, year, and mileage,
2) read a record for those same categories
3)exit
I have two different functions f... | https://cboard.cprogramming.com/cplusplus-programming/87940-why-o-why-dosent-work-printable-thread.html | CC-MAIN-2017-30 | en | refinedweb |
Set-AzureRmNotificationHub
Syntax
Set-AzureRmNotificationHub [-ResourceGroup] <String> [-Namespace] <String> [-InputFile] <String> [-Force] [-Confirm] [-WhatIf] [<CommonParameters>]
Set-AzureRmNotificationHub [-ResourceGroup] <String> [-Namespace] <String> [-NotificationHubObj] <NotificationHubAttributes> [-Force] [-Co... | https://docs.microsoft.com/en-us/powershell/module/azurerm.notificationhubs/set-azurermnotificationhub?view=azurermps-4.2.0 | CC-MAIN-2017-30 | en | refinedweb |
Getting equality correct is surprisingly tricky in C#. The landscape is a bit of a confusing jumble:
- The
==and
!=operators are a syntactic sugar for static method calls, so it is dispatched based on the static (compile-time) type of both operands.
object.Equals(object)is a virtual method, so of course it dispatches o... | https://ericlippert.com/2013/10/07/math-from-scratch-part-six-comparisons/ | CC-MAIN-2017-30 | en | refinedweb |
13 January 2012 08:56 [Source: ICIS news]
SINGAPORE (ICIS)--Korea Petrochemical Industry Co (KPIC) has bought 25,000 tonnes of spot naphtha for delivery into Onsan in the second half of February, traders said on Friday.
The cargo fetched a premium of $9-9.50/tonne to ?xml:namespace>
Spot premiums for first-half March c... | http://www.icis.com/Articles/2012/01/13/9523454/korea-petrochemical-industry-buys-25000-tonnes-naphtha.html | CC-MAIN-2014-42 | en | refinedweb |
21 February 2013 19:57 [Source: ICIS news]
WASHINGTON (ICIS)--The US economy is likely to experience slow but continued expansion during the first half of this year, a key survey said on Thursday, with the recovering housing industry playing a major positive role.
The Conference Board, a 96-year-old business analysis g... | http://www.icis.com/Articles/2013/02/21/9643355/us-leading-indicators-suggest-slow-but-continuing-growth-ahead.html | CC-MAIN-2014-42 | en | refinedweb |
chdir(2) BSD System Calls Manual chdir(2)
NAME
chdir, fchdir -- change current working directory
SYNOPSIS
#include <unistd.h> int chdir(const char *path); int fchdir(int fildes);
DESCRIPTION
Theildes
The Chdir() system call will fail and the current working directory will be unchanged if one or more of the following ar... | http://www.manpagez.com/man/2/chdir/ | CC-MAIN-2014-42 | en | refinedweb |
These are all very good ideas. I do have to agree with Simon re: the original patch. Its a bit too much of a hack. I still believe that nearly all the work should be in the cache_lock/unlock code and that most of the other cache code should work as it does now. Clearly resolution and invalidation are special cases, but... | http://leaf.dragonflybsd.org/mailarchive/kernel/2006-01/msg00112.html | CC-MAIN-2014-42 | en | refinedweb |
For my assignment I defined a MetaData class for the info from the class header, and clients call a getMetaData() method on the server to retrieve this info
You could create a new interface which extends DBMain and adds getMetaData(). That's what I did anyway.
public interface ExtendedDBAccess extends DBAccess {...} pu... | http://www.coderanch.com/t/183637/java-developer-SCJD/certification/NX-avoid-hard-coding | CC-MAIN-2014-42 | en | refinedweb |
Sanding our assholes with 150 grit.
Daddy's Invisible House
iFAQ
I will do bananas.
I'm here to violate your privacy
Asteroids
Youtube Videos
Deleted Posts Today
(∞)
"To live is to war with trolls."
-― Henrik Ibsen
Search
Scala debate
He points out that Scala can't be used for commercial development because the languag... | http://www.crazyontap.com/topic.php?TopicId=91890&Posts=52 | CC-MAIN-2014-42 | en | refinedweb |
18 September 2008 18:44 [Source: ICIS news]
WASHINGTON (?xml:namespace>
?xml:namespace>
“As our recent actions demonstrate, my administration is focused on meeting these challenges,” Bush said in a televised statement.
“The American people can be sure we will continue to act to strengthen and stabilize our financial ma... | http://www.icis.com/Articles/2008/09/18/9157406/bush-says-markets-still-face-serious-challenges.html | CC-MAIN-2014-42 | en | refinedweb |
I need help looping my program that I am doing. First off what I am trying to do is prompt the user if they would like to calculate again. If they type in the string "y" then It will loop them back into the beginning. If they type in the string "n" it will break; and the program will be done.
Code Java:
package monthyp... | http://www.javaprogrammingforums.com/%20loops-control-statements/33323-while-loop-help-looping-printingthethread.html | CC-MAIN-2014-42 | en | refinedweb |
C API: New API for Unicode Normalization. More...
#include "unicode/utypes.h"
#include "unicode/localpointer.h"
#include "unicode/uset.h"
Go to the source code of this file.
C API: New API for Unicode Normalization.
Unicode normalization functionality for standard Unicode normalization or for using custom mapping table... | http://icu-project.org/apiref/icu4c/unorm2_8h.html | CC-MAIN-2014-42 | en | refinedweb |
<list-mom>
please start a new thread with a new subject when appropriate. thanks.
</list-mom>
Rolf Kulemann wrote:
>>Here is the thread about the simple doctype:
>>
> I have started to think about that simple doctype thingy.
> I hacked a small new doctype called xdoc. It is based on xhtml 1.0
> strict, because it force... | http://mail-archives.apache.org/mod_mbox/lenya-user/200311.mbox/%3C3FA92228.7060601@apache.org%3E | CC-MAIN-2014-42 | en | refinedweb |
![endif]-->
The Software Servo Library can drive servos on all of your pins simultaneously. The API is patterned after the wiring.org servo library but the code is different. You are not limited to 8 servos, but you must call the SoftwareServo::refresh() method at least once every 50ms or so to keep your servos updatin... | http://playground.arduino.cc/ComponentLib/Servo | CC-MAIN-2014-42 | en | refinedweb |
#include <qgsnetworkaccessmanager.h>
destructor
Get QNetworkRequest::CacheLoadControl from name.
Get name for QNetworkRequest::CacheLoadControl.
retrieve exclude list (urls shouldn't use the fallback proxy)
retrieve fall back proxy (for urls that no factory returned proxies for)
insert a factory into the proxy factorie... | http://qgis.org/api/classQgsNetworkAccessManager.html | CC-MAIN-2014-42 | en | refinedweb |
I'm trying to use vectors in a resource management system I am making for a game and keep getting unhandled exceptions during runtime when I try to add elements to the vector, and can't seem to figure out why.
Here is all the code in which the vectors are giving me problems.
Class Definition (vector is initialized):
He... | http://cboard.cprogramming.com/cplusplus-programming/76255-vector-problem.html | CC-MAIN-2014-42 | en | refinedweb |
In this Tuts+ Premium tutorial, we'll learn how to build a file-sharing web application, like Dropbox, using Ruby on Rails.
Introduction
The enormous success of DropBox clearly shows that there's a huge need for simple and fast file sharing.
Our app will have the following features:
- simple user authentication
- uploa... | http://code.tutsplus.com/tutorials/build-a-dropbox-like-file-sharing-site-with-ruby-on-rails-premium--net-17940 | CC-MAIN-2014-42 | en | refinedweb |
Click Once and Unbind
Have something happen on a click event, but only once! Unbind the click handler after the element has been clicked once.
$('#my-selector').bind('click', function() { $(this).unbind('click'); alert('Clicked and unbound!'); });
Also see Ben's comment below for jQuery's .one() function which is essen... | http://css-tricks.com/snippets/jquery/click-once-and-unbind/ | CC-MAIN-2014-42 | en | refinedweb |
SQLAlchemy 1.0 Documentation
Connection Pooling
- Connection Pooling
- Connection Pool Configuration
- Switching Pool Implementations
- Using a Custom Connection Function
- Constructing a Pool
- Pool Events
- Dealing with Disconnects
- API Documentation - Available Pool Implementations
- Pooling Plain DB-API Connection... | http://docs.sqlalchemy.org/en/latest/core/pooling.html | CC-MAIN-2014-42 | en | refinedweb |
/* * _GLOBALS_H #define _S_GLOBALS_H #include "subnets.h" extern int bootp_socket; extern int debug; extern bool dhcp_ignore_client_identifier; extern bool detect_other_dhcp_server; extern int quiet; extern unsigned short server_priority; extern uint32_t reply_threshold_seconds; extern const uint8_t rfc_magic[4]; exter... | http://opensource.apple.com/source/bootp/bootp-198.2/bootpd.tproj/globals.h | CC-MAIN-2014-42 | en | refinedweb |
player_audio_sample Struct Reference
#include <player_interfaces.h>
Collaboration diagram for player_audio_sample:
Detailed DescriptionPlayer audio sample.
Describes an audio sample, if the index is set to -1 the next available slot is used and the index is returned in the response.
Definition at line 2242 of file play... | http://playerstage.sourceforge.net/doc/Player-2.1.0/player/structplayer__audio__sample.html | CC-MAIN-2014-42 | en | refinedweb |
#include <qwt_scale_map.h>
A scale map.
QwtScaleMap offers transformations from the coordinate system of a scale into the linear coordinate system of a paint device and vice versa.
Constructor.
The scale and paint device intervals are both set to [0,1].
Destructor
Transform an paint device value into a value in the int... | http://qwt.sourceforge.net/class_qwt_scale_map.html | CC-MAIN-2014-42 | en | refinedweb |
- pass an argument value at invocation
- pass a variable reference (usable via uplevel or upvar) at invocation
- access a local variable
- access a non-local (global, environment, outside the frame) variable
- request input from the user or from a file/socket/etc.
set val [lindex $val 2]In other words, the value of a v... | http://wiki.tcl.tk/3262 | CC-MAIN-2014-42 | en | refinedweb |
13 July 2010 17:44 [Source: ICIS news]
LONDON (ICIS news)--Chemical companies are likely to report consistently strong second-quarter results in the upcoming weeks, investment bank JP Morgan Cazenove said on Tuesday.
“The rebound from a depressed quarter last year, combined with some product shortages, should push up e... | http://www.icis.com/Articles/2010/07/13/9376237/chemical-companies-to-report-strong-q2-results-analyst.html | CC-MAIN-2014-42 | en | refinedweb |
1. Overview
This tutorial will show how to set up and use Properties in Spring – either via XML or Java configuration.
Before Spring 3.1, adding new properties files into Spring and using property values wasn’t as flexible and as robust as it could be. Starting with Spring 3.1, the new Environment and PropertySource ab... | http://www.javacodegeeks.com/2012/02/properties-with-spring.html | CC-MAIN-2014-42 | en | refinedweb |
#include <sys/stream.h> #include <sys/ddi.h> void qprocson(queue_t *q);
void qprocsoff(queue_t *q);
Architecture independent level 1 (DDI/DKI).
Pointer to the RD side of a streams queue pair.
The qprocson() enables the put and service routines of the driver or module whose read queue is pointed to by q. Threads cannot ... | http://docs.oracle.com/cd/E36784_01/html/E36886/qprocson-9f.html | CC-MAIN-2014-42 | en | refinedweb |
Pa. OpenShift is a Platform as a Service (PaaS) that “manages the stack so you can focus on your code.” It promised a way to for me to run all the new technologies my web host won’t allow. I had to try it out.
What I Want to Build
I make a lot of maps. Just simple point maps with a polygon here or there. No real geopro... | http://paulcrickard.wordpress.com/2012/11/28/openshift-leaflet-js-mongodb-and-flask/ | CC-MAIN-2014-42 | en | refinedweb |
17 September 2008 11:25 [Source: ICIS news]
SINGAPORE (ICIS news)--Rotary Engineering Ltd has secured a S$37.9m ($26.3m) deal to build storage tanks for Neste Oil’s new generation biofuel plant in Tuas, Singapore, the company said on Wednesday.
The engineering, procurement and construction (EPC) contract awarded by Tec... | http://www.icis.com/Articles/2008/09/17/9156557/rotary-wins-26m-singapore-plant-deal-with-neste.html | CC-MAIN-2014-42 | en | refinedweb |
SOCKET(2) BSD Programmer's Manual SOCKET(2)
socket - create an endpoint for communication
#include <sys/types.h> #include <sys/socket.h> int socket(int domain, int type, int protocol); fa- cility is protocol specific, and presently implemented only for PF_NS. SOCK_RAW sockets provide access to internal network protocol... | http://www.mirbsd.org/htman/sparc/man2/socket.htm | CC-MAIN-2014-42 | en | refinedweb |
ActiveReportsJS provides the localization module that includes translations of the Report Viewer UI text to English(en), Japanese(ja), and Chinese(zh) languages. You can find this module in the
dist\locales folder of the download package
In addition, the localization module is distributed within @grapecity/activereport... | https://www.grapecity.com/activereportsjs/docs/DeveloperGuide/ActiveReportsJSViewer/Localization | CC-MAIN-2021-04 | en | refinedweb |
Hey
I want to create a JAR library but not sure how to in MyEclipse. Im currently doing it manually using jar command but I cant seem to get it correctly
The library code is:
public class LibAdd { public static int addtwonumbers (int a,int b) { return a+b; } }
From this, I generate the .JAR (using what command in case ... | https://www.daniweb.com/programming/software-development/threads/406377/how-do-i-create-a-jar-library | CC-MAIN-2021-04 | en | refinedweb |
dns_ip4 - Host name to IP addresses
#include <dns.h> dns_ip4(&out, &fqdn); dns_ip4_packet(&out, buf, len); stralloc out = {0}; stralloc fqdn = {0}; char *buf; unsigned int len;
dns_ip4 looks up 4-byte IP addresses for the fully-qualified domain name in fqdn. It puts the concatenation of the IP addresses into out and re... | http://huge-man-linux.net/man3/dns_ip4_packet.html | CC-MAIN-2021-04 | en | refinedweb |
Here is a small tuturial on how to trigger/start a program/show/scene in Q Light Controller Plus
Q Light Controller Plus is a free Open Source software for DMX control, it can be run on Windows/MacOS/Linux and RasberryPi
I know there is a plugin to control a USB DMX dongel directly, but it didt fit my needs, so here is... | https://forums.indigodomo.com/viewtopic.php?t=19829&p=177410 | CC-MAIN-2021-04 | en | refinedweb |
Template:Languages/sandbox/doc
Inserts a language bar with links to the page's current and future translations. Redlinks are hidden by default; clicking the "Other languages" link unhides them so that the user can quickly begin translating. This template appears at the top of almost every page of this wiki, thanks in p... | https://wiki.openstreetmap.org/wiki/Template:Languages/sandbox/doc | CC-MAIN-2021-04 | en | refinedweb |
Introduction to Reinforcement Learning
Table of Contents
- What is Reinforcement Learning?
- Reinforcement Learning vs. the rest
- Intuition to Reinforcement Learning
- Basic concepts and Terminology
- How Reinforcement Learning Works
- Simple Implementation
- Conclusion
- References and Links
What is Reinforcement Lea... | https://www.datacamp.com/community/tutorials/introduction-reinforcement-learning | CC-MAIN-2021-04 | en | refinedweb |
We're evaluating the Aspose.Word product and it's been working great, but we have encountered an error every so often that seems as if the template file we are using is locked and can't be accessed. Here is the exception error we are getting:
The process cannot access the file “\Invoices\Templates\Blank.dot” because it... | https://forum.aspose.com/t/error-opening-template-file/110481 | CC-MAIN-2021-04 | en | refinedweb |
A supported use case for using Ext Plugins in Liferay DXP is adding additional functionality to Liferay DXP's
web.xml file. Before beginning, make sure you've reviewed the generalized Customization with Ext Plugins tutorial.
As an example, you'll create a sample Ext plugin that adds to your Liferay DXP's existing
web.x... | https://help.liferay.com/hc/zh-cn/articles/360022796291-Adding-to-the-web-xml-With-Ext-Plugins | CC-MAIN-2021-04 | en | refinedweb |
Tiny Handy Prompting Lib
Project description
tinyprompt
A tiny lib for nice, handy prompts, primarily for Ops scripts.
This README contains all documentation.
Usage
pip install tinyprompt
Use tinyprompt.skippable to wrap script steps with a Yes / Skip / Quit prompt. This is very useful for simple scripted operations wh... | https://pypi.org/project/tinyprompt/ | CC-MAIN-2021-04 | en | refinedweb |
Get intellisense for VSTO add-in in VBA
If you’re calling VSTO code from VBA, like in this article, you may want to add a reference to your VSTO project so that you get Intellisense in the VBA Editor. If you can’t find your add-in in the Tools/References list, and Browsing for it results in a “Can’t add a reference to ... | https://stegriff.co.uk/upblog/add-a-reference-to-vsto-project-from-vba-editor/ | CC-MAIN-2021-04 | en | refinedweb |
These are chat archives for FreeCodeCamp/HelpFrontEnd
@ki4jgt
can't get the modifier keys to properly register and deregister from the mod_sync var
what do you mean by that?
.btn:hover .btn:active{ background: #333333; color: #ccc; }
@roxxlen nope sicne classes has the same specificity, so bootstrap will take precedenc... | https://gitter.im/FreeCodeCamp/HelpFrontEnd/archives/2018/06/04?at=5b14d1d252e35117cd05dab8 | CC-MAIN-2021-04 | en | refinedweb |
Iterators are the objects in Python which contain any countable number of values or that which can return one value at a time. The iterators can be iterated, in other words all their values can be explored. Iterators are the ones which implement the iterator class protocol, which consists of these two methods _ _next_ ... | https://mindmajix.com/python/generators | CC-MAIN-2021-04 | en | refinedweb |
The calendar control is part of the dot net web controls collection. Its in the namespace System.Web.UI.WebControls. It provides an efficient mechanism for the user to to select dates in the desired format.But one of the functionality that we require most of the time, as part of validation is to disable a range of date... | https://www.codeproject.com/Articles/20003/How-to-Disable-Selected-Dates-dynamically-from-the?pageflow=FixedWidth&fid=448251&df=90&mpp=25&sort=Position&view=Normal&spc=Relaxed&prof=True | CC-MAIN-2021-04 | en | refinedweb |
CSDKImageEditor is not definedreversot89688892 Jul 4, 2017 11:14 PM
Hi,
I'm using Ionic v3 and tried integrating the Adobe Creative Cloud CSDKImageEditor plugin (GitHub - CreativeSDK/phonegap-plugin-csdk-image-editor: A PhoneGap plugin for the Creative SDK Image Editor. ), as the plugin is supposedly compatible with Io... | https://forums.adobe.com/thread/2354223 | CC-MAIN-2018-17 | en | refinedweb |
idiot 0.9.2
Informative terminal output as you iterate over a callback
To use this package, put the following dependency into your project's dependencies section:
Idiot Library
- Author: Jonathan M. Wilbur [jonathan@wilbur.space](mailto:jonathan@wilbur.space)
- License: MIT License
- Version: 0.9.2
Have a task where yo... | http://code.dlang.org/packages/idiot | CC-MAIN-2018-17 | en | refinedweb |
bossmx.performance;23 24 import org.jboss.test.JBossTestCase;25 26 public class TestCase27 extends JBossTestCase28 {29 public final static int ITERATION_COUNT = 100000;30 public final static int REPEAT_COUNT = 10;31 32 public TestCase(String s)33 {34 super(s);35 }36 37 /**38 * We do not need the JBoss Server for perfor... | http://kickjava.com/src/org/jboss/test/jbossmx/performance/TestCase.java.htm | CC-MAIN-2018-17 | en | refinedweb |
01-25-2016 05:07 PM
Hi,
I am trying to access the already existing table in hive by using spark shell
But when I run the instructions, error comes "table not found".
e.g. in hive table is existing name as "department" in default database.
i start the spark-shell and execute the following set of instructions.
import org... | https://community.cloudera.com/t5/Advanced-Analytics-Apache-Spark/how-to-access-the-hive-tables-from-spark-shell/td-p/36609/highlight/true | CC-MAIN-2019-30 | en | refinedweb |
Problem installing Qt Charts
I have cloned the qtcharts project from github and I am trying to built it. I am using ubuntu, qmake version 3.0 and qt version 5.5.1. I get the following error when I try to build the project cloned from github:
Makefile:3313: warning: ignoring old recipe for target '.obj/main.o'
Makefile:... | https://forum.qt.io/topic/71581/problem-installing-qt-charts | CC-MAIN-2018-13 | en | refinedweb |
Overview
Atlassian Sourcetree is a free Git and Mercurial client for Windows.
Atlassian Sourcetree is a free Git and Mercurial client for Mac.
Django Audit
A quick and simple app for providing standard audit fields without the typical inheritance.
Backstory
As of September 2012, it appears that there is still no clear ... | https://bitbucket.org/bogeymin/django-model-audit | CC-MAIN-2018-13 | en | refinedweb |
I added a link in the original post above. Here you go:
Wiki: Lesson 1
I’ve written a few basic scripts that help with the workflow for setting up problems similar to
Cats and Dogs. Deep Learning Utilities
There are three simple scripts:
image_download.py,
make_train_valid.py and
filter_img.py I developed these tools b... | http://forums.fast.ai/t/wiki-lesson-1/9398?page=9 | CC-MAIN-2018-13 | en | refinedweb |
Hey everyone. As always I'm sorry for my noobness when it comes to java, but I got a question I can't seem to find answered anywhere else on the web. I'm trying to make a simple program that takes whatever number the user types in, and makes a linked linked with the # of random numbers that the user typed. So if the us... | https://www.daniweb.com/programming/software-development/threads/421787/inserting-numbers-into-a-linkedlist | CC-MAIN-2018-13 | en | refinedweb |
This code rounds 1.5 (value = 15) to 2 but also rounds 144.5 (value = 1445) to 144. I dont understand why.
def rounders(value):
count = 0
while value >= 10:
value = round(value / 10, 0)
count += 1
return value * (10 ** count)
This question is very similar to Strange behavior of numpy.round. What is written there about
... | https://codedump.io/share/FXpMpLvznkZb/1/python-rounding-confusion | CC-MAIN-2018-13 | en | refinedweb |
This blog will show you the basics of XI, XSLT and the Graphical mapping tool. This should give the XI beginner a very basic idea of how to use the SLD, Repository, namespaces, data types and mappings. If you are like me you are probably just itching to get your hands dirty. So first up let’s assume you have a XI useri... | https://blogs.sap.com/2008/05/12/xi-for-beginners-simple-xslt-part-1/ | CC-MAIN-2018-13 | en | refinedweb |
Steven John Metsker, William C. Wake
Mentioned 4
An effective companion to the classic Gang of Four book, Metsker and Wake help Java programmers better understand and apply design patterns. am actually reading a book about design patterns in java and i am a newbie :) at the chapter about composite pattern i came across... | http://www.dev-books.com/book/book?isbn=0321333020&name=Design-Patterns-in-Java | CC-MAIN-2017-39 | en | refinedweb |
Lizitt Outfitter for Unity3D
Notice
2016-03-18: Released v0.2.0. With this release the main branch will no longer be treated as a development branch and breaking changes will only occur in major versions (0.x). For now, bug fixes and new features will still be added between releases with the changes aggregated periodic... | http://unitylist.com/r/1bk/lizitt-unity3d-outfitter | CC-MAIN-2017-39 | en | refinedweb |
I'm trying to create npm module and I can't find single instruction on official babeljs website. How do you use babel-runtime package? From name I'm guessing it should be placed in "dependencies" section of package.json, right?
Absolutely no information here:
Found one example here: but when I run "babel -h" it doesn't... | https://codedump.io/share/U70bAYuPwDQR/1/how-to-use-babel-runtime-in-babel-6 | CC-MAIN-2017-39 | en | refinedweb |
I have a set of JSON data that looks simular to this:
{"executions": [
{
"id": 17,
"orderId": 16,
"executionStatus": "1",
"cycleId": 5,
"projectId": 15006,
"issueId": 133038,
"issueKey": "QTCMP-8",
"label": "",
"component": "",
"projectKey": "QTCMP",
"executionDefectCount": 0,
"stepDefectCount": 0,
"totalDefectCount": ... | https://codedump.io/share/vR6RaK1WMjQ2/1/searching-json-returning-string-within-the-json-structure | CC-MAIN-2017-39 | en | refinedweb |
REALPATH(3P) POSIX Programmer's Manual REALPATH(3P)
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.
realpath — resolve a pathnam... | http://man7.org/linux/man-pages/man3/realpath.3p.html | CC-MAIN-2017-39 | en | refinedweb |
#1959860, was opened at 2008-05-07 19:08: Wont Fix
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Mike C. Fletcher (mcfletch)
Summary: glReadPixels breaks 2.x compat. breaks pygame.
Initial Comment:
Hi,
with glReadPixels changing its interface from 1, 2.x, it breaks pygame.image.save(scre... | https://sourceforge.net/p/pyopengl/mailman/pyopengl-devel/?style=flat&viewmonth=200806&viewday=11 | CC-MAIN-2017-39 | en | refinedweb |
In the absence of an ACK for the entire send window, the sender assumes
that that the peer has gone away and silently cleans up the connection (no
FINs or RSTs sent at this stage) after retries.
If the peer was actually alive and sends a packet on the old connection,
the sender will then send a RST.
The fact that both ... | http://www.w3hello.com/questions/send-requests-to-twitter-with-requests-OpenSSL-SSL-SysCallError-104-39-Connection-reset-by-peer-39- | CC-MAIN-2018-17 | en | refinedweb |
This program implements
a simple chat server (Example 16-10) that works with the chat applet from Section 15.11. It accepts connections from an arbitrary
number of clients; any message sent from one client is broadcast to
all clients. In addition to
ServerSockets, it
demonstrates the use of threads (see Chapter 24).
An... | https://www.safaribooksonline.com/library/view/java-cookbook/0596001703/ch16s07.html | CC-MAIN-2018-17 | en | refinedweb |
tri.form is a form library
Project Description
tri.form
tri.form is alternative forms library for Django. It is inspired by, and comes from a frustration with, the standard Django forms.
Major features compared to Django forms:
- Supports
__syntax for going across table boundaries, similar to how Django does with Query... | https://pypi.org/project/tri.form/ | CC-MAIN-2018-17 | 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
Enumerates options for defining if polygons are open or closed.
The enumeration closure_selector describes options for if a polygon is open or closed. In a closed polyg... | https://www.boost.org/doc/libs/1_50_0/libs/geometry/doc/html/geometry/reference/enumerations/closure_selector.html | CC-MAIN-2018-17 | en | refinedweb |
-
JSON
The first solution that came up was to split the web server into two pieces, so that the URLs which could have these JSON responses were served by a different process than was serving the rest. This is a pretty decent solution, and it also provides the benefit of using extra CPU cores if there are any available... | http://as.ynchrono.us/2010/ | CC-MAIN-2018-17 | en | refinedweb |
++.
Types
C and C++ share a set of common base types and constructs that can easily be used, and others that have subtle differences:
- Integer types such as
char,
short,
int,
long, … share representation and semantics. But beware that
bool(or
_Bool) and enumeration types need special care, see below.
- All floating po... | https://gustedt.wordpress.com/2017/08/08/cross-language-interfaces-between-c-and-c/ | CC-MAIN-2018-17 | en | refinedweb |
Smart Home apps are structured differently than traditional apps for the Assistant. The process for how users trigger actions and the actions' conversations are handled for you; all you need to do is handle Smart Home intents on your service.
To create a Smart Home app, do the following:
- Set up an OAuth 2.0 server fo... | https://developers.google.cn/actions/smarthome/create-app | CC-MAIN-2018-17 | en | refinedweb |
An O(n log(n)) solution in Java.
What it does:
- Store start date and end date.
- Sort it by the start date. In case of a clash, sort it by end date. O(n log(n)) complexity is due to sorting.
- Store the last considered timings in array last.
- Work with each elements in such a way that you squeeze down the end date as... | https://www.commonlounge.com/profile/4f7d50023869431a9b81e1ee654ba60d | CC-MAIN-2018-17 | en | refinedweb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.