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
When writing a script, you don't always get it right the first time. That was a worthwhile lesson that our engineering team recently learned. Every month when Microsoft releases security updates, our engineering team must automate their installation. Generally, this is a simple task of running the patch executable with...
https://www.itprotoday.com/devops-and-software-development/don-t-expect-get-it-right-first-time
CC-MAIN-2018-43
refinedweb
2,348
58.79
This content has been marked as final. Show 19 replies 15. re:PL/SQL notification / DBMS_AQ.REGISTER253424 Oct 2, 2002 12:14 PM (in response to 253424)Hallo Kamal, in this moment the notification works on our sun instances. the solution looks crazy. We compare everyting on winXP and sun/solaris servers oracle's setting...
https://community.oracle.com/message/10882473
CC-MAIN-2017-17
refinedweb
537
69.07
The kids at coding club have decided that we should write an implementation of pong in python. I took a look at some options, and decided tkinter was the way to go. Thus, I present a pong game broken up into stages which are hopefully understandable to an 11 year old: Operation Terrible Pong. Category: Coding_club More...
https://www.madebymikal.com/category/coding_club/
CC-MAIN-2019-13
refinedweb
647
82.34
Setup import numpy as np import tensorflow as tf from tensorflow import keras from tensorflow.keras import layers Introduction. Padding sequence data]] Masking Now that all samples have a uniform length, the model must be informed that some part of the data is actually padding and should be ignored. That mechanism is m...
https://www.tensorflow.org/guide/keras/masking_and_padding
CC-MAIN-2022-40
refinedweb
275
56.15
Hello, For an intership, I need to program the Arduino function SPI.transfer(data) (...) in Atmel Stuido. I use the microprocessor SAM3X8E (..., page 676-707 for the SPI part). I did this function : static inline uint8_t spi_transmit(uint8_t data) { /* Transmission of the data/ SPI0->SPI_TDR = data; /* wait the end of ...
https://www.avrfreaks.net/comment/3145381
CC-MAIN-2022-40
refinedweb
504
69.41
Why is it important to constantly monitor fixed assets Why is it important to constantly monitor all of your fixed assets? What role do these assets play in your organization's financial well-being? Why is it important to constantly monitor all of your fixed assets? What role do these assets play in your organization's...
https://brainmass.com/business/accounting/pg90
CC-MAIN-2017-51
refinedweb
1,017
55.34
docopt 0.6.1-b.6 docopt implementation in D To use this package, run the following command in your project's root directory: docopt creates beautiful command-line interfaces .. image::: .. code:: d import std.stdio; import docopt; int main(string[] args) { auto doc = . "; auto arguments = docopt.docopt(doc, args[1..$],...
https://code.dlang.org/packages/docopt
CC-MAIN-2019-35
refinedweb
958
59.7
Largest Sum Contiguous Subarray Write: #include<stdio.h> int maxSubArraySum(int a[], int size) { int max_so_far = 0, max_ending_here = 0; int i; for(i = 0; i < size; i++) { max_ending_here = max_ending_here + a[i]; if(max_ending_here < 0) max_ending_here = 0; if(max_so_far < max_ending_here) max_so_far = max_ending_her...
http://www.geeksforgeeks.org/largest-sum-contiguous-subarray/
CC-MAIN-2013-20
refinedweb
2,771
62.58
RTTI considered harmful? Posted on March 1st, 2001 Various designs in this chapter attempt to remove RTTI, which might give you the impression that it’s “considered harmful” (the condemnation used for poor, ill-fated goto, which was thus never put into Java). This isn’t true; it is the misuse of RTTI that is the proble...
http://www.codeguru.com/java/tij/tij0181.shtml
CC-MAIN-2017-09
refinedweb
909
61.97
What’s new in UCMA 4.0?Posted: August 14th, 2012 | Author: Michael | Filed under: UCMA 4.0 | Tags: Lync 2013, Task Parallel Library | No Comments » With the preview of Lync Server 2013 now available, you may be wondering what’s new in the good old Unified Communications Managed API. You may even have located the UCMA 4...
http://blog.greenl.ee/2012/08/14/ucma-4/
CC-MAIN-2019-30
refinedweb
652
70.84
21 Feb 2013 07:54 Re: speed of runmed on SimpleRleList Hervé Pagès <hpages@...> 2013-02-21 06:54:11 GMT 2013-02-21 06:54:11 GMT Hi Janet, On 02/19/2013 06:10 PM, Janet Young wrote: > Hi Herve (and Valerie), > > Interesting - thanks for looking into this. Funny that the ends make > such a large difference, but I think I...
http://permalink.gmane.org/gmane.science.biology.informatics.conductor/46494
CC-MAIN-2013-48
refinedweb
1,474
71.85
Detect faces more accurately in ~180 degree fisheye camera image by correcting first With a fisheye lens that's about 180 degrees, the goal is to help ensure the best accuracy in detecting the presence of faces (especially near the edges) by first undistorting the image. I understand it's unrealistic to expect to be ab...
https://answers.opencv.org/question/99719/detect-faces-more-accurately-in-180-degree-fisheye-camera-image-by-correcting-first/
CC-MAIN-2019-43
refinedweb
388
68.97
You are working at a lower league football stadium and you’ve been asked to The referee will shout out the score, you have already set up the voice recognition module which turns the ref’s voice into a string, but the spoken score needs to be converted into a pair for the scoreboard! e.g. “The score is four nil” should...
https://kibiwebgeek.com/turn-string-into-the-score/
CC-MAIN-2021-04
refinedweb
178
80.11
I am trying to split up a four digit integer so i can perform math on each integer to "encrypt" it. This is what i have so far. import javax.swing.JOptionPane; public class Project5e { public static void main(String[] args) { String input; int number1; int number2; int number3; int number4; input = JOptionPane.showInpu...
http://www.javaprogrammingforums.com/whats-wrong-my-code/11948-using-char-split-up-interger.html
CC-MAIN-2015-48
refinedweb
140
69.89
15 April 2011 12:34 [Source: ICIS news] (Adds CEO comments and details on regional sales.) LONDON (ICIS)--Syngenta’s first-quarter sales increased 14% year on year to $4.02bn (€2.77bn) as a result of strong performance in the European, African and the Middle East markets, the Switzerland-based agrichemicals firm said o...
http://www.icis.com/Articles/2011/04/15/9452854/switzerlands-syngenta-first-quarter-sales-jump-14-to-4.02bn.html
CC-MAIN-2014-49
refinedweb
304
55.13
# MVCC in PostgreSQL-4. Snapshots After having discussed [isolation](https://habr.com/ru/company/postgrespro/blog/467437/) problems and having made a digression regarding the [low-level data structure](https://habr.com/ru/company/postgrespro/blog/469087/), last time we explored [row versions](https://habr.com/ru/compa...
https://habr.com/ru/post/479512/
null
null
2,491
53.1
unsung hero Part of Speech: n Definition: a person who makes a substantive yet unrecognized contribution We have 10 full SharePoint Conference 2011 (SPC) passes (valued at $1,199.00!!! each) to give to deserving individuals who would like to attend SPC 2011 and who are prepared to help the conference in a small way in ...
https://blogs.msdn.microsoft.com/cjohnson/2011/07/01/send-an-unsung-hero-to-spc/
CC-MAIN-2019-30
refinedweb
302
68.6
#include <openssl/rand.h> const char *RAND_file_name(char *buf, size_t num); int RAND_load_file(const char *filename, long max_bytes); int RAND_write_file(const char *filename); RAND_file_name() generates a default path for the random seed file. buf points to a buffer of size num in which to store the filename. The see...
http://www.syzdek.net/~syzdek/docs/man/.shtml/man3/RAND_load_file.3.html
crawl-003
refinedweb
166
74.49
Even so, it is a good idea to hide these headers, or use them to provide misleading information. In an MVC application, there are generally 3 headers you are going to want to target. The first one is the server header. This one is IIS specific. Unfortunately, MS has not provided an easy way to change this header. The t...
https://www.shamirc.com/2013/11/mvc4-remove-unnecessary-headers.html
CC-MAIN-2022-05
refinedweb
273
60.31
I have an amazing tool called 7edit for editing and sending HL7 v2 messages. I've searched hours for a similar tool for HL7v3 without luck. They're all web based, crappy, broken links, etc. Hi Scott, One way would be to use an Ensemble production in a separate namespace to take your example HL7v3 messages and send them...
https://community.intersystems.com/post/how-can-i-send-test-message-my-healthshare-instance%C2%A0
CC-MAIN-2019-39
refinedweb
122
62.58
imshow shows black screen I did create a project where everything was running as intended. Then I reinstalled my system, copied the project and I get black screen when showing any frame of proccessed video. My simple code: #include <cstdio> #include "opencv2/opencv.hpp" #include <iostream> #include <sstream> using name...
http://answers.opencv.org/question/86993/imshow-shows-black-screen/
CC-MAIN-2019-04
refinedweb
190
75.2
Talk:Authoring a Logical Entity Contents - 1 c stands for server ? - 2 Testing the entity - 3 What's with the C++ tutorial? - 4 Forgetting something? - 5 // memdbgon must be the last include file in a .cpp file!!! - 6 Good tutorial! - 7 Extra Things - 8 Added a tutorial on using the logical entity in Hammer - 9 CLogica...
https://developer.valvesoftware.com/wiki/Talk:Authoring_a_Logical_Entity
CC-MAIN-2021-10
refinedweb
1,634
72.26
/***************************************************/ /*! \class UdpSocket \brief STK UDP socket server/client class. This class provides a uniform cross-platform UDP socket server/client interface. Methods are provided for reading or writing data buffers. The constructor creates a UDP socket and binds it to the specif...
http://csound.sourcearchive.com/documentation/1:5.08.0.dfsg2-1ubuntu3/UdpSocket_8h-source.html
CC-MAIN-2017-30
refinedweb
379
60.82
The new NVM Express 2.0 (NVMe 2.0) Protocol has been released. While the thrust of the protocol focuses on flash storage and networking, the latest additions include full-blown support for hard disk drives (HDDs). The addition of hard drive support is one of the biggest changes coming to NVMe 2.0 and something most peo...
https://www.tomshardware.com/uk/news/nvme-2-0-supports-hard-disk-drives
CC-MAIN-2021-43
refinedweb
707
65.32
About $4,430 46 Video 1: How we got started... Video 2: About our miniatures... Video 3: More info and how they can be used... The names of the ships and factions are from our own Stars Reach universe. Use the retail prices listed to add to various pledge levels. To save on production cost no flight stands are included...
https://www.kickstarter.com/projects/twilightgamedesigns/stars-reach-space-ship-miniatures
CC-MAIN-2018-09
refinedweb
806
77.27
Difference Between C# Array vs List This is a very nice question while not one, definite answer. From my perspective, C# Array vs List are wherever the abstraction and implementation people in computing meet. An array is incredibly a lot of tied to the hardware notion of continuous, contiguous memory, with every part i...
https://www.educba.com/c-sharp-array-vs-list/
CC-MAIN-2019-30
refinedweb
1,092
51.89
First set of code. def main(): #Create a bool variable to use as a flag. found = False #Get the search value. search = raw_input('Enter a number to search for: ') #Open the numbers.txt file. account_file = open('numbers.txt', 'r') #Read the first record. line = number_file.readline() #Determine whether this record matc...
http://www.dreamincode.net/forums/topic/232611-search-a-text-file-in-python/
CC-MAIN-2017-04
refinedweb
219
79.36
. I think its funny to use the term "constant variable". Its just a constant right? Youre basically saying "Jumbo shrimp". Global constants are absolutely OK especially with the trick shown previously where they wont be copied into every file that includes them. Really its just global variables are bad, global constant...
https://www.learncpp.com/cpp-tutorial/why-global-variables-are-evil/comment-page-1/
CC-MAIN-2021-04
refinedweb
4,188
63.8
I have an ArcGIS Pro 2.3 install, and I'm following the instruction of. In Jupyter Notebook dashboard, after typing: from arcgis.gis import GIS my_gis = GIS() my_gis.map() I see MapView(layout=Layout(height='400px', width='100%')) but no map is displayed. What am I missing? One potential issue I see is ArcGIS Pro conne...
https://community.esri.com/thread/231882-arcgis-pro-23-and-jupyter-notebook
CC-MAIN-2020-45
refinedweb
109
78.96
to move values of one radio button field 2013-01-30T12:45:24Z | - SystemAdmin 110000D4XK24948 Posts Re: Help-External PERL script to move values of one radio button field2013-01-30T13:57:59Z This is the accepted answer. This is the accepted answer.It sounds like you are saying that for every single record that has the...
https://www.ibm.com/developerworks/community/forums/html/topic?id=77777777-0000-0000-0000-000014935112
CC-MAIN-2017-34
refinedweb
139
64.07
In my previous article we got to know how to create two methods that handle the log maintenance for exceptions. After that just build the application and we will get the "dll" of the project. The link of my previous article is in this article I will describe how to use the "ErrorHandling" dll when an exception happens ...
http://www.c-sharpcorner.com/UploadFile/b19d5a/exception-error-handling-log-maintenance-in-a-text-file-part-2/
CC-MAIN-2014-42
refinedweb
388
57.98
Source JythonBook / chapter18.rst Chapter 18: Testing and Continuous Integration - Chapter Draft Nowadays, automated testing is a fundamental activity in software development. In this chapter you will see a survey of the tools available for Jython is this field, from common tools used in the Python world to aid with un...
https://bitbucket.org/javajuneau/jythonbook/src/28b0486ae6c1/chapter18.rst?at=default
CC-MAIN-2015-40
refinedweb
3,260
61.77
05 October 2012 16:53 [Source: ICIS news] HOUSTON (ICIS)--Brazil-based Petrobras is looking to gain a foothold in the US aromatics market by selling excess benzene from its Brazilian plants, a source with the company said. Petrobras recently revamped its Refinaria Presidente Bernardes Cubatao (RPBC) complex in Sao Paul...
http://www.icis.com/Articles/2012/10/05/9601249/petrobras-seeks-to-offer-additional-benzene-into-the-us.html
CC-MAIN-2013-48
refinedweb
462
64
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. Where I can find the code for float fields in 6.04 gtk client? I need to force a '.' char in decimal fields to ',' (our decimal s...
https://www.odoo.com/forum/help-1/question/where-i-can-find-the-code-for-float-fields-in-6-04-gtk-client-17914
CC-MAIN-2017-17
refinedweb
275
63.15
news.digitalmars.com - c++Dec 15 2006 Performance compare to VC8? (4) Dec 14 2006 cd834.zip will not download (2) Dec 14 2006 Bug trying to get CPU ussage (1) Dec 11 2006 enabled exception handling and generated code (1) Dec 10 2006 Optimization bug (2) Dec 10 2006 [bug] namespaces and anonymous namespaces (1) Dec 10 2...
https://www.digitalmars.com/d/archives/c++/index2006.html
CC-MAIN-2020-34
refinedweb
1,071
74.93
builder.dart A general build tool for Dart projects, allowing for easy execution from the command line and from the Dart Editor. It supports both a procedural and declarative style. There is also planned support for pub transformers to allow using some standard Dart build processes, like unit testing and document gener...
https://www.dartdocs.org/documentation/builder/0.2.3/index.html
CC-MAIN-2017-26
refinedweb
1,055
57.27
We've had feedback from many sources (comments in this blog, emails, in-person meetings, partner advisory board, etc.) that we should fix the element ID problem in AX - the sooner the better. Thank you very much for this feedback. This post is intended to give a bit of background on this subject. The element ID problem...
https://blogs.msdn.microsoft.com/mfp/2008/05/21/solving-the-element-id-problem/
CC-MAIN-2018-26
refinedweb
752
72.76
iSequenceManager Struct ReferenceThe sequence manager. More... #include <ivaria/sequence.h> Detailed DescriptionThe sequence manager. The sequence manager is a plugin that will perform sequences of operations depending on elapsed time. It is mostly useful for demo's or intros of games. Main creators of instances implem...
http://www.crystalspace3d.org/docs/online/api-1.2/structiSequenceManager.html
CC-MAIN-2016-07
refinedweb
547
59.5
Via the pod function, it is possible to include, in a POD result, sub-documents being themselves computed as POD results from other POD templates. Imagine you have developed some accounting software. As a POD fan, you have defined a POD template allowing to produce the PDF version of every invoice stored in your databa...
https://appyframe.work/104
CC-MAIN-2022-27
refinedweb
845
53.51
Originally published in my blog Hey folks, how are you doing? In this post, I will show you a quick and simple Webpack 4 setup for a React application. I'll assume you already have node, npm and the usual suspects installed.. <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="...
https://dev.to/felipegalvao/simple-setup-for-a-react-application-with-webpack-4--css--sass-bef
CC-MAIN-2021-49
refinedweb
274
54.49
Red Hat Bugzilla – Bug 483025 Review Request: imms - Adaptive playlist framework tracking and adapting to your listening patterns Last modified: 2010-11-08 22:06:02 EST Spec URL: SRPM URL: Description: IMMS is an adaptive playlist framework that tracks your listening patterns and dynamically adapts to your taste. Curre...
https://bugzilla.redhat.com/show_bug.cgi?id=483025
CC-MAIN-2016-44
refinedweb
1,639
64.51
With few exceptions, using the C preprocessor. How I Switch between Staging and Production URLs! Question: Where do you still find the preprocessor helpful? What are the alternatives? Leave a comment below to share your observations. Did you find this useful? Subscribe today to get regular posts on clean iOS code. 🙂 C...
http://qualitycoding.org/preprocessor/
CC-MAIN-2017-13
refinedweb
1,568
66.54
I am currently enrolled at Launch School in order to learn the art of programming. During the section where we learn about recursion, the Fibonacci sequence is used to illustrate the concept. Below is a recursive method, written in Ruby, to find the nth number in the Fibonacci sequence. I will attempt to explain how th...
https://medium.com/launch-school/recursive-fibonnaci-method-explained-d82215c5498e
CC-MAIN-2018-51
refinedweb
1,462
63.32
WebStorm 2019.2 EAP #2: New Look of Code Completion Popup, Attach Project, and Completion in .gitignore WebStorm 2019 #2 (build 191.4787.13). For the full list of issues fixed in this update, see the Release Notes. Updated presentation of completion suggestions in JavaScript One of the things we’ve been working on in W...
https://blog.jetbrains.com/webstorm/2019/06/webstorm-2019-2-eap-2/
CC-MAIN-2020-29
refinedweb
1,494
71.95
Version 1.57.0 Version 1.57.0 November 3rd, 2014 21:55 GMT Updated Libraries - - Asio: - - - - - - - - - Explicitly marked asio::strandas deprecated. Use asio::io_service::strandinstead. - Circular Buffer: - - Container: - Added support for initializer_list. Contributed by Robert Matusewicz. - Fixed double destruction ...
http://www.boost.org/users/history/version_1_57_0.html
CC-MAIN-2018-13
refinedweb
1,041
52.76
recvfrom - receive a message from a socket #include <sys/socket.h> ssize_t recvfrom(int socket, void *restrict buffer, size_t length, int flags, struct sockaddr *restrict address, socklen_t *restrict address_len); The recvfrom() function shall receive a message from a connection-mode or connectionless-mode socket. It i...
http://pubs.opengroup.org/onlinepubs/007904975/functions/recvfrom.html
CC-MAIN-2017-13
refinedweb
351
59.84
I am quite confused at the last step for my project can anyone explain this is the first part. Instructions haven't told me to create a drawAll()method so I assumed it was a graphics method but it doesn't appear on oracle? I'm new programmer help is appreciated. Thanks After the sleep, call drawAll(g). The drawAll meth...
https://codedump.io/share/eqa9ggo6fcmF/1/can39t-seem-to-call-or-create-a-specific-method-drawall
CC-MAIN-2017-34
refinedweb
193
56.05
Hi cannot connect to my router. Courses ESP32 Web Server – Control Outputs my NodeMCU-32s cannot connect with my D-link router. DIR-860L Have written the right ssid and code Hello Henrik, - What do you see in the Arduino IDE serial monitor? - Just dots kept being printed? If that’s the case, it means that either your S...
https://rntlab.com/question/wrapping_up-error/
CC-MAIN-2021-04
refinedweb
367
81.02
Talk:Proposed features/House numbers/Karlsruhe Schema Contents - 1 addr:full and multi-line -values - 2 Rendering - 3 Experiences - 4 postcode / postal_code / ZIP - 5 Blocks of Flats - 6 Liebe Karlsruher - 7 Not topological - 8 associatedStreet vs. street - 9 More than one housenumber for a single node/house - 10 One b...
https://wiki.openstreetmap.org/wiki/Talk:Proposed_features/House_numbers/Karlsruhe_Schema
CC-MAIN-2018-30
refinedweb
14,813
59.23
See also: IRC log <josema> trackbot, start telcon <trackbot> Date: 31 March 2010 <cygri> hi folks. is the call *now*? i can't dial in, it tells me the conference is restricted <sandro> yeah. <Chris> saem <sandro> it's broken. <Chris> *same <John> Me too... <Chris> bugger... <josema> I don't even get the error message <...
http://www.w3.org/2010/03/31-egov-minutes
CC-MAIN-2014-35
refinedweb
2,440
64.75
PythonEffectTutorial Effect extensions in Inkscape means a simple programs or scripts that reads an SVG file from standard input, transforms it somehow and prints it to the standard output. Usually Inkscape sits on both ends, providing the file with some parameters as input first and finally reading the output, which i...
http://wiki.inkscape.org/wiki/index.php/PythonEffectTutorial
CC-MAIN-2017-26
refinedweb
1,351
58.99
Concordance as a Measure of Model Fit The whole idea of concordance as a success metric makes a lot more sense when you look at the definition of the word itself. an alphabetical list of the words (especially the important ones) present in a text, usually with citations of the passages concerned. Simply put, the Concor...
https://napsterinblue.github.io/notes/stats/survival_analysis/concordance/
CC-MAIN-2021-04
refinedweb
2,238
56.86
self.getposition(d) not equal to self.getpositionbyname(d._name) I appreciate that a complete code example would be useful, but I am not sure I can extract one easily, though I will try to produce a MWE. Anyway, in the meantime, is there any obvious plausible explanation for the following (literally executed line after...
https://community.backtrader.com/topic/1815/self-getposition-d-not-equal-to-self-getpositionbyname-d-_name/
CC-MAIN-2019-51
refinedweb
2,116
52.05
With the ongoing increase in human-device interaction, Alexa devices have found a strong place in the market. Echo devices are now placed in home and offices to control the lights, check news, get the status of a task etc with just voice command. Every user now has their private (virtual) assistant to make their life e...
https://www.srijan.net/resources/blog/alexa-account-linking
CC-MAIN-2021-25
refinedweb
783
59.03
Live Projections Note Live Projections feature is obsolete in favor of Result Transformers. Usually, RavenDB can tell what types you want to return based on the query type and the CLR type encoded in a document, but there are some cases where you want to query on one thing, but the result is completely different. This ...
https://ravendb.net/docs/article-page/2.5/csharp/client-api/querying/static-indexes/live-projections
CC-MAIN-2019-43
refinedweb
226
57.47
In this post, I will show you how a bitcoin transaction presented in the raw format is to be interpreted and how conversely a bitcoin transaction stored in a C++ (and later Python) object can be converted into a hexadecimal representation (a process called serialization). Ultimately, the goal of this and subsequent pos...
https://leftasexercise.com/2018/03/16/on-the-road-again-serializing-and-deserializing-bitcoin-transactions/
CC-MAIN-2020-50
refinedweb
1,686
54.52
Why I can't find device used CCyUSBDeviceyumic_3247926 Aug 22, 2018 8:48 PM This is the test code. when I didn't load the IMG the result is like this: but when I loaded the IMG ,the reslut is like this: This IMG can work! Could you tell me why the empty it can find the device,instead the loading right IMG can't find de...
https://community.cypress.com/thread/36314
CC-MAIN-2020-40
refinedweb
766
62.98
guys i need help ASAP since i need to submit this miniproject and i need 1 more minor questions need asnwered. the C++ coding is given below, i need to change it to function type but giving out the same output. #include <iostream> #define SIZE 7 using namespace std; int main() { int A[ SIZE ] = { 2, 4, 8, 16, 32, 64, 1...
https://www.daniweb.com/programming/software-development/threads/400778/user-defined-function-based-on-array
CC-MAIN-2017-43
refinedweb
118
57.98
![endif]--> This Wiki page is a deep dive into the Arduino board's Two Wire library. It specifically references the Arduino Duemilanove with its ATmega328 chip. It explores the source code and describes the hardware in the computer, and how the library makes it tick. Wire.begin() sbi(PORTC, 4); sbi(PORTC, 4); twi_init(...
http://playground.arduino.cc/Code/ATMELTWI
CC-MAIN-2016-50
refinedweb
7,798
72.36
? In case you missed it, here is the “React Inception” pattern (thanks for the great name, @mctaylorpants):> ) } } // Handle updated values by re-rendering the app function render(value) { ReactDOM.render( <CommentForm value={value} onChange={render} />, document.getElementById("react-app") ) } // Initialise the app by...
http://jamesknelson.com/state-react-2-inception-redux/
CC-MAIN-2017-34
refinedweb
1,230
56.55
Comparing two HTTP codes is a particularly simple task. Since an HTTP code is simply an integer, we can use the built in C comparison functions <, >, <=, >=, ==, !=, for comparing whether one integer is less than, greater than, less than or equal to, greater than or equal to, equal to or not equal to a second integer, ...
http://friedspace.com/cprogramming/compare2.php
crawl-001
refinedweb
478
61.06
From Capitol Column Stone noted that there are things that the U.S. Government can do to help improve the situation in Mexico, including legalizing marijuana. Oliver Stone thinks its time to stop the endless debate and legalize marijuana. “I think it’s a tragedy what has happened, and I saw it coming 40 years ago, and ...
https://patients4medicalmarijuana.wordpress.com/2012/07/06/oliver-stone-obama-hasnt-delivered-on-marijuana-legalization/
CC-MAIN-2018-05
refinedweb
1,185
64.51
Translation(s): none Theory GCC (GNU Compiler Collection) is a set of compilers developed by the GNU project that support a lot of languages, a lot of different architectures, and provides the basic layer for software development in most Free operating systems. GCC includes front ends for C, C++, Onjective C, Java, ADA...
https://wiki.debian.org/Courses/MaintainingPackages/Intro/Gcc
CC-MAIN-2021-39
refinedweb
476
66.74
jps wrote:Clams wrote. Thanks for the info. This is a Windows specific regression, and will be fixed for the next build. def show_quick_panel(self, items, on_select, flags = 0, selected_index = -1, on_highlight = None): [...] items_per_row = 1 flat_items = items if len(items) > 0 and isinstance(items[0], list): -----> ...
http://www.sublimetext.com/forum/viewtopic.php?p=46675
CC-MAIN-2014-10
refinedweb
155
52.76
Hello readers! In this tutorial, we’ll be looking at how we can quickly build a dashboard in Python using dash, from a CSV file. Dash is a Python framework that makes it easy for anyone to build dashboards in Python, while not having to deal with the frontend required directly. Steps to build a dashboard in Python Let’...
https://www.askpython.com/python/examples/build-a-dashboard-in-python
CC-MAIN-2021-31
refinedweb
475
66.94
I am trying to trigger execution of certain frozen python code (module members etc) from underlying C code. Thanks to some other posts on the forum (links at bottom) I've been able to: - execute the built-in print() function with my own arguments - execute the built in os.listdir() module method (no errors, but did not...
https://forum.micropython.org/viewtopic.php?p=53365
CC-MAIN-2021-10
refinedweb
257
51.18
Most charts show one point at a time on a Cartesian (x/y) coordinate. That is, a single point might indicate that July sales were $525MM while August sales (a second point) were $350MM. The chart might also show a line connecting the two points to show the change in value. But each individual entry is typically a singl...
https://www.telerik.com/blogs/showing-4-data-points-at-once-financial-chart
CC-MAIN-2021-39
refinedweb
669
50.53
Overview: In this article We will discuss calculating the Power of a Number using Recursion. First of all I would like to explain what a number is. What do you mean by the power of a number? How to calculate the power of a number? Then, I will demonstrate how to find the power of a number. Furthermore, I would write th...
https://www.onlineinterviewquestions.com/blog/c-program-to-find-power-of-a-number-using-recursion/
CC-MAIN-2021-17
refinedweb
773
61.56
This article was written and submitted by an external developer. The Google App Engine team thanks Jesaja Everling for his time and expertise. Jesaja Everling February 2009 WARNING (Nov 2010): The app-engine-patch was deprecated towards the end of 2009. The creators of the Patch have moved on to create a much better to...
https://cloud.google.com/appengine/articles/app-engine-patch
CC-MAIN-2015-40
refinedweb
2,939
58.38
This post is a pre-requisite for the next thing I want to talk about so may not make a whole lot of sense or be all that interesting until shown in that context. Say you have a function like this: If you know the values of a, m and n, how do you solve for x? Note in this post we are only dealing with integers, so we ar...
http://blog.demofox.org/2015/09/10/modular-multiplicative-inverse/
CC-MAIN-2017-22
refinedweb
813
67.59
Code. Collaborate. Organize. No Limits. Try it Today. For a short while it was rather disappointing as a C++ developer that you did not have lambdas while other languages like C# already had them. Of course, that's changed now and C++ not only has lambdas but C++ lambdas have greater syntactic flexibility than C# lambd...
http://www.codeproject.com/Articles/277612/Using-lambdas-Cplusplus-vs-Csharp-vs-Cplusplus-CX?fid=1662546&df=10000&mpp=50&noise=3&prof=True&sort=Position&view=None&spc=None&select=4103503&fr=51
CC-MAIN-2014-23
refinedweb
2,496
62.68
Integrating services like Microsoft Account, Google Account, Facebook, Twitter etc. in our apps undoubtedly provides several benefits, one of which is that we can use them as an account system for our app. From the developers’ point of view, it means not bothering with creating interfaces and functionalities for user p...
https://eren.ws/2013/10/14/integrating-microsoft-account-live-id-in-windows-store-apps-using-live-sdk-boredom-challenge-day-10/?replytocom=6796
CC-MAIN-2021-49
refinedweb
954
56.96
C9 Lectures: Stephan T. Lavavej - Standard Template Library (STL), 9 of n - Posted: Nov 29, 2010 at 10:57 AM - 103,708 Views - 52!!! i have learned allot more about the STL. and appreciate the detail... Excellent. WOW!! Thank you, Stephan and Charles. Good Lecture and Video. 4 years ago, many people frequently asked me...
http://channel9.msdn.com/Series/C9-Lectures-Stephan-T-Lavavej-Standard-Template-Library-STL-/C9-Lectures-Stephan-T-Lavavej-Standard-Template-Library-STL-9-of-n?format=smooth
CC-MAIN-2015-14
refinedweb
5,337
63.8
of a pain. This is what I realized when I found myself in the need to upload large files to a web site using Twisted. I googled, and I googled, and I found no real answer to my problems. You can of course find an easy solution: build a multipart request by building the request body yourself out of the files you are tr...
https://marianoiglesias.com.ar/python/file-uploading-with-multi-part-encoding-using-twisted/comment-page-1/
CC-MAIN-2021-21
refinedweb
1,327
65.93
I've read a few posts about this and thought I had some code that worked. If the difference between the 2 values is less than a 1sec then the millisecs displayed is correct. If the difference is more than a sec, its still only showing me the difference of the millisecs. As below. Correct: now_wind 2013-08-25 08:43:04.7...
https://codedump.io/share/vEvV6EEXqJWT/1/python---time-difference-in-milliseconds-not-working-for-me
CC-MAIN-2017-04
refinedweb
205
73.13
The QTextBlockFormat class provides formatting information for blocks of text in a QTextDocument. More... #include <QTextBlockFormat> Inherits QTextFormat. Note: All the functions in this class are reentrant. The QTextBlockFormat class provides formatting information for blocks of text in a QTextDocument. A document is...
http://doc.trolltech.com/4.5-snapshot/qtextblockformat.html#alignment
crawl-003
refinedweb
205
55.5
* James Morris wrote: > On Fri, 8 May 2009, Ingo Molnar wrote: > > > > In general, I believe that ftrace based solutions cannot safely > > > validate arguments which are in user-space memory when multiple > > > threads could be racing to change the memory between ftrace and > > > the eventual copy_from_user. Because of...
http://article.gmane.org/gmane.linux.kernel.lsm/8621
CC-MAIN-2017-39
refinedweb
769
50.97
The Twins Electronic Game Introduction: The Twins Electronic Game In one evening, you can easily create this fun & versatile game for 2 users. NOTE: You will need 2 of everything, that is why it is called "The Twins". It starts with a PCB you can create yourself or purchase already made from Add to that a simple Arduin...
http://www.instructables.com/id/The-Twin-Electronic-Game/
CC-MAIN-2017-47
refinedweb
948
67.76
Just say i want to read a amount of words, lines, and characters in a .dat file. Im thinking my string algoritim would look something like this: ------------------------------------------ //for words, lines, characters count read file, and then out_stream or cout results //in_stream is already connected to words.dat #i...
http://cboard.cprogramming.com/cplusplus-programming/4827-need-help-string-read.html
CC-MAIN-2015-22
refinedweb
147
75.61
Red Hat Bugzilla – Bug 82091 Cannot select subscribed #shared/... folders Last modified: 2008-05-01 11:38:04 EDT From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021218 Description of problem: We are using a number of shared IMAP folders in the #shared/ IMAP namespace (WU-IMAP...
https://bugzilla.redhat.com/show_bug.cgi?id=82091
CC-MAIN-2017-09
refinedweb
250
67.04
0 Hello, After a relatively small C++ background, I decided to learn some Java. I want to be able to pass two variables from my main class, evaluate them in another class, and return that answer to the main class. I have all the code done for it pretty much, but I can't figure out how to use the returned variable in my...
https://www.daniweb.com/programming/software-development/threads/444397/how-to-return-variables-from-different-classes-functions
CC-MAIN-2018-05
refinedweb
268
52.87
Question In this exercise, the function written computes the average of two numbers passed as parameters. If the function were given a list of numbers, how could the average be calculated? Answer There are several ways to write a function to calculate the average of a list. In later versions of Python 3, there is a sta...
https://discuss.codecademy.com/t/how-can-i-calculate-the-average-for-a-list-of-numbers/362502
CC-MAIN-2020-16
refinedweb
176
60.85
MageUI.exe Deployment Manifest Tab This topic describes the Deployment Manifest tab for the graphical Manifest Generation and Editing Tool (MageUI.exe) The Name tab is the tab displayed when you first create or open a deployment manifest. It uniquely identifies the deployment, and optionally specifies a valid target pl...
http://msdn.microsoft.com/en-US/library/396st2hh(v=vs.80).aspx
CC-MAIN-2014-35
refinedweb
815
51.34
Most of this was gleaned from squinting hard at the below: But some stuff has changed due to Bluehost’s recent implementation of OpenSSH. So here goes! This tutorial assumes you already have Python2.6 installed on Bluehost. (This should come with your hosting plan) First things first– SSH into your account (using Putty...
http://blog.ruedaminute.com/2011/01/2011-installation-instructions-for-django-on-bluehost/
CC-MAIN-2016-18
refinedweb
1,781
68.97
Photo Credit ? Among the basic data types and structures that Python provides are the following: - Logical: bool - Numeric: int, float, complex - Sequence: list, tuple, range - Text Sequence: str - Binary Sequence: bytes, bytearray, memoryview - Map: dict - Set: set, frozenset Out of the above, the four basic inbuilt d...
https://911weknow.com/python-list-vs-tuple-vs-dictionary
CC-MAIN-2021-04
refinedweb
2,736
63.29
Add into the DataBox default constructed items for the collection of tags requested by any of the actions in the phase-dependent action list. More... #include <SetupDataBox.hpp> Add into the DataBox default constructed items for the collection of tags requested by any of the actions in the phase-dependent action list. ...
https://spectre-code.org/structActions_1_1SetupDataBox.html
CC-MAIN-2021-49
refinedweb
223
52.23
PIC RS232 RS232 serial communication is an ancient, low speed, reliable standard. Each of about 100 characters (a, b, c, 1, 2, 3...) has a one-byte ASCII code. These are transmitted as 8 consecutive low and high logic levels, with a few framing bits as well. Baud rate refers to the number of bits/second. A typical baud...
http://hades.mech.northwestern.edu/index.php/PIC_RS232
CC-MAIN-2017-51
refinedweb
1,712
70.33
These are chat archives for django/django Heey guys. Morning here. I have a little bit of a problem with django forms if i have a code like below in a template rendering a form <section class="project"> <p>{% trans "Select the associated project" %}</p> <select id="project" name="project" > {% for project in projects %...
https://gitter.im/django/django/archives/2017/07/23
CC-MAIN-2019-35
refinedweb
151
68.47
@example tag This tag inserts a piece of code from source code file in the document. The code may be put in a frame with colored syntax depending on output format. It is possible to select some code file parts by adding anchor comments in the source file ( /* anchor name */ on a single line) and specifying an anchor na...
http://www.nongnu.org/mkdoc/_example_tag.html
CC-MAIN-2015-22
refinedweb
269
71.85
Go to the source code of this file. wall clock For a short explanation, see Time Handling. adjustment sources { CLOCKADJ_NONE, CLOCKADJ_GPS_MOD, CLOCKADJ_GPS_EXT, CLOCKADJ_USER, } clock_adj_source_t; For clock_get_time() to be able to return a valid time, clock_adjust() has to be called at least once before (e.g. from ...
http://doc.explorerspal.org/clock_8h.html
CC-MAIN-2022-27
refinedweb
496
50.63
On Friday I published a new zine: “How Containers Work!”. I also launched a fun redesign of wizardzines.com. You can get it for $12 at If you buy it, you’ll get a PDF that you can either print out or read on your computer. Or you can get a pack of all 8 zines so far. Here’s the cover and table of contents: why contain...
https://jvns.ca/blog/2020/04/27/new-zine-how-containers-work/
CC-MAIN-2022-21
refinedweb
856
66.98
As long as we’re on the topic of logging, this is probably a good time to mention Twisted Web’s access log support. In this example, we’ll see what Twisted Web logs for each request it processes and how this can be customized. If you’ve run any of the previous examples and watched the output of twistd or read twistd.lo...
http://twistedmatrix.com/documents/current/web/howto/web-in-60/access-logging.html
CC-MAIN-2016-30
refinedweb
436
58.89
RECV(2) BSD Programmer's Manual RECV(2) recv, recvfrom, recvmsg - receive a message from a socket #include <sys/types.h> supported in future releases. On successful completion, all three routines return the number of message bytes read. If a message is too long to fit in the supplied buffer, ex- cess to a recv call is...
http://mirbsd.mirsolutions.de/htman/sparc/man2/recvmsg.htm
crawl-003
refinedweb
106
60.24
There are dozens of reasons to love Swift tuples. Here are five to get you started. Tuplizing Declarations Tuples can initialize a bunch of variables or constants at once. For example, here’s a typical set of variable declarations. This code creates several variables and establishes initial values for each. var x = "XX...
http://ericasadun.com/2015/11/04/5-delicious-tuple-tricks-in-swiftlang/
CC-MAIN-2018-09
refinedweb
1,661
57.98
- Code: Select all main.c29:22 fatal error: bcm_host.h: No much file or directory It's having a paddy over the - Code: Select all #include "bcm_host.h" Any help at all? main.c29:22 fatal error: bcm_host.h: No much file or directory #include "bcm_host.h" RichardUK wrote:I've just tried it and there is an error in the ma...
http://www.raspberrypi.org/forums/viewtopic.php?f=68&t=9250&p=112512
CC-MAIN-2014-52
refinedweb
187
64.47
Hi i made this example demo capx its got easing of scroll, scale, and parallax with 2 layers it also has a follow scroll and at the end the scroll is fixed on the player with platform movement i think a lot of people are wondering how these things work so i hope this helps! <img src="smileys/smiley1.gif" border="0" ali...
https://www.construct.net/forum/construct-2/how-do-i-18/an-example-of-scroll-scale-and-41822
CC-MAIN-2018-26
refinedweb
635
68.6
If you have a program that execute from top to bottom, it will not be responsive and feasible to build complex applications. So .Net Framework offers some classes to create complex applications. Introduction If you have a program that executes from top to bottom, it will not be responsive and feasible to build complex ...
https://www.c-sharpcorner.com/article/multithreading-in-c-sharp-net2/
CC-MAIN-2019-43
refinedweb
333
59.6
Heroku Clojure Support Last updated 07 November 2015 Table of Contents The Heroku Cedar stack is capable of running a variety of types of Clojure applications. This document describes the general behavior of the Cedar stack as it relates to the recognition and execution of Clojure applications. For a more detailed expl...
https://devcenter.heroku.com/articles/clojure-support
CC-MAIN-2015-48
refinedweb
609
53.31
Traduzione di un ambiente di lavoro esterno In the following notes, "context" should be your addon's or workbench's name, for example, "MySuperAddon" or "DraftPlus", or whatever. This context makes it so that all translation of your code will be gathered under the same name, to be more easily identified by translators....
https://www.freecadweb.org/wiki/index.php?title=Translating_an_external_workbench/it&oldid=500393
CC-MAIN-2019-51
refinedweb
1,104
68.06
chrome.storage Overview This API has been optimized to meet the specific storage needs of extensions. It provides the same storage capabilities as the localStorage API with the following key differences: - APIstores data in strings). - Enterprise policies configured by the administrator for the extension can be read (u...
http://developer.chrome.com/extensions/storage
CC-MAIN-2014-10
refinedweb
373
61.22