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 |
|---|---|---|---|---|---|
>>> a = [1, 2, 3] >>> b = [a, a] >>> b[0] is b[1] 1 >>> import marshal >>> serialization = marshal.dumps(b) >>> b1 = marshal.loads(serialization) >>> b == b1 1 >>> b1[0] is b1[1] 0 >>> b[0].append(4) >>> b1[0].append(4) >>> b == b1 0 >>> print b [[1, 2, 3, 4], [1, 2, 3, 4]] >>> print b1 [[1, 2, 3, 4], [1, 2, 3]] >>>-- ... | http://www.python.org/workshops/1994-11/persistency.html | crawl-001 | refinedweb | 1,185 | 57.4 |
.
We don’t have a user interface for editing the name of a task yet. We'll get to that in a moment. To start with, we can at least implement an
editTask() function in
App.js. It’ll be similar to
deleteTask() because it'll take an
id to find its target object, but it'll also take a
newName property containing the name t... | https://developer.mozilla.org/pt-BR/docs/Learn/Tools_and_testing/Client-side_JavaScript_frameworks/React_interactivity_filtering_conditional_rendering | CC-MAIN-2020-45 | refinedweb | 2,009 | 55.54 |
This C# Program Calculates Size of File using LINQ. Here the size of the folder is found using LINQ functions.
Here is source code of the C# Program to Calculate Size of File using LINQ. The C# program is successfully compiled and executed with Microsoft Visual Studio. The program output is also shown below.
/*
* C# Pr... | http://www.sanfoundry.com/csharp-program-size-file-linq/ | CC-MAIN-2017-09 | refinedweb | 151 | 63.05 |
i have to create a city application that prompts the user for a series of city names and then displays the number of city names entered and then the name of the city with the most characters in uppercase letters.
how come it always output the last name entered ?
import java.util.Scanner; public class Cities { public st... | https://www.daniweb.com/programming/software-development/threads/398821/string-problem | CC-MAIN-2018-43 | refinedweb | 132 | 61.63 |
In previous posts I've demonstrated binding to an attribute, and binding to a sequence. Now I'd like to show you how to bind to a function. This is a very powerful feature because whenever the value of the function changes, the bound variable is updated. Here's a screenshot of today's example program, in which the user... | http://learnjavafx.typepad.com/weblog/2008/02/binding-to-a-fu.html | CC-MAIN-2016-22 | refinedweb | 1,600 | 56.35 |
Building Highly Available Apps with IBM Container Service, Kubernetes, and Rancher 2.0
5 min read
Building Highly Available Apps with IBM Container Service, Kubernetes, and Rancher 2.0
This is the first in a three-part series on “Building microservice data lakes with IBM Cloud.” In this series we’ll explore how you can... | https://www.ibm.com/cloud/blog/building-apps-ibm-container-service-kubernetes-rancher-2-0 | CC-MAIN-2020-16 | refinedweb | 2,104 | 58.92 |
Introduction: SpyBot: Rpi Robot With Live Camera Feed!! Opencv-tkinter-rpi
I have always wanted to make a robot with live camera feed as they are very cool. For this raspberry pi is the best choice because it's light weight and with python it is one kind of invincible board till now.
Moving on, some other guys made suc... | https://www.instructables.com/SpyBot-Rpi-Robot-With-Live-Camera-Feed-Opencv-tkin/ | CC-MAIN-2022-40 | refinedweb | 1,627 | 59.5 |
MXJ and XCode
Hello,
I’ve been using XCode to compile Java classes for MaxMSP. In order to
compile classes successfully, I found it necessary to place copies of
the Max .jar files in /Library/Java/Extensions.
As long as the files in Extensions are current, there are no problems
with either Max or XCode. Forgetting that... | http://cycling74.com/forums/topic/mxj-and-xcode/ | CC-MAIN-2014-42 | refinedweb | 1,429 | 51.44 |
Path Settings Change in Django 3.1
Affects: Mastering Django 3 (original 2020 version) and Build a Website with Django 3 (2019 version)
From Django 3.1, the Django
setting.py file replaces the
os module from Python with
pathlib.
So:
import os
Is now:
from pathlib import Path
For existing projects, this will not affect ... | https://djangobook.com/errata/ | CC-MAIN-2022-27 | refinedweb | 179 | 78.65 |
ChangeProposals/html:xmlns
The following is a Change Proposal for ISSUE-41, Distributed Extensibility.
Author: Leif Halvard Silli. Rob Ennals’ extensibility proposals were a starting point and inspiration.
Last edition: 9th of August 2010. (Simplified and generalized the proposal somewhat.)
Contents
- 1 Summary
- 2 Rat... | http://www.w3.org/html/wg/wiki/ChangeProposals/html:xmlns | CC-MAIN-2014-52 | refinedweb | 1,468 | 52.49 |
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.
Module "Create Tasks on SO" : Can I change the generated name? [Closed]
The Question has been closedby
I am using the module "Cre... | https://www.odoo.com/forum/help-1/question/module-create-tasks-on-so-can-i-change-the-generated-name-16516 | CC-MAIN-2017-26 | refinedweb | 363 | 63.29 |
The diary of a software developer :: Jakub Chodounský 2019-03-23T21:28:57Z Jakub Chodounský tag:chodounsky.net,2019-03-24:/2019/03/24/progressive-web-application-as-a-share-option-in-android/ Progressive web application as a share option in Android 2019-03-23T21:28:57Z 2019-03-23T21:28:57Z <p><a href="/2016/12/23/prog... | http://feeds.feedburner.com/chodounsky | CC-MAIN-2019-26 | refinedweb | 12,937 | 54.32 |
- NAME
- DESCRIPTION
- USAGE
- Prima::VB::Object
- Prima::VB::Component
- Prima::VB::Types::generic
- AUTHOR
- SEE ALSO
NAME
Prima::VB::Classes - Visual Builder widgets and types
DESCRIPTION
Visual Builder is designed without a prior knowledge of the widget classes that would be contained in its widget palette. Instead... | http://web-stage.metacpan.org/pod/Prima::VB::Types::fallback | CC-MAIN-2020-50 | refinedweb | 1,529 | 56.96 |
Play Google Auth ModulePlay Google Auth Module
This module is a very simple implementation of OpenID Connect authentication for Play 2 applications. It can also be used to get information about the groups of your Google Apps Domain using the Directory API.
VersionsVersions
Supported Play VersionsSupported Play Versions... | https://index.scala-lang.org/guardian/play-googleauth/play-googleauth/0.6.1?target=_2.11 | CC-MAIN-2021-21 | refinedweb | 1,085 | 53.31 |
The C and C++ language allows for the composition of new data types. It is essential that the student learn to compose new data types for describing abstract data structures. This module shows the student how to compose and use these new data types.
A structure allows for the storage, in contiguous areas of memory, of ... | https://docs.aakashlabs.org/apl/cphelp/chap09.html | CC-MAIN-2020-45 | refinedweb | 5,885 | 53 |
Summary: The most Pythonic way to define a function in a single line is to (1) create an anonymous lambda function and (2) assign the function object to a variable name. You can then call the function by name just like any other regularly-defined function. For example, the statement
f = lambda x: x+1 creates a function... | https://blog.finxter.com/define-a-function-in-one-line/ | CC-MAIN-2020-45 | refinedweb | 531 | 60.24 |
Scrapy Tips from the Pros: February 2016 Edition
Welcome to the February Edition of Scrapy Tips from the Pros. Each month we’ll release a few tips and hacks that we’ve developed to help make your Scrapy workflow go more smoothly.
This month we’ll show you how to crawl websites more effectively following sitemaps and we... | https://blog.scrapinghub.com/2016/02/24/scrapy-tips-from-the-pros-february-2016-edition/ | CC-MAIN-2017-43 | refinedweb | 1,188 | 56.66 |
Intro
This tutorial provides a brief introduction to the random number functions that come as part of the C++ standard library, namely rand() and srand().
rand() and RAND_MAX
The C++ standard library includes a pseudo random number generator for generating random numbers. In order to use it we need to include the <cstd... | https://www.daniweb.com/programming/software-development/threads/1769/c-random-numbers | CC-MAIN-2016-18 | refinedweb | 631 | 53.55 |
The XmlListModel element is used to specify a read-only model using XPath expressions. More...
This element was introduced in Qt 4.7.
XmlListModel is used to create a read-only model from XML data. It can be used as a data source for view elements (such as ListView, PathView, GridView) and other elements that interact ... | http://doc.qt.nokia.com/main-snapshot/qml-xmllistmodel.html | crawl-003 | refinedweb | 642 | 62.38 |
Bart De Smet's on-line blog (0x2B | ~0x2B, that's the question)
Lately I've been delivering talks entitled "LINQ to Anything", to be repeated this summer at TechEd Africa. The goal of those talks is to focus on LINQ from the extensibility point of view, in other words: how to write query providers like LINQ to AD or LI... | http://community.bartdesmet.net/blogs/bart/archive/2008/06/06/linq-to-msi-part-0-introduction.aspx | CC-MAIN-2016-44 | refinedweb | 1,778 | 57.4 |
Allows users to select a font for their text strips in the video sequence editor.
This also fixes a minor bug where the load function isn't called on effect strips with blending enabled (this patch depends on that fix)
Duplicate line
tooltip
Text effect copy function
Not a duplicate?
Great to see someone tackling this ... | https://developer.blender.org/D2424 | CC-MAIN-2020-45 | refinedweb | 1,539 | 74.9 |
Anyway, all throughout this series, people have been asking for me to write about how the CLR handles concurrency. This is a bit sticky for me, since I'm not a CLR expert by any stretch of the imagination. So I can't write authoritatively on the subject, which puts me in a rather uncomfortable state. Instead I'll point... | http://blogs.msdn.com/b/larryosterman/archive/2005/03/08/389709.aspx | CC-MAIN-2015-06 | refinedweb | 624 | 50.26 |
I am working on a producer/consumer problem and need a little help on calling my functions in a posix thread. What would be the correct syntax for calling producer?
Nothing seems to be working for me today. I have had to delete all my curly braces from from my code in order for it to let me post. When I left them in it... | http://cboard.cprogramming.com/cplusplus-programming/84190-posix-thread-help.html | CC-MAIN-2014-23 | refinedweb | 251 | 71.75 |
#include <deal.II/multigrid/mg_block_smoother.h>
General smoother class for block vectors. This class gives complete freedom to the choice of a block smoother by being initialized with a matrix and a smoother object. Therefore, the smoother object for each level must be constructed by hand.
Definition at line 49 of fil... | https://dealii.org/developer/doxygen/deal.II/classMGSmootherBlock.html | CC-MAIN-2021-25 | refinedweb | 549 | 52.05 |
79336/how-do-i-set-custom-html-attributes-in-django-forms
I have a Django form that is part of page. Lets say I have a field:
search_input = forms.CharField(_(u'Search word'), required=False)
I can access it only in template via {{ form.search_input }}. How to set custom HTML attrs (such as name and value)? I would lik... | https://www.edureka.co/community/79336/how-do-i-set-custom-html-attributes-in-django-forms?show=79337 | CC-MAIN-2021-31 | refinedweb | 271 | 68.16 |
Fuzzy String Matching, also called Approximate String Matching, is the process of finding strings that approximatively match a given pattern.
The closeness of a match is often measured in terms of edit distance, which is the number of primitive operations necessary to convert the string into an exact match.
Primitive o... | https://marcobonzanini.com/2015/02/25/fuzzy-string-matching-in-python/?like_comment=330&_wpnonce=751195e1ff | CC-MAIN-2021-17 | refinedweb | 1,845 | 66.03 |
Scrapy is a Python library that can be used to crawl web pages and extract the web page elements by XPath or CSS selector in python code. This article will tell you how to create a Scrapy project and how to implement the Scrapy related classes in the project to crawl and extract a job search website job list page. It c... | https://www.dev2qa.com/how-to-create-scrapy-project-to-crawl-web-page-example/ | CC-MAIN-2021-10 | refinedweb | 1,490 | 59.9 |
fgetspent()
Get an entry from the shadow password database
Synopsis:
#include <sys/types.h> #include <shadow.h> struct spwd* fgetspent( FILE* f );
Arguments:
- f
- The stream from which to read the shadow password database.
Library:
libc
Use the -l c option to qcc to link against this library. This library is usually i... | http://developer.blackberry.com/native/reference/core/com.qnx.doc.neutrino.lib_ref/topic/f/fgetspent.html | CC-MAIN-2014-15 | refinedweb | 158 | 57.57 |
- Tutoriels
- Roll-a-ball tutorial
- Displaying the Score and Text
Displaying the Score and Text
Vérifié avec version: 5
-
Difficulté: Débutant
Counting, displaying text and ending the game.
Displaying the Score and Text
Débutant Roll-a-ball tutorial
Transcriptions
- 00:03 - 00:05
Counting, displaying text and ending t... | https://unity3d.com/fr/learn/tutorials/projects/roll-ball-tutorial/displaying-score-and-text?playlist=17141 | CC-MAIN-2019-35 | refinedweb | 2,636 | 79.8 |
Traditional Eid Foods From Around the World
Why not try one of these delicious alternatives for Eid this year?
8 July 2015
import 2
.
North Africa
In this region, tagines are a staple on the table during Eid celebrations. Countries like Algeria, Morocco and Tunisia each makes them differently. The countries have also i... | https://www.expatwoman.com/ewfood/cookery-baking/traditional-eid-foods-around-world | CC-MAIN-2021-49 | refinedweb | 234 | 64.2 |
One option I've seen used is a table something like:
CREATE TABLE strings(id INT, lang TEXT, string TEXT);
INSERT INTO strings VALUES (1, 'en', 'Hello World');
INSERT INTO strings VALUES (1, 'es', 'Hola Mundo');
INSERT INTO strings VALUES (2, 'en', 'Header');
INSERT INTO strings VALUES (2, 'es', 'El encabezamiento');
I... | https://sqlite.org/forum/timeline?u=RandomCoder&c=2021-10-26+17%3A57%3A57&y=a&vfx | CC-MAIN-2021-49 | refinedweb | 3,279 | 72.76 |
JavaMail
Your tutorial is excellent.
Respect!
Joe
javamail
Javamail - JavaMail
JAVAMAIL API - JavaMail
JAVAMAIL API This is my code, but i got unnecessary data like ???]???????????? ??? this how to avoid this other gmail , yahoo or any other mail servers. I got an exception
Java Mail SMTPClient Example
Java Mail SMTPCl... | http://www.roseindia.net/tutorialhelp/allcomments/107050 | CC-MAIN-2013-20 | refinedweb | 172 | 64.3 |
# What Is MISRA and how to Cook It

Perhaps every microcontroller software developer has heard about special coding standards to help improve the code security and portability. One of such standard... | https://habr.com/ru/post/482486/ | null | null | 3,506 | 53.21 |
In this tutorial, we’ll be discussing and implementing the UISwitch Control in our iOS Application.
Table of Contents
UISwitch
UISwitch is like a toggle button which has two states: on and off. The UISwitch control is typically used at places where you need to enable or disable a certain functionality.
var isOn: Bool
f... | https://www.journaldev.com/22826/ios-uiswitch | CC-MAIN-2021-25 | refinedweb | 474 | 51.44 |
After two posts of pure theory about the MVC Pattern Language, I was looking to provide some practical examples. The technical part is easy – everybody already knows how to implement that in various ways, but I couldn’t figure out how to show the whole mental models part of it. In the end, I came up with what follows –... | https://dzone.com/articles/poor-mans-console-mvc | CC-MAIN-2017-17 | refinedweb | 1,288 | 52.7 |
IRC log of rif on 2010-07-13
Timestamps are in UTC.
14:52:43 [RRSAgent]
RRSAgent has joined #rif
14:52:43 [RRSAgent]
logging to
14:52:49 [ChrisW]
zakim, this will be rif
14:52:49 [Zakim]
ok, ChrisW; I see SW_RIF()11:00AM scheduled to start in 8 minutes
14:52:56 [ChrisW]
Chair: Chris Welty
14:53:11 [ChrisW]
Meeting: RIF... | http://www.w3.org/2010/07/13-rif-irc | CC-MAIN-2014-52 | refinedweb | 3,018 | 65.86 |
Is there a lightweight Windows SDK core?
I need to compile the C++ source code of a version of Python DB API for IBM DB2:
I am new to this and according to the readme, I need to first download
- Visual C++ 2003 (isnt it a too old version!?),
- Platform SDK lastest version (i think its changed to Windows SDK and for I h... | http://codegur.com/44608352/is-there-a-lightweight-windows-sdk-core | CC-MAIN-2018-09 | refinedweb | 919 | 59.7 |
Walkthrough: Authoring a User Control with Visual C#
User controls provide a means by which custom graphical interfaces can be created and reused. A user control is essentially a component with a visual representation. As such, it might consist of one or more Windows Forms controls, components, or blocks of code that c... | https://msdn.microsoft.com/en-us/library/a6h7e207(v=vs.71).aspx | CC-MAIN-2015-18 | refinedweb | 822 | 58.99 |
- This is a step-by-step lab that will guide you to building out a web service that runs on Kubernetes.
- The technologies for the web service includes Python and Flask.
- A REDIS caching layer is employed in addition to a MySQL database
Video Presentations of this lab can be found here:
You can see in the diagram belo... | https://blogs.msdn.microsoft.com/allthingscontainer/2017/03/13/lab-guide-step-by-step-building-a-web-service-backed-by-a-redis-cache-and-mysql-database-on-kubernetes/ | CC-MAIN-2017-30 | refinedweb | 4,420 | 61.67 |
This practical demonstration will help you to understand how to implement CRUD (CREATE, READ, UPDATE and DELETE) operations functionality in Python with SQL database. For any application which is associated with a database, we perform some operations for inserting the record [C= Create], reading the records [R=Read], u... | http://www.mukeshkumar.net/articles/python/crud-operations-in-python-with-sql-database | CC-MAIN-2021-21 | refinedweb | 2,104 | 56.35 |
Hi goodness
- Other stuff
Question
I was reading an article that showed how to update the computer description every time a user logs on. A commenter mentioned that people should be careful as the environment could run out of USNs if this was implemented. Is that true?
Answer
Ahh, that’s better. Get out the hex convert... | https://blogs.technet.microsoft.com/askds/2012/04/20/friday-mail-sack-drop-the-dope-hippy-edition/ | CC-MAIN-2016-22 | refinedweb | 472 | 56.35 |
WebKit Bugzilla
HTML5 specifies a getElementsByClassName method on Document and Element. Firefox 3 supports this with a slightly modified API, which Hixie says he plans to update the HTML5 spec to match. Firefox has gotten large (77x over js implementations, 8x over XPath) speed improvements for this functionality from... | https://bugs.webkit.org/show_bug.cgi?id=14955 | CC-MAIN-2015-32 | refinedweb | 1,971 | 63.8 |
Opened 7 years ago
Closed 7 years ago
#11918 closed (invalid)
Admin URLs troubles
Description
Hi now i have:
Django version 1.2 pre-alpha
SNV Trunk Revision: 11585
When i start a new project:
$ django-admin.py startproject foo
by default creates the file urls.py in the folder foo, and this file has the line:
(r'admin/'... | https://code.djangoproject.com/ticket/11918 | CC-MAIN-2016-26 | refinedweb | 969 | 62.78 |
Section 9.3
Exceptions and the try...catch Statement
GETTING A PROGRAM TO WORK UNDER IDEAL circumstances is usually a lot easier than making the program robust. A robust program can survive unusual or "exceptional" circumstances without crashing. One approach to writing robust programs is to anticipate the problems tha... | http://www.faqs.org/docs/javap/c9/s3.html | CC-MAIN-2014-10 | refinedweb | 2,203 | 54.73 |
On Mon, Mar 28, 2011 at 1:29 PM, Laura Creighton <lac at openend.se> wrote: > In a message of Mon, 28 Mar 2011 11:19:45 PDT, kirby urner writes: > >--===============0915739999== > >Content-Type: multipart/alternative; boundary=20cf303b3f9bfa4ea5049f8efcd > > >What I less understand is why g isn't just a *snap shot* of ... | https://mail.python.org/pipermail/edu-sig/2011-March/010251.html | CC-MAIN-2017-17 | refinedweb | 158 | 66.98 |
Hi,
I have created a map on google map engine concerning organic wines. I'd like to share it on open street map. Is it possible?
Thank you in advance for explaining me how I can manage it.
Antoine
asked
17 Apr '14, 00:09
Pepit
1●1●1●1
accept rate:
0%
It really depends on if the objects you have mapped are appropriate f... | https://help.openstreetmap.org/questions/32396/is-it-possible-to-import-a-kml-file-into-osm | CC-MAIN-2019-51 | refinedweb | 523 | 67.28 |
/* Machine-dependent configuration for GNU Emacs for AT&T 3b machines.
Modified by David Robinson (daver@csvax.caltech.edu) 6/6/86-2-2" */
/* */
#define ATT3B
/* */ /* Karl Kleinpaste says this isn't needed. */
/*. */
/* SysV has alloca in the PW library */
#define LIB_STANDARD -lPW -lc
/* #define LD_SWITCH_MACHINE -N... | https://emba.gnu.org/emacs/emacs/-/blame/5df583315f5e5c9f53473e7ad60fb3a334f05cd2/src/m/att3b.h | CC-MAIN-2021-31 | refinedweb | 260 | 65.32 |
Introduction to Programming/About Programming
Contents
- 1 What is a program?
- 2 What is a programming language?
- 3 Why should we create computer programs?
- 4 How does one become a programmer?
- 5 Footnotes
What is a program?[edit]
- Reading assignment: learn about the binary system
A computer is a tool for solving ... | https://en.wikiversity.org/wiki/Introduction_to_Programming/About_Programming | CC-MAIN-2017-47 | refinedweb | 2,313 | 53.51 |
Lead Image © choreograph, 123RF.com
Linking Kubernetes clusters
Growing Pains
In legacy IT, dynamic scaling usually meant that you had to start new virtual machines manually. Then, you had to integrate the application into an existing cluster and possibly reconfigure the load balancers. Kubernetes takes all of this wor... | https://www.admin-magazine.com/Archive/2022/68/Linking-Kubernetes-clusters/(tagID)/6 | CC-MAIN-2022-40 | refinedweb | 1,425 | 51.68 |
Hi everyone, Thanks for all the valuable suggestions.
Advertising
The method I found out to be the most suitable, dependecy free and sane (this is highly personal) was to write bash tests which in turn invokes vim with a given number of flags and which sources a given script which ends with either "qall!" (exit code 0)... | https://www.mail-archive.com/vim_use@googlegroups.com/msg53671.html | CC-MAIN-2018-30 | refinedweb | 178 | 66.23 |
Now that we have Cocos2d-x installed and configured and our project created, we are going to take a look at basic graphics operations. This tutorial assumes you ran through the prior part and created a project already. I am going to assume you have a working AppDelegate, so I will only focus on creating a new scene obj... | https://gamefromscratch.com/cocos2d-x-tutorial-series-basic-sprites-positioning-parenting-and-coordinate-systems/ | CC-MAIN-2021-21 | refinedweb | 1,727 | 62.78 |
.
Find built-in scripts within ScriptRunner in the Administration area. Sort built-in scripts using the filters on the left-hand-side of the feature list.
Administration Functions
Switch User
The Switch User built-in script allows administrator users to temporarily assume the identity of another user. Switch User has a... | https://scriptrunner.adaptavist.com/6.9.0/jira/builtin-scripts.html | CC-MAIN-2020-50 | refinedweb | 4,098 | 64.51 |
NAME
App::FatPacker::Trace - Tracing module usage using compilation checking
SYNOPSIS
# open STDERR for writing # will be like: open my $fh, '>', '&STDERR'... perl -MApp::FatPacker::Trace=>&STDERR myscript.pl # open a file for writing # will be like: open my $fh, '>>', 'fatpacker.trace' perl -MApp::FatPacker::Trace=>>f... | http://web-stage.metacpan.org/pod/release/MSTROUT/App-FatPacker-0.010008/lib/App/FatPacker/Trace.pm | CC-MAIN-2019-35 | refinedweb | 279 | 51.04 |
Posted 17 Mar
Link to this post
Hi,
I am using SQLite.Net to store my records for RadListview in Xamarin PCL. I have to update records once users click on list item to modify it's status as already viewed item. Eventhough I have auto increment and primary key attributes on selected columns, autoincrement doesnot sem to... | http://www.telerik.com/forums/sqlite-net-update-generating-error-it-has-no-pk | CC-MAIN-2017-39 | refinedweb | 185 | 53.71 |
Kaggle competition with zero code
Working with exported models
Getting started with Kaggle competitions can be very complicated without previous experience and in-depth knowledge of at least one of the common deep learning frameworks like TensorFlow or PyTorch. In this tutorial, we’ll explore the opportunity to partici... | https://peltarion.com/knowledge-center/documentation/tutorials/kaggle-competition-with-zero-code | CC-MAIN-2021-31 | refinedweb | 1,222 | 58.08 |
Python.
Note: The Python Bindings for Quartz 2D first
became available in Mac OS X 10.3 Panther. In the examples in this article, we'll
be using a way of creating a generic, calibrated color space that is available
on Tiger and later only. If you're following along on Panther, you'll need to
replace the calls as noted ... | http://developer.apple.com/graphicsimaging/pythonandquartz.html | crawl-002 | refinedweb | 2,151 | 65.12 |
I use a tool called "webiopi" to control a wellness device via a Raspberry pi and a relay board. This tool connect buttons on a webpage with a Python script.
I can read the state (low/high) from the GPIO pins on the buttons i've created.
What i want is to show values from the script in the browser.
(Like ' temperature_... | https://codedump.io/share/bCiaz0tB6PBL/1/python-interaction-with-browser-raspberry-webiopi | CC-MAIN-2017-26 | refinedweb | 330 | 66.13 |
One day Brendan Eich forgot to have his morning shot of espresso and, in a decaffeinated stupor, created the JavaScript programming language. I cannot vouch for the accuracy of this claim but, as this is not a historical exposition, we will assume the truth of it. JavaScript is unique because it is a functional languag... | http://sett.ociweb.com/sett/settJun2012.html | CC-MAIN-2014-42 | refinedweb | 4,487 | 54.93 |
To perform a basic query in LINQ, you can use the following formula:
var SubListName = from ValueHolder in List select ValueHolder;
The var keyword, the assignment operator "=", the from keyword, the in keyword, the select keyword, and the semicolon are required.
The SubListName is a name of a new variable that will ho... | http://www.functionx.com/csharp/keywords/from.htm | CC-MAIN-2016-50 | refinedweb | 202 | 63.59 |
I like what John says. It connotes the nuttiness of
having useless declarations and therefore, attempts
to get the authority of note to lock down the agreement
on the use.
I can put BAFFLEGAB://myrant.com/myrant
in the namespace value, and I can have a
*consistent* expectation that it won't be
dereferenced. I can't gua... | http://www.oxygenxml.com/archives/xml-dev/200207/msg00810.html | crawl-002 | refinedweb | 171 | 67.25 |
Financial Calculation Programs for Linux
The world of finance is rife with mathematical formulas. We are all familiar with the elementary ones like those for compound interest or tallying up the value of a savings account if we add a certain amount each month over a period of time. These kinds of formulas are fairly si... | http://www.linuxjournal.com/article/2545?quicktabs_1=0 | CC-MAIN-2014-52 | refinedweb | 2,502 | 60.85 |
One of the questions I run into a lot is "how do I consume web services from a hybrid mobile app?" Especially since we released the Icenium Extension for Visual Studio, there are a number of developers seeking to access established Web API endpoints from the apps they're building with Icenium. The good news is - it's n... | http://www.telerik.com/blogs/using-asp.net-web-api-services-in-mobile-apps | CC-MAIN-2017-09 | refinedweb | 1,430 | 65.52 |
Some of you might remember. I’ve been trying for a while to control 48 RGB LEDs with an Arduino. I’m still running into troubles, but I’ve learned a lot over the past year of tinkering with this stuff. I am having a problem now with a nice clean setup that I have made. I have put a lot of time into this project, and I ... | https://forum.arduino.cc/t/tlc5940-woes/51414 | CC-MAIN-2022-40 | refinedweb | 1,020 | 82.75 |
From: nbecker_at_[hidden]
Date: 2002-02-22 08:01:44
>>>>> "Gabriel" == Gabriel Dos Reis <Gabriel.Dos-Reis_at_[hidden]> writes:
Gabriel> nbecker_at_[hidden] writes:
Gabriel> | I totally agree that it would be much easier to port legacy code if
Gabriel> | your could say:
Gabriel> |
Gabriel> | real(z) = x;
Gabriel> |
Gabr... | https://lists.boost.org/Archives/boost/2002/02/25646.php | CC-MAIN-2019-22 | refinedweb | 322 | 62.48 |
Vue.js + Brunch: The Webpack Alternative You've Been Hungry For
Vue.js + Brunch: The Webpack Alternative You've Been Hungry For
If you're looking for an alternative build tool to Webpack that allows you to right less code (and some great brunch puns) read on!
Join the DZone community and get the full member experience.... | https://dzone.com/articles/vuejs-brunch-the-webpack-alternative-youve-been-hu | CC-MAIN-2019-22 | refinedweb | 1,980 | 65.62 |
PING sensor question
- Login or register to post comments
- by Timothy Aveni
March 5, 2011
Oh hello there! I'm pretty new with robotics and all of that exciting stuff. I'd been wanting a microcontroller for a few years, and when mbed gave out free mbeds, (yay) I got one and messed around with it a bit.
I got a Parallax... | http://letsmakerobots.com/node/25675 | CC-MAIN-2015-32 | refinedweb | 553 | 68.1 |
Featured Replies in this Discussion
-…
Yes, but I think it will become a lot easier.
Make 1 class, which extends JFrame (or maybe a JPanel you put on the JFrame), and three other classes that extend JPanels. You add those three classes to the first, just like you are doing now.
Now in each of those classes, you can use... | https://www.daniweb.com/software-development/java/threads/398475/java-ui-structure-for-exam | CC-MAIN-2015-35 | refinedweb | 1,004 | 68.7 |
In this article by Salil Kapur and Nisarg Thakkar, authors of the book Mastering OpenCV Android Application Programming, we will look at the broader aspects of object tracking in Videos. Object tracking is one of the most important applications of computer vision. It can be used for many applications, some of which are... | https://www.packtpub.com/books/content/tracking-objects-videos | CC-MAIN-2017-22 | refinedweb | 2,441 | 50.46 |
Automatic Tab Bar for MDI programs
WEBINAR:
On-Demand
Full Text Search: The Key to Better Natural Language Queries for NoSQL in Node.js
Yet another tabbed view thing? Yes and no. This one is different. No changes to the DOC, VIEW or CHILDFRAME classes are neccessary.
We subclasses the MDI-CLIENT window to get the requi... | https://www.codeguru.com/cpp/w-d/doc_view/tabs/article.php/c3315/Automatic-Tab-Bar-for-MDI-programs.htm | CC-MAIN-2018-13 | refinedweb | 1,715 | 59.4 |
As a web developer you may have already worked on a project where you had a single web application that was used by several different clients. The app would use a single code base but then it would need to have several variants, each personalized for a specific client:
Imagine you develop a ticket selling platform and ... | https://blog.theodo.com/2018/02/theme-reactjs-app-using-styled-components-cross-env-webpack/ | CC-MAIN-2020-50 | refinedweb | 767 | 61.56 |
richxerox 1.0.0
copy/paste for Mac OS X for rich text (HTML/RTF) rather than plain text
Rich text cut/copy/paste for Mac OS X.
Usage
from richxerox import * print available() # what kind of data is on the clipboard? print paste() # get data in the default format ('text') print paste(format='text') # get text (Unicode) ... | https://pypi.python.org/pypi/richxerox | CC-MAIN-2017-04 | refinedweb | 952 | 58.89 |
ShowcaseKit
What's a Showcase?
noun: a place for presenting something favourably to general attention
It's a way to embed easily some view controllers in your application in order to showcase what you've done.
You can showcase simple views with dummy data as well as you can showcase complete flows. It's all up to you.
... | https://swiftpack.co/package/heetch/ShowcaseKit | CC-MAIN-2020-05 | refinedweb | 557 | 55.95 |
I wanted to add a simple gallery of images to my personal web site and couldn't find anything suitable that was based around picking them from a folder rather than a database. Perhaps I should have looked harder! Nonetheless, here is my take on implementing a photographic gallery that picks the images from one or more ... | https://www.codeproject.com/Articles/1190606/WebControls/ | CC-MAIN-2018-51 | refinedweb | 1,031 | 67.08 |
li = [0, 1, 2, 3] running = True while running: for elem in li: thiselem = elem nextelem = li[li.index(elem)+1]
When this reaches the last element, an IndexError is raised (as is the case for any list, tuple, dictionary, or string that is iterated). I actually want at that point for nextelem to equal li[0]. My rather c... | http://w3cgeek.com/getting-next-element-while-cycling-through-a-list.html | CC-MAIN-2019-04 | refinedweb | 1,016 | 68.3 |
Configuring multiple USB devices: An alternative to udev
Every time I need to add multiple USB devices to a computer I get nervous and dread the architecture. The problem is that when a computer boots it automatically brings up USB devices in whatever order it sees fit (think crazy race conditions). So if you have a mo... | http://robohub.org/configuring-multiple-usb-devices-an-alternative-to-udev/ | CC-MAIN-2017-47 | refinedweb | 929 | 70.43 |
Python Programming, news on the Voidspace Python Projects and all things techie.
Profiling IronPython
There's a new (short) article on profiling IronPython code :
It shows a couple of example timers for use in profiling for the purposes of optimising IronPython code.
Like this post? Digg it or Del.icio.us it.
Posted by... | http://www.voidspace.org.uk/python/weblog/arch_d7_2006_12_30.shtml | CC-MAIN-2014-10 | refinedweb | 3,804 | 66.13 |
Up to [cvs.NetBSD.org] / src / lib / libc / gen
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.11.56.1 / (download) - annotate - [select for diffs], Tue Oct 30 18:58:45 2012 UTC (3 years ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.11: +4 -9 lines
Diff to p... | http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libc/gen/devname.3 | CC-MAIN-2015-48 | refinedweb | 1,426 | 55.91 |
public class XPathExpressionEngine extends Object implements ExpressionEngine
A specialized implementation of the
ExpressionEngine interface that
is able to evaluate XPATH expressions.
This class makes use of Commons JXPath for handling XPath expressions and mapping them to the nodes of a hierarchical configuration. Th... | https://commons.apache.org/proper/commons-configuration/apidocs/org/apache/commons/configuration2/tree/xpath/XPathExpressionEngine.html | CC-MAIN-2021-49 | refinedweb | 825 | 50.16 |
Service Fabric version 5.7 of the runtime and 2.7 of the SDK is now available, packed with new features, improvements, and bug fixes for containers, SDK, Reverse Proxy, and the core system itself.
Some highlights of this release:
Run Reliable Services and Reliable Actors in Windows Containers (Preview)
Reliable Service... | https://blogs.msdn.microsoft.com/azureservicefabric/2017/08/09/release-of-sdk-2-7-198-and-runtime-5-7-198-for-windows/ | CC-MAIN-2018-51 | refinedweb | 2,235 | 51.95 |
A Dashboard Like No Other: The OpenDS Weather Station
By arnaud on Oct 03, 2009
Rationale
Doing so many benchmarks, profiling and other various performance related activities, I had to find a way to "keep an eye" on things while fetching emails, chatting on IM and the like. Having some experience in past projects with ... | https://blogs.oracle.com/ds/tags/hardware | CC-MAIN-2017-09 | refinedweb | 1,145 | 60.14 |
Ok, thanks for the help everyone. This one is solved now.
Type: Posts; User: TheSlowLearner
Ok, thanks for the help everyone. This one is solved now.
I feel really stupid having to have a primitive type defined, but then what exactly is a double? I thought it was a number with a decimal point rounded to the second deci... | http://www.javaprogrammingforums.com/search.php?s=8dca7b9865675fb149b4cb7f55484e05&searchid=1584188 | CC-MAIN-2015-22 | refinedweb | 265 | 77.64 |
Write a program that initializes a vector with the following array values.
int arr[] = {1, 6, 2, 9, 12, 15, 33, 28};
Compute the average value, and then output each value along with its deviation (+/‐) from
the average.
What i have so far is only the average...
#include <iostream> #include <conio.h> using namespace std... | https://www.daniweb.com/programming/software-development/threads/171611/figure-out-deviation-from-the-average-of-the-given-array | CC-MAIN-2018-13 | refinedweb | 132 | 70.02 |
COMMENT & date example
JSP date example
Till now you learned about the JSP syntax, now I will show you how to
create a simple dynamic JSP page that prints
JSP Simple Examples
JSP Simple Examples
Index 1.
Creating... page.
Html tags in jsp
In this example... points of water
into 100 parts.
comment in jsp
need a jsp exam... | http://roseindia.net/tutorialhelp/comment/92047 | CC-MAIN-2013-48 | refinedweb | 1,624 | 56.66 |
While your app will only use a single router, several routers are available depending on the environment you're app is running in. This document should help you figure out which one to use.
In v6.4, new routers were introduced that support the new data APIs:
createBrowserRouter
createMemoryRouter
createHashRouter
The f... | https://beta.reactrouter.com/en/dev/routers/picking-a-router | CC-MAIN-2022-40 | refinedweb | 330 | 56.05 |
Hi Sergei,
On Thu, May 08, 2008 at 04:41:32PM +0400, Sergei Shtylyov. I moved it to the pb1200 platform.c because
of the function pointers for au1xmmc platdata.
>> static struct platform_device au1x00_pcmcia_device = {
>> diff --git a/arch/mips/au1000/pb1200/platform.c
>> b/arch/mips/au1000/pb1200/platform.c
>> index 5... | http://www.linux-mips.org/archives/linux-mips/2008-05/msg00112.html | CC-MAIN-2015-35 | refinedweb | 397 | 54.69 |
I wanted to build a surveillance camera pointing out of my house windows, using a Raspberry Pi.
I was inspired to build on top of d0fl's implementation.
What I wanted to improve on specifically is the captured image management. d0fl's solution stores each captured image on the SD card itself, and runs a web server to s... | https://www.codeproject.com/Articles/768623/Raspberry-Pi-HD-surveillance-camera-with-motion-an?msg=4818610 | CC-MAIN-2018-43 | refinedweb | 372 | 56.96 |
|Build Status| |Docs Build Status| |slack badge|
NOTICE: This project is no longer under active development. F5 may still use internally for other project(s) but is no longer maintaining it publicly.
This project implements an SDK for the iControl® REST interface for BIG-IP®. Use this library to use python to automate ... | https://openbase.com/python/f5-sdk | CC-MAIN-2021-39 | refinedweb | 985 | 58.69 |
Using Module DATE solution in Clear category for The Most Frequent Weekdays by dan_s
from datetime import date
WEEKDAY = {0: 'Monday',
1: 'Tuesday',
2: 'Wednesday',
3: 'Thursday',
4: 'Friday',
5: 'Saturday',
6: 'Sunday'}
def most_frequent_days(a):
first = date(a, 1, 1).weekday() # day of the week of the first day of th... | https://py.checkio.org/mission/the-most-frequent-weekdays/publications/dan_s/python-3/using-module-date/share/ddad3c1b36219c95e60c2d3e5727847b/ | CC-MAIN-2020-50 | refinedweb | 118 | 60.99 |
Tutorial
How To Set Up a Gatsby Project with TypeScript
The author selected the Diversity in Tech Fund to receive a donation as part of the Write for DOnations program.
Introduction
TypeScript is a superset of JavaScript that adds optional static typing at build time, which cuts down on debugging runtime errors. It has... | https://www.digitalocean.com/community/tutorials/how-to-set-up-a-gatsby-project-with-typescript | CC-MAIN-2021-10 | refinedweb | 3,366 | 56.25 |
WSGetByteString()
int WSGetByteString(WSLINK link,const unsigned char **s,int *n,long spec)
gets a string of characters from the WSTP connection specified by link, storing the codes for the characters in s and the number of characters in n. The code spec is used for any character whose Wolfram Language character code i... | http://reference.wolfram.com/language/ref/c/WSGetByteString.html | CC-MAIN-2018-09 | refinedweb | 252 | 57.06 |
Google indexed and pageranked the Internet. Then Google bought the obscure program "Keyhole 2 Lt" and branded it "GoogleEarth". Next Google hired Plone developer Alexander Limi. And finally they hired Python's creator Guido von Rossum.
Of course other significant things happened too like ESRI making Python an official ... | http://geospatialpython.com/2008/07/ | CC-MAIN-2017-26 | refinedweb | 651 | 62.48 |
We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>: After solving both questions, you have to upload only a single .doc or .docx file. There is no need to send .EXE file for Question 2. Write code in a Word file. Assignment in any... | https://vustudents.ning.com/group/cs609systemprogramming/forum/topics/cs-609-system-programming-assignment-2-upload-due-date-is-25-jan | CC-MAIN-2019-35 | refinedweb | 745 | 62.17 |
Content and Intellectual Property protection is a serious issue for any web site providing paid-for content. The article How to stop 'login abuse', using TrafficScript article describes how Stingray can be used to detect when a username and password is reused from different locations; this article showcases the power o... | https://community.pulsesecure.net/t5/Pulse-Secure-vADC/Watermarking-Images-with-Java-Extensions/ta-p/28782 | CC-MAIN-2022-21 | refinedweb | 1,219 | 57.27 |
import "nsIScriptSecurityManager.idl";
Return true if content from the given principal is allowed to execute scripts.
Check that the function 'funObj' is allowed to run on 'targetObj'.
Will return error code NS_ERROR_DOM_SECURITY_ERR if the function should not run
Check that content from "from" can load "uri".
Will ret... | http://doxygen.db48x.net/mozilla/html/interfacensIScriptSecurityManager.html | CC-MAIN-2016-50 | refinedweb | 541 | 59.8 |
Discussion in 'C, C++, C#' started by sam2009, Aug 16, 2009.
C# Bot Making E Book
Thank you,
Some very valuable stuff.
Virustotal Report is good:
Bot Making Using JAVA
Here you Go
Code:
hxxp://rapidshare.c0m/files/52850271/Programming_Spiders_Bots___Aggregators_in_Java-0782140408.rar
hxxp://rapidshare.c0m/files/5285027... | https://www.blackhatworld.com/seo/c-bot-making-e-book.109444/ | CC-MAIN-2018-30 | refinedweb | 1,076 | 67.59 |
MEAM.Design - M4 - mTouch
mTouch
The mTouch is for the use of Capacitive Touchscreen with M4. Developer is capable of setting up the Capacitive Touchscreen Module and attaining the position of the touch points. Users are able to do the multi-touch with mTouch which supports 5-point multi-touch. Download the files here:... | https://alliance.seas.upenn.edu/~medesign/wiki/index.php/Guides/M4-mTouch | CC-MAIN-2016-22 | refinedweb | 710 | 64.81 |
#include <PCF8574_I2C_LCD.h>PCF8574_I2C_LCD lcd( (PCF8574_address) 0x3F );
I'm curious . . . in the initialization routine why do you call the first four function set instructions 'attempts'?
It is encouraging to see that you actually followed the data sheet flowchart and turned the display off after the function set a... | http://forum.arduino.cc/index.php?PHPSESSID=a5biccqd1fp03i76kdf2o8jes4&topic=422358.0 | CC-MAIN-2018-09 | refinedweb | 391 | 63.9 |
Important: Please read the Qt Code of Conduct -
Issue with threading and opencv
Hello All,
I have written a program in opencv to fetch an image form camera and save in it folder.
There is another program which takes the program form the same folder and do some computation of the image.
I combined both the program and p... | https://forum.qt.io/topic/103817/issue-with-threading-and-opencv | CC-MAIN-2020-34 | refinedweb | 2,269 | 69.72 |
From what I can see, the following three ways are equivalent, when we want to group methods into a namespace such that they can be called as, i.e., NS.foo or NS.bar (or, equivalently, using a Module to get the effect of a singleton class): (1) Explicit self module NS def self.foo; ....; end def self.bar; ....; end end ... | https://www.ruby-forum.com/topic/6879380 | CC-MAIN-2018-13 | refinedweb | 131 | 86.5 |
Two pairs (a, b) and (c, d) are said to be symmetric if c is equal to b and a is equal to d. For example, (10, 20) and (20, 10) are symmetric. Given an array of pairs find all symmetric pairs in it.
It may be assumed that the first elements of all pairs are distinct.
Example:
Input: arr[] = {{11, 20}, {30, 40}, {5, 10}... | https://tutorialspoint.dev/data-structure/hashing-data-structure/given-an-array-of-pairs-find-all-symmetric-pairs-in-it | CC-MAIN-2021-17 | refinedweb | 485 | 69.52 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.