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
On Wed, 4 Oct 2006, Daryl Tester wrote: > Chris Foote wrote: > >> The voice peering project I'm working on has an embedded interpreter >> running in a seperate thread in 'screen' sessions (using code.interact() ) > > Reminding me of code.interact() brings up painful memories. :-) It's the > second time where I've coded...
https://mail.python.org/pipermail/sapug/2006-October/000125.html
CC-MAIN-2014-15
refinedweb
371
75.71
Original article posted at <- performance-best-practices-and-lessons-8ef4035ddea6.html> React is one of the most widely used and popular libraries that has seen great adoption from developers in comparison to other libraries. It supports many out-of-the-box techniques to minimize the number of costly DOM operations req...
https://sumeetbajra.github.io/blog/react-application-performance-best-practices-and-lessons-8ef4035ddea6/
CC-MAIN-2019-35
refinedweb
1,956
54.02
07 November 2010 22:30 [Source: ICIS news] RIO DE JANEIRO (ICIS)--Pemex Petroquimica is proceeding with plans to expand its styrene monomer (SM) capacity in ?xml:namespace> The project, which has been on hold for several years, will raise SM capacity to 250,000 tonnes/year from 150,000 tonnes/year, said Carlos Pani, su...
http://www.icis.com/Articles/2010/11/07/9408029/apla-10-mexicos-pemex-revives-styrene-expansion-project.html
CC-MAIN-2015-06
refinedweb
148
55.95
The typical program of Hello World in c is somewhat like //HelloWorld.c #include <stdio.h> main() { printf("hello,world\n"); } To compile in linuc, we use cc HelloWorld.c and to run ./a.out The output of the program is hello, world Now in Page 6, chapter1, we have two exercises Exercise1-1 : Run the "hello, world" prog...
http://geekswithblogs.net/prasenjitdas/archive/2010/03/03/deeper-into-hello-world.aspx
crawl-003
refinedweb
259
67.25
Assertions are statements to ensure that a particular condition or state holds true at a certain point in the execution of a program. These checks are usually only performed in debug builds, which means that you must ensure that the expressions in the assertions are side-effect free. Because assertions are only validat...
https://jmmv.dev/2013/07/readability-abuse-assertions.html
CC-MAIN-2022-27
refinedweb
636
50.67
Overview: In this project you will learn to use a basic functionality of chipKIT board in MPLAB X IDE, which is to read an analog value and output the corresponding digital reading for it. A potentiometer is a three-terminal resistor with a sliding contact that forms an adjustable voltage divider. Using a potentiometer...
http://chipkit.net/tag/breakpoint-mplab/
CC-MAIN-2017-34
refinedweb
982
56.39
VARIABLES: We can print variables by simply using the {{ VARIABLE_NAME }} syntax. If you want to print just an element of an array, you can use {{ ARRAY_NAME[‘KEY’] }}, and if you want to print a property of an object, you can use {{ ARRAY_NAME[‘KEY’] }} . Refer the following for an example; FILTERS: From time to time,...
https://linuxhint.com/jinja2_templates_ansible/
CC-MAIN-2019-39
refinedweb
457
64.3
Magic Mirror in the story “Snow White and the Seven Dwarfs” had one cool feature. The Queen in the story could call Mirror just by saying “Mirror” and then ask it questions. MagicMirror project helps you develop a Mirror quite close to the one in the fable but how cool it would be to have the same feature? Hotword Dete...
https://blog.fossasia.org/hotword-detection-on-susi-magicmirror-with-snowboy/
CC-MAIN-2022-21
refinedweb
601
56.35
The information published in this post is now out-of-date. —IEBlog Editor, 20 August 2012 I hopefully got your attention with the title of my If you want to try out the latest IE browser, I strongly encourage you to download and run the latest release candidate for XPSP2 Service Pack 2. You can download it here. Scott ...
https://blogs.msdn.microsoft.com/ie/2004/07/21/i-love-this-browser/
CC-MAIN-2017-26
refinedweb
32,238
71.44
<< Sadettin Senberber974 Points How can I add the boolean expression in this code? In this instance should I write "public bool(xx xxx)" expression or like "bool a = true" expression. What I suppose to do? Thank you. int value = -1; string textColor = null; return ((value < 0) = textColor = "red") ? textColor = "green"...
https://teamtreehouse.com/community/how-can-i-add-the-boolean-expression-in-this-code
CC-MAIN-2022-27
refinedweb
138
63.59
DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world Getting Rails .find(... :order => Text_field To Sort Alphabetically Ignoring Upper Case // my problem was that a Rails Find :order(ed) on :des...
http://www.dzone.com/snippets/getting-rails-find-order
CC-MAIN-2014-10
refinedweb
173
59.09
Python Tkinter Entry Advertisements The Entry widget is used to accept single-line text strings from a user. If you want to display multiple lines of text that can be edited, then you should use the Text widget. If you want to display one or more lines of text that cannot be modified by the user, then you should use th...
http://www.tutorialspoint.com/python/tk_entry.htm
CC-MAIN-2016-40
refinedweb
164
57.27
Now here's the thing that I'm most excited about. POST requests! It's likely that you've already been doing those with Next before, but usually it involves creating api-routes, posting with fetch, and managing client state with swr or react-query. No more! Let's get right to it. #handle » post import { handle, json } f...
http://next-runtime.meijer.ws/getting-started/4-data-updates
CC-MAIN-2022-33
refinedweb
367
59.7
Oracle Data Integrator 11.1.1.5 Complex Files as Sources and Targets By Alex Kotopoulis-Oracle on Jun 20, 2011 Overview ODI 11.1.1.5 adds the new Complex File technology for use with file sources and targets. The goal is to read or write file structures that are too complex to be parsed using the existing ODI File tech...
https://blogs.oracle.com/dataintegration/entry/oracle_data_integrator_11_1
CC-MAIN-2016-26
refinedweb
2,063
55.27
IRC log of owl on 2008-09-03 Timestamps are in UTC. 16:45:50 [RRSAgent] RRSAgent has joined #owl 16:45:50 [RRSAgent] logging to 16:46:26 [IanH] IanH has changed the topic to: 16:46:50 [IanH] Zakim, this will be owlwg 16:46:50 [Zakim] ok, IanH; I see SW_OWL()1:00PM scheduled to start in 14 minutes 16:47:03 [IanH] RRSAge...
http://www.w3.org/2008/09/03-owl-irc
CC-MAIN-2015-18
refinedweb
6,170
72.8
Step by step using Typescript (TS) in Express (Node.js) Project In this tutorial, you will learn how to use Typescript(TS) in Express (Node.js) project. Requirements: - Basic knowledge in Typescript (TS), Node.js and Express - Having a Node version from v12 upwards, including Node 12. 1. Set up the project The first st...
https://themeptation.medium.com/step-by-step-using-typescript-ts-in-express-node-js-project-fdd354433a4f?source=post_page-----fdd354433a4f-----------------------------------
CC-MAIN-2022-21
refinedweb
837
68.57
Name | Synopsis | Description | Return Values | VALID STATES | Errors | TLI COMPATIBILITY | Attributes | See Also #include <xti.h> int t_rcv(int fd, void *buf, unsigned int nbytes, int *flags); This function is part of the XTI interfaces which evolved from the TLI interfaces. XTI represents the future evolution of thes...
http://docs.oracle.com/cd/E19253-01/816-5170/6mbb5et63/index.html
CC-MAIN-2017-13
refinedweb
167
57.06
Math::BaseConvert - fast functions to CoNVert between number Bases This documentation refers to version 1.8 of Math::BaseConvert, which was released on Thu Apr 14 2016. use Math::BaseConvert; # CoNVert 63 from base-10 (decimal) to base- 2 (binary ) $binary_63 = cnv( 63, 10, 2 ); # CoNVert 111111 from base- 2 (binary ) ...
http://search.cpan.org/dist/Math-BaseConvert/lib/Math/BaseConvert.pm
CC-MAIN-2016-44
refinedweb
866
63.9
from mojo.canvas import Canvas A vanilla object that sends all user input events to a given delegate. Canvas(posSize, delegate=None, canvasSize=(1000, 1000), acceptsMouseMoved=False, hasHorizontalScroller=True, hasVerticalScroller=True, autohidesScrollers=False, backgroundColor=None, drawsBackground=True) Methods All e...
http://doc.robofont.com/api/mojo/mojo-canvas/
CC-MAIN-2017-30
refinedweb
269
50.02
On Tue, Feb 18, 2003 at 09:45:44PM +0200, Dmitry Litovchenko wrote: > I certainly need a brief sample of how to use reactor.connectWith and > how to set up Protocol so that it correctly switches to another > Protocol and initializes it. > > Example with: > > self.__class__ = anotherProto.__class__ > self.connectionMade...
http://twistedmatrix.com/pipermail/twisted-python/2003-February/002996.html
CC-MAIN-2016-30
refinedweb
115
51.04
editfile Normal Usage Usage: EDITFILE_NAME [CATEGORY] [OPTIONS] default operation is to edit the file Options: -h this help -a append stdin to the file -l output the file to stdout -f output file path name to stdout -s <pattern> search for given pattern -t time track mode -c <name> copy the given item to the new name -...
https://bitbucket.org/codedstructure/editfile/src
CC-MAIN-2017-51
refinedweb
1,369
59.53
My previous post, Sequelize CRUD 101, covered the very basics of CRUD using the Node ORM, Sequelize. This post will cover two intermediate sets of concepts: - Querying multiple columns using a query object. - Creating, updating and deleting multiple records. You'll benefit from having an SQL database running locally (p...
https://lorenstewart.me/2016/10/16/sequelize-crud-102/
CC-MAIN-2018-51
refinedweb
1,707
66.84
Applying Attributes Use the following process to apply an attribute to an element of your code. Define a new attribute or use an existing attribute by importing its namespace from the .NET Framework. Apply the attribute to the code element by placing it immediately before the element. Each language has its own attribut...
https://docs.microsoft.com/en-us/dotnet/standard/attributes/applying-attributes?redirectedfrom=MSDN
CC-MAIN-2019-39
refinedweb
255
56.45
Objective: To configure UI5 based landing page for ESS, MSS, and HR Professional role in EHP 7 using NW 7.4 portal . In this case, we will configure HR Renewal 2.0 (initial shipment). This blog would describe the steps to configure EHP7 roles in portal and resolve the issues faced. It won’t cover the functional configu...
https://blogs.sap.com/2015/01/23/configuration-of-ui5-based-landing-page-in-hr-renewal-20initial-shipment/
CC-MAIN-2019-22
refinedweb
1,197
57.57
The div() function is defined in <cstdlib> header file. Mathematically, quot * y + rem = x div_t div(int x, int y); ldiv_t div(long x, long y); lldiv_t div(long long x, long long y); It takes a two arguments x and y, and returns the integral quotient and remainder of the division of x by y. The quotient quot is the res...
https://cdn.programiz.com/cpp-programming/library-function/cstdlib/div
CC-MAIN-2019-51
refinedweb
211
70.73
I’m trying to learn ASP.NET but am really confused. All the tutorials seem to conflict with each other over whether I should be using MVC or Razor Pages? If you’re learning ASP.NET in this brave new .NET Core world and you want to build server-side web applications then it’s a straight fight between two contenders. Jus...
https://jonhilton.net/razor-pages-or-mvc-a-quick-comparison/
CC-MAIN-2019-30
refinedweb
1,165
66.33
Configuring Folders Within a Content RootSourceResource RootTest SourceExcluded By default, any folder is treated as Source folder. In this section: PhpStorm consider the contents of the selected folder as unit tests, click the Tests toolbar button or choose Test Sources on the context menu of the selection. - To have ...
http://www.jetbrains.com/phpstorm/help/configuring-folders-within-a-content-root.html
CC-MAIN-2015-18
refinedweb
109
53
01 November 2010 16:01 [Source: ICIS news] WASHINGTON (ICIS)--The ?xml:namespace> The Institute for Supply Management (ISM) said that its closely watched purchasing managers index (PMI) rose to 56.9% in October, a gain from the 54.4% PMI recorded for September. Although the index has been bouncing up and down since its...
http://www.icis.com/Articles/2010/11/01/9406381/us-manufacturing-grows-in-oct-offsetting-slower-sept-pace.html
CC-MAIN-2014-49
refinedweb
307
53.81
REST, hypertext and non-browser clients I am confused on how a REST api can both be hypertext driven, but also machine readable. Say I design an API and some endpoint lists contents of a collection. GET /api/companies/ The server should return a list with company resources e.g: /api/companies/adobe /api/companies/micro...
http://unixresources.net/faq/16328833.shtml
CC-MAIN-2019-13
refinedweb
1,095
63.8
19 September 2012 14:35 [Source: ICIS news] WASHINGTON (ICIS)--US new home construction activity rose by 2.3% in August, reversing a 1.1% decline in July, the Commerce Department said on Wednesday, but the number of building permits fell last month, suggesting a rocky road ahead for the housing recovery. In its monthly...
http://www.icis.com/Articles/2012/09/19/9596951/us-housing-starts-rise-2.3-in-aug-but-permits-edge-down-1.html
CC-MAIN-2015-22
refinedweb
344
54.32
UK High Altitude Society Ensuring your payload is fully tested for the following errors will maximise your chances of a recovery. There are a number of common and avoidable errors in code that can result in inaccurate information being uploaded to the tracker. The image below is an example of a payload which had both p...
https://ukhas.org.uk/guides:common_coding_errors_payload_testing
CC-MAIN-2019-13
refinedweb
1,450
74.79
Android Native needs to be the first 10 digits of MOZ_BUILD_DATE (if set); Android native armv6 would have to be the first 10 digits of MOZ_BUILD_DATE decremented by one; and android-xul would be the first 10 digits of MOZ_BUILD_DATE, incremented by one. Background: 1) we pass in MOZ_BUILD_DATE to release builds to mak...
https://bugzilla.mozilla.org/show_bug.cgi?id=776185
CC-MAIN-2017-26
refinedweb
754
62.48
TorchScript¶ TorchScript is a way to create serializable and optimizable models from PyTorch code. Any TorchScript program can be saved from a Python process and loaded in a process where there is no Python dependency. We provide tools to incrementally transition a model from a pure Python program to a TorchScript prog...
https://pytorch.org/docs/1.8.0/jit.html
CC-MAIN-2021-31
refinedweb
3,936
60.61
Slashdot Log In Microsoft Publishes Free XBox Development Tools Posted by ScuttleMonkey on Mon Dec 11, 2006 10:27 PM from the compile-once-crash-twice dept. from the compile-once-crash-twice dept..'" This discussion has been archived. No new comments can be posted. Microsoft Publishes Free XBox Development Tools | Log ...
http://developers.slashdot.org/developers/06/12/11/2346244.shtml
crawl-002
refinedweb
1,731
72.36
IBM WebSphere Application Server 8.0 Administration Guide — Save 50% Learn to administer a reliable, secure, and scalable environment for running applications with IBM WebSphere Application Server 8.0 with this book and eBook) (For more resources on IBM, see here.) Dumping namespaces To diagnose a problem, you might ne...
http://www.packtpub.com/article/ibm-websphere-application-server-administration-tools
CC-MAIN-2014-15
refinedweb
2,586
52.19
16 November 2007 15:59 [Source: ICIS news] By Nigel Davis LONDON (ICIS news)--Chemical producers don’t like the EU’s cap and trade approach to climate control but have had to learn to live with it. Emissions trading could work, the argument goes, but the current system is flawed. Chemicals makers are not alone. ?xml:na...
http://www.icis.com/Articles/2007/11/16/9079442/insight-look-out-for-carbon-trading-induced-costs.html
CC-MAIN-2015-18
refinedweb
742
57
CodePlexProject Hosting for Open Source Software Okay, I have been at this for days and I didn't even know where to start, so I decided to turn to these forums to see if this has been done before (either no one has or it's incredibly easy because I have found nothing on the internet about it) I have a working MVC proje...
https://orchard.codeplex.com/discussions/262662
CC-MAIN-2017-13
refinedweb
1,926
65.62
Super Simple Python is a series of Python projects you can do in under 15 minutes. In this episode, we’ll be covering two ways to get the Greatest Common Denominator (GCD) of two numbers in just 3 lines of Python each! We’ve covered a lot of different kinds of programs in the Super Simple Python series. We’ve covered p...
https://pythonalgos.com/super-simple-python-two-ways-to-get-gcd/
CC-MAIN-2022-27
refinedweb
566
61.56
Entity Resolution on Voter Registration Data An Iterative Process by Prema Roman Entity resolution is a field that aims to find records in data sets that refer to the same entity by grouping and linking. Entity resolution is also called deduplication, merge purge, patient matching, etc. depending on the application. In...
https://www.districtdatalabs.com/entity-resolution-on-voter-registration-data
CC-MAIN-2018-17
refinedweb
1,977
57.81
I want to display several figures with different sizes, making sure that the text has always the same size when the figures are printed. How can I achieve that? As an example. Let's say I have two figures: import matplotlib.pylab as plt import matplotlib as mpl mpl.rc('font', size=10) fig1 = plt.figure(figsize = (3,1))...
https://codedump.io/share/OhDNevBxZMkD/1/matplotlib---change-figsize-but-keep-fontsize-constant
CC-MAIN-2017-30
refinedweb
296
82.24
List of topic-wise frequently asked java interview questions with the best possible answers for job interviews. C++ Interview Questions in Java Question 1. What is C++? Answer: Released in 1985, C++ is an object-oriented programming language created by Bjarne Stroustrup. C++ maintains almost all aspects of the C langua...
https://btechgeeks.com/c-interview-questions-in-java-2/
CC-MAIN-2022-21
refinedweb
2,493
57.47
In the java programming language, how do you set a new value for a public integer, so that an outside method in an outside class can get this value, by simply calling the variable name. I have example code: package build; public class Main { public static void main(String[] args) { Main main = new Main(); main.init(); ...
https://www.codesd.com/item/how-to-set-a-new-value-for-a-public-int-in-java.html
CC-MAIN-2021-17
refinedweb
281
71.85
WinFS is a marriage with NTFS! It’s a file system that co-exists with and leverages the best of NTFS. There are areas where NTFS will not scale well in the future, not because as a file system it is inadequate but because the new requirements people will have in a world of digital data requires a more relational, query...
https://blogs.msdn.microsoft.com/tims/2003/10/29/cli326-winfs-file-system-integration-and-security/
CC-MAIN-2017-13
refinedweb
1,204
52.8
Axios is a library used to make HTTP requests from the browser. Read on to learn how to use Axios with React to make API requests and display the response. What is Axios? Axios is an hugely popular (over 52k stars on Github) HTTP client that allows us to make GET and POST requests from the browser. Therefore, we can us...
https://upmostly.com/tutorials/using-axios-with-react-api-requests
CC-MAIN-2020-29
refinedweb
1,026
73.17
So far, you've seen how the MapView component can render the user's current location and points of interest around the user. The challenge here is that you probably want to show points of interest that are relevant to your application, instead of the points of interest that are rendered by default. In this section, you...
https://www.oreilly.com/library/view/react-and-react/9781786465658/ch18s03.html
CC-MAIN-2019-22
refinedweb
122
63.39
4×4 matrix keypad with PIC16F877A. Before going into the detail logic and learn how to use the keypad, we will need to know few things. Why we need 4×4 Keypad: Typically we use single I/O pin of a microcontroller unit to read the digital signal, like a switch input. In few applications where 9, 12, 16 keys are needed f...
https://pic-microcontroller.com/4x4-matrix-keypad-interfacing-with-pic-microcontroller/
CC-MAIN-2019-18
refinedweb
1,447
66.17
Hi, to start, sorry for my English but I’m French so I’ll maybe do some mistakes. I’m totally new on Processing and I’d like to get bass of the song of my PC. To do it, I already found a code wich do a spectrograme of the sound of my PC. import ddf.minim.*; import ddf.minim.analysis.*; import ddf.minim.effects.*; impor...
https://discourse.processing.org/t/get-frequencies-of-sound/14004
CC-MAIN-2022-27
refinedweb
201
66.33
Configure the NRPT with Group Policy Published: October 7, 2009 Updated: October 7, 2009 Applies To: Windows Server 2008 R2 You can configure the rules directly to the Name Resolution Policy Table (NRPT) with Group Policy, rather than using the DirectAccess Setup Wizard. To complete these procedures, you must be a memb...
https://technet.microsoft.com/en-us/library/ee649235(v=ws.10).aspx
CC-MAIN-2015-22
refinedweb
211
50.16
In today’s world everybody and everything is connected. I realized early on that in life you cannot achieve your maximum potential by yourself. You need family, coaches, friends, advocates, and a whole network to make a difference. Same with technology, there is a network effect that amplifies the value of a solution: ...
http://community.netapp.com/t5/Industries/Breaking-Silos-information-where-you-need-it-when-you-need-it/ba-p/83961
CC-MAIN-2017-43
refinedweb
579
52.7
Execute stored procedures having a FOR XML clause in SQL Server using BizTalk Server An SQL SELECT statement can have a FOR XML clause that returns the query result as XML instead of a rowset. You can also have a stored procedure that has a SELECT statement with a FOR XML clause. FOR XML (SQL Server) has more informati...
https://docs.microsoft.com/en-us/biztalk/adapters-and-accelerators/adapter-sql/execute-stored-procedures-having-a-for-xml-clause-in-sql-server-using-biztalk?redirectedfrom=MSDN
CC-MAIN-2017-51
refinedweb
1,283
62.98
- refcount differences in 2.5 - pyExcelerator bug? - How do I tell the difference between the end of a text file, and an empty line in a text file? - How do I count the number of spaces at the left end of a string? - try - Python Web Programming - looking for examples of solid high-traffic sites - Python-URL! - weekly ...
https://bytes.com/sitemap/f-292-p-31.html
CC-MAIN-2019-43
refinedweb
3,029
55.84
Xamarin.Forms should support CSS as a method of creating styles. In addition to the CSS style theming, we will include FlexBox style layout support. This model allows for a developer familiar with web technology and css to more easily adapt their layouts in Xamarin.Forms. Note: The demos below are intended to be short ...
https://forums.xamarin.com/discussion/comment/252012/
CC-MAIN-2019-09
refinedweb
4,728
63.9
לפני מספר חודשים נפתחו באתר מיקרוסופט MSDN ישראל פורומים לפיתוח ו-IT. בחודש האחרון חל שינוי בפורומים, בקטלוג שלהם, וברשימת מנהלי הפורומים. כחלק מהשינוי אני שמח לבשר לכם על פתיחתו של פורום חדש לתחום הווב בניהולם של שלמה גולדברג (הרב דוטנט) ועבדכם הנאמן. בפורום ננסה לתת מענה לשאלות בנושאי פיתוח לעולמות הווב של מיקרוסופט ...
http://blogs.microsoft.co.il/blogs/idof/default.aspx?PageIndex=2
CC-MAIN-2013-20
refinedweb
4,470
50.67
Stas Bekman wrote: > Geoff, any chance we can get this one resolved? As we may make a new > release soonish, we can't have this collision in Apache::compat and > APR::Finfo get out from the dev release. I really don't know the answer to this. the new finfo API is a proper interface, and I don't see removing it just to ...
http://mail-archives.apache.org/mod_mbox/perl-dev/200312.mbox/%3C3FD69D55.5010300@modperlcookbook.org%3E
CC-MAIN-2013-48
refinedweb
263
69.21
Once you've figured out the basics to a tkinter window, you might fancy the addition of some buttons. Buttons are used for all sorts of things, but generally are great to incite some interaction between the program and the user. Adding buttons is a two-fold thing in the end. In this video, we show just plainly how to a...
https://pythonprogramming.net/tkinter-python-3-tutorial-adding-buttons/?completed=/python-3-tkinter-basics-tutorial/
CC-MAIN-2021-39
refinedweb
557
75.91
I'm new in python and I'm trying to dynamically create new instances in a class. So let me give you an example, if I have a class like this: class Person(object): def __init__(self, name, age, job): self.name = name self.age = age self.job = job variable = Person(name, age, job) persons_database = { 'id' : ['name', age...
https://codedump.io/share/zMA1Nj7nze3Q/1/dynamically-create-instances-of-a-class-python
CC-MAIN-2017-09
refinedweb
288
54.42
I have this working code but my teacher wants really specific things. codes always have to be OOP, and this needs to to have no more then 2 cout. i have 3 but cant seem to find away to take one out. my friend told me i should do this in arrays, but honestly im not really good at this so im really confused about what to...
https://www.daniweb.com/programming/software-development/threads/375520/c-oop-diamond-loop-2-cout-count
CC-MAIN-2018-30
refinedweb
158
80.92
Handling CSV Files in Python As a buddy of mine always says "the nice thing about standards is that there's so many to choose from". Take CSV files for example. CSV, of course, stands for "Comma Separated Values", more often than not though, it seems that CSV files use tabs to separate values rather than commas. And le...
http://www.linuxjournal.com/content/handling-csv-files-python?quicktabs_1=2
CC-MAIN-2016-30
refinedweb
1,466
71.95
Playing with asyncio and aiohttp in Python as a C# developer. My script at the end looked like this (given it’s my first try, I would be happy if somebody corrects something suboptimal with my asyncio usage). import sys import time import asyncio import aiohttp from termcolor import colored urls = ["", ""] async def fe...
https://www.tabsoverspaces.com/233652-playing-with-asyncio-and-aiohttp-in-python-as-a-csharp-developer
CC-MAIN-2020-50
refinedweb
447
68.77
:45 - dynamic column in SUMPRODUCT formula I would like to change the last part of my formula to the more dynamic one so instead of putting letters (B, I, P, W etc.) I want my formula to sum every 7th column in range: ==SUMPRODUCT((LEFT(language!$A$3:$A$9773,8)>=TEXT($A$1,"yyyymmdd"))*(LEFT(language!$A$3:$A$9773,8)<TEX...
http://quabr.com/48249028/vba-excel-macro-for-a-button-that-selects-named-reference-from-a-named-range
CC-MAIN-2018-05
refinedweb
1,370
64.2
If command. We will now install kubernetes 1.4 on two Ubuntu 16.04 nodes. Preparing the machines Machines can be VM instances or physical servers. To prepare the machines, on all machines run: curl | apt-key add - This is key for new repository, and repository we add here cat <<EOF > /etc/apt/sources.list.d/kubernetes....
https://linoxide.com/devops/setup-kubernetes-1-4-kubeadm-ubuntu/
CC-MAIN-2018-05
refinedweb
1,125
59.03
ImmutablePass class - This class is used to provide information that does not need to be run. More... #include "llvm/Pass.h" ImmutablePass class - This class is used to provide information that does not need to be run. This is useful for things like target information and "basic" versions of AnalysisGroups. Definition ...
https://llvm.org/doxygen/classllvm_1_1ImmutablePass.html
CC-MAIN-2019-47
refinedweb
110
54.9
Using NetBeans IDE 6.0 and the Visual Web tools, you can write applications that connect to database tables using the Java Persistence API (JPA) in addition to the Visual Web JSF data provider components. After you establish the connection to the database table, you can use the Java Persistence API to perform database ...
http://www.netbeans.org/kb/60/web/web-jpa.html
crawl-001
refinedweb
1,482
55.74
0 for example if i wanted to add a list to another list, like: a = [a,b,c] b = [1,2,3] my code: def add(a, b): a = a.append(b) it would output ] what do i have to change to make it output without using the .extend() method? --- how can i create a function that can split a list into two lists with like equal elements in...
https://www.daniweb.com/programming/software-development/threads/240173/wondering-some-things-about-lists
CC-MAIN-2017-39
refinedweb
183
71.78
proper-d 0.0.2 A simple library for reading simple property files. To use this package, run the following command in your project's root directory: Manual usage Put the following dependency into your project's dependences section: Proper-D Proper-D is a simple library of functions for interacting with property files (i...
https://code.dlang.org/packages/proper-d
CC-MAIN-2022-21
refinedweb
562
58.48
Hi, How can we delete the objects initialised by the pointers automatically in a program without delete[]/delete keyword. Like for example java explicitly runs the garbage collector. Can we do that same way somehow?? thank you. Hi, How can we delete the objects initialised by the pointers automatically in a program wit...
http://cboard.cprogramming.com/cplusplus-programming/43443-objects.html
CC-MAIN-2016-30
refinedweb
530
66.23
In this tutorial we will check how read content from the serial port, using the micro:bit board. We will use the micro:bit pins as serial Tx and Rx pins, like we have already covered in this previous tutorial. Introduction In this tutorial we will check how read content from the serial port, using the micro:bit board. ...
https://techtutorialsx.com/2018/11/11/microbit-upython-receiving-data-from-serial-port/
CC-MAIN-2020-16
refinedweb
906
60.55
A" For instance, the fmt package is used to format data either to an input or output. The word fmt is actually a shorthand for format. import "fmt" An example of this package in action is highlighted below: package main import "fmt" func main() { fmt.Println("Hello World") } Third-party packages are packages that are n...
https://www.educative.io/answers/how-to-create-and-utilize-packages-in-go
CC-MAIN-2022-33
refinedweb
879
66.03
A few days ago I answered this interesting question by Florian Kube in the Questions & Answers area. It struck me that the solution might be of more general interest, so in this blog I’m going to expand a bit on my answer. Florian’s scenario is this: He picks up an email with a sender Mail channel. The email has an XML...
https://blogs.sap.com/2017/02/19/replacing-the-message-body-with-an-attachment/
CC-MAIN-2017-13
refinedweb
662
50.63
Omega2-Powered Robot (with Pictures!) - Leif Bloomquist Here are a couple of pictures of my Omega 2 powered robot. I'm using the PWM Expansion on the Power Dock, and it's working not too badly. On the proto board is basically this circuit, one for each motor and using the PWM signal output instead. I had to switch the ...
http://community.onion.io/topic/2136/omega2-powered-robot-with-pictures/4
CC-MAIN-2018-22
refinedweb
492
77.33
ImportError: No module named RealDistribution I'm fairly new to sage, so this may be a dumb question. On the web interface the following code T=RealDistribution('gaussian',.5) runs without issue, however on my local machine, sage throws a not defined error NameError: name 'RealDistribution' is not defined I found this ...
https://ask.sagemath.org/question/28590/importerror-no-module-named-realdistribution/?answer=28595
CC-MAIN-2019-39
refinedweb
249
68.3
How do I check if an object has a property x = {'key': 1}; if ( x.hasOwnProperty('key') ) { //Do this } I'm really confused by the answers that have been given - most of them are just outright incorrect. Of course you can have object properties that have undefined, null, or false values. So simply reducing the property...
https://codedump.io/share/Ka7Y6J6YQxhZ/1/how-do-i-check-if-an-object-has-a-property-in-javascript
CC-MAIN-2017-09
refinedweb
403
66.03
Lesson 2. Write Functions in Python Learning Objectives - Describe the components needed to define a function in Python. - Write and execute a custom function in Python. How to Define Functions in Python There are several components needed to define a function in Python, including the def keyword, function name, parame...
https://www.earthdatascience.org/courses/intro-to-earth-data-science/write-efficient-python-code/functions-modular-code/write-functions-in-python/
CC-MAIN-2021-43
refinedweb
2,527
55.03
#include <index.h> List of all members. Status of this data. bit 0 = stream offset set, bit 1 = temporal offset set, bit 2 = temporal diff set Flags for this edit unit. Key frame offset for this edit unit. Temporal offset for this edit unit. Difference between this edit unit and the edit unit whose stream offsets are s...
http://freemxf.org/mxflib-docs/mxflib-1.0.0-docs/structmxflib_1_1_index_manager_1_1_index_data.html
CC-MAIN-2018-05
refinedweb
127
74.49
Terms defined: Boolean, anonymous function, asynchronous, callback function, cognitive load, command-line argument, console, current working directory, destructuring assignment, edge case, filesystem, filter, globbing, idiomatic, log message, path (in filesystem), protocol, scope, single-threaded, string interpolation ...
https://stjs.tech/systems-programming/
CC-MAIN-2021-39
refinedweb
3,534
57.27
Fluent Bit is a fast and lightweight log processor, stream processor, and forwarder for Linux, OSX, Windows, and BSD family operating systems. Its focus on performance allows the collection of events from different sources and the shipping to multiple destinations without complexity. It is lightweight, allowing it to r...
https://coralogix.com/blog/fluent-bit-guide/
CC-MAIN-2021-25
refinedweb
1,842
51.99
Proposed Features/amenity=reception desk Contents Rejection On the second time this has been presented for voting the proposal has been rejected by 7 oppose to 15 approved (68% approval, present rules require 75% for formal approval). Most of those opposed appear to point to the use of 'desk in the name/value and sugge...
https://wiki.openstreetmap.org/wiki/Proposed_Features/amenity%3Dreception_desk
CC-MAIN-2018-34
refinedweb
2,571
65.01
This article is about improvements made for the TextOut GDI function. With the provided text rendering class, one will be able to perform simple text formatting using RTF tags ("\b", "\i", "\u", "\par", "\r", "\n") and also simple text alignment (left, center, right, top, middle, bottom) in a given bounding rectangle. ...
https://www.codeproject.com/Articles/12020/CTextRender-class
CC-MAIN-2018-22
refinedweb
523
50.87
This page describes how to implement custom DOM events that can be used to pass data. Using this technique you can add extra parameters and query them. For example, if you want Firefox to perform an action whenever something happens (i.e., something other than the standard mouse/keyboard events) and, depending on the d...
https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Creating_Custom_Events_That_Can_Pass_Data
CC-MAIN-2020-40
refinedweb
779
64.81
You could use a Stage object and link the desired camera? Stage[c4d.STAGEOBJECT_CLINK] = ... Posts made by Cairyn - RE: Rendering with specific camera ? You could use a Stage object and link the desired camera? - RE: What's the state of Ngons in Python? @m_magalhaes said in What's the state of Ngons in Python?: About t...
https://plugincafe.maxon.net/user/cairyn/posts
CC-MAIN-2020-40
refinedweb
4,027
62.68
24 April 2008 16:12 [Source: ICIS news] SINGAPORE (ICIS news)--Could the Middle East one day no longer be the choice destination for building petrochemical capacity? This might seem a bizarre question to ask in the midst of the biggest capacity build-up in the history of the region. For example, ?xml:namespace> But the...
http://www.icis.com/Articles/2008/04/24/1120369/insight-lng-changing-mideast-petchem-patterns.html
CC-MAIN-2014-35
refinedweb
919
53.44
SC_ScoresController_Release() Decrements the object's reference count, and deletes the object if the counter reaches 0. Synopsis: #include <scoreloop/sc_scores_controller.h> SC_DEPRECATED SC_PUBLISHED void SC_ScoresController_Release(SC_ScoresController_h self) Since: BlackBerry 10.0.0 Deprecated in BlackBerry 10.3.0 A...
http://developer.blackberry.com/native/reference/core/com.qnx.doc.scoreloop.lib_ref/topic/sc_scorescontroller_release.html
CC-MAIN-2014-35
refinedweb
133
52.76
Hi, I am a quite intensive equation (sin/cos double) which is taking about 40ms at 1MHz on a Mega328. Compiler is WinAVR 20090313. Changing the compiler options from -Os to -O3 or even -O0 does not change the execution time at all. Do these options affect the execution time of the math.h functions or is the library pre...
https://embdev.net/topic/153896
CC-MAIN-2018-26
refinedweb
1,075
74.08
Needless to say that Docker is pretty awesome. This blog itself is now powered by Docker + Capistrano and I can deploy a new post simply by doing bundle exec cap deploy. What's more with Docker, I can move to any hosting provider and setup everything in 10 minutes. Also, gone are the days when I had to fiddle to Chef/P...
http://rockyj.in/2015/09/06/docker_capistrano.html
CC-MAIN-2017-09
refinedweb
745
55.84
What I am trying to do here is write the latitude and longitude of the sighting of a pokemon to a text file if it doesn't already exist. Since I am using an infinite loop, I added an if-state that prevents an already existent pair of coordinates to be added. Note that I also have a list Coordinates that stores the same...
https://codedump.io/share/WSpCshzRriOX/1/if-statement-seemingly-ignored-by-write-operation
CC-MAIN-2016-44
refinedweb
352
58.69
3 Subjects Written by Scott Gardner At this point, you know what an observable is, how to create one, how to subscribe to it, and how to dispose of things when you’re done. Observables are a fundamental part of RxSwift, but they’re essentially read-only. You may only subscribe to them to get notified of new events they...
https://www.raywenderlich.com/books/rxswift-reactive-programming-with-swift/v4.0/chapters/3-subjects
CC-MAIN-2021-04
refinedweb
3,823
65.12
Related link: No sales pitch here, but I just have to announce the launch of something I’ve spent over two years making: the HostBaby Wizard Related link: No sales pitch here, but I just have to announce the launch of something I’ve spent over two years making: the HostBaby Wizard Related link: I’ve been reading about ...
http://www.oreillynet.com/onlamp/blog/2004/12/
crawl-001
refinedweb
7,020
61.06
If you are an applications developer for embedded systems, sending your solutions to remote locations where they can’t be reached for reset or service, this update is for you. The LiFePO4wered/Pi+ has many helpful features for different use cases. Some people like to use the on/off button to boot and shut down their Pi...
https://www.crowdsupply.com/silicognition/lifepo4wered-pi-plus/updates/watchdog-feature
CC-MAIN-2021-17
refinedweb
1,523
56.49
Java basics In this part of the Java tutorial, we will cover some basic programming concepts of the Java language. We begin with some simple programs. We will work with variables, constants, and basic data types. We will read and write to console. We will also mention string formatting. Java simple example We start wit...
http://zetcode.com/lang/java/basics/
CC-MAIN-2019-26
refinedweb
2,138
69.18
User:Laubersm/wiki cleanup notes From FedoraProject A number of groups are just beginning the process of going through wiki pages and renaming them so that they work better with the MediaWiki search engine and adding categories to help group them together by topics. Here are the resources I have used to work through th...
https://fedoraproject.org/wiki/User:Laubersm/wiki_cleanup_notes
CC-MAIN-2015-48
refinedweb
1,523
67.69
Pen Tablet Support/GTK Widget From OLPC This GTK widget is intended for applications that want to map tablet input to an on-screen widget that is the same shape and aspect ratio as the physical tablet. At its largest size, this would take up the full width of the screen and approximately 1/3 of the height of the screen...
http://wiki.laptop.org/index.php?title=Pen_Tablet_Support/GTK_Widget&oldid=125666
CC-MAIN-2015-40
refinedweb
227
67.15
a(); b(); print "$var\n"; sub a { local $var = "a\n"; c(); } sub b { local $var = "b\n"; c(); } sub c { # i'm pleasing you to print a or b print "var: $var"; } [download] Is there a hack to do the above? If not, here is my next best choice... the sub c() is actually spit out by a class and evaled in the callers package...
http://www.perlmonks.org/index.pl?node_id=37758
CC-MAIN-2016-44
refinedweb
1,080
75.95
It's a very different world when a program is an algebraic structure rather than a bag of characters, when you can actually do algebra on programs rather than just swizzling characters around. A lot of things become possible. --James Gosling Read the rest in Analyze this! Two years from now, spam will be solved, --Bill...
http://www.cafeaulait.org/quotes2006.html
CC-MAIN-2018-34
refinedweb
15,449
66.88
The problem with JPA/Hibernate (or the future of ORM) I know, a lot of people are happy to work with JPA and Hibernate. Consider this a post from somebody who thinks things can be improved. I have a love/hate relationship with Hibernate, for many reasons that I don't want to go into now. Overall I do like Hibernate and...
http://java.dzone.com/news/problem-jpahibernate-or-future-orm
crawl-002
refinedweb
669
65.01
12 June 2012 By clicking Submit, you accept the Adobe Terms of Use. JavaScript beginner/intermediate, HTML5 beginner/intermediate and a basic knowledge of jQuery. Due to its use of the getUserMedia and audio APIs, the demo requires Chrome Canary and must be run via a local web server. All In this article, I discuss how...
http://www.adobe.com/devnet/html5/articles/javascript-motion-detection.html
CC-MAIN-2014-35
refinedweb
3,017
64.41
Hi, Is anyone of devs supports Fireworks! It seems that project is not supported at all? Maybe I am missing something … Hi, It’s supported. Hi, thanks for reply… So that I am clear, I like framework, I used very successfully at nyse. I want to use it but pytask option is dead. Can someone look at that and confirm or pr...
https://matsci.org/t/fireworks/40219
CC-MAIN-2022-21
refinedweb
2,037
63.59
Selenium automates browsers. It automates the interaction we do in a browser window such as navigating to a website, clicking on links, filling out forms, submitting forms, navigating through pages, and so on. It works on every major browser available out there. In order to use Selenium WebDriver, we need a programing ...
https://www.packtpub.com/product/learning-selenium-testing-tools-with-python/9781783983506
CC-MAIN-2020-40
refinedweb
3,037
53.41
I’ll kick things off by posting my version of the programming exercise solutions for the popular book, C++ Primer Plus 5th edition. All source code for the exercises in this series will be my own. Feel free to reference it or use it for your own purposes. The programming exercises start at chapter 2, so off we go with ...
https://rundata.wordpress.com/2012/10/12/c-primer-chapter-2-exercise-1/
CC-MAIN-2017-26
refinedweb
102
71.85
משיב מוביל Hyper-V 2016 VMs stuck 'Creating checkpoint 9%' while starting backups שאלה We have a two clustered W2016 Hyper-V hosts, every couple of days one of the hosts gets stuck when the backup kicks off. In Hyper-V manager the VMs all say 'Creating checkpoint 9%' It's always the same percentage 9%. You can't cancel...
https://social.technet.microsoft.com/Forums/windows/he-IL/0d99f310-77cf-43b8-b20b-1f5b1388a787/hyperv-2016-vms-stuck-creating-checkpoint-9-while-starting-backups
CC-MAIN-2020-05
refinedweb
8,426
64.3
Invalid use of non-static data member "ui" Sorry if my terms are incorrect i come from a java background. Im trying to create a util class to just make my project more organised but I'm having problems accessing my UI from an external class, at first in the header file the UI was private so i changed it to public but n...
https://forum.qt.io/topic/66771/invalid-use-of-non-static-data-member-ui
CC-MAIN-2019-30
refinedweb
891
63.9