text stringlengths 20 1.01M | url stringlengths 14 1.25k | dump stringlengths 9 15 ⌀ | lang stringclasses 4
values | source stringclasses 4
values |
|---|---|---|---|---|
The following example demonstrates how to filter the appointments shown within a Scheduler Control according to some condition. For this the SchedulerStorageBase.FilterAppointment event is used. The code below demonstrates how to hide all tentative appointments (those whose status is set to AppointmentStatusType.Tentat... | https://documentation.devexpress.com/WindowsForms/2281/Controls-and-Libraries/Scheduler/Examples/Data-Binding/How-to-Filter-Appointments | CC-MAIN-2017-39 | en | refinedweb |
Posted 02 Jul 2011
Link to this post
For a project I have to use a legacy database with some cyclic references. The entities are generated as expected, but when I try to use the entities through a WCF Ria service, I got the following error on tables containing cyclic references:
There was an error while trying to seria... | http://www.telerik.com/forums/wcf-ria-cyclic-references | CC-MAIN-2017-39 | en | refinedweb |
?
If you install the RegReplace plugin, you can add these to the settings file (you can modify these how you like):
// Remove trailing spaces
"remove_trailing_spaces": {
"find": " \\t]+$",
"replace": "",
"greedy": true,
"case": true
},
// Remove all new lines at the start of the file and remove newlines > 1 at end of f... | https://forum.sublimetext.com/t/whitespace-handlers-could-play-better-together/4743/1 | CC-MAIN-2017-39 | en | refinedweb |
Sam,
Thursday, May 30, 2002, 6:28:19 AM, you wrote:
Sam> CLISP is not supposed to include "/usr/include/stdbool.h" - it comes
Sam> with its own.
These patches was required to build on windows (#include "" instead of
#include <>). But I don't know how it affects unix build, I suppose clisp
won't build on unix with thes... | https://sourceforge.net/p/clisp/mailman/clisp-list/?viewmonth=200205&viewday=30 | CC-MAIN-2017-39 | en | refinedweb |
XML::EPP - an implementation of the EPP XML language
use XML::EPP; my $foo_create = XML::EPP->new( message => XML::EPP::Command->new( action => "create", argument => XML::EPP::SubCommand->new( payload => XML::EPP::Obj::create->new( ... ), ), clTRID => "xml_epp_".time."_$$", ), ); print $foo_create->to_xml;
This module ... | http://search.cpan.org/~chilts/XML-EPP-0.03/lib/XML/EPP.pm | CC-MAIN-2017-39 | en | refinedweb |
At 01:40 PM 6/28/01 -0700, Mark McEahern wrote: >I'm a Zope and Python newbie and I'm trying to utilize Persistence, but I've >seen two different ways: > > import ZODB > from Persistence import Persistent As Michel said, this is only for non-Zope use. In this case the 'import ZODB' statement does some funky stuff with ... | https://www.mail-archive.com/zope-dev@zope.org/msg07243.html | CC-MAIN-2017-39 | en | refinedweb |
Java Reference
In-Depth Information
The Document Type Definition (DTD) for the generated XML when exporting
to this format can be found at
jasperprint.dtd .
Reports exported to XML can be viewed with the JasperViewer utility included with
JasperReports. To view a report exported to XML, the -XML argument needs to be
pa... | http://what-when-how.com/Tutorial/topic-6654l7tl/JasperReports-for-Java-Developers-245.html | CC-MAIN-2017-39 | en | refinedweb |
WSGI Application Profiler¶
This module provides a simple WSGI profiler middleware for finding
bottlenecks in web application. It uses the
profile or
cProfile module to do the profiling and writes the stats to the
stream provided (defaults to stderr).
Example usage:
from werkzeug.contrib.profiler import ProfilerMiddlewa... | http://werkzeug.pocoo.org/docs/0.11/contrib/profiler/ | CC-MAIN-2017-43 | en | refinedweb |
This C Program calculates the sum of G.P series. This program is used to find the sum of the geometric progression series. Here G.P stands for geometric progression. A geometric progression, or GP, is a sequence where each new term after the ?rst is obtained by multiplying the preceding term by a constant r, called the... | http://www.sanfoundry.com/c-program-sum-gp/ | CC-MAIN-2017-43 | en | refinedweb |
This holds for both version 1.4 & 2.
When a python code has annotation for a function's return type,the syntax highlighting of the following code is all broken.
For example:
def foo( value: int ) -> int:
return value + 2
# all syntax highlighting broken below this line
...
This still seems to be the case...
I just regi... | https://forum.sublimetext.com/t/unrecognized-python-3-code-in-syntax-highlighting/4161 | CC-MAIN-2017-43 | en | refinedweb |
Shared pointers are quite smart. They remember the type they where first constructed with in order to delete them correctly. Take that for example:
struct A { virtual void test() = 0; };
struct B : A { void test() override {} };
void someFunc() {
std::shared_ptr<A> ptr1;
ptr1 = std::make_shared<B>();
// Here at the end... | https://codedump.io/share/bmGMpBFKKFZJ/1/can-upcasting-a-sharedptrlttgt-to-a-sharedptrltvoidgt-lead-to-undefined-behaviour | CC-MAIN-2017-43 | en | refinedweb |
TransitionMoveInL: Move in from to the left the incoming scene. More...
#include <CCTransition.h>
TransitionMoveInL: Move in from to the left the incoming scene.
returns the action that will be performed
returns the Ease action that will be performed on a linear action.
Implements TransitionEaseScene.
initializes the s... | http://www.cocos2d-x.org/docs/api-ref/cplusplus/V3.4/de/d48/classcocos2d_1_1_transition_move_in_l.html | CC-MAIN-2017-43 | 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.
Caveman: Validation of HTML5 cache manifests.
Programmatic use def.
Django unit tests
As an example of programmatic use, here's one way to use Caveman in a Django test suite:
fr... | https://bitbucket.org/ned/caveman | CC-MAIN-2017-43 | en | refinedweb |
If you compile this simple program you will se what I am trying to get it to do. It all works fine other than the fact that if you get it win on you'r last try, it will say that you lost even though when it displays the numbers out, you see that you did not loose, you won. Although the computer doesn't see it that way.... | https://cboard.cprogramming.com/cplusplus-programming/64800-something-wrong-my-guessing-game.html | CC-MAIN-2017-43 | en | refinedweb |
I am try to add a digital signature to a pdf using java api, and signature was read by epass2003 token. so,here i done this job(add digital signature to pdf),
and its working fine, but when i open this pdf document in another system it shows
the "Atleast one signature has problem", bu in my system validate sign correct... | https://codedump.io/share/m8wk7OW6h3Ck/1/digital-signature-in-pdf-using-java-api-and-epass2003-token | CC-MAIN-2017-43 | en | refinedweb |
Wireless Home Security and Java
Java Programming Notes # 734
- Preface
- Preview
- Discussion and Sample Code
- The Sockets15 Class
- The Sockets14 Class
- The Sockets10 Class
- The Sockets11 Class
- The Sockets11a Class
- The Sockets12 Class
- The Sockets13 Class
- Run the Programs
- Summary
- Good Network Practice
- ... | https://www.developer.com/java/other/article.php/3612951/Wireless-Home-Security-and-Java.htm | CC-MAIN-2017-43 | en | refinedweb |
BUILD// 2014 Update:
I recommend watching the excellent talk by Peter Torr.
Peter had kindly reviewed this post an I appreciate it, also recommended linking to the new updated docs.
TL;DR: if you need to use images per resolution use the following code, it will save you time.
As of today, the Windows Phone platform sup... | http://blogs.microsoft.co.il/arielbh/2013/12/08/how-to-do-wp8-and-resolution-dependent-images-correctly/ | CC-MAIN-2018-17 | en | refinedweb |
18.5.5. Streams (coroutine based API)¶
18.5.5.1. Stream functions¶
Note
The top-level functions in this module are meant as.
The arguments are all the usual arguments to
AbstractEventLoop.create_connection(.. The client_connected_cb..
- coroutine
readuntil(separator=b'\n')¶
Read data from the stream until
separatoris f... | http://docs.activestate.com/activepython/3.6/python/library/asyncio-stream.html | CC-MAIN-2018-17 | en | refinedweb |
Standby Letter Of Credit To Secure Lease involve some pictures that related each other. Find out the newest pictures of Standby Letter Of Credit To Secure Lease here, so you can obtain the picture here simply. Standby Letter Of Credit To Secure Lease picture put up ang published by Admin that kept inside our collection... | http://www.weemsreg.info/standby-letter-of-credit-to-secure-lease.html | CC-MAIN-2018-17 | en | refinedweb |
The nerve center of your TurboGears application. In addition, any of these URLs will return the same result.
URLs not explicitly mapped to other methods of the controller will generally be directed to the method named _default(). With the above example, requesting any URL besides /index, for example, will return the me... | https://turbogears.readthedocs.io/en/rtfd2.2.2/main/Controllers.html | CC-MAIN-2018-17 | en | refinedweb |
Introduction
In our day to day lives, we learn new things. Similarly, in programming, we want to keep ourselves updated and learn every new feature. Learning a new thing is good but it is only beneficial for you as long as you implement it in your application. Thus, this article is about one of the topics that every pr... | https://www.c-sharpcorner.com/article/understanding-interface-with-real-world-implementation/ | CC-MAIN-2018-17 | en | refinedweb |
Odoo Help
Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
OpenERP 7.0 and NetRPC
Hello,
I have a php application that connect to a 6.0 version of OpenERP using netrpc. I'm now trying to c... | https://www.odoo.com/forum/help-1/question/openerp-7-0-and-netrpc-61370 | CC-MAIN-2018-17 | en | refinedweb |
Lab 7: Midterm Review
Starter Files
Download lab07.zip. Inside the archive, you will find starter files for the questions in this lab, along with a copy of the OK autograder.
Submission
This lab will not be graded. You do not need to submit anything.
Control
Question 1: Abundant
Implement a function
abundant that takes... | http://inst.eecs.berkeley.edu/~cs61a/su16/lab/lab07/ | CC-MAIN-2018-17 | en | refinedweb |
Algorithms and data structures
- Beverley Barnett
- 1 years ago
- Views:
Transcription
1 Algorithms and data structures This course will examine various data structures for storing and accessing information together with relationships between the items being stored, and algorithms for efficiently finding solutions to v... | http://docplayer.net/20943992-Algorithms-and-data-structures.html | CC-MAIN-2018-17 | en | refinedweb |
Memory Access Patterns¶
If you have not figured this out by now, computer architecture is tied to the software it runs. Designers study programming patterns, and use that data to find ways to improve performance.
Let’s look at some code, and see how we might process data.
Note
Some of this code is silly. We could just ... | http://www.co-pylit.org/courses/cosc2325/memory-heirarchy/03-memory-access-patterns.html | CC-MAIN-2018-17 | en | refinedweb |
Created on 2014-11-12 10:20 by doko, last changed 2014-11-15 00:20 by Arfrever.
seen with the current 2.7 branch:
$ cat > x.py
def foo(): yield
gen = foo()
print gen.gi_frame.f_restricted
for i in gen: pass
print gen.gi_frame
gen = foo()
print gen.next()
print gen.gi_frame.f_restricted
$ python x.py
False
None
None
Seg... | https://bugs.python.org/issue22851 | CC-MAIN-2018-17 | en | refinedweb |
Simple from Simple2D 1.06 or later
Simply run the new installer. Your Simple2D installation will be upgraded automatically to the latest version. Please read the code migration guide below if you have existing applications built on Simple2D 1.07 or earlier.
Migrating from Simple2D 1.05 or earlier
- Uninstall Simple2D f... | https://katyscode.wordpress.com/2013/03/14/simple2d-1-10-now-available/ | CC-MAIN-2018-17 | en | refinedweb |
In this example, we use two for loops in conjunction with the putchar library function to print all uppercase letters followed by all lowercase letters. The loop variable ch is assumed to be of type char or int. The first for loop prints the uppercase letters as loop variable ch assumes values as ‘A’, 'B’, ... , ‘z’.
T... | http://ecomputernotes.com/what-is-c/control-structures/print-all-uppercase-letters-followed-by-all-lowercase-letters-on-the-next-line | CC-MAIN-2018-17 | en | refinedweb |
As mentioned in the short introduction to the topic of graphs, a graph consists of nodes and edges. As a node is represented by an instance of the Node class, the Edge generic class can be used to represent an edge. The suitable part of code is as follows:
public class Edge<T> { public Node<T> From { get; set; } public... | https://www.oreilly.com/library/view/c-data-structures/9781788833738/3c376fd7-91a8-459f-85e2-0c3d3c843ff3.xhtml | CC-MAIN-2019-30 | en | refinedweb |
A breathing appbar and widget library in Flutter.
The source code is 100% Dart, and everything resides in the /lib folder.
In the
dependencies: section of your
pubspec.yaml, add the following line:
breathing_flutter: <latest_version>);
BreathingAppBar
_breathingAppBarKey.currentState.startBreath();
BreathingWigdet
_bre... | https://pub.dev/packages/breathing_flutter | CC-MAIN-2019-30 | en | refinedweb |
Constructs the intersection elements between the two input objects and stores them in the OutputIterator in lexicographic order, where both,
Type1 and
Type2, can be either.
See Chapter Chapter_2D_Circular_Geometry_Kernel for details on a circular kernel instantiation.
When using a circular kernel, in addition to the fu... | https://doc.cgal.org/4.7/Kernel_23/group__intersection__circular__grp.html | CC-MAIN-2019-30 | en | refinedweb |
QuantiLogger
QuantiLogger is a super lightweight logging library for iOS development in Swift. It provides a few pre-built loggers including native os_log or a file logger. It also provides an interface for creating custom loggers.
Requirements
- Swift 5.0+
- Xcode 10+
- iOS 11.0+
- RxSwift 4.0+ (NOTE: QuantiLogger use... | https://swiftpack.co/package/Qase/QuantiLogger | CC-MAIN-2019-30 | en | refinedweb |
Months ago Freshbooks and 1Password decided to stop working together. I use Freshbooks to track my time for my business and I use 1Password for easy login to sites in general. For some reason, 1Password's auto-fill function stopped functioning on the Freshbooks login page.
I reached out to 1Password was pleased with th... | http://www.blogbyben.com/2019/04/1password-and-freshbooks-not-on.html | CC-MAIN-2019-30 | en | refinedweb |
assembleassemble
Looking for the grunt plugin? Please visit grunt-assemble.
(Note that the current website assemble.io, is for grunt-assemble. Thanks for your patience while we work on updating the site with documentation for the latest assemble).
OverviewOverview
(Click the following sections to expand them)
Table of ... | https://libraries.io/npm/assemble | CC-MAIN-2019-30 | en | refinedweb |
Provided by: libncarg-dev_6.3.0-6build1_amd64
NAME
EZSRFC - Draws a perspective picture of a function of two variables with hidden lines removed. The function is approximated by a two-dimensional array of heights. Use EZSRFC only if the entire array is to be drawn, the data points are equally spaced in the X-Y plane, t... | http://manpages.ubuntu.com/manpages/xenial/man3/ezsrfc.3NCARG.html | CC-MAIN-2019-30 | en | refinedweb |
layer number, returns the name of the layer as defined in either a Builtin or a User Layer in the Tags and Layers manager.
using UnityEngine;
public class Example : MonoBehaviour { void Start() { // Prints the name of the layer 1
Debug.Log(LayerMask.LayerToName(1)); } }
Note: LayerToName takes an integer argument. Thi... | https://docs.unity3d.com/ScriptReference/LayerMask.LayerToName.html | CC-MAIN-2019-30 | en | refinedweb |
>
I have a script which has an array of vehicle objects and an array of directions which are both populated through the inspector. It works fine for me but I have another laptop that can't seem to pull the changes properly from source control (git). Whenever the scene with this script is changed, if I update the other ... | https://answers.unity.com/questions/1545394/array-of-objects-on-a-monobehaviour-script-not-per.html | CC-MAIN-2019-30 | en | refinedweb |
Introduction
As an enthusiast badminton player, I decide to add a cover page for this write-up. As a CTF player, I think it’s necessary to write a wp for this challenge. This challenge is not hard after reading the write-up given on [1]. But I think there are still a lot of things to learn in the field of web security.... | https://dangokyo.me/2018/07/18/meepwnctf-2018-qual-webpwn-0xbadminton-write-up/ | CC-MAIN-2019-30 | en | refinedweb |
Define the handlers for the game's events mechanism. More...
#include "config.hpp"
#include <string>
Go to the source code of this file.
Define the handlers for the game's events mechanism.
Events might be units moving or fighting, or when victory or defeat occurs. A scenario's configuration file will define actions to... | http://devdocs.wesnoth.org/handlers_8hpp.html | CC-MAIN-2018-26 | en | refinedweb |
Everybody startup in order to increase the performance at runtime.
@ManagedBean(eager=true) @ApplicationScoped public class GlobalBean { ... }
@ManagedBean annotation will be deprecated with JSF 2.2. It is highly recommended to use CDI (context dependency injection) beans in JEE environment. But what is the equivalent ... | https://www.javacodegeeks.com/2013/02/jsf-eager-cdi-beans.html | CC-MAIN-2018-26 | en | refinedweb |
deduction guides for
std::valarray
From cppreference.com
This deduction guide is provided for std::valarray to allow deduction from array and size (note that deduction from pointer and size is covered by the implicit guides)
[edit] Example
Run this code
#include <valarray> int main() { int a[] = {1, 2, 3}; std::valarra... | http://en.cppreference.com/w/cpp/numeric/valarray/deduction_guides | CC-MAIN-2018-26 | en | refinedweb |
Using modules is an essential part of building complete applications and software systems using Node.js. In the absence of modules, your code would be fragmented and difficult to run, let alone maintain over time. But what is a module? And how exactly are you supposed to use
module.exports to build your Node.js program... | http://stackabuse.com/how-to-use-module-exports-in-node-js/ | CC-MAIN-2018-26 | en | refinedweb |
Wednesday 13 June 2018
Julien Richard-Foy
One more article about the standard collections, really? Indeed, during the last 18 months a lot of work has been done on the collections side and we’ve published several blog articles and given several talks to explain the various changes or challenges we were facing. This art... | https://www.scala-lang.org/blog/2018/06/13/scala-213-collections.html | CC-MAIN-2018-26 | en | refinedweb |
Introduction: Connect PS/2 Keyboard to Arduino
Hi everyone, this is also an Interesting project that brings 106 Inputs to your Arduino. Can't believe? Follow the project and see how this happens with a PS/2 Keyboard.
OK First of all you need
- Arduino (UNO)
- PS/2 Keyboard
- PS/2 Keyboard connector
Step 1: Keyboard Con... | http://www.instructables.com/id/Connect-PS2-Keyboard-to-Arduino/ | CC-MAIN-2018-26 | en | refinedweb |
US8548946B2 - Content package for electronic distribution - Google PatentsContent package for electronic distribution Download PDF
Info
- Publication number
- US8548946B2US8548946B2 US12480687 US48068709A US8548946B2 US 8548946 B2 US8548946 B2 US 8548946B2 US 12480687 US12480687 US 12480687 US 48068709 A US48068709 A U... | https://patents.google.com/patent/US8548946B2/en | CC-MAIN-2018-26 | en | refinedweb |
It just came to my attention that OS X 10.3 has made Yet Another Change To Dyld For The Better Thats Unfortunately Not Backwards Compatible. I imagine we'll be seeing at least one of these every release, continuing the trend. Personally, for 10.4, I'd like to see an equivalent to @executable_path for bundles, so that o... | https://mail.python.org/pipermail/pythonmac-sig/2003-November/009406.html | CC-MAIN-2018-26 | en | refinedweb |
I need a Program in Java in which I can give any number to the program and in return it tells me that how many odd or even digits are present in that number.
for Example:- I give - 1234567,then it tells me that Even-3 digits and Odd - 5 digits Thank You
public class Count { public void display(int number) { int a,nOdd ... | https://codedump.io/share/UoBhKPHNzEu0/1/about-a-looping-program-in-java | CC-MAIN-2018-26 | en | refinedweb |
Is there any safe way of mixing binary with text data in a (pseudo)csv file?
One naive and partial solution would be:
\a\b
\a\b
\a\b
If you need everything in a single file, just use one of the methods to encode binary as printable ASCII, and add that results to the CSV vfieds (letting the CSV module add and escape quo... | https://codedump.io/share/UrfvtbNq2eQ7/1/separate-binary-data-blobs-in-csv-files | CC-MAIN-2018-26 | en | refinedweb |
I'm attempting to write my first python program; translating a program I wrote in C++ last week. I have a question about re.match. I'm very new to regular expressions; as I have just switched to C++/Python on Fedora from Java on Windows. Anyhoo, here is my problematic function:
def ReadFile(): status = 0 report = open(... | http://www.dreamincode.net/forums/topic/235260-question-about-regular-expressions/ | CC-MAIN-2018-05 | en | refinedweb |
The most common solution for this problem is using DP, BFS or Number theory. Here I will give a brief explanation of the DP solution. The solution is as following:
public int NumSquares(int n) { int[] DP = new int[n + 1]; for (int i = 1; i <= n; i++) { int min= int.MaxValue; for (int j = 1; j * j <= i; j++) { min= Math... | https://discuss.leetcode.com/topic/24159/explanation-of-the-dp-solution | CC-MAIN-2018-05 | en | refinedweb |
aio_error -- retrieve error status of asynchronous I/O operation (REALTIME)
Standard C Library (libc, -lc)
#include <aio.h>
int
aio_error(const struct aiocb *iocb);
The aio_error() system call.
The aio_error() system call will fail if:
[EINVAL] The iocb argument does not reference an outstanding
asynchronous I/O reques... | http://nixdoc.net/man-pages/FreeBSD/man2/aio_error.2.html | CC-MAIN-2018-05 | en | refinedweb |
Understanding UDDI Services Entities
Applies To: Windows Server 2008
UDDI Services includes a directory of groups or organizations and the Web services that they provide on your intranet or extranet. The directory provides various kinds of information about these organizations and services that Web services developers ... | https://technet.microsoft.com/en-us/library/cc771155.aspx | CC-MAIN-2018-05 | en | refinedweb |
The Samba-Bugzilla – Bug 9885
Bogus #include <readline/history.h> in source4/torture/smbtorture.c
Last modified: 2015-09-29 21:30:39 UTC
Created attachment 8886 [details]
Patch to fix issue
There is a preprocessor block at the line 37 in smbtorture.c:
#if HAVE_READLINE_HISTORY_H
#include <readline/history.h>
#endif
The... | https://bugzilla.samba.org/show_bug.cgi?id=9885 | CC-MAIN-2018-05 | en | refinedweb |
Schema-driven types¶
Creating a minimal type based on a schema
The schema¶
A simple Dexterity type consists of a schema and an FTI (Factory Type Information, the object configured in portal_types in the ZMI). We’ll create the schemata here, and the FTI on the next page.
Each schema is typically in a separate module. Th... | https://docs.plone.org/external/plone.app.dexterity/docs/schema-driven-types.html | CC-MAIN-2018-05 | en | refinedweb |
Content count4822
Joined
Last visited
Days Won2
Community Reputation12116 Excellent
About Nypyren
- RankContributor
Personal Information
- InterestsProgramming
- You could definitely control "inline" vs "use reference id" with attributes. If it makes the most sense, you could even have inline be the default. You could ... | https://www.gamedev.net/profile/35207-nypyren/?tab=smrep | CC-MAIN-2018-05 | en | refinedweb |
Odoo Help
Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
Don't allow to quote below the sales price of a product?
While we make quotations to customers, don't allow users to quote below ... | https://www.odoo.com/forum/help-1/question/don-t-allow-to-quote-below-the-sales-price-of-a-product-51004 | CC-MAIN-2018-05 | en | refinedweb |
[
]
Daniel Kulp commented on CXF-2602:
----------------------------------
Can a testcase for the logging issue be created?
The LoggingOutInterceptor needs to be BEFORE everything else in the chain to capture the output.
It replaces the OutputStream that everything writes to with an OutputStream that records
what is bei... | http://mail-archives.apache.org/mod_mbox/cxf-issues/201001.mbox/%3C1974565784.51711262721474455.JavaMail.jira@brutus.apache.org%3E | CC-MAIN-2018-05 | en | refinedweb |
Games::Chess - represent chess positions and games
use Games::Chess qw(:constants); my $p = Games::Chess::Position->new; $p->at(0,0,BLACK,ROOK); $p->at(7,7,WHITE,ROOK); print $p->to_text;
The
Games::Chess package provides the class
Games::Chess::Piece to represent chess pieces, and the class
Games::Chess::Position to r... | http://search.cpan.org/dist/Games-Chess/lib/Games/Chess.pod | CC-MAIN-2018-05 | en | refinedweb |
Panda::XS - useful features and typemaps for XS modules.
Panda::XS provides some useful features for XS modules. Also adds default configurable typemaps with most commonly used types. Panda::XS makes it possible for other modules (Perl or XS) to inherit from your XS module. To use it you must have a C++ compiler. Of co... | http://search.cpan.org/~syber/Panda-XS-2.1.8/lib/Panda/XS.pod | CC-MAIN-2018-05 | en | refinedweb |
Show: Delphi C++
Display Preferences
Adding the Clipboard Object
From RAD Studio
Go Up to Working with Text in Controls
Most text-handling applications provide users with a way to move selected text between documents, including documents in different applications. TClipboard object encapsulates a clipboard (such as the... | http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Adding_the_Clipboard_Object | CC-MAIN-2018-05 | en | refinedweb |
Java Reference
In-Depth Information
Extending the JmsGatewaySupport Class
Just like your DAO class can extend JdbcDaoSupport to retrieve a JDBC template, your JMS sender and
receiver classes can also extend JmsGatewaySupport to retrieve a JMS template. You have the following
two options for classes that extend JmsGatew... | http://what-when-how.com/Tutorial/topic-105fbg1u/Spring-Enterprise-Recipes-A-Problem-Solution-Approach-317.html | CC-MAIN-2018-30 | en | refinedweb |
I'm missing something obvious here I think
I'm trying to check for the existence of a file, and I hear this is possible with ifstream's .good property. Not even managing to get that far. Forgive me on this, I'm new to C++
Created a new VS console application.
I then added the relevant includes:
#include <iostream> #inc... | https://www.daniweb.com/programming/software-development/threads/438400/ifstream-checking-a-file-exists | CC-MAIN-2018-30 | en | refinedweb |
Details
- Type:
Bug
- Status: Closed
- Priority:
P2: Important
- Resolution: Done
- Affects Version/s: 5.4.1
- Fix Version/s: 5.5.0 Alpha
- Component/s: GUI: Text handling
- Labels:None
- Commits:c29c6d9003b3ff67770dee66652dd2faecf842d5
Description
Run the following application (reproduced on Mac OS X):
#include <QtWid... | https://bugreports.qt.io/browse/QTBUG-44708 | CC-MAIN-2018-30 | en | refinedweb |
C#::
public interface IFoo { string Bar { get; set; } } public class Foo : IFoo { public string Bar { get; set; } }
private IEnumerable<IFoo> GetMeFoos() { var someStrings = new[] { "mike", "mark" }; var someFoos = new List<IFoo>(); foreach (var s in someStrings) { someFoos.Add(new Foo { Bar = s }); } return someFoos; ... | https://markhneedham.com/blog/2010/02/20/c-a-lack-of-covariance-with-generics-example/ | CC-MAIN-2018-30 | en | refinedweb |
When trying to create a user interface with Java, one of the most agonising decisions is which Layout Manager to use.
Many an application has made use of nested Border and Grid Layouts, but in the end it either becomes too hard and too nested to work with, or the window expanding properties just don't work sensibly. Mo... | https://www.techrepublic.com/article/getting-to-grips-with-gridbaglayout/ | CC-MAIN-2018-30 | en | refinedweb |
1. Selector Syntax
Selector
A selector is one or more sequences of simple selectors separated by combinators, an optional pseudo-element may follow the last sequence of simple selectors
selector = sequenceOfSimpleSelectors [combinator1 sequenceOfSimpleSelectors1 ... ] [::pseudoElement]
A sequence of simple selectors
- ... | http://software-demon.blogspot.com/2016/03/css-selectors-level-3.html | CC-MAIN-2018-30 | en | refinedweb |
0
I am having an issue with a subclass. When I put in the code
package Ch1Pkg; public class RoundBaseContainer extends BaseContainer{
to implement the superclass of BaseContainer, I am getting an error that says
cannot find symbol
Symbol: constructor BaseContainer()
location: class Ch1Pkg.BaseContainer
I have the files... | https://www.daniweb.com/programming/software-development/threads/146773/getting-cannot-find-symbol-error | CC-MAIN-2018-30 | en | refinedweb |
FaultException Class
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Represents a SOAP fault. _ Inherits CommunicationException
public class FaultException : CommunicationException
The FaultException type exposes the following members.
Constructors
Top
Properties
Top
Methods
Top
Remarks
... | https://docs.microsoft.com/en-us/previous-versions/windows/silverlight/dotnet-windows-silverlight/ms576192(v=vs.95) | CC-MAIN-2019-35 | en | refinedweb |
#include <Wire.h> #include <LiquidCrystal_I2C.h>#include "M2tk.h"#include "utility/m2ghlc.h"LiquidCrystal_I2C lcd(0x3F,20,4);M2_LABEL(hello_world_label, NULL, "Hello World!");M2tk m2(&hello_world_label, NULL, NULL, m2_gh_lc);void setup() { m2_SetLiquidCrystal(&lcd, 16, 2);}void loop() { m2.draw(); delay(500);}
In file ... | http://forum.arduino.cc/index.php?topic=147420.msg1118196 | CC-MAIN-2017-22 | en | refinedweb |
Download presentation
Presentation is loading. Please wait.
Published byAndrew Carradine Modified over 2 years ago
1
Midterm Review John Mitchell CS 2422008
2
Topics
3
JavaScript Functions uAnonymous functions make great callbacks setTimeout(function() { alert("done"); }, 10000) uCurried function function CurriedAdd(x)... | http://slideplayer.com/slide/3607482/ | CC-MAIN-2017-22 | en | refinedweb |
Event handling in Struts: delete an employee
Now after you got the idea how Struts fits the servlet/JSP environment, let us improve our application. How about being able to delete an employee from the list? To do this we will change the JSP page, adding an "Operation" column and creating a "Delete" link for each table ... | https://wiki.apache.org/struts/StrutsQuickStart2?action=diff | CC-MAIN-2017-22 | en | refinedweb |
How SNMP Works
Updated: March 28, 2003
Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2
How SNMP Works
In this section
- SNMP Architecture
- SNMP Manager/Agent Communication
- SNMP Management Systems and Agents
- SNMP Messages
- SNMP Communities
- Relat... | http://technet.microsoft.com/en-us/library/cc783142(v=WS.10).aspx | CC-MAIN-2014-35 | en | refinedweb |
Creation routines for building Komplex systems. More...
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include "az_aztec.h"
#include "azk_komplex.h"
Creation routines for building Komplex systems.).
Create Komplex System from Complex System.
Transforms a complex-valued system
Amat_complex * xc = bc
where dou... | http://trilinos.sandia.gov/packages/docs/r10.6/packages/komplex/doc/html/azk__create__linsys_8c.html | CC-MAIN-2014-35 | en | refinedweb |
Oh, <textarea>'s. How many quirks you posses. Here is a collection of nine things you might want to do related to textareas. Enjoy.
1. Image as textarea background, disappears when text is entered.
You can add a background-image to a textarea like you can any other element. In this case, the image is a friendly reminde... | http://css-tricks.com/textarea-tricks/ | CC-MAIN-2014-35 | en | refinedweb |
Skip navigation links
java.lang.Object
javax.ide.extension.ElementVisitor
javax.ide.extension.ExtensionHook
javax.ide.extension.DeferredElementVisitorHook
public class DeferredElementVisitorHook
DeferredElementVisitorHook is a specialized hook handler class that helps clients with existing custom hook handlers convert ... | http://docs.oracle.com/cd/E35521_01/apirefs.111230/e17493/javax/ide/extension/DeferredElementVisitorHook.html | CC-MAIN-2014-35 | en | refinedweb |
Socket Server only processing one request, then it just queues them up
Charles Burton
Ranch Hand
Joined: Jan 31, 2011
Posts: 39
I like...
posted
Jan 31, 2011 11:44:43
0
First, I have to code to
java
1.4 as that is the version available on our systems (Can't upgrade). So I created an application that monitors several t... | http://www.coderanch.com/t/525564/threads/java/Socket-Server-processing-request-queues | CC-MAIN-2014-35 | en | refinedweb |
.
However, even making the credit retroactive may fail to save some smaller biodiesel producers who have thin cash cushions, Frohlich said. Even if the Senate passes the bill in the first few months of 2010, many producers will go out of business as they will be unable to produce the renewable fuel at a cost competitiv... | http://www.icis.com/Articles/2009/12/17/9320276/congress-fails-to-extend-us-biodiesel-tax-credit.html | CC-MAIN-2014-35 | en | refinedweb |
Table of Content
Search clouds
Licenses
Author's resources
SCaVis contains a framework for clustering analysis, i.e. for non-supervised learning in which the classification process does not depend on a priory information. It includes the following algorithms:
All algorithms can be run in a fixed cluster mode and for a ... | http://www.jwork.org/scavis/wikidoc/doku.php?id=man:ai:clustering | CC-MAIN-2014-35 | en | refinedweb |
Java Web Application Development With Click Framework/Pages
Pages are the heart of web applications. In Click, Pages encapsulate the processing of HTML requests and the rendering of HTML responses. The section discusses Click pages and covers to following topics:
- Page Java classes
- Page execution sequence
- Request ... | http://en.wikibooks.org/wiki/Java_Web_Application_Development_With_Click_Framework/Pages | CC-MAIN-2014-35 | en | refinedweb |
02 December 2010 22:27 [Source: ICIS news]
HOUSTON (ICIS)--December US styrene butadiene rubber (SBR) spot prices could climb as much as 3-5 cents/lb ($66-110/tonne, €50-84/tonne) because of increasing production costs and export opportunities to China, a producer and a trader said on Thursday.
Buyers were not immediat... | http://www.icis.com/Articles/2010/12/02/9416224/us-sbr-spot-prices-may-climb-on-production-costs-exports-to-china.html | CC-MAIN-2014-35 | en | refinedweb |
Created on 2010-12-12 04:29 by zuo, last changed 2010-12-13 23:57 by ncoghlan. This issue is now closed.
Let examples speak:
def x(a, z): pass # this is ok
def x(a, z,): pass # this is ok
def x(a, *, z): pass # this is ok in Py3k
def x(a, *, z,): pass # but this causes SyntaxError (!)
def x(a, *args): pass # this is ok... | http://bugs.python.org/issue10682 | CC-MAIN-2014-35 | en | refinedweb |
Dialog box is for a Windows program what a function call is for a C program. First, a Windows programs passes some data to the dialog box in order to initialize it. Next, the dialog box solicits information from the user. When the user decides that the program's curiosity has been satisfied, he or she clicks the OK but... | http://www.relisoft.com/Win32/dialog.html | CC-MAIN-2014-35 | en | refinedweb |
Details
- Type:
Improvement
- Status:
Open
- Priority:
Major
- Resolution: Unresolved
- Affects Version/s: 1.5.1
- Fix Version/s: None
- Component/s: groovy-jdk
- Labels:None
- Number of attachments :
Description
Several times it has been asked on the mailing list on how to either convert a String to a GString or to ev... | http://jira.codehaus.org/browse/GROOVY-2505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel | CC-MAIN-2014-35 | en | refinedweb |
In Haskell, there is a datastructure called Maybe. Maybe is used where you would often use null pointers in languages such as C# or Python. Python doesn't have null pointers as such, but it does have the None object, which in many cases has the same kind of patterns and problems associated with it. Haskell needs Maybe ... | http://lukeplant.me.uk/blog/posts/null-pointers-vs-none-vs-maybe/ | CC-MAIN-2014-35 | en | refinedweb |
) 1990 The Regents of the University of California. 3: * All rights reserved. 4: * LWKT threads Copyright (c) 2003 Matthew Dillon: * 37: * $FreeBSD: src/sys/i386/i386/swtch.s,v 1.89.2.10 2003/01/23 03:36:24 ps Exp $ 38: * $DragonFly: src/sys/i386/i386/swtch.s,v 1.32 2004/04/29 17:24:58 dillon Exp $ 39: */ 40: 41: #incl... | http://www.dragonflybsd.org/cvsweb/src/sys/i386/i386/Attic/swtch.s?f=h;content-type=text%2Fx-cvsweb-markup;ln=1;rev=1.32 | CC-MAIN-2014-35 | en | refinedweb |
Easy automation with the new JSON report.
The ByteBlower GUI and CLT now have a new type of report: JSON. Just like CSV, this format is intended for machines rather than us humans. Actually, JSON is a huge improvement over CSV.
As an example, check out the Python code below. 15 lines to check whether our network device... | https://support.excentis.com/index.php?/Knowledgebase/Article/View/easy-automation-with-the-json-reports | CC-MAIN-2020-40 | en | refinedweb |
def _replace(self, **kargs):
for item in kargs.items():
if item[0] not in self._fields:
raise TypeError
if self._mutable:
for item in kargs.items():
self.__dict__[item[0]] = item[1]
else:
new_self = self
for item in kargs.items():
new_self.__dict__[item[0]] = item[1]
return new_self
I am working with a class where one ... | http://www.dlxedu.com/askdetail/3/8dcf5cf0522381b658a21cff14322f07.html | CC-MAIN-2019-35 | en | refinedweb |
import "syscall/js"
Package js gives access to the WebAssembly host environment when using the js/wasm architecture. Its API is based on JavaScript semantics.
This package is EXPERIMENTAL. Its current scope is only to allow tests to run, but not yet to provide a comprehensive API for users. It is exempt from the Go com... | https://godoc.org/syscall/js | CC-MAIN-2019-35 | en | refinedweb |
How Democratizing College Coaching Tackles Key Problems Plaguing Today’s Teens
- The problem understood more broadly: 21st-century teens are depressed and anxious, increasingly so, paving the way for unstable adulthoods personal narrative, — even as their children’s adulthood portends to be much less safe and structure... | https://medium.com/@DrMBlueStars/how-democratizing-college-coaching-tackles-key-problems-plaguing-todays-teens-a6e784fecc15 | CC-MAIN-2019-35 | en | refinedweb |
Django app for creating a knowledge base of curated literature
Project description
Django app for creating a knowledge base of curated literature
Documentation
The full documentation is at.
Quickstart
Install Django Curated Literature Knowledge Base:
pip install django-literature-knowledgebase
Add it to your INSTALLED_... | https://pypi.org/project/django-literature-knowledgebase/ | CC-MAIN-2019-35 | en | refinedweb |
At our recent Unite event in Berlin, we shared an update talk on our roadmap. We aim to do this more regularly, as we know it’s important to help you plan ahead. We know that seeing what features we have in production and understanding our goals with Unity as a tool is essential to making sure you can scope your work t... | https://blogs.unity3d.com/cn/2018/07/16/stay-up-to-date-with-the-unity-roadmap/ | CC-MAIN-2019-35 | en | refinedweb |
01 The Stabbing
1. Anatomy of the thorax
Thorax consists of: 1. Chest wall ribs, sternum and vertebral column (T1 T12) (provide most of the structural support) 2. 2 pleural cavities surrounding the lungs 3. The area between theses cavities the mediastinium, in which are found the heart, great vessels, trachea, oesophag... | https://www.scribd.com/document/78681633/Case-1-The-Stabbing | CC-MAIN-2019-35 | en | refinedweb |
Provided by: allegro4-doc_4.4.2-13_all
NAME
adjust_sample - Alters the parameters of a sample while it is playing. Allegro game programming library.
SYNOPSIS
#include <allegro.h> void adjust_sample(const SAMPLE *spl, int vol, int pan, int freq, int loop);
DESCRIPTION
Alters the parameters of a sample while it is playin... | http://manpages.ubuntu.com/manpages/eoan/man3/adjust_sample.3alleg4.html | CC-MAIN-2019-35 | en | refinedweb |
Draw a mesh.
DrawMesh draws a mesh for one frame. The mesh will be affected by the lights, can cast and receive shadows and be
affected by Projectors - just like it was part of some game object. It can be drawn for all cameras or just for
some specific camera.
Use DrawMesh in situations where you want to draw large amo... | https://docs.unity3d.com/kr/2018.3/ScriptReference/Graphics.DrawMesh.html | CC-MAIN-2019-35 | en | refinedweb |
Simple binding for simple (maybe not) Windows Phone applications
Simple binding for simple (maybe not) Windows Phone applications
Join the DZone community and get the full member experience.Join For Free
If you are working with XAML at any level, you should use binding for any data that you are handling in your applica... | https://dzone.com/articles/simple-binding-simple-maybe | CC-MAIN-2019-35 | en | refinedweb |
you have to manually change the wiper position, In case of digital potentiometer wiper position is set according to the signal given to potentiometer using any microcontroller or microprocessor.
FIG. MC41010 IC pinout
MC41010 is an 8 pin dual in line package IC. Just like any analog potentiometer this IC comes in 5k, ... | https://www.homemade-circuits.com/using-digital-potentiometer-mcp41xx-with-arduino/ | CC-MAIN-2019-35 | en | refinedweb |
.NET - LINQ AsHierarchy() extension method - part 1
- Date:
- Author: Stefan Cruysberghs
- Categories: .NET LINQ Entity Framework LINQ to SQL
A while ago I posted an article about LINQ to SQL and WPF treeviews. I demonstrated how to use multiple levels in treeviews and how to group data with LINQ. One interesting subje... | http://www.scip.be/index.php?Page=ArticlesNET18&Lang=EN | CC-MAIN-2019-35 | en | refinedweb |
I want to draw a line of points
I am newbie in OpenCV, so I don't know can I ask this kind of question here or not? I like to draw a sequence of points as a line on OpenCV3.3.0. I think I can collect this sequence by "vector<point>" although I don't know is this the best idea or not? Lets consider I have these points v... | https://answers.opencv.org/question/173284/i-want-to-draw-a-line-of-points/ | CC-MAIN-2019-35 | en | refinedweb |
Guide to Time and Date in Java (Part 3)
Guide party will start at approximately:
//20:00 LocalTime.of(20, 0, 0)
...irrespective to time zone. I can even say that my birthday party this year will be precisely at:
//2016-12-25T20:00 LocalDateTime party = LocalDateTime.of( LocalDate.of(2016, Month.DECEMBER, 25), LocalTime... | https://dzone.com/articles/guide-to-time-and-date-in-java-part-3?fromrel=true | CC-MAIN-2019-35 | en | refinedweb |
QCon returned to London this past March for its thirteenth year in the city, attracting 1,500 senior developers, architects, and team leads.
The conference opened with Sarah Wells, Technical Director for Operations and Reliability at the Financial Times, offering a highly-rated talk that served as of a "runbook" for su... | https://www.infoq.com/articles/qcon-london-2019/?itm_source=articles_about_qcon&itm_medium=link&itm_campaign=qcon | CC-MAIN-2019-35 | en | refinedweb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.