text stringlengths 454 608k | url stringlengths 17 896 | dump stringclasses 91
values | source stringclasses 1
value | word_count int64 101 114k | flesch_reading_ease float64 50 104 |
|---|---|---|---|---|---|
Pipes.Tutorial
Contents
Description
Conventional Haskell stream programming forces you to choose only two of the following three features:
- Effects
- Streaming
- Composability
If you sacrifice Effects you get Haskell's pure and lazy lists, which you can transform using composable functions in constant space, but witho... | http://hackage.haskell.org/package/pipes-4.0.1/docs/Pipes-Tutorial.html | CC-MAIN-2015-14 | refinedweb | 5,587 | 55.68 |
WebCT
Login | Faculty
Resource Page | Faculty Tutorial Page
Manage Students is a powerful tool for maintaining student information
and grades in WebCT. The functions in Manage Students that have to do
with maintaining student grades are often referred to as the Gradebook.
Used together with the My Grades tool, the Grad... | http://btc.montana.edu/distributed/webct41/gradebook.htm | crawl-001 | refinedweb | 3,577 | 59.33 |
Editing Unity script variables in the Inspector – The case for Encapsulation & [SerializeField]
If you’ve read many Unity tutorials, you may already know that it’s very easy to edit your script fields in the Unity inspector.
Most Unity tutorials (including on the official page) tell you that if you have a MonoBehaviour... | https://unity3d.college/2016/02/15/editing-unity-variables-encapsulation-serializefield/ | CC-MAIN-2020-29 | refinedweb | 1,173 | 61.36 |
I'm trying to sort a list of names in alphabetical order. I thought that I would be able to do it on my LINQ statement but this didn't turn out the case and it brought me an error. Does anybody know why this is the case and how to fix this?
Here is my join:
public IQueryable<Supplier> GetAllSuppliersByClientWithClaims(... | http://www.howtobuildsoftware.com/index.php/how-do/dgl/c-linq-dbsortclause-expressions-must-have-a-type-that-is-order-comparable-parameter-name-key | CC-MAIN-2019-39 | refinedweb | 128 | 54.49 |
NLTK revisited: why
When you start working with some text-analysis project, sooner or later you will encounter the following problem: Where to find sample text, how to get resources, where should I start. When I first had a contact (Polish language post) with NLP I didn’t appreciate the power that lies behind the NLTK ... | https://practicaldev-herokuapp-com.global.ssl.fastly.net/lukaszkuczynski/nltk-revisited-13ea | CC-MAIN-2021-04 | refinedweb | 1,754 | 51.65 |
I started learning class's and I made this one program and it had so many errors on it. I managed to get them down to 2. I can't seem to figure out what the problem is though. Can anyone help me out ?
Code:#include <iostream> using namespace std; class Cat { public: int setAge(int age); int setWeight(); int getAge(); i... | http://cboard.cprogramming.com/cplusplus-programming/43404-class-help-please.html | CC-MAIN-2016-07 | refinedweb | 176 | 82.54 |
:
How can you write well-structured, readable programs that you and others will be able to reuse:
>>>>> bar = foo
>>>>>>> bar 'Monty'>>> bar 'Monty'
This behaves exactly as expected. When we write
bar = foo in the.
>>> foo = ['Monty', 'Python'] >>> bar = foo
>>> foo[1] = 'Bodkin'>>> foo[1] = 'Bodkin'
>>> bar ['Monty', ... | https://www.oreilly.com/library/view/natural-language-processing/9780596803346/ch04.html | CC-MAIN-2019-30 | refinedweb | 6,395 | 57.16 |
Revision history for Class-Sniff 0.10 2014-06-07 - Tidied up the documentation: formatting tweaks, typos, etc. - Fixed RT#72158 (see 0.09_01 below) - Fixed RT#53423 (see 0.09_01 below) - Min perl version set to 5.006 0.09_01 2014-06-04 - 0.09 2011-09-11 - Allow multiple paths to @INC (Bruno Vecchi) - Searching for clas... | https://metacpan.org/changes/distribution/Class-Sniff | CC-MAIN-2016-22 | refinedweb | 410 | 62.95 |
Recently Browsing 0 members
No registered users viewing this page.
Similar Content
- By Jake_s
Hi All,
I am a begginer in auto it. I am trying to build simple gui that will show me if for example notepad.exe process is currently running on the system. I have built something like this, but when I execute it shows me mes... | https://www.autoitscript.com/forum/topic/173944-help-whit-processexists/?tab=comments | CC-MAIN-2021-49 | refinedweb | 606 | 55.24 |
This is a multi-part series – If you just hit this page, please check out the prior posts first!
Alright – We’re finally at the last step to this project. We already have Django running with a somewhat decent-looking web dashboard. Now the only thing that remains is polling our SRX firewalls for VPN connections, then p... | https://0x2142.com/?p=399 | CC-MAIN-2019-30 | refinedweb | 1,221 | 59.84 |
#include <db_cxx.h> int DbSite::close();
The
DbSite::close() method
deallocates the DbSite handle. The handle must not be accessed
again after this method is called, regardless of the return value.
Use of this method does not in any way affect the configuration of the site to which the handle refers, or of the replicat... | http://idlebox.net/2011/apidocs/db-5.2.28.zip/api_reference/CXX/dbsite_close.html | CC-MAIN-2013-48 | refinedweb | 132 | 50.67 |
Suppose that you have a interface in your project
1: namespace Configuration.Logger 2: { 3: public interface ILogger 4: { 5: void Write(); 6: } 7: }
and a few his implementations.
1: public class FileLogger : ILogger 2: { 3: public void Write() 4: { 5: Console.WriteLine("Writing to file"); 6: } 7: } 8: 9: public class ... | http://geekswithblogs.net/lszk/archive/2009/09.aspx | crawl-003 | refinedweb | 2,710 | 56.25 |
Just like in .NET applications, you might want to have global configuration settings in your Angular applications that you can access from any component or service class. There are many approaches you can take for retrieving these global settings; I’m going to use a service that can be injected into any class. I think ... | https://www.codemag.com/Article/1801021/Configuration-Settings-for-Angular-Applications | CC-MAIN-2020-10 | refinedweb | 3,954 | 56.35 |
/* Interface to functionsSCOPE_H #define MACROSCOPE_H #include "macrotab.h" #include "symtab.h" /* All the information we need to decide which macro definitions are in scope: a source file (either a main source file or an #inclusion), and a line number in that file. */ struct macro_scope { struct macro_source_file *fil... | http://opensource.apple.com/source/gdb/gdb-1344/src/gdb/macroscope.h | CC-MAIN-2015-06 | refinedweb | 208 | 62.68 |
Top: Networking: ipstmserver
#include <pinet.h> class ipstmserver { ipstmserver(); int bind(ipaddress ip, int port); int bindall(int port); bool poll(int bindnum = -1, int timeout = 0); bool serve(ipstream& client, int bindnum = -1, int timeout = -1); virtual void sockopt(int socket); }
The ipstmserver class is used on... | http://melikyan.com/ptypes/doc/inet.ipstmserver.html | crawl-001 | refinedweb | 448 | 54.93 |
Davaris 118 Report post Posted December 12, 2001 I saw a few people were having trouble with it. So until Cone3D writes one of his tutes heres my main file. You need SDL_ttf and you can get it from the library sectin at. Thanks for the corrections Drizzt. #include "SDL.h" #include "SDL_ttf.h" SDL_Surface *screen; void ... | https://www.gamedev.net/forums/topic/70657-this-is-how-i-use-sdl-text/ | CC-MAIN-2017-34 | refinedweb | 281 | 70.43 |
I'm confused as to when each comes into play and what their exact function is. I'm reading an article that claims that a TextBox's internal Text property would have this getter/setter method.
public string Text { get { return (string)ViewState["Text"]; } set { ViewState["Text"] = value; } }
The article goes on to say t... | https://www.daniweb.com/programming/web-development/threads/330343/viewstate-vs-loadpostbackdata | CC-MAIN-2017-43 | refinedweb | 142 | 60.55 |
14 March 2011 22:09 [Source: ICIS news]
HOUSTON (ICIS)--Here is Monday’s end of day ?xml:namespace>
CRUDE: Apr WTI: $101.19/bbl, up 3 cents; Apr Brent: $113.67/bbl, down 17 cents
WTI crude futures experienced a wild ride, whipsawing in response to the catastrophe in
RBOB: Apr: $2.9603/gal, down 2.74 cents
Reformulated ... | http://www.icis.com/Articles/2011/03/14/9443813/evening-snapshot-americas-markets-summary.html | CC-MAIN-2015-11 | refinedweb | 219 | 68.77 |
01-14-2011 07:00 PM
How to pass data to " TD1 **TD1Hdl" data type from C# or C++?
My LabVIEW DLL has created the following *.h file.
#include "extcode.h"
#pragma pack(push)
#pragma pack(1)
#ifdef __cplusplus
extern "C" {
#endif
typedef struct {
int32_t dimSize;
LStrHandle OneString[1];
} TD1;
typedef TD1 **TD1Hdl;
void... | https://forums.ni.com/t5/LabVIEW/How-to-pass-data-to-amp-quot-TD1-TD1Hdl-amp-quot-data-type-from/td-p/1415620?profile.language=en | CC-MAIN-2019-47 | refinedweb | 525 | 63.7 |
Introduction: Tutorial to Interface HX711 Balance Module With Load Cell
Description
This.
Specification
Two selectable differential input channels
On-chip power supply regulator for load-cell and ADC analog power supply
On-chip oscillator requiring no external component with optional external crystal
On-chip power-on-r... | https://www.instructables.com/How-to-Interface-HX711-Balance-Module-With-Load-Ce/ | CC-MAIN-2022-33 | refinedweb | 1,337 | 73.17 |
Opened 6 years ago
Closed 6 years ago
Last modified 6 years ago
#11840 closed (worksforme)
Form validation should check for IOErrors
Description
Forms currently break on various types of images when PIL raises an IOError exception. This should be handled as a form error instead of crashing Django. A traceback is below:... | https://code.djangoproject.com/ticket/11840 | CC-MAIN-2016-07 | refinedweb | 459 | 60.41 |
On May 1, 2008, at 4:51 PM, glyph@divmod.com wrote:
I'm not on distutils-sig, but this is probably of little interest to python-dev. Please Cc: me if you think my continued input would be useful to this discussion.
On 08:25 pm, zooko@zooko.com wrote:
almost always in the phrase, "please do not use distutils to do a sys... | https://mail.python.org/archives/list/distutils-sig@python.org/message/5P7PGTFY4OMSHNBOBSQO7O5ASREGC6UN/ | CC-MAIN-2021-49 | refinedweb | 581 | 54.02 |
How do I add a question to this page?
Anyone may edit this page to add their own content. That is why this page is part of a Wiki and not a hardcoded static file in the FAQ.
However, do not add questions without answers to this page. If you have a question about how to do something in Tomcat which has not been address... | https://wiki.apache.org/tomcat/HowTo | CC-MAIN-2018-09 | refinedweb | 5,075 | 58.48 |
I have a list of lists composed of tuples representing blocks of military times:
[[(1405, 1525)],[(1405,1455),(1605,1655)],[(1505,1555),(1405,1455),(1305,1355)]]
I have a function to compare the times of two tuples:
def doesOverlap(tuple1, tuple2):
#tuples each represent times for courses
#the 0 index for each tuple is... | http://m.dlxedu.com/m/askdetail/3/78b27c9c817b4df8584d607383c7e92c.html | CC-MAIN-2018-22 | refinedweb | 1,007 | 60.48 |
word of warning. This article will look at some technical steps you can take to improve your (legacy) code. But there is often more to it than just technical interventions. A software team must get enough time and opportunities to improve the existing code, without adding new features. For the best results, they need ... | https://www.dotnetcurry.com/patterns-practices/tackling-legacy-code-tips | CC-MAIN-2022-05 | refinedweb | 3,058 | 73.17 |
Checking for hitTestsDeathAngle Jun 12, 2014 10:48 AM
Its me again with my daily questions
So I am trying to add a scoring system to my game. I have these coins that are added to the stage using code (the class name for them is Coin) and my character has an instance name of "player"
So my question is how do I check for... | https://forums.adobe.com/thread/1495297 | CC-MAIN-2018-13 | refinedweb | 644 | 67.79 |
I’ve been meaning to write something up on this for quite a while. It recently struck me that there still wasn’t a whole lot of good material on this out there already. So I figured I’d throw something together.
We’ll start by looking at the basic mechanics of the Sound object, how to code it up, and create some random... | http://www.bit-101.com/blog/?p=2660 | CC-MAIN-2017-17 | refinedweb | 1,400 | 75.2 |
Find many duplicate rules in memory by using iptables_manager
Bug Description
I installed VPNaas In my devstack. I find many duplicate iptables rules in memory. The rule is ' 2015-04-23 10:55:15.380 ERROR neutron.
You've reported this as a private security vulnerability, which implies that you believe it represents an ... | https://bugs.launchpad.net/neutron/+bug/1447651 | CC-MAIN-2019-04 | refinedweb | 284 | 68.77 |
Asked by:
ConfigMgr 1602 error 0x87D00666(-2016410010) while installing Update
Dear Folks,
As i have recently upgraded to Config Mgr 1602 and it went very smooth upgrade. But after a few days found annoying issue regarding updates. PC's esp with Windows 10 are not installing updates. Every time trying to manual install... | https://social.technet.microsoft.com/Forums/en-US/86783d86-0e38-4cb4-acf8-6110acc76c0e/configmgr-1602-error-0x87d006662016410010-while-installing-update?forum=configmanagersecurity | CC-MAIN-2018-17 | refinedweb | 1,292 | 62.68 |
This topic explains the architecture and different components of the editing user interface in Optimizely. The user interface is pluggable allowing you to plug-in your own gadgets to the panes to extend editing possibilities.
- How it works
- Architecture
- Server communication
- Editable blocks
- Editing data attribut... | https://world.optimizely.com/documentation/developer-guides/archive/-net-core-preview/CMS/editing/ | CC-MAIN-2021-43 | refinedweb | 1,400 | 53.92 |
Home Skip to content Skip to navigation Skip to footer
Cisco.com Worldwide Home
Document ID: 115947
Updated: Sep 27, 2013
Contributed by Cisco TAC Engineers.
This document describes the advanced functions of Dynamic Access Policies (DAP) for remote access VPNs. You can use these advanced functions when you need additio... | http://www.cisco.com/c/en/us/support/docs/security/asa-5500-x-series-next-generation-firewalls/115947-dap-adv-functions-00.html?referring_site=smartnavRD | CC-MAIN-2015-22 | refinedweb | 2,024 | 56.05 |
Tests the evaluation of functions like hp2D::Value. More...
#include <functionEvaluation.hh>
Tests the evaluation of functions like hp2D::Value.
These function compute something out of a FE function.
Definition at line 26 of file functionEvaluation.hh.
Definition at line 28 of file functionEvaluation.
Computes shape fu... | http://www.math.ethz.ch/~concepts/doxygen/html/classtest_1_1FunctionEvaluation.html | crawl-003 | refinedweb | 120 | 52.66 |
Opened 3 years ago
Closed 3 years ago
#6025 closed bug (fixed)
GHC Panic On Recompile
Description (last modified by simonpj)
Perhaps related to DataKinds or ConstraintKinds, but on rebuild without a clean, the following error is emitted:
Building glyph-0.1... Preprocessing executable 'glyph' for glyph-0.1... [34 of 60]... | https://ghc.haskell.org/trac/ghc/ticket/6025 | CC-MAIN-2015-14 | refinedweb | 527 | 67.45 |
In this section, we first introduce the Deutsch-Jozsa problem, and classical and quantum algorithms to solve it. We then implement the quantum algorithm using Qiskit, and run it on a simulator and device.
Contents
- Introduction
1.1 Deutsch-Jozsa Problem
1.2 Deutsch-Jozsa Algorithm
1.3 The Quantum Solution
1.4 Why Does... | https://qiskit.org/textbook/ch-algorithms/deutsch-jozsa.html | CC-MAIN-2020-45 | refinedweb | 2,983 | 52.09 |
Last time I had a similar situation
I paid taxes in the state in which the work was performed. As you live in NY, you are required to pay taxes to the State of NY and not any other.
I have also moved from one state to another in the middle of a tax year. In that case, I paid taxes on only money earned in each individua... | https://www.techrepublic.com/forums/discussions/question-about-telecommuting-and-taxation/ | CC-MAIN-2017-39 | refinedweb | 839 | 69.01 |
This tutorial will show you how to build a plug-in for Windows Live Writer. Windows Live Writer is a blogging tool that Microsoft provides for free. It includes an open API for .NET developers to create custom plug-ins. In this tutorial, I will show you how easy it is to build one.
Full source and binaries are now host... | http://geekswithblogs.net/mbcrump/archive/2010/05/30/building-a-plug-in-for-windows-live-writer.aspx | CC-MAIN-2013-20 | refinedweb | 608 | 73.47 |
In the future please give complete concise details of how your apps
are deployed. I'm guessing that you would say that you have two
geronimo instances running, either on the same machine or separate
machines, and that your ejb jar is deployed on one of the geronimo
instances and the war on the other geronimo instance.
... | http://mail-archives.apache.org/mod_mbox/geronimo-user/200801.mbox/raw/%3CB6C8A0DE-EF77-4D3E-A259-324B173E4D64@yahoo.com%3E/ | CC-MAIN-2015-11 | refinedweb | 128 | 62.98 |
Yeah - with the T4 redefine to linker attribute the old - make it NULL on ARM's will show up. I must have missed it before so not a recent change.
Yeah - with the T4 redefine to linker attribute the old - make it NULL on ARM's will show up. I must have missed it before so not a recent change.
Kurt/Tim
I just downloaded... | https://forum.pjrc.com/threads/54711-Teensy-4-0-First-Beta-Test/page61?s=76466497ac95f296276deed556e16f49 | CC-MAIN-2020-05 | refinedweb | 3,554 | 73.37 |
Source
JythonBook / appendixA.rst
Appendix A: Using Other Tools with Jython
The primary focus of this appendix is to provide information on using some external Python packages with Jython, as well as providing information regarding the Jython registry. In some circumstances, the tools must be used or installed a bit di... | https://bitbucket.org/javajuneau/jythonbook/src/28b0486ae6c10c366f4da396f96f2ca91b228ba2/appendixA.rst?at=default | CC-MAIN-2015-18 | refinedweb | 1,878 | 50.84 |
Using Appropriate Status Codes With Each API Response
For a long time, I have thought about API request failures as falling into just two distinct categories: failure to communicate (ie. the server was down) or bad data (ie. invalid parameters). Failures to communicate with the server were out of my hands; as such, the... | http://www.bennadel.com/blog/1860-using-appropriate-status-codes-with-each-api-response.htm?_rewrite | CC-MAIN-2015-27 | refinedweb | 4,181 | 63.9 |
Hiding instruction on CISC CPUs
By nike on Jun 08, 2007
Today I'm somewhat playful, so for fun wrote a little proggy which fiddles with dynamic code generation and instruction hiding. Instruction stream for CISC CPU (like x86 amd amd64) isn't so well defined as it is for RISC CPUs. Thus games could be played with hidin... | https://blogs.oracle.com/nike/entry/hiding_instruction_on_cisc_cpus | CC-MAIN-2016-22 | refinedweb | 363 | 66.98 |
mmap_device_io()
Gain access to a device's registers
Synopsis:
#include <stdint.h> #include <sys/mman.h> uintptr_t mmap_device_io( size_t len, uint64_t io );
Since:
BlackBerry 10.0.0
Arguments:
- len
- The number of bytes of device I/O memory that you want to access. It can't be 0.
- io
- The address of the area that y... | http://developer.blackberry.com/native/reference/core/com.qnx.doc.neutrino.lib_ref/topic/m/mmap_device_io.html | CC-MAIN-2015-27 | refinedweb | 216 | 61.43 |
Member
2 Points
Sep 02, 2007 10:23 AM|alvin_hongkong|LINK
Hi All,
I have some questions about the concept of MPF, I am getting confused to the different namespaces in SDK for examples I don't know what are the different between "Hosted Email 2007", "Exchange 2007" and "Managed Email 2007" coz I found those namspaces se... | https://forums.asp.net/t/1153731.aspx?MPF+Concept | CC-MAIN-2021-25 | refinedweb | 274 | 50.3 |
The Difference Between Public and Private in Java
Jeremy Grifski
Updated on
・7 min read
Coding Tangents (10 Part Series) Science code more secure from hackers. While this is largely untrue, there is some merit in the argument. Sure, nothing is stopping someone from using a feature like reflection to access private fiel... | https://dev.to/renegadecoder94/the-difference-between-public-and-private-in-java-3g2e | CC-MAIN-2019-43 | refinedweb | 1,177 | 64 |
table of contents
- buster 4.16-2
- buster-backports 5.04-1~bpo10+1
- testing 5.10-1
- unstable 5.10-1
NAME¶sched_setscheduler, sched_getscheduler - set and get scheduling policy/parameters
SYNOPSIS¶
#include <sched.h>
int sched_setscheduler(pid_t pid, int policy, const struct sched_param *param);
int sched_getschedule... | https://manpages.debian.org/buster/manpages-dev/sched_setscheduler.2 | CC-MAIN-2021-39 | refinedweb | 229 | 51.24 |
> Your filesystem handling code is completely superflous (and buggy). Please> remove all the code dealing with chroot-lookalikes. In your userland script> you simpl have to clone(.., CLONE_NEWNS) to detach your namespace from your> parent, then you can lazly unmount all filesystems and setup your new namespace> before ... | https://lkml.org/lkml/2004/10/10/33 | CC-MAIN-2016-50 | refinedweb | 136 | 60.01 |
This is part of the Ext JS to React blog series. You can review the code from this article on the Ext JS to React Git repo.
In this post we’ll talk about how to get started with React. Coming from the Sencha ecosystem, you may be used to launching a project using Sencha Cmd to create a project folder, configuration fil... | https://moduscreate.com/blog/ext-js-to-react-scaffolding/ | CC-MAIN-2020-40 | refinedweb | 1,528 | 65.01 |
Shopify Schema publication?
Is there a publication of Shopify's schema somewhere?
I have read the API Reference () but need something deeper that describes in addition to field types, things like field max-lengths and any content formats or restrictions.
Some of this can be deduced from the API reference but not everyt... | https://e1commerce.com/items/shopify-schema-publication | CC-MAIN-2022-40 | refinedweb | 204 | 71.55 |
Data Manipulation with Pandas
In the previous chapter, we dove into detail on NumPy and its
ndarray object, which provides efficient storage and manipulation of dense typed arrays in Python.
Here we'll build on this knowledge by looking in detail at the data structures provided by the Pandas library.
Pandas is a newer ... | https://jakevdp.github.io/PythonDataScienceHandbook/03.00-introduction-to-pandas.html | CC-MAIN-2019-18 | refinedweb | 453 | 52.09 |
Girish Vasmatkar wrote:
There are other application servers that allow to access the data source (JNDI) using java:comp/env. But when I try to use JBOSS without making change in the code, I get errors related to name not found and so.
I read somewhere that JBOSS does not use java:comp/env, instead you must access data ... | http://www.coderanch.com/t/485644/JBoss/java-comp-env-JBOSS | CC-MAIN-2014-41 | refinedweb | 174 | 71.24 |
()
Starting with version 2.6, the module also defines two convenience functions:
Create a Timer instance with the given statement, setup code and timer function and run its repeat() method with the given repeat count and number executions.
New in version 2.6.
Create a Timer instance with the given statement, setup code... | http://docs.python.org/release/2.6.6/library/timeit.html | CC-MAIN-2013-20 | refinedweb | 311 | 68.77 |
UK Law
Get UK Law Questions Answered by Verified Experts
Hi
Thanks for your patience.
If there is no mortgage on the property and you own it in your sole name then there is nothing preventing you legally from doing this. However, if you decide to proceeds then it would be wise to instruct a solicitor.
You would have to... | http://www.justanswer.com/uk-law/9ea0v-ben-transfer-ownership-house-mother-no-mortgage-it.html | CC-MAIN-2017-17 | refinedweb | 345 | 63.53 |
XSLTForms/Known Restrictions
This page lists gaps in XSLTForms' coverage of the XForms 1.0 and 1.1 specifications, and other restrictions that may not be obvious to new users.
(In its current state the page is not at all complete or systematic, but a list of things that have caught the eye of some user or other, who ha... | http://en.wikibooks.org/wiki/XSLTForms/Known_Restrictions | CC-MAIN-2014-15 | refinedweb | 648 | 59.43 |
Byte Ordered Partitioner (BOP) is a scheme to organize how to place the keys in the Cassandra cluster node ring. Unlike the RandomPartitioner (RP), the raw byte array value of the row key is used to decide which nodes store the row. Depending on the distribution of the row keys, you may need to actively manage the toke... | http://wiki.apache.org/cassandra/ByteOrderedPartitioner | crawl-003 | refinedweb | 200 | 55.47 |
1. Drag any plugin on grid.
2. On 'createClass' config type a class that includes the namespace (e.g. MyApp.CustomGridPlugin)
3. It throws and error saying 'createClass: property must begin with...'
1. Drag any plugin on grid.
2. On 'createClass' config type a class that includes the namespace (e.g. MyApp.CustomGridPlu... | https://www.sencha.com/forum/search.php?s=4b95cc6a2cf747e2792b247f36fbe7d0&searchid=19245587 | CC-MAIN-2017-22 | refinedweb | 382 | 69.48 |
What do E4X expressions return?CMcM00 Jan 5, 2010 4:44 PM
I'm trying to figure out XMLListCollections and E4X and since I can't find any programming reference
I have no idea what E4X expressions do under the covers.
Do they return an Object class? An XML class? An XMLList class? void?
If this is my xml:
<months> <month... | https://forums.adobe.com/thread/550471 | CC-MAIN-2017-39 | refinedweb | 1,120 | 51.04 |
On Mon, Nov 16, 2009 at 8:54 AM, Steve Ferg <steve.ferg.bitbucket at gmail.com> wrote: > This is a question for the language mavens that I know hang out here. > It is not Python related, except that recent comparisons of Python to > Google's new Go language brought it to mind. > > NOTE that this is *not* a suggestion t... | https://mail.python.org/pipermail/python-list/2009-November/558408.html | CC-MAIN-2014-15 | refinedweb | 175 | 82.95 |
11 July 2012 17:58 [Source: ICIS news]
TORONTO (ICIS)--Energy regulators in ?xml:namespace>
The Energy Resources Conservation Board (ERCB) said it found that it is in the public interest to proceed with the project, which will be built near Shell’s oil sands upgrader site north of
The ERCB said most of the 23 condition... | http://www.icis.com/Articles/2012/07/11/9577517/alberta-energy-regulator-approves-shell-ccs-project.html | CC-MAIN-2015-18 | refinedweb | 127 | 59.84 |
printf Example
Part of TutorialFundamentals
It's better to use writef these days, but here's a printf example just for the heck of it.
int main(char[][] args) { printf("Hello World\n"); return 0; }
Here's the same thing with writef:
import std.stdio; int main(char[][] args) { writefln("Hello World"); return 0; }
Howeve... | http://dsource.org/projects/tutorials/wiki/PrintfExample | CC-MAIN-2018-30 | refinedweb | 136 | 51.48 |
On Thu, 24 Aug 2006 14:30:48 -0400, "Chaz." <eprparadocs at gmail.com> wrote: >So my question is why is subclassing internet.TCPServer not a good idea? In the general case, the short version is: "Because we wrote that code, and we say so." Usually I am not a big fan of the "argument from authority", but in this case, i... | http://twistedmatrix.com/pipermail/twisted-python/2006-August/013881.html | CC-MAIN-2017-30 | refinedweb | 409 | 63.39 |
This is my story about searching for Japanese pop music under a free culture license. It's a little tricky, because the best sites for this are of course, in Japan, and not well advertised on the English web. I discovered how to use Python's XMLRPC library to run searches using the web API for a Japanese music sharing ... | http://www.freesoftwaremagazine.com/articles/my_quest_free_licensed_japanese_pop_music_wacca_fms_xmlrpc_api_and_pythons_xmlrpclib | CC-MAIN-2013-48 | refinedweb | 2,327 | 59.74 |
As most UNIX or Linux users probably know, Samba is the Open Source Software package that allows a UNIX or Linux server to participate in a Windows network, and even become the Windows primary domain controller (PDC). In fact, it is possible for a properly configured Samba server to completely replace its Windows equiv... | http://aplawrence.com/Unixart/samba-guide.html | crawl-002 | refinedweb | 9,218 | 59.13 |
Build a DialogFlow template fulfilment response in Python
Budget $20-50 AUD
Hi
I would like a template python program that builds a response to the Google DialoFlow request.
The template should contain responses for:
- Simple text responses
- card responses
- Suggestions
- Links out
- Lists
The responses should be able... | https://www.freelancer.com/projects/python/build-dialogflow-template-fulfilment/ | CC-MAIN-2019-51 | refinedweb | 227 | 75.5 |
I've got to add a bunch of members to a class. I would like to add a macro such as this:
#define MEMBER(TYPE,NAME) \
private: TYPE m_##NAME; \
public: TYPE get##NAME() const { return m_##NAME; } \
public: void set##NAME(TYPE in##NAME) { m_##NAME = in##NAME; }
and then use it to add the members to the class:
class foo {... | http://m.dlxedu.com/m/askdetail/3/ac1efca74166d47dc13eb8e7af46e910.html | CC-MAIN-2018-22 | refinedweb | 531 | 60.55 |
30 October 2008 07:56 [Source: ICIS news]
(Adds details throughout)?xml:namespace>
SINGAPORE (ICIS news)--The world's largest chemicals company BASF has posted a 37.5% plunge in its third-quarter net profits to €758m ($591.24bn) due to high raw material costs and hurricane-related losses, the company said on Thursday.
... | http://www.icis.com/Articles/2008/10/30/9167413/basfs-q3-net-profits-fall-37.5.html | CC-MAIN-2013-48 | refinedweb | 389 | 54.52 |
We are rendering json into data-attributes in ERB. Eg:
location.html.erb
<div data-
location_json.erb
<%= @location.to_json(
only: [:id, :name, :lat, :lng],
method: [:display_name]) %>
The rendered html looks like:
<div data-
But I would like it to be more readable, eg:
<div data-
Is there a way to tell ERB or to_json ... | http://www.dlxedu.com/askdetail/3/d48f723387324ab43d8a9aa4e0dfc71f.html | CC-MAIN-2018-39 | refinedweb | 219 | 67.96 |
The Royal Academy Summer Exhibition: chronicle250.com
Extended Version
Matt McGrattan, Head of Digital Library Solutions, Digirati.
A shorter version of this article can be found here. fully searchable full text.
- Exhibitors should be identified in the catalogue text and linked back, via hotlinks on the images, to a s... | https://medium.com/digirati-ch/the-royal-academy-summer-exhibition-chronicle250-com-dfc356a1ce8f | CC-MAIN-2019-35 | refinedweb | 4,386 | 51.28 |
How Do Two Edison Boards Exchange Data Using Python?rana.helal Aug 22, 2015 7:25 AM
Dear All;
I have two edison boards and I would like to know what is the easiest way to connect them together and let them exchange data using python code. Is this possible using bluetooth?
Best Regards;
Rana Helal
1. Re: How Do Two Edis... | https://communities.intel.com/thread/79374 | CC-MAIN-2018-13 | refinedweb | 408 | 67.86 |
The objective of this blog is to show an example of how to add custom fields and additional logic to the guided move-in process. The logic added will include evaluation of fields added by the KUT (Key User Tools), so we will also see how to use those fields in the SDK.
Any coding or configuration examples provided in t... | https://blogs.sap.com/2017/03/08/project-extensions-for-the-guided-move-inout-and-transfer/ | CC-MAIN-2018-43 | refinedweb | 723 | 63.09 |
Kdb+ vs. Python
What is kdb+?
Kdb+ is a powerful column based time series database. It is commonly used in investment banks and hedge funds around the world for extremely fast time series analysis.
Kdb+ uses vector language Q, which itself was built for speed and expressiveness. Q commands can be entered straight into ... | http://aaaquants.com/2017/10/12/kdb-vs-python/ | CC-MAIN-2018-39 | refinedweb | 797 | 66.84 |
Long.
First thing’s first. Let’s get it installed. To do this, I’ll direct you to my ol’ faithful Chocolatey to make this happen with extreme ease. If you haven’t installed Chocolatey yet, go ahead and do that – I’ll wait the usual 10 seconds.
Once you’ve got Chocolatey installed, getting ScriptCS is as easy as:
cinst ... | http://www.codeproject.com/Articles/763741/Prototyping-with-Csharp-Thanks-Roslyn | CC-MAIN-2015-11 | refinedweb | 453 | 78.79 |
NAME
ng_tee - netgraph ‘‘tee’’ node type
SYNOPSIS
#include <sys/types.h> #include <netgraph/ng_tee.h>
DESCRIPTION
The tee node type has a purpose similar to the tee(1) command. Tee nodes are useful for debugging or “snooping” on a connection between two netgraph nodes. Tee nodes have four hooks, right, left, right2left... | http://manpages.ubuntu.com/manpages/maverick/man4/ng_tee.4freebsd.html | CC-MAIN-2014-49 | refinedweb | 231 | 68.16 |
I'm trying to calculate the difference between two dates in "weeks of year". I can get the datetime object and get the days etc but not week numbers. I can't, of course, subtract dates because weekends can't be ensured with that.
I tried getting the week number using
d1.isocalendar()[1]
d2.isocalendar()[1]
isocalendar(... | https://codedump.io/share/B0MYpxx1qfCq/1/how-to-calculate-difference-between-two-dates-in-weeks-in-python | CC-MAIN-2021-39 | refinedweb | 187 | 60.21 |
Quick Python Diff
If you need a quick, cross-platform diff between files that makes a nice HTML document for your perusal, Python has your back:
import difflib first_name = 'firstname.txt' second_name = 'secondname.txt' diff_name = 'diff.html' with open(first_name, 'r', encoding='utf_8') as first: fromlines = first.rea... | https://www.bbkane.com/blog/quick-python-diff/ | CC-MAIN-2021-43 | refinedweb | 102 | 50.73 |
At 20 years old, Java remains the world’s most popular programming language this August, with nearly 10 million active developers. If accurate, this figure puts Java slightly ahead of Swedish. While only slightly easier to read, Java has a number of compelling features, including lambdas and streams, intersection types... | https://blog.jetbrains.com/idea/2015/08/java-annotated-monthly-august-2015/ | CC-MAIN-2016-50 | refinedweb | 1,908 | 51.78 |
Offline mode lets Screenlets function without a network connection. For offline mode to work with your Screenlet, you must manually add support for it. Fortunately, Liferay Screens 2.0 introduced a simpler way of implementing offline mode support in Android Screenlets:
- Update your Screenlet’s classes to leverage the ... | https://help.liferay.com/hc/ja/articles/360017881432-Adding-Offline-Mode-Support-to-Your-Android-Screenlet | CC-MAIN-2022-27 | refinedweb | 2,052 | 55.03 |
any style sheets referenced in XSLT import and include elements. If this is null, external resources are not resolved.
The XslCompiledTransform class supports the XSLT 1.0 syntax. The XSLT style sheet must use the namespace.
The style sheet loads from the current node of the XmlReader through all its children. This en... | https://msdn.microsoft.com/en-us/library/ms163427(v=vs.90).aspx | CC-MAIN-2017-43 | refinedweb | 142 | 69.28 |
Home -> Community -> Usenet -> comp.databases.theory -> Re: Date's First Great Blunder
"Dawn M. Wolthuis" <dwolt_at_tincat-group.com> wrote in message news:c5k6rt$6gp$1_at_news.netins.net...
> OK. I'll yield to your expertise on that. I have examples in hand with
> such a pattern, and have done it myself (but am, admit... | http://www.orafaq.com/usenet/comp.databases.theory/2004/04/14/0442.htm | CC-MAIN-2014-15 | refinedweb | 853 | 66.13 |
So I wrote a 2D array using Java that stores the names of songs in each of its slots. I have to print these songs using a toString() method and nested for-each loops. I have no idea as to how to do this. Help?
public class Jukebox { public Jukebox() { String[][] songList = new String[2][3]; for ( String[] row : songLis... | http://www.devsplanet.com/question/35281525 | CC-MAIN-2017-09 | refinedweb | 163 | 78.52 |
The Oxford
Handbook of
Eye Movements
00-Liversedge-FM.indd i
7/21/2011 10:14:01 AM
This page intentionally left blank
00-Liversedge-FM.indd xx
7/21/2011 10:14:03 AM
The Oxford
Handbook of
Eye Movements
Edited by
Simon P. Liversedge
School of Psychology, University of Southampton,
Southampton, UK
Iain D. Gilchrist
Schoo... | https://pl.b-ok.org/book/2064877/af93fe | CC-MAIN-2020-05 | refinedweb | 16,159 | 51.99 |
Hermes: A Cache For Apollo ClientHermes: A Cache For Apollo Client
An alternative cache implementation for Apollo Client, tuned for the performance of heavy GraphQL payloads.
This is very much a work in progress! It currently meets most of our needs internally, but is not yet a drop-in replacement for Apollo's default ... | https://www.npmjs.com/package/apollo-cache-hermes | CC-MAIN-2022-33 | refinedweb | 524 | 63.09 |
mallinfo - Man Page
obtain memory allocation information
Synopsis
#include <malloc.h> struct mallinfo mallinfo(void); struct mallinfo2 mallinfo2(void);
Description
This field is unused, and is always 0. Historically, it was the "highwater mark" for allocated space—that is, the maximum amount of space that was ever allo... | https://www.mankier.com/3/mallinfo | CC-MAIN-2021-49 | refinedweb | 201 | 57.37 |
sandbox/Antoonvh/koch.c
The Fractal Dimension of the Koch Snowflake
This page presents an investigation on the Koch snowflake. You may want to watch this youtube video for a detailed, 20 minute introduction to the topic of fractal curves. Since we have the tools, let us use an adaptive quad-tree grid and the ppm2gif co... | http://basilisk.fr/sandbox/Antoonvh/koch.c | CC-MAIN-2018-43 | refinedweb | 733 | 66.64 |
build_requires support
Bug Description
In bug #110133 (setup.py needs code from another egg to build) the case was discussed where a setup.py of a package could not proceed because other eggs were expected to be on the python path. A mention of build_requires was made as a possible solution, though in that this would n... | https://bugs.launchpad.net/zc.buildout/+bug/138260 | CC-MAIN-2014-15 | refinedweb | 228 | 63.49 |
public class Box
Mathematical representation of a box. Used to perform intersection and collision tests against oriented boxes.
Public Constructors
Public Methods
Inherited Methods
From class java.lang.Object
Public Constructors
public Box ()
Create a box with a center of (0,0,0) and a size of (1,1,1).
Public Methods
p... | https://developers.google.com/ar/reference/java/sceneform/reference/com/google/ar/sceneform/collision/Box?hl=ja | CC-MAIN-2019-47 | refinedweb | 168 | 55.74 |
Apache filter library.
More...
#include "apr.h"
#include "apr_buckets.h"
#include "httpd.h"
Go to the source code of this file.
This function type is used for filter callbacks. It will be passed a pointer to "this" filter, and a "bucket brigade" brigade always belongs to the caller, but the filter is free to use the bu... | https://ci.apache.org/projects/httpd/trunk/doxygen/util__filter_8h.html | CC-MAIN-2019-04 | refinedweb | 282 | 74.9 |
All - O'Reilly Media 2017-05-22T23:29:36.</p> <p><strong>How is emotion AI related to sentiment analysis for natural language processing? </strong></p> <p>Social scientists who have studied how people portray emotions in conversation found that only 7-10% of the emotional meaning of a message is conveyed through the wo... | http://feeds.feedburner.com/oreilly/radar/atom?m=539 | CC-MAIN-2017-22 | refinedweb | 2,156 | 54.12 |
import itertools
Start with an iterable which needs to be grouped
lst = [("a", 5, 6), ("b", 2, 4), ("a", 2, 5), ("c", 2, 6)]
Generate the grouped generator, grouping by the second element in each tuple:
def testGroupBy(lst): groups = itertools.groupby(lst, key=lambda x: x[1]) for key, group in groups: print(key, list(g... | https://sodocumentation.net/python/topic/1564/itertools-module | CC-MAIN-2021-21 | refinedweb | 1,380 | 63.09 |
A C# program consists of the following parts:
- Namespace declaration
- A class
- Class methods
- Class attributes
- A Main method
- Statements and Expressions
Let us look at the below simple code::
· The first line of the program using System; - the using keyword is used to include the System namespace in the program.... | http://blogs.binarytitans.com/2017/04/c-program-structure.html | CC-MAIN-2018-13 | refinedweb | 283 | 68.16 |
Hi everyone i have a question about how to use a class so i make this script:
>>> class className:
def createName(self,name):
self.name=name
def displayName(self):
return self.name
def saying(self):
print 'Hello %s' % self.name
>>> first=className
>>> first.createName('X')
I learn this from a tutorial but i have an err... | https://www.gamedev.net/topic/650158-how-to-use-classand-what-is-return/ | CC-MAIN-2017-04 | refinedweb | 129 | 57.37 |
Following my series from less known features of Modern C++.
This feature is small and minor one so this article is small but an important for sure.
From C++ 17 you can declare temporary variables on
if and
switch statements just like loops. As the variables are temporary, you can't access those variables as they are on... | https://dev.to/delta456/modern-c-temp-vars-in-if-switch-ig0 | CC-MAIN-2020-29 | refinedweb | 286 | 62.01 |
tmpnam man page
tmpnam, tmpnam_r — create a name for a temporary file
Synopsis
#include <stdio.h> char *tmpnam(char *s); char *tmpnam_r(char *s);
Feature Test Macro Requirements for glibc (see feature_test_macros(7)):
tmpnam_r()
- Since glibc 2.19:
_DEFAULT_SOURCE
- Up to and including glibc 2.19:
_BSD_SOURCE || _SVID_... | https://www.mankier.com/3/tmpnam | CC-MAIN-2017-47 | refinedweb | 224 | 60.72 |
I get physical addresses of function "printf" in libc.so in two programs, and two physical addresses are different. And I read two different physical address, the content are almost the same. This means function "printf" has two copies in memory?
Details:
I get physical addresses of function "printf" in libc.so in two ... | https://codedump.io/share/pZs05MtYIBj2/1/function-of-shared-library-is-loaded-at-different-physical-addresses-for-different-processes | CC-MAIN-2017-39 | refinedweb | 331 | 76.52 |
I.Tweet to the professionals. (Except that, technically, I am one of those professionals.)
And then, a few years into my involvement with the Python community, I started teaching again (I was a primary school teacher long before I entered the programming world).
Then I gave my first talk at PyCon. And nothing bad happe... | http://www.mechanicalgirl.com/mobile/ | CC-MAIN-2015-40 | refinedweb | 3,165 | 55.24 |
Components and supplies
Necessary tools and machines
Apps and online services
About this project
I work at a golf store where we install golf grips. Putter grips, in particular, have a flat flange that needs to be correctly aligned with the putter face. Eyeballing the installation isn't the easiest thing to do and we o... | https://create.arduino.cc/projecthub/Hunt_Mitch/golf-grip-alignment-tool-b884a4 | CC-MAIN-2019-43 | refinedweb | 336 | 61.16 |
This step-by-step tutorial shows how to run Scaffolding Wizard and build a fully functional MVVM data-bound WPF application.
First of all, you need a WPF application with a Data Access Layer, based on which Scaffolding Wizad will generate the Model, View Model, and View layers. The Data Access Layer can be generated in... | https://documentation.devexpress.com/WPF/115192/Scaffolding-Wizard/UI-Generation | CC-MAIN-2018-17 | refinedweb | 373 | 56.25 |
Item 3: Enforce the Singleton Property with a Private Constructor or an enum Type
A singleton is simply a class that is instantiated exactly once [Gamma95, p. 127]. Singletons typically represent a system component that is intrinsically unique, such as the window manager or file system. Making a class a singleton can m... | http://www.drdobbs.com/jvm/creating-and-destroying-java-objects-par/208403883?pgno=3 | CC-MAIN-2016-30 | refinedweb | 586 | 50.57 |
Simon Jefford - Home tag:sjjdev.com,2009:mephisto/ Mephisto Drax 2008-05-18T22:11:17Z simon tag:sjjdev.com,2008-05-18:9 2008-05-18T20:36:00Z 2008-05-18T22:11:17Z Gil - the "proper" release <p>I just pushed out <a href="/2008/5/12/gil">gil</a> as a gem onto rubyforge (my first gem - how exciting!) The magic incantation ... | http://feeds.feedburner.com/SimonJefford | crawl-002 | refinedweb | 1,034 | 61.97 |
Name | Synopsis | Description | Return Values | Errors | Attributes | See Also
#include <sys/types.h> #include <dirent.h> int closedir(DIR *dirp);
The closedir() function closes the directory stream referred to by the argument dirp. Upon return, the value of dirp may no longer point to an accessible object of the type ... | http://docs.oracle.com/cd/E19082-01/819-2243/closedir-3c/index.html | CC-MAIN-2016-40 | refinedweb | 134 | 58.69 |
DEBSOURCES
Skip Quicknav
sources / kdbg / 2.0.4
Version 2.0.4 ().
Version 2.0.3
Fixed parsing of gdb output that mentions "operator<<", "operator>>",
"operator<", and "operator>" within text delimited by angle brackets <>.
This fixes a crash when any such function is disassembled and other
misbehaviors.
Fixed parsing s... | https://sources.debian.org/src/kdbg/2.0.4-3/ChangeLog/ | CC-MAIN-2021-25 | refinedweb | 1,704 | 61.73 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.