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 |
|---|---|---|---|---|---|
On Mon, Aug 10, 2009 at 01:05:42PM -0700, Tommy Chheng wrote:
> It is a Ruby app using Couchrest(which uses restclient/net ruby lib)
>
> I'm basically comparing one document against all other documents(+30K
> documents in the dataset; so it's huge number of connections if the
> connections aren't being closed properly)... | http://mail-archives.apache.org/mod_mbox/couchdb-user/200908.mbox/%3C20090810201914.GA28582@uk.tiscali.com%3E | CC-MAIN-2016-50 | refinedweb | 315 | 75.2 |
Slim down your view controllers the smart way
Part 2 in a series of tutorials on fixing massive view controllers:
One of the easiest ways to create messy and confused view controllers is to ignore the single responsibility principle – that each part of your program should be responsible for one thing at a time.
A good ... | https://www.hackingwithswift.com/articles/86/how-to-move-data-sources-and-delegates-out-of-your-view-controllers | CC-MAIN-2022-40 | refinedweb | 1,801 | 51.58 |
0.33 2020-04-04 - Fix broken DEBE 0.32 2019-08-31 - Added DOLUDOLU back, just in case - Updated with correct link of DEBE 0.31 2019-08-31 - DEBE is back! - Add CoC. 0.30 2017-12-27 - Remove unnecessary dependency 0.29 2017-12-27 - Replace online test with an offline one 0.28 2017-12-25 - Replace smartmatch with any (br... | https://metacpan.org/changes/distribution/WWW-Eksi | CC-MAIN-2021-17 | refinedweb | 451 | 69.18 |
from libpysal.weights.contiguity import Queen import libpysal from libpysal import examples import matplotlib.pyplot as plt import geopandas as gpd %matplotlib inline
from splot.libpysal import plot_spatial_weights
examples.explain('rio_grande_do_sul')
{'name': 'Rio_Grande_do_Sul', 'description': 'Cities of the Brazili... | https://nbviewer.jupyter.org/github/pysal/splot/blob/master/notebooks/libpysal_non_planar_joins_viz.ipynb | CC-MAIN-2019-13 | refinedweb | 406 | 51.04 |
Struts Dispatch Action Example
function. Here in this example
you will learn more about Struts Dispatch Action that will help you grasping the
concept better.
Let's develop Dispatch_Action... Struts Dispatch Action Example
Dispatch Action - Struts
Dispatch Action While I am working with Structs Dispatch Action . I am... | http://www.roseindia.net/tutorialhelp/comment/13330 | CC-MAIN-2015-22 | refinedweb | 3,043 | 57.98 |
[TODO] - Convert internal representation of http request and response to PSGI. [CHANGELOG] 2012-05-07 1.087 - Marking ASP4 and its entire ecosystem "DEPRECATED" until further notice. 2012-03-01 1.086 - Use of $api->get within a handler is disabled at this time. 2012-02-24 1.085 - Fixed ASP4::UserAgent to take advantage... | https://metacpan.org/changes/release/JOHND/ASP4-1.087 | CC-MAIN-2019-13 | refinedweb | 2,512 | 59.7 |
this addAction["<t color='#ff1111'>Virtual Ammobox</t>", "VAS\open.sqf"];
#include "VAS\menu.hpp"
class CfgFunctions
{
#include "VAS\cfgfunctions.hpp"
};
# DarkXess :
This is Operation Arrowhead right? because you posted in the ArmA 3 section...
# BloodxGusher :
Hey Tonic. Thanks for releasing this. Great tool.
Questio... | http://www.armaholic.com/forums.php?m=posts&q=20990 | CC-MAIN-2019-47 | refinedweb | 197 | 69.38 |
system()
Execute a system command
Synopsis:
#include <stdlib.h> int system( const char *command );
Since:
BlackBerry 10.0.0.
The shell used is always /bin/sh, regardless of the setting of the SHELL environment variable, because applications may rely on features of the standard shell, and may fail as a result of running... | http://developer.blackberry.com/native/reference/core/com.qnx.doc.neutrino.lib_ref/topic/s/system.html | CC-MAIN-2015-32 | refinedweb | 143 | 59.5 |
ESP-8266 gateway with sensor can't communicate with controller
- Senne Vande Sompele last edited by
hi everybody,
I've read a lot of topics but can't seem to find out what i'm doing wrong.
I've a wemos D1 mini with a switch connected to it and i want to send the state of this switch to Home Assistant
The following code... | https://forum.mysensors.org/topic/5662/esp-8266-gateway-with-sensor-can-t-communicate-with-controller | CC-MAIN-2021-39 | refinedweb | 608 | 51.04 |
Hi I would like to write a small program that takes the input of integers and puts them in an array, from where one can do things like calculating their mean, median, standard deviation and so forth. My Problem is that, after extracting the numbers one by one, I am stuck at putting them in an array. One problem is that... | http://cboard.cprogramming.com/cplusplus-programming/136471-putting-number-cin-into-arry.html | CC-MAIN-2015-35 | refinedweb | 233 | 65.69 |
[The HTML version of this Summary is available at] ===================== Summary Announcements ===================== ---- QOTF ---- We have our first ever Quote of the Fortnight (QOTF), thanks to the wave of discussion over `PEP 343`_ and Jack Diederich: I still haven't gotten used to Guido's heart-attack inducing earl... | https://mail.python.org/pipermail/python-list/2005-June/321759.html | CC-MAIN-2019-39 | refinedweb | 1,290 | 58.92 |
I have a very strange problem. With my classes client and password I can include them separately by calling the cpp file, ie. (#include "client.cpp", and #include "password.cpp"). I have tested them separately.
If I call the header I don't get a compile error but it doesn't recognize the class and I can't declare objec... | https://cboard.cprogramming.com/cplusplus-programming/12327-cant-include-classes-very-strange.html | CC-MAIN-2017-26 | refinedweb | 107 | 78.25 |
.jni;19 20 /** Local socket21 *22 * @author Mladen Turk23 * @version $Revision: 467222 $, $Date: 2006-10-24 05:17:11 +0200 (mar., 24 oct. 2006) $24 */25 26 public class Local {27 28 /**29 * Create a socket.30 * @param path The address of the new socket.31 * @param cont The parent pool to use32 * @return The new socket ... | http://kickjava.com/src/org/apache/tomcat/jni/Local.java.htm | CC-MAIN-2017-04 | refinedweb | 335 | 70.02 |
Batch sending/merge and ESP templates¶
If your ESP offers templates and batch-sending/merge capabilities, Anymail can simplify using them in a portable way. Anymail doesn’t translate template syntax between ESPs, but it does normalize using templates and providing merge data for batch sends.
Here’s an example using bot... | http://anymail.readthedocs.io/en/stable/sending/templates/ | CC-MAIN-2018-05 | refinedweb | 1,302 | 56.05 |
Hi, after a long time I was able to find a time to write the blog, because these days I’m very busy with my exam and it will end 29th September. So until that I doubt I’d be able to write much. So sorry for that my all friends who read this.
Related articles..
1) How to create a GUI(Graphical User Interface) using C pr... | https://gihansblog.wordpress.com/2011/09/09/how-to-create-a-guigraphical-user-interface-using-c-programming-language-part-4/ | CC-MAIN-2016-07 | refinedweb | 1,747 | 67.45 |
: KnuthGlue.java 426576 2006-07-28 15:44:37Z jeremias $ */19 20 package org.apache.fop.layoutmgr;21 22 /**23 * An instance of this class represents a piece of content with adjustable 24 * width: for example a space between words of justified text.25 * 26 * A KnuthGlue is a feasible breaking point only if it immediately... | http://kickjava.com/src/org/apache/fop/layoutmgr/KnuthGlue.java.htm | CC-MAIN-2017-04 | refinedweb | 477 | 51.18 |
On Thu, Mar 27, 2014 at 06:22:50PM +0400, Kirill Smelkov wrote: > On Mon, Mar 24, 2014 at 02:47:24PM -0700, Junio C Hamano wrote: > > K. > > Yes, that is all correct - that version works and we can improve it in > the future with platform-specific follow-up patches, if needed.
Advertising
Junio, thanks for merging this... | https://www.mail-archive.com/git@vger.kernel.org/msg47570.html | CC-MAIN-2017-30 | refinedweb | 320 | 52.87 |
Hi, thanks for checking out my first instructable.
After after a year with the mk1 , I realised its time to upgrade. The main things i concentrated on the upgrade was LIGHTING and SIZE. On the mk1, i had a single throw switch which worked fine, but keeping up with modern tech.. i decided to add touch buttons instead.
S... | https://www.instructables.com/id/ARDUINO-fume-extractor-with-touch-sensitive-button/ | CC-MAIN-2019-04 | refinedweb | 1,475 | 79.8 |
I'm trying to log a few values to a text file, but everytime I do it, it gives me this error:
[Error] 'save' was not declared in this scope
Here's the code:
#include "iostream"
#include "fstream"
using namespace std;
double n1, n2;
int main()
{
n1 = 1;
n2 = 2;
save(n1, n2)
}
int save(double a, double b)
{
ofstream log;... | https://codedump.io/share/FUexiJ0sJ7uT/1/error-function-not-declared-in-scope | CC-MAIN-2018-22 | refinedweb | 120 | 69.82 |
Den lör 16 juni 2018 kl 17:47 skrev Stefan Bodewig <bodewig@apache.org>:
> On 2018-06-16, Gintautas Grigelionis wrote:
>
> > if services would become a new mechanism for adding tasks, modules
> > would be of help by providing an API to discover them.
>
> Which may be a bit more tricky than it looks as currently tasks d... | https://mail-archives.eu.apache.org/mod_mbox/ant-dev/201806.mbox/%3CCALVNWHWJ1Mz5_CwRzdFMv3abAQAYO3B1miZqz+Nj8j7Gt5gK0A@mail.gmail.com%3E | CC-MAIN-2021-25 | refinedweb | 199 | 70.73 |
new-run-webkit-tests: suppress extraneous pretty patch warnings
Created attachment 89144 [details]
Patch
Comment on attachment 89144 [details]
Patch
Doesn't python logging already have built in ways to filter based on where the messages came from?
(In reply to comment #2)
> (From update of attachment 89144 [details])
>... | https://bugs.webkit.org/show_bug.cgi?id=58295 | CC-MAIN-2021-49 | refinedweb | 402 | 54.12 |
Odoo Help
Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
how to use res_id in odoo ?
I cant understand that concept. please give me simple clear example from anyone.
let's take an exampl... | https://www.odoo.com/forum/help-1/question/how-to-use-res-id-in-odoo-102004 | CC-MAIN-2017-13 | refinedweb | 142 | 59.8 |
HOWTO take a screenshot
Taking a screenshot of your application or desktop in GNU/Linux can be done in countless ways using a broad variety of specialized graphical screenshots programs, advanced image editors and small terminal tools. Here are some of the many ways you can take a screenshot in a Linux environment.
The... | https://linuxreviews.org/HOWTO_take_a_screenshot | CC-MAIN-2021-49 | refinedweb | 939 | 69.11 |
javascript typeof operator
JavaScript typeof operator tells you what type of data you're dealing with:
var BooleanValue = true;
var NumericalValue = 354;
var StringValue = "This is a String";
alert(typeof BooleanValue) // displays "boolean"
alert(typeof NumericalValue) // displays "number"
alert(typeof StringValue) // ... | http://hubpages.com/technology/javascript-typeof-operator | CC-MAIN-2016-40 | refinedweb | 1,210 | 62.58 |
On Fri, 2010-06-11 at 05:20 +0100, Ben Dooks wrote:>.Well, in this case the goal is to unify things, both within ARM andbetween architectures, so I fail to see Linus complaining about that :-)> What do people think of just changing everyone who is currently using> clk support to using this new implementation?It's risky... | http://lkml.org/lkml/2010/6/11/52 | CC-MAIN-2016-36 | refinedweb | 1,145 | 57.4 |
In current realization of Rack::Builder the method :use dictates that
middlewares must be instances of some class by internal invoking :new
initializer.
Thus Rack’s Builder demands to delegate creation of middleware object
and demands existing special class for middleware. Though in most cases
middleware conforms with ... | https://www.ruby-forum.com/t/rack-must-not-dictate-how-to-create-a-middleware/174453 | CC-MAIN-2021-25 | refinedweb | 346 | 61.93 |
Getting.
The user’s question was
Hi, We have dynamic indexes in elastic search like signal-YYYY.MM.DD => (which resolved as signal-2017.03.31) I was try hard to find the way to specify the dynamic index in nifi processor. I already have a field in my data which i want to use as dynamic index. for example "index_name". ... | http://www.nifi.rocks/executescript-groovy-example/ | CC-MAIN-2017-17 | refinedweb | 601 | 58.69 |
Can two classes exist in a single .java file?
Reply quick, please.
Yes they can...
you can have unlimited classes in one file, but you can only have one public class in one file, and this class needs to have the same name as the Java file.
Public??
But the book I'm learning from has more than one public classes. I have... | https://www.daniweb.com/programming/software-development/threads/407401/is-this-allowed | CC-MAIN-2017-43 | refinedweb | 226 | 92.93 |
im trying to get a list of ipsec tunnels from each template stack i have. but anytime i attempt to use the class pandevice.network.IpsecTunnel i receive an error that pandevice doesnt have an attribute network.... according to the documentation here:
it does have a class pandevice.network.IpsecTunnel do i need to defin... | https://live.paloaltonetworks.com/t5/Automation-API-Discussions/IpsecTunnel-api-refresh/m-p/280821/highlight/true | CC-MAIN-2020-16 | refinedweb | 305 | 51.44 |
This is your resource to discuss support topics with your peers, and learn from each other.
12-02-2010 09:24 AM
The new SDK (0.9.1) does not add any new features, just support of Burrito and some very minor bug fixes.
Only about a month to go (early January) to submit to App World. A lot has to happen between now and t... | https://supportforums.blackberry.com/t5/Adobe-AIR-Development/HelloWorld-Example-with-MX-Spark-components/m-p/662781 | CC-MAIN-2017-04 | refinedweb | 883 | 63.9 |
IoT on AWS: Machine Learning Models and Dashboards from Sensor Data.
By Rubens Zimbres, Data Scientist
Google Colab has open source projects that help Data Scientists everywhere. Inspired in this mindset, I developed my first IoT project using my notebook as an IoT device and AWS IoT as infrastructure.
So, I had a "sim... | https://www.kdnuggets.com/2018/06/zimbres-iot-aws-machine-learning-dashboard.html | CC-MAIN-2018-30 | refinedweb | 1,127 | 52.7 |
Fault Tolerant Shell 234
Paul Howe writes "Roaming around my school's computer science webserver I ran across what struck me as a great (and very prescient) idea: a fault tolerant scripting language. This makes a lot of sense when programming in environments that are almost fundamentally unstable i.e. distributed syste... | https://developers.slashdot.org/story/04/03/15/0051221/fault-tolerant-shell | CC-MAIN-2017-51 | refinedweb | 2,609 | 67.08 |
By...
You can specify the items of your user script metadata in any order. I like @name, @namespace, @description, @include, and finally @exclude, but there is nothing special about this order.
// @name Butler, the default is the filename of the user script, minus the .user.js
extension.
// *).
User scripts are writte... | http://www.oreillynet.com/lpt/a/6117 | crawl-002 | refinedweb | 428 | 55.64 |
Google docs are one of the widely used tools across the industry and the spreadsheets are used to store lot of our data, which we would want to access anytime for data analysis or any other purpose. Check my previous posts where I have talked about analyzing & visualizing the data using google spreadsheets.
Many a time... | https://kanoki.org/2017/07/04/reading-google-sheets-data-using-python/ | CC-MAIN-2017-43 | refinedweb | 563 | 61.8 |
n this example, we are going to implement posting massage to servlet. In the following program, you will learn how to post massage.
Post your Comment
error message - JSP-Servlet
error message hi, friends
after complete my servlet programe i can type on the browser. the servlet program is insert data into dbms. but i ha... | http://www.roseindia.net/discussion/18998-Post-Message-In-servlet.html | CC-MAIN-2013-20 | refinedweb | 635 | 64.2 |
Import used to run some script code works only once --- Python defined behavior
The very first time I run utest.sikuli , the tw.sikuli test is getting executed and I am able to see the result ( report from HTML test runner ). but when I run the utest.sikuli for 2nd time. two.sikuli is not running but in result it is co... | https://answers.launchpad.net/sikuli/+question/660256 | CC-MAIN-2018-47 | refinedweb | 203 | 72.46 |
Overview
Atlassian SourceTree is a free Git and Mercurial client for Windows.
Atlassian SourceTree is a free Git and Mercurial client for Mac.
PROJECT FORTRESS SUBVERSION REPOSITORY -------------------------------------- This README exists in the top-level directory of the Fortress project. Information about Fortress c... | https://bitbucket.org/dtrebbien/project-fortress-sources | CC-MAIN-2017-30 | refinedweb | 3,726 | 55.95 |
Definition
We consider a Markov Chain to be a graph G in which each edge has an associated non-negative integer weight w[e]. For every node (with at least one outgoing edge) the total weight of the outgoing edges must be positive. A random walk in a Markov chain starts at some node s and then performs steps according t... | http://www.algorithmic-solutions.info/leda_manual/markov_chain.html | CC-MAIN-2021-10 | refinedweb | 137 | 73.78 |
In this section of the C++ tutorial, you will learn the following:
- What is polymorphism
- Polymorphism in C++ programming language
- Function Overloading
- Operator Overloading
9.1 C++ Polymorphism
C++ programming language allows you to implement polymorphism by overloading functions and operators.
9.2 C++ Function O... | http://www.wideskills.com/c-plusplus/c-plusplus-polymorphism | CC-MAIN-2018-09 | refinedweb | 833 | 50.57 |
Input events queue with an initial size. More...
#include <deInputEventQueue.h>
Input events queue with an initial size.
The queue does not grow since processing a large amount of events due to a short time problem is more of a problem than discarding some events in such a situation.
Create a new event queue.
Clean up ... | http://dragengine.rptd.ch/docs/dragengine/latest/classdeInputEventQueue.html | CC-MAIN-2017-51 | refinedweb | 116 | 80.58 |
This article is the second part of a "deep dive" series on Hot Module Replacement with webpack.
module.hotAPI
In the first blog post of the HMR series, we discussed the four stages of the Hot Module Replacement process.
Today, we will focus on the last stage. We will learn how to instruct the modules in our application... | https://blog.nativescript.org/deep-dive-into-hot-module-replacement-with-webpack-part-two-handling-updates/index.html | CC-MAIN-2021-21 | refinedweb | 2,433 | 62.75 |
On Thu, 2009-01-01 at 14:25 -0500, Brian Hurt wrote: > First off, let me apologize for this ongoing series of stupid newbie > questions. Haskell just recently went from that theoretically interesting > language I really need to learn some day to a language I actually kinda > understand and can write real code in (thank... | http://www.haskell.org/pipermail/haskell-cafe/2009-January/052713.html | CC-MAIN-2013-48 | refinedweb | 352 | 72.29 |
This topic describes how CDN is used within the Episerver Digital Experience Cloud services, and provides general recommendations for how to configure caching specifically for CDN environments.
In this topic
The purpose of a content delivery network or content distribution network (CDN) is to ensure high availability w... | https://world.episerver.com/digital-experience-cloud-service/development-considerations/cdn-recommendations/ | CC-MAIN-2019-51 | refinedweb | 1,018 | 53.71 |
Brian Noyes gave a presentation to the Cleveland .NET SIG last night on WPF for ASP.NET Developers. I took some notes, which I’ll present a few of here in case they’re helpful to anyone else.
- WPF
- Logical Pixels, not physical pixels, each 1/96 of an inch
- Vector Graphics based
- Containers
- Many controls are conta... | http://ardalis.com/wpf-for-asp-net-developers | CC-MAIN-2016-40 | refinedweb | 379 | 53.61 |
This is an example C program demonstrating the quicksort algorithm.
#include <stdio.h> /* For "strcmp". */ #include <string.h> /* This swaps two elements of "array" indexed by "a" and "b". */ static void swap (const char ** array, int a, int b) { const char * holder; printf ("Swapping entry %d, '%s' to %d, and entry %d... | https://www.lemoda.net/c/qsort-example/index.html | CC-MAIN-2017-47 | refinedweb | 813 | 67.08 |
First time here? Check out the FAQ!
I use the RListDisplay Widget in Ivy 4.1.2 and 4.1.3 to display other components dynamically and it works good so far.
The RListDisplay shows a vertical Scrollbar as soon as there is not enough vertical place to show all the components. It is included into a Rich Dialog and the list ... | https://answers.axonivy.com/questions/387/rlistdisplay-scrollbar | CC-MAIN-2019-13 | refinedweb | 366 | 58.58 |
Hello all. I've recently started doing a java encryption/decryption project using the crypto and security packages. I have very little experience with java although I do have a lot of experience in C and C++ so I am no stranger to OO programming. Anyway, I have this one line of code which is causing me a problem.
Code ... | http://www.javaprogrammingforums.com/%20whats-wrong-my-code/10052-c-c-programmer-doing-java-encryption-project-printingthethread.html | CC-MAIN-2016-07 | refinedweb | 211 | 55.44 |
The Windows Mobile operating system provides a Notifications feature which can be utilised to display prompts to the user in the form of toast or popup balloons (depending upon operating system version) even when your application is running in the background. These are ideal for when your application must inform the us... | http://www.christec.co.nz/blog/archives/104/comment-page-1 | CC-MAIN-2018-47 | refinedweb | 2,656 | 53.71 |
to help convert ASP.Net to .Net Core.
1. Using xproj & csproj files together
There doesn’t seem to be any way for these two project types to reference each other. You move everything to xproj, but then you can no longer use MSBuild. If you are like us, that means your current setup with your build server won’t work. I... | https://stackify.com/15-lessons-learned-while-converting-from-asp-net-to-net-core/ | CC-MAIN-2017-26 | refinedweb | 1,553 | 76.82 |
)).
The following Python code plots the shielded and unshielded Coulomb potential due to a point test charge $q_\mathrm{T} = +e$, assuming an electron temperature and density typical of a tokamak magnetic confinement nuclear fusion device.
import numpy as np from scipy.constants import k as kB, epsilon_0, e from matplo... | https://scipython.com/blog/the-debye-length/ | CC-MAIN-2019-22 | refinedweb | 397 | 52.15 |
In this tutorial, you will learn about a simple C++ Hello World program with step by step explanation.
The Hello world program is the first step for learning any programming language as it covers the basics and is the simplest program. It just prints “Hello World” in the screen.
Here is the example of C++ program to pr... | http://www.trytoprogram.com/cpp-examples/cplusplus-hello-world-program/ | CC-MAIN-2020-29 | refinedweb | 369 | 66.74 |
Opened 17 years ago
Closed 14 years ago
Last modified 4 years ago
#191 enhancement closed invalid (invalid)
twisted.internet refactor to better support non-select reactors
Description
Change History (8)
comment:1 Changed 17 years ago by
comment:2 Changed 17 years ago by
Why are you using the classes in tcp.py? You're r... | https://twistedmatrix.com/trac/ticket/191 | CC-MAIN-2020-24 | refinedweb | 380 | 60.04 |
In the last post we talked about Fragment in Android and how we can use it to support multiple screen. We described their lifecycle and how we can use it. In this post we want to go deeper and create an example that helps us to understand better how we can use fragments.
As example we want to create a simple applicatio... | http://www.survivingwithandroid.com/2013/03/android-fragment-tutorial-webview-example.html | CC-MAIN-2013-48 | refinedweb | 1,542 | 56.15 |
Older browsers (mainly Edge and IE11) as well as Node.js do not provide certain APIs (
TextEncoder,
fetch etc) that loaders.gl depends on.
The good news is that these APIs can be provided by the application using the polyfill technique.
While there are many good polyfill modules for these classes available on
npm, to m... | https://loaders.gl/docs/developer-guide/polyfills/ | CC-MAIN-2019-35 | refinedweb | 273 | 50.02 |
Using XML in Visual Basic 2005: Chapter 12 of Professional VB 2005
This chapter introduces the five XML namespaces in the .NET Framework and demonstrates how to generate and manipulate XML in VB 2005.
Continue Reading This Article
Enjoy this article as well as all of our content, including E-Guides, news, tips and more... | http://searchwindevelopment.techtarget.com/tip/Using-XML-in-Visual-Basic-2005-Chapter-12-of-Professional-VB-2005 | CC-MAIN-2014-52 | refinedweb | 271 | 59.19 |
avro
Avro serialization support for Haskell
See all snapshots
avro appears in
Module documentation for 0.5.2.0
avro-0.5.2.0@sha256:89ce8f363815bc110c4ff8c4d2cc85910183d6377b9e73092b2b9ba4927c3790,13106
- Data
- Data.Avro
- Data.Avro.Codec
- Data.Avro.Deriving
- Data.Avro.EitherN
- Data.Avro.Encoding
- Data.Avro.HasAvro... | https://www.stackage.org/nightly-2020-09-16/package/avro-0.5.2.0 | CC-MAIN-2020-40 | refinedweb | 838 | 54.02 |
Update: :)
################################
package CGI::Safe;
################################
$VERSION = 1.0;
use strict;
use Carp;
use CGI;
use Exporter;
use vars qw/ @ISA @EXPORT_OK/;
@ISA = qw/ CGI Exporter /;
@EXPORT_OK = qw/ get_upload /;
INIT {
# Establish some defaults
delete @ENV{ qw/ IFS CDPATH ENV BASH_ENV ... | http://www.perlmonks.org/index.pl?node_id=104626 | CC-MAIN-2017-04 | refinedweb | 1,680 | 69.41 |
Created on 2010-02-16 20:48 by dabeaz, last changed 2014-09-03 06:45 by scoder.
Background
-----------.
Would the idea of priority-GIL requests that Antoine had in his original patch solve this issue?
Just a quick test under Linux (on a dual quad core machine):
- with iotest.py and echo_client.py both running Python 2.... | https://bugs.python.org/issue7946 | CC-MAIN-2017-47 | refinedweb | 4,859 | 67.55 |
Sysinternals SuiteThe entire set of Sysinternals Utilities rolled up into a single download.
AccessChkv5.11 (May 16,.01 (November 20, 2007)An LDAP (Light-weight Directory Access Protocol) real-time monitoring tool aimed at troubleshooting Active Directory client applications.
AdRestorev1.1 (November 1, 2006)Undelete Se... | http://technet.microsoft.com/en-au/sysinternals/bb545027 | CC-MAIN-2014-15 | refinedweb | 331 | 51.34 |
PyX is a Python package for the creation of PostScript and PDF files. It seems like a more modern alternative to MetaPost so I was keen to try it out. I found that the experimental pyx-0.8.1 package in Sage 2.10 did not work (errors about a DVI file not finishing) so I created a Sage source package of the latest versio... | https://carlo-hamalainen.net/2008/02/17/pyx-0-10-experimental-package/ | CC-MAIN-2017-51 | refinedweb | 224 | 67.96 |
The Magic Laravel Helper tap()
mohamed benhida
Mar 1
Hello,
In this post we will talk about how
tap() helper works and where can we used in our projects.
First of all, let's talk about what
tap() exactly do behind the scenes.
<?php function tap($value, $callback = null) { if (is_null($callback)) { return new HigherOrde... | https://dev.to/simo_benhida/the-magic-laravel-helper-tap--1jc7 | CC-MAIN-2018-39 | refinedweb | 468 | 60.45 |
Oh,,, I see the error.. I had been stripping namespaces off of params and variables and was also stripping the prefix xsl: and didn't notice until now.. Regards Regards Alex Tilogeo.com On Tue, Feb 10, 2015 at 11:25 AM, Alex Muir alex@xxxxxxxxxxx < xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote: > Greetings, > > I have... | https://www.oxygenxml.com/archives/xsl-list/201502/msg00034.html | CC-MAIN-2018-13 | refinedweb | 194 | 63.39 |
Introduction
An infrared-receiver is a component that receives infrared signals and can independently receive infrared ray and output signals compatible with TTL level. It’s similar with a normal plastic-packaged transistor in size and it is suitable for all kinds of infrared remote control and infrared transmission.
C... | https://learn.sunfounder.com/lesson-16-infrared-receiver/ | CC-MAIN-2021-39 | refinedweb | 419 | 55.24 |
style that bird a duck
In languages with dynamic typing this feature allows creating function that are not checking type of passed object but instead rely on existence of particular methods/properties within it and throws runtime exception when those properties not found. For instance, in groovy we could have method fo... | http://www.javacodegeeks.com/2012/09/duck-typing-in-java-well-not-exactly.html | CC-MAIN-2014-15 | refinedweb | 772 | 52.39 |
The most important changes in matplotlib 2.0 are the changes to the default style.
While it is impossible to select the best default for all cases, these are designed to work well in the most common cases.
A 'classic' style sheet is provided so reverting to the 1.x default values is a single line of python
import matpl... | https://matplotlib.org/2.2.3/users/dflt_style_changes.html | CC-MAIN-2022-05 | refinedweb | 3,008 | 52.46 |
This directory contains some STL-like containers.
Things should be moved here that are generally applicable across the code base. Don‘t add things here just because you need them in one place and think others may someday want something similar. You can put specialized containers in your component’s directory and we can... | https://chromium.googlesource.com/chromium/src/+/master/base/containers/README.md | CC-MAIN-2018-39 | refinedweb | 2,125 | 57.57 |
Startup time of arduino pro mini with mysensors 2.2 - took 10 sec (guess its the radio), can I execute some code immediately (<1sec)?
Hi,
just encounter an issue I need help on. I'm new to mysensors . Try to upgrade some of my LEDs with DimmableLED Sensors. I'm using the current development branch for 2.2 as I had issu... | https://forum.mysensors.org/topic/7460/startup-time-of-arduino-pro-mini-with-mysensors-2-2-took-10-sec-guess-its-the-radio-can-i-execute-some-code-immediately-1sec/7 | CC-MAIN-2019-22 | refinedweb | 1,427 | 66.84 |
Prev
Java JVM Code Index
Headers
Your browser does not support iframes.
Re: String comparison using equals() and ==
From:
Patricia Shanahan <pats@acm.org>
Newsgroups:
comp.lang.java.programmer
Date:
Sat, 22 Aug 2009 07:12:19 -0700
Message-ID:
<M5ednS6UNOZKYRLXnZ2dnUVZ_h-dnZ2d@earthlink.com>
Christian wrote:
Daniel Pitt... | http://preciseinfo.org/Convert/Articles_Java/JVM_Code/Java-JVM-Code-090822171219.html | CC-MAIN-2021-49 | refinedweb | 279 | 61.73 |
Compute weights in the manner described in the IMCF algorithm. More...
#include <vcl_memory.h>
#include "rgrl_weighter.h"
Go to the source code of this file.
Compute weights in the manner described in the IMCF algorithm.
20 Sept 2003, CS: Added the possibility that the intensity and signature weights are pre-computed. ... | http://public.kitware.com/vxl/doc/release/contrib/rpl/rgrl/html/rgrl__weighter__m__est_8h.html | crawl-003 | refinedweb | 138 | 59.09 |
_GUIBox - Rubberband selection boxes using GUIs
Started by
Ascend4nt,
4 posts in this topic
You need to be a member in order to leave a comment
Sign up for a new account in our community. It's easy!
Register a new account
Already have an account? Sign in here.
Similar Content
- By Katie_Deely
Hey.
- By Joep86
Hi,
I jus... | https://www.autoitscript.com/forum/topic/112092-_guibox-rubberband-selection-boxes-using-guis/ | CC-MAIN-2017-34 | refinedweb | 369 | 58.21 |
sizeof & ternary operators in C
Advertisements
Besides the operators discussed above, there are few a other important operators including sizeof and ? : supported by the C Language.
Example
Try following example to understand all the miscellaneous operators available in C −
#include <stdio.h> main() { int a = 4; short ... | http://www.tutorialspoint.com/cprogramming/c_sizeof_operator.htm | CC-MAIN-2016-50 | refinedweb | 203 | 56.29 |
Last week Apple presented a bunch of new fantastic software pieces and technologies for iOS/OS X developers. New OS X, new iOS, new Xcode and even a new language! These innovations looks really impressive and promising, and we know you undoubtedly want to try them. So we did our best to deliver the new Xcode 6 support ... | https://blog.jetbrains.com/objc/2014/06/appcode-3-0-1-update-xcode-6-and-basic-swift-support/ | CC-MAIN-2019-43 | refinedweb | 1,094 | 74.79 |
This section illustrates you the concept of file exception.
Exceptions are the errors that occurs at runtime. It is either generated by the Java Virtual Machine (JVM) in response to an unexpected condition or it is generated by a code.
In the given example, we have specified a file in order to read it but the system co... | http://www.roseindia.net/tutorial/java/core/files/fileException.html | CC-MAIN-2014-49 | refinedweb | 133 | 58.28 |
Notes: Thursday 12 September 2002
- 12 September: Read Ch 5.3-5.10
- 19 September: Problem Set 3
- Upcoming lab hours: (Small Hall): Thursday, 5-7pm (Sol); 7-9pm (Tiffany); Sunday 4-6pm (Mike); Monday 6-8pm (Serge); Wednesday (18 Sept), 5-7pm (Sol); Wednesday (18 Sept), 8-9pm (Tiffany).
Notes and Questions
What are the... | http://www.cs.virginia.edu/cs201j-fall2002/lectures/0912.html | CC-MAIN-2017-47 | refinedweb | 413 | 57.2 |
Stephen Rothwell writes:> Hi Richard,> > Richard Stallman <rms@gnu.org> writes:> >.> > Just to try something, could you please take the program below and change> the 172 to be about 15-20 less that then number of MB of physical RAM> you have, then compile and run it and then try to suspend to disk> and see how long it ... | https://lkml.org/lkml/2000/8/30/103 | CC-MAIN-2020-10 | refinedweb | 401 | 61.16 |
Well, I see my last post attracted some interesting comments and I'd like to follow up with just another Python thought. While some still like to relegate Python, Perl, Ruby to the niche of 'scripting languages' we should be clear that there are some very complex applications out there written, and maintained, in these... | https://www.ibm.com/developerworks/community/blogs/johnston/date/200608?sortby=0&maxresults=50&lang=en | CC-MAIN-2014-23 | refinedweb | 613 | 64.41 |
How to drive a 7 segment display directly on Raspberry Pi in Python
…
In the next article, we use this 7 segments kit to make a countdown ticker.
Hi Alex – I have ordered the kit and look forward to tinkering with it. In the meanwhile, is it possible to get a detailed explanation of what the code does? In particular, t... | https://raspi.tv/2015/how-to-drive-a-7-segment-display-directly-on-raspberry-pi-in-python?replytocom=60580 | CC-MAIN-2021-25 | refinedweb | 6,384 | 80.01 |
Convert List to Map in Java
In this tutorial, we will learn the logic for converting a List into a Map in Java. We will also implement a Java program that will demonstrate the conversion.
Conversion of List representing the Job-Salaries of employees into a Map of key-value pair
What is a List?
List represents the order... | https://www.codespeedy.com/convert-list-to-map-in-java/ | CC-MAIN-2020-45 | refinedweb | 520 | 58.48 |
On Fri, 23 Sep 2011, Serge E. Hallyn wrote:> (re-sending to Cc: Greg and linux-usb)> > Add to the dev_state and alloc_async structures the user namespace> corresponding to the uid and euid. Pass these to kill_pid_info_as_uid(),> which can then implement a proper, user-namespace-aware uid check.> > Changelog:> Sep 20: P... | http://lkml.org/lkml/2011/9/23/188 | CC-MAIN-2015-06 | refinedweb | 343 | 54.12 |
Wouter's), but I like this one mainly because its integrated in VS. (Where I spend much of my time these days).
Andrew Whitechapel and the VSTO folks got a shipping vehicle for Tom's OpenXML Package Editor. Along with a number of other VSTO and VSTA Powertools, the VS-integrated Package editor is available here.
Here'... | http://blogs.msdn.com/kevinboske/Default.aspx | crawl-002 | refinedweb | 1,161 | 71.24 |
,
Let me ask something.
Rule: Don’t use a variable that has a side effect applied to it more than once in a given statement.
It’s clear. Let’s talk a bit about those two examples of "risky" codes.
is a "risky", meanwhile using
instead may be a good solution?
As well as
is less trustable as
Am I right?
In the latter cas... | http://www.learncpp.com/cpp-tutorial/33-incrementdecrement-operators-and-side-effects/comment-page-1/ | CC-MAIN-2018-05 | refinedweb | 5,110 | 63.9 |
> So which of xor-popcount and add-up-up-trailing-zero-counts is faster may well depend on platform.
I ran some timings for comb(k, 67) on my macOS / Intel MacBook Pro, using timeit to time calls to a function that looked like this:
def f(comb):
for k in range(68):
for _ in range(256):
comb(k, 67)
comb(k, 67)
... # 64 ... | https://bugs.python.org/msg409360 | CC-MAIN-2022-05 | refinedweb | 216 | 51.18 |
Emilio G. Cota <address@hidden> writes: > On Tue, Dec 04, 2018 at 13:52:16 +0000, Alex Bennée wrote: >> > We could always >> > >> > #ifdef __FAST_MATH__ >> > #error "Silliness like this will get you nowhere" >> > #endif >> >> Emilio, are you happy to add that guard with a suitable pithy comment? > > Isn't it better to ... | https://lists.gnu.org/archive/html/qemu-devel/2018-12/msg00630.html | CC-MAIN-2019-35 | refinedweb | 144 | 50.16 |
From: o.r.c@p.e.l.l.p.o.r.t.l.a.n.d.o.r.u.s (david parsons) Date: 17 Jun 1999 17:41:19 -0700 The namespace for /dev was dictated a long time ago, and you vary from that namespace at your own risk. I think herein lies some of the confusion about devfs vs. procfs, et.al.The files in /dev fall into two categories. Some we... | https://lkml.org/lkml/1999/6/18/233 | CC-MAIN-2015-35 | refinedweb | 340 | 62.27 |
Created on 2012-01-19 12:25 by David.Layton, last changed 2014-04-01 07:36 by paul.j3.
argparse.FileType.__call__ opens the specified file and returns it. This is well documented as an anit-idiom."
Disregarding the above, handling a file which may or may not have been opened depending the users input requires a bit of ... | https://bugs.python.org/issue13824 | CC-MAIN-2018-51 | refinedweb | 1,409 | 66.44 |
Network assignment HELP NEEDED
jambeard lewistrix
Greenhorn
Joined: Aug 16, 2005
Posts: 14
posted
Aug 16, 2005 03:22:00
0
Hi, I have an assignment due in a couple of weeks and really need some help with it. I have started it allready and all the code I have written is bellow. I'm very new to
java
and without the help ... | http://www.coderanch.com/t/377591/java/java/Network-assignment-NEEDED | CC-MAIN-2014-10 | refinedweb | 1,620 | 50.33 |
Type.GetTypeFromProgID Method (String)
.NET Framework (current version)
Namespace: System
Gets the type associated with the specified program identifier (ProgID), returning null if an error is encountered while loading the Type.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- progID
- Type: System.String
The ProgID o... | https://msdn.microsoft.com/en-us/library/hss5hw09.aspx?cs-save-lang=1&cs-lang=vb | CC-MAIN-2017-47 | refinedweb | 136 | 54.18 |
Opened 7 years ago
Closed 7 years ago
Last modified 7 years ago
#14508 closed (fixed)
Test suite silences warnings
Description
The documentation encourages use of
python -Wall manage.py test to find
PendingDeprecationWarning. However, Django's test suite in many places silences warnings (e.g.
DeprecationWarning), and t... | https://code.djangoproject.com/ticket/14508 | CC-MAIN-2017-47 | refinedweb | 656 | 65.42 |
Common client-side web technologies
"Websites should look good from the inside and out."
- Paul Cookson
ASP.NET Core applications are web applications and they typically rely on client-side web technologies like HTML, CSS, and JavaScript. By separating the content of the page (the HTML) from its layout and styling (the... | https://docs.microsoft.com/en-us/dotnet/architecture/modern-web-apps-azure/common-client-side-web-technologies?cid=kerryherger | CC-MAIN-2020-10 | refinedweb | 2,293 | 52.6 |
Odoo Help
This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.
Generate Custom Xml file on button click ???
How can we generate custom xml file as same as how we generate pdf report on button click in o... | https://www.odoo.com/forum/help-1/question/generate-custom-xml-file-on-button-click-31667 | CC-MAIN-2016-50 | refinedweb | 300 | 55.61 |
In this section, you learn how to use dialog fragments to present a simple alert dialog and a custom dialog that is used to collect prompt text.
Before we show you working examples of a prompt dialog and an alert dialog, we would like to cover the high-level idea of dialog fragments. Dialog-related functionality uses a... | https://www.oreilly.com/library/view/pro-android-4/9781430239307/s0177-0177.html | CC-MAIN-2019-47 | refinedweb | 120 | 56.45 |
Tue, 2003-01-21 at 03:09, Jak wrote:
> Tony,
> thanks for your patches, they have fixed most of the problems I had.
> >
> > Try running stty to fix your display.
> >
> I can't convince stty to do anything useful for me :
> do I need a specific/patched version ?
No.
> do I need to specify anything except rows cols valu... | https://sourceforge.net/p/linux-fbdev/mailman/linux-fbdev-devel/?viewmonth=200301&viewday=20 | CC-MAIN-2017-04 | refinedweb | 1,546 | 68.26 |
I too have wanted support for writing function declarations in tables more compactly. However, there's probably an interesting question as to whether it should auto translate into the form that takes self as a first argument. One alterative would be: Box = { function notAMethod() print "I'm just a function in the Box n... | https://lua-users.org/lists/lua-l/2008-01/msg00522.html | CC-MAIN-2021-49 | refinedweb | 141 | 63.59 |
A and how to work around the bug in Hibernate Annotations.
On the AMIS SOA training program we got a nice assignment. The instructors gave us a WSDL, a database and some instructions. We had to create something with the SOA Suite based on the WSDL and the instructors would connect to our service to test whether we succ... | https://technology.amis.nl/2008/05/18/mapping-composite-primary-keys-in-jpa-how-to-work-around-a-bug-in-hibernate-annotations/ | CC-MAIN-2016-22 | refinedweb | 1,110 | 50.23 |
I'm hoping this is a solved problem and I'm just not familiar with what's out there.I'm hoping this is a solved problem and I'm just not familiar with what's out there.
// Public API released to clients public interface DataObject {} // Internal API public interface DataObjectInternal extends DataObject {} // Implement... | https://community.oracle.com/message/9209625 | CC-MAIN-2014-15 | refinedweb | 579 | 71.75 |
I have written a program that will allow a user to input the number of stock prices that they want to enter and then their closing prices. From here the program will give the average price, high and low prices. I can get the program to work with the variables declared as int, but I cannot work with decimals, which I ne... | http://www.dreamincode.net/forums/topic/66389-need-to-use-decimals-in-program-float-or-double/ | CC-MAIN-2016-40 | refinedweb | 303 | 59.87 |
I know everyone is tired seeing those how-to's on brute forcing instagram and other social media's. Sorry to break this to you but most of them are poorly engineered or do not work at all and claim's false results.
I am writing this post because I really wanted to shout out to everyone ( Atleast for those who really wa... | https://null-byte.wonderhowto.com/forum/only-authentic-way-hack-instagram-0182776/ | CC-MAIN-2021-04 | refinedweb | 2,994 | 73.07 |
"Hi everybody! Hi dr. Nick!"
I'm really not a fan of JFileChooser - It's as anti-mac-looking as possible. So I messed around with FileDialog. I gave up on that because it's ancient compared to Swing and seems to have been abandoned by the Coffee Gods. I shoveled my way even deeper down by trying to figure out how to us... | http://www.javaprogrammingforums.com/%20java-theory-questions/30500-decode-sample-code-printingthethread.html | CC-MAIN-2014-52 | refinedweb | 323 | 58.79 |
matherr - Man Page
SVID math library exception handling
Synopsis
#include <math.h> int matherr(struct exception *exc); extern _LIB_VERSION_TYPE _LIB_VERSION;
Link with -lm.
Description
Note: the mechanism described in this page is no longer supported by glibc. Before glibc 2.27, it had been marked as obsolete. Since gl... | https://www.mankier.com/3/matherr | CC-MAIN-2022-33 | refinedweb | 1,072 | 58.48 |
On Wed, Jul 11, 2007 at 11:14:20AM +0100, Tony Finch wrote: > registers or on the stack) and a case analysis branch, but a normal > function return (predictable by the CPU) is replaced by a less-predictable > indirect jump. Does anyone have references to a paper that discusses an GHC does not use calls and returns. To ... | http://www.haskell.org/pipermail/haskell-cafe/2007-July/028435.html | CC-MAIN-2014-42 | refinedweb | 397 | 50.97 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.