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 functions are much like normal variables. def double(x): return x * 2 def add_one(x): return x + 1 I can put these two functions in a list. function_list = [double, add_one] These functions have not executed just, but I can keep them around to run later. That's what is happening in this block of code; number =...
https://calmcode.io/lambda/functions.html
CC-MAIN-2020-34
refinedweb
107
73.58
A HashTable is a collection of key-value pairs. The object to be used as a key should implement the hashCode and equals methods. The key and the value should not be null. You can read more about the difference between a HashTableand HashMaphere. computeIfPresent()method The computeIfPresent() method computes a new valu...
https://www.educative.io/answers/how-to-use-the-hashtablecomputeifpresent-method-in-java
CC-MAIN-2022-33
refinedweb
422
51.75
Mickeol Ison becomes first wire-to-wire winner at Pebble Beach. PAGE 11 C T R U S- (_ '. _ 73 47 44 FORECAST: Partly cloudy in the morning. Chance of showers 30 percent PAGE 2A m I. Shil te CPyoghted _Materiayvn big ,--Syndicated Content Available from Commercial News Providers" Looming question: Manager's future Crys...
https://ufdc.ufl.edu/UF00028315/00045
CC-MAIN-2021-17
refinedweb
20,284
75.1
Tutorial 1e: Connecting neurons¶ In the previous parts of this tutorial, the neurons are still all unconnected. We add in connections here. The model we use is that when neuron i is connected to neuron j and neuron i fires a spike, then the membrane potential of neuron j is instantaneously increased by a value psp. We ...
https://brian.readthedocs.io/en/1.4.3/tutorial_1e_connecting_neurons.html
CC-MAIN-2019-30
refinedweb
509
68.4
Details Join devRant Pipeless API From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple APILearn More - God dam all the memes that keep coming up on devRant. Can we get support for custom filters? Hide when post.text.length < 50 && post.img is not...
https://devrant.com/users/cybojenix
CC-MAIN-2021-25
refinedweb
855
73.37
Write a program that calculates area/volume of various shapes. 1st call function w/ prototype: void showMenu(int &); which displays menu this is what the output should be: this is what i have so far... yeah, fairly lost // This program is designed to allow the user to calculate the area and volume of various shapes. #i...
https://cboard.cprogramming.com/cplusplus-programming/155104-ahh-need-massive-help-cplusplus-program-dealing-calculation-volume-area.html
CC-MAIN-2017-13
refinedweb
152
63.29
Recently we got these really cool RGB bulbs that are controlled by an IR remote control. You plug them into your house hold light bulb socket and presto, you can set the mood of any room! They were a hit with just about. Hardware and Assembly: If you want to follow along with this tutorial, you will need: RBG 3W or 10W...
http://www.jayconsystems.com/tutorials/IR_Controlled_RGB_Module
CC-MAIN-2016-50
refinedweb
569
75.71
04-11-2017 11:27 AM Hi, I came across one dataset which consist of state region1 region2 region3 abc 20 30 50 def 40 30 30 ghi 25 35 40 xyz 30 45 20 i need to find out the sum of each region and which region is largest among the 3 regions? Can some one help me ? 04-11-2017 11:35 AM Use proc means data have; input state...
https://communities.sas.com/t5/Base-SAS-Programming/sum-of-column/td-p/349165?nobounce
CC-MAIN-2017-47
refinedweb
281
74.73
Explain React Native? React Native is an open-source JavaScript framework introduced by Facebook. It is used for developing a real, native mobile application for iOS and Android platforms. It uses only JavaScript to build a mobile app. It is like React, which uses native components rather than using web components as b...
https://blog.codehunger.in/react-native-interview-questions/
CC-MAIN-2021-43
refinedweb
2,556
57.77
Hi All, I have a requirement where I need to read a file with so many carriage return line feeds. Attached is the file I am reading. I have written a sample application to read the file and and remove these new line feeds but when I execute it, I see the line feed. import java.io.*; public class Main { public static vo...
http://www.javaprogrammingforums.com/whats-wrong-my-code/38053-removing-line-feeds-carriage-returns.html
CC-MAIN-2015-22
refinedweb
154
60.21
Dear all, I was trying to change all figure fonts to Arial, or Times, but without any luck. below is the section I modify the property. ··· from numpy import * from matplotlib import pyplot as plt import pylab params = {‘font.size’ : 16, ‘axes.labelsize’ : 16, ‘font.style’ : ‘normal’, 'font.family' : 'sans-serif', 'fon...
https://discourse.matplotlib.org/t/change-font-name-under-certain-font-family/14199
CC-MAIN-2019-51
refinedweb
151
61.73
If you regard writing tests as a lame checkbox task, nothing could be farther from the truth. Done correctly, tests are one of your application’s most valuable assets. The Django framework in particular offers your team the opportunity to create an efficient testing practice, based on the Python standard library unitte...
https://practicaldev-herokuapp-com.global.ssl.fastly.net/victoria/increase-developer-confidence-with-a-great-django-test-suite-4g99
CC-MAIN-2020-50
refinedweb
1,122
53.81
27 February 2012 10:47 [Source: ICIS news] SINGAPORE (ICIS)--SABIC plans to shut one of its polypropylene (PP) facilities at Al Jubail, ?xml:namespace> The affected PP plant is one of the smaller units of Ibn Zahr (Saudi European Petrochemical Co), with a nameplate capacity of 320,000 tonnes/year, the source said. SABI...
http://www.icis.com/Articles/2012/02/27/9535951/saudis-sabic-plans-week-long-shutdown-at-pp-plant-in-early-march.html
CC-MAIN-2015-22
refinedweb
105
71.85
Even-Odd Partition May 4, 2012 We keep two indices: lo is the lowest-indexed element in the vector that we have not yet examined, and hi is the highest-indexed element in the vector that we have not yet examined. Initially, lo is 0 and hi is one less than the length of the vector. Then we iterate. At each step we look ...
https://programmingpraxis.com/2012/05/04/even-odd-partition/2/
CC-MAIN-2017-30
refinedweb
1,634
64.24
In this tutorial, you're going to learn about Ionic Push, an Ionic service which makes it easy to send push notifications to your users. Ionic Push allows you to send push notifications to the users of your app. These can be triggered whenever you choose. For example, when it's the user's birthday, you could automatica...
https://code.tutsplus.com/tutorials/get-started-with-ionic-services-push--cms-28718
CC-MAIN-2018-26
refinedweb
2,922
55.13
AWS supports identity federation using Security Assertion Markup Language (SAML) 2.0, an open standard used by many identity providers. This feature enables federated single sign-on (SSO), which lets users log into the AWS Management Console or call the AWS APIs without you having to create IAM users for everyone in yo...
http://docs.aws.amazon.com/STS/latest/UsingSTS/CreatingSAML.html
CC-MAIN-2015-18
refinedweb
1,128
52.7
- How to get the updates - Photoshop 2015.0.1 Update (08/03/2015) Photoshop 2015.0.1 Update (08/03/2015) 08/03/2015 – Today we released Photoshop CC 2015 update version 2015.0.1 (Mac and Windows), resolving the following issues: - Crash when Be3D printer profile is present in presets (win only) - Crash on launch “Vulca...
http://blogs.adobe.com/crawlspace/2015/08/photoshop-cc-2015-0-1-update-now-available.html?replytocom=42594
CC-MAIN-2019-51
refinedweb
3,101
61.46
THE CAUSE FOR FAILURE IN THE PURSUIT OF SHAREHOLDER VALUE FOR FTSE 100 AND S&P500 COMPANIES Growth of dividend income and capital are all-important aspects. They offer total return from share investment, and as expected, many investors turn to companies, which can beat the total return that is delivered by the broader ...
https://hubpages.com/business/THE-CAUSE-FOR-FAILURE-IN-THE-PURSUIT-OF-SHAREHOLDER-VALUE-FOR-FTSE-100-AND-SP500-COMPANIES
CC-MAIN-2017-22
refinedweb
2,374
50.57
Hi, I'm a newbie to C# programming and .NET framework. I have the following q's 1. Can i send the SOAP/HTTP request to apache server (apache doesnt host a web service(in this case) 2. I need to extract the SOAP message by the extension module (i have written for apache) and forward it to my Appserver? All i need is a w...
http://forums.devx.com/showthread.php?16392-C-client-sending-SOAP-HTTP-request-to-Apache-server&p=37362
CC-MAIN-2015-11
refinedweb
1,775
62.68
Frequently Asked Questions¶ Contents - Frequently Asked Questions - What is the key idea of Snakemake workflows? - Snakemake does not connect my rules as I have expected, what can I do to debug my dependency structure? - My shell command fails with with errors about an “unbound variable”, what’s wrong? - My shell comma...
https://snakemake.readthedocs.io/en/stable/project_info/faq.html
CC-MAIN-2021-39
refinedweb
4,697
65.12
From: Peter Dimov (pdimov_at_[hidden]) Date: 2002-01-28 07:29:05 From: "Yitzhak Sapir" <ysapir_at_[hidden]> > Hi. I would like to make a request as a user: Can all the > functions/classes in the subject line (and perhaps others) be defined > with a macro BOOST_BIND_INLINE or BOOST_FUNCTIONAL_INLINE, etc. Then at > the ...
https://lists.boost.org/Archives/boost/2002/01/23885.php
CC-MAIN-2022-21
refinedweb
354
73.27
This is my first post on this forum, so I hope I am doing this right. I am getting some strange behavior from the CapacitiveSensor library. My setup is just the basic capacitive sensor setup like this: where the sensor is a piece of metal behind some cardboard and my arduino is powered by my laptop. The connection to t...
https://forum.arduino.cc/t/capacitivesensor-library-not-working-properly/911160
CC-MAIN-2021-49
refinedweb
270
61.06
Import redirect module error I am trying to change a .raw file into another form to be used in matlab. I am initializing the program as import os import sys PSSE = r"C:\Program Files (x86)\PTI\PSSEXplore34\PSSBIN" sys.path.append(PSSE) os.environ["PATH"] += ";" + PSSE import redirect import psspy but I am getting the e...
https://psspy.org/psse-help-forum/question/4510/import-redirect-module-error/
CC-MAIN-2018-43
refinedweb
119
61.63
How to debug this?BurtJ Oct 5, 2010 5:21 PM Under Flash Player 10.1 on Windows, we are suddenly getting an error that did not occur under player 9 or 10, and does not appear in any version of player on Mac. The biggest problem is that the entire error stack is inside the Flash framework, initiated by a callLaterDispatc...
https://forums.adobe.com/thread/734352
CC-MAIN-2017-47
refinedweb
3,287
52.46
On Tue, Dec 27, 2011 at 10:15:01PM +0100, Nick Wellnhofer wrote: > On 27/12/11 21:33, Marvin Humphrey wrote: >> Ah, I see that you have a process_request() method in the LUCY-205 patch >> already -- and though it does not take a socket-handle/fileno as an argument, >> it can be modified easily to do so. > > That's an i...
http://mail-archives.apache.org/mod_mbox/lucy-dev/201112.mbox/%3C20111227213145.GA12342@rectangular.com%3E
CC-MAIN-2019-22
refinedweb
316
61.26
* A friendly place for programming greenhorns! Big Moose Saloon Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies Register / Login Win a copy of JavaScript Promises Essentials this week in the JavaScript forum! JavaRanch » Java Forums » Java » Swing / AWT / SWT Author JFrame confusion Chris...
http://www.coderanch.com/t/344400/GUI/java/JFrame-confusion
CC-MAIN-2014-49
refinedweb
1,106
64.41
I had a requirement for one of my customers to call M3 API in Infor M3 Enterprise Collaborator (MEC) specifically from a custom process – not from a mapping – and I realized MEC does not have any built-in process for that, so I reverse engineered MEC again, and here is what I found. Let’s see what MEC has to call M3 AP...
https://m3ideas.org/2016/02/22/call-m3-api-from-mec-process/?like_comment=5691&_wpnonce=454973ab2c
CC-MAIN-2022-05
refinedweb
896
52.56
In the early days of 64-bit, drivers were hard to find or unstable, programs wouldn’t run and help was scarce. I started using Windows XP 64-bit about a year ago, so I’ve battled through many of the issues with working with this ‘newer’ technology. At ORCS Web, we support Windows Server 2003 64-bit on different types o...
http://weblogs.asp.net/owscott/archive/2006/11/07/Is-64_2D00_bit-computing-always-better_3F00_.aspx
crawl-002
refinedweb
1,215
73.88
Introduction on Sorting in C++ Having a collection of elements to ordersorting helps in arranging the elements in the record based on ordering relation. Consider a file record that contains a lot of information. To access a list from the record, it is necessary to have a key field to point to the element’s current loca...
https://www.educba.com/sorting-in-c-plus-plus/?source=leftnav
CC-MAIN-2021-39
refinedweb
1,148
63.19
a list of lists of props representing an assembly hierarchy More... #include <vtkAssemblyPaths.h> a list of lists of props representing an assembly hierarchy vtkAssemblyPaths represents an assembly hierarchy as a list of vtkAssemblyPath. Each path represents the complete path from the top level assembly (if any) down t...
https://vtk.org/doc/nightly/html/classvtkAssemblyPaths.html
CC-MAIN-2021-31
refinedweb
171
62.24
Bruno Haible <address@hidden> writes: > Simon Josefsson wrote: >> I'm doing some Unicode NFKC operations and noticing that u32_normalize >> fails for U+D800. > > This is a valid behaviour, because U+D800 is a "surrogate" point code > and therefore not a valid character code point. > > See the Unicode standard, chapter ...
http://lists.gnu.org/archive/html/bug-gnulib/2011-05/msg00594.html
CC-MAIN-2015-18
refinedweb
268
65.42
Hello. 2012/12/03 12:48:41 -0500 Rocky Bernstein <ro...@cpan.org> => To Peter Vereshagin : RB> On Mon, Dec 3, 2012 at 9:06 AM, Peter Vereshagin <pe...@vereshagin.org>wrote: RB> RB> > Hello. RB> > RB> > 2012/12/03 08:51:28 -0500 Rocky Bernstein <ro...@cpan.org> => To Richard RB> > Foley : RB> > RB> Something I think abo...
http://www.mail-archive.com/debugger@perl.org/msg00159.html
CC-MAIN-2017-17
refinedweb
497
71.65
Processing Client-Side Assets Orchard includes a processing pipeline for client-side assets (typically scripts and stylesheets) which is used to perform front-end development workflow tasks such as transpilation, minification and bundling of client-side assets in both core projects and extensions (i.e. modules and them...
http://docs.orchardproject.net/en/latest/Documentation/Processing-client-side-assets/
CC-MAIN-2017-26
refinedweb
3,716
54.32
1. Introduction In the previous examples, we used "TCP Channel" to communicate the remote object in the server machines. Also, we have the reference to the server project in the client development projects. Giving the code to the client is not advisable as the client can go ahead and strip the given to know some of the...
http://www.mstecharticles.com/2011/11/remotingnet-accessing-http-remote.html
CC-MAIN-2017-17
refinedweb
514
61.56
Python scripting tutorial → Prefences → General → Output window and check 2 boxes: - Redirect internal Python output to report view - Redirect internal Python errors to report view Then go to View → Panels and check: - Report view This will save you a lot of aggravation! Writing python code There are two easy ways to w...
https://wiki.freecadweb.org/Python_scripting_tutorial
CC-MAIN-2020-16
refinedweb
611
63.29
Hey ya. In this article we’re going to set you up with a basic plugin environment to get you going in WordPress Plugin development, including Gutenberg. The goal of this article is to cover the following: - Setup a basic plugin using Gutenberg - Use jQuery on the front end for a block - Use javascript files on both fro...
https://truthseekers.io/how-to-register-scripts-and-styles-in-your-wordpress-gutenberg-plugin/
CC-MAIN-2020-40
refinedweb
2,280
57.67
It's been rumoured that Lincoln D. Durey said: > > Linas, > we are happy users of gnucash 1.4.9. But we had a system crash while a > gnucash was running (most likely not gnucash's fault). As this session > involved about 2-3 hours of hard work, we are very interested in any > available recovery options. > > We have our...
https://www.mail-archive.com/gnucash-devel@gnucash.org/msg07878.html
CC-MAIN-2022-21
refinedweb
774
55.74
Nth element (Java)>>= public static <T extends Comparable<? super T>> T qnth(List<T> sample, int n) { T pivot = sample.get(0); List<T> below = new ArrayList<T>(), above = new ArrayList<T>(); for (T s : sample) { if (s.compareTo(pivot) < 0) below.add(s); else if (s.compareTo(pivot) > 0) above.add(s); } int i = below.siz...
http://en.literateprograms.org/Nth_element_(Java)
CC-MAIN-2015-22
refinedweb
239
51.34
In this Pydon't you'll learn how to make the best use possible of the Python REPL. (If you are new here and have no idea what a Pydon't is, you may want to read the Pydon't Manifesto.) The REPL is an amazing tool that every Python programmer should really know and appreciate! Not only that, but you stand to gain a lot ...
https://mathspp.com/blog/pydonts/boost-your-productivity-with-the-repl
CC-MAIN-2022-05
refinedweb
2,935
69.52
Whenever. We can use the Rails sort_by method to sort the array of objects by date and fullname in order::SometimesThe best practice when sorting the strings is to convert to one unique case (i.e upper or lower) on sorting. This ensures that records show up in the order that the user would expect, not the computer: ite...
http://blog.endpoint.com/2014/10/rails-recursive-sorting-for-multilevel.html
CC-MAIN-2017-30
refinedweb
253
54.63
namedWindow + imshow not showing on the screen I can't get the window with the video to show on the screen. The light of the web camera flashes so it opens it and the program is in infinite loop when i run yet nothing shows on the screen. #include <iostream> #include <string> #include <sstream> #include <opencv2/core.h...
https://answers.opencv.org/question/135303/namedwindow-imshow-not-showing-on-the-screen/
CC-MAIN-2019-43
refinedweb
229
87.31
Concept of Constant Pointers in C++ Hello Learners! In this session, we will learn about some pointer variants. It is called Constant Pointers. C++ adds the concepts of constant pointer and pointer to a constant. Mostly, these two are not used but are very conceptual topics that give more clarity and space for pointers...
https://www.codespeedy.com/concept-of-constant-pointers-in-c/
CC-MAIN-2021-17
refinedweb
472
65.66
Job interviews for software engineering and other programming positions can be tough. There are too many things to study, and even then it still might not be enough. Previously I had written about a common Fibonacci number algorithm and finding duplicate values in array. Those skill refreshers were written in JavaScrip...
https://www.thepolyglotdeveloper.com/2015/02/validate-bracket-parenthesis-combos-using-stacks/
CC-MAIN-2022-40
refinedweb
441
65.01
poplib 100% cpu usage - From: Oli Schacher <python@xxxxxxxxxxxxx> - Date: Wed, 16 Jul 2008 17:01:08 +0200 Hi all I wrote a multithreaded script that polls mails from several pop/imap accounts. To fetch the messages I'm using the getmail classes ( ) , those classes use the poplib for the real pop transaction. When I run...
http://coding.derkeiler.com/Archive/Python/comp.lang.python/2008-07/msg01714.html
crawl-002
refinedweb
289
72.26
cjrMembers Content count53 Joined Last visited Community Reputation100 Neutral About vcjr - RankMember vcjr replied to vcjr's topic in For Beginnersoook but i actually dint write the code next to the side it came like that when i pasted it. But now i see the error of my ways thanks. vcjr posted a topic in For Beginners...
https://www.gamedev.net/profile/156545-vcjr/?tab=status
CC-MAIN-2017-30
refinedweb
520
79.3
[Python] What's with all the semicolons? I'm looking at the def getIndexItem(self): # create a summary of the entry digest = self.body[:self.DIGEST_LEN].replace('\n', ''); digest = self.HTML_STRIP.sub('', digest); digest = digest.replace('>', '').replace(' When I learned about Python and started to work with it, I was ...
http://beta.slashdot.org/~dthable
CC-MAIN-2014-42
refinedweb
227
81.53
. At home I code a lot of singleton classes. Most of this code is boilerplate code that I just write over and over again. Originally I thought that generics would solve this problem. I planned to write a generic singelton of the following form. public public class MyFactory : Singleton<MyFactory,MyBaseFactoryClass>{}Un...
http://blogs.msdn.com/jaredpar/archive/2004/11/24/269133.aspx
crawl-002
refinedweb
297
50.33
People that need to parse and analyze C code in Python are usually really excited to run into pycparser. However, when the task is to parse C++, pycparser is not the solution. When I get asked about plans to support C++ in pycparser, my usual answer is - there are no such plans [1], you should look elsewhere. Specifica...
http://eli.thegreenplace.net/2011/07/03/parsing-c-in-python-with-clang
CC-MAIN-2017-13
refinedweb
2,521
54.32
Bandstructures in vasp.py This post has three goals. 1) Show we can run simulations in the IPython notebook (instead of org-mode), second, to directly post the notebook to the dft-book blog, and finally to show how to calculate a band-structure. First we import the vasp.py libraries we need. %matplotlib inline from vas...
http://kitchingroup.cheme.cmu.edu/dft-book/posts/bandstructures-in-vasppy/
CC-MAIN-2020-05
refinedweb
384
76.01
Name: gm110360 Date: 07/30/2003 A DESCRIPTION OF THE REQUEST : I was surprised to see nonstatic method calls taking anyhwere from 25% to 100% more time to execute than static methods. I was hoping it will be in the range of 5%! :-( BTW, I got these numbers looking at javacc () generated code. JavaCC has an option calle...
https://bugs.java.com/bugdatabase/view_bug.do?bug_id=4898726
CC-MAIN-2018-09
refinedweb
293
58.89
Feedback Loop If you’re a large volume sender, you can use the FeedBack Loop (FBL) to identify campaigns in your traffic that are getting a high volume of complaints from Gmail users. The FBL is particularly useful to ESPs to detect abuse of their services. Note: FBL data will only pertain to @gmail.com recipients. How...
https://support.google.com/mail/answer/6254652?hl=en&ref_topic=7279058
CC-MAIN-2019-51
refinedweb
525
60.95
Chapter Overview Multithreading is often not very easy to handle and even more often it is dangerous and evil to debug. However, multithreading is powerful and very useful in many situations. At the very beginning I promised that multithreading is very easy with OpenSG. So now let's see if I can hold this promise. If I...
http://www.opensg.org/htdocs/doc-1.8/Multithreading.html
CC-MAIN-2014-42
refinedweb
2,563
60.35
Learn React: Your First React Component Explained Previously on Learn React from Scratch Series: React apps are made out of components. But what is a component? A component in React is a small and reusable chunk of code that renders some HTML. Here is an example of what a simple React component looks like: import React...
https://www.dottedsquirrel.com/learn-react-3/
CC-MAIN-2022-33
refinedweb
1,011
59.3
Neo4j Bolt driver for Python Project description The official Neo4j driver for Python supports Neo4j 3.0 and above and Python versions 2.7, 3.4, 3.5, 3.6, and 3.7. Note Python 2 support is deprecated and will be discontinued in the 2.x series driver releases. Quick Example from neo4j import GraphDatabase driver = Graph...
https://pypi.org/project/neo4j/1.7.2/
CC-MAIN-2019-43
refinedweb
109
61.73
Machine Learning is a part of Artificial Intelligence, which consists of algorithms and improving automatically with time. In order to apply machine learning to different datasets, we need to clean the data and prepare it for the machine learning phase. Also, we need to identify the data or problem whether it is Regres...
https://analyticsindiamag.com/how-to-automate-machine-learning-tasks-using-autogluon/
CC-MAIN-2020-45
refinedweb
514
53.51
"templates" in old-school C? #1 Members - Reputation: 560 Posted 16 February 2004 - 02:35 PM #2 Members - Reputation: 576 Posted 16 February 2004 - 02:50 PM No, void* is the way to do it. C has nothing really in the ways of tricks like C++ has. #3 Members - Reputation: 560 Posted 16 February 2004 - 02:54 PM Sorry. #4 S...
http://www.gamedev.net/topic/207920-quottemplatesquot-in-old-school-c/
CC-MAIN-2014-23
refinedweb
3,186
54.52
- java.lang Package The String class is also part of the system class library. It belongs to the package named java.lang. So why haven't you had to either use its fully qualified class name (java.lang.String) or provide an import statement? The Java library contains classes so fundamental to Java programming that they...
https://www.informit.com/articles/article.aspx?p=406343&seqNum=12
CC-MAIN-2021-43
refinedweb
181
65.52
Starting out with Solaris on Xen As you may have seen from the announcement and John's blog we have a new set of Solaris on Xen bits available for download. A lot has changed in the (almost) year since the last drop. Certainly things are a lot easier set up than they were back then. First big difference I notice is tha...
http://blogs.sun.com/cwb/entry/starting_out_with_solaris_on
crawl-002
refinedweb
1,149
66.57
DBIx::VersionedSubs::AutoLoad - autoload subroutines from the database package My::App; use strict; use base 'DBIx::VersionedSubs::AutoLoad'; package main; use strict; My::App->startup($dsn); while (my $request = Some::Server->get_request) { My::App->update_code; # update code from the DB My::App->handle_request($reque...
http://search.cpan.org/~corion/DBIx-VersionedSubs-0.07/lib/DBIx/VersionedSubs/AutoLoad.pm
CC-MAIN-2015-14
refinedweb
316
53
The CToolbarEx class supports basic customization (As in IE) with controls on it. Additionally it can hide the controls when the toolbar is docked vertically. This class uses the framework provided by ToolBarCtrl to do the customization of the Toolbar. It also supports Large Icons and Text on Buttons. It uses a modifie...
http://www.codeproject.com/KB/toolbars/toolbarex.aspx
crawl-002
refinedweb
585
51.24
varys 0.5.2 For parsing and reformatting behavioral event logs. Varys Varys is a python package for anyone who has to work with behavioral data logs. Chances are, you need that data in another format before you can work with it. If you’re like most of us, you have some collection of scripts around somewhere that can pa...
https://pypi.python.org/pypi/varys/0.5.2
CC-MAIN-2015-48
refinedweb
1,769
63.59
PyMate (iOS) does not connect to WiPy 2.0 Hi my fellow PyMates! I cannot get my iPhone 7 to connect with a WiPy 2.0 Steps followed: - Download iOS App - Register new account - Followed process as outlined also in the youtube video The device remains red. After that, I updated to the latest firmware and using the Atom w...
https://forum.pycom.io/topic/1781/pymate-ios-does-not-connect-to-wipy-2-0
CC-MAIN-2020-40
refinedweb
457
75.3
Sunday, 17 December 2017 Faster toolkit, faster! Part II This use case is SMILES to SMILES conversion. Now, while this particular transformation might not sound very interesting, it does encompass both SMILES reading and SMILES writing in one handy package, and both of these operations are often important when dealing ...
https://baoilleach.blogspot.com/2017/
CC-MAIN-2018-34
refinedweb
1,309
56.15
- Tool Tips! - Random LoadMovie - Transition of alpha via Action Script - Navigation - Selecting text from one and transferring to another - Arrays explanation - Displaying Time - loadMovie/loadVariable - solution to browser cache - Flash 5 E-mail Setup. How can I? - Popup borderless window - Random movement through ac...
http://www.kirupa.com/forum/archive/index.php/f-12.html
crawl-002
refinedweb
375
55.54
Created on 2013-11-22 16:47 by brett.cannon, last changed 2016-05-12 16:37 by BreamoreBoy. This issue is now closed. A related addition (Lib/test/test_importlib/test_api.py - test_reload_namespace_changed): changeset: 86819:88c3a1a3c2ff3c3ab3f2bd77f0d5d5e5c1b37afa parent: 86816:13a05ed33cf7 user: Eric Snow <ericsnowcur...
https://bugs.python.org/issue19711
CC-MAIN-2019-18
refinedweb
287
78.04
2012-05-07T06:05:40Z: - Part I: Hello, World! (this article) -++. Of all these, the Python/Flask combination is the one that I've found to be the most flexible. UPDATE: I have written a book titled "Flask Web Development", published in 2014 by O'Reilly Media. The book and the tutorial complement each other, the book pr...
http://blog.miguelgrinberg.com/post/the-flask-mega-tutorial-part-i-hello-world
CC-MAIN-2015-27
refinedweb
2,859
64.51
Commit 8c41b3dc: Vigil Base Solution— Rovani in C♯ I’ve finally done it; I finally ripped, twisted, and otherwise cajoled the default MVC template, Identity code, and a few other tweaks I wanted to make into something I am semi-confident will be a good starting point for future projects. Which is really to say ? I’m at...
https://rovani.net/Commit-8c41b3dc/
CC-MAIN-2018-47
refinedweb
678
71.04
In a programming language like C++, inheritance is one of the core ideas of Object-Oriented program. In inheritance, the derived class inherits the behaviors and attributes of its base class. In our earlier examples, we have built a Rock class and a Country class. In a way, pop or rock are just a genre in music. We can...
https://codecrawl.com/2015/01/30/cplusplus-inheritance/
CC-MAIN-2019-43
refinedweb
214
66.44
Thanks. BEGIN { my ($var1, $var2) = ("this", "that"); sub sub1 { # use $var1, $var2 } sub sub2 { # use $var1, $var2 } } [download] This use vars qw($var1 @array2}; [download] Sorry to nitpick but you can do either this: or this: but using a comma within a qw() list includes the comma in whatever word(s) it touches. Oth...
http://www.perlmonks.org/index.pl?node=using%20strict%20and%20functions
CC-MAIN-2015-06
refinedweb
263
85.08
Pandas: Create a sequence of durations increasing by an hour Pandas Time Series: Exercise-11 with Solution Write a Pandas program to create a sequence of durations increasing by an hour. Sample Solution: Python Code : import pandas as pd date_range = pd.timedelta_range(0, periods=49, freq='H') print("Hourly range of pe...
https://www.w3resource.com/python-exercises/pandas/time-series/pandas-time-series-exercise-11.php
CC-MAIN-2021-21
refinedweb
364
53.72
Same here. It's easy. I use it mostly for the battery status. It's the only red value on my mirror, at least, when they're almost drained. hetbeest @hetbeest Best posts made by hetbeest Latest posts made by hetbeest - RE: Magic mirror - RE: Sensebender Micro I ordered another couple a few days ago. - RE: Sensebender Mi...
https://forum.mysensors.org/user/hetbeest/
CC-MAIN-2021-04
refinedweb
425
51.75
# PVS-Studio Learns What strlen is All About ![0824_DataFlow_And_Strlen/image1.png](https://habrastorage.org/r/w1560/getpro/habr/post_images/8fd/813/55c/8fd81355c4108834ac257be55ca393cb.png) Somehow, it so happens that we write about our diagnostics, but barely touch upon the subject of how we enhance the analyzer's ...
https://habr.com/ru/post/554692/
null
null
1,373
58.79
At present, there is unprecedented interest in the construction of various flying mechanisms – drones, gliders, helicopters, etc. Now it is easy to construct them yourself thanks to many materials on them on the Internet. All these flying mechanisms use for their movement so-called brushless (brushless DC motors). What...
https://nerdytechy.com/arduino-brushless-motor-control-tutorial/
CC-MAIN-2021-31
refinedweb
2,506
60.75
My solution is here: Can anyone explain, why is my solution wrong? I have seen other’s accepted solution. The logic is same. Please help me out!! My solution is here: Can anyone explain, why is my solution wrong? I have seen other’s accepted solution. The logic is same. Please help me out!! You were not printing strin...
https://discuss.codechef.com/t/chefstep-help-needed/73041
CC-MAIN-2020-40
refinedweb
228
77.03
Design for Sign-Up: How to Motivate People To Sign Up For Your Web App Date: May 30, 2008 You've got about eight seconds to convince a person to become your customer online. Usability expert Joshua Porter tells you how to make every second count in this excerpt from his new book, Designing for the Social Web. - . The S...
http://www.peachpit.com/articles/printerfriendly.aspx?p=1216150
CC-MAIN-2013-48
refinedweb
6,013
63.9
3to2 is a project to convert cleaner 3.x code to 2.x. 3to2 started as a project idea to reuse the 2to3/lib2to3 codebase for converting 3.x code to 2.x. This creates a new package, 'refactor', which supports lib2to3 and (non-existent) lib3to2. The following goals were targeted at the US PyCon 2009 sprint of Python Core:...
http://wiki.python.org/moin/3to2?action=diff
CC-MAIN-2013-20
refinedweb
224
78.55
Commit> --- xen/arch/x86/hvm/vmx/intr.c | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/xen/arch/x86/hvm/vmx/intr.c b/xen/arch/x86/hvm/vmx/intr.c index 24e4505..5e5b37a 100644 --- a/xen/arch/x86/hvm/vmx/intr.c +++ b/xen/arch/x86/hvm/vmx/intr.c @@ -23,6 +23,7 @@ #include <x...
https://lists.xenproject.org/archives/html/xen-devel/2017-02/msg00519.html
CC-MAIN-2018-17
refinedweb
276
54.39
Created on 2011-11-11 15:19 by nneonneo, last changed 2012-12-24 03:39 by brian.curtin. This issue is now closed. Lib/random.py in Python 3.2 contains the line from __future__ import division even though it is no longer necessary, as true float division is the default in Python 3. Trivial patch: --- lib/python3.2/rando...
http://bugs.python.org/issue13384
CC-MAIN-2016-40
refinedweb
305
76.42
For a few hours here and there over the past few months, I’ve been working on a side project: Wio. I’ll just let the (3 minute) screencast do the talking first: Note: this video begins with several seconds of grey video. This is normal.. In terms of Rio compatability, Wio has a ways to go. I would seriously appreciate ...
https://drewdevault.com/2019/05/01/Announcing-wio.html
CC-MAIN-2019-39
refinedweb
194
59.74
alabama bankruptcy attorney :: smallville actors :: create your own polo :: "Create Your Own Polo" Transmit, display, perform, reproduce, publish, license, create your use of this site is at your own risk in no event shall palm beach polo, or its agents, representatives. Lesson title: making your own product game: grad...
http://members.lycos.co.uk/warrenfolger/smallvil7c/create-your-own-polo.html
crawl-001
refinedweb
1,394
55.47
Scripting with Guile Extension language enhances C and Scheme Guile, which launched in 1995, is an interpreter for the Scheme language, a simplified derivative of the Lisp language, first introduced by John McCarthy in 1958. But Guile makes Scheme embeddable, which makes the interpreter ideal for embedded scripting. Gu...
https://www.ibm.com/developerworks/linux/library/l-guile/index.html?ca=drs-
CC-MAIN-2019-51
refinedweb
2,442
61.46
Opened 4 years ago Closed 4 years ago Last modified 4 years ago #18979 closed Bug (fixed) PermWrapper + template "if in" interaction Description Trying to do {% if 'someperm' in perms.someapp %}has perm{% else %}no perm{% endif %} will result in endless loop. Above, the perms is PermWrapper as installed by the RequestC...
https://code.djangoproject.com/ticket/18979
CC-MAIN-2016-30
refinedweb
469
74.29
Yet again, intern season is coming to a close, and so it’s time to look back at what the interns have achieved in their short time with us. I’m always impressed by what our interns manage to squeeze into the summer, and this year is no different. There is, as you can imagine, a lot of ground to cover. With 45 interns b...
https://blog.janestreet.com/what-the-interns-have-wrought-2018/
CC-MAIN-2020-40
refinedweb
2,531
60.14
Hello, I’m enchanted with the idea of bringing performant julia code into a python script through a shared library, especially if it as easy as PackageCompiler seems to imply. I am almost entirely unfamiliar with compiled languages, so much of this feels new to me. I got a simple script to work, but now the problem I a...
https://discourse.julialang.org/t/aot-compiling-using-packagecompiler/16911
CC-MAIN-2018-47
refinedweb
144
68.87
NAME bpf -- Berkeley Packet Filter SYNOPSIS #include <net/bpf.h> void bpfattach(struct ifnet *ifp, u_int dlt, u_int hdrlen); void bpfattach2(struct ifnet *ifp, u_int dlt, u_int hdrlen, struct bpf_if **driverp); void bpfdetach(struct ifnet *ifp); void bpf_tap(struct ifnet *ifp, u_char *pkt, u_int *pktlen); void bpf_mtap...
http://manpages.ubuntu.com/manpages/precise/man9/bpf_mtap2.9freebsd.html
CC-MAIN-2013-20
refinedweb
679
62.98
You can subscribe to this list here. Showing 25 50 100 250 results of 173 OK, I'm including a psp file using the <%@include file="common.psp" %> syntax, and this code is contained therein: def trivialFunction(): res.write(dir(req.environ())) res.write(dir(req.environ())) trivialFunction() If I comment out the call to t...
http://sourceforge.net/p/webware/mailman/webware-discuss/?viewmonth=200107&page=6&style=flat
CC-MAIN-2015-35
refinedweb
2,243
69.28
decimal (C# Reference) Updated: December 2008 The decimal keyword indicates a 128-bit data type. Compared to floating-point types, the decimal type has more precision and a smaller range, which makes it appropriate causes a compilation error. For more information about implicit numeric conversions, see Implicit Numeric...
http://msdn.microsoft.com/en-us/library/364x0z75(v=vs.90).aspx
crawl-003
refinedweb
285
51.75
Stefan - 9. Mai 2008 A lot of the power of C++ comes from the STL, the C++ Standard Library. And even more power is available using the Boost libraries, which are about to become part of the upcoming new STL version. Thus, using Boost libraries in your project is not even very convenient, it will also guarantee compati...
http://www.javadtaghia.com/clam/boost-c/settingupboostgccwindows
CC-MAIN-2018-47
refinedweb
439
59.3
When I started working with React Native recently, I did a lot of research on infinite scroll. There are many proposed solutions online, even libraries ready to be used, but none of them were quite right for me. That is why I created one for myself, and this blog will show you how you can do it too. Step 1: The idea I ...
https://www.maestralsolutions.com/react-native-custom-infinite-scroll/
CC-MAIN-2020-40
refinedweb
808
57.06
class Solution { public: int findMinDifference(vector<string>& times) { int n = times.size(); sort(times.begin(), times.end()); int mindiff = INT_MAX; for (int i = 0; i < times.size(); i++) { int diff = abs(timeDiff(times[(i - 1 + n) % n], times[i])); diff = min(diff, 1440 - diff); mindiff = min(mindiff, diff); } retur...
https://discuss.leetcode.com/topic/82629/c-clean-code
CC-MAIN-2017-43
refinedweb
417
74.19
Software Engineer at Stripe One track lover/Down a two-way lane “Suppose I say to Fat, or Kevin says to Fat, "You did not experience God. You merely experienced something with the qualities and aspects and nature and powers and wisdom and goodness of God.” This is like the joke about the German proclivity toward double...
http://robertheaton.com/2014/02/09/pythons-pass-by-object-reference-as-explained-by-philip-k-dick/
CC-MAIN-2015-35
refinedweb
986
62.68
Using JDK Point. Modify PointMain 7. Using JDK Point. Modify PointMain, pp. 547-548 by dropping the calls to distanceFromOrigin, and adding the "import java.awt.*" to allow use of JDK Points. Write code to put the two Points in an array of 2 Points named pair. Do the translates using array references, such as pair[0] a...
https://www.studypool.com/questions/251261/using-jdk-point-modify-pointmain
CC-MAIN-2017-13
refinedweb
251
71.71
31 October 2012 07:30 [Source: ICIS news] SINGAPORE (ICIS)--?xml:namespace> “We are not sure whether polymers are within the list of banned [export] goods, so now we just put all our new contracts on hold,” the source said. Iranian exporters will no longer be able to export goods including wheat, flour, sugar, and red ...
http://www.icis.com/Articles/2012/10/31/9609075/irans-jam-petchem-stops-hdpe-exports-discussion-on-possible-govt.html
CC-MAIN-2014-42
refinedweb
210
56.59
NAME ptsname, ptsname_r - get the name of the slave pseudoterminal SYNOPSIS #include <stdlib.h> char *ptsname(int fd); int ptsname_r(int fd, char *buf, size_t buflen); ptsname(): Since glibc 2.24: _XOPEN_SOURCE >= 500 Glibc 2.23 and earlier: _XOPEN_SOURCE ptsname_r(): _GNU_SOURCE DESCRIPTION The ptsname() function retu...
https://man.archlinux.org/man/ptsname.3.en
CC-MAIN-2022-40
refinedweb
145
67.35
Opened 9 years ago Closed 6 years ago #6273 closed (fixed) Support for passwd-like password changing Description I wrote a short command handler for management to change the password of the current user, or a given user, just like passwd. Attachments (4) Change History (18) Changed 9 years ago by toxik comment:1 Change...
https://code.djangoproject.com/ticket/6273
CC-MAIN-2016-30
refinedweb
768
60.45
Years. I recently began investigating calling WCF Services with jQuery. There aren't many articles or working samples that are simple enough to be a good starting point for development or proof of concept. I gathered what I learned and decided to cut out as much superfluous details from the paradigm as possible: I trie...
http://www.codeproject.com/Articles/540169/CallingplusWCFplusServicespluswithplusjQuery-e2-80
CC-MAIN-2013-48
refinedweb
478
50.73
This is only the 2nd program I've ever worked on and I am stuck right off the bat. Our teacher wrote some of the code for us. We just need to call a function for each section of classes, where we remove the spaces between the classes (for example: CMSC 201 CMSC 202 CMSC 301 -- Just remove the spaces between the classes...
https://www.daniweb.com/programming/software-development/threads/226894/string-slicing-string-finding-homework
CC-MAIN-2018-26
refinedweb
570
59.43
Serbo-Croatian version of PyQt By Example! A while ago I got an email from Anja Skrba asking me for permission to translate PyQt by Example into Serbo-Croatian. And here it is all nice and translated. Lots of thanks to Anja for the hard work! A while ago I got an email from Anja Skrba asking me for permission to transl...
https://ralsina.me/categories/pyqt.html
CC-MAIN-2018-34
refinedweb
905
76.52
Implementing a Build System¶ Builder has support for many build systems such as autotools, meson, cmake, etc. The build system knows how to find build targets (binaries or scripts that are installed) for the runner, knows how to find build flags used by the clang service, and it can define where the build directory is....
http://builder.readthedocs.io/en/latest/plugins/building/buildsystem.html
CC-MAIN-2018-30
refinedweb
300
60.01
This article will introduce you to the basics of using Mbed Studio, an IDE for programming various ARM microprocessors that support the Mbed operating system. I’ll use an STM32 Nucleo board, but you can use any device that’s supported by the development environment. Be aware that Mbed Studio is still under development ...
https://maker.pro/arm-mbed/tutorial/getting-started-with-mbed-studio
CC-MAIN-2020-45
refinedweb
828
59.53