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 |
|---|---|---|---|---|---|
(For more resources related to this topic, see here.)
To start from, cross-validation is a common validation technique that can be used to evaluate machine learning models. Cross-validation essentially measures how well the estimated model will generalize some given data. This data is different from the training data s... | https://www.packtpub.com/books/content/using-cross-validation | CC-MAIN-2015-11 | refinedweb | 6,539 | 50.77 |
or Kubernetes or Mesos or anything like that
- Running containers has a bunch of advantages even with no Docker
- If you’re going to move to Docker/k8s eventually, you need to containerize anyway. You can separate out this work into a smaller project!
- so this might be a good migration plan if you want to eventually ... | https://jvns.ca/blog/2016/10/26/running-container-without-docker/ | CC-MAIN-2017-51 | refinedweb | 1,096 | 65.86 |
I'm having the same problem as this guy and possibly this guy, but I am around to share some code and respond to questions!
I have some code in a batch job that reads fields from a Microsoft Access database via pyodbc and prepares the output for display.
Here is a snippet. Note the assert.
def format_currency(amount):
... | https://codedump.io/share/DsutumvkVGJV/1/python-inserts-a-colon-in-a-decimal-number-from-access-via-pyodbc | CC-MAIN-2017-39 | refinedweb | 681 | 76.72 |
Hi,
1. Create an app in web2py admin panel
2. In models/db.py define a table named entries
Entries = db.define_table("entries", Field("entry", "text"))
3. Register a new user in
4. Go to appadmin and Add a couple of entries.
5. now add the RESTful services to the default.py controller as described in ('parse_as_rest') ... | http://www.web2pyslices.com/slice/show/1533/restful-api-with-web2py | CC-MAIN-2020-34 | refinedweb | 315 | 52.66 |
On Tuesday, June 4, 2002, at 12:38 PM, Stephan Michels wrote:
>
>
> On Tue, 4 Jun 2002, Stefano Mazzocchi wrote:
>
>> Stephan Michels wrote:
>>
>>> I think what be useful for the first time is an projection of
>>> a loaction
>>> in a repository on a url. My first initial stage was:
>>>
>>> slide://<namespace>/<uri of t... | http://mail-archives.apache.org/mod_mbox/cocoon-dev/200206.mbox/%3C60C71A7C-77B8-11D6-9CD6-0003935AD2EE@mac.com%3E | CC-MAIN-2017-34 | refinedweb | 219 | 56.05 |
Surprisingly, even advanced Python coders don’t know the details of the
copy() method of Python lists. Time to change that!
Definition and Usage: The
list.copy() method copies all
list elements into a new list. The new list is the return value of the method. It’s a shallow copy—you copy only the object references to th... | https://blog.finxter.com/python-list-copy/ | CC-MAIN-2021-43 | refinedweb | 1,435 | 71.55 |
Test.Framework.Tutorial.)
Suppose you are writing a function for reversing lists:
myReverse :: [a] -> [a] myReverse [] = [] myReverse [x] = [x] myReverse (x:xs) = myReverse xs
To test this function using the HTF, you statements are also needed:
import System.Environment ( getArgs ) with name allHTFTests of type
TestSui... | http://hackage.haskell.org/package/HTF-0.3.1/docs/Test-Framework-Tutorial.html | CC-MAIN-2015-18 | refinedweb | 333 | 50.73 |
#include <thread.h> int cond_timedwait(cond_t *cv, mutex_t *mp, timestruct_t abstime)
Use cond_timedwait(3T) as you would use cond_wait(), except that cond_timedwait() does not block past the time of day specified by abstime. (For POSIX threads, see "pthread_cond_timedwait(3T)".)
cond_timedwait() always returns with th... | http://docs.oracle.com/cd/E19620-01/805-5080/sthreads-43512/index.html | CC-MAIN-2014-35 | refinedweb | 102 | 51.99 |
Summary
When the information you need already exists, but it's scattered here and there around the web, you have an option. You can create a small, super-lightweight web app to put it together--a mashup. It's not quite as easy as falling off a log, but it's gotten to the point that end users can create their own applic... | http://www.artima.com/weblogs/viewpost.jsp?thread=205160 | CC-MAIN-2014-42 | refinedweb | 2,702 | 56.29 |
29 May 2012 12:07 [Source: ICIS news]
LONDON (ICIS)--Ciech has appointed Dariusz Krawczyk as its new CEO, after deciding he was the best candidate to complete its restructuring prior to a fresh attempt at privatisation, the Polish chemical group said on Tuesday.
Krawczyk, who served as CEO of Poland's Synthos, ?xml:nam... | http://www.icis.com/Articles/2012/05/29/9564768/MOVES-Ex-Synthos-CEO-made-head-of-Polands-Ciech.html | CC-MAIN-2013-48 | refinedweb | 146 | 51.52 |
On 2009-04-07, Scott David Daniels <Scott.Daniels at Acm.Org> wrote: > Grant! Doh! > I also dislike the trailing backslashes and over-parenthesizing. > So, I'd do it like this (using the pare to avoid the backslash): The paren to avoid the backslashes is a good tip. > def controlEqual(self,other): > return (self.type =... | https://mail.python.org/pipermail/python-list/2009-April/532191.html | CC-MAIN-2014-15 | refinedweb | 213 | 62.14 |
change screen orientation snippet shows how to change the screen's orientation in PySymbian.
Preconditions
This method is only available for some S60 3rd Edition devices.
The orientation attribute of the application can be read and written and can be one of the following values: 'automatic' (this is the default value)... | http://developer.nokia.com/community/wiki/Archived:How_to_change_screen_orientation_using_PySymbian | CC-MAIN-2014-52 | refinedweb | 115 | 50.63 |
from thinkbayes2 import Pmf, Cdf, Suite import thinkplot
Different species of flea beetle can be distinguished by the width and angle of the aedeagus. The data below includes measurements and know species classification for 74 specimens.
Suppose you discover a new specimen under conditions where it is equally likely t... | https://nbviewer.jupyter.org/github/AllenDowney/ThinkBayes2/blob/master/examples/flea_beetle_soln.ipynb | CC-MAIN-2021-10 | refinedweb | 572 | 60.72 |
In languages like C and C++ strings are character arrays and end with a null character. The null character is used to process the string and it is useful in many situations. The sequences of characters are stored in an array. But in Java, the string is an object that represents a sequence of characters. The java.lang.S... | http://www.tutorialtpoint.net/2020/06/java-strings-and-string-methods.html | CC-MAIN-2022-05 | refinedweb | 668 | 64.71 |
Build your own back links with free blogs
(don’t go overboard on linking to your stuff, mix in other authority links out) Put a couple of articles on each free blog so you look legit. Vary your link text, don’t use the same one over and over. One post immediately, one more in two weeks. One more each month is all that ... | https://michaeljohnsonbiz.com/25-amazingly-effective-traffic-growing-tools/ | CC-MAIN-2022-05 | refinedweb | 1,001 | 53.24 |
13.6. Finding Synonyms and Analogies¶
In the “Implementation of Word2vec” section, we trained a word2vec word embedding model on a small-scale data set and searched for synonyms using the cosine similarity of word vectors. In practice, word vectors pre-trained on a large-scale corpus can often be applied to downstream ... | http://d2l.ai/chapter_natural-language-processing/similarity-analogy.html | CC-MAIN-2019-18 | refinedweb | 906 | 52.46 |
Free text analytics seems a fashionable pastime at present. The most commonly seen form in the wild might be the very basic text visualisation known as the “word cloud”. Here, for instance is the New York Times’ “most searched for terms” represented in such a cloud.
When confronted with a body of human-written text, on... | https://dabblingwithdata.wordpress.com/2015/06/ | CC-MAIN-2019-09 | refinedweb | 827 | 69.11 |
On 07/11/2012 07:35 Don't you mean 'gcc impl' here? > though, we don't expect anyone to seriously use the pthread.h > impl, so this downside is not significant. Agree that the majority of compilation is currently done with gcc, even though we try hard to allow other compilers. > +++ b/configure.ac > @@ -157,7 +157,64 @... | https://www.redhat.com/archives/libvir-list/2012-July/msg00624.html | CC-MAIN-2017-09 | refinedweb | 883 | 55.54 |
Communities
[ REGRESSION / BUG ] getNSHScriptParamValues doesn't work anymoreClement BARRET Jun 30, 2014 5:20 AM
Hi,
I used to call the getNSHScriptParamValues method from the NSHScriptJob namespace.
It worked flawlessly on our previous BMC BladeLogic environments (on our 7.6 and our 8.2 SP4 versions).
Now, we migrated... | https://communities.bmc.com/thread/109915 | CC-MAIN-2017-51 | refinedweb | 1,125 | 59.94 |
Micron’s New Heavy Hitter
NVMe devices have taken off these past few years, but adoption is accelerating in 2019. They now surpass both SAS and SATA as the preferred interface and are getting faster with each generation. That's a trend that won’t go away any time soon because we are currently creating over 2.5 exabytes... | https://www.tomshardware.com/uk/reviews/micron-9300-nvme-ssd-review,6256.html | CC-MAIN-2020-50 | refinedweb | 1,190 | 63.09 |
Accordingly to the C++ standard, no one knows. It is one of those undefined behavior that should worry you so much to be very careful in writing C++ code.
If you are developing on Visual Studio, and you application is built in debug mode, the disaster is shielded by an assertion failure that pops up a window with some ... | http://thisthread.blogspot.com/2013_02_01_archive.html | CC-MAIN-2017-51 | refinedweb | 271 | 59.13 |
Current Situation
ATS currently supports SSDs, however it does not take the best advantage
of their special characteristics. In particular, SSDs could be used as
an addition level in the cache (between RAM and traditional platter-based
hard drives (HDDs)), and SSDs could benefit from reducing writes. Currently
we write... | https://cwiki.apache.org/confluence/display/TS/SSDSupport | CC-MAIN-2019-18 | refinedweb | 1,180 | 57.1 |
Hi guys, i'm working on trying to pass commands from the console from one program to another program by using pipes() and the execve() system calls.
I'm pretty much stuck right now, because I can't seem to determine what i'm doing wrong.
Here are my code listings
#include <errno.h> #include <stdio.h> #include <stdlib.h... | https://www.daniweb.com/programming/software-development/threads/177094/pipe-and-execve-problem | CC-MAIN-2016-50 | refinedweb | 685 | 73.98 |
Dart wrapper library for the new Firebase
This is an unofficial Dart wrapper library for the new Firebase.
You can find more information on how to use Firebase on Getting started page.
Don't forget to setup correct rules for your realtime database and/or storage in Firebase console. Auth has to be also set in the Fireb... | https://www.dartdocs.org/documentation/firebase3/0.1.0/index.html | CC-MAIN-2017-17 | refinedweb | 176 | 67.25 |
Arduino GPS Speedometer With a Ks0108 - 128x64 GLCD (display)
Introduction: positioned in a more convenient position - right in front of me. And as I did not want to mess with my car's electronic parts in order to tap in and read the "speed" signal straight from the car's computer, I opted for the GPS version.
Componen... | http://www.instructables.com/id/Arduino-GPS-speedometer-with-a-ks0108-128x64-GLCD-/ | CC-MAIN-2017-30 | refinedweb | 5,609 | 73.17 |
Building High Performance HTML Pages
Note As of December 2011, this topic has been archived and is no longer actively maintained. For more information, see Archived Content. For information, recommendations, and guidance regarding the current version of Windows Internet Explorer, see Internet Explorer Developer Center.... | http://msdn.microsoft.com/en-us/library/ie/ms533020(v=vs.85).aspx | CC-MAIN-2014-52 | refinedweb | 1,611 | 54.63 |
I used local galaxy to run data. However I deleted the current library. but I think this still occupied my disk volume. I want to clean them totally, how I can do it?
Thank you very much in advance!
I used local galaxy to run data. However I deleted the current library. but I think this still occupied my disk volume. I... | https://biostar.usegalaxy.org/p/13878/ | CC-MAIN-2021-21 | refinedweb | 327 | 61.63 |
[AdWords API] Keyword Search Volume fetching -- 2
Budget $50-100 USD
What I need is a function or class that connects with the AdWords API and retrieves exact search volume for a specific keyword, optionally in a specific country or language(Japan/Japanese).
It should do the same thing what this tool does: [url removed... | https://www.freelancer.com.au/projects/php/adwords-api-keyword-search-volume/ | CC-MAIN-2019-39 | refinedweb | 224 | 61.36 |
On Tue, Jun 22, 2010 at 10:57:08PM +0100, M?ns Rullg?rd wrote: > Michael Niedermayer <michaelni at gmx.at> writes: > > > On Tue, Jun 22, 2010 at 09:46:35PM +0100, M?ns Rullg?rd wrote: > >> Michael Niedermayer <michaelni at gmx.at> writes: [...] > >> >> Index: libavcodec/h264.h > >> >> ==================================... | http://ffmpeg.org/pipermail/ffmpeg-devel/2010-June/092216.html | CC-MAIN-2017-04 | refinedweb | 165 | 60.65 |
The purpose of this section is to review and recall the basic terms in the measurement of returns and statistics which are used in valuations.
Net Present Value (NPV) NPV is the sum of all discounted flows (both positive and negative) from a project. NPV is used as a gauge for measuring the advisability of an investmen... | https://flylib.com/books/en/2.488.1.69/1/ | CC-MAIN-2018-22 | refinedweb | 358 | 68.6 |
(* Find recently modified entries in the Address Book
Input: a time interval (backwards from today) in the variable "daysBeforeToday"
Output: a string on the clipboard, format: YYYY-MM-DD (tab) Name (return)
©2009, Michael Bach, <> *)
set daysBeforeToday to 7 -- <<< change as desired or read from a dialog
tell applicat... | http://hints.macworld.com/article.php?story=20090218052324712 | CC-MAIN-2016-50 | refinedweb | 515 | 67.28 |
2018-03-05
Announcing Dotty 0.6.0 and 0.7.0-RC1
Today, we are excited to release Dotty versions 0.6.0 and 0.7.0-RC1. These releases serve as a technology preview that demonstrates new language features and the compiler supporting them.
If you’re not familiar with Dotty, it's a platform to try out new language concepts ... | http://dotty.epfl.ch/blog/2018/03/05/seventh-dotty-milestone-release.html | CC-MAIN-2019-04 | refinedweb | 1,233 | 61.87 |
Solaris, the actual name for the library file on disk is libmyRenderingLib.so .
Here torun Java 2 SDK. Solaris, against the jre/lib/sparc/libjawt.so library. (For Windows, link against the jre/bin/jawt.dll library.) Solaris X11-based drawing environment and a Java VM where the AWT Native Interface is present:/* * Copy... | http://java.sun.com/j2se/1.3/docs/guide/awt/AWT_Native_Interface.html | crawl-002 | refinedweb | 189 | 61.73 |
If.
public class CalculatorTester { public void TestAdd() { var calculator = new Calculator(); if (calculator.Add(2, 2) == 4) Console.WriteLine("Success"); else Console.WriteLine("Failure"); } }.
What Are Unit Test Frameworks?
Well, as you can imagine, having this sort of unit testing across your entire codebase could ... | https://stackify.com/unit-test-frameworks-csharp/ | CC-MAIN-2018-09 | refinedweb | 1,035 | 63.59 |
On Oct 12, 2006, at 1:42 PM, Derk-Jan Hartman wrote: > >. Thanks Derk, I had figured that out. My code allows you to specify if you want to precede it with length bytes (then it will fill in the extradata with avcc block), or start sequence (in which case it will fill it in with sps/pps). This appears to work currently... | http://ffmpeg.org/pipermail/ffmpeg-devel/2006-October/018187.html | CC-MAIN-2017-30 | refinedweb | 490 | 70.43 |
Sven K=C3=B6hler <skoehler@...> writes:
> > The 2.6.0 UML patch is available at
> >
>=20
>
Disable CONFIG_HIGHMEM, then it does build.
I have a few more questions:
* what is the status of kernel modules in 2.6 kernels? It doesn't
build without patching the kernel: One issue is some elf relocation
defines being missing... | https://sourceforge.net/p/user-mode-linux/mailman/user-mode-linux-devel/?viewmonth=200401&viewday=13 | CC-MAIN-2017-09 | refinedweb | 1,424 | 76.82 |
Text::Template - Expand template text with embedded Perl
version 1.53
use Text::Template; $template = Text::Template->new(TYPE => 'FILE', SOURCE => 'filename.tmpl'); $template = Text::Template->new(TYPE => 'ARRAY', SOURCE => [ ... ] ); $template = Text::Template->new(TYPE => 'FILEHANDLE', SOURCE => $fh ); $template = T... | http://search.cpan.org/~mschout/Text-Template-1.53/lib/Text/Template.pm | CC-MAIN-2018-22 | refinedweb | 7,429 | 71.34 |
Let's continue with previous 'orbit' tutorial. In order to create new 'planetary system' just add single orbit function call:
orbit(planetMovieClip, satelliteMovieClip, _distance, _speed);
This will make satelliteMovieClip orbit around planetMovieClip at distance _distance with speed _speed.
Further you can create anot... | http://flanture.blogspot.com/2011/03/making-orbit-trails-in-flash.html | CC-MAIN-2014-35 | refinedweb | 267 | 72.87 |
Dear experts,
I have a class which contains, a std::vector of vectors.
I don’t want to store this class in a tree or draw it, or anything, I just want to use this class as a container in my program, which elsewhere requires root libraries.
If I comment out everything in my code which doesn’t use std::vector< std::vecto... | https://root-forum.cern.ch/t/std-vector-std-vector-in-root-class/8069 | CC-MAIN-2022-27 | refinedweb | 123 | 57.4 |
Continuing on my series discussing the language I wrote, this next post is going to talk about the basics of static typing and scope rules. So far my language implementation follows very closely to Parr’s examples in his book Language Implementation Patterns, which is what gave me the inspiration to do this project.
Ho... | https://onoffswitch.net/2013/03/04/adding-static-typing-and-scope-validation-into-the-language-part-1/ | CC-MAIN-2020-16 | refinedweb | 2,986 | 64.2 |
When a URL points at a specific piece of a document, it can be difficult to ascertain. Find out how you can use some simple CSS to draw attention to the target of a URL and improve the user's experience. As an aid to identifying the destination of a link that points to a specific portion of a document, CSS3 Selectors i... | https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Using_the_:target_selector | CC-MAIN-2015-18 | refinedweb | 248 | 51.38 |
ifStatement
Like most languages, C++ provides an
if statement that supports conditional execution. We can use an
if to write a program to count how many consecutive times each distinct value appears in the input:
#include <iostream>int main(){ // currVal is the number we're counting; we'll read new values into val int ... | https://www.safaribooksonline.com/library/view/c-primer-fifth/9780133053043/ch01lev2sec13.html | CC-MAIN-2018-13 | refinedweb | 117 | 50.84 |
Asynchronous Versus Parallel Programming
The.
Before we begin it would help to review a key difference in Asynchronous and Parallel programming. The two perform similar tasks and functions in most modern languages, but they have conceptual differences.
Asynchronous calls are used to prevent “blocking” within an applica... | https://urda.com/blog/2010/10/04/asynchronous-versus-parallel-programming | CC-MAIN-2022-21 | refinedweb | 910 | 65.56 |
On Display: XML Web Pages with Opera 4.0On Display: XML Web Pages with Opera 4.0
In the second article in his series examining next-generation browser XML support, Simon St.Laurent examines the Opera 4 browser, comparing its XML support with that of Mozilla, reviewed previously. If you haven't read the Mozilla article ... | http://www.xml.com/lpt/a/412 | crawl-001 | refinedweb | 1,406 | 58.42 |
I want to read two points in a picture.
Most pixel values will be (0,0,0).
I don't know how to take the flatted data and separate it into x,y coordinates.
I use the Image library and VideoCaputre.
I want to read two points in a picture.
Most pixel values will be (0,0,0).
I don't know how to take the flatted data and se... | https://www.daniweb.com/programming/software-development/threads/240812/reading-pixels | CC-MAIN-2018-47 | refinedweb | 536 | 79.77 |
I've been writing servlets for a better part of two years, last week I started looking at ejb.
I have a good idea of how it's supposed to work and have converted one of my simpler servlets to ejb. The problem I'm having is that the client servlet is not able to create an ejb object. I dont get any exceptions, but the l... | http://www.theserverside.com/discussions/thread.tss?thread_id=19439 | CC-MAIN-2014-35 | refinedweb | 589 | 66.74 |
The Developer's Challenge
Existing Windows applications need not be ported to Metro, and you can keep on writing classic Windows applications using the same tools and libraries you're using the .NET Framework and .NET languages.
Metro applications will require a new type of development, API, and runtime system, but nea... | http://www.drdobbs.com/windows/what-exactly-is-windows-8/231902075?pgno=2 | CC-MAIN-2016-22 | refinedweb | 421 | 55.24 |
The busy Java developer's guide to Scala
Implementation inheritance
Objects meet functions in Scala's inheritance
Content series:
This content is part # of # in the series: The busy Java developer's guide to Scala
This content is part of the series:The busy Java developer's guide to Scala
Stay tuned for additional cont... | https://www.ibm.com/developerworks/java/library/j-scala05298/index.html | CC-MAIN-2018-30 | refinedweb | 3,666 | 52.49 |
On Fri, Nov 27, 2020 at 12:28 AM Steven D'Aprano steve@pearwood.info wrote:
Block scoping adds semantic and implementation complexity and annoyance, while giving very little benefit. No thank you.
def foo(): let x = 1 if bar: let x = 2 ... # x is 1 again here, you don't like it, don't want it, and see no value in it. I... | https://mail.python.org/archives/list/python-ideas@python.org/message/OP3TJGHYGMNQXCIC3SCV7I6DQSZJTMIE/ | CC-MAIN-2021-17 | refinedweb | 173 | 64.95 |
It looks like you're new here. If you want to get involved, click one of these buttons!
import streams
import socket
# import the wifi interface
from wireless import wifi
# uncomment the following line to use the BCM43362 driver (Particle Photon)
from broadcom.bcm43362 import bcm43362 as wifi_driver
streams.serial()
# ... | https://community.zerynth.com/discussion/380/wifi-drivers-for-cc3000-and-bcm43362-cannot-get-working | CC-MAIN-2017-26 | refinedweb | 1,016 | 71.55 |
Each Answer to this Q is separated by one/two green lines.
I use Jupyter Notebook to make analysis of datasets. There are a lot of plots in the notebook, and some of them are 3d plots.
I’m wondering if it is possible to make the 3d plot interactive, so I can later play with it in more details?
Maybe we can add a button... | https://techstalking.com/programming/python/python-matplotlib-make-3d-plot-interactive-in-jupyter-notebook/ | CC-MAIN-2022-40 | refinedweb | 681 | 66.23 |
The busy Java developer's guide to db4o
Queries, updates, and identity
Count the ways to query in db4o
Content series:
This content is part # of # in the series: The busy Java developer's guide to db4o
This content is part of the series:The busy Java developer's guide to db4o
Stay tuned for additional content in this s... | https://www.ibm.com/developerworks/java/library/j-db4o2/index.html | CC-MAIN-2017-26 | refinedweb | 2,227 | 54.42 |
What is a Component
Components are the most basic building blocks of an Angular application. A Real-world angular application will have tens to a few hundreds of components. Some of them are reusable and some of them or not. But what actually is a component?
We can define a component as a small block or part of a page ... | https://www.geekinsta.com/angular-tutorial-working-with-components/ | CC-MAIN-2020-40 | refinedweb | 816 | 52.56 |
sc_ProcThreadGrp - Man Page
The ProcThreadGrp class privides a concrete thread group appropriate for an environment where there is only one thread.
Synopsis
#include <thread.h>
Inherits sc::ThreadGrp.
Public Member Functions
ProcThreadGrp (const Ref< KeyVal > &)
int start_threads ()
Starts the threads running.
int wait... | https://www.mankier.com/3/sc_ProcThreadGrp | CC-MAIN-2021-21 | refinedweb | 215 | 59.4 |
No way to create slice objects
I tried to slice a numpy array but this doesn't work since Ruby doesn't understand Python's slice syntax. If I could create a slice object using the Python built-in slice function, I could get around this by passing a slice object to Numpy's getslice method, but afaik there's no way to ac... | https://bitbucket.org/raineszm/rubypython/issues/22/no-way-to-create-slice-objects | CC-MAIN-2017-26 | refinedweb | 223 | 84.37 |
The in the following example:
[DllImport("avifil32.dll")]
private static extern void AVIFileInit();
The extern keyword also can define an external assembly alias, making it possible to reference different versions of the same component from within a single assembly. For more information, see extern alias (C# Reference)... | http://msdn.microsoft.com/en-us/library/e59b22c5(VS.80).aspx | crawl-002 | refinedweb | 165 | 53.68 |
Details
Description
Currently the InteractiveShell (aka. groovysh) class is written in Java... and well, AFAICT there is no good reason for that. So re-write it in Groovy
Activity
Any hints on how to get the underlying GroovyShell instance to remember things? Seems like it doesn't do that at all right now. Perhaps the ... | http://jira.codehaus.org/browse/GROOVY-2053?focusedCommentId=104945&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel | CC-MAIN-2014-42 | refinedweb | 483 | 65.96 |
The homepage for OsmSharp brags about having documentation, but it is minimal and horribly out of date! I was using version 4.2.0.723, but recently updated to 5.0.6. I thought that maybe I was the one who was out of date, but even after the update the documentation is incorrect and does not help. The only change was th... | https://help.openstreetmap.org/questions/54349/how-do-i-filter-with-osmsharp | CC-MAIN-2020-45 | refinedweb | 275 | 71.75 |
Today marks a big milestone: V-Play is now called Felgo and got a new facelift. In this article you will learn:
- Why we did the rebranding from V-Play to Felgo
- Why this will benefit you
- What the Felgo roadmap looks like
- How to update to the latest Felgo release
Reasons for Rebranding V-Play to Felgo
The first of... | https://blog.felgo.com/updates/felgo-release-and-roadmap | CC-MAIN-2022-33 | refinedweb | 1,604 | 61.26 |
The day has finally come. Today we’ll take a look at the noteworthy monads.
A monad, just like a monoid, may seem to be a concept taken from the deepest hell. It seems almost impossible to understand. Nothing could be further from the truth. Let’s try to shed light on this concept.
There are many definitions of what a ... | https://scalerablog.wordpress.com/2015/10/12/abstract-alge-what-monads/ | CC-MAIN-2017-39 | refinedweb | 570 | 72.46 |
JTextArea
Before discussing TextArea let us know the difference between TextField and TextArea,
The difference between these two components,are as follows.
"A TextField is an input box where we can only enter single line of text whereas a TextArea allows you to enter multiple line of texts".
" If the text is more than ... | http://craftingjava.blogspot.com/2012/10/ | CC-MAIN-2017-51 | refinedweb | 345 | 60.85 |
Blog Post
Secure your container-based system
So you're interested in securing a container-based system? Then this blog post is for you. You'll learn about some techniques to improve the architecture, design,…
So you’re interested in securing a container-based system? Then this blog post is for you. Read about some of m... | https://developer.ibm.com/blogs/securing-your-containers/ | CC-MAIN-2020-29 | refinedweb | 1,059 | 50.57 |
imar2 wrote:because in this forum topic every one said that they did it "ctrl-c ctrl-v style" and the time limit would suggest it as well.
but I guess I'll have to look into it..
Imar2
Automated submission is the way to go. I used:
import urllib
import urllib2
import re
I logged on to hts and then set my cookie in my c... | http://www.hackthissite.org/forums/viewtopic.php?p=35855 | CC-MAIN-2015-35 | refinedweb | 114 | 74.73 |
Using OpenGL in a SFML window
Introduction
This tutorial is not about OpenGL itself, but rather how to use SFML as an environment for OpenGL, and how to mix them together.
As you know, one of the most important features of OpenGL is portability. But OpenGL alone won't be enough to create complete programs: you need a w... | http://www.sfml-dev.org/tutorials/2.0/window-opengl.php | CC-MAIN-2016-26 | refinedweb | 1,569 | 63.59 |
Create Dart + React apps with no build configuration.
pub global activate dart_create_react_app export PATH=$PATH:~/.pub-cache/bin dart_create_react_app my_app cd my_app/ pub serve
Then open to see your app.
When you’re ready to deploy to production, create a minified bundle with
pub build.
You don’t need to install or... | https://pub.dartlang.org/packages/dart_create_react_app | CC-MAIN-2018-51 | refinedweb | 336 | 58.69 |
An introduction to the Java 2D API
How to compile and run JDK 1.2 code
JDK 1.2 is not yet supported from within popular browsers such as Netscape and Internet Explorer. To compile the example code provided below, please use:
javac Test2D.java
To run the compiled class, use:
java Test2D
where is a number between 1 and 4... | http://www.developer.com/java/other/article.php/601851/An-introduction-to-the-Java-2D-API.htm | CC-MAIN-2014-15 | refinedweb | 2,521 | 55.44 |
in reply to
How do you manage module deployment?
In order to make a CPAN shell solution plausible in my environment, I use CPAN::Mini to maintain a local mini-CPAN mirror. That mirror weighs in somewhere in the area of 450MB.
Then, as I create new or update existing modules I use CPAN::Mini::Inject to add them into the... | http://www.perlmonks.org/index.pl?node_id=474529 | CC-MAIN-2015-11 | refinedweb | 290 | 68.5 |
Dijkstra’s Algorithm
January 4, 2011
We follow the implementation given in Section 24.3 of the third edition, published in 2009, of Introduction to Algorithms by Thomas Cormen, Charles Leiserson, Ronald Rivest and Clifford Stein. (hereafter referred to as CLRS). In it, vertices are given a number of attributes; we begi... | http://programmingpraxis.com/2011/01/04/dijkstras-algorithm/2/ | CC-MAIN-2015-22 | refinedweb | 719 | 64.61 |
Building Block: Queries and Views
Last modified: April 05, 2010
Applies to: SharePoint Foundation 2010
In this article
Object Model for Queries and Views
XML Used for Queries and Views
Object Model for LINQ to SharePoint Provider
XML Used for SPMetal
Areas Related to Queries and Views Development
More Information about... | http://msdn.microsoft.com/en-us/library/office/ee535714(v=office.14) | CC-MAIN-2014-41 | refinedweb | 916 | 51.68 |
Matrix dot multiplication slowness and BLAS versions
Hello everyone!
Is there a way to increase a performance of matrix multiplication in Sage? Right now I am relying on numpy's dot function like this:
import numpy as np N = 768 P = 1024 A = np.random.random((P, N)) A.T.dot(A)
Timing dot product in Sage now gives me a ... | https://ask.sagemath.org/question/26507/matrix-dot-multiplication-slowness-and-blas-versions/?answer=26511 | CC-MAIN-2019-09 | refinedweb | 181 | 65.12 |
Connecting to Objects
Microsoft® Windows® 2000 Scripting Guide
Before you can do anything with the data in a database, you must first make a connection of some kind to that database. Likewise, before you can do anything with the methods or properties of an Automation object, you must first make a connection to that obj... | https://technet.microsoft.com/library/ee198857.aspx | CC-MAIN-2017-43 | refinedweb | 369 | 60.45 |
when i'm pressing the "start program" button it starts a 5 sec task and block the GUI.
as i understand i need to use Threading so each button will work independently from the GUI.
I'm stuck for almost a month already, can someone show me how can execute def start_Button(self): function using threading?
from tkinter imp... | https://codedump.io/share/cVtJb4agDAWz/1/tkinter-gui-stuck-till-end-of-the-task-when-pressing-a-button | CC-MAIN-2018-05 | refinedweb | 302 | 51.95 |
In this three-part series, we’ve taken an in-depth look at Kotlin, a modern programming language for Android apps that runs in the Java Virtual Machine (JVM).
While Kotlin is far from the only alternative programming language that’s designed to run on the JVM, it does have a lot to offer Android developers. So if you’v... | https://code.tutsplus.com/articles/coding-functional-android-apps-in-kotlin-lambdas-null-safety-more--cms-27964 | CC-MAIN-2019-22 | refinedweb | 2,170 | 50.06 |
Hello there,
A little bit of preliminary infos. I've installed the v2 sdk and followed the tutorial on how to compile the library for python3 (I'm on python3.7.7, configured for 64bit).
For now I'm able to get the coordinates in the reference frame that the sensor uses for the palm position and that's good, this means ... | https://forums.leapmotion.com/t/gesture-recognition-on-python3/8762 | CC-MAIN-2020-45 | refinedweb | 660 | 65.62 |
At last Microsoft has released an early build new AJAX libraries based around version 2 of their .NET Framework.
Skip this next section if you are already familiar with what AJAX is and don't want to read my lame ass description of it.
The most basic intro to AJAX…
Essentially AJAX is Asynchronous JavaScript and XML. A... | http://weblogs.asp.net/rchartier/archive/2005/09/13/425039.aspx | crawl-002 | refinedweb | 1,460 | 72.05 |
Need help on decrypting/not sure how to start.Am I doing this right?
This is the input file and I already created the output file.
[code]#includ...
Need help on decrypting/not sure how to start.Assignment:
Write a C++ program to decrypt a 12 character message located in a file named “encr...
Need help with Programming ... | http://www.cplusplus.com/user/abba901/ | CC-MAIN-2013-48 | refinedweb | 110 | 68.87 |
:
pointer_c: Function-pointer-based style for C. It is the most widely compatible, comparable to GLEW. It has variables to test whether an extension was loaded (and how many of its functions were loaded). Like GLEW, it requires calling an initialization function to set it up. This is best used for C or C++ users who ne... | https://bitbucket.org/alfonse/glloadgen/wiki/Styles?_escaped_fragment_=user-created-styles | CC-MAIN-2016-30 | refinedweb | 331 | 66.33 |
We are back in Beta2 with a bunch of new stuff in Coded UI test for UI automation testers. First up, the code generation in Coded UI test has been changed to structure the code in a much more usable and intuitive way:
1. All the UI elements you interact with, whether part of recording or added from the UI control locat... | https://blogs.msdn.microsoft.com/anutthara/2009/10/25/whats-new-for-testers-doing-ui-automation-in-vs-2010-beta2/ | CC-MAIN-2017-47 | refinedweb | 864 | 56.05 |
#include <switch_arg.hpp>
A simple switch argument. If the switch is set on the command line, then the getValue method will return the opposite of the default value for the switch.
Definition at line 31 of file switch_arg.hpp.
Definition at line 108 of file switch_arg.hpp.
Definition at line 117 of file switch_arg.hpp.... | http://docs.ros.org/kinetic/api/ecl_command_line/html/classecl_1_1SwitchArg.html | CC-MAIN-2020-24 | refinedweb | 148 | 70.6 |
bigfloat man page
math::bigfloat — Arbitrary precision floating-point numbers
Synopsis
package require Tcl 8.5
package require math::bigfloat ?2.0.1?
fromstr number ?trailingZeros?
tostr ?-nosci? number
fromdouble double ?decimals?
todouble number
isInt number
isFloat number
int2float integer ?decimals?
add x y
sub x y... | https://www.mankier.com/n/bigfloat | CC-MAIN-2017-22 | refinedweb | 2,344 | 65.42 |
srec_mos_tech - MOS Technology file format
The MOS Technology | CRLF | +--+--------+---------+------+----------+------+ Length The record length field is a 2 character (1 byte) field that specifies the number of data bytes in the record. Typically this is 24 or less. Address This is a 2‐byte address that specifies wher... | http://huge-man-linux.net/man5/srec_mos_tech.html | CC-MAIN-2017-30 | refinedweb | 461 | 62.68 |
Created on 2010-04-03 10:27 by kristjan.jonsson, last changed 2010-08-06 16:50 by terry.reedy. This issue is now closed.
This patch does several things:
1) Creates a separate lock type PyThread_type_gil and locking functions for that. This allows tweaking of the GIL without affecting regular lock behaviour.
2) Creates ... | http://bugs.python.org/issue8299 | CC-MAIN-2014-15 | refinedweb | 10,146 | 65.93 |
Major Bitcoin Exchange Ceases Operation 208
First time accepted submitter Sabbetus writes "On Monday the CEO of prominent Bitcoin exchange Tradehill announced that they are shutting down. Ars Technica ran a story on this stating that 'After Monday's news, the currency's value fell from $5.50 to $4.40, a decline of 20 p... | https://news.slashdot.org/story/12/02/15/1658248/major-bitcoin-exchange-ceases-operation?sdsrc=nextbtmnext | CC-MAIN-2017-04 | refinedweb | 6,126 | 62.58 |
Content-type: text/html
#include <unistd.h>
int nice(int incr);
The nice() function allows a process to change its priority. The invoking process must be in a scheduling class that supports the nice().
The nice() function adds the value of incr to the nice value of the calling process. A process's nice value is a non-n... | https://backdrift.org/man/SunOS-5.10/man2/nice.2.html | CC-MAIN-2020-34 | refinedweb | 319 | 55.54 |
Re: [openstack-dev] [fuel] Branching strategy vs feature freeze
On Wed, Aug 26, 2015 at 4:23 AM, Igor Marnat imar...@mirantis.com wrote: Thierry, Dmitry, key point is that we in Fuel need to follow as much community adopted process as we can, and not to introduce something Fuel specific. We need not only to avoid forki... | https://www.mail-archive.com/search?l=openstack-dev%40lists.openstack.org&q=from:%22Ruslan+Kamaldinov%22&o=newest&f=1 | CC-MAIN-2019-43 | refinedweb | 13,738 | 55.44 |
you using st2 or st3?
Blocks are good for rudimentary scoped var renaming too
scoped
def find_block_starts(view, block_tokens):
regex = re.compile(block_tokens if block_tokens else BLOCKERS)
return [r for r in view.find_by_selector('keyword,storage') if
view.find(r'\S', view.line(r).begin()).begin() == r.begin() and
r... | https://forum.sublimetext.com/t/fast-way-to-select-current-function-in-python/6822/14 | CC-MAIN-2017-22 | refinedweb | 449 | 65.62 |
Define.
Write an attribute. Calls to attribute() MUST follow a call to startTag() immediately. If there is no prefix defined for the given namespace, a prefix will be defined automatically. If namespace is null or empty string no namespace prefix is printed but just name.
Finish writing. All unclosed start tags will be... | http://developer.android.com/reference/org/xmlpull/v1/XmlSerializer.html | CC-MAIN-2014-52 | refinedweb | 299 | 58.28 |
27 August 2010 15:01 [Source: ICIS news]
WASHINGTON (ICIS)--The Commerce Department on Friday said that US gross domestic production (GDP) in the second quarter was less than first estimated, revising the Q2 economic measure down to a 1.6% annual growth rate from the original 2.4%.
The 1.6% GDP rate for the second quar... | http://www.icis.com/Articles/2010/08/27/9389008/q2-gdp-revised-downward-confirming-shaky-recovery.html | CC-MAIN-2014-41 | refinedweb | 263 | 51.78 |
Re: [docbook-apps] Endnotes in PDF?
That colon is in the template that starts with this: between "label.markup" and "title.markup" Bob Stayton b...@sagehill.net On 12/24/2021 6:25 PM, M. Downing Roberts wrote: Hi Bob, I got your endnotes template working — really helpful! For anybody else who tries this
Re: [docbook-ap... | https://www.mail-archive.com/search?l=docbook-apps%40lists.oasis-open.org&q=from:%22Bob+Stayton%22&o=newest | CC-MAIN-2022-27 | refinedweb | 5,695 | 65.83 |
Hi all,
lately, there were discussions on the cocoon-users list about how to
interconnect HTML forms and XML documents.
Jeremy posted a proposal for a taglib for this task a month ago but
nobody replied.
I think such a taglib would be very useful to a lot of people. Thus, I
have retrieved a digest of Jeremies proposal ... | http://mail-archives.apache.org/mod_mbox/cocoon-dev/200005.mbox/%3C391EBB61.94063139@gmx.net%3E | CC-MAIN-2015-14 | refinedweb | 1,225 | 73.98 |
36695/iot-in-serial-communication
I'll put it a link below, which consists of a tutorial. It talks about how to implement a device firmware update process. It explains how you can start and monitor the firmware update process remotely through a back-end application connected to your hub.
Azure IoT Hub supports three pr... | https://www.edureka.co/community/36695/iot-in-serial-communication | CC-MAIN-2020-16 | refinedweb | 152 | 70.29 |
Hello, I am a Unity newbie. I have a bug model that crawls around randomly on the X/Z plane, using transform.Translate. I also have a terrain which I have set as a Mesh Collider.
What I want is for the bug to crawl around on the terrain, setting his orientation to match the polygons he's crawling on. However, I'm havin... | http://answers.unity3d.com/questions/19842/crawling-around-the-terrain.html?sort=oldest | CC-MAIN-2015-48 | refinedweb | 413 | 51.44 |
If you spend much time around Configuration Manager you become aware that a lot of it runs through WMI. WMI is “Windows Management Instrumentation” and is essentially Microsoft’s implementation of a internet standard called Web Based Enterprise Management (WBEM).
If you are doing task sequences and wanting to provide i... | https://blogs.technet.microsoft.com/michaelgriswold/2011/11/30/wbemtest-your-easiest-gateway-into-wmi/ | CC-MAIN-2018-34 | refinedweb | 651 | 71.85 |
For example take a look at sys/kern/uipc_syscalls.c:accept1(). accept() and oaccept() are wrapper functions which pass differing flags to accept1() to turn on and off the logacy code. Here is a snip of the legacy code in accept1(). if (uap->name) { /* check sa_len before it is destroyed */ if (namelen > sa->sa_len) na... | https://www.dragonflybsd.org/mailarchive/kernel/2003-08/msg00206.html | CC-MAIN-2017-04 | refinedweb | 254 | 53.31 |
Hello, all How does one execute a parametrized query against an SAP HANA Database via the BoRecordSet object? It having no analog of DbConnection.AddParameter() method, with MS SQL Server I implemented my own mechanism for parametrized queries, which internally calls EXEC sp_executesql @query, @par_decl, @par1 = <val1>... | https://answers.sap.com/questions/41276/parametrized-queries-with-borecordset.html | CC-MAIN-2019-22 | refinedweb | 235 | 56.35 |
I'm trying to make a 'TextWindow' that holds messages that the Application sends to it. The problem is that I have no idea on how to do this. I want to do something like, in C#,
TextWindow.NewLine("This will be displayed in the TextWindow");
Would I just create a new script called "TextWindow" and set it up something l... | https://answers.unity.com/questions/533239/custom-console-in-application.html | CC-MAIN-2019-43 | refinedweb | 982 | 59.5 |
.
If anyone is looking for a PDF library like this for .NET that is well supported, I recommend PDFKit.NET.
Thanks for the recommendation — that’s handy to know.
Im getting a NullPointerException when trying to use the .setValue….
SEVERE: java.lang.NullPointerException
at org.apache.pdfbox.pdmodel.interactive.form.PDAp... | https://daedtech.com/programatically-filling-out-pdfs-in-java/ | CC-MAIN-2022-40 | refinedweb | 923 | 59.7 |
So, I wanted one of those horizontal multi-selects with “available” and “chosen” boxes to associate users with groups in the Django auth admin UI. Turns out it all I had to do was import the UserAdmin class from django.contrib.auth.admin and override the filter_horizontal attribute:
from django.contrib.auth.admin impor... | https://fragmentsofcode.wordpress.com/2009/05/26/tweaking-django-auth-admin/ | CC-MAIN-2017-17 | refinedweb | 518 | 55.95 |
5 04 2017
Throw expressions in C# 7.0
C# 7.0 introduces throw expressions. We can add exception throwing to expression-bodied members, null-coalescing expressions and conditional expressions. This blog post introduces throw expressions, demonstrates how to use them and also provides a peek behind a compiled throw expre... | http://gunnarpeipman.com/2017/04/throw-expressions/ | CC-MAIN-2018-05 | refinedweb | 713 | 50.53 |
ImportError: cannot import name 'ki18n' when launching gdebi-kde
Bug Description
On Ubuntu 14.04 when I launch gdebi-kde I get the following stacktrace message:
Traceback (most recent call last):
File "/usr/bin/
from PyKDE4.kdeui import KApplication, KMessageBox, ki18n
ImportError: cannot import name 'ki18n'
I am using... | https://bugs.launchpad.net/ubuntu/+source/gdebi/+bug/1304143 | CC-MAIN-2017-51 | refinedweb | 422 | 67.35 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.