text stringlengths 20 1.01M | url stringlengths 14 1.25k | dump stringlengths 9 15 ⌀ | lang stringclasses 4
values | source stringclasses 4
values |
|---|---|---|---|---|
In web2py I have been trying to break down this list comprehension so I can do what I like with the categories it creates. Any ideas as to what this breaks down to?
def menu_rec(items):
return [(x.title,None,URL('shop', 'category',args=pretty_url(x.id, x.slug)),menu_rec(x.children)) for x in items or []]
In addition th... | http://www.dlxedu.com/askdetail/3/5a68cabae7928e9398f8742c050805ce.html | CC-MAIN-2018-47 | en | refinedweb |
Import used to run some script code works only once --- Python defined behavior
The very first time I run utest.sikuli , the tw.sikuli test is getting executed and I am able to see the result ( report from HTML test runner ). but when I run the utest.sikuli for 2nd time. two.sikuli is not running but in result it is co... | https://answers.launchpad.net/sikuli/+question/660256 | CC-MAIN-2018-47 | en | refinedweb |
In Part 1 of this series, I looked at some general concepts surrounding sensible exception use in Java programs. In this article, I focus in greater depth on a particular exception-handling technique called exception chaining (sometimes called exception wrapping), which illustrates the principles laid out in Part 1. Ex... | https://www.javaworld.com/article/2075601/testing-debugging/exceptional-practices--part-2.html | CC-MAIN-2018-47 | en | refinedweb |
I'm scraping and saving (as a comma-delimited text file) information on roll call votes in the US House of Representatives.
Each line in the resulting file takes the following form:
Roll Call Number, Bill, Date, Representative, Vote, Total Yeas, Total Nays
Where I'm running into trouble is scraping the dates from 1-Nov... | http://m.dlxedu.com/m/askdetail/3/98fc5adb3492fd7f8e640d1c3f20924a.html | CC-MAIN-2018-47 | en | refinedweb |
XRI
Disclaimer: This piece is a first draft. Since I am not a technical expert, I may have misunderstood a few things - Daniel K. Schneider 18:32, 24 February 2010 (UTC).
Contents
1 Introduction
EXtensible Resource Identifier (XRI) aims to be a high-level naming/identification system for individuals, businesses, commun... | http://edutechwiki.unige.ch/en/I-name | CC-MAIN-2018-47 | en | refinedweb |
How to Play a Video in windows Application and web application
Today i want to present a topic regarding about playing video files in your Windows Application and as well as Web Application.This topic covers how to add a reference Media player dll to your project,what are the propeties that we can set to the windows Me... | http://www.dotnetspider.com/resources/44825-How-Play-Video-windows-Application-web-application.aspx | CC-MAIN-2018-47 | en | refinedweb |
This is the mail archive of the cygwin mailing list for the Cygwin project.
> -----Original Message----- > From: cygwin-owner On Behalf Of Peter A. Castro > Sent: 01 April 2004 22:21 > In system.h I've added a #define in the #ifdef > __CYGWIN__ section of: > #define ORO_TEXT | O_TEXT > And for the #else case: > #define... | http://cygwin.com/ml/cygwin/2004-04/msg00076.html | CC-MAIN-2016-40 | en | refinedweb |
Coefficients for bezier curves
#1 Members - Reputation: 1584
Posted 15 May 2013 - 01:34 AM
#2 Crossbones+ - Reputation: 2243
Posted 15 May 2013 - 06:50 AM
You start from the parametric Bézier curve formula and rewrite the terms until you obtain the desired formula. This is simple algebra, nothing complicated. For examp... | http://www.gamedev.net/topic/643117-coefficients-for-bezier-curves/ | CC-MAIN-2016-40 | en | refinedweb |
>>.
Aren't we all supposed to be switching to Lua now? (Score:1, Funny)
Y'know. Just trying to keep up with the current trend.: (Score:2)
It is very interesting to see the interest and trends based on book sale volume. The state of the computer book contains this interesting chart. [oreilly.com] For more details see O'... | https://books.slashdot.org/story/10/02/22/1430219/learning-python-4th-edition?sdsrc=next | CC-MAIN-2016-40 | en | refinedweb |
Ticket #5854 (closed Bugs: fixed)
asio::ssl::stream holds last 16K until shutdown IF last buffer is on 16K boundary
Description
boost::asio::ssl::stream<boost::asio::ip::tcp::socket> ssl_socket
when using boost::asio::async_write(ssl_socket, std::vector<boost::asio::const_buffer> ..)
the completion handler gets called ... | https://svn.boost.org/trac/boost/ticket/5854 | CC-MAIN-2016-40 | en | refinedweb |
In Part I of this guide I’ve explained the process of cross-forest migration and the differences between using ADMT first or using Prepare-MoveReuqest.Ps1 script first, I’ve also explained the migration scenario and the current environment.
Starting from this part we will talk about migration challenges:
- Primary Acco... | https://blogs.technet.microsoft.com/meamcs/2011/10/25/exchange-2010-cross-forest-migration-step-by-step-guide-part-ii/ | CC-MAIN-2016-40 | en | refinedweb |
In my first post on the Open XML SDK, I talked about the overall design of the SDK with respect to goals and scenarios. Today, I am going to talk about the architecture of the SDK in terms of its different components.
The SDK Architecture
The Open XML SDK is designed and implemented in a layered approach, starting from... | https://blogs.msdn.microsoft.com/brian_jones/2008/10/14/open-xml-sdk-2-0-architecture/ | CC-MAIN-2016-40 | en | refinedweb |
Folks,
Am working on RAD and WAS 8.
I have an MDB. And a stateless session bean (AOBean under EJB project).
While the listener listens to the messages from queue, it also tries to persist to db. I want to achieve this via a method of AOBean (through instantiating session bean or by injection).
I have been sucessful by ... | https://community.oracle.com/message/11172066?tstart=0 | CC-MAIN-2016-40 | en | refinedweb |
A map that uses a regular expression as a key.
Author: Manik Surtani (manik at surtani dot org)
Purpose: To create a Java Map that allowed me to pass in any arbitrary String as a key to it's get() method, and for the Map implementation to attempt to match this key against various regexp-keys it would store, and return ... | http://wiki.apache.org/jakarta/RegexpKeyedMap | CC-MAIN-2016-40 | en | refinedweb |
- OSI-Approved Open Source (21)
- Apache Software License (5)
- GNU Library or Lesser General Public License version 3.0 (4)
- MIT License (4)
- BSD License (3)
- GNU Library or Lesser General Public License version 2.0 (2)
- Common Development and Distribution License (1)
- GNU General Public License version 2.0 (1)
-... | https://sourceforge.net/directory/development/softdevlibraries/language:lua/os:mac/ | CC-MAIN-2016-40 | en | refinedweb |
Speaking of changes to display, it seems useful to easily *not* display units. A lot of pages and templates put the units in a hyperlink, e.g.
has
Area 840.0
km²
where km² is a link to Square_kilometre made with [[Square_kilometre|km²]] .
We can represent the attribute in SMW 0.4 as [[area:=840 km²]], but then the unit... | https://sourceforge.net/p/semediawiki/mailman/attachment/44739140.7010301@earthlink.net/1/ | CC-MAIN-2016-40 | en | refinedweb |
static int
My_probe(device_t dev)
{
uint32_t progif;
uint32_t subclass;
uint32_t class;
device_printf(dev, " Probe\n Vendor ID : 0x%x\n Device ID :
0x%x\n",pci_get_vendor(dev), pci_get_device(dev));
class = pci_get_class(dev);
subclass = pci_get_subclass(dev);
progif = pci_get_progif(dev);
if (class == 0x1 && subclass ... | http://fixunix.com/freebsd/541693-re-i386-127710-my-driver-pci-probe-not-calledformycorrespondingdevice-id-vendor-id.html | CC-MAIN-2016-40 | en | refinedweb |
How Your Insurance Company Computes Your Household Insurance Premium
Household Insurance Premium Quotation
When applying for household insurance from your insurer, you will normally be required to provide some information, usually in the form of an application form. If the insurer is satisfied with the answers you prov... | http://hubpages.com/money/How-Your-Insurance-Company-Computes-Your-Household-Insurance-Premium | CC-MAIN-2016-40 | en | refinedweb |
The push_version() method gets the current application push_version value.
The push_version variable is a local-to-installed-instance version number, which is combined with the build number to revise static resources in %SPLUNK_HOME/etc/apps/<appName>/appserver/static. This number is incremented by a POST to /_bump, fo... | http://dev.splunk.com/view/SP-CAAAEAW | CC-MAIN-2013-20 | en | refinedweb |
getpwent_r()
Get the next entry from the password database
Synopsis:
#include <sys/types.h> #include <pwd.h> int getpwent_r( struct passwd *pwd, char *buffer, size_t bufsize, struct passwd **result);
Arguments:
-went: | http://developer.blackberry.com/native/reference/bb10/com.qnx.doc.neutrino.lib_ref/topic/g/getpwent_r.html | CC-MAIN-2013-20 | en | refinedweb |
View My MVP Profile
Follow me on Twitter
I am a huuuuuuge fan of Behaviors (and Actions and Triggers) for Silverlight and WPF. I have been very disappointed when WinRT turned out not to support them.
Luckily, Joost van Schaik created WinRTBehaviors on CodePlex (also available on NuGet). But his solution still lacks any... | http://dotneteers.net/blogs/vbandi/archive/2012/09/14/adding-and-editing-winrt-behaviors-with-blend.aspx | CC-MAIN-2013-20 | en | refinedweb |
Hi
really it is very useful for those who just wa
Hi
really it is very useful for those who just want to learn in their very first attempt
Once thanks for this publication
Really very helpful for the beginners.
Thanks f
Really very helpful for the beginners.
Thanks for the Tutorial
This is great and an easy way to expl... | http://roseindia.net/tutorialhelp/allcomments/65 | CC-MAIN-2013-20 | en | refinedweb |
Compatible with Windows7 & Mac OS X Snow Leopard
It is correct. IE5 XSL provides some capabilities (such as detection of
cdata sections and namespace declarations) that are not available in XSLT.
MSXML3 uses the same default stylesheet as previous versions.
- Jonathan Marsh
Microsoft
> -----Original Message-----
> From... | http://www.oxygenxml.com/archives/xsl-list/200102/msg01562.html | CC-MAIN-2013-20 | en | refinedweb |
Sun Microsystem added the features like annotation to make the development easier and more efficient in jdk 5. The main objective to develop the annotations is to make the development easier. Annotations behaves like the meta. The literal meaning of meta data is data about data. Java also signifies this meaning. Annota... | http://roseindia.net/ejb/Annotations.shtml | CC-MAIN-2013-20 | en | refinedweb |
There is a trend in microprocessor development computing industry that avoids increasing clock speeds and focuses on multi-cores with separate execution units. Threads or other multiprocessing techniques will require multithreading practices. The future of microprocessor programming and development might just standardi... | http://www.codeproject.com/Articles/56035/Parallel-Computing-and-Data-Parallelism?fid=1559436&df=90&mpp=10&noise=1&prof=True&sort=Position&view=Expanded&spc=None | CC-MAIN-2013-20 | en | refinedweb |
ROUTE(4) BSD Programmer's Manual ROUTE(4)
route - kernel packet forwarding database
#include <sys/socket.h> #include <net/if.h> #include <net/route.h> int socket(PF_ROUTE, SOCK_RAW, int family); in- terfaces, each protocol family installs a routing table entry for each interface when it is ready for traffic. Normally t... | http://www.mirbsd.org/htman/sparc/man4/route.htm | CC-MAIN-2013-20 | en | refinedweb |
/* File: savehdr.h Copyright (C) 2004,2006 Christophe GRENIER <grenier@cgsecurity.org> Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifdef __cplusplus extern "C" { #endif #include "list.h" typedef struct { struct td_list_head list; time_t my_time; char description[128]; list_part_t *list_part; } backup_disk_t; in... | http://fossies.org/linux/misc/testdisk-6.13.tar.gz:a/testdisk-6.13/src/savehdr.h | CC-MAIN-2013-20 | en | refinedweb |
“I have no special talent. I am only passionately curious.”
A Golden Rule of this book is to always ask, “Why?” By this I mean that you should question everything I present. Ask yourself, “Why is this FP approach better than what I do in my OOP code?” To help develop this spirit, let’s take a little look at what FP is,... | https://alvinalexander.com/scala/fp-book/question-everything/ | CC-MAIN-2020-16 | en | refinedweb |
cat scripts/hello-world.py
!python scripts/hello-world.py
!python scripts/hello-world-in-swedish.py.
Most of the functionality in Python is provided by modules. The Python Standard Library is a large collection of modules that provides cross-platform implementations of common facilities such as access to the operating... | https://share.cocalc.com/share/d8d2faccf6f6373d5e0a57a2849cbf76273d673e/scientific-python-lectures/Lecture-1-Introduction-to-Python-Programming.ipynb?viewer=share | CC-MAIN-2020-16 | en | refinedweb |
Welcome refactoring bad smells and 2 code refactorings to get you ready for what is coming. The code used follows the video.
If you like videos like this, it helps to tell Google [googleplusone]
Code Refactoring Code from the Video
// Demonstrate the Creation Method replacement of Constructors // Code Refactoring publi... | http://www.newthinktank.com/2013/01/code-refactoring/?replytocom=23894 | CC-MAIN-2020-16 | en | refinedweb |
MapReduce and Yarn: Hadoop Processing Unit Part 1
MapReduce and Yarn: Hadoop Processing Unit Part 1
In this article, we begin a two-part series on basic implementation of MapReduce and Yarn in the Hadoop ecosystem.
Join the DZone community and get the full member experience.Join For Free
In my previous article, HDFS Ar... | https://dzone.com/articles/mapreduce-and-yarn-hadoop-processing-unit | CC-MAIN-2020-16 | en | refinedweb |
Class
EstimatorSpec
Ops and objects returned from a
model_fn and passed to an
Estimator.
Aliases:
EstimatorSpec fully defines the model to be run by an
Estimator.
__new__
@staticmethod __new__( cls, mode, predictions=None, loss=None, train_op=None, eval_metric_ops=None, export_outputs=None, training_chief_hooks=None, t... | https://www.tensorflow.org/versions/r1.15/api_docs/python/tf/estimator/EstimatorSpec | CC-MAIN-2020-16 | en | refinedweb |
Implementation status: implemented
Synopsis
#include <time.h>
char *asctime(const struct tm *timeptr);
char *asctime_r(const struct tm *timeptr, char *buf);
Description
The
asctime function converts the broken-down time in the structure pointed to by timeptr into a string in the form:
Thu Mar 26 13:03:52 2020\n\0
The
a... | http://phoenix-rtos.com/documentation/libphoenix/posix/asctime | CC-MAIN-2020-16 | en | refinedweb |
On Tue, 25 Mar 2003 08:45:56 -0800, "Luck, Tony" <tony.luck@intel.com> wrote: >>>>>> On Sat, 22 Mar 2003 15:12:55 +1100, Keith Owens <kaos@sgi.com> = >said: > > Keith> arch/ia64/kernel/mca.c:ia64_mca_rendez_int_handler has > Keith> #ifdef CONFIG_SMP > Keith> cpu =3D cpu_logical_id(hard_smp_processor_id()); > Keith> #en... | http://www.gelato.unsw.edu.au/archives/linux-ia64/0303/4997.html | CC-MAIN-2020-16 | en | refinedweb |
Catalog
- Why use exceptions
- Basic definition of exception
- Anomaly system
- Abnormal initial knowledge
- Exceptions and errors
- How to handle exceptions
- “Irresponsible” throws
- Tangled finally
- Throw: a keyword used by JRE
- Exception call chain
- Custom exception
- Abnormal precautions
- When finally meets re... | https://developpaper.com/solid-java-foundation-series-10-deep-understanding-of-java-exception-system/ | CC-MAIN-2020-16 | en | refinedweb |
RecursiveMutex offers exclusive, recursive ownership semantics: More...
#include <yarp/os/RecursiveMutex.h>
RecursiveMutex offers exclusive, recursive ownership semantics:
Definition at line 33 of file RecursiveMutex.h.
Constructor.
Definition at line 14 of file RecursiveMutex.cpp.
Destructor.
Definition at line 19 of ... | http://yarp.it/classyarp_1_1os_1_1RecursiveMutex.html | CC-MAIN-2018-13 | en | refinedweb |
Are you sure?
This action might not be possible to undo. Are you sure you want to continue?
VERIFICATION OF BANKING TRANSACTIONS
Submitted to PUNJAB TECHNICAL UNIVERSITY, JALANDHAR Submitted in the partial fulfillment of the Degree requirement towards the
Submitted By: Anu bala MBA –IIIrd Sem. Roll No. 100112243231
Sub... | https://www.scribd.com/document/65950235/Project-Report | CC-MAIN-2018-13 | en | refinedweb |
Version 1.57.0
Version 1.57.0
November 3rd, 2014 21:55 GMT
Updated Libraries
-
- Asio:
-
-
-
-
-
-
-
-
- Explicitly marked
asio::strandas deprecated. Use
asio::io_service::strandinstead.
- Circular Buffer:
-
- Container:
- Added support for
initializer_list. Contributed by Robert Matusewicz.
- Fixed double destruction ... | http://www.boost.org/users/history/version_1_57_0.html | CC-MAIN-2018-13 | en | refinedweb |
.
using System; using System.Security.Policy; public class Example { public static void Main() { // Get a reference to the default application domain. // AppDomain current = AppDomain.CurrentDomain; // Create the AppDomainSetup that will be used to set up the child // AppDomain. AppDomainSetup ads = new AppDomainSetup(... | https://msdn.microsoft.com/en-us/library/system.appdomainsetup.appdomaininitializer | CC-MAIN-2018-13 | en | refinedweb |
Architecture for dynamic permissions in javaDownload PDF
Info
- Publication number
- US6526513B1US6526513B1 US09366465 US36646599A US6526513B1 US 6526513 B1 US6526513 B1 US 6526513B1 US 09366465 US09366465 US 09366465 US 36646599 A US36646599 A US 36646599A US 6526513 B1 US6526513 B1 US 6526513B1
- Authority
- US
- Gra... | https://patents.google.com/patent/US6526513?oq=5%2C222%2C134 | CC-MAIN-2018-13 | en | refinedweb |
Collaboration Policy (read carefully)
For questions 1-6 of this problem set, you should work alone and turn in your own solution. You may discuss your work with other students in the class, but the work you turn in should be your own.Design Reviews
For questions 7-9 you are expected to work in a team of three students.... | https://www.cs.virginia.edu/~evans/cs205/ps/ps5/ | CC-MAIN-2018-13 | en | refinedweb |
Categorizing Functions
A piece of work within Home Assistant is represented by a function that will be invoked. It will either run inside our event loop or inside our thread pool, depending on if it is async safe.
Home Assistant uses the convention that all functions that must be run from within the event loop are pref... | https://home-assistant.io/developers/asyncio_categorizing_functions/ | CC-MAIN-2018-13 | en | refinedweb |
af_crkey, af_open, af_close, af_rm, af_establish, af_restore - AtFS file system operations
#include <stdio.h> #include <atfs.h> int)
af .
fopen(3), fclose(3), af_retrieve(3), af_lock(3)
Upon error, -1 or a nil pointer (depending on the return type) is returned and af_errno is set to the corresponding error number. | http://huge-man-linux.net/man3/af_files.html | CC-MAIN-2018-13 | en | refinedweb |
config framework
Your framework or library might need default settings and you want your user to change them.
Many developer wrote this kind of code, and you are going to. GluePlate is it!
You and your user write easiry.
Just import Glue as _ and write like nested dict.
from glueplate import Glue as _ settings = _( GLU... | https://pypi.org/project/glueplate/ | CC-MAIN-2016-44 | en | refinedweb |
On Thu 19 Nov 2009 at 09:16PM, Edward Pilatowicz wrote: > hey all, > > i need a review for the following bugfix: > > > 6901952 zoneadm fails with "unable to determine default brand"
Advertising
In the comment: zones -> zone's. Is "default brand" actually a meaningful concept inside of a zone? That is to say, why aren't... | https://www.mail-archive.com/zones-discuss@opensolaris.org/msg05302.html | CC-MAIN-2016-44 | en | refinedweb |
I was working one my recent WPF project today. I used multithreading in the project and recieved this error: The calling thread cannot access this object because a different thread owns it." This was happening because I was trying to change the properties of various UI elements from one of these threads I had created.
... | http://www.dreamincode.net/forums/topic/189173-wpf-threading-problem/ | CC-MAIN-2016-44 | en | refinedweb |
I am to let the user input how many floating number he wants to type in. Once the floating numbers are typed in I am to have a message that says something like "The largest number you inputted is so and so".
How do I recognizing the largest number inputted by the user.
#include <stdio.h>
#include <iostream>
#include <i... | https://codedump.io/share/4ulPaWTaZPMK/1/how-to-print-largest-number-from-user-input | CC-MAIN-2016-44 | en | refinedweb |
A).
PingBack from
While Blend 3 has a number of stellar features that I am sure everyone reading this blog has heard about
We use this extensively, thanks
But there are differences between Silverlight and WPF!
In Silverlight, you can find a property AlternateContentProperty in the namespace System.ComponentModel. Just ... | https://blogs.msdn.microsoft.com/unnir/2009/03/28/alternatecontentproperty-attribute/ | CC-MAIN-2016-44 | en | refinedweb |
/* * : kern/simple_lock_types.h * Author: Avadis Tevanian, Jr., Michael Wayne Young * Date: 1985 * * Simple lock data type definitions */ #ifndef _SIMPLE_LOCK_TYPES_H_ #define _SIMPLE_LOCK_TYPES_H_ #include <mach/boolean.h> #include <kern/kern_types.h> #include <machine/hw_lock_types.h> /* * The Mach lock package expor... | http://opensource.apple.com//source/xnu/xnu-124.7/osfmk/kern/simple_lock_types.h | CC-MAIN-2016-44 | en | refinedweb |
Issue Type: Bug Created: 2009-09-21T05:50:53.000+0000 Last Updated: 2012-11-20T21:38:01.000+0000 Status: Open Fix version(s): Reporter: Giorgio Sironi (giorgiosironi) Assignee: None Tags: - Zend_View
Related issues: - ZF-7350
Attachments:
<pre class="highlight"> // call the helper method if ( method_exists('direct', $h... | https://framework.zend.com/issues/browse/ZF-7907?focusedCommentId=41478&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel | CC-MAIN-2016-44 | en | refinedweb |
From: Linus Torvalds <torva...@linux-foundation.org> Date: Thu, 29 May 2014 15:19:40 -0700 Subject: [RFC PATCH] git log: support "auto" decorations
Advertising
This works kind of like "--color=auto" - add decorations for interactive use, but do not change defaults when scripting or when piping the output to anything bu... | https://www.mail-archive.com/git@vger.kernel.org/msg51985.html | CC-MAIN-2016-44 | en | refinedweb |
Bitwise operators in c programming language: In this tutorial i am going to discuss bitwise operators with example c code. As you may know data is stored in memory in the form of bits and a bit is the unit of memory which can be either zero(0) or one(1). We will perform operations on individual bits.
C programming code... | http://www.programmingsimplified.com/c/tutorial/bitwise-operators | CC-MAIN-2016-44 | en | refinedweb |
jGuru Forums
Posted By:
avdhut_nate
Posted On:
Friday, September 20, 2002 01:48 PM
Hi,
Can you pls tell me how do I retrieve Complete request URL from the servlet. I am using virtual URL...So I need to know the virtual URL from my servlet.
Is there any cookie or header...or some other parameter/method in the request ob... | http://www.jguru.com/forums/view.jsp?EID=1002220 | CC-MAIN-2014-42 | en | refinedweb |
/* ** (c) COPYRIGHT MIT 1995. ** Please first read the full copyright statement in the file COPYRIGH. */
The PEP Manager is a registry for PEP Protocols that follow the generic syntax defined by the HTTP PEP protocol headers. All PEP Protocols are registered at run-time in form of a PEP Module. A PEP Module consists of... | http://www.w3.org/Library/src/HTPEP.html | CC-MAIN-2014-42 | en | refinedweb |
Damon Payne...
Given the popularity of the .NET Platform it seems odd that Microsoft does not provide easier means of doing certain incredibly useful and easy to imagine tasks from the .NET framework. It took what seems like a ridiculous amount of research to accomplish a simple task:
“Lots of programs come up as ‘laun... | http://www.damonpayne.com/2008/02/default.aspx | CC-MAIN-2014-42 | en | refinedweb |
23 April 2010 14:53 [Source: Chemical Report]
The first commercial route to BDO was based on Reppe process which involved the reaction of formaldehyde with acetylene and subsequent stages of hydrogenation to produce BDO. However, it required careful handling of acetylene. BDO made in this way provided one of the chemic... | http://www.icis.com/Articles/2007/11/01/9075179/butanediol-bdo-production-and-manufacturing-process.html | CC-MAIN-2014-42 | en | refinedweb |
moving to libraries, again ... On Sun, 22 Apr 2012, Julian Gilbey wrote: > On Sat, Apr 21, 2012 at 08:28:27PM -0500, Strake wrote: >> On 21/04/2012, Andreas Abel <andreas.abel at ifi.lmu.de> wrote: >> > to avoid silly "return ()" statements like in >> > >> > when cond $ do >> > monadicComputationWhoseResultIWantToDisca... | http://www.haskell.org/pipermail/libraries/2012-April/017727.html | CC-MAIN-2014-42 | en | refinedweb |
Handle.
While we were tackling the issue of error handling and custom error pages we discovered that the HandleErrorAttribute does not invoke any of the Health Monitoring features. This was a requirement for our project and forced us to find a way to work around the issue. This spawned the HandleErrorHmAttribute.
The a... | http://weblogs.asp.net/awilinsk/handleerrorattribute-and-health-monitoring | CC-MAIN-2014-42 | en | refinedweb |
I was going into a project to do some general code refactoring (it’s a hobby, you know), and found some tests that were failing. Figured I’d fix those first and then bitch at whoever left failing tests in a project later. One test failure in particular looked a bit odd to me:
1) Error: test: The 'Add to Web' form shoul... | http://robots.thoughtbot.com/using-url-instance-variable-in-rails | CC-MAIN-2014-42 | en | refinedweb |
For this session assume you have following source files.
Content of main.cpp
#include <iostream.h>
#include "functions.h"
int main(){
print_hello();
cout << endl;
cout << "The factorial of 5 is " << factorial(5) << endl;
return 0;
}
Content of hello.cpp
#include <iostream.h>
#include "functions.h"
void print_hello(){
c... | http://www.tutorialspoint.com/cgi-bin/printversion.cgi?tutorial=makefile&file=why_makefile.htm | CC-MAIN-2014-42 | en | refinedweb |
Download
FREE PDF); }
With EJB 3, dependency injection has greatly simplified accessing both EJB resources"such as JDBC DataSource, JMS Objects, and JPA Entity Manager"and services"such as Timer, User Transaction, and Web Services. You will find this Refcard useful when building enterprise Java applications with EJB 3 ... | http://refcardz.dzone.com/refcardz/dependency-injection-in-ejb3?oid=jl3086 | CC-MAIN-2014-42 | en | refinedweb |
If you want a quick overview of the folio-creation process,
go through this tutorial. For more detailed tutorials, skip to the
next tutorial.
Use the Folio
Builder panel to create a folio and add articles to that folio.
There are two ways to create articles. One method is to open the
InDesign document and use the Add A... | http://help.adobe.com/en_US/digitalpubsuite/tutorials/WS67cb9e293e2f1f60aaa054c12f9a4e3f6f-8000.html | CC-MAIN-2014-42 | en | refinedweb |
Spotlight. Tiger, however,ed,, plugins to load, and data to mine in your applications. No restrictions. No limits.
The technologies that power Spotlight.
This article shows you how Spotlight works, how to programatically query the Spotlight Store, and how to create your own file format importers. As you can see, there ... | http://developer.apple.com/macosx/spotlight.html | crawl-001 | en | refinedweb |
Technical Support
On-Line Manuals
Cx51 User's Guide
#include <string.h>
char *strcpy (
char *dst, /* destination string */
char *src); /* source string */
The strcpy function copies characters from src to dst up to and including the
terminating null character.
The strcpy function returns dst.
strcat, strlen, strncat, s... | http://www.keil.com/support/man/docs/c51/c51_strcpy.htm | CC-MAIN-2019-43 | en | refinedweb |
Data Structures in the Linux Kernel
Doubly linked list
Linux kernel provides its own implementation of doubly linked list, which you can find in the include/linux/list.h. We will start
Data Structures in the Linux kernel from the doubly linked list data structure. Why? Because it is very popular in the kernel, just try... | https://0xax.gitbooks.io/linux-insides/content/DataStructures/linux-datastructures-1.html | CC-MAIN-2019-43 | en | refinedweb |
Linux kernel memory management Part 1.
Introduction
Memory management is one of the most complex (and I think that it is the most complex) part of the operating system kernel. In the last preparations before the kernel entry point part we stopped right before call of the
start_kernel function. This function initializes... | https://0xax.gitbooks.io/linux-insides/content/MM/linux-mm-1.html | CC-MAIN-2019-43 | en | refinedweb |
public class BidiSegmentEvent extends SegmentEvent
The elements in the segments field specify the start offset of a segment relative to the start of the line. They must follow the following rules::
lineOffset, lineText, segments, segmentsChars
data, display, time, widget
source
toString
getSource
clone, equals, finaliz... | https://help.eclipse.org/oxygen/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/custom/BidiSegmentEvent.html | CC-MAIN-2019-43 | en | refinedweb |
Overview
Lombok is an open-source library that is used to reduce boilerplate code in Java classes. This is achieved by replacing many of the repetitive pieces of code with simple and concise annotations.
Lombok injects itself in the build process (via your project/IDE) and autogenerates the bytecode for the desired met... | https://stackabuse.com/project-lombok-reducing-java-boilerplate-code/ | CC-MAIN-2019-43 | en | refinedweb |
#include <gdbm.h>
extern gdbm_error gdbm_errno;
extern char *gdbm_version;
GDBM_FILE gdbm_open (const char *name, int block_size,
int flags, int mode,
void (*fatal_func)(const char *));
void gdbm_close (GDBM_FILE dbf);
int gdbm_store (GDBM_FILE dbf, datum key, datum content, int flag););
void size);
int gdbm_fdesc (GD... | http://www.linuxhowtos.org/manpages/3/gdbm.htm | CC-MAIN-2019-43 | en | refinedweb |
$ cnpm install blondie-inc-google-docs-mustaches
????Interpolate Google Docs files using mustaches and formatters
google-docs-mustaches will execute requests to the Google Drive and Google Docs APIs to copy the file and interpolate its placeholders using the given data.
npm install google-docs-mustaches
Create a new Go... | https://npm.taobao.org/package/blondie-inc-google-docs-mustaches | CC-MAIN-2019-43 | en | refinedweb |
In order to use OpenGL ES with Python using Ctypes, I try to load /opt/vc/lib/libGLESv2.so.
This code works fine, it prints the GL_VERSION string.
However, I don't understand why:
Code: Select all
from ctypes import * gles = CDLL("libGLESv2.so.2") string = ptr(0x1f02) #GL_VERSION print(str(string))
returns libGLESv2.so... | https://www.raspberrypi.org/forums/viewtopic.php?f=32&t=30992&p=269154 | CC-MAIN-2019-43 | en | refinedweb |
I'm trying to make a 'TextWindow' that holds messages that the Application sends to it. The problem is that I have no idea on how to do this. I want to do something like, in C#,
TextWindow.NewLine("This will be displayed in the TextWindow");
Would I just create a new script called "TextWindow" and set it up something l... | https://answers.unity.com/questions/533239/custom-console-in-application.html | CC-MAIN-2019-43 | en | refinedweb |
7. Asynchronous GConf
7. Asynchronous GConf
7.1 Listening to changes in GConf
G:
Utility targets for setting up the GConf data for the application )
We prepare the keyspace next by running the
primekeys target
7.2 Implementing notifications on changes in GConf
We'll start with the necessary header information. The GCon... | http://maemo.org/development/training/maemo_platform_development_content/plain_html/node8/ | CC-MAIN-2017-43 | en | refinedweb |
McDonald's Corp (Symbol: MCD). So this week we highlight one interesting put contract, and one interesting call contract, from the September expiration for MCD. The put contract our YieldBoost algorithm identified as particularly interesting, is at the $145 strike, which has a bid at the time of this writing of $2.04.... | http://www.nasdaq.com/article/one-put-one-call-option-to-know-about-for-mcdonalds1-cm805208 | CC-MAIN-2017-43 | en | refinedweb |
In this article, I’d be discussing the steps to create a custom workflow activity for SharePoint 2010. The need for custom workflow activity arises, when the out-of-box workflow activities do not suffice our requirement. The functionality of developing a custom activity for SharePoint 2010 Workflow is not a new feature... | http://sundarnarasiman.net/category/sharepoint-workflow/ | CC-MAIN-2017-43 | en | refinedweb |
What is Jupyter Notebook (2)
Magic
Jupyter Notebook has many special commands, that called “magic” command. They are prefixed to % or %%. % means the whole line is under “magic” command. %% means the whole area is under “magic” command. By default, % can be omitted if there is no variable conflict.
- %magic_name? — get... | https://medium.com/@rachel_fu/what-is-jupyter-notebook-2-b01ea5b14bfb | CC-MAIN-2017-43 | en | refinedweb |
Hey guys,
so i'm trying to learn the basics of Java, i just could not understand this code.
public class Puppy{ int puppyAge; public Puppy(String name){ System.out.println("Passed Name is :" + name ); } public void setAge( int age ){ puppyAge = age; } public int getAge( ){ System.out.println("Puppy's age is :" + puppyA... | https://www.daniweb.com/programming/software-development/threads/482461/basic-ideas-cannot-understand | CC-MAIN-2017-43 | en | refinedweb |
I often hear/read about interfaced based programming but I am not exactly clear on what that really means. Is interfaced based programming an actual stand alone topic that actually has books written about it? If so, can anyone recommend any good ones?
I came across interface based programming as I was reading about how... | http://ebanshi.cc/questions/127478/what-exactly-is-interface-based-programming | CC-MAIN-2017-43 | en | refinedweb |
WL#4005: checkpoint and backup to Amazon s3 from Cluster
Affects: Server-5.2 — Status: In-Progress — Priority: Medium
Amazon s3 is a fault-tolerant distributed storage service. When applications are deployed on the Amazon ec2 Clustered environment, s3 is the only persistent storage. However, s3 operates as a web servic... | https://dev.mysql.com/worklog/task/?id=4005 | CC-MAIN-2017-43 | en | refinedweb |
django-payline 0.11
Payments using Payline
Easily make payments using Payline
- Author: Mathieu Agopian and contributors
- Licence: BSD
- Compatibility: Django 1.3+
- Requirements: suds
Installation
- pip install -U django-payline
- Add payline to your INSTALLED_APPS
For extensive documentation see the docs folder or r... | https://pypi.python.org/pypi/django-payline | CC-MAIN-2015-27 | en | refinedweb |
Paul Menage wrote:> On Wed, Aug 19, 2009 at 7:34 PM, Li Zefan<lizf@cn.fujitsu.com> wrote:>> It's sure that reverting this commit makes things easier, but>> rebasing this patchset shouldn't be hard. And this doesn't>> sound a good reason to revert an innocent commit.>>> > The problem is that Ben's patch set starts with ... | http://lkml.org/lkml/2009/8/19/590 | CC-MAIN-2015-27 | en | refinedweb |
Cosmos Architecture Meeting 06-Sept-07
Contents
Attendees
- Dave Whiteman
- Ali Mehregani
- Joel Hawkins
- Mark Weitzel
- Sheldon Leeloy
- Hubert Leuyng
Minutes
Discussion of Repository API COSMOS_Design_200222
Reviewed the design document on the wiki.
Where/how do we document the namespaces, package names et.
- Genera... | http://wiki.eclipse.org/index.php?title=Cosmos_Architecture_Meeting_06-Sept-07&oldid=49420 | CC-MAIN-2015-27 | en | refinedweb |
> Nice touch...
Thanks! :-)
> I've just commited your code, but I did do one change:
Cool! I also made one change, though... AssistProposal now also has a
priority attribute, so you can move the 'chattier' ones down to the
bottom of the list (i.e: assign dict and list) while keeping the more
specialized at the top (i.e... | http://sourceforge.net/p/pydev/mailman/message/2199018/ | CC-MAIN-2015-27 | en | refinedweb |
Opened 9 years ago
Closed 8 years ago
#2380 closed defect (wontfix)
ChangeManipulator's and ManyToManyFields (do not show up in resulting FormWrapper)
Description
I have a model that has in it a ManyToManyField that is editable.
I need to present a form that lets you add and remove items from this ManyToManyField.
I fi... | https://code.djangoproject.com/ticket/2380 | CC-MAIN-2015-27 | en | refinedweb |
Details
Description
Currently, it is hardwired in PigContext.
Activity
- All
- Work Log
- History
- Activity
- Transitions
If we include the piggybank functions in the default import list, we need to make sure that they are compiled and tested in the default build, and that the releases will be blocked due to them not ... | https://issues.apache.org/jira/browse/PIG-832?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel | CC-MAIN-2015-27 | en | refinedweb |
Getting started with XSLTC
Compiling XSLT
I often hear two major complaints about XSLT. The first is about its syntax, which takes a while to get used to. Coupled with its recursive nature, the chronological mind can have a hard time adjusting. In fairness, with XSLT editing tools and a bit of practice, the syntax prob... | http://www.developer.com/xml/article.php/721241/Getting-started-with-XSLTC.htm | CC-MAIN-2015-27 | en | refinedweb |
Continuing on from yesterday's post on creating partially-trusted AppDomains, I had a bit of an e-mail exchange with Robert Hurlbut of Hurlbut Consulting. He wanted me to divulge all my secrets about AppDomains to him over e-mail, but I do intend to post them here as blog entries sooner or later (although, for some rea... | http://blogs.msdn.com/b/ptorr/archive/2004/11/09/254309.aspx | CC-MAIN-2015-27 | en | refinedweb |
On 8/13/07, boblusebob@... <boblusebob@...> wrote:
> Does anyone see a problem with replacing this with picking the starting
> port number using a random number between 10001 and 20000 and increasing by
> one? Is there an advantage to using the pid? That would help make this
> test more platform independent. I don't th... | http://sourceforge.net/p/jython/mailman/message/11534351/ | CC-MAIN-2015-27 | en | refinedweb |
CShellList - A Good ImageList Class
Posted by Nathan Moinvaziri on August 17th, 2001
Environment: VC++
Part of this class was specifically designed for all the projects out there that need an imagelist that will retrieve system file icons, just like the explorer-like example provided. CShellList is much simpler than us... | http://www.codeguru.com/print/cpp/controls/imagelist/article.php/c5499/CShellList--A-Good-ImageList-Class.htm | CC-MAIN-2015-27 | en | refinedweb |
You can configure your MySQL integration to collect metrics from custom queries of your MySQL database by following the configuration syntax in these lines of our
mysql.yaml.example file. While you do this, there are a few things you want to keep in mind…
FLOATand not
INT
When you add your custom query, you have to be ... | https://docs.datadoghq.com/integrations/faq/how-to-collect-metrics-from-custom-mysql-queries/ | CC-MAIN-2020-24 | en | refinedweb |
IIdentityName interface
Exposes methods to compare two items to see if they are the same.
Inheritance
The IIdentityName interface inherits from the IRelatedItem interface.
Methods
The IIdentityName interface has these methods.
Remarks
This interface provides only the methods of the IRelatedItem interface, from which it... | https://docs.microsoft.com/en-us/windows/win32/api/shobjidl_core/nn-shobjidl_core-iidentityname | CC-MAIN-2020-24 | en | refinedweb |
Using NSURLProtocol with Swift
Update note: This tutorial was updated for iOS 8 and Swift by Zouhair Mahieddine, checked against Xcode 6.1.1. Original tutorial by Rocir Santiago.
NSURLProtocol is like a magic key to the URL. It lets you redefine how Apple’s URL Loading System operates, by defining custom URL schemes an... | https://www.raywenderlich.com/76735/using-nsurlprotocol-swift | CC-MAIN-2017-26 | en | refinedweb |
Sample Download:
Today’s code sample.
The sample was written by Microsoft Support Escalation Engineer – Shaleen Thapa. application.
To know more about SRV Records, please visit &
Running the Sample
In order to execute this sample code, we need a DNS Server which is in a domain. You must execute this application under D... | https://blogs.msdn.microsoft.com/codefx/2012/03/20/sample-of-mar-20th-set-dns-srv-record-entry-in-domain-naming-server/ | CC-MAIN-2017-26 | en | refinedweb |
Orienteering wristwatch can be like other connected watch. But not at all !
Have you ever did an orienteering ? I could already see you raging with anger against the map in your hands. But it’s not its fault ! Moreover, you have to keep the sheet to stamp at each crossing point. Do not lose it or you will lose the race... | http://www.instructables.com/id/Orienteering-Wristwatch/ | CC-MAIN-2017-26 | en | refinedweb |
GameFromScratch.com
In this tutorial we are going to look at adding keyboard and mouse support to your cocos2D application. cocos2D was traditionally used on the iPhone, so keyboard and mouse support is very touch centric, so if you are used to desktop development and things seem a bit strange, this is why.
Alright, le... | http://www.gamefromscratch.com/post/2013/04/04/My-next-project%E2%80%A6-finally-a-game!.aspx | CC-MAIN-2017-26 | en | refinedweb |
Key:shoulder
Indicates the presence of a
shoulder on highways.
A shoulder, often serving as an emergency stopping lane, is a reserved lane by the verge of a road or motorway - on the right in countries which drive on the right, or on the left side in those which drive on the left (Japan, the UK, Australia, etc.).
Usage... | http://wiki.openstreetmap.org/wiki/Shoulder | CC-MAIN-2017-26 | en | refinedweb |
I have a));
public class Data {
public String title;
public String description;
public int imageId;
Data(String title, String description, int imageId) {
this.title = title;
this.description = description;
this.imageId = imageId;
}
}
Let your class implement the
Comparable interface, this lets Java handle most of the h... | https://codedump.io/share/8gaxo65guuhV/1/sorting-list-ascending-and-descending-android-java | CC-MAIN-2017-26 | en | refinedweb |
qcolordrag.3qt man page
QColorDrag — Drag and drop object for transferring colors
Synopsis
#include <qdragobject.h>
Inherits QStoredDrag.
Public Members
QColorDrag ( const QColor & col, QWidget * dragsource = 0, const char * name = 0 )
QColorDrag ( QWidget * dragsource = 0, const char * name = 0 )
void setColor ( const... | https://www.mankier.com/3/qcolordrag.3qt | CC-MAIN-2017-26 | en | refinedweb |
Integrating Python and QML¶
Qt includes QML as a means of declaratively describing a user interface and using JavaScript as a scripting language within it. It is possible to write complete standalone QML applications, or to combine them with C++. PyQt5 allows QML to be integrated with Python in exactly the same way. In... | http://doc.bccnsoft.com/docs/PyQt5/qml.html | CC-MAIN-2019-13 | en | refinedweb |
If you have worked with ASP.NET MVC in the past, then you have probably interacted with Razor Views in one way or another. Since ASP.NET MVC was introduced in March 2009, Razor has been the View in Model View Controller. But what is all this talk about Blazor recently? How are these two frameworks related? Is Blazor go... | https://espressocoder.com/2019/02/21/whats-the-difference-between-razor-and-blazor/ | CC-MAIN-2019-13 | en | refinedweb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.