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
Python Data Structures are Fast tl;dr: Our intuition that Python is slow is often incorrect. Data structure bound Python computations are fast. You may also want to see the companion post, Introducing CyToolz. We think that Python is slow Our intuition says that Python is slow: >>> # Python speeds >>> L = range(1000000...
http://matthewrocklin.com/blog/work/2014/05/01/Fast-Data-Structures/
CC-MAIN-2015-40
refinedweb
777
64.91
What is delegation? Could give an example in coding. The following is i found on java glossary. delegation An act whereby one principal authorizes another principal to use its identity or privileges with some restrictions. A good example is found at Javaworld Look at real life : when your boss gives you a job, you can ...
http://forums.devx.com/showthread.php?147701-Need-help-with-simple-program&goto=nextnewest
CC-MAIN-2018-17
refinedweb
517
65.93
signature REGEX structure Regex : REGEX This structure provides an interface to a (subset of) POSIX-compatible regular expressions. Note: however, that the functions resulting from this partial application cannot be pickled. import structure Regex from "x-alice:/lib/regex/Regex" import signature REGEX from "x-alice:/li...
http://www.ps.uni-saarland.de/alice/manual/library/regex.html
CC-MAIN-2018-43
refinedweb
315
56.45
Type-building macros are different from expression macros in several ways: Array<haxe.macro.Expr.Field>. haxe.macro.Context.getBuildFields(). @:buildor @:autoBuildmetadata on a class or enum declaration. The following example demonstrates type building. Note that it is split up into two files for a reason: If a module ...
https://haxe.org/manual/macro-type-building.html
CC-MAIN-2018-17
refinedweb
298
50.43
Template talk:Description User:Moresby/KeyDescription and User:Moresby/ValueDescription are reimplementations of the various {{KeyDescription}} and {{ValueDescription}} templates used widely across this wiki to document tag usage. Contents - 1 Rationale for this new template - 2 Side-by-side comparison - 3 Implementati...
http://wiki.openstreetmap.org/wiki/Template_talk:Description
CC-MAIN-2017-09
refinedweb
10,404
57.71
UFDC Home myUFDC Home | Help | RSS <%BANNER%> TABLE OF CONTENTS HIDE Section A: Main Section A: Main: Opinion Section A: Main continued Section A: Main: Health Section A: Main continued Section B: Sports page B 3 Section B: Classified Advantage page B 4 page B 5 page B 6 Full Text On the Hardwood Columbia, Fort White g...
http://ufdc.ufl.edu/UF00028308/00042
CC-MAIN-2016-50
refinedweb
24,619
75.71
I sometimes work in a very diferent way, I group classes in files by their propose, and use namespaces and regions to give order. It has it drawbacks, I know. even if I'm doing wrong, It is posible to have more than a class in a single file, what if you have more than one partial class in the same file? how will you gr...
https://connect.microsoft.com/VisualStudio/feedback/details/378781/c-partial-classes-solution-explorer
CC-MAIN-2018-05
refinedweb
204
83.25
remark-license remark plugin to generate a license section. Contents - What is this? - When should I use this? - Install - Use - API - Types - Compatibility - Security - Related - Contribute - License What is this? This package is a unified (remark) plugin to generate a license section such as the one at the bottom of ...
https://unifiedjs.com/explore/package/remark-license/
CC-MAIN-2022-05
refinedweb
658
52.87
Nanolog is an extremely performant nanosecond scale logging system for C++ that exposes a simple printf-like API. Nanolog is an extremely performant nanosecond scale logging system for C++ that exposes a simple printf-like API and achieves over 80 million logs/second at a median latency of just over 7 nanoseconds. How ...
https://xscode.com/PlatformLab/NanoLog
CC-MAIN-2021-17
refinedweb
1,419
56.15
“A friend sent me a list of exams” The inputVous receive this string from a friend, it represents a list of all his/her examinations. You copy it and you store it in a .txt file. """ Samedi 23 : 14h - 18h : MES (Méthodologie Enquête Sondage) Mardi 26 : 16h30 - 18h30 : Finance Samedi 6 juin : 9-12 : stats 2ème 16 juin :...
https://robertvandeneynde.be/parascolaire/exos-divers/parse-exams-csv-json-ods/index.html
CC-MAIN-2020-34
refinedweb
759
73.21
Answer:Answer: 1. Please check if the external IFCLK source is present before the firmware sets IFCONFIG.7 = 0. This is necessary in order to provide synchronization for the internal endpoint FIFO logic. IFCLK should be free running. 2. In your fw.c file, replace #define _IFREQ 48000 with #define _IFREQ “your IFCLK fre...
https://community.cypress.com/docs/DOC-12668
CC-MAIN-2020-40
refinedweb
121
63.09
/* Threads compatibility routines for libgcc2 and libobjc for LynxOS. */ /* Compile this one with gcc. */ /*_LYNX_H #define GCC_GTHR_LYNX_H #ifdef _MULTITHREADED /* Using the macro version of pthread_setspecific leads to a compilation error. Instead we have two choices either kill all macros in pthread.h with defining ...
http://opensource.apple.com//source/gcc_42/gcc_42-5531/gcc/gthr-lynx.h
CC-MAIN-2016-40
refinedweb
177
52.46
BizTalk Server SAN + File shares question - From: "BA" <biztalk.architect@xxxxxxxxx> - Date: Tue, 1 Apr 2008 08:47:38 -0400 Has anyone ever had problems with a farm of BizTalk servers picking up files from a SAN via a group of file shares? Apparently my client had this problem with BTS 2002 and I am wondering if anyone...
http://www.tech-archive.net/Archive/BizTalk/microsoft.public.biztalk.general/2008-04/msg00009.html
crawl-002
refinedweb
127
63.63
Sorting is such a common task that C# includes an Array class with a flexible sort method for all your sorting needs. This class is located in the System namespace so make sure you add using System; to the top of your code file. Let us first look at a basic sort to see what the method looks likes: int[] v = {1, 3, 2, 4...
http://forum.codecall.net/topic/65333-c-flexible-sorting/
CC-MAIN-2018-39
refinedweb
840
72.16
Important: Please read the Qt Code of Conduct - How to use/include the QtNetwork Module Hello Everyone, i'm trying to develop a simple application in C++ that sends Files between two computers over LAN. After some research i found out that the QtNetwork Module is the way to go. I do include the QTcpServer and QTcpSocke...
https://forum.qt.io/topic/115740/how-to-use-include-the-qtnetwork-module/5
CC-MAIN-2020-45
refinedweb
409
66.57
In this tutorial, we will learn about the numpy.log() in Python. The Numpy module offers powerful data manipulation methods. It mostly deals with data stored in arrays. The Numpy.log() method lets you calculate the mathematical log of any number or array. Let’s learn how to use numpy.log() to calculate log in python. T...
https://www.journaldev.com/46723/numpy-log-in-python
CC-MAIN-2021-17
refinedweb
625
72.42
What are Access Modifiers? Have you ever wanted to define how people would access some of your properties? You would not want anyone using your underwear. However, your close friends and relatives can use your sweater and maybe your car. Similarly to how you set a level of access to your posessions,: . Let us use priva...
https://www.freecodecamp.org/news/java-access-modifiers-explained/
CC-MAIN-2022-05
refinedweb
723
53.71
right now my program asks for 5 candidates but i want to make the user input as many candidates as they want to. how would i go about doing that?? #include <iomanip> #include <string> using namespace std; int sumVotes(int list[], int size); int winnerIndex(int list[], int size); int main() { string candidates[5]; int v...
https://www.daniweb.com/programming/software-development/threads/358095/am-trying-to-figure-how-to-make-my-program-truly-dynamic
CC-MAIN-2021-43
refinedweb
197
53.89
I m new to python and using Python 3.6.2 and I m trying to scrape data from first 2 page using a specific keyword. So far I m able to get the data into Python IDLE window, but I m facing difficulty in exporting data to CSV.I have tried using BeautifulSoup 4 and pandas but not able to export. Here is the so far what I h...
https://codedump.io/share/eepQfw08L835/1/scraping-web-contents-from-first-two-page-and-export-scraped-data-to-csv-using-python-and-bs4
CC-MAIN-2019-26
refinedweb
372
55.5
Process Overview for Creating and Implementing RTF Sub Templates You must follow this process to work with RTF sub templates. Using a sub template consists of the following steps (described in the following sections): - Create the RTF file that contains the common components or processing instructions that you want to ...
https://docs.oracle.com/en/cloud/paas/analytics-cloud/acpmr/process-overview-creating-and-implementing-rtf-subtemplates.html
CC-MAIN-2020-50
refinedweb
171
62.78
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. Name Error : Name 'time' is not defined Hello all, I am getting an error while refreshing the page in V7 server/openerp/addons/ba...
https://www.odoo.com/forum/help-1/question/name-error-name-time-is-not-defined-22212
CC-MAIN-2017-39
refinedweb
525
69.99
I'd like to parameterize a class with the type of an object to make my code more generic. By doing this, I don't need an implementation for all objects that extend a certain trait. I have the following code that demonstrates my goal: abstract trait Foo { def greet } object Coo extends Foo { def greet = println("Coo!") ...
https://codedump.io/share/pZu02khliK3O/1/how-can-i-parameterize-a-class-with-an-object39s-type-to-get-an-instance-of-it-in-scala
CC-MAIN-2017-09
refinedweb
586
65.52
Run update21 in a terminal window to create cs21/labs/11 directory. Then cd into your cs21/labs/11 directory and create the python program for lab 11 in this directory. The program handin21 will only submit files in this directory. There are some optional components that allow you to further practice your skills in Pyt...
https://web.cs.swarthmore.edu/~adanner/cs21/s15/Labs/lab11.php
CC-MAIN-2020-29
refinedweb
716
64.51
16 August 2011 15:20 [Source: ICIS news] TORONTO (ICIS)--?xml:namespace> Compared with June 2010, chemical industry sales were up 9.2%, Statistics Canada said. Sales of petroleum and coal products fell 6.6% in June from May, to C$5.84bn, but were up 9.5% year on year. Overall Canadian manufacturing sales fell by 1.5% i...
http://www.icis.com/Articles/2011/08/16/9485648/canada-june-chemical-sales-rise-5.8-from-may.html
CC-MAIN-2014-52
refinedweb
177
90.26
Hi there, I have read through the numerous feeds for downloading PLS add-ons and the Python extension modules - however I am stumped quite early on. When I click on the Statistical Tools link under the "Downloads for IBM SPSS Statistics" section of the ibm, developer works page, I am directed to the My Files page witho...
https://developer.ibm.com/answers/questions/218380/ineffective-statistical-tools-link-for-downloads-f.html
CC-MAIN-2019-39
refinedweb
1,445
74.79
Yo Barry, xfsprogs/doc/CHANGES - Rename include/list.h to xfs_list.h so that other applications do not accidentally use it. What was the problem here? This doesnt sound like the right fix - there should be no applications outside of the XFS userspace that use libxfs.h - thats what <xfs/xfs.h> is for (exactly this reaso...
http://oss.sgi.com/archives/xfs/2006-12/msg00239.html
crawl-002
refinedweb
161
67.86
E-Puck Contents - 1 Hardware - 2 Software - 2.1 Getting started - 2.2 Library - 2.3 Standard firmware - 2.4 Programming - 2.5 PC interface - 2.6 Connecting to multiple robots - 2.7 Examples - 2.8 Bootloader - 2.9 Others tools - 3 ROS - 4 Test and Results - 5 Known problems - 5.1 Re-flashing the bootloader on e-puck - 5...
https://www.gctronic.com/doc/index.php?title=E-Puck&amp%3Bdirection=prev&amp%3Boldid=1266&printable=yes
CC-MAIN-2019-35
refinedweb
2,302
51.07
#include <deal.II/base/function_lib.h> Given a wavenumber vector generate a sine function. The wavenumber coefficient is given as a \(d\)-dimensional point \(k\) in Fourier space, and the function is then recovered as \(f(x) = \sin(\sum_i k_i x_i) = Im(\exp(i k.x))\). The class has its name from the fact that it resemb...
http://www.dealii.org/developer/doxygen/deal.II/classFunctions_1_1FourierSineFunction.html
CC-MAIN-2017-43
refinedweb
154
52.97
Hi, I’ve a long code for irrigation system working on Arduino uno. I’m using RTC DS1307 module, however it skips more than 1 minute every day so I purhased ESP8266 module to periodically update time. As I’m using Time.h library together with TimeAlarms library, and I see that there is setSyncProvider(getTimeFunction) c...
https://forum.arduino.cc/t/what-is-the-best-way-to-get-npt-data-to-arduino-using-esp8266/609181
CC-MAIN-2022-40
refinedweb
284
55.95
From: Joaquin M Lopez Munoz (joaquin_at_[hidden]) Date: 2004-03-30 16:12:19 Pavol Droba <droba <at> topmail.sk> writes: > > > > > NAMESPACE > > * Proposal: boost::container::multi_index [...] > I have just one remark about the namespace usage. IMHO it is an overkill to > provide a special namespace for every container....
https://lists.boost.org/Archives/boost/2004/03/63357.php
CC-MAIN-2021-31
refinedweb
218
59.7
It is working correctly but I want to use this functionality in Java instead of Php, So please help me how can i use this??? How to convert Datasource of a Combobox to Datatable in VB.net? I know how to assign datatable to combobox. In this case I need to do it opposite way. Like: dim dt as DataTable = combobox1.DataSo...
http://www.dskims.com/tag/datatable/
CC-MAIN-2019-13
refinedweb
732
62.88
Stand-alone C++ code for log(1+x) If p is very small, directly computing log(1+p) can be inaccurate. Numerical libraries often include a function log1p to compute this function. The need for such a function is easiest to see when p is extremely small. If p is small enough, 1 + p = 1 in machine arithmetic and so log(1+p...
http://www.johndcook.com/cpp_log_one_plus_x.html
CC-MAIN-2014-35
refinedweb
308
75
Like most programming languages, C was developed out of dissatisfaction with existing programming languages. Back in 1969 – when the idea of developing an operating system using a higher-level programming language was still novel – Dennis Ritche was beginning to realise the shortcomings of the B programming language as...
https://www.digit.in/software/learn-c-tutorial-c-basics-28481.html
CC-MAIN-2018-43
refinedweb
1,729
59.43
This tutorial targets Microsoft Fakes Isolation Framework on Visual Studio 2012 Ultimate or later; but, this process is also compatible with the developmental version, project name "Moles", running on Visual Studio 2008 or 2010. This tutorial assumes you have basic understanding of the MSTest framework. How to generate...
http://thecurlybrace.blogspot.com/2012/10/how-to-generate-missing-fakes-shims.html
CC-MAIN-2017-43
refinedweb
416
51.85
One of the primary considerations when building a software platform that other developers based their work on is to maintain backwards compatibility. As the platform grows larger and more complex this can become the major restraining factor when trying to sustain a high development pace. Once you start to use strict se...
https://world.episerver.com/blogs/Henrik-Nystrom/Dates/2016/10/introducing-changes-to-reduce-our-public-api/
CC-MAIN-2019-39
refinedweb
847
57.61
Introduction I have been doing Object Oriented Programming in Java for almost a decade. Recently for the past six months, I have been doing Functional Programming in Scala. This blog is about the reasoning behind why we need “State Monad”. Modifying a variable – SIDE EFFECT If “Design Patterns: Elements of Reusable Obj...
https://vmayakumar.wordpress.com/2015/12/31/magic-of-state-monad/
CC-MAIN-2018-17
refinedweb
1,242
54.12
Java and Chemistry: A Simple Chemical Calculator Lexical analysis of a chemical formula<![if !supportNestedAnchors]><![endif]> Calculation of the molecular weight Example 1: Calculation of molecular weight Example 2: Preparation of a solution with a given concentration Example 3: Preparation of a mixture of two compoun...
http://www.developer.com/tech/article.php/987961/Java-and-Chemistry-A-Simple-Chemical-Calculator.htm
CC-MAIN-2015-18
refinedweb
1,400
53.81
This site uses strictly necessary cookies. More Information Hey all, I am very new to Unity and my math skills aren't fantastic so I apologise in advance for the newbie question ;) Scenario: I have a camera in my scene and I need to adjust it's viewport as the screen resizes in order to place it correctly within the su...
https://answers.unity.com/questions/1034369/converting-position-to-screen-space.html
CC-MAIN-2021-25
refinedweb
714
50.02
A bipartite graph is a type of graph in which we divide the vertices of a graph into two sets. There are no edges between the vertices of the same set. Here in the bipartite_graph, the length of the cycles is always even. Basically, the sets of vertices in which we divide the vertices of a graph are called the part of ...
https://www.tutorialcup.com/interview/graph/bipartite-graph.htm
CC-MAIN-2021-04
refinedweb
801
70.43
20 November 2008 09:43 [Source: ICIS news] SINGAPORE (ICIS news)--Asia’s benzene values fell below the $300/tonne mark, levels not seen since February 2002, on the back of lower crude values and weak market fundamentals, said traders and producers said on Thursday. ?xml:namespace> A deal was heard concluded at $290/ton...
http://www.icis.com/Articles/2008/11/20/9173082/asia-benzene-hits-6-yr-low-at-below-300t.html
CC-MAIN-2014-52
refinedweb
158
50.09
The stack which is implemented as LIFO, where insertion and deletion are done from the same end, top. The last element that entered is deleted first. Stack operations are − The queue which is implemented as FIFO where insertions are done at one end (rear) and deletions are done from another end (front). The first eleme...
https://www.tutorialspoint.com/cplusplus-program-to-implement-queue-using-two-stacks
CC-MAIN-2021-39
refinedweb
327
70.02
Get information about an open file. int _fstat( int fd, struct _stat *buffer ); int _fstat64( int fd, struct __stat64 *buffer ); int _fstati64( int fd, struct _stati64 *buffer ); Return 0 if the file-status information is obtained. A return value of –1 indicates an error, in which case errno is set to EBADF, indicating...
http://msdn.microsoft.com/en-us/library/221w8e43(VS.71).aspx
crawl-002
refinedweb
246
61.22
Collate. NET 1.3.2 See the version list below for details. NuGet\Install-Package Collate.NET -Version 1.3.2 dotnet add package Collate.NET --version 1.3.2 <PackageReference Include="Collate.NET" Version="1.3.2" /> paket add Collate.NET --version 1.3.2 #r "nuget: Collate.NET, 1.3.2" // Install Collate.NET as a Cake Addi...
https://www.nuget.org/packages/Collate.NET/1.3.2
CC-MAIN-2022-40
refinedweb
366
50.53
django_taxbot 0.0.6 A simple Django app to figure out currencies in a limited number of countries============= Django Taxbot ============= This application attempts to make a little bit of sense out of the mess that is the tax landscape. It uses a saved (and regularly updated and expanding) dictionary of aggregated tax...
https://pypi.python.org/pypi/django_taxbot
CC-MAIN-2016-18
refinedweb
535
70.23
I'm starting with input data like this Grouping is simple enough: g1 = df1.groupby( [ "Name", "City"] ).count() and printing yields a GroupBy object: City Name Name City Alice Seattle 1 1 Bob Seattle 2 2 Mallory Portland 2 2 Seattle 1 1 But what I want eventually is another DataFrame object that contains all the rows i...
https://pythonpedia.com/en/knowledge-base/10373660/converting-a-pandas-groupby-output-from-series-to-dataframe
CC-MAIN-2020-40
refinedweb
546
56.05
I am really having a hard time getting recursions but i tried recursion to match a pattern inside a string. Suppose i have a string geeks for geeks and i have a pattern eks to match.I could use many methods out there like regex, find method of string class but i really want to do this thing by recursions. To achieve th...
https://codedump.io/share/niGobX9O91nT/1/searching-pattern-in-a-string
CC-MAIN-2017-13
refinedweb
378
67.65
Steem Developer Portal PY: Convert Sbd To Steem How to convert your SBD to STEEM using Python. Full, runnable src of Convert Sbd To Steem can be downloaded as part of the PY tutorials repository. In this tutorial we will explain and show you how to convert some or all of your available SBD balance into STEEM on the Ste...
https://developers.steem.io/tutorials-python/convert_sbd_to_steem
CC-MAIN-2018-47
refinedweb
544
53.71
Lead Software Engineer It is really helpful example. This is the exact match we were looking for. Thanks very much Convert List to Array Convert List to Array Lets see how to convert List to Array. Code Description... a method Mylist.toArray to convert the List to Array. Here is the code Convert Array to List Convert A...
http://www.roseindia.net/tutorialhelp/allcomments/4934
CC-MAIN-2013-48
refinedweb
304
67.35
C++/CLI is a programming language created by Microsoft as a substitute for the older Managed Extensions for C++, which is now deprecated. As the name suggests, this language offers support for the .NET managed components in a C++ context. Many people are confused about why this language would be used, instead of the mu...
https://www.red-gate.com/simple-talk/dotnet/net-development/creating-ccli-wrapper/
CC-MAIN-2020-05
refinedweb
2,152
67.89
10:00 a.m. This Sunday: Getting Lost on the One True Path Prowler mistakes roof for a train East Palo Alto chief named interim city manager LET'S DISCUSS: Read the latest local news headlines and talk about the issues at Town Square at PaloAltoOnline Support Palo Alto Weekly's print and online coverage of our communit...
http://issuu.com/paloaltoweekly/docs/2012_02_24.paw.section1?viewMode=magazine&mode=embed
CC-MAIN-2015-18
refinedweb
2,303
59.94
.NET From a Markup Perspective In this post, I will show how to use the Windows Workflow Foundation rules engine to provide business logic for a Dynamic Data Entites Web Application. We will show how to change business rules without modifying code, drive the application based on a logical entity model, and map the enti...
http://blogs.msdn.com/kaevans/archive/2008/11/07/using-asp-net-dynamic-data-with-the-windows-workflow-foundation-rules-engine.aspx
crawl-002
refinedweb
1,910
50.63
The source tutorial: Msdn.microsoft.com Tutorial steps were made quicker, so you can make this program a lot faster. To make programs programmed in C#, first you'll need Micro$oft Visual C# 2010 Express: Microsoft.com Direct link: Download.microsoft.com After Installation The difference between solution and project ter...
https://www.moddb.com/groups/curly-bracket-programming-realm/tutorials/c-how-to-make-a-picture-viewer-program
CC-MAIN-2019-04
refinedweb
742
52.15
Lecture 10. What will I learn in this lecture?. What is the difference between machine code and C? Why use C? How do execution of C and Matlab programs differ? What are three methods of expressing a program algorithm? Related Chapters: FER Chapters 1 & 2 . Digital I learn in this lecture? Digital Computer Hardware Inpu...
https://www.slideserve.com/Faraday/lecture-10-10-2-what-is-the-difference-between-machine
CC-MAIN-2018-51
refinedweb
1,301
58.48
06 September 2012 11:44 [Source: ICIS news] SINGAPORE (ICIS)--Crude futures rose on Thursday, rising by more than $1/bbl at one stage, on expectations that the European Central Bank (ECB) will reveal plans for a new bond purchasing programme to address the eurozone debt crisis. At 10:25 GMT, October Brent crude on ?xml...
http://www.icis.com/Articles/2012/09/06/9593154/crude-futures-rise-1bbl-on-hopes-over-ecb-measure.html
CC-MAIN-2014-35
refinedweb
144
54.73
In the last article, I gave you a short introduction to scripting in Unity. Now let’s take that a bit further by making our player move when the game begins! We’ll discuss vectors, translations, and framerate independence. Translating Game Objects First I’ll take you through the steps to move our player automatically, ...
https://blog.justinhhorner.com/player-movement-using-translate
CC-MAIN-2022-27
refinedweb
1,933
73.07
SuanShu Scripting in Groovy We can make Groovy into one all-powerful math computing environment for numerical analysis. Groovy is an object-oriented programming language for the Java platform. It is dynamically compiled to Java Virtual Machine bytecode and therefore inter-operates with SuanShu and other Java libraries....
http://numericalmethod.com/up/suanshu/scripting/groovy/
CC-MAIN-2017-26
refinedweb
660
60.31
Xamarin Android: Handle Hardware Key in Spinner Dropdown I've got an Android application written using Xamarin Android (not Xamarin Forms). It runs on a Zebra WT6000, which has hardware keys "P1" and "P2". By default, these are mapped to volume-down and volume-up (respectively). Within my application, I use these keys ...
http://quabr.com/53162552/xamarin-android-handle-hardware-key-in-spinner-dropdown
CC-MAIN-2018-51
refinedweb
335
58.38
Filtering a sound recording Recently I was listening to an MP3 file of a talk about no-till gardening when I noticed that there was a noticable buzz in the sound. I figured I would try my hand at sound filtering with Python as a learning experience. The Python standard library doesn’t have a module for reading mp3 file...
http://rsmith.home.xs4all.nl/miscellaneous/filtering-a-sound-recording.html
CC-MAIN-2019-26
refinedweb
1,331
75.61
MPROTECT(2) BSD Programmer's Manual MPROTECT(2) mprotect - control the protection of pages #include <sys/types.h> #include <sys/mman.h> int mprotect(void *addr, size_t len, int prot); The mprotect() system call changes the specified pages to have protection prot. Not all implementations will guarantee protection on a p...
https://www.mirbsd.org/htman/i386/man2/mprotect.htm
CC-MAIN-2016-07
refinedweb
140
51.34
import "rsc.io/qr/coding" Package coding implements low-level QR coding details. Field is the field for QR error correction. Alpha is the encoding for alphanumeric data. The valid characters are 0-9A-Z$%*+-./: and space. type Code struct { Bitmap []byte // 1 is black, 0 is white Size int // number of pixels on a side S...
https://godoc.org/rsc.io/qr/coding
CC-MAIN-2020-50
refinedweb
401
64.81
I am trying to target a particular styling for all browsers except for ie9 and below. I did this to target IE9 and below: <!--[if lte IE 9]> <link rel="stylesheet" href="css/ie/ie.min.css"> <![endif]--> <!--[if lt IE 9]> <link rel="stylesheet" href="css/ie/ie.min.css"> <![endif]--> <!--[if IE 9]> <link rel="stylesheet"...
https://codedump.io/share/uKg98wlMMfAS/1/how-do-i-target-css-styling-to-other-browsers-except-for-ie9
CC-MAIN-2017-43
refinedweb
220
68.26
cgroups man page cgroups — Linux control groups Description Control cgroups,). Terminology. Cgroups version 1 and version 2-v2.txt.) Because of the problems with the initial cgroups implementation (cgroups version 1), starting in Linux 3.10, work began on a new, orthogonal implementation to remedy these problems. Initi...
https://www.mankier.com/7/cgroups
CC-MAIN-2017-47
refinedweb
900
57.06
." Another advantage for TPM chips... (Score:4, Informative) TPM chips have their bad things, but one thing they do offer is a cryptographically secure RNG. Its completely understandable not to trust it 100% completely, but you can use the random number stream it puts out as a good addition to the /dev/random number po...
http://it.slashdot.org/story/09/08/03/2151225/entropy-problems-for-linux-in-the-cloud
CC-MAIN-2014-52
refinedweb
5,237
63.19
Re: what does 'a=b=c=[]' do - From: Rolf Camps <rolf@xxxxxxx> - Date: Thu, 22 Dec 2011 09:51:54 +0100 alex23 schreef op wo 21-12-2011 om 16:50 [-0800]:) I'm afraid it's dangerous to encourage the use of '[]' as assignment to a parameter in a function definition. If you use the function several times 'default' always po...
http://coding.derkeiler.com/Archive/Python/comp.lang.python/2011-12/msg01148.html
CC-MAIN-2015-18
refinedweb
224
79.09
You can subscribe to this list here. Showing 3 results of 3 latest version of OBI: how to use SVN: agenda: - release starting this week: please be extra careful when editing agreement to go ahead with release, MC wil check with PRS and SAS about MSI terms from coord: terms from non-OBI namespace (NMR, CHROM) will be re...
http://sourceforge.net/p/obi/mailman/obi-devel/?viewmonth=200811&viewday=19
CC-MAIN-2014-23
refinedweb
449
51.45
String Buffer class in Java is a JDK 5.0 Specification that is used to create mutable strings. It is available in java.util package. It can also have methods provided in this class which directly manipulate the data inside the object. Creating String Buffer Object: There are two ways to create string buffer object 1. W...
http://www.tutorialtpoint.net/2021/12/string-buffer-class-in-java.html
CC-MAIN-2022-05
refinedweb
304
51.14
Hi.. i search a lot on net but couldnt found solution so thought to ask here.. i want to change default namespace in VS2010 When i create asp.net website by default i got this namespaces in the .cs file of webform using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; ...
http://www.dotnetspark.com/links/61427-change-default-namespace-vs2010.aspx
CC-MAIN-2017-51
refinedweb
209
70.5
Hello I have a question regarding the function length(). I want to find out the length of the string that is inputted by the user. When I use the length() function it only counts the characters from the first word. Can somebody please take a look at my code and determine why my code is only outputting the number of cha...
https://www.daniweb.com/programming/software-development/threads/364150/string-length-function
CC-MAIN-2017-34
refinedweb
121
71.24
Unformatted text preview: Project 2: Recursive Data Structures EECS 280 Winter 2011 Due: Tuesday, February 8th, 11:59 PM Introduction This project will give you experience writing recursive functions that operate on recursively-defined data structures and mathematical abstractions. Lists A "list" is a sequence of zero ...
https://www.coursehero.com/file/6780700/Project-2/
CC-MAIN-2018-09
refinedweb
2,575
57.81
PsiAPI Tutorial: Using Psi4 as a Python Module¶ transcribed by D. A. Sirianni psi4.in front, then submit it to the executable psi4which processes the Psithon into pure Python and runs it internally. In PsiAPI mode, you write a pure Python script with import psi4at the top and commands are behind the psi4.namespace, the...
http://psicode.org/psi4manual/master/psiapi.html
CC-MAIN-2019-09
refinedweb
2,529
59.09
What follows are my solutions to Codility sample tasks. I did lots of both serious and stupid mistakes getting to decent solutions and my first submits were just sad. For the first one I forgot to return $-1$ in the case where there is no equilibrium index. For the second, this one took me the longest, I had forgotten ...
http://nbviewer.jupyter.org/github/finiterank/iPython-Notebooks/blob/master/Codility.ipynb
CC-MAIN-2018-51
refinedweb
1,384
59.53
How to add onMouseEnter or onMouseOver in ReactJS You need an event when a user’s mouse hovers over an HTML element or React component. So you run into onMouseOver and onMouseEnter. They both behave the same, so which one is the right one for you? difference between mouseover and mousenter Both of these events behave t...
https://linguinecode.com/post/how-to-add-onmouseenter-or-onmouseover-in-reactjs
CC-MAIN-2022-21
refinedweb
494
50.53
The normal way that you create an ADO.NET Data Services (aka Astoria) Service is by creating a class that derives from DataService<T>. public class BloggingService : DataService<BloggingEntities> And if you want to use Entity Framework under the hood the T you supply must derive from ObjectContext. Now this works great...
https://blogs.msdn.microsoft.com/alexj/2009/10/14/tip-38-how-to-use-codeonly-with-astoria/
CC-MAIN-2017-09
refinedweb
303
63.09
Tax Have a Tax Question? Ask a Tax Expert Hi, First some good news, Tennessee doesn't have an income tax The state does, however, levy a tax on interest and dividend income over $1,250 per person. And just as a heads up, like most states with no income tax, Tennessee does have a relatively high sales tax rate of 7% on ...
https://www.justanswer.com/tax/83zcg-hi-opportunity-kellogg-require.html
CC-MAIN-2017-30
refinedweb
575
74.12
This year saw record cuts in payouts, but companies may be more generous to shareholders in 2010 What was generally a good year for stocks was a terrible year for dividend-focused investors. In 2009, dividend payouts from the large-cap Standard & Poor's 500-stock index are set to fall $52.6 billion, or 21.4%, from 2008...
http://www.bloomberg.com/bw/stories/2009-12-21/dividends-a-slow-recovery-in-2010businessweek-business-news-stock-market-and-financial-advice
CC-MAIN-2015-14
refinedweb
883
55.03
A wrapper around etcd3 package Project description etcd3_wrapper A thin wrapper around Python module etcd3 to make it a little easier to deal with etcd. Warning: The API isn't fully stable and can changed significantly in future. For Example, you want to get an entry from etcd. You would write something like this from ...
https://pypi.org/project/etcd3-wrapper/
CC-MAIN-2020-05
refinedweb
181
61.02
Keen Veracity Issue 14 - This issue has articles entitled Squatters Exposed!, The Art of Social Engineering, ciscoBNC.c, Wireless Technology Exposed, and more. 05fea62d4b2eff64b235e68f40ad467e -------------------------------------------------------------------------------- _ _ _ _ _ | | / ) | | | | (_)_ | | / / ____ __...
http://packetstormsecurity.org/files/40484/kv14.txt.html
crawl-003
refinedweb
9,152
63.29
Each Answer to this Q is separated by one/two green lines. I’m trying to get a pretty print of a dictionary, but I’m having no luck: >>> import pprint >>> a = {'first': 123, 'second': 456, 'third': {1:1, 2:2}} >>> pprint.pprint(a) {'first': 123, 'second': 456, 'third': {1: 1, 2: 2}} I wanted the output to be on multipl...
https://techstalking.com/programming/python/pprint-dictionary-on-multiple-lines/
CC-MAIN-2022-40
refinedweb
258
74.79
. select ascii('ü') select replace('aosidmfüasdfom', 'ü', 'X') with a table it would be: select replace(fieldvalue', 'ü', '') from tablen. create function dbo.replace_extended_char ( @char char(1) ) returns char(1) as begin return ( select case when ascii(@char) < 127 then @char else case @char when 'Ç' then 'C' when '...
https://www.experts-exchange.com/questions/23809769/How-to-find-and-replace-characters-like-etc.html
CC-MAIN-2018-17
refinedweb
353
62.27
Handling Paginated Resources in Ruby Wrap your paginated collections in Enumerable goodness The thing with paginated data is we can't get it all at once. Let's say we're using the Trello API. There are a number of Trello endpoints that return paginated data sets, such as boards, lists, cards, and actions (like comments...
https://rossta.net/blog/paginated-resources-in-ruby.html
CC-MAIN-2018-47
refinedweb
2,058
58.08
Writing Apache's Logs to MySQL Pages: 1, 2, 3 Querying the Database Queries can run on the database immediately. The examples below are in straight SQL syntax. Some use the nested query syntax available only in MySQL 4.1 or above. If you intend to write automated scripts in Perl or Python or whatever, it may be easier ...
http://www.onlamp.com/pub/a/apache/2005/02/10/database_logs.html?page=3&x-order=date&x-maxdepth=0
CC-MAIN-2013-48
refinedweb
884
60.35
Line Plots using Matplotlib - Mar 4 • 3 min read - Key Terms: line plot, datetime Import Modules import matplotlib.pyplot as plt from datetime import datetime % matplotlib inline Generate a Simple Line Plot We call the plot method and must pass in at least two arguments, the first our list of x-coordinates, and the sec...
https://dfrieds.com/data-visualizations/line-plots-python-matplotlib
CC-MAIN-2019-26
refinedweb
481
71.55
Raspberry Pi Controlled Codebug With I2C Introduction. Set up Tethered mode For Tethered mode you need to load your CodeBug with a special project file. This is downloaded to CodeBug just the same as a regular user program (refer to the download guide for details). Download this I2C Tether mode project and load it onto...
https://www.codebug.org.uk/learn/activity/62/raspberry-pi-controlled-codebug-with-i2c/
CC-MAIN-2021-39
refinedweb
497
59.94
Petal::Cookbook - Recipes for building templates with Petal This document contains some examples of Petal template usage. Most of these examples deal with using Petal to generate HTML files from HTML templates. When using Petal for web application development, your templates should not need to be accessible by the webs...
http://search.cpan.org/~bpostle/Petal-2.19/lib/Petal/Cookbook.pod
CC-MAIN-2016-36
refinedweb
1,612
57.61
Parent Directory | Revision Log Fixed missing headers in non-template mode. #! TemplateObject; use strict; use Tracer; use PageBuilder; use FIG_CGI; use FigWebServices::SeedComponents::Framework; =head1 Template Object Manager =head2 Introduction The template object manager is used to build HTML in the presence or abse...
http://biocvs.mcs.anl.gov/viewcvs.cgi/FigKernelPackages/TemplateObject.pm?revision=1.6&view=markup&pathrev=mgrast_rel_2008_0917
CC-MAIN-2020-24
refinedweb
1,486
67.25
Programmers see in C++0x standard an opportunity to use lambda-functions and other entities I do not quite understand :). But personally I see convenient means in it that allow us to get rid of many 64-bit errors. Consider a function that returns "true" if at least one string contains the sequence "ABC". typedef vector...
http://www.viva64.com/en/b/0060/
CC-MAIN-2014-35
refinedweb
839
56.76
Tools for stress testing applications. Project description Stress testing of applications can be done in lots of different ways. This package provides an easy to use tool to stress test applications which take files as parameters. Editors, image viewers, compilers, and many more classes of apps come to mind. The stress...
https://pypi.org/project/fuzzing/
CC-MAIN-2020-29
refinedweb
355
51.14
ASP of the code samples that I write, I create an instance of a DataContext object, but I never properly dispose of it. Is this wrong? The DataContext class implements the IDisposable interface. In general, if a class implements the IDisposable interface, then that is good evidence that you should call Dispose(). But k...
http://weblogs.asp.net/stephenwalther/asp-net-mvc-tip-34-dispose-of-your-datacontext-or-don-t
CC-MAIN-2015-48
refinedweb
1,512
50.53
Renaming the Script Project in SSIS 2008 I found something interesting in SSIS 2008 today, and thought I’d share it. I was working with David Darden on a package that included a script task. In 2008, the Visual Studio Tools for Applications (VSTA) environment is used to edit script tasks. It exposes a few more details ...
http://agilebi.com/jwelch/2008/04/
CC-MAIN-2017-47
refinedweb
403
80.82
💬 Gas Sensor This thread contains comments for the article "Gas Sensor" posted on MySensors.org. Just a note for any Domoticz users who may try this sketch - it presents in the log, but is not available under 'Devices' to be added UNTIL it gets a reading > 0. My solution to that was to go put the node over the gas hob...
https://forum.mysensors.org/topic/4813/gas-sensor/
CC-MAIN-2019-39
refinedweb
2,257
56.59
How to convert JVC MOD to AVI on Mac with Mac MOD to AVI Converter MOD to AVI Converter for Mac is best conversion software for you to convert MOD to AVI, MP4, WMV, MPEG, iPod, iPhone, etc. on Mac OS, and you will never complain about how to play your MOD files on Mac. -mac.htm TS to MOV on Mac - How to use Mac TS to M...
http://www.jumptags.com/appletv1985/
crawl-003
refinedweb
585
69.08
DELETE method 36 * <p> 37 * The HTTP DELETE method is defined in section 9.7 of 38 * <a href="">RFC2616</a>: 39 * <blockquote> 40 * The DELETE method requests that the origin server delete the resource 41 * identified by the Request-URI. [...] The client cannot 42 * be guaranteed that the operation has been carried ou...
http://hc.apache.org/httpcomponents-client-4.3.x/httpclient/xref/org/apache/http/client/methods/HttpDelete.html
CC-MAIN-2014-10
refinedweb
160
58.32
Plone 3 has switched to use Zope 3 viewlet components instead of the old macro include approach. This tutorial intends to teach you what viewlets and viewlet managers are, and how you can play with them in the context of adding a new theme to a Plone 3.0 site. Even if it is or will be possible to go through all the st...
http://plone.org/documentation/kb/customizing-main-template-viewlets/tutorial-all-pages
CC-MAIN-2013-48
refinedweb
4,445
65.83
I have the following code and feel it could be more efficient. Meaning this is 3x3 board and could be done manually but what if it were a 30x30 board or bigger? x = [[1, 2, 0],[2, 1, 0],[2, 1, 0]] for y in range (3): if ((x[0][0] == x[1][0] == x[2][0] == y) or (x[0][1] == x[1][1] == x[2][1] == y) or (x[0][2] == x[1][2]...
https://codedump.io/share/uSew5aXTbL15/1/how-to-create-a-formula-that-checks-who-won-a-tic-tac-toe-game-without-lots-of-if-statements
CC-MAIN-2017-17
refinedweb
542
52.43
Modals are very useful for displaying one view on top of another. However, they are more than an absolutely positioned <div> element wrapping everything when it comes to implementation. Especially if you need dynamic URLs, page refreshes, or a simple scrolling interaction on a mobile device. In this article, we’ll disc...
https://blog.logrocket.com/building-a-modal-module-for-react-with-react-router/
CC-MAIN-2022-05
refinedweb
2,123
54.42
To unlink an entry, the following code is used: int c_unlink (resmgr_context_t *ctp, io_unlink_t *msg, RESMGR_HANDLE_T *handle, void *reserved) { des_t parent, target; int sts; struct _client_info cinfo; if (sts = iofunc_client_info (ctp, 0, &cinfo)) { return (sts); } if (connect_msg_to_attr (ctp, &msg -> connect, hand...
http://www.qnx.com/developers/docs/6.6.0_anm11_wf10/com.qnx.doc.neutrino.cookbook/topic/s2_ramdisk_c_unlink.html
CC-MAIN-2018-09
refinedweb
409
64.91
Opened 11 years ago Closed 11 years ago #953 closed enhancement (invalid) helper functions to get/set file dependant cache data Description from django.core.cache import cache import sha, os FILE_CACHE_TIMEOUT = 60 * 60 * 60 * 24 * 31 # 1 month FILE_CACHE_FMT = '%(name)s_%(hash)s' def set_cached_file(path, value): """ ...
https://code.djangoproject.com/ticket/953
CC-MAIN-2016-50
refinedweb
264
77.13
21 October 2010 16:08 [Source: ICIS news] LONDON (ICIS)--Education cuts announced as part of UK chancellor George Osborne’s spending review on 20 October pose a grave risk to industry, David Brown, CEO of the Institution of Chemical Engineers (IChemE), said on Thursday. Brown said that cuts to the education budget coul...
http://www.icis.com/Articles/2010/10/21/9403445/education-budget-cuts-pose-grave-risk-to-uk-industry-icheme.html
CC-MAIN-2015-11
refinedweb
166
52.83
clock_gettime(3) BSD Library Functions Manual clock_gettime(3) NAME clock_gettime, clock_settime, clock_getres, clock_gettime_nsec_np -- get/set date and time SYNOPSIS #include <time.h> int clock_gettime(clockid_t clock_id, struct timespec *tp); int clock_settime(clockid_t clock_id, const struct timespec *tp); int cloc...
http://www.manpagez.com/man/3/clock_gettime_nsec_np/
CC-MAIN-2020-05
refinedweb
623
55.24
#include <Wire.h>int slaveIn;void setup() { Wire.begin();}void loop() { Wire.requestFrom(1, 1); while(Wire.available()==0); slaveIn = Wire.read(); Serial.println(slaveIn); delay(1000);} #include <Wire.h>int counter = 0;void setup() { Wire.begin(1);}void loop() { Wire.onRequest(request);}void request(){ Wire.write(count...
http://forum.arduino.cc/index.php?topic=148028.0;prev_next=prev
CC-MAIN-2015-06
refinedweb
181
71