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 |
|---|---|---|---|---|---|
Hi,
I have downloaded and testing these two mapping libraries. I wrote a program which has 100000 iterations and maps the beans of the same class:
public class IntBean {
@JMap
private int int1;
@JMap
private int int2;
@JMap private int int3;
@JMap private int int4;
@JMap private int int5;
@JMap private int int6;
@JMap ... | https://community.oracle.com/thread/3522723 | CC-MAIN-2017-43 | refinedweb | 273 | 64.3 |
Use a loop to execute a group of statements, called the loop body, more than once. In C, you can introduce a loop by one of three iteration statements
: while, do ... while, and for.
In each of these statements, the number of iterations through the loop body is controlled by a condition, the controlling expression
. Th... | http://books.gigatux.nl/mirror/cinanutshell/0596006977/cinanut-CHP-6-SECT-3.html | CC-MAIN-2018-43 | refinedweb | 1,244 | 61.87 |
The hypersonic SQL database, whose official name was later changed to HSQLDB, is a pure-Java embedded relational database server that you can use in stand-alone mode (using direct file access) or in client/server mode, accepting many concurrent users. Although not as powerful as DB2 and not as popular as MySQL, HSQLDB ... | http://www.ibm.com/developerworks/opensource/library/os-echsql/ | crawl-003 | refinedweb | 4,461 | 52.8 |
mdr_e_l_e_a_s_en_o_t_e_s
Changes in version 1.0.7
- Fixed potential login deadlock in OnlineAccountClient.
- Increased upper timeout limits to 60s to assist scope-harness testing on slow builders.
- Fixes for building with Florian Boucault's crossbuilder.
- Fixed incorrect generation of shlib files.
- Marked the push(F... | https://phone.docs.ubuntu.com/en/scopes/api-cpp-development/md__r_e_l_e_a_s_e__n_o_t_e_s | CC-MAIN-2021-04 | refinedweb | 2,270 | 52.46 |
I have written a simple program that reverses an array. For example, the string 'hello' would be printed out as 'olleh'. However, when I input something like 'hello', it prints out half the string reversed, followed by some cryptic characters and other nonsense that shouldn't be there.
My source code is as follows:
#in... | https://codedump.io/share/PAIb3aVRf2SK/1/why-is-my-array-being-printed-incorrectly | CC-MAIN-2017-51 | refinedweb | 169 | 81.83 |
Conor MacNeill wrote:
> Cost.
My 'itch' is to have pluggable support for component creation. If nobody
-1 the ComponentHelper - then any antlib can be implemented as an
optional task. I'll probably be ok with any "official" solution ( if
it isn't too complex ), and probably I'll do my own experiments.
Having a simple C... | http://mail-archives.apache.org/mod_mbox/ant-dev/200301.mbox/%3Cav83cj$7la$1@main.gmane.org%3E | CC-MAIN-2017-30 | refinedweb | 392 | 75.2 |
This article is written by Arkadiusz Merta and was originally published in the February 2005 issue of the Software 2.0 magazine. You can find more articles at the SDJ website.
The .NET technology opened a new world of possibilities for highly distributed applications. .NET Remoting and Web services enable them to commu... | http://www.codeproject.com/Articles/13434/MONO-an-alternative-for-the-NET-framework?fid=280342&df=90&mpp=25&sort=Position&spc=Relaxed&noise=1&prof=True&view=None | CC-MAIN-2014-10 | refinedweb | 6,964 | 51.34 |
A basic (?) problem with addresses (gcc)
Discussion in 'C Programming' started by Piotrne, Dec
Basic question about casting and addressesdrowned, Aug 2, 2003, in forum: C++
- Replies:
- 4
- Views:
- 429
- Rolf Magnus
- Aug 3, 2003
gcc 2.95 and gcc 3.2, Mar 14, 2005, in forum: C++
- Replies:
- 8
- Views:
- 503
Problem w... | http://www.thecodingforums.com/threads/a-basic-problem-with-addresses-gcc.740181/ | CC-MAIN-2015-18 | refinedweb | 119 | 63.8 |
JPA: Creating a object from a query
The JPA allow us to create objects inside a query, just with the values that we need:
package com.model; public class PersonDogAmountReport { private int dogAmount; private Person person; public PersonDogAmountReport(Person person, int dogAmount) { this.person = person; this.dogAmoun... | http://www.javacodegeeks.com/2012/07/ultimate-jpa-queries-and-tips-list-part_7092.html/comment-page-1/ | CC-MAIN-2016-07 | refinedweb | 1,281 | 51.24 |
TimerAlarm(), TimerAlarm_r()
Send an alarm signal
Synopsis:
#include <sys/neutrino.h> int TimerAlarm( clockid_t id, const struct _itimer * itime, struct _itimer * otime ); int TimerAlarm_r( clockid_t id, const struct _itimer * itime, struct _itimer * otime );
Arguments:
- id
- The timer type to use to implement the ala... | https://developer.blackberry.com/playbook/native/reference/com.qnx.doc.neutrino.lib_ref/topic/t/timeralarm.html | CC-MAIN-2020-34 | refinedweb | 114 | 63.7 |
RSI Strategy
RSI Strategy
Hey, nice work. Two suggestions:
1. Try mean-reversion strategies for other equities than SPY? The reason for this is that SPY in particular is somewhat slow-moving. Maybe try an equity with a bit more volatility, and you could see much greater returns.
2. Are you sure that 10/200 are the best... | https://www.quantopian.com/posts/rsi-strategy | CC-MAIN-2018-17 | refinedweb | 478 | 61.33 |
How WINS Technology Works
Updated: March 28, 2003
Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2
In this section
- NetBIOS Overview
- WINS Architecture
- WINS Protocol
- WINS Processes and Interactions
- Related Information
Windows Internet Name Servi... | http://technet.microsoft.com/en-us/library/cc728457(v=ws.10).aspx | CC-MAIN-2014-35 | refinedweb | 12,556 | 58.52 |
I'm really curious on how threads execute when the JVM is given multiple processors. So, I designed a very simple application that starts a second thread off of the main at the same time and executes. Both threads do the same thing and sleep at the same time. The overhead question for me here was, "does the JVM recogni... | http://www.javaprogrammingforums.com/%20threads/9502-multi-cpu-thread-execution-printingthethread.html | CC-MAIN-2015-40 | refinedweb | 318 | 67.04 |
Uncyclopedia talk:The Article Whisperer/archive2
From Uncyclopedia, the content-free encyclopedia
Hey Max, do you want to put a post on the dump? ~
11:58, January 7, 2010 (UTC)
- Yeah I think so. I would like to work out some more of the details before an "official" anouncement though. Also I left you a message after y... | http://uncyclopedia.wikia.com/wiki/Uncyclopedia_talk:The_Article_Whisperer/archive2 | CC-MAIN-2017-04 | refinedweb | 1,335 | 72.05 |
Version 0.11.0 released
30 April 2015 Dominik Picheta
With this release we are one step closer to reaching version 1.0 and by extension the persistence of the Nim specification. As mentioned in the previous release notes, starting with version 1.0, we will not be introducing any more breaking changes to Nim.
The langua... | https://nim-lang.org/blog/2015/04/30/version-0110-released.html | CC-MAIN-2018-51 | refinedweb | 2,018 | 54.32 |
Hey C++ Programmers...
I am by classes and now i have an question yet.... here comes my question:
- How do i import classes from another folder scripts or another script into an main script ?...
This is my first stript, called Main.cpp (from an "Dev C++ Project File (not source file))":
Script: Module WhileLoops / Main... | http://forums.devshed.com/programming/980564-dev-project-file-multiple-scripts-import-post2985347.html | CC-MAIN-2018-22 | refinedweb | 334 | 82.75 |
According to the latest figures, loading on the network of Russian Railways in January-February 2018 amounted 203.3 million tons, which is on 3.7% more than in the same period last year, says press-center of the company.
Freight turnover
In January-February 2018 freight turnover on Russian Raiways network amounted 411.... | http://navilog.ru/en/overview-of-russian-railways-network-performance-in-january-february-2018/ | CC-MAIN-2021-31 | refinedweb | 239 | 70.5 |
ExternalDNS w. EKS and Route53 pt2
Using ExternalDNS with static credentials to access to Route53
In a previous article, I covered how to use ExternalDNS to automate updating DNS records when you deploy an application on Kubernetes. This was done by giving all the nodes on Kubernetes access to the Amazon Route 53 DNS z... | https://joachim8675309.medium.com/externaldns-w-eks-and-route53-pt2-e94c705f62ae?source=user_profile---------5---------------------------- | CC-MAIN-2022-33 | refinedweb | 751 | 52.29 |
#include <disco.h>
#include <disco.h>
Inherits StanzaExtension.
Inheritance diagram for Disco::Info:
Definition at line 65 of file disco.h.
[inline]
Returns the entity's supported features.
Definition at line 80 of file disco.h.
[virtual]
Returns an XPath expression that describes a path to child elements of a stanza t... | http://camaya.net/api/gloox-trunk/classgloox_1_1Disco_1_1Info.html | crawl-001 | refinedweb | 155 | 55.1 |
Modern and Legacy JavaScript: Differential Loading with Angular 8 Tutorial
In this JavaScript tutorial designed for Angular developers, we'll learn how Angular 8 by example makes differential loading to send separate modern and legacy JavaScript bundles to web browsers based on their capabilities thanks to the
module a... | https://www.techiediaries.com/javascript-tutorial-and-example/ | CC-MAIN-2021-39 | refinedweb | 2,136 | 54.42 |
Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo
You can subscribe to this list here.
Showing
3
results of 3.
Kind regards,
Jan
On 04/06/2010 09:17 PM, Jan Moringen wrote:
> Hi.
>
> > >> You may want to consider a "fast" answer, and a "detailed" answer
> > >> soluti... | http://sourceforge.net/p/cedet/mailman/cedet-devel/?viewmonth=201004&viewday=8 | CC-MAIN-2015-14 | refinedweb | 826 | 73.27 |
The VB.NET / C#
debacle rages on. . .
Well, its Dr. Dotnetsky again. They let me out of my cage for a while,
and this time I'm going to take a little detour and make
some observations about developers targeting different .NET languages,
specifically
VB.NET
and C#.
It's always been good programming practice to use the m... | http://www.eggheadcafe.com/articles/20030801.asp | crawl-002 | refinedweb | 1,350 | 55.44 |
The mildly controversial geocoding system What3words encodes the geographic coordinates of a location (to a resolution of 3 m) on the Earth's surface into three dictionary words, through some proprietary algorithm. The idea is that human's find it easier to remember and communicate these words than the sequence of digi... | https://scipython.com/blog/what-n-things/ | CC-MAIN-2020-29 | refinedweb | 569 | 69.28 |
score:33
The quick answer is, use
.filter() to select the rows you want, e.g.:
d3.csv("data.csv", function(csv) { csv = csv.filter(function(row) { return row['Class'] == 'Second Class' || row['Class'] == 'First Class'; }) vis.datum(csv).call(chart); });
This is easy if you, the coder, are choosing the filters. If you n... | https://www.appsloveworld.com/d3js/100/1/select-data-from-a-csv-before-loading-it-with-javascript-d3-library | CC-MAIN-2022-40 | refinedweb | 863 | 62.88 |
#include <db.h> typedef struct { void *app_data; void *data; u_int32_t size; u_int32_t ulen; u_int32_t dlen; u_int32_t doff; u_int32_t flags; } DBT;
Storage and retrieval for the refer to strings of zero length up to strings of essentially unlimited length. See Database limits for more information.
All fields of the DB... | http://docs.oracle.com/cd/E17076_03/html/api_reference/C/dbt.html | CC-MAIN-2014-15 | refinedweb | 1,064 | 57.5 |
Created on 2008-04-18 21:02 by jmillikin, last changed 2008-05-04 09:09 by georg.brandl. This issue is now closed.
Using the following class layout:
class A (object):
def a (self):
"A.a"
pass
class B (A):
def b (self):
"B.b"
pass
If sphinx.ext.autodoc is used to extract documentation, the entry for
class B will have su... | https://bugs.python.org/issue2656 | CC-MAIN-2018-13 | refinedweb | 122 | 67.65 |
Find the number of CPUs using python :
Using python, we can easily check the number of CPUs available in a system. In this example program, we will learn two different methods to get this count.
What is CPU numbers :
CPU or central processing unit is the main processing unit in a computer that handles all computational... | https://www.codevscolor.com/write-python-program-find-number-cpu-count/ | CC-MAIN-2020-29 | refinedweb | 559 | 65.93 |
Domain Ownership Checker
Project description
This Python library implements different strategies to validate the ownership of a domain name.
Available strategies
All strategies takes 3 arguments: the domain to check, a static DNS safe prefix like “yourservice-domain-verification” and a randomly generated code.
- DNS TX... | https://pypi.org/project/domcheck/ | CC-MAIN-2021-21 | refinedweb | 282 | 54.12 |
How to access MainWindow statusBar from a OpenGL glWidget mouse event?
Inside my "class glwidget : public QGLWidget, protected QGLFunctions" I want to call the MainWindow method "statusBar()->showMessage( cursor location)" as the cursor moves over an image in my mouseMoveEvent() method.
I've tried passing the MainWindo... | https://forum.qt.io/topic/24137/how-to-access-mainwindow-statusbar-from-a-opengl-glwidget-mouse-event | CC-MAIN-2017-43 | refinedweb | 162 | 69.89 |
[This is now documented here:]
This should help dealing with scenarios in Outlook that cause forms to become one-offed.
Topic
How to remove one-off form attributes from a message which has unexpectedly been “one-offed”.
One-Off Forms
A message which has been “one-offed” is one where a custom form definition has been sa... | https://blogs.msdn.microsoft.com/stephen_griffin/2005/12/29/new-outlook-documentation-part-5-one-off-forms/ | CC-MAIN-2018-30 | refinedweb | 1,093 | 55.95 |
We’ll build our UI following a Component-Driven Development (CDD) methodology. It’s a process that builds UIs from the “bottom up” starting with components and ending with screens. CDD helps you scale the amount of complexity you’re faced with as you build out the UI.
Task is the core component in our app. Each task di... | https://storybook.js.org/tutorials/intro-to-storybook/react/en/simple-component/ | CC-MAIN-2021-10 | refinedweb | 1,442 | 55.03 |
Minor tweaks to documentation.
1: \ A less simple implementation of the blocks wordset. 23: \ provide it and many buffers on OSs that do not provide mmap. 24: 25: \ Now, the replacement algorithm is "direct mapped"; change to LRU 26: \ if too slow. Using more buffers helps, too. 27: 28: \ I think I avoid the assumption... | http://www.complang.tuwien.ac.at/cvsweb/cgi-bin/cvsweb/gforth/blocks.fs?f=h;only_with_tag=MAIN;content-type=text%2Fx-cvsweb-markup;ln=1;rev=1.29 | CC-MAIN-2020-45 | refinedweb | 1,556 | 75.44 |
With new Parsing API GroovyVirtualSourceProvider is not called anymore - as a consequence Groovy files are not available
in Java code completion.
Actually more important thing is that java parser does not know about groovy classes so it is displaying errors in
source files.
This sounds rather serious...
Not sure how se... | https://netbeans.org/bugzilla/show_bug.cgi?id=161176 | CC-MAIN-2019-09 | refinedweb | 2,158 | 67.55 |
How to create File and directory in Java is probably the first things come to mind when we exposed to the file system from Java. Java provides rich IO API to access contents of File and Directory in Java and also provides lots of utility method to create a file, delete a file, read from a file, and write to file or dir... | https://javarevisited.blogspot.com/2011/12/create-file-directory-java-example.html?showComment=1323177502988 | CC-MAIN-2018-26 | refinedweb | 532 | 61.87 |
PERL5240DELTA(1pm) Perl Programmers Reference Guide PERL5240DELTA(1pm)
NAME
perl5240d); [perl #125587] <> [perl #121058] <>
o The overhead of scope entry and exit has been considerably reduced, so for example subroutine calls, loops and basic blocks are all faster now. This empty function call now takes about a third l... | http://www.manpagez.com/man/1/perl5240delta/ | CC-MAIN-2018-51 | refinedweb | 5,287 | 69.18 |
vmod-accept sanitizes
content negotiations headers,
most notably the
Accept-Language header. As backends can deliver different
objects for the same URL based on this headers, it can be needed to normalize
them to avoid object duplication.
The vmod follows RFC 7231 and evaluates a list of possible candidates and
returns... | https://docs.varnish-software.com/varnish-cache-plus/vmods/accept/ | CC-MAIN-2019-51 | refinedweb | 257 | 54.12 |
Applications should not refer to the clear text versions of passwords - not in the database, not when logging, nor in any other area. The clear text version of the password should be the end user's secret. It should never be directly repeated or stored by an application.
Clear Text Versus Hash
A user inputs a password ... | http://javapractices.com/topic/TopicAction.do;jsessionid=F454284B8AD1422C2376A7AA55940683?Id=216 | CC-MAIN-2017-30 | refinedweb | 543 | 57.27 |
After doing some searching and editing, I can't seem to find a solution to fixing this error. I'm trying to link my location search results with a table to display the search results in a list-form.
I have my map with the details button linked with a UIViewController called 'FirstViewController.' My results table is li... | https://codedump.io/share/D3idhUZr5IBG/1/xcode-error-outlets-cannot-be-connected-to-repeating-content | CC-MAIN-2017-51 | refinedweb | 243 | 51.34 |
Hi, currently I'm trying to get a button to display a raw image. I have the game objects set-up in the canvas I just don't know how to get the image to be invisible when the scene loads and then when the button is clicked to have the image appear.
For context this is for a character selection screen and I'm wanting the... | https://answers.unity.com/questions/1100902/how-to-have-get-button-display-a-raw-image.html | CC-MAIN-2022-21 | refinedweb | 588 | 62.17 |
[dev-20011005]
IDE hanged up (consumed 100% of time) after popup invocation from editor.
Not reproducible now.
What I did:
1. Invoke Internationalization|Internationalize action on
examples/advanced/MemoryView.form (results in opening of this form).
2. Open examples/texteditor/About.form and go to its editor pane.
3. T... | https://netbeans.org/bugzilla/show_bug.cgi?id=16270 | CC-MAIN-2016-18 | refinedweb | 305 | 58.79 |
Specifies that one or more declared member variables refer to an instance of a class that can raise events.
When a variable is defined using WithEvents, you can declaratively specify that a method handles the variable's events using the Handles keyword.
You can use WithEvents only at class or module level. This means t... | http://msdn.microsoft.com/en-us/library/aty3352y.aspx | crawl-002 | refinedweb | 146 | 65.42 |
While.
I will briefly discuss each method using Windows 7 in the examples below. These instructions will also work in Windows Vista. Each method uses a different component of Windows to initiate the transfer:
- Internet Explorer 8
- Windows Explorer
- DOS command line
Method One - Internet Explorer 8
Everyone who brows... | http://www.techrepublic.com/blog/windows-and-office/two-plus-ways-to-transfer-files-via-ftp-in-windows/?count=50&view=collapsed | CC-MAIN-2017-13 | refinedweb | 1,801 | 63.8 |
Public C++ API
[TOC]
Overview
The Blink public API (formerly known as the WebKit API) is the C++ embedding layer by which Blink and its embedder (Chromium) communicate with each other. The API is divided into two parts - the web API, located in public/web/, and the platform API located in public/platform/. The embedder... | https://www.chromium.org/blink/public-c-api/ | CC-MAIN-2022-27 | refinedweb | 502 | 55.44 |
import "gopkg.in/hockeypuck/conflux.v2"
Package conflux provides set reconciliation core functionality and the supporting math: polynomial arithmetic over finite fields, factoring and rational function interpolation.
The Conflux API is versioned with gopkg. Use in your projects with:
import "gopkg.in/hockeypuck/conflux... | https://godoc.org/gopkg.in/hockeypuck/conflux.v2 | CC-MAIN-2017-39 | refinedweb | 1,353 | 59.3 |
Prepositions and Particles in English
This page intentionally left blank
PREPOSITIONS AND PARTICLES
IN ENGLISH
A Discourse-functional Account
Elizabeth M. O'Dowd
O'Dowd, Elizabeth M.
Prepositions and particles in English : a discoursefunctional account / Elizabeth O'Dowd
p. cm.
Based on the author's thesis (Ph. D.,
Uni... | https://el.b-ok.org/book/690552/a0de64 | CC-MAIN-2019-43 | refinedweb | 16,336 | 50.67 |
This article describes how to create a very simple project using GOA WinForms for Flash. Even if we will focus on the Flash target, the process for creating a project targeting Microsoft Silverlight is very close to the one that is described in the article.
GOA WinForms allows developers to build web applications using... | http://www.codeproject.com/Articles/19437/Create-your-first-Web-Application-with-GOA-WinForm?msg=2169734 | CC-MAIN-2015-40 | refinedweb | 605 | 52.15 |
index
Fortran Tutorials
Java Tutorials
Java Applet Tutorials
Java Swing and AWT Tutorials
JavaBeans Tutorials
applications, mobile applications, batch processing applications. Java is used... |
Hibernate Tutorial |
Spring Framework Tutorial
| Struts Tutorial |
OGNL Index
Introduction of OGNL in struts.
Object Graph Nav... | http://www.roseindia.net/tutorialhelp/comment/94500 | CC-MAIN-2015-06 | refinedweb | 357 | 59.7 |
CS194-16 Introduction to Data Science
Name: Please put your name
Student ID: Please put your student ID
In this assignment, we will use machine learning techniques to perform data analysis and learn models about our data. We will use a real world music dataset from Last.fm for this assignment. There are two parts to th... | http://nbviewer.jupyter.org/github/amplab/datascience-sp14/blob/master/hw2/HW2.ipynb | CC-MAIN-2018-51 | refinedweb | 5,767 | 55.44 |
SEM_WAIT(3) BSD Programmer's Manual SEM_WAIT(3)
sem_wait, sem_trywait - decrement (lock) a semaphore
#include <semaphore.h> int sem_wait(sem_t *sem); int sem_trywait(sem_t *sem);- mented and an error is returned.
The sem_wait() function returns the value 0 if successful; otherwise the value -1 is returned and the globa... | https://www.mirbsd.org/htman/sparc/man3/sem_wait.htm | CC-MAIN-2019-18 | refinedweb | 115 | 56.96 |
> ... aaaand, that means disabling setup.py or hacking it significantly > to support a win32 build, e.g. to build pyexpat, detect which modules > are left, etc. by examining the remaining vcproj files in PCbuild. ok - i started the hacking. the first bit of hacking is this, in distutils/sysconfig.py, added to _init_nt(... | https://mail.python.org/pipermail/python-list/2009-January/519018.html | CC-MAIN-2014-15 | refinedweb | 726 | 57.77 |
.
Update: As of SAS/IML 12.1, the MAHALANOBIS function is distributed as part of SAS/IML software. It is no longer necessary to implement the function yourself. You can skip the next two sections of this article unless you are interested in the mathematical ideas.:
proc iml; /* simplest approach: x and center are row v... | http://blogs.sas.com/content/iml/2012/02/22/how-to-compute-mahalanobis-distance-in-sas/ | CC-MAIN-2014-42 | refinedweb | 553 | 59.77 |
ASF Bugzilla – Bug 52210
Add TLS Next Protocol Negotiation (NPN) support to mod_ssl
Last modified: 2014-04-30 13:31:15 UTC
Created attachment 27969 [details]
Patch for mod_ssl to add NPN hooks
OpenSSL 1.0.1 added support for TLS Next Protocol Negotiation (NPN) [1], a feature which allows client and server to negotiate ... | https://issues.apache.org/bugzilla/show_bug.cgi?id=52210 | CC-MAIN-2014-23 | refinedweb | 620 | 60.04 |
..plugins import status c['status'].append(status(status(statusforthe
tag=query arguments to the URL will limit the display to Builders that were defined with one of the given tags.file in
public_htmlmustoption may help sorting revisions, although it depends on the date being set correctly in each commit:
w = status.
U... | http://docs.buildbot.net/0.8.14/manual/cfg-statustargets.html | CC-MAIN-2017-17 | refinedweb | 373 | 53.07 |
Very bizarre behavior has cropped up in a few spots.
the action for viewing a blog post
def posts
@post = BlogPost.find_by_slug(params[:id], :include => :commentary)
a breakpoint here shows @post and @post.commentary with appropriate
data
redirect_to :action => ‘archive’ unless @post
end
posts.rhtml
<%= @post.inspect %... | https://www.ruby-forum.com/t/controller-instance-variables-falling-in-and-out-of-scope/55585 | CC-MAIN-2020-50 | refinedweb | 117 | 60.82 |
It seems that changing the rounding modes make some functions (like exp, or
sin, or ...) buggy on many archs. The testing code is:
===============================================================================
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <fenv.h>
static int rnd[4] = { FE_TONEAREST... | https://sourceware.org/bugzilla/show_bug.cgi?id=3976 | CC-MAIN-2020-16 | refinedweb | 2,191 | 77.23 |
I'm trying to pass an image taken from ImageGrab from a class method. But it returns None. The im.show() inside takeSS() works.
import pyscreenshot as ImageGrab
class Manager():
def takeSS(self):
if __name__ == "__main__":
im = ImageGrab.grab(bbox=(0,0,1980,200))
im.show()
return im
m = Manager()
img = m.takeSS()
img.s... | https://codedump.io/share/CdAfB8JcBDqg/1/39nonetype39-object-has-no-attribute-39show39 | CC-MAIN-2016-44 | refinedweb | 185 | 77.74 |
IZUT/Common-CLI-0.04 - 28 Feb 2008 17:30:43 GMT - Search in distribution
App::LDAP is intent on providing client-side solution of RFC 2307 <>, RFC 2798 <>....SHELLING/App-LDAP-0.1.2 - 02 Oct 2013 07:18:38.20 - 26 Aug 2015 11:38:14.54 - 21 Apr 2016 02:23:38 GMT - Search in distribution
CLI::Gwrap builds a GUI wrapper ar... | https://metacpan.org/search?q=Common-CLI | CC-MAIN-2016-18 | refinedweb | 434 | 57.87 |
I'm trying to code this thing in python, and I have bumped into a road block. I have this list, and I want to modify it, and keep the changes after the program is exited. I have no clue where to start.
Essentially, I want a list that can be accessed and modified, and will be saved and not reset after the thing using it... | https://codedump.io/share/tHrQCpP49kqo/1/how-to-i-modify-an-external-list | CC-MAIN-2017-04 | refinedweb | 270 | 73.98 |
Categories: Python | S60 | Code Examples | How To
This page was last modified 05:34, 29 April 2008.
How to edit an image
From Forum Nokia Wiki
This article describes how to manipulate images in PyS60.
import appuifw, e32 from graphics import * #Define the exit function: app_lock=e32.Ao_lock() def quit():app_lock.signal... | http://wiki.forum.nokia.com/index.php/How_to_edit_an_image | crawl-001 | refinedweb | 192 | 57.67 |
My TitleWindow is set up, now I need to pass some dataKristin95762 Apr 21, 2011 11:00 PM
This is Flash Builder I'm talkin' about.
Having a really hard time finding examples on this subject.
My main app contains a list box with authors.
When I double click on an author, the TitleWindow popup appears. That part is great ... | https://forums.adobe.com/thread/841874 | CC-MAIN-2018-30 | refinedweb | 828 | 65.12 |
At the Forge - Ruby on Rails
Now that we know how to see the default message, let's move toward a “Hello, world” program. In Rails, there are two basic ways to do this. We can create a controller that returns HTML to the user's browser, or we can create a view that does the same. Let's try it both ways, so that we can ... | http://www.linuxjournal.com/article/8433?page=0,1&quicktabs_1=2 | CC-MAIN-2015-06 | refinedweb | 1,151 | 62.68 |
windows 10 - python 3.5.2
Hi, I have the two following python files, and I want to edit the second file's variables using the code in the first python file.
firstfile.py
from X.secondfile import *
def edit():
#editing second file's variables by user input
if Language == 'en-US':
print('language is English-us')
elif Lan... | https://codedump.io/share/HHmbFG9oKDjA/1/how-to-modify-variables-in-another-python-file | CC-MAIN-2017-43 | refinedweb | 150 | 68.97 |
Do You Know Why 99% of ALL Affiliate Marketers Fail?
Ranked #15,867 in How-To, #159,178 overall
Newly Revised: The "Real" Secret To Massive Online Profits In Your Own Internet Home-Based Business and Why 99% of All Internet Affiliate Marketers Fail.
Learn The Necessary Skills and Proven Techniques To Drive Profits Soar... | http://www.squidoo.com/best-home-business-ideas | crawl-002 | refinedweb | 1,281 | 73.88 |
Add jQuery to Angular (4) project
This week-end I struggled to add jQuery to my angular project.
After a long battle, I finally won (victory was to change the color of a title, wow.)
So, what to do to include jquery to an Angular (testing on version 4) project ?
First, add jQuery dependency :
npm install jquery --save
... | https://medium.com/@bnpinel/add-jquery-to-angular-4-project-87e68553a630 | CC-MAIN-2017-34 | refinedweb | 122 | 57.87 |
!-Converted with LaTeX2HTML 95.1 (Fri Jan 20 1995) by Nikos Drakos (nikos@cbl.leeds.ac.uk), CBLU, University of Leeds ->
Next: Multiple World Coordinate Systems for DEIMOS Mosaic Images
Previous: Error and Bias in the STSDAS fitting Package
Up: FITS-Flexible Image Transport System
Table of Contents - Index - PS reprint... | http://www.cv.nrao.edu/adass/adassVI/clarked.html | crawl-002 | refinedweb | 1,291 | 50.36 |
Earn Income by Being a Bumper Liquidity Provider
You might already know Bumper as the leading DeFi price protection platform, but did you know you can also earn money through Bumper too? You can do this by being a liquidity provider (LP), which essentially means lending your coins to the platform and getting paid for i... | https://medium.com/bumper-finance/earn-income-by-being-a-bumper-liquidity-provider-4005e1282fdf?source=post_internal_links---------2---------------------------- | CC-MAIN-2022-33 | refinedweb | 1,114 | 64.75 |
Code. Collaborate. Organize.
No Limits. Try it Today.
A lot has been already said about extending Windows and Internet Explorer with
Band Objects, Browser Bands, Toolbar Bands and Communication Bands. So if you
are familiar with COM and ATL you even might have implemented one yourself.
Well, in case your were waiting f... | http://www.codeproject.com/Articles/2219/Extending-Explorer-with-Band-Objects-using-NET-and?msg=3083367 | CC-MAIN-2014-23 | refinedweb | 2,148 | 50.23 |
I am wondering how to create forgiving dictionary (one that returns a default value if a KeyError is raised).
In the following code example I would get a KeyError; for example
a = {'one':1,'two':2}
print a['three']
import collections a = collections.defaultdict(lambda: 3) a.update({'one':1,'two':2}) print a['three']
em... | https://codedump.io/share/MuhURHFPtAXg/1/a-forgiving-dictionary | CC-MAIN-2017-26 | refinedweb | 384 | 67.65 |
Specification link: 15.4 The listener element
script-handle-202-t ← index → script-listener-202-t
This test tests the assertion from the Namespaces in XML specification, "The namespace prefix, unless it is xml or xmlns, MUST have been declared in a namespace declaration attribute in either the start-tag of the element ... | http://www.w3.org/Graphics/SVG/Test/20080912/htmlObjectHarness/script-listener-201-t.html | CC-MAIN-2015-14 | refinedweb | 186 | 58.11 |
Easy to use AngularDart gallery component.!
Your user can navigate through your gallery by simply pressing the left/right buttons or on mobile also by swiping to left or right.';
We recommended to use
*ngIf to show and hide the gallery.
<fnx-gallery> emits
(close) event, which indicates
that the user clicked on the clo... | https://pub.dartlang.org/packages/fnx_gallery | CC-MAIN-2018-26 | refinedweb | 257 | 60.31 |
I have a very basic question being a novice. It might be silly to you but I really want to know the fact.
Let’s say you have a java program. Can you have two classes in one java file?
What is the reason behind it? Thanks for your clearance.
Yes, we can. All we have to do is make sure that only one of them is public. A ... | https://kodlogs.com/37976/multiple-classes-in-one-java-file | CC-MAIN-2021-21 | refinedweb | 123 | 78.55 |
ASP.NET - Writing Clean Code in ASP.NET Core with Dependency Injection
By Steve Smith | May 2016 | Get the Code: C#
ASP.NET Core 1.0 is a complete rewrite of ASP.NET, and one of the main goals for this new framework is a more modular design. That is, apps should be able to leverage only those parts of the framework the... | https://msdn.microsoft.com/en-us/magazine/mt703433.aspx | CC-MAIN-2018-51 | refinedweb | 4,023 | 55.34 |
- Build
- Mandelbrot overview
- The code and image
- Data.Complex
- Magnitude
- Instability
- Pixel mapping
- The magical math
- Drawing the image
- Adding colors
We’ve used a package written by Cies Breijs that we found on GitHub to generate the header art for the Validation course pages.
haskell-fractal on GitHub. We... | https://typeclasses.com/art/mandelbrot | CC-MAIN-2021-43 | refinedweb | 1,694 | 64.75 |
Glamor
In this guide, we’ll walk through setting up a site with the CSS-in-JS library Glamor.
Glamor lets you write real CSS inline in your components using the same Object
CSS syntax React supports for the
style prop. Glamor easier to know how to edit a component’s CSS as there’s never any confusion about how and whe... | https://www.gatsbyjs.org/docs/glamor/ | CC-MAIN-2018-05 | refinedweb | 255 | 55.44 |
The:
Thank you so much. Thanks.
I tried it on stable 7.3. I installed the plugin, I pointed to play framework, I created a project and I tried to run it. It does the same when I try to use autocompletion.
This is the output when I try to run:
:: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
unresolved dependency:... | https://blogs.oracle.com/geertjan/play-in-netbeans-ide-73 | CC-MAIN-2018-09 | refinedweb | 2,106 | 60.92 |
user authentication
I'm still working on this page, please no body else edit
Other languages : français | ...
Problem
You want a system to authenticate users.
Solution
A user authentication system is made up of a few parts. Adding users, logging users in, logging users out and checking if users are logged in. It also r... | http://webpy.org/cookbook/userauth | CC-MAIN-2014-42 | refinedweb | 138 | 56.11 |
The first step to start doing data analysis in Python is to import your data from a certain source (in my first post we saw that pandas is great for data analysis)..
This second post is different from the first one. In the first one we learned the theoretical stuff. On the other hand, this post will be more practical s... | https://practicaldev-herokuapp-com.global.ssl.fastly.net/gtrindadi/pandas-2-reading-files-and-basic-dataframe-operations-38l2 | CC-MAIN-2020-50 | refinedweb | 2,237 | 66.94 |
Proposed features/Railway tracks on highway
Proposal
Notify that a section of a highway factually has some type of railway tracks running on it, and this space is shared with other vehicles, although the rails are mapped as separate ways.
The value of the tag should always follow that of the railway=*-tag it shadows. O... | https://wiki.openstreetmap.org/wiki/Proposed_features/Railway_tracks_on_highway | CC-MAIN-2021-04 | refinedweb | 1,411 | 63.7 |
[
]
Nguyen Thanh Son Daniel commented on DIGESTER-120:
--------------------------------------------------
Simon,
1- The parser being used is identified by the following maven artifact:
groupId: xerces
artifactId: xercesImpl
version: 2.6.2
also, stepping in the code reveals that it is the parser being used.
2- i am not ... | http://mail-archives.apache.org/mod_mbox/commons-issues/200803.mbox/%3C61476373.1205589864584.JavaMail.jira@brutus%3E | CC-MAIN-2015-27 | refinedweb | 307 | 59.3 |
Consistently, one of the more popular stocks people enter into their stock options watchlist at Stock Options Channel is American Capital Agency Corp (Symbol: AGNC). So this week we highlight one interesting put contract, and one interesting call contract, from the January 2016 expiration for AGNC. The put contract our... | https://www.nasdaq.com/articles/one-put-one-call-option-know-about-american-capital-agency-2015-06-15 | CC-MAIN-2019-47 | refinedweb | 408 | 59.03 |
SQL Server Backup and Restore
- Blaze Walton
- 2 years ago
- Views:
Transcription
1 The Red Gate Guide SQL Server Backup and Restore Shawn McGehee ISBN:
2 SQL Server Backup and Restore By Shawn McGehee First published by Simple Talk Publishing April 2012
3 Copyright April 2012 ISBN The right of Shawn McGehee to be iden... | http://docplayer.net/1206021-Sql-server-backup-and-restore.html | CC-MAIN-2017-30 | refinedweb | 96,344 | 54.66 |
On 11Aug2015 14:09, Chris Angelico <rosuav at gmail.com> wrote: >On Tue, Aug 11, 2015 at 1:40 PM, Cameron Simpson <cs at zip.com.au> wrote: >> I also thought the stdlib had some kind of "namespace" class with this kind >> of API, but I can't find it now:-( > >It does - types.SimpleNamespace(). It accepts keyword argume... | https://mail.python.org/pipermail/python-list/2015-August/695277.html | CC-MAIN-2019-35 | refinedweb | 117 | 85.28 |
In this tutorial, you’ll learn how to schedule a Python script using crontab.
Don’t worry if you never used crontab before. There are no prerequisites for this tutorial. I’ll walk you through everything you need to know step-by-step with lots of examples along the way.
Last thing, any modern version of Python should wo... | https://tonyteaches.tech/schedule-python-script/ | CC-MAIN-2021-31 | refinedweb | 1,107 | 76.11 |
The while loop is particularly suitable when the number of iterations is not known or can not be determined in advanced. In this section, another loop that is useful in similar situations, the do … while loop is discussed.
In case of a do …while loop, it is a exit-controlled or bottom-tested loop as opposed to the whil... | https://ecomputernotes.com/what-is-c/control-structures/do-while-loop-in-c | CC-MAIN-2022-05 | refinedweb | 502 | 59.23 |
If you have been using Windows Workflow Foundation to build web service business logic, you may be using the publish-as-web-service tool that is part of the Visual Studio extensions for Windows Workflow Foundation. How it works is if you have a workflow model defined in a Visual Studio project you can right click on th... | http://blogs.msdn.com/pandrew/archive/2006/10/25/extending-the-wf-publish-as-web-service-or-get-rid-of-tempura-org.aspx | crawl-002 | refinedweb | 608 | 67.35 |
a pluggable irc bot framework in python
Project description
the pluggable python framework for IRC bots and Twitch bots
Tutorial
Installation
$ pip install pinhook
Creating an IRC Bot
To create the bot, just create a python file with the following:
from pinhook.bot import Bot bot = Bot( channels=['#foo', '#bar'], nickn... | https://pypi.org/project/pinhook/ | CC-MAIN-2018-51 | refinedweb | 486 | 50.77 |
The programming language many love to hate is experiencing a renaissance. This is not your parents’ PHP. The new PHP is a more mature language with community standards, interoperable components, and a passionate movement toward improved performance. If you bypassed PHP for alternative languages, or if you are a PHP vet... | https://www.oreilly.com/ideas/the-new-php | CC-MAIN-2018-13 | refinedweb | 753 | 55.64 |
KTRACE(9) BSD Kernel Manual KTRACE(9)
ktrcsw, ktremul, ktrgenio, ktrnamei, ktrpsig, ktrsyscall, ktrsysret, KTRPOINT - process tracing kernel interface
#include <sys/param.h> #include <sys/proc.h> #include <sys/ktrace.h> KTRPOINT(struct proc *p, int type); void ktrcsw(struct proc *p, int out, int user); void ktremul(str... | https://www.mirbsd.org/htman/i386/man9/ktrsysret.htm | CC-MAIN-2016-07 | refinedweb | 517 | 60.55 |
Don't Let Your Java Objects Escape
How to use Escape Analysis with your Java projects to create more optimal, useful code.
Join the DZone community and get the full member experience.Join For Free
Background
I am working on the Open Source project Speedment and for us contributors, it is important to use code that peop... | https://dzone.com/articles/do-not-let-your-java-objects-escape | CC-MAIN-2021-04 | refinedweb | 882 | 64.51 |
Github user zuyu commented on a diff in the pull request: --- Diff: cli/LineReaderBuffered.hpp --- @@ _LINE_READER_BUFFERED_HPP_ +#define QUICKSTEP_CLI_LINE_READER_BUFFERED_HPP_ + +#include <string> + +#include "cli/LineReader.hpp" +#include "utility/Macros.hpp" + +namespace quickstep { + +class LineReaderBuffered : pu... | https://www.mail-archive.com/dev@quickstep.incubator.apache.org/msg02465.html | CC-MAIN-2017-26 | refinedweb | 113 | 52.66 |
I have been working on a program that uses Matplotlib to plot data
consisting of around one million points. Sometimes the plots succeed but
often I get an exception: OverFlowError: Agg rendering complexity exceeded.
I can make this message go away by plotting the data in "chunks" as
illustrated in the demo code below. ... | https://discourse.matplotlib.org/t/how-to-do-million-data-point-plots-with-matplotlib/16351 | CC-MAIN-2021-49 | refinedweb | 466 | 64.2 |
table of contents
other languages
NAME¶
lockf - apply, test or remove a POSIX lock on an open file
SYNOPSIS¶
#include <sys/file.h>
int lockf(int fd, int cmd, off_t len);
DESCRIPTION¶
Apply, test or remove a POSIX lock on an open file. The file is specified by fd. This call is just an interface for fcntl(2). Valid opera... | https://manpages.debian.org/unstable/manpages-pt-dev/lockf.3.pt.html | CC-MAIN-2022-05 | refinedweb | 248 | 68.57 |
| Join
Last post 05-09-2008 4:59 AM by talg. 2 replies.
Sort Posts:
Oldest to newest
Newest to oldest
Hello all,
I am planing a set project for a web site application, there are two unsolved issues that i would like to share with you
and fortunly get clear idea about how to acomplish it.
I need to retrive a text box'es... | http://forums.asp.net/t/1258626.aspx | crawl-001 | refinedweb | 333 | 68.5 |
How to Copy an Array in Java Last modified: May 7, 2017 by baeldung Java If you’re working with Spring, check out "REST With Spring": >> CHECK OUT THE COURSE 1. Overview In this quick article, we’ll discuss different array copying methods in Java. Array copy may seem like a trivial task, but it may cause unexpected res... | http://www.baeldung.com/java-array-copy | CC-MAIN-2017-26 | refinedweb | 1,129 | 54.73 |
Gary Poster wrote: > > > Checking in the code is an assertion of provenance/license: for > instance, I wouldn't have known about the Plone code, which is > potentially a problem because of GPL vs. ZPL (see below). > Hold-off on checking-in jsmin. The original author of the packer has not decided whether allow us a BSD-... | https://www.mail-archive.com/zope3-users@zope.org/msg02884.html | CC-MAIN-2016-50 | refinedweb | 373 | 77.84 |
import
Specifies another .idl, .odl, or header file containing definitions you want to reference from your main IDL.
Parameters
- idl_file
The name of an .idl file that you want imported into the type library of the current project.
The import C++ attribute causes an #import statement to be placed below the import "doc... | https://msdn.microsoft.com/en-US/library/w2de1a8a(d=printer,v=vs.80).aspx | CC-MAIN-2015-32 | refinedweb | 163 | 68.16 |
perlmeditation mstone <p><b>Meditations on Programming Theory <br>meditation #3: identification, part 1: variables</b></p> <p>Okay, this is where things get complicated.</p> <p>The concept of identification is only the tip of a tightly-interconnected iceberg. I'm going to start by blasting my way through a bunch of voc... | https://www.perlmonks.org/?displaytype=xml;node_id=222451 | CC-MAIN-2020-16 | refinedweb | 2,965 | 52.9 |
Problem statement: You have a list of items that you want to randomize.
I’ve found myself in this situation many times. If the language you’re working in has a shuffle or randomize function, you’re set. However, there are plenty of languages that don’t provide built in support for such a function, leaving you on your o... | https://spin.atomicobject.com/2014/08/11/fisher-yates-shuffle-randomization-algorithm/ | CC-MAIN-2017-47 | refinedweb | 1,339 | 65.42 |
glob.h - pathname pattern-matching types
#include <glob.h>
The <glob.h> header defines the structures and symbolic constants used by the glob() function.
The structure type contains at least the following members:
size_t gl_pathc count of paths matched by pattern char **gl_pathv pointer to a list of matched pathnames s... | http://pubs.opengroup.org/onlinepubs/7990989775/xsh/glob.h.html | CC-MAIN-2016-18 | refinedweb | 198 | 55.24 |
On Sep 29, 9:14 am, Paul Boddie <p... at boddie.org.uk> wrote: > On 29 Sep, 05:56, Terry Reedy <tjre... at udel.edu> wrote: > > > > > As I understand it, partly from postings here years ago... > > > Lexical: The namespace scope of 'n' in inner is determined by where > > inner is located in the code -- where is is compi... | http://mail.python.org/pipermail/python-list/2008-September/503504.html | CC-MAIN-2013-20 | refinedweb | 1,196 | 69.41 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.