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
I'm using a ESP32 to transmit serveral kB worth of sensor data via WiFi. I store these in a textfile where one line represents a sample: I need to push a fresh datavector on the file, while popping the oldest. My solution for this is working, but really slow. Adding one new element takes about 10s. Code: Select all ......
https://forum.micropython.org/viewtopic.php?t=8043&p=45748
CC-MAIN-2020-16
refinedweb
234
77.43
So far in this chapter, the storyboard content does not involve any Swift or other programming content—it used the drag and drop capabilities of the storyboard editor. Fortunately, it is easy to integrate Storyboard and Swift using a custom view controller. Each standard view controller has a corresponding superclass (...
https://www.safaribooksonline.com/library/view/swift-essentials/9781784396701/ch04s03.html
CC-MAIN-2018-30
refinedweb
113
55.34
In yesterday’s Programming Praxis problem we have to implement a more efficient string search algorithm than the brute force approach we did earlier, namely the Horspool variation of the Boyer-Moore algorithm. Let’s get started. Our import: import Data.Map (findWithDefault, fromList, (!)) The algorithm this time is a b...
http://bonsaicode.wordpress.com/2009/08/29/programming-praxis-string-search-boyer-moore/
CC-MAIN-2014-42
refinedweb
204
71.75
jGuru Forums Posted By: mohammad_afzal Posted On: Friday, February 15, 2002 10:01 PM I want to open a Msword or any other application by clicking a button placed on a Frame. Please help me out. Thanks a lot. Re: Opening a Msword document from Frame. Posted By: Paul_Connaughton Posted On: Friday, February 22, 2002 08:13...
http://www.jguru.com/forums/view.jsp?EID=760943
CC-MAIN-2014-49
refinedweb
177
65.73
CGI passes information to Python in the form of a class called FieldStorage. In your Pythonic CGI script, you must create an instance of FieldStorage in order to access the CGI data. The main attribute of class FieldStorage which you will need to know is 'getvalue'. For example, the data from an address book form might...
http://python.about.com/od/cgiformswithpython/ss/pycgitut1_2.htm
crawl-002
refinedweb
129
66.13
I recently stumbled on a paper [1] that looks at a cubic equation that comes out of a problem in orbital mechanics: σx³ = (1 + x)² Much of the paper is about the derivation of the equation, but here I’d like to focus on a small part of the paper where the author looks at two ways to go about solving this equation by lo...
https://www.johndcook.com/blog/2020/02/26/cubic-iteration/
CC-MAIN-2022-27
refinedweb
529
72.46
100Wp 16v high efficiency Sunpower solar cell ETFE semi flexible solar panels US $0.7-1.5 / Watt 1 Watt (Min. Order) Super quality 12v 50w solar panel US $0.5-1.4 / Watt 50 Pieces (Min. Order) Factory Wholesale cheapest solar panel US $8-125.4 / Piece 50 Pieces (Min. Order) 10 Year warranty solar panel 200W 250w 300w U...
https://www.alibaba.com/showroom/import-solar-panels.html
CC-MAIN-2018-05
refinedweb
1,000
69.79
This interview was originally published at SurviveJS. One of the developments that has began to change the way we style our applications and sites is the introduction of utility classes. Tailwind is an example of a popular framework that has adopted the approach. To learn more about the approach, I am interviewing Chad...
https://bebraw.hashnode.dev/benefit-utility-css-library-interview-with-chad-donohue-cjwgj7bld00111ss1s33re76w?guid=none&deviceId=894c6ff1-5b44-44e2-b4e2-103d864f59d9
CC-MAIN-2020-34
refinedweb
823
61.36
DB2::Row Framework wrapper around rows using DBD::DB2 package myRow; use DB2::Row; our @ISA = qw( DB2::Row ); ... use myDB; use myTable; my $db = myDB->new; my $tbl = $db->get_table('myTable'); my $row = $tbl->find($id); print $row->col_name; new Do not call this - you should get your row through your table object. To ...
http://search.cpan.org/~dmcbride/DB2-db-0.25/lib/DB2/Row.pm
CC-MAIN-2017-22
refinedweb
554
62.58
"This program will read grades from two different files (one at a time) and do some simple analytical operations on those grades -- identifying the maximum, minimum, median, and mean." "Information about the scores will be stored in an array. But, the array will not hold the scores themselves -- instead it will record ...
http://www.dreamincode.net/forums/topic/315752-array-grade-help/
CC-MAIN-2016-22
refinedweb
299
50.06
Revision history for Test-Mocha 0.67 2019-02-05 - Add compile tests. - Make UNIVERSAL::ref required again because of tests failing on Perl versions less than 5.025. 0.66 2019-02-04 - Revert the change from 0.65 because it broke spies. - Make UNIVERSAL::ref optional because it can't be installed on Perl 5.025 and above....
http://web-stage.metacpan.org/changes/distribution/Test-Mocha
CC-MAIN-2019-43
refinedweb
729
71
Modern SEO Getting the most out of search engines and social networking is more important than ever! Take advantage of Google, Facebook and Twitter’s most advanced features, and boost user engagement.!Agenda Traditional SEO It’s important to know where we’re starting from before we talk about where we’re going. Let’s l...
https://simplabs.com/training/2017-02-17-modern-seo
CC-MAIN-2017-47
refinedweb
714
55.98
I am trying to process a month's worth of website traffic, which is stored in an S3 bucket as json (one json object per line/website traffic hit). The amount of data is big enough that I can't ask Spark to infer the schema (OOM errors). If I specify the schema it loads fine obviously. But, the issue is that the fields ...
https://codedump.io/share/l3b8iIZdiNHn/1/spark-200-reading-json-data-with-variable-schema
CC-MAIN-2017-09
refinedweb
323
72.87
On Mon, Aug 10 2009, Steve Langasek wrote: > On Sun, Aug 09, 2009 at 07:37:10PM -0500, Manoj Srivastava wrote: > >> >> >. > >> > I don't have a strong opinion on whether ddebs should be documented in >> > policy, but I certainly don't agree with requiring dpkg to understand >> > them as a prerequisite for implementing ...
https://lists.debian.org/debian-devel/2009/08/msg00298.html
CC-MAIN-2017-39
refinedweb
642
56.18
This is my assignement, my professor wnats me to output 4500.0 in interest, but I'm getting is 0. All codes are below, public class Interest { public static void main(String[] args) { //declare variables double loan=5000, interest=0.0; int years=15, rate=6; //calculations interest = loan * (rate/100) * years; //output ...
http://forums.devshed.com/java-help-9/simple-homework-java-please-help-930683.html
CC-MAIN-2015-32
refinedweb
300
66.23
This tutorial is all about How to Write to a File or a Plain Text Document. There are multiple ways to write data into text file or plain text file. We will learn the most standard way of writing into a text file. Let us take an example: java - public class Manager{ - public static void main(String[] args) throws IOExc...
http://itsourcecode.com/2016/02/how-to-write-to-a-file-or-a-plain-text-document/
CC-MAIN-2017-17
refinedweb
181
59.13
TurtleBot ROS moving using Twist I am trying to program for a TurtleBot, but there is a significant lack of tutorials for the robot and I have been unable to write my own C++ which works. I am trying to use a tutorial from another robot just to make the robot move when a key is pressed. The source tutorial is found her...
https://answers.ros.org/question/47500/turtlebot-ros-moving-using-twist/
CC-MAIN-2021-43
refinedweb
584
58.08
NEW: Learning electronics? Ask your questions on the new Electronics Questions & Answers site hosted by CircuitLab. Everything Else » How to take a screenshot Many times our staff here at NerdKits (and our wonderful community on the forums) is asked to diagnose or help with a problem that is vaguely described. We alway...
http://www.nerdkits.com/forum/thread/911/
CC-MAIN-2018-22
refinedweb
730
71.14
ninth version ZAGREB 2010 No part of this publication should be copied or edited without permission from the author. LIST OF ABBREVIATIONS Abkh. = Abkhaz adm. = admirative ADV = adverbial advers. = adversative Adyg. = Adyghean af. = affirmative ant. = anterior assoc.= associative, associative plural caus. = causative c...
https://www.scribd.com/document/79616556/Kabardian-Grammar
CC-MAIN-2019-35
refinedweb
40,228
61.97
Testing is a crucial part of maintaining a code base, but not all tests validate what they’re testing for. Flaky tests—tests that fail sometimes but not always—are a universal problem, particularly in UI testing. In this blog post, we will discuss a new and simple approach we have taken to solve this problem. In partic...
http://engineeringjobs4u.co.uk/how-were-winning-the-battle-against-flaky-tests
CC-MAIN-2018-51
refinedweb
2,878
55.58
It’s summer in Germany, and [Valentin’s] room was getting hotter than he could handle. Tired of suffering through the heat, and with his always-on PC not helping matters any, he decided that he must do something to supplement his home’s air conditioner. The result of his labor is the single room poor man’s A/C unit you...
http://hackaday.com/2011/07/02/poor-mans-peltier-air-conditioner/
CC-MAIN-2015-14
refinedweb
3,433
69.31
Sometimes. Out: Iteration 1, loss = 0.32009978 Iteration 2, loss = 0.15347534 Iteration 3, loss = 0.11544755 Iteration 4, loss = 0.09279764 Iteration 5, loss = 0.07889367 Iteration 6, loss = 0.07170497 Iteration 7, loss = 0.06282111 Iteration 8, loss = 0.05529723 Iteration 9, loss = 0.04960484 Iteration 10, loss = 0.04...
https://docs.w3cub.com/scikit_learn/auto_examples/neural_networks/plot_mnist_filters
CC-MAIN-2021-21
refinedweb
125
57.33
Empty type From HaskellWiki An empty type is one that has no values. They're often used with phantom types or type arithmetic. How you define one depends on how picky you are that the type has genuinely no values. Frequently when defining a type whose values are never meant to be used, the simplest way is to just defin...
http://www.haskell.org/haskellwiki/Empty_type
CC-MAIN-2014-10
refinedweb
182
58.15
Pete is a consultant specializing in library design and implementation. He has been a member of the C++ Standards Committee since its inception, and is Project Editor for the C++ Standard. He is writing a book about the newly approved Technical Report on C++ Library Extensions; the book will be published this summer by...
http://www.drdobbs.com/overloading-and-overloading/184406484
CC-MAIN-2015-40
refinedweb
2,438
61.56
. We are cleaning up our house here in the suburbs of Philly to get it ready to sell. I don't think it is going to fetch a price comparable to what housing costs in Boston, though - Boston really is much more expensive. Today I came across this graph that captures the situation well: This was part of a report produced ...
http://davidbau.com/archives/2007/03/index.html
crawl-001
refinedweb
815
75.1
DBAs regularly need to keep an eye on the error logs of all their SQL Servers, and the event logs of the host servers as well. When server numbers get large, the traditional Windows GUI approach breaks down, and the PoSH DBA reaches for a PowerShell script to do the leg-work. “I know I'm searching for something Somethi...
https://www.simple-talk.com/sql/database-administration/the-posh-dba---reading-and-filtering-errors/
CC-MAIN-2015-40
refinedweb
6,143
50.77
Actually the important setting is: The decides how many rows are fetched each time the client exhausts its local cache and goes back to the server. Reasons to have setCaching low: - Do you have a filter on? If so it could spend some time in the region server trying to find all the rows - Are your rows fat? It might put...
http://mail-archives.us.apache.org/mod_mbox/hbase-user/201110.mbox/%3CCAGpTDNddVWqSTiCXrf0hPF38Wb6UVLAPvJmyMm-C5Zw--bP2Wg@mail.gmail.com%3E
CC-MAIN-2019-35
refinedweb
819
71.24
*Note: Moved under my own volition. Go my volition.* Custom Header Files in C++ Everything that is in this article will probably work/apply to C and C#, although I cannot be sure about this One of the most valuable things that can be done or used in any programming language is of course the code library, which saves pe...
http://www.antionline.com/showthread.php?249371-C-Custom-Header-Files-(Moved)&p=692438&viewfull=1
CC-MAIN-2013-48
refinedweb
557
70.63
If you want to store some data on a state and have that information propagated from successor to successor, the easiest way to do this is with state.globals. However, this can become obnoxious with large amounts of interesting data, doesn't work at all for merging states, and isn't very object-oriented. The solution to...
https://docs.angr.io/extending-angr/state_plugins
CC-MAIN-2019-30
refinedweb
1,286
55.24
TensorFlow Tutorial For Beginners Deep learning is a subfield of machine learning that is a set of algorithms that is inspired by the structure and function of the brain. TensorFlow is the second. You see? The name “TensorFlow” is derived from the operations which neural networks perform on multidimensional data arrays...
https://www.datacamp.com/community/tutorials/tensorflow-tutorial?utm_campaign=meetedgar&utm_medium=social&utm_source=meetedgar.com
CC-MAIN-2019-22
refinedweb
6,259
59.43
dct 0.0.4 dct: ^0.0.4 copied to clipboard package runner for dart Use this package as a library Depend on it Run this command: With Dart: $ dart pub add dct With Flutter: $ flutter pub pub add dct This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get): dependencies: dct: ^0.0.4...
https://pub.dev/packages/dct/install
CC-MAIN-2021-17
refinedweb
101
73.17
-------------------------------------------------------------------------------- Fedora Update Notification FEDORA-2008-9669 2008-11-14 11:11:49 -------------------------------------------------------------------------------- Name : gnome-python2-extras Product : Fedora 9 Version : 2.19.1 Release : 21.fc9 URL : Summary...
https://www.redhat.com/archives/fedora-package-announce/2008-November/msg00394.html
CC-MAIN-2016-26
refinedweb
496
56.05
rx_predict_rx_dtree Usage revoscalepy.rx_predict_rx_dtree(model_object=None, data: revoscalepy.datasource.RxDataSource.RxDataSource = None, output_data: typing.Union[revoscalepy.datasource.RxDataSource.RxDataSource, str] = None, predict_var_names: list = None, write_model_vars: bool = False, extra_vars_to_write: list =...
https://docs.microsoft.com/en-us/machine-learning-server/python-reference/revoscalepy/rx-predict-rx-dtree
CC-MAIN-2018-51
refinedweb
436
51.24
I have some programming experience, but I'm still pretty new at C++. As one of my first programs I created a basic guessing game. I use #define to specify the bounds for the random number, but when I try and create the number it gives me a syntax error. I found out that it doesn't like it when I use UPPER_BOUND in the ...
https://cboard.cprogramming.com/cplusplus-programming/108606-sharpdefine-problem.html
CC-MAIN-2017-26
refinedweb
314
75.5
/** * ; import java.io.Closeable; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.io.PrintStream; import org.slf4j.Logger; /* * This code is originally from HDFS, see the similarly named files there * in case of bug fixing, history, etc... */ public class IOUtils { /** *...
https://www.programcreek.com/java-api-examples/?code=maoling/fuck_zookeeper/fuck_zookeeper-master/src/java/main/org/apache/zookeeper/common/IOUtils.java
CC-MAIN-2019-26
refinedweb
314
69.48
08 April 2013 18:10 [Source: ICIS news] HOUSTON (ICIS)--Acrylonitrile (ACN) exports fell by almost 53% in February from the year-ago period, according to data released on Monday by the US International Trade Commission (ITC). February 2013 exports were 21,661 tonnes, down from 45,768 tonnes a year ago. Month to month, ...
http://www.icis.com/Articles/2013/04/08/9656626/acrylonitrile-february-exports-fell-by-53-from-year-ago-itc.html
CC-MAIN-2015-22
refinedweb
102
55.54
Installing and Configuring DNS The Active Directory Installation wizard offers to install DNS if the wizard does not detect a proper DNS zone configuration during the installation of Active Directory. However, you should not rely on the wizard for these tasks. Many bug reports have been submitted regarding installation...
http://www.dummies.com/programming/networking/installing-and-configuring-dns/
CC-MAIN-2016-50
refinedweb
544
66.94
- Advertisement NitMember Content Count285 Joined Last visited Community Reputation533 Good About Nit - RankGDNet+ Unnecessary Challenges Nit commented on a_insomniac's blog entry in Keeping up with yesterdayThis happened to me a few years back, and I know how frustrating this situation must be for you. I'm currently u...
https://www.gamedev.net/profile/77204-abwoodgdnet/
CC-MAIN-2019-04
refinedweb
2,603
52.49
All code from this tutorial as a complete package is available in this repository. If you find this tutorial helpful, please share it with your friends and colleagues! For more like it you can subscribe on Youtube or follow me on Twitter. This tutorial is available as a video lesson if you prefer that format: Table of ...
https://dev.to/alexeagleson/how-to-connect-a-react-app-to-a-notion-database-51mc
CC-MAIN-2022-05
refinedweb
3,374
62.48
I don’t know if this is the correct sub-forum to put this on, but I’ll do it anyway. Would this be a bad way to optimise my code? (for minimum file size) import GameLogic cont = GameLogic.getCurrentController() own = cont.owner c = cont.sensors def setFade(f): own['fade'] = f r = setFade(0) if c["aim"].positive: own['T...
https://blenderartists.org/t/code-optimisation/671298
CC-MAIN-2020-50
refinedweb
182
71.1
#include <sys/capability.h>. For details on the data, see capabilities(7).: −1, meaning perform the change on all threads except the caller and init(1); or a value less than −1, in which case the change is applied to all members of the process group whose ID is − pid. On success, zero is returned. On error, −1. Bad mem...
http://manpages.courier-mta.org/htmlman2/capget.2.html
CC-MAIN-2021-17
refinedweb
152
58.08
Re: "ocaml_beginners"::[] Ocaml + GUI + Mac + Mono? Expand Messages - Okay, no mono. Thank you. That saves me from a very great many hours of potentially frustrating research and software installation. On the other hand, I can see Mono + F# being useful to me to solve other problems, but those are not important now. Fr...
https://groups.yahoo.com/neo/groups/ocaml_beginners/conversations/topics/10238?xm=1&o=1&l=1
CC-MAIN-2017-26
refinedweb
951
64.61
- Cookie policy - Advertise with us © Future Publishing Limited, Quay House, The Ambury, Bath BA1 1UA. All rights reserved. England and Wales company registration number 2008885.. If you're already familiar with other programming languages such as C or PHP, you'll applaud Python's simplicity. For instance, code blocks ...
http://www.tuxradar.com/content/code-project-build-mouse-game-python
CC-MAIN-2017-04
refinedweb
3,595
71.34
Be the first to know about new publications.Follow publisher Unfollow publisher Sanjay Gupta - Info Spread the word. Share this publication. - Stack Organize your favorites into stacks. - Like Like this publication. RISK RETURN ANALYSIS AND COMPARATIVE STUDY OF MUTUAL FUNDS PROF.GARGI NAIDU SOMESH BEHERE MASTER OF BUSI...
http://issuu.com/sanjaykumarguptaa/docs/risk-return-analysis-and-comparative-study-of-mutu
CC-MAIN-2015-32
refinedweb
19,154
66.64
2. Getting Started 2.1. Introduction This chapter covers the installation of Zope and getting started with the development of a simple application. This guide uses a build system called Buildout to build the application. 2.2. Prerequisites Make sure you have Python installed. Version 3.6 or higher is recommended. Creat...
https://zope.readthedocs.io/en/latest/zdgbook/GettingStarted.html
CC-MAIN-2022-21
refinedweb
1,188
52.26
David, Appreciated so much for your sharing. Advertising Best Regards, Adele On 10/25/2011 10:23 AM, David Magda wrote: On Tue, October 25, 2011 09:42, adele....@oracle.com wrote:Hi all, I have a customer who wants to know what is the max characters allowed in creating name for zpool, Are there any restrictions in usin...
https://www.mail-archive.com/zfs-discuss@opensolaris.org/msg47500.html
CC-MAIN-2016-44
refinedweb
185
62.78
I have discovered several issues in 6.8p4, which defines “full expression” and points out the major implications for an expression that is a full expression. In this paper I present the issues, along with my recommendations. For the issues for which it makes sense, I will later submit defect reports. Here is the text o...
http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1729.htm
CC-MAIN-2018-26
refinedweb
927
51.18
David Glasser wrote: > On Jan 29, 2008 8:22 AM, C. Michael Pilato <cmpilato_at_collab.net> wrote: >> I'd like to avoid dump/load, but we can't retroactively prevent users of 1.4 >> clients from setting the svn:mergeinfo property on their 1.4-pedigreed >> repositories. > > Also, I'm just unconvinced that this is somethi...
https://svn.haxx.se/dev/archive-2008-01/0641.shtml
CC-MAIN-2019-35
refinedweb
258
67.76
Hello, Can you test the XSL map "remover_namespace_totalupload" locally using the source payload XML? If you do not have Oxygen, Eclipse, etc. you can do it online - for example Free Online XSL Transformer (XSLT) - FreeFormatter.com An application like Oxygen would help because you also have a debugging mode and it is ...
https://answers.sap.com/questions/11787002/transformerexception-occurred-during-xslt-mapping.html
CC-MAIN-2019-22
refinedweb
134
54.63
Randomly shuffling the elements in an array is a pretty common task. The standard algorithm for this is called the Fisher-Yates shuffle. The modern version of it looks like this in pseudo-code: To shuffle an array a of n elements (indices 0..n-1): for i from n − 1 downto 1 do j ← random integer with 0 ≤ j ≤ i exchange ...
http://re-factor.blogspot.com/2013/02/fast-shuffle.html
CC-MAIN-2016-30
refinedweb
1,536
67.55
Welcome to the Parallax Discussion Forums, sign-up to participate. ' telephonelift.bs2 ' {$STAMP BS2} ' Select BS2 as target module ' {$PBASIC 2.5} ' Select PBASIC 2.5 as language 'sequence: '1- phone rings or up button pushed '2- upper cover panel slides to open position and stops '3- lower table moves to upper positi...
http://forums.parallax.com/discussion/168233/motion-control-telephone-lift
CC-MAIN-2019-09
refinedweb
521
56.52
In a previous article, I outlined the three main jobs of the Uno Platform in order to run a UWP app on iOS, Android, and in the browser: - Parse XAML files; - Implement data-binding; - Implement the suite of views in the UWP framework for each platform. In this article I want to focus on that last point. How does Uno i...
https://dev.to/uno-platform/pushing-the-right-buttons-how-uno-implements-views-57ld
CC-MAIN-2022-27
refinedweb
1,279
63.7
01 November 2011 17:51 [Source: ICIS news] HOUSTON (ICIS)--Surging gasoline and distillate margins and discounted crude throughput for the third quarter pushed Valero earnings about 40% higher, the company said on Tuesday. ($1 = €0.72) Valero net income rose to $1.2bn (€864m) from $292 in the same quarter last year. Pr...
http://www.icis.com/Articles/2011/11/01/9504639/us-valero-earnings-soar-on-high-profit-margins-cheaper-feedstock.html
CC-MAIN-2015-14
refinedweb
324
60.35
Name cyg_clock_sysclock_handle() — Return a handle to the system clock Synopsis #include <cyg/kernel/kapi.h> #include <cyg/clock/api.h> cyg_handle_t cyg_clock_sysclock_handle( void); Description This function returns a handle to the clock object associated with the hardware clock driving the system time. This clock han...
http://doc.ecoscentric.com/ref/clock-common-api-sysclock-handle.html
CC-MAIN-2019-30
refinedweb
169
55.03
I don't understand the details, but would it be possible to sacrifice the button and joystick data on the nunchuck in order to increase the resolution of the accelerometer reporting? The X and Y axes have full resolution, but unless you want a 2 axis accelerometer, that's probably not very helpful. - this is just a tho...
http://forum.arduino.cc/index.php?topic=8661.150
CC-MAIN-2016-07
refinedweb
346
52.83
Problem For a class that represents some resource, you want to use its constructor to acquire it and the destructor to release it. This technique is often referred to as resource acquisition is initialization (RAII). Solution Allocate or acquire the resource in the constructor, and free or release the resource in the d...
https://flylib.com/books/en/2.131.1/using_constructors_and_destructors_to_manage_resources_or_raii_.html
CC-MAIN-2019-04
refinedweb
682
51.58
Messages with line break markers (\\) in the Checkbox test descriptions not correctly extracted for translation Bug Description Binary package hint: checkbox Description: Ubuntu lucid (development branch) Release: 10.04 Description: Ubuntu 9.10 Release: 9.10 checkbox version > 0.8.5 There are several strings appearing ...
https://bugs.launchpad.net/ubuntu/+source/checkbox/+bug/514401
CC-MAIN-2020-05
refinedweb
1,550
63.49
Archive::Zip - Provide an interface to ZIP archive files. use Archive::Zip qw( :ERROR_CODES :CONSTANTS ); my $zip = Archive::Zip->new(); my $member = $zip->addDirectory( 'dirname/' ); $member = $zip->addString( 'This is a test', 'stringMember.txt' ); $member->desiredCompressionMethod( COMPRESSION_DEFLATED ); $member = ...
http://search.cpan.org/~nedkonz/Archive-Zip-1.14/lib/Archive/Zip.pod
crawl-002
refinedweb
3,430
66.84
Get the highlights in your inbox every week. Automate your tweets with Python code running on a Raspberry Pi Make your own Twitter bot with Python and Raspberry Pi Automate your tweets with some simple Python code running on a Raspberry Pi. Subscribe now. Getting started with the Twitter API Twitter is a web service th...
https://opensource.com/article/17/8/raspberry-pi-twitter-bot
CC-MAIN-2020-34
refinedweb
1,148
55.64
Hello, I’m writing SOUL code generator / graph parser for a project and I need to be able to select different external source for different instances of the same processor. Does anyone know if this is even possible at this stage? The issue I found is that you can only specify external variables per namespace / processo...
https://forum.juce.com/t/handling-large-quantities-of-external-sample-data-sources/47169
CC-MAIN-2021-39
refinedweb
390
56.18
Here's the situation... I'm trying to make a 'gradebook' sorta program. I know the code isn't even close to being optimized nor programmed in the best way. The problem.. I can't seem to create an instance of CStudent in a switch statement. I want to use the switch statement to create a menu to give an option of adding ...
http://cboard.cprogramming.com/cplusplus-programming/66433-using-switch-create-object.html
CC-MAIN-2015-35
refinedweb
319
51.86
6. Substitute and Split 6.1. re.sub() Listing 315. Usage of re.sub() import re PATTERN = r'\s[a-z]{3}\s' INPUT = 'Baked Beans And Spam' re.sub(PATTERN, ' & ', INPUT, flags=re.IGNORECASE) # 'Baked Beans & Spam' 6.2. re.split() Listing 316. Usage of re.split() import re PATTERN = r'\s[a-z]{3}\s' INPUT = 'Baked Beans And ...
http://python.astrotech.io/regular-expressions/sub-split.html
CC-MAIN-2019-47
refinedweb
334
55.61
C library function - strrchr() Advertisements Description The C library function char *strrchr(const char *str, int c) searches for the last occurrence of the character c (an unsigned char) in the string pointed to, by the argument str. Declaration Following is the declaration for strrchr() function. char *strrchr(cons...
http://www.tutorialspoint.com/c_standard_library/c_function_strrchr.htm
CC-MAIN-2017-09
refinedweb
174
64.71
tutorial,. Free Bonus: Click here to get access to a free NumPy Resources Guide that points you to the best tutorials, videos, and books for improving your NumPy skills. The Importance of Data Splitting Supervised machine learning is about creating models that precisely map the given inputs (independent variables, or ...
https://realpython.com/train-test-split-python-data/
CC-MAIN-2021-17
refinedweb
3,472
54.93
AtoZ CSS Quick Tip: Benefits of rem and em Values This article is a part of our AtoZ CSS Series. You can find other entries to the series here. You can view the full transcript and screencast for its corresponding video about the :required pseudo class about using the rem and em values. R is for rem and em In the origi...
https://www.sitepoint.com/atoz-css-quick-tip-rem-em-values/?utm_source=sitepoint&utm_medium=articletile&utm_campaign=likes&utm_term=html-css
CC-MAIN-2019-13
refinedweb
746
69.62
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 send context from models.Model to osv.osv ? I want to send context when call method in class osv.osv from models.Model (ne...
https://www.odoo.com/forum/help-1/question/how-to-send-context-from-models-model-to-osv-osv-85480
CC-MAIN-2017-26
refinedweb
172
54.08
EDIT: I am aware that a question with similar task was already asked in SO but I'm interested to find out the problem in this specific piece of code. I am also aware that this problem can be solved without using recursion. The task is to write a program which will find (and print) the longest sub-string in which the le...
https://codedump.io/share/dk9uDM335s0w/1/finding-longest-substring-in-alphabetical-order
CC-MAIN-2017-26
refinedweb
258
75.24
TODO for coalesced symbols: - Should external relocation entries for defined coalesced symbols only be created with -dynamic and not -static? TODO: - Add MacOS line termination \r . Known bugs: - The assembly line: bl ""foo"" causes the symbol name "" to be used. - cmpwi seems to be the same as cmpi for PowerPC. - Can'...
http://opensource.apple.com//source/cctools/cctools-667.4.0/as/notes
CC-MAIN-2016-44
refinedweb
23,782
76.42
Outlier Test in Python Learn how to test for outliers in datasets In order to start performing outlier tests, we will import some data of average wind speed sampled every 10 minutes, also used in the Normality Test Tutorial. data = pd.read_csv('') df = data[0:10] table = FF.create_table(df) py.iplot(table, filename='wi...
https://plot.ly/python/outlier-test/
CC-MAIN-2017-43
refinedweb
626
61.87
With the Object API you can create and manage Open Graph objects using a simple HTTP-based API. The Object API is supported for both mobile and web apps. The Object API is one of two ways that objects can be created. Objects can also be created by adding special markup to web pages that you host. These self-hosted obje...
https://developers.facebook.com/docs/sharing/opengraph/object-api
CC-MAIN-2018-30
refinedweb
2,162
54.42
Using Fatal Errors to Add Clarity and Elegance to Swift The Missing Manual for Swift Development The Guide I Wish I Had When I Started Out Join 20,000+ Developers Learning About Swift DevelopmentDownload Your Free Copy A few months ago, I stumbled upon a discussion in the thoughtbot guides about the use of fatal errors...
https://cocoacasts.com/using-fatal-errors-to-add-clarity-and-elegance-to-swift/
CC-MAIN-2020-45
refinedweb
990
55.03
Contents This programming problem really is nasty. Programming is conceptually one of the most difficult jobs human beings do. Something is needed to make this difficulty manageable. Functions and modules are at the heart of strategies and tactics which achieve this. The Human brain is capable of holding between 5 and ...
http://bcu.copsewood.net/python/notes4.html
CC-MAIN-2017-22
refinedweb
2,691
61.67
Introduction Personally, I think arrow functions are one of the most awesome syntax additions to the JavaScript language introduced in the ES6 specification — my opinion, by the way. I’ve gotten to use them almost every day since I knew about them, and I guess that goes for most JavaScript developers. Arrow functions c...
https://blog.logrocket.com/anomalies-in-javascript-arrow-functions/
CC-MAIN-2019-43
refinedweb
3,946
56.15
- 26 Jun, 2015 2 commits - 25 Jun, 2015 6 commits This was in the main configure.ac script, but not the clientside.. - 24 Jun, 2015 4 commits - 23 Jun, 2015 5 commits - David Johnson authored reload; be sure to set the status so that the webui changes the node color. Watch for illegal imagenames when they are based on ...
https://gitlab.flux.utah.edu/emulab/emulab-devel/-/commits/8f43717b32eb417acd2481f02ff56a75202c6872
CC-MAIN-2020-34
refinedweb
460
59.9
<html> <head> <title>Package overview for net.sf.saxon.tinytree</title> </head> <body> <p>This package is an implementation of the Saxon internal tree structure, designed to minimize memory usage, and the costs of allocating and garbage-collecting Java objects.</p> <p>The data structure consists of a set of arrays, hel...
http://www.java2s.com/Open-Source/Java/REST/alc-rest/net/sf/saxon/tinytree/package.html.htm
CC-MAIN-2014-15
refinedweb
725
52.8
If I understood your problem correctly, then I would say it is NOT a bug!.. I have been able to deploy a service which returns object(java bean)with document/literal style. The generated wsdl is also correct. The service works fine if i invoke a method with ?method=methodname on a URL. I'm also able generate stub class...
http://mail-archives.apache.org/mod_mbox/axis-java-user/200307.mbox/%3C20030717105608.426.qmail@web13906.mail.yahoo.com%3E
CC-MAIN-2014-15
refinedweb
280
60.21
Clojure Programming/Concepts Contents - 1 Concepts - 1.1 Basics - 1.1.1 Numbers - 1.1.2 Structures - 1.1.3 Exception Handling - 1.1.4 Mutation Facilities - 1.1.5 Namespaces [1] - 1.2 Functional Programming - 1.3 Lisp - 1.4 Collection Abstractions - 1.5 Concurrency - 1.6 Macros - 1.7 Libraries - 1.8 References Concepts[...
https://en.wikibooks.org/wiki/Clojure_Programming/Concepts
CC-MAIN-2014-10
refinedweb
7,650
65.62
Red Hat Bugzilla – Bug 443548 Use a dynamic pipe menu for Fedora menu ? Last modified: 2016-09-19 22:38:34 EDT With the following code, we could ship openbox with a dynamic Fedora pipe menu. import gobject>" ...then, in the default menu configuration, all you have to put is: <menu id="fedora" label="Fedora" execute="/p...
https://bugzilla.redhat.com/show_bug.cgi?id=443548
CC-MAIN-2017-09
refinedweb
382
64
CTIME(3) BSD Programmer's Manual CTIME(3) asctime, asctime_r, ctime, ctime_r, difftime, gmtime, gmtime_r, localtime, localtime_r, mktime, timegm, timelocal - convert date and time to ASCII #include <sys/types.h> #include <time.h> extern char *tzname[2]; void tzset(void); char * ctime(const time_t *clock); char * ctime_...
http://mirbsd.mirsolutions.de/htman/i386/man3/asctime_r.htm
crawl-003
refinedweb
803
54.97
Pythonista Countdown on button with .pyui How do I make a timer start to countdown with the click of a button? Here is an image of what I have so far. Im trying to make it so when you click "Launch", the timer starts. Can anyone help me? Thanks @JeremyMH, if you have created this in the UI editor, now you have to move ...
https://forum.omz-software.com/topic/6615/pythonista-countdown-on-button-with-pyui/10
CC-MAIN-2022-27
refinedweb
406
72.73
User Interface When you start Qt Creator, it opens to the Welcome mode, where you can: - Open recent sessions and projects - Create and open projects - Open tutorials and example projects - Read news from the online community and Qt blogs - Create or manage a Qt Account You can use the mode selector (1) to change to an...
https://doc-snapshots.qt.io/qtcreator-master/creator-quick-tour.html
CC-MAIN-2019-13
refinedweb
2,107
64.3
Type: Posts; User: moffy I am having a problem with the CMFCToolBarEditBox control. I have added the below code: MyMFCToolBar.h #pragma once #include "resource.h" class CMyMFCToolBar : public CMFCToolBar { putVolume() only changes the output volume of the wave or directshow audio renderer, it does not change the volume...
http://forums.codeguru.com/search.php?s=eabb4f3d6ab62225c7bd56930b60dfc9&searchid=2754073
CC-MAIN-2014-15
refinedweb
283
76.22
Introduction.. There are some inconsistencies across all web services. For example some web methods take a XML string as input while others take an XmlNode as input. Most web methods return the result as XmlNode while others return to each web service and web method the detailed SDK help page. A summary of the SharePoi...
http://www.c-sharpcorner.com/UploadFile/klaus_salchner/SharePointWS11152005045049AM/SharePointWS.aspx
crawl-003
refinedweb
910
61.77
Now we have a bitmap class we can move on to make use of it within a BmpToAVI class. Add a new class called BmpToAVI to the project. The new class is going to make use of a number of API calls within the VfW API but rather than translate them all it makes more sense to create definitions for only those that are needed....
http://i-programmer.info/projects/38-windows/220-bitmaps-into-videos.html?start=2
CC-MAIN-2018-17
refinedweb
890
50.67
Every time you use some external library, you need compile your application with the library header, but this is not really necessary, if you know the library function interface, then the "extern" can help! The "extern" keyword is used to tell the compiler that the variable will be solved later, at linker time, which m...
http://www.l3oc.com/2015/06/cc-extern-and-use-of-library-without.html
CC-MAIN-2017-51
refinedweb
187
62.48
Joy, frustration, excitement, madness, aha's, headaches, ... codito ergo sum! SkypeWhat is.” Ok, big deal you could say, we already have Messenger. But I recently had some problems making voice connections to family with Messenger. Even when they were using one of the most recent ADSL Routers, with UPnP enabled, I coul...
http://weblogs.asp.net/jan/archive/2003/09.aspx
CC-MAIN-2013-20
refinedweb
1,773
57.98
At import of a record describing a template set its type to InjectedClassNameType (instead of RecordType). LGTM! But let's wait for someone else's review too. @a.sidorin We discovered this error during the CTU analysis of google/protobuf and we could reduce the erroneous C file with c-reduce to the minimal example pres...
https://reviews.llvm.org/D47450
CC-MAIN-2021-31
refinedweb
484
66.03
Shopify can be integrated with Emarsys. The app also automatically installs our Web Extend data collection scripts on your store, which will allow you to deliver personalized product recommendations both on your website and in emails or to track revenue from your campaigns. Here you will find all the information you ne...
https://help.emarsys.com/hc/de/articles/115005679509-Integrationsanleitung-f%C3%BCr-Emarsys-for-Shopify-und-Shopify-Plus-
CC-MAIN-2019-30
refinedweb
1,511
57.77
ooad presentation Post on 05-Dec-2014 Category: Technology 7 download Embed Size (px) DESCRIPTION TRANSCRIPT - 1. Object-Oriented Analysis and Design - 2. How do you write great software every time? - 3. Great software? - 4. The software must do what the customer wants it to do - 5. Make your code smart Well-Designed W...
https://vdocuments.net/ooad-presentation.html
CC-MAIN-2022-40
refinedweb
419
51.78
I cannot understand files I/O, I have the pseudo-code for the program and some code I tried, but I cannot ge it. Could you help me please? *The input file is read character into an array. The array is a large array of 200 characters, and acts as temporary storage before being output after modification to a new file. *T...
https://cboard.cprogramming.com/c-programming/17746-file-i-o-problems-help.html
CC-MAIN-2017-09
refinedweb
268
51.92
This summer I created a pool temperature monitoring and pump control system using a Pi Zero W. This article gives an overview of the system and how I put it together. It allows the temperature of the air and water to be displayed on a web page while automatically turning the pump on and off according to a preset schedu...
https://www.raspberrypi-spy.co.uk/2017/07/pool-temperature-monitoring-and-pump-control-with-the-pi-zero-w/
CC-MAIN-2022-27
refinedweb
3,318
72.46
12345678910111213141516171819202122232425262728293031323334353637 #include <iostream> #include <cmath> #define PROMPT "Please enter a whole number:" #define NOT_PRIME "The number is not a prime number./n" #define PRIME "The number is a prime number./n" #define DONE 0 /* ends successful program */ #define FIRST_FACTOR 3...
http://www.cplusplus.com/forum/beginner/103640/
CC-MAIN-2015-35
refinedweb
148
51.72
Nested Types Classes can also define Nested Types. Nested types are like regular custom types, except they are considered part of the class and their visibility can be scoped as granular as all class Members. Nested types aree declared using the nested in syntax, and (outside of the containing class) are referred to in...
https://docs.elementscompiler.com/Oxygene/Members/NestedTypes/
CC-MAIN-2019-51
refinedweb
166
50.57
Transformation Matrices Pages: 1, 2, 3, 4, 5 Vector mathematics To see how this works, let's review some basic operations on vectors. The addition of two vectors can be shown graphically. It works as might be expected: Two vectors and add up to . Here is how it looks in a graph: Notice how the first vector starts from ...
http://www.linuxdevcenter.com/pub/a/python/2000/07/05/numerically.html?page=2
CC-MAIN-2017-04
refinedweb
375
62.38
Namespace question Expand Messages - Hi, I have a web service that needs to respond to soap requests from two name spaces. (The current namespace and a legacy one.) I'm swapping out the uri in an on_dispatch call. This works fine in that I receive the requests and respond to them. The problem is that the namespace list...
https://groups.yahoo.com/neo/groups/soaplite/conversations/topics/6295?source=1&var=1
CC-MAIN-2015-32
refinedweb
117
77.84
Shape an initial or default display on windows systems. More... #include <windows.h> #include <windowsx.h> #include "ui-prefs.h" #include "ui-term.h" #include "z-virt.h" #include "win-term.h" Shape an initial or default display on windows. Default window layout function. Just a big list of what to do for a specific scr...
http://buildbot.rephial.org/builds/master/doc/win-layout_8c.html
CC-MAIN-2017-43
refinedweb
102
55.1
Python – Telnet Telnet is a type of network protocol which allows a user in one computer to logon to another computer which also belongs to the same network. The telnet command is used along with the host name and then the user credentials are entered. Upon successful login the remote user can access the applications a...
https://scanftree.com/tutorial/python/python-network-programming/python-telnet/
CC-MAIN-2022-40
refinedweb
279
59.19
Enhanced OpenShift CLI: More Stories The enhanced OpenShift CLI can help you manage a large amount of OpenShift clusters securely and efficiently. It is an open source project I created on GitHub. As the third post of enhanced oc series, in this post, I will share with you more stories regarding the use of enhanced oc....
https://morningspace.medium.com/enhanced-openshift-cli-more-stories-8a7dee7f7e72?source=user_profile---------5----------------------------
CC-MAIN-2022-27
refinedweb
815
57.81
Hi all, Newbie warning on. I'm having a problem under Windows where I'm getting an error 10055 when I'm using select() and having 64 sockets open in a single thread. The description for 10055 is "An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was ful...
https://mail.python.org/pipermail/python-list/2003-November/234204.html
CC-MAIN-2014-15
refinedweb
256
55.13
This plugin contributes a new view implementation that provides a dashboard / portal-like view for your Jenkins instance. Add new view On the Jenkins main page, click the + tab to start the new view wizard (If you do not see a +, it is likely you do not have permission to create a new view). On the create new view page...
https://plugins.jenkins.io/dashboard-view
CC-MAIN-2022-21
refinedweb
1,139
63.29