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 |
|---|---|---|---|---|---|
Download: AccelStepper.zip (version 1.30)
A stepper motor controlled by a dedicated driver board.
A bipolar stepper motor controlled by an H-Bridge circuit.
A unipolar stepper motor, controlled by 4 transistors.
Sets the maximum speed. The default is very slow, so this must be configured.
When controlled by setting pos... | https://www.pjrc.com/teensy/td_libs_AccelStepper.html | CC-MAIN-2016-30 | refinedweb | 314 | 51.75 |
Simple Pi Robot aims to put robot control in simple form.
Simple Pi Robot aims to put robot control in simple form.
The part list
(1) Raspberry pi (Any model) but with the recent launch of pizero or pi 2 shall be a good option, my current model employs B+.
(2) 40 pin GPIO cable (if using pi B+ or pi 2).
(3) Breadboard ... | https://projects-raspberry.com/simple-pi-robot/ | CC-MAIN-2021-25 | refinedweb | 1,451 | 61.46 |
Jonathan EMar 24 Pre-Release Testers, Xojo Pro Las Vegas, NV
I have been having a problem with XQL returning nothing when that should not be the case. I thought that it might be related to the fact that the nodes it should return have a custom XML namespace (xmlns="...") defined.
I missed the documentation's instructio... | https://forum.xojo.com/59108-xql-and-namespaces/0 | CC-MAIN-2020-16 | refinedweb | 209 | 67.89 |
I'm using Jekyll for my blog, and I'd like the ability to use unique CSS styling in particular posts. Right now, I'm specifying a CSS file in the YAML frontmatter like so:
style: artdirection.css
{% if page.style %}
<link rel="stylesheet" href="{{ page.style }}">
{% endif %}`
I'm pretty sure this would work:
--- title:... | https://codedump.io/share/QdZfjIdXAbTl/1/can-you-use-jekyll-page-variables-in-a-layout | CC-MAIN-2016-50 | refinedweb | 106 | 83.36 |
I use Blender 2.64a and I need set mouse position and I don't know it.
Can you help me, please?
(Sorry for my English. I'm Slovak)
How to set mouse position?
Scripting in Blender with Python, and working on the API
Moderators: jesterKing, stiv
3 posts • Page 1 of 1
- Posts: 4
- Joined: Mon Nov 05, 2012 4:23 pm
Re: How ... | https://www.blender.org/forum/viewtopic.php?t=25529&view=next | CC-MAIN-2016-30 | refinedweb | 177 | 72.16 |
Understanding Java RMI Internals
Source code of CalcClient.java:
import java.rmi.Naming; public class CalcClient { public static void main(String[] args)throws Exception { Calc c=(Calc)Naming.lookup("rmi://remotehost:1099/calc"); System.out.println(c.add(3,4)); } }
Note: You have to replace remotehost with the host nam... | https://www.developer.com/java/other/article.php/10936_3455311_2/Understanding-Java-RMI-Internals.htm | CC-MAIN-2018-09 | refinedweb | 713 | 61.22 |
Part Two: Practical Use Cases of the Tutum Stream API two of a two-part tutorial will show you how to use the Tutum Stream API. This part will show how to use the Tutum Stream API for some interesting use cases, such as integrations with Slack, Pagerduty, and others. It shows how you can retrieve additional information... | https://blog.tutum.co/2015/05/12/using-the-new-tutum-stream-api-part-2-pagerduty-and-slack-notifications/ | CC-MAIN-2017-13 | refinedweb | 1,835 | 56.05 |
Wait, it looks like we've just drawn a moving picture
I don't know if you found it. It seems like we've just drawn a moving picture, just a picture!!!That's all the code. If there are 100 10000 + pieces?So we're so tall?
Don't worry, pygame offers us a solution--the elves and the elves
Spirit?Elf group?Blue elves?Pikac... | https://programmer.group/python-project-game-3-wizard-blue-elves.html | CC-MAIN-2020-24 | refinedweb | 993 | 65.12 |
guides-good_tests
This document is an introduction to writing good autopilot tests. This should be treated as additional material on top of all the things you’d normally do to write good code. Put another way: test code follows all the same rules as production code - it must follow the coding standards, and be of a pro... | https://docs.ubuntu.com/phone/en/apps/api-autopilot-development/guides-good_tests.html | CC-MAIN-2018-47 | refinedweb | 2,497 | 62.68 |
cannot?
Azure automatically applies security patches to the Linux nodes in your cluster on a nightly schedule. However, you are responsible for ensuring that those Linux nodes are rebooted as required. You have several options for rebooting nodes:
- Kured, an open-source reboot daemon for Kubernetes. Kured runs as a D... | https://docs.microsoft.com/sl-si/azure/aks/faq | CC-MAIN-2020-34 | refinedweb | 725 | 57.16 |
. There has to be a better way!
Browsing the itertools recipes for inspiration, I found the
pairwise function:
def pairwise(iterable): "s -> (s0,s1), (s1,s2), (s2, s3), ..." a, b = tee(iterable) next(b, None) return zip(a, b)
Perfect! Now I just have to adjust it to work with n iterators where the first iterator is at ... | https://dmuhs.blog/2018/09/14/n-wise-iteration-in-python/ | CC-MAIN-2022-21 | refinedweb | 204 | 66.67 |
G.
😲Gatsby now integrates multiple data sources, splits code, supports offline, lots new plugins... amazing!! #reactjs #staticsitegenerator— Christian Mund (@krist) July 6, 2017
I made this website with @gatsbyjs and I'm totally in love with it React SSGs are the future— Charlotte Dann (@charlotte_dann) July 5, 2017
S... | https://www.gatsbyjs.org/blog/gatsby-v1/?utm_campaign=React%2BNewsletter&utm_medium=web&utm_source=React_Newsletter_77 | CC-MAIN-2018-05 | refinedweb | 1,634 | 60.95 |
A Developer.com Site
An Eweek.com Site
Hi there,
I'm trying to get the text from two RichEdit controls which are located in external application, but I can't get the the text with GetWindowText. What is my mistake?
Any help would be much appreciated... Thanks in advance.
Here's the code:
#include <iostream>
#include <f... | http://forums.codeguru.com/showthread.php?466787-using-handles-to-get-RichEdit-text | CC-MAIN-2020-10 | refinedweb | 498 | 57.16 |
Bug #1372
TheIDE fails to compile with NOGTK flag
Description
It seems to be some issue with Upp namespace. See full buildlog here:.
History
#1 Updated by Jan Dolinár over 5 years ago
Ok, so it has nothing to do with namespaces... The problem is 'None' in PythonSyntax::Identation::Type. There is macro called None in X/... | https://www.ultimatepp.org/redmine/issues/1372 | CC-MAIN-2021-39 | refinedweb | 258 | 75.61 |
.
@robert-hh - Thanks, really good point.
I hadn't looked that deeply. As you say, the specs for EU433 are very similar to EU866, though the default channel frequencies are different. Still that should be easy to fix up by removing the defaults and adding in new defaults.
So we know that we CAN'T use something like thi... | https://forum.pycom.io/topic/3345/lopy4-433mhz/16 | CC-MAIN-2018-30 | refinedweb | 453 | 54.63 |
Since version 1.0 of a code library that I’m sure you’re tired of me talking about came out, I have been making steady updates, some of which break legacy code. I was also having trouble keeping track of which version of the library a particular demo was written for. In order to make sure that the new code library does... | http://dispatchevent.org/mims/version-checking/ | crawl-002 | refinedweb | 633 | 66.23 |
Foreach loop Foreach loop runs upon a single thread and processing takes place sequentially one by one. Foreach loop is a basic feature of C# and it is available from C# 1.0. Its execution is slower than Parallel.Foreach in most of the cases. Parallel.ForEach loop Parallel.ForEach loop runs upon multiple threads and pr... | http://www.c-sharpcorner.com/UploadFile/efa3cf/parallel-foreach-vs-foreach-loop-in-C-Sharp/ | CC-MAIN-2018-09 | refinedweb | 181 | 62.54 |
#include <gdk-pixbuf/gdk-pixbuf.h> void gdk_pixbuf_xlib_init (Display *display, int screen_num); void gdk_pixbuf_xlib_init_with_depth (Display *display, int screen_num, int prefDepth);
In addition to the normal Gdk-specific functions, the gdk-pixbuf package provides a small library that lets Xlib-only applications use ... | http://maemo.org/api_refs/4.1/gtk+2.0-2.10.12/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-xlib-init.html | CC-MAIN-2016-40 | refinedweb | 156 | 55.58 |
Python Client for QuadrigaCX
Project description
Introduction
Quadriga is a Python client for Canadian cryptocurrency exchange platform QuadrigaCX. It wraps the exchange’s REST API v2 using requests library.
Announcements
Requirements
- Python 2.7, 3.4, 3.5 or 3.6.
- QuadrigaCX API secret, API key and client ID (the nu... | https://pypi.org/project/quadriga/ | CC-MAIN-2019-43 | refinedweb | 401 | 52.87 |
- Creating Business Components
- Creating Multitiered Web Applications
- Using Code Behind
- Summary
Web developers are not necessarily good designers. Most companies divide the task of building Web sites between two teams. Normally, one team is responsible for the design content of a page, and the other team is respon... | http://www.informit.com/articles/article.aspx?p=25468&seqNum=3 | CC-MAIN-2019-04 | refinedweb | 1,735 | 55.64 |
×16 pixels to work with and you’re futzing around with MSPaint. I’m used to having gobs of memory and near unlimited CPU at my disposal, so working with such a small canvas was quite … constraining.
This looks like a pretty cool feature! Especially the "Simplify type names" would be something that I would be using a lo... | https://blogs.msdn.microsoft.com/cyrusn/2004/12/04/code-cleanup/ | CC-MAIN-2016-50 | refinedweb | 2,406 | 73.68 |
- dump memory to device during system failure
#include <sys/types.h> #include <sys/ddi.h> #include <sys/sunddi.h> int dump(dev_t dev, caddr_t addr, daddr_t blkno, int nblk);
Solaris specific (Solaris DDI). This entry point is required. For drivers that do not implement dump() routines, nodev(9F) should be used.
Device ... | https://docs.oracle.com/cd/E23823_01/html/816-5179/dump-9e.html | CC-MAIN-2021-43 | refinedweb | 198 | 61.02 |
Articles
|
News
|
Weblogs
|
Buzz
|
Books
|
Forums
Artima Forums
|
Articles
|
Weblogs
|
Java Answers
|
News
|
Buzz
Sponsored Link
•
Weblogs Forum
Please Teach me Web Frameworks for Python!
104
replies on
7
pages.
Most recent reply
: Sep 29, 2008 1:31 AM by
brianna americana
Guest
Back to Topic List
Reply to this Topic
T... | http://www.artima.com/forums/flat.jsp?forum=106&thread=146149&start=60&msRange=15 | CC-MAIN-2014-10 | refinedweb | 3,585 | 59.33 |
2D Game Grid Model from C++ to QML
- DenverCoder21
Hello guys, I'm fairly new to Qt/QML and currently try to create a little Snake game. For this, I implemented a C++ model of a game board which has a two-dimensional array containing the states of the respective cell (empty, snake, fruit). I'd like to practice exposing... | https://forum.qt.io/topic/71629/2d-game-grid-model-from-c-to-qml | CC-MAIN-2017-47 | refinedweb | 480 | 65.52 |
Deviating from hint-like beginnings. solution in Clear category for Pawn Brotherhood by tigercat2000
def safe_pawns(pawns):
# Initialize an empty set that will contain coordinate pairs of our pawns.
pawn_indexes = set()
# Iterate through the pawn coordinate sets.
for p in pawns:
# ... and decode them into x,y coordinat... | https://py.checkio.org/mission/pawn-brotherhood/publications/tigercat2000/python-3/deviating-from-hint-like-beginnings/share/cac8272249ddcd2d37336bb1c1993a99/ | CC-MAIN-2021-21 | refinedweb | 294 | 67.55 |
view raw
I want to execute some code at pre install time when installing a gem from rubygems.org with a command like
gem install some-gem
# File lib/rubygems.rb, line 724
def self.pre_install(&hook)
@pre_install_hooks << hook
end
RubyGems defaults are stored in rubygems/defaults.rb. If you're packaging RubyGems or impl... | https://codedump.io/share/hUraLbzlx4RA/1/how-to-add-a-prepostinstallhook-to-ruby-gems | CC-MAIN-2017-22 | refinedweb | 285 | 60.41 |
For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See:
Len and buflen with resample
- gonche1124 last edited by gonche1124
I´m building my first strategy that uses the resample functions of cerebro. I´m writing out the length and the buflen of each data feed in ... | https://community.backtrader.com/topic/1890/len-and-buflen-with-resample | CC-MAIN-2022-33 | refinedweb | 200 | 64.51 |
28 December 2007 16:27 [Source: ICIS news]
By Charlie Shaw
LONDON (ICIS news)--Opinions were mixed regarding the short-term prospects for ethyl acetate. Some felt it would see modest growth, while others said fundamentals in the second half of 2008 would be less favourable than in 2007.
?xml:namespace>
One producer sai... | http://www.icis.com/Articles/2007/12/28/9088989/outlook-08-feedstock-driving-europe-solvents.html | CC-MAIN-2014-42 | refinedweb | 709 | 53.24 |
Are you sure?
This action might not be possible to undo. Are you sure you want to continue?
---
Introduction to Matplotlib & pylab
Aman W
Department of Applied Physics
University of Gondar
Contents
• Introduction to Graph &visualization of data
• Matplotlib
• Pylab
– Plot
– Show()
• Graphs/Plots
• Line plot
• Scatter p... | https://www.scribd.com/presentation/350945323/chapter-0061-pptx | CC-MAIN-2018-30 | refinedweb | 1,504 | 61.36 |
James Morris wrote:> On Fri, 9 Jun 2006, dlezcano@fr.ibm.com wrote:> > >>When an outgoing packet has the loopback destination addres, the>>skbuff is filled with the network namespace. So the loopback packets>>never go outside the namespace. This approach facilitate the migration>>of loopback because identification is d... | http://lkml.org/lkml/2006/6/9/439 | CC-MAIN-2015-40 | refinedweb | 143 | 58.89 |
Understanding Memory Aliasing for Speed and Correctness¶
The aggressive reuse of memory is one of the ways through which Theano makes code fast, and it is important for the correctness and speed of your program that you understand how Theano might alias buffers.
This section describes the principles based on which Thea... | http://deeplearning.net/software/theano/tutorial/aliasing.html | CC-MAIN-2019-09 | refinedweb | 700 | 61.36 |
I have seen acrosss in a company interview test this question, but i am not clear about the question first. Could you people clarify my doubt ?
Question : Write a program to sort an integer array which contains Only 0's,1's and 2's. Counting of elements not allowed, you are expected to do it in O(n) time complexity.
Ex... | http://www.dlxedu.com/askdetail/3/d88be49fc0d9221dbb63391368f1434f.html | CC-MAIN-2018-39 | refinedweb | 1,162 | 68.91 |
According to the Javadocs: %r - Used to output the number of milliseconds
elapsed since the start of the application until the creation of the logging
event.
In practice the initial time is actually initialised from when the
PatternLayout class is loaded and the static initialisers are fired.
Consider the following rat... | https://bz.apache.org/bugzilla/show_bug.cgi?id=40145 | CC-MAIN-2017-47 | refinedweb | 287 | 57.87 |
#include <googledrivestorage.h>
List of all members.
Definition at line 32 of file googledrivestorage.h.
[private]
This private constructor is called from loadFromConfig().
Definition at line 46 of file googledrivestorage.cpp.
This constructor uses OAuth code flow to get tokens.
Definition at line 49 of file googledriv... | https://doxygen.residualvm.org/db/d01/classCloud_1_1GoogleDrive_1_1GoogleDriveStorage.html | CC-MAIN-2020-29 | refinedweb | 340 | 55.61 |
NAME
Bot::BasicBot::Pluggable::Store - base class for the back-end pluggable store
VERSION
version 0.96
SYNOPSIS
my $store = Bot::BasicBot::Pluggable::Store->new( option => "value" ); my $namespace = "MyModule"; for ( $store->keys($namespace) ) { my $value = $store->get($namespace, $_); $store->set( $namespace, $_, "$v... | https://metacpan.org/pod/release/DIZ/Bot-BasicBot-Pluggable-0.96/lib/Bot/BasicBot/Pluggable/Store.pm | CC-MAIN-2018-09 | refinedweb | 230 | 61.83 |
CMSIS-DAP debugger for Python
Project description
pyOCD is an Open Source python 2.7 based library for programming and debugging ARM Cortex-M microcontrollers using CMSIS-DAP. Linux, OSX and Windows are supported.
You can use the following interfaces:
- From a python interpretor:
- halt, step, resume execution
- read/w... | https://pypi.org/project/pyOCD/0.5.1/ | CC-MAIN-2018-26 | refinedweb | 1,028 | 50.23 |
Here is a solution for developers looking for a skin based slider control. It is different from the
article Transparent Slider Control by Nic Wilson in the way that it allows you to skin the background and tick of the slider control and also allows you to have
a customized cursor over the slider control.
The main class... | http://www.codeproject.com/Articles/2453/Skin-based-slider-control?fid=4112 | CC-MAIN-2015-48 | refinedweb | 459 | 53.51 |
Due by 11:59pm on Thursday, 2/12
Download extra01.zip. Inside the archive, you will find a file called extra:
This homework is required for the "extra lectures" track of CS 98: Additional Topics on the Structure and Interpretation of Computer Programs.
Implement
intersect, which takes two functions
f and
g and their
de... | http://gaotx.com/cs61a/hw/extra01/ | CC-MAIN-2018-43 | refinedweb | 422 | 65.52 |
module Penny.Brenner.Clear (mode) where import qualified Control.Monad.Exception.Synchronous as Ex import Control.Applicative (pure) import Control.Monad (guard, mzero, when) import Data.Maybe (mapMaybe, fromMaybe) import Data.Monoid (mconcat, First(..)) import qualified Data.Set as Set import qualified Data.Map as M i... | http://hackage.haskell.org/package/penny-lib-0.12.0.0/docs/src/Penny-Brenner-Clear.html | CC-MAIN-2015-40 | refinedweb | 802 | 64.27 |
At 11:00 PM 4/7/2010 +0530, Amit Sethi wrote: >I am trying to create a module for the docutils . I wish to install >it docutils.writer.something Is that a documented, official way to extend docutils? If not, and docutils.writer is not a namespace package, then you should not be doing that. >I have docutils installed at... | https://mail.python.org/pipermail/distutils-sig/2010-April/015967.html | CC-MAIN-2016-36 | refinedweb | 229 | 50.02 |
Top 50 Quotes On How To Create A Website
Hi guys, I’m Rakib Khan from Themeprobably.com
and in this Posts I’m going to show you
how you can quickly make a website.
(in just 10 mins)
how to create a website
Now after watching this Posts, you will be able to make
any kind of website just like this, by using drag & drop.
... | https://themeprobably.com/how-to-create-a-website/ | CC-MAIN-2021-31 | refinedweb | 1,404 | 93.54 |
#ifndef _SIZE_T_DEFINED
#ifndef _BSD_SIZE_T_DEFINED_
#define _SIZE_T_DEFINED
#define _BSD_SIZE_T_DEFINED_ /* for Darwin */
#endif /* ___int_size_t_h */
#endif /* _BSD_SIZE_T_DEFINED_ */
#undef toupper
/* APPLE LOCAL begin supply missing ctype.h decls 2001-07-11 sts *//* These are supposed be in ctype.h like the standar... | http://hints.macworld.com/article.php?story=20020723090544155 | CC-MAIN-2018-26 | refinedweb | 718 | 62.48 |
Over on Matt Turner's blog, he uses MarkLogic to get a list of medieval weapons from the wiki page as the first step in the enrichment of the texts of Shakespeare's plays.
Here's another attempt at this task, using only standard XQuery functions. Again, we are fortunate that wiki pages are well-formed XML.
declare name... | http://en.m.wikibooks.org/wiki/XQuery/Wiki_weapons_page | CC-MAIN-2015-18 | refinedweb | 120 | 54.76 |
Nicko van Someren wrote: > On 2 Dec 2007, at 03:09, Neil Toronto wrote: > >> Are there any use-cases for allowing namespace dicts (such as globals, >> builtins and classes) to have non-string keys? I'm asking because I'm >> planning on accelerating method lookups next, and the possibility of a >> key compare changing t... | https://mail.python.org/pipermail/python-dev/2007-December/075519.html | CC-MAIN-2016-40 | refinedweb | 370 | 78.48 |
Spectral Units in ADQL
In case you find the piece of Python given below too hard to read: It's just this table of conversion expressions between the different SI units we are dealing with here.
Astronomers these days work all along the electromagnetic spectrum (and beyond, of course). Depending on where they observe, t... | https://blog.g-vo.org/tag/dachs2.html | CC-MAIN-2022-33 | refinedweb | 1,835 | 58.11 |
The QToolTip class provides tool tips (balloon help) for any widget or rectangular part of a widget. More...
#include <qtooltip.h>
Inherits Qt.
List of all member functions.
The tip is a short, single line of text reminding the user of the widget's or rectangle's function. It is drawn immediately below the region in a ... | http://doc.trolltech.com/3.3/qtooltip.html | crawl-001 | refinedweb | 374 | 69.79 |
Other languages
[Main]
As well as its own scripting language, obmm also lets you script using iron python, C# and visual basic. In this case, access to obmm's scripting functions is provided via an
interface
.
C# and vb scripts must define a class named 'Script' which inherits from 'IScript' in the root namespace. It m... | http://timeslip.chorrol.com/obmmm/otherlanguages.htm | CC-MAIN-2017-13 | refinedweb | 159 | 64.61 |
Hi Paul,I've got two problems working with this patchset:1. A task can't join a cpuset unless 'cpus' and 'mems' are set. Thesedon't seem to automatically inherit the parent's values. So when I do mount -t container -o ns,cpuset nsproxy /containers (unshare a namespace)the unshare fails because container_clone() created... | http://lkml.org/lkml/2007/6/4/314 | CC-MAIN-2014-41 | refinedweb | 120 | 56.66 |
This is your resource to discuss support topics with your peers, and learn from each other.
11-06-2012 07:54 AM
Hi,
I already have a thread but the post was not in the right category.
I was trying to play audio/video. Presently I followed this (
Also the audio/video streaming is not working.
I followed this (
11-06-201... | https://supportforums.blackberry.com/t5/Native-Development/Playing-Streaming-Video/m-p/1977647 | CC-MAIN-2017-04 | refinedweb | 755 | 50.33 |
MongoDB Interview Questions
Based on the document-oriented NoSQL database,. We have an impressive collection of MongoDB Interview Questions and Answers that is a must-read for all developers!
Development History of MongoDB
10gen software company started developing MongoDB in 2007 as one of the components of a platform ... | https://www.bestinterviewquestion.com/mongodb-interview-questions | CC-MAIN-2019-47 | refinedweb | 821 | 59.8 |
How do I use a progress bar when my script is doing some task that is likely to take time?
For example, a function which takes some time to complete and returns
True when done. How can I display a progress bar during the time the function is being executed?
Note that I need this to be in real time, so I can't figure ou... | https://pythonpedia.com/en/knowledge-base/3160699/python-progress-bar | CC-MAIN-2020-16 | refinedweb | 320 | 73.47 |
rodd has asked for the wisdom of the Perl Monks concerning the following question:
I'm looking for a way to pause a perl 5.8.8 interpreter thread and later restore it at the same (or next) line in the thread script. And with the same var namespace. By "later" I mean that the perl interpreter may have to be stopped, the... | https://www.perlmonks.org/index.pl/?node_id=699934 | CC-MAIN-2020-50 | refinedweb | 774 | 69.62 |
I am writing some scripts to process some text files in python. Locally the script reads from a single txt file thus i use
index_file = open('index.txt', 'r')
for line in index_file:
....
import os from glob import glob def readindex(path): pattern = '*.txt' full_path = os.path.join(path, pattern) for fname in sorted(g... | https://codedump.io/share/Aepp5qHZ0cfe/1/how-to-search-string-in-a-folder-of-text-files-using-python | CC-MAIN-2017-17 | refinedweb | 219 | 69.31 |
view raw
I have a following xml file, I want to read the contents in
<seg>
<?xml version="1.0"?>
<mteval>
<tstset setid="default" srclang="any" trglang="TRGLANG" sysid="SYSID">
<doc docid="ntpmt-dev-2000/even1k.cn.seg.txt">
<seg id="1">therefore , can be obtained having excellent properties ( good stability and solubil... | https://codedump.io/share/1nW8GXewbvlu/1/how-to-read-some-contents-of-xml-files-and-write-them-into-a-text-file | CC-MAIN-2017-22 | refinedweb | 248 | 51.55 |
.
- Improved visibility on transparent backgrounds
- Themed arrow buttons in applets that were missing them
- Layout and antialiasing fixes in various applets.
Dot Categories:
KDE4 alone with X.org server perfectly fits into 512MB or even less RAM, but then try to run a handful of applications and services, and you'll ... | https://dot.kde.org/comment/69820 | CC-MAIN-2021-10 | refinedweb | 3,113 | 75.4 |
python - if __name__ == __main__ invalid syntax - What does if __name__ == “__main__”: do?
When your script is run by passing it as a command to the Python interpreter,
python myscript.py
all of the code that is at indentation level 0 gets executed. Functions and classes that are defined are, well, defined, but none of... | http://code.i-harness.com/en/q/6655b | CC-MAIN-2019-04 | refinedweb | 1,884 | 73.88 |
A Programming Language with Extended Static Checking
In this article, I’ll look at a common problem one encounters when verifying programs: namely, writing loop invariants. In short, a loop invariant is a property of the loop which:
Loop invariants can be tricky to get right but, without them, the verification will pro... | http://whiley.org/2013/01/29/understanding-loop-invariants-in-whiley/ | CC-MAIN-2017-47 | refinedweb | 2,123 | 64.91 |
This topic applies only to version 1 of Managed Extensions for C++. This syntax should only be used to maintain version 1 code. See
Implicit Boxing for information on using the equivalent functionality in the new syntax.
Creates a managed copy of a __value class object.
__box(value-class identifier)).
The newly created... | http://msdn.microsoft.com/en-us/library/d6d8ft9s.aspx | crawl-002 | refinedweb | 122 | 50.43 |
Workflow (who is suppose to be launch on Record change only) is been launch if a retrieve and update has been made.
- Friday, 24 February 2012 5:04 PM
Hi all,
I'm doing this:
public class CalculDelaisDemande : IPlugin {); if (context.Depth != 1) return; try { using (var orgContext = new Microsoft.Xrm.Sdk.Client.Organiz... | http://social.microsoft.com/Forums/en-AU/crm/thread/2089acb5-19cf-4791-a3be-29093ab3317d | CC-MAIN-2013-20 | refinedweb | 306 | 55.74 |
What if I told you that you could use the same very performant code in Android, iOS or even in Flutter. In this article, we’ll see how to achieve this with Rust.
But, why would we want something like this?
Imagine that you have a mobile app that needs to process some audio in order to get some insights about the user b... | https://dev.to/robertohuertasm/rust-once-and-share-it-with-android-ios-and-flutter-286o | CC-MAIN-2021-31 | refinedweb | 5,152 | 56.55 |
.
Putting two threads together
In Python, there are numerous techniques to combine string values. The ‘+’ operator is the simplest way to combine two string values in Python. To learn how to merge two strings, create any Python script with the following. Two string values are allocated to two variables, with a third va... | https://www.codeunderscored.com/python-scripts-beginners-guide/ | CC-MAIN-2022-21 | refinedweb | 2,338 | 53.31 |
These lists identify all of the APIs which are obsolete in the .NET Framework V2.0. These lists are meant to serve as a simple reference for obsoleted members and types. Where applicable, an alternate or improved version of the API that provides a more robust set of functionality is listed. If no alternative is suggest... | http://msdn.microsoft.com/es-es/netframework/aa497286(en-us).aspx | crawl-002 | refinedweb | 116 | 56.96 |
ICalendarObjects
Since: BlackBerry 10.0.0
#include <bb/pim/calendar/ICalendarObjects>
To link against this class, add the following line to your .pro file: LIBS += -lbbpim
The ICalendarObjects class represents a container for iCalendar objects.
This class holds objects that are constructed by functions that read data i... | http://developer.blackberry.com/native/reference/cascades/bb__pim__calendar__icalendarobjects.html | CC-MAIN-2014-42 | refinedweb | 599 | 51.24 |
In my last post I tried to outline some of the contrasts between the popular Python and Clojure. A repeated comment from the Python community was 'Why dont you let the code speak for itself, go to Rosetta'....So I did and this is what I found.
The Python community is very active and sizeable, which is good. Quite a few... | http://www.bestinclass.dk/index.clj/2009/10/python-vs-clojure-reloaded.html | CC-MAIN-2014-15 | refinedweb | 2,699 | 67.28 |
Web scraping in Python to look up stock prices
Objective
We are going to scrape the FT.com website for current stock prices for selected stocks. You’ll learn:
- scraping web page
- fetching price/quote (with regex)
- presenting results
- error handling
- coloring the output
Step 1: Taking input, Opening URL and Grabbin... | http://tldrdevnotes.com/python/2014-08-26-Web%20scraping%20in%20Python%20to%20look%20up%20stock%20prices.html | CC-MAIN-2018-17 | refinedweb | 1,253 | 79.19 |
Sample pie chart
Below is the source code that produces the above chart. ../demos/pietest.py
from pychart import * import sys data = [("foo", 10),("bar", 20), ("baz", 30), ("ao", 40)] ar = area.T(size=(150,150), legend=legend.T(), x_grid_style = None, y_grid_style = None) plot = pie_plot.T(data=data, arc_offsets=[0,10,... | http://home.gna.org/pychart/doc/module-pie-plot.html | crawl-001 | refinedweb | 305 | 77.13 |
Installed build 300 yesterday. All of the Resharper: prefixed color options are gone from the fonts & colors dialogue in visual studio 2005. I restored my .vssettings file and all the colors are missing from the resharper section.
Also, new "highlight current line" highlights in yellow on my black background breaking C... | https://resharper-support.jetbrains.com/hc/en-us/community/posts/206056309-Build-300-Colors | CC-MAIN-2020-16 | refinedweb | 356 | 67.76 |
5 Different Types of Document Ready ExamplesBy Sam Deering
These are the different types of Document Ready functions typically used in jQuery (aka jQuery DOM Ready). A lot of developers seem to use them without really knowing why. So I will try to explain why you might choose one version over another. Think of the docu... | https://www.sitepoint.com/types-document-ready/ | CC-MAIN-2017-30 | refinedweb | 405 | 63.49 |
I have often read a common question in forum posts of how to set the values of a User Control from a parent page using a method but no one has provided the proper solution. Considering the preceding requirements, I have decided to write this article to provide the step-by-step solution to create a User Control. So let ... | http://www.compilemode.com/2015/05/call-user-control-method-from-parent-in-Asp-net.html | CC-MAIN-2017-09 | refinedweb | 576 | 66.03 |
Important: Please read the Qt Code of Conduct -
ListView - OverBounds is freezing at bottom when content is full
Hello,
I'm using Qt v5.7.0
I have an issue with ListView, when its height content is bigger than its own height, the move is freezing when you scroll over the bottom of the list.
There is an example :
import... | https://forum.qt.io/topic/70927/listview-overbounds-is-freezing-at-bottom-when-content-is-full | CC-MAIN-2020-45 | refinedweb | 123 | 63.66 |
Our little web browser now renders web pages that change. That means our browser is now doing styling and layout multiple times per page. Most of that styling and layout, however, is a waste: even when the page changes, it usually doesn't change much, and layout is expensive. In this chapter we'll put the breaks on new... | https://browser.engineering/reflow.html | CC-MAIN-2019-51 | refinedweb | 4,267 | 64.81 |
How would one build this in MEL?
I’ve almost finished an asset manager but want a better system to browse through folders like the one above?
How would one build this in MEL?
I’ve almost finished an asset manager but want a better system to browse through folders like the one above?
kid!!!
How
is their any way we can p... | http://forums.cgsociety.org/t/mel-maya-ui-building/664014/348 | CC-MAIN-2019-51 | refinedweb | 735 | 55.95 |
On vacation with my hands full of books to read, I found myself committed on a serious SICP reading that takes longer than predicted (specifically while doing the exercises in Clojure in the mean time).
The promise I made was also to start learning Erlang, while starting learning a Haskell for my great good (fans will ... | http://patterngazer.blogspot.com/2011/10/one-ring-to-rule-my-akka-actors.html | CC-MAIN-2019-09 | refinedweb | 1,844 | 59.5 |
[quantal] 5.100.82.112+bdcom-0ubuntu1 - wl_linux.c:43:24: fatal error: asm/system.h: No such file or directory
Bug Description
A rather weird way to try the bug, but **I think it affects quantal** as well (as system.h doesn't exist anymore) -- that's why I'm reporting it as a bug.
I installed the latest ubuntu 3.4.4 on... | https://bugs.launchpad.net/ubuntu/+source/bcmwl/+bug/1020059 | CC-MAIN-2019-09 | refinedweb | 406 | 53.37 |
import of glyphNameFormatter.reader crashes RF
- RafaŁ Buchner last edited by gferreira
import glyphNameFormatter.readerprints something in very long loop, so if I want to do something with this module, it takes a long time to import it.
hi, thanks for the bug report.
this has already been fixed in
glyphNameFormatter(s... | https://forum.robofont.com/topic/580/import-of-glyphnameformatter-reader-crashes-rf/?page=1 | CC-MAIN-2019-35 | refinedweb | 135 | 66.74 |
Lucio Piccoli-2 wrote:
>
> 2) MessageConsumers
> Deploying both the broker and the app inside a single WAR works OK.
> However
> since the client is a tight ass and using WLS express I can't use MDB. So
> I
> am trying to instantiate MessageConsumers inside a servlet. The servlet
> gets
> preloaded using the <load-on-s... | http://mail-archives.apache.org/mod_mbox/activemq-users/200605.mbox/%3C4654043.post@talk.nabble.com%3E | CC-MAIN-2018-22 | refinedweb | 168 | 56.55 |
The C++11 random normal_distribution produces random numbers x using the respective discrete probability function of the distribution-the function is shown at the end of the post.The distribution class declaration is shown below.
template<class RealType = double>
class normal_distribution;
The class default type is dou... | https://corecplusplustutorial.com/cpp11-random-normal_distribution/ | CC-MAIN-2017-30 | refinedweb | 1,007 | 56.76 |
I have two sql database tables with a 1:n relationship. For my ASP.NET MVC-solution I have enabled EF-code-first-migration and the proper DBContext and classes established.
I would like to write an MVC-controller that joins both tables in order to select specific records for display in a view.
Here are the two classes:... | https://codedump.io/share/HV5rcBf9RpUc/1/how-to-join-two-tables-with-linq-in-an-mvc-controller | CC-MAIN-2016-50 | refinedweb | 167 | 52.15 |
With the free Turbo Explorer line, Borland brings programming to the masses. Each of the four Turbo Explorer ‘personalities’ targets a different combination of programming language and platform: Turbo Delphi and Turbo C++ for Windows, and Turbo Delphi and Turbo C# for .NET. There are over 200 components for building pr... | https://www.osnews.com/story/15738/review-borland-turbo-explorer/ | CC-MAIN-2019-18 | refinedweb | 1,864 | 63.9 |
public class SyncInfo extends Object implements IAdaptable
IResourceVariantComparatoris used to decide which comparison type to use.
For two-way comparisons, a
SyncInfo node has a change
type. This will be one of
IN-SYNC,
ADDITION,
DELETION or
CHANGE determined in the following manner.
ADDITIONif it exists locally and ... | http://help.eclipse.org/oxygen/nftopic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/team/core/synchronize/SyncInfo.html | CC-MAIN-2017-51 | refinedweb | 213 | 59.19 |
This is your resource to discuss support topics with your peers, and learn from each other.
08-25-2009 11:17 AM
Hi all,
how can make use of Sprite class object in my Manager class? is it possible to use Graphics class of javax.microedition.lcdui in my app that extends UiApplication and push a screen extends MainScreen?... | https://supportforums.blackberry.com/t5/BlackBerry-World-Development/Using-Sprite-Class/m-p/317951 | CC-MAIN-2016-36 | refinedweb | 711 | 82.75 |
Hi David, David Trudgett wrote: > > Some questions I have in my mind: > > 1. I used "raw" and you used "PrincipiaSearchSource()" . The reason I used > raw was because I wanted to be sure that what I got wasn't munged in any > way, and that what I put back reflects what was actually there before. Sounds fair enough. I r... | https://www.mail-archive.com/zope@zope.org/msg03333.html | CC-MAIN-2019-04 | refinedweb | 548 | 59.33 |
On Sun, Nov 11, 2007 at 07:39:54PM +0330, Ali Gholami Rudi wrote:
> idxoftag("x") fails if x is a tag name; it compares the pointers and
> not the strs.
>
> -- Ali
> diff --git a/dwm.c b/dwm.c
> --- a/dwm.c
> +++ b/dwm.c
> @@ -863,7 +863,7 @@ idxoftag(const char *tag) {
> idxoftag(const char *tag) {
> unsigned int i;
>... | http://lists.suckless.org/dwm/0711/4244.html | CC-MAIN-2019-30 | refinedweb | 121 | 75.1 |
hi,
in code below cin.get() doesn't work correctly (maybe I'm mistaken)
first time I press Enter, cursor will come at beginning of line. and next time, new line will overwrite on what would output in next linefirst time I press Enter, cursor will come at beginning of line. and next time, new line will overwrite on what... | http://cboard.cprogramming.com/cplusplus-programming/132591-cin-get-problem.html | CC-MAIN-2014-52 | refinedweb | 187 | 73.37 |
jsp online exam...
jsp online exam... Plz provide me front end
jsp online exam
jsp online exam i have designed a html page with 20 multiple choice questions ...options are in radio button for each question .... now i have to retrieve all the selected answers and save it to database match it with correct
how to create o... | http://roseindia.net/tutorialhelp/comment/96204 | CC-MAIN-2014-41 | refinedweb | 1,237 | 63.09 |
There are a lot of moving parts in Redux and its associated libraries. It's challenging for newcomers to figure out what's going on -- especially when you mix in React, React-Router, React-Redux, React-Router-Redux, etc. (Yes, it's common to have all four of those libraries in the same project along with Redux). Fortun... | https://decembersoft.com/posts/redux-hero-part-1-a-hero-is-born-a-fun-introduction-to-redux-js/ | CC-MAIN-2018-43 | refinedweb | 1,093 | 52.76 |
On Thu, Jan 26, 2006 at 09:50:29AM -0200, Sidnei da Silva wrote: > On Wed, Jan 25, 2006 at 04:37:45PM -0200, Sidnei da Silva wrote: > | On Wed, Jan 25, 2006 at 01:30:41PM -0500, Stephan Richter wrote: > | | Please revert this revision. As you admit yourself in CHANGES.txt, this > is a > | | new feature. You cannot add ... | https://www.mail-archive.com/zope3-dev@zope.org/msg03641.html | CC-MAIN-2017-51 | refinedweb | 288 | 76.42 |
Subject: Re: [boost] Towards a Warning free code policy proposal
From: Dave Abrahams (dave_at_[hidden])
Date: 2010-08-27 14:26:31
On Fri, Aug 27, 2010 at 8:26 AM, vicente.botet <vicente.botet_at_[hidden]> wrote:
> Hi all,
>
> Last year there where two long threads about Boost Warning policy. If I'm not wrong nothing wa... | https://lists.boost.org/Archives/boost/2010/08/170289.php | CC-MAIN-2019-51 | refinedweb | 195 | 64.1 |
Issues opening textastic to view source
Am I missing something here? It is not opening the textastic app.
# coding: utf-8 import appex import webbrowser from urlparse import urlsplit def main(): if not appex.is_running_extension(): print 'This script is intended to be run from the sharing extension.' return url = appex... | https://forum.omz-software.com/topic/2660/issues-opening-textastic-to-view-source | CC-MAIN-2017-26 | refinedweb | 351 | 61.73 |
jobs with the REST or WebDriver API.
There are three status badges that correspond to the three states of a finished test: Passing, Failed, and Unknown.
With the browser matrix, you can keep track of the test status for various browser/platform/operating system combinations.
Choose a Sauce account to associate with yo... | https://wiki.saucelabs.com/plugins/viewsource/viewpagesrc.action?pageId=48366187 | CC-MAIN-2021-10 | refinedweb | 428 | 62.72 |
Creating Ruby-Inspired Modules In ColdFusion
A couple of months ago, I read Practical Object-Oriented Design in Ruby: An Agile Primer, by Sandi Metz. I haven't reviewed the book yet, but I wanted to explore one of the concepts Metz talked about: Ruby Modules. From what I understood (and this may be somewhat off-base, I... | http://www.bennadel.com/blog/2482-creating-ruby-inspired-modules-in-coldfusion.htm | CC-MAIN-2014-42 | refinedweb | 2,060 | 55.95 |
Welcome to the first article in a series that will examine the practicalities of using new XML-based technologies. In these columns, I'll take a look at an XML technology, and at attempts to deploy it in a practical system. In addition to reporting on the deployment experience, I expect to have some fun along the way t... | http://www.ibm.com/developerworks/xml/library/x-beep/index.html | crawl-003 | refinedweb | 1,765 | 53.21 |
03 February 2010 08:28 [Source: ICIS news]
TOKYO (ICIS news)--Tosoh Corp has posted a nine-month operating profit of Y5.16bn in its petrochemical segment for the period ending 31 December 2009, up from Y832m in the year-ago period on increased cumene shipments, it said on Wednesday.
Shipments of ethylene and propylene ... | http://www.icis.com/Articles/2010/02/03/9331194/japans-tosoh-records-9-month-petchem-op-profit-of-y5.16bn.html | CC-MAIN-2013-48 | refinedweb | 220 | 68.57 |
Large Image Scrolling Using Low Level Touch Events
What you learn: You will learn how to scroll (pan) images larger than the display surface of your device using touch gestures. These touch gestures will be processed by low level touch event handlers, resulting in a light-weight smooth scrolling implementation.
Tested ... | http://www.anddev.org/large_image_scrolling_using_low_level_touch_events-t11182.html | CC-MAIN-2014-42 | refinedweb | 2,618 | 54.42 |
I'm trying to extract integers from a string and use them to scan through a YAML file like so:
FORMS = YAML.load_file('../email/lib/lists/form_links.yml')
def get_form(form)
form_num = form.scan(/\d+/)
data = FORMS['esd_forms'][form_num]
begin
if data != nil
"Form link: #{data}"
else
raise StandardError
end
rescue Stan... | https://codedump.io/share/P1TYsRbTZnTJ/1/how-to-extract-digits-from-a-string-and-use-them-to-extract-from-a-yaml-file | CC-MAIN-2016-50 | refinedweb | 221 | 62.58 |
Data Points - A New Option for Creating OData: Web API
By Julie Lerman | June 2013 | Get the Code: C# VB
Microsoft .NET developers have been able to create OData feeds since before there was even an OData spec. By using WCF Data Services, you could expose an Entity Data Model (EDM) over the Web using Representational S... | https://msdn.microsoft.com/en-us/magazine/dn201742.aspx | CC-MAIN-2018-34 | refinedweb | 3,238 | 61.36 |
I spend a good chunk of time today researching. I had hoped to find an easy solution that would allow me to create and modify the "exth" header in mobi files. If I can just do that, then I can set the "cdetype" in that header to "EBOK", which would signal to Kindles that books like Recipes with Backbone are ebooks and ... | https://japhr.blogspot.com/2011/12/command-line-calibre.html | CC-MAIN-2017-51 | refinedweb | 716 | 69.07 |
Walk straight over the input array. Let
best hold the best sum found overall and
curr hold the best sum ending with the current element. For the latter, we can either use the current element alone (that's
n) or also use the best sum ending with the previous element (that's
curr+n, with the previous value of
curr).
Ruby... | https://discuss.leetcode.com/topic/16242/3-4-lines-ruby-and-c | CC-MAIN-2018-05 | refinedweb | 108 | 72.66 |
14 September 2008 18:08 [Source: ICIS news]
HOUSTON (ICIS news)--The destructive winds of hurricane Ike were gone, but rain, power blackouts and flooding continued to beset Houston as the city struggled on Sunday to recover.
?xml:namespace>
Houston Mayor Bill White urged area residents - who have been sheltering in the... | http://www.icis.com/Articles/2008/09/14/9156107/houston-struggles-to-recover-from-ikes-wrath.html | CC-MAIN-2013-20 | refinedweb | 263 | 58.62 |
A module for showing and filtering vectors
Project description
A tool for visualization and filtering of vectors.
Features
- Simple to use API
- Clear visualization of vectors in a starchart.
- Filtering of vectors.
- Only show Pareto-optimal vectors.
- Constrain the vectors by valueranges for each dimension.
How to us... | https://pypi.org/project/vecvis/ | CC-MAIN-2018-22 | refinedweb | 130 | 69.68 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.