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
#include "petscsf.h" PetscErrorCode PetscSFSetGraphWithPattern(PetscSF sf,PetscLayout map,PetscSFPattern pattern)Collective With PETSCSF_PATTERN_ALLGATHER, the routine creates a graph that if one does Bcast on it, it will copy x to sequential vectors y on all ranks. With PETSCSF_PATTERN_GATHER, the routine creates a gr...
https://www.mcs.anl.gov/petsc/petsc-dev/docs/manualpages/PetscSF/PetscSFSetGraphWithPattern.html
CC-MAIN-2020-05
refinedweb
180
65.42
Tips and tricks from my Telegram-channel @pythonetc, June 2019 It is a new selection of tips and tricks about Python and programming from my Telegram-channel @pythonetc. ← Previous publications The \symbol in regular string have special meaning. \tis tab character, \ris carriage return and so on. You can use raw-string...
https://habr.com/en/company/mailru/blog/458688/
CC-MAIN-2019-30
refinedweb
770
72.36
Overview Atlassian SourceTree is a free Git and Mercurial client for Windows. Atlassian SourceTree is a free Git and Mercurial client for Mac. minibsdiff: a miniature, portable version of bsdiff Colin Percival's bsdiff is a popular tool for creating and applying patches to binary software. This is a stripped down copy ...
https://bitbucket.org/thoughtpolice/minibsdiff
CC-MAIN-2015-18
refinedweb
1,391
63.49
31 July 2008 09:26 [Source: ICIS news] MUMBAI (ICIS news)--Indian Oil Corp (IOC) will soon start a detailed feasibility study on a rupees (Rs) 8-9bn ($188.2-211.8m) joint venture styrene butadiene rubber (SBR) unit downstream of its cracker project in Panipat, Haryana, said a company source on Thursday.?xml:namespace> ...
http://www.icis.com/Articles/2008/07/31/9144361/ioc-plans-feasibility-study-on-200m-sbr-project.html
CC-MAIN-2014-42
refinedweb
402
57.61
Are you sure? This . 20 20 20 20 23 28 28 31 36 41 41 44 53 55 62 63 66 66 67 68 82 82 83 83 83 84 87 88 88 89 90 93 96 96 98 98 98 99 99 Preprocessors . . . . . . . . . . . . . . . . . . . . . 2. .2. . . . .6 alert syslog . . . . . . . . Config . . . . . . . .13 ARP Spoof Preprocessor . . . . . . . .3. . . . . . .2 2. ...
https://www.scribd.com/document/35714167/Snort-Manual-2-8-5-1
CC-MAIN-2018-09
refinedweb
49,099
60.82
Multiple image tiles Hello. I'm new to Pythonista. I'm working on a simple app that request data from a music api. What I want to do on my main view is show the image of the top 10 albums. I don't know how to implement this onto a view. My json data for the image uses a url. Is there a method that I can use to pass in ...
https://forum.omz-software.com/topic/2258/multiple-image-tiles
CC-MAIN-2020-45
refinedweb
470
68.67
Details Description I know - silly of me to have a page with no <body></body> element. I spent an entire day trying to figure out why the javascript wasn't getting included. It was my error, but I can see other people making the same mistake...a little error-reporting would be nice. Activity The thing is that we don't ...
https://issues.apache.org/jira/browse/TAP5-184
CC-MAIN-2014-10
refinedweb
915
61.67
Is it possible to check to see if a user has used a floating point number as of an integer? This is a discussion on Floating point within the C++ Programming forums, part of the General Programming Boards category; Is it possible to check to see if a user has used a floating point number as of an integer?... Is it poss...
http://cboard.cprogramming.com/cplusplus-programming/73120-floating-point.html
CC-MAIN-2014-35
refinedweb
454
75.61
Created on 2014-04-17 01:01 by bgailer, last changed 2015-08-06 05:09 by zach.ware. This issue is now closed. Documentation for str.translate only mentions a dictionary for the translation table. Actually any iterable can be used, as long as its elements are integer, None or str. Recommend wording: str.translate(transl...
https://bugs.python.org/issue21279
CC-MAIN-2021-25
refinedweb
1,507
66.03
I'm trying to write a for loop but one of the values won't update. R I'm just trying to write a simple for loops so I can see how much the person would owe after each consecutive year. It ends up printing the statement with only the n value ever changed. The A stays the same as the first time. for (n in 1:15){ A <- 500...
http://codegur.com/48215574/im-trying-to-write-a-for-loop-but-one-of-the-values-wont-update-r
CC-MAIN-2018-05
refinedweb
1,008
71.24
Using Reflection Emit to Cache .NET Assemblies Simon Guest Microsoft Corporation February 2002 Applies to: Microsoft® .NET Framework Microsoft® Visual Studio® .NET 2002 Summary: Details a non-intrusive caching solution that uses Reflection Emit in the Microsoft .NET Framework. (26 printed pages) Download Installer.msi....
https://msdn.microsoft.com/en-us/library/ms973916.aspx
CC-MAIN-2018-51
refinedweb
6,304
63.29
Composite two images according to a mask image with Python, Pillow In the Image module of the image processing library Pillow (PIL) of Python, composite() for compositing two images according to a mask image is provided. Here, the following contents will be described. - Parameters of Image.composite() - Sample code of ...
https://note.nkmk.me/en/python-pillow-composite/
CC-MAIN-2020-40
refinedweb
628
60.61
0 First time using void functions. Apologies again for the noobish thread. I have a few questions on this problem. 1) Since the variables miles, gallons and milesPerGallon are used in both main and void, do I need to initialize them in each place? Or if they're initialized in main do I need to initialize them in void a...
https://www.daniweb.com/programming/software-development/threads/275602/void-functions
CC-MAIN-2018-43
refinedweb
266
62.11
Re: Solution for sorting an array alpha-numerically - From: "Nick Malik [Microsoft]" <nickmalik@xxxxxxxxxxxxxxxxxx> - Date: Fri, 15 Jul 2005 08:16:18 -0700 Thank you for the clarification, Lacey. I admit that I had not seen the distinction that you are drawing, and I appreciate the effort you put into describing it. I ...
http://www.tech-archive.net/Archive/DotNet/microsoft.public.dotnet.general/2005-07/msg00784.html
crawl-002
refinedweb
1,769
59.9
Originally posted by Gary Farms: I can only seem to access a static variable when I put it in a static method with a static inner class. Can't they be put in non-static methods and classes? The following program generates a compile error unless I make the inner class static and the fn method static. Why? Here's the pro...
http://www.coderanch.com/t/390340/java/java/static-variables
CC-MAIN-2014-35
refinedweb
247
67.04
How to Install CakePHP? Are you in love with the development of websites with PHP (an acronym for hypertext preprocessor), then a web development framework is waiting to make your life easy and now you can lay emphasis at your business logic rather than messing around with setting up all architectural logistics from sc...
https://www.educba.com/install-cakephp/?source=leftnav
CC-MAIN-2020-50
refinedweb
1,075
52.09
by Redkillerbot GitHub Readme.md A Telegram Torrent (and youtube-dl) Leecher based on Pyrogram ✓ Telegram File mirrorring to cloud along with its unzipping, unrar and untar ✓ Drive/Teamdrive support/All other cloud services rclone.org supports ✓ Unzip ✓ Unrar ✓ Untar ✓ Custom file name ✓ Custom commands ✓ Get total siz...
https://elements.heroku.com/buttons/redkillerbot/x24
CC-MAIN-2020-34
refinedweb
863
66.94
By Gary simon - Mar 26, 2018 There are a lot of ways to get up and running with RxJS, and frameworks like Angular already have it integrated. For the purpose of this course, we're going to set up our own development environment where we're not going to rely on any frontend JS frameworks like Angular, React, etc., becau...
https://coursetro.com/posts/code/147/How-to-Install-RxJS---Setting-up-a-Development-Environment
CC-MAIN-2020-50
refinedweb
621
66.33
In Out key, When we passed variables as out arguments that time we initialized to the variables within the methods. It is also known as output parameter. Ref keyword is a one-way communication while the out keyword is a two-ways communication. Ref keyword is a one-way communication while the out keyword is a two-ways c...
https://www.code-sample.com/2015/04/ref-and-out-keyword-in-c.html
CC-MAIN-2018-34
refinedweb
147
64.1
bugprone-reserved-identifier¶ cert-dcl37-c and cert-dcl51-cpp redirect here as an alias for this check. Checks for usages of identifiers reserved for use by the implementation. The C and C++ standards both reserve the following names for such use: - identifiers that begin with an underscore followed by an uppercase let...
https://clang.llvm.org/extra/clang-tidy/checks/bugprone-reserved-identifier.html
CC-MAIN-2021-17
refinedweb
239
56.15
I want the commands that run a python file with console are in an independent window my code: def update(self): self.prombt("sh /usr/script/update.sh") self.close(None) def prombt(self, com): self.session.open(Console,_("sTaRt ShElL cOm: %s") % (com), ["%s" % com]) You can realize this using the subprocess module. impo...
https://codedump.io/share/wzl7puXuPai1/1/console-in-new-window
CC-MAIN-2017-30
refinedweb
122
51.75
Keep Your Hook Script in Source Control: Python Keep Your Hook Script in Source Control: Python Join the DZone community and get the full member experience.Join For Free Commit your hook script (say pre-commit.sh) at the root of your project and include the installation instructions in your README/documentation to enco...
https://dzone.com/articles/keep-your-hook-script-source
CC-MAIN-2019-18
refinedweb
450
57.77
>> I have a PostScript file which contains the following lines (the numbers >> are for reference only and are *not* in the file): >> >> 1 << >> 2 /Policies << >> 3 /PageSize 3 >> 4 >> >> 5 >> setpagedevice >> >> I want to open the the file and read it, find these five lines and then >> replace the lines with something ...
https://mail.python.org/pipermail/tutor/2005-November/043080.html
CC-MAIN-2016-44
refinedweb
518
75.3
hot sale high quality cherry fruit US $2-5 / Kilogram 100 Kilograms (Min. Order) bagged china fresh cherries price lower and high quality US $50-70 / Box 200 Boxes (Min. Order) hot sale high quality new crop sweet fresh cherry US $2.5-6.9 / Kilogram 20 Kilograms (Min. Order) Fresh cherries 1 Twenty-Foot Container (Min....
http://www.alibaba.com/countrysearch/CN/fresh-cherry-fruit.html
CC-MAIN-2018-09
refinedweb
721
70.5
Online: Note: This learning guide introduces Flash video and provides you with tools for developing your skills. The Flash product documentation is the source of many of these materials; always consult Flash Help (also available in Flash LiveDocs) first when learning to use new features. Flash video lets you easily put...
https://www.scribd.com/document/19118406/Adobe-Flash-Video-Guide-En
CC-MAIN-2019-04
refinedweb
6,486
62.58
C++ is a very flexible language when it comes to formatting and writing code. It is also a strongly typed language, meaning there are rules about declaring the types of variables, which you can use to your advantage by making the compiler help you write better code. In this section, we will cover how to format C++ code...
https://www.packtpub.com/product/modern-c-efficient-and-scalable-application-development/9781789951738
CC-MAIN-2021-21
refinedweb
14,632
63.93
Version 2.104 can be downloaded from here: Sorry for taking so long to get this out. I have had both my linux and windows machines re-installed since the last release (a year ago!), and lost some of my install scripts. I re-wrote them, except for the linux rpm script. Also did not include the linux compiled package. Th...
http://sourceforge.net/p/misterhouse/mailman/misterhouse-announce/thread/472E93C9.4050007@gmail.com/
CC-MAIN-2014-15
refinedweb
5,826
63.7
1.5 Calling Functions and Methods Scala has functions in addition to methods. It is simpler to use mathematical functions such as min or pow in Scala than in Java—you need not call static methods from a class. sqrt(2) // Yields 1.4142135623730951 pow(2, 4) // Yields 16.0 min(3, Pi) // Yields 3.0 The mathematical functi...
http://www.informit.com/articles/article.aspx?p=1849235&seqNum=5
CC-MAIN-2019-51
refinedweb
276
67.65
I have a set of data that I want to display in a dataTable EXCEPT for the rows where type='NAM'. Is there some way to do this with rich:dataTable? If not I can alter my query, but I'd prefer to do it in richfaces if possible. Version 3.3.X. Thanks, TDR I don't think it does (But I'd be delighted to be shown something I...
https://developer.jboss.org/thread/156315
CC-MAIN-2017-34
refinedweb
251
69.21
Math::Geometry::Delaunay - Quality Mesh Generator and Delaunay Triangulator Version 0.14 use Math::Geometry::Delaunay qw(TRI_CCDT); # generate Delaunay triangulation # and Voronoi diagram for a point set my $point_set = [ [1,1], [7,1], [7,3], [3,3], [3,5], [1,5] ]; my $tri = new Math::Geometry::Delaunay(); $tri->addPoi...
http://search.cpan.org/~sheldrake/Math-Geometry-Delaunay-0.14/lib/Math/Geometry/Delaunay.pm
CC-MAIN-2014-23
refinedweb
3,245
50.77
Liane Praza's Weblog (Open)Solaris: getting started OpenSolaris has arrived. It is an amazing thing to be able to share with the world what we've all been pouring our lives into for so long. I realized that a great place to start would be my first putback to Solaris as part of the kernel group. I'd had more than a pass...
http://blogs.sun.com/lianep/date/20050614
crawl-002
refinedweb
839
72.26
Tech Tips archive May 09, 2000 WELCOME to the Java Developer Connection (JDC) Tech Tips, May 09, 2000. This issue of the JDC Tech Tips is written by Glen McCluskey. These tips were developed using Java 2 SDK, Standard Edition, v 1.2.2, and are not guaranteed to work with other versions. If you've used the standard Java...
http://java.sun.com/developer/TechTips/2000/tt0509.html
crawl-002
refinedweb
1,814
62.17
ANN_MLP output training value of 1 causes error When I try to train the network's output neurons to produce a value of 1, it gives me an error saying that "OpenCV Error: One of arguments' values is out of range (Some of new output training vector components run exceed the original range too much)". The input images are...
https://answers.opencv.org/question/180316/ann_mlp-output-training-value-of-1-causes-error/?answer=180374
CC-MAIN-2019-35
refinedweb
845
79.97
I have heard endless good things about TypeScript in the last couple years, but I've never really had a chance to use it. So when I was tasked with writing a new API from scratch at work, I decided to use the opportunity to learn TypeScript by jumping into the deep end. So far, here are my positive takeaways: - I'm a h...
https://practicaldev-herokuapp-com.global.ssl.fastly.net/kenbellows/my-confusions-about-typescript-1odm
CC-MAIN-2020-50
refinedweb
7,111
61.36
There comes a time in every developer's life where they need to parse a string representation of a date. I had the pleasure of talking with Maggie Pint about a new feature currently in stage 2 with the tc39 committee, temporals. Learn how to contribute to the next version of JavaScript first issue. This proposal allows...
https://dev.to/github/learn-how-the-javascript-advances-datetime-with-proposal-temporal-59hf
CC-MAIN-2020-40
refinedweb
398
53.21
If the English word begins with a consonant, move the consonant to the end of the word and add "ay". The letter Y should be considered a consonant. If the English word begins with a vowel (A, E, I, O, or U), simply add "way" to the end of the word. (This is a simplified dialect of Pig Latin, of course.) Ask the user fo...
http://www.dreamincode.net/forums/topic/269462-converting-words-to-pig-latin/page__p__1568266
CC-MAIN-2013-20
refinedweb
233
75.1
In many ways, our global chatbox will look a lot like the chatbox that we built in Photon. However, rather than having separate chatrooms, we'll create one single global chatbox for everyone. There will also be major API differences to keep in mind—in Photon, we were able to use RPCs to conveniently call a function on ...
https://www.oreilly.com/library/view/unity-multiplayer-games/9781849692328/ch05s06.html
CC-MAIN-2018-51
refinedweb
127
64.41
01 June 2011 15:22 [Source: ICIS news] SINGAPORE (ICIS)--Reliance Industries will reduce its domestic list prices of polyethylene (PE) and polypropylene (PP), with effect from 2 June, because of lower import prices for June shipments and continued weak demand, a source close to the company said on Wednesday. The lower ...
http://www.icis.com/Articles/2011/06/01/9465310/indias-reliance-industries-cuts-pe-pp-prices-by-up-to-rs2kg.html
CC-MAIN-2014-10
refinedweb
300
61.67
Introduction: :( I did search on the Interweb for tutorials and information on how to build this kind of device but, unfortunately, there was only one single piece of information: I did actually re-create this instructable and, after 6 weeks constant toil, got it to work but decided to create a separate, simpler versio...
https://www.instructables.com/id/Arduino-Cell-Phone-4G-Signal-Booster-Repeater/
CC-MAIN-2018-34
refinedweb
2,910
63.29
Introducing GraphQL Code Generator Explore our services and get in touch. TL;DR - - The GraphQL codegen library can generate any code for any language — including type definitions, data models, query builder, resolvers, ORM code, complete full stack platforms!! and any specific code for your needs - I wrote the code ge...
https://the-guild.dev/blog/graphql-code-generator
CC-MAIN-2021-31
refinedweb
1,984
53.04
28 March 2010 19:28 [Source: ICIS news] SAN ANTONIO, Texas (ICIS news)--The European second-quarter butadiene (BD) contract price of €1,275/tonne ($1,700/tonne) does not reflect true market fundamentals and is too high, a major butadiene consumer said on Sunday. “€1,275/tonne is too high,” it said on the sidelines of t...
http://www.icis.com/Articles/2010/03/28/9346419/npra-10-europe-q2-butadiene-contract-does-not-reflect.html
CC-MAIN-2013-48
refinedweb
348
52.19
Creating a Ghost Blog on an Azure App Service Premier App Dev Manager Chris Tjoumas walks through how to setup continuous deployment of a blog using Ghost, Azure Functions, and Azure App Services. *There is an update to this post as of 4/18/20 with additional details for 64 bit support. Have you ever wanted to run your...
https://devblogs.microsoft.com/premier-developer/creating-a-ghost-blog-on-an-azure-app-service/?WT.mc_id=docs-blog-jessde
CC-MAIN-2020-34
refinedweb
4,665
65.12
The inittab file contains more information than the dhcptags file. The inittab file also uses a different syntax. A sample dhcptags entry is as follows: 33 StaticRt - IPList Static_Routes 33 is the numeric code that is passed in the DHCP packet. StaticRt is the option name. IPList indicates that the data type for Stati...
http://docs.oracle.com/cd/E19253-01/816-4554/dhcp-ref-10/index.html
CC-MAIN-2017-04
refinedweb
438
67.35
Search the Community Showing results for tags 'navigation'. Horizontal website menu: scrollTo section on click lauxpaux posted a topic in GSAPHello, I'm pretty new at this and this is my first post so I'll try to be as clear as possible but bare with me please. The codepen attached is essentially what I want to do for ...
https://greensock.com/tags/navigation/?_nodeSelectName=cms_records17_node&_noJs=1
CC-MAIN-2021-49
refinedweb
1,310
65.32
[Changes for 0.29 - 2008-12-13] * Publisher and index fixes * We don't need to force select_timeout anymore, and it causes explosions if called during global destruction, when $$self->[0] (_part_ of the pseudohash) may have gone missing already, but the object itself is still there. So $$self->{anything} explodes with ...
https://metacpan.org/changes/distribution/IPC-PubSub
CC-MAIN-2016-30
refinedweb
497
71.61
This is a follow-up from a previous question, in which I was trying to figure out the main cause for my code running slowly. I think I've narrowed it down to a minimal example below. I have a basic database structure as follows: public class Foo { public int Id { get; set; } public string Bar { get; set; } } public cla...
https://entityframeworkcore.com/knowledge-base/45206015/why-is-entity-framework-so-slow-to-add-multiple-items-in-one-savechanges---
CC-MAIN-2022-21
refinedweb
579
63.09
span8 span4 span8 span4 user selects one feature class (published parameter) and fme writes to one to six formats(like csv, shape, dgn, acad, xls,mapinfo etc...) in the fmw i am asking formats to write via published parameter output_format =dwg,shape, xls like(comma separated) then i used python prg to split these valu...
https://knowledge.safe.com/questions/54847/how-to-write-to-many-formats-in-optimized-way.html?childToView=54962
CC-MAIN-2020-24
refinedweb
905
57.47
Let us consider a game, in which a player can get some score with 3, 5 or 10 in each move. A target score is also given. Our task is to find how many possible ways are there to reach that target score with those three points. By the dynamic programming approach, we will create a list of all score from 0 to n, and for e...
https://www.tutorialspoint.com/Count-number-of-ways-to-reach-a-given-score-in-a-game
CC-MAIN-2020-24
refinedweb
345
71.11
Had a nice chat with the bods on the BEA stand today amoungst other things I found out how to do the equivalent of the @AsyncWebService annotation that we have been working on in OC4J. Turns out it was just staring me in the face and that they just use different terminology. (Need to use the buffered and callback featu...
http://kingsfleet.blogspot.com/2008/05/asyncwebservice-iin-bea-weblogic.html
CC-MAIN-2019-13
refinedweb
188
58.01
By appending a pair of square brackets after a datatype, you can have a array of that datatype. For example, in the declaration int[] v,]; // 10 is the number of items // the keyword “new” in myA = new int[10];, even though myA isn't a class. This is one of Java's syntax idiosyncrasy. -dimensional Array. (or n-dimensio...
http://xahlee.info/java-a-day/arrays.html
CC-MAIN-2013-48
refinedweb
146
52.09
I am completely lost with this assignment. Can someone help me with it? Here are our instructions: This assignment will use the following description to implement a Dialog class for the Leap Year Problem. You need to decompose this problem into 2 classes: 1.The Date.java class. Implement a public class Date that repres...
http://www.javaprogrammingforums.com/%20whats-wrong-my-code/28736-help-java-homework-printingthethread.html
CC-MAIN-2015-32
refinedweb
377
76.11
installed with header files (and a C++ compiler of course): - Debian/Ubuntu: sudo apt-get install libtag1-dev - Fedora/RHEL: sudo yum install taglib-devel - Brew: brew install taglib - MacPorts: sudo port install taglib Then do: gem install taglib-ruby OS X C++ compiler override Not all versions of TagLib get along wi...
http://www.rubydoc.info/gems/taglib-ruby/frames
CC-MAIN-2015-14
refinedweb
182
50.57
Subject: Re: [boost] [filesystem] Version 3 of Boost.Filesystem added to trunk From: Beman Dawes (bdawes_at_[hidden]) Date: 2010-06-06 13:16:19 On Sat, Jun 5, 2010 at 4:20 AM, Andrey Semashev <andrey.semashev_at_[hidden]> wrote: > On 06/02/2010 07:07 PM, Beman Dawes wrote: >> >> Because version 3 will break some user c...
https://lists.boost.org/Archives/boost/2010/06/167703.php
CC-MAIN-2021-10
refinedweb
326
74.59
Implementation status: partially implemented Synopsis #include <stdio.h> int fputc(int c, FILE *stream); Description Writes a character (an unsigned char) specified by the argument c to the specified stream and advances the position indicator for the stream. Arguments: c - a character, stream - an output file. The last...
http://phoenix-rtos.com/documentation/libphoenix/posix/fputc
CC-MAIN-2020-34
refinedweb
201
54.63
Concurrency In Python Page Contents References - Concurrent Execution, Python Standard Library Documentation. - Threading – Manage concurrent threads, PyMOTW. An Introduction To Concurrency When a program can interleave statements from multiple workflows we can say the program is concurrent. This can be done via proces...
https://jehtech.com/python/concurrency.html
CC-MAIN-2021-25
refinedweb
2,479
73.17
Recently Jake Archibald did a "bold claim" on Twitter about the use of Array.prototype.reduce, and it inspired me to summarize what I think and what I tweeted in a nice blog post. The inspiration TL;DR It depends on your priorities, but there is no "perfect" solution: - If you value immutability and the functional styl...
https://dev.to/lukeshiru/reduce-or-for-of-1lg
CC-MAIN-2021-49
refinedweb
1,375
56.29
Hi, I’m not sure why but this particular challenge is really causing an issue on my end. After I submit my code I am unable to submit and check if it’s correct. I’ve tried Safari, Chrome, Firefox on two Macs and Safari on iPadOS. Not sure why this is but maybe you can fix it for me? Much appreciated! I’m sorry, but I d...
https://forum.freecodecamp.org/t/cant-submit-code-in-react-create-a-component-with-composition/409509
CC-MAIN-2020-40
refinedweb
381
66.23
#include <Servo.h> Servo servo1; int servoPin = 9; void setup(){ servo1.attach(servoPin); } void loop(){ servo1.write(0); delay(1000); servo1.write(90); delay(1000); servo1.write(180); delay(1000); } Save and upload the compiled program to your Arduino. The servo motor should initialize at zero degrees, pause for a sec...
https://www.circuitbasics.com/controlling-servo-motors-with-arduino/
CC-MAIN-2020-29
refinedweb
1,168
66.64
How do I wait for an asynchronous closure? I am making an async network request and getting its results in a closure but somewhere I have to know that my request has been completed so I can get the values You can approach this several ways. The easiest is to post a notification or call a delegate method from your compl...
http://ericasadun.com/2017/04/04/dear-erica-working-synchronously-with-asynchronous-calls/
CC-MAIN-2017-17
refinedweb
733
55.84
SPChangeQuery class Defines a query that is performed against the change log in Microsoft SharePoint Foundation. Microsoft.SharePoint.SPChangeQuery Namespace: Microsoft.SharePointNamespace: Microsoft.SharePoint Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll) Use an SPChangeQuery object to define a query th...
https://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spchangequery(v=office.15).aspx
CC-MAIN-2017-47
refinedweb
354
62.04
if-else (C# Reference) The if statement selects a statement for execution based on the value of a Boolean expression. In the following example, the Boolean variable result is set to true and then checked in the if statement. The output is: The variable is set to true. If the expression in the parenthesis is evaluated t...
https://msdn.microsoft.com/en-US/library/5011f09h(d=printer,v=vs.100).aspx
CC-MAIN-2015-35
refinedweb
137
60.11
We are about to switch to a new forum software. Until then we have removed the registration on this forum. Hey guys! Newbie here (to the forum). So I just updated my macbook OS to OSX10.10.5 (Yosemite) and have some issues with java when I try to run a sketch in Processing. The sketch: import processing.sound.*; SoundF...
https://forum.processing.org/two/discussion/12313/java-error-on-osx-10-10-5
CC-MAIN-2020-34
refinedweb
318
66.84
This release of ASP.NET builds upon the substrate for building Web applications introduced in version 1.0. All of the architectural features of the ASP.NET 1.x runtime are still present in 2.0, but elements were added to make development of Web applications more intuitive and efficient. One of the most significant addi...
http://flylib.com/books/en/4.169.1.18/1/
CC-MAIN-2013-20
refinedweb
3,233
51.89
Just resurrecting an oldish thread for a moment... I've got the JellyUnit stuff working now so that JUnit tests can be written (and dynamically generated) in Jelly script. So Jelly can be used to create TestSuite and TestCase objects, possibly dynamically using information from beans, XML, SOAP, SQL etc. Then Jelly can...
http://mail-archives.apache.org/mod_mbox/commons-dev/200207.mbox/%3C051801c23198$30dc9e30$9865fea9@spiritsoft.com%3E
CC-MAIN-2016-44
refinedweb
386
52.39
import "golang.org/x/tools/godoc/util" Package util contains utility types and functions for godoc. IsText reports whether a significant prefix of s looks like correct UTF-8; that is, if it is likely that s is human-readable text. IsTextFile reports whether the file has a known extension indicating a text file, or if a...
http://godoc.org/golang.org/x/tools/godoc/util
CC-MAIN-2017-34
refinedweb
137
53.1
Opened 7 years ago Closed 7 years ago #7764 closed enhancement (fixed) Reset Registration with school servers - short term solution Description Laptops should automatically register and re-register with school servers when they detect that they are connected to a new one. In today's builds (8.2), you have to push a but...
http://dev.laptop.org/ticket/7764
CC-MAIN-2015-48
refinedweb
1,131
65.73
correction in program Dear sir in this program you are creating object of ArrayList class and through you are adding items or values using add method. While add() method do not get integer type arguments so this program generating error: at arr.add(i); add(int ,object); add method Yes there is a compiling problem cause...
http://roseindia.net/tutorialhelp/allcomments/5428
CC-MAIN-2014-42
refinedweb
312
65.93
So I dug it out, read it, and realised how horrible it was. I was tempted to rewrite it, but instead I decided to google for "perl duplicate files" first. I found a couple of other scripts there, but they were pretty horrible too. In particular the first file there, which is basically a comparison between doing in perl...
http://www.perlmonks.org/?node_id=49198
CC-MAIN-2016-44
refinedweb
3,142
66.07
This is your resource to discuss support topics with your peers, and learn from each other. 04-26-2013 04:05 AM Hi there, I'm developing a PB app using Qt4.8. I would like to know where I can store configuration data. The link Does this mean that in my app, I can simply copy config data to "~/appConfig.dat" (i.e. tilda...
https://supportforums.blackberry.com/t5/Native-Development/Playbook-development-Qt4-8-storing-app-config-data/td-p/2334939
CC-MAIN-2017-09
refinedweb
153
66.03
The objective of this post is to explain how to parse a JSON string with MicroPython running on the ESP32. Introduction The objective of this post is to explain how to parse a JSON string with MicroPython running on the ESP32. If you need help setting MicroPython on the ESP32, please check this previous post for a deta...
https://techtutorialsx.com/2017/05/23/esp32-micropython-parsing-json/
CC-MAIN-2017-34
refinedweb
709
63.7
Content-type: text/html Standard C Library (libc.so, libc.a) #include <stdio.h> int pclose ( FILE *stream ); Interfaces documented on this reference page conform to industry standards as follows: pclose(): XPG4, XPG4-UNIX Refer to the standards(5) reference page for more information about industry standards and associa...
http://backdrift.org/man/tru64/man3/pclose.3.html
CC-MAIN-2017-04
refinedweb
217
63.9
Android has been steadily gaining momentum as a mobile application platform and is now prevalent enough that developers ought to learn at least the basics of developing Android apps. For developers new to Android, the good news is that learning to develop for Android is far easier than learning to develop for iOS, at l...
https://www.itprotoday.com/android/get-started-building-android-apps
CC-MAIN-2021-31
refinedweb
1,917
53.21
Test Driven Development and Neo4J: Using @Rule and Avoiding Containers The Java Zone is brought to you in partnership with ZeroTurnaround. Discover how you can skip the build and redeploy process by using JRebel by ZeroTurnaround. Been doing some coding with Neo4J. Pretty interesting experience so far, but one thing is...
https://dzone.com/articles/test-driven-development-and
CC-MAIN-2015-48
refinedweb
961
55.74
collective.lesscss 1.1 This package allow theme developers to add LESS stylesheets into a Plone site. Contents Introduction This package allow theme developers to add LESS stylesheets into a Plone site. LESS LESS extends CSS with dynamic behavior such as variables, mixins, operations and functions. LESS runs on both th...
https://pypi.python.org/pypi/collective.lesscss/1.1
CC-MAIN-2016-22
refinedweb
754
50.23
SYNOPSIS #include <unistd.h> extern char **environ; int execl(const char *path, const char *arg0, ..., const char *argn, (char *)0); int execle(const char *path, const char *arg0, ..., const char *argn, (char *)0, char *const envp[]); int execlp(const char *file, const char *arg0, ..., const char *argn, (char *)0); int...
http://www.mkssoftware.com/docs/man3/execl.3.asp
CC-MAIN-2015-48
refinedweb
1,100
51.07
#include <sys/types.h> #include <netinet/in.h> #include <alias.h> Function prototypes are given in the main body of the text. A certain amount of flexibility is built into the packet aliasing engine. In the simplest mode of operation, a many-to-one address mapping takes place between the. struct libalias * LibAliasInit...
https://nxmnpg.lemoda.net/3/libalias
CC-MAIN-2019-39
refinedweb
1,672
51.78
# Blockchain RSA-based random There’s a problem we needed to address in the course of developing our games. It’s complicated to generate a random number in a distributed network. Almost all blockchains have already faced this issue. Indeed, in networks where there is no trust between anyone, the creation of a random n...
https://habr.com/ru/post/464395/
null
null
1,468
50.02
In this hack I will show you how to add true translucency to your menus with only a slight modification to your program. Computer interfaces are pretty sophisticated these days. Years ago, we considered ourselves lucky to simply have menu bars at all; now, we need menus with sophisticated effects like animation, shadow...
http://codeidol.com/community/java/add-translucence-to-menus/12897/
CC-MAIN-2017-39
refinedweb
1,462
56.15
Summary: Learn how to use the XmlFormView ASP.NET control, together with InfoPath Forms Services, to create custom Web pages to render browser-enabled, interactive InfoPath forms. (21 printed pages) Mike Talley, Microsoft Corporation Namita Sheokand, Microsoft Corporation Published: June 2006 Updated: April 2007 Applie...
http://msdn.microsoft.com/en-us/aa701078.aspx
crawl-002
refinedweb
5,165
54.32
I am in a beginning C programming class and I have this assignment: Write a program that creates an N*N magic square, i.e., a square arrangement of the numbers 1,2,�,N^2 in which the sum of rows, columns, and diagonals are the same. The user will specify the size of the square matrix: N. The value N must be an odd numb...
http://www.chegg.com/homework-help/questions-and-answers/beginning-c-programming-class-assignment-write-program-creates-n-n-magic-square-e-square-a-q3306706
CC-MAIN-2015-32
refinedweb
359
65.46
Ok I have tried a few ways to get this loop to terminate before using the ending variable in the function but I cannot seem to figure it out. This is just my latest attempt. I want this program to end when the user enters 0 but it always returns a square root for 0 (which of course is 0) before terminating. Did I reall...
http://cboard.cprogramming.com/cplusplus-programming/131792-function-calling-before-loop-ends.html
CC-MAIN-2014-52
refinedweb
123
76.35
Table of Contents Introduction Hello Everyone, in this article, we will explore how we could get React Native Contacts from the user phone book. For this example we will use React Native Expo to access the phone’s contacts system, to get the list of contacts, we can also edit and delete them. Similar to some of the fam...
https://reactnativemaster.com/react-native-contacts/
CC-MAIN-2021-04
refinedweb
609
56.15
Just Showing Off May 19, 2017 Here’s the email that convinced my correspondent that there might be something interesting in Scheme and Scheme macros: Let’s consider a simple program to calculate the nth fibonacci number. Mathematically, the definition is that the nth fibonacci number is the sum of the n-1th fibonacci n...
https://programmingpraxis.com/2017/05/19/just-showing-off/2/
CC-MAIN-2019-04
refinedweb
1,455
61.06
- NAME - DESCRIPTION - How do I flush/unbuffer a set up a footer format to be used with write()? - How can I write() into a string? - How can I output my numbers with commas added? - How can I translate tildes (~) in a filename? - How come when I open open a file without blocking? - How do I create a file only if it do...
https://metacpan.org/pod/release/MICB/perl5.004_59/pod/perlfaq5.pod
CC-MAIN-2015-32
refinedweb
989
64.1
Writing Macros You must write macros on your computer, not on the ERX system. The macros can contain loops, variables, string and numeric values, and conditional statements. Macros can invoke other macros (as long as they are contained within the same macro file), including themselves, but infinite recursion is not per...
http://www.juniper.net/techpubs/software/erx/erx50x/swconfig-system-basics/html/macros-config2.html
crawl-002
refinedweb
2,854
53.1
A. The algorithm produces a shape that starts off resembling a (slightly wonky) spiral: After 40 steps, things are beginning to look shaky: After 200 steps: By 2000 steps, it resembles a scribble: 20000 steps: 200000 steps: The Python code below produces these figures (alter the variable nsteps and, possibly, the plot ...
https://scipython.com/blog/the-babylonian-spiral/
CC-MAIN-2021-39
refinedweb
562
74.69
Subject: [ggl] abs warning on Linux From: Barend Gehrels (barend) Date: 2011-10-22 13:38:58 Hi, On 22-10-2011 4:49, V D wrote: > Hi Barend, > > Is it possible to know what/where was the patch for this ? I'm trying > to move to TTMath instead of double because I'm having precision > problems. > But I cannot get it to co...
https://lists.boost.org/geometry/2011/10/1630.php
CC-MAIN-2020-50
refinedweb
323
53.92
Hi Guys Im new to programming and Java, but im willing to learn and trying hard using a book `Objects first with Java`. Im trying to create a program for a Library where Members can join and loan books. But i keep getting an Error when using the Iterator. My code is below: import java.util.ArrayList; import java.util.I...
http://www.javaprogrammingforums.com/collections-generics/19984-system-out-println-error-when-using-iterator.html
CC-MAIN-2016-36
refinedweb
187
50.94
Seeing as Java doesn't have nullable types, nor does it have a TryParse(), how do you handle input validation without throwing an exceptions? The usual way: String userdata = /*value from gui*/ int val; try { ... when i write System.out.println(0123); 83 System.out.println((int)0123F); 123 This is probably pretty basic...
http://www.java2s.com/Questions_And_Answers/Java-Data-Type/Integer/number.htm
CC-MAIN-2018-17
refinedweb
2,996
74.39
The event handler GeneralEvents_OnLogError is getting executed recursively. Scenario: Have a collection of items for which 1 same process has to be performed. But if there is any error thrown during the execution for any item, TestComplete should close and restart the application and continue the same process with the ...
https://community.smartbear.com/t5/TestComplete-Desktop-Testing/GeneralEvents-OnLogError-Running-Infinitely/m-p/165277/highlight/true
CC-MAIN-2020-29
refinedweb
765
54.42
Hello, I think I have the problem... it's a doozy. :-) lexGetc is returning 255 for EOF instead of -1. This is because lexLookAhead is calling int lexGeta(), which returns the value from char lexGetc(). In the cast from char to int, it gives 255 instead of -1, even though the char is not unsigned. On Intel and Alpha, i...
https://lists.debian.org/debian-powerpc/2000/04/msg00224.html
CC-MAIN-2015-48
refinedweb
525
76.62
On Sun, Jan 02, 2011 at 09:26:08PM -0500, Brian Olson wrote: >. Yes, that's what I meant. > I think I saw that memory is being allocated and zeroed, so > s->use_wordexp will default to off, as it should. Yes indeed. > Index: libavformat/img2.c > =================================================================== > --- ...
http://ffmpeg.org/pipermail/ffmpeg-devel/2011-January/105484.html
CC-MAIN-2014-41
refinedweb
110
52.76
NAME XAO::Base - Set of base classes for the XAO family of products DESCRIPTION XAO::Base is really a collection of some very basic modules that are used throughout XAO suite. They include: - XAO::Errors Generator of error namespaces for use in error throwing catching. See the XAO::Errors manpage. - XAO::Objects Loader...
https://metacpan.org/pod/XAO::Base
CC-MAIN-2019-43
refinedweb
181
52.66
Stitch Fix is a Data Science company that aspires to help you to find the style that you love. Data Science helps us make most of our business and strategic decisions. At Stitch Fix, our Data Scientists run 1000s of Spark jobs every day. This post describes the tooling we’ve put in place to abstract the complexity of d...
https://multithreaded.stitchfix.com/blog/2017/08/10/genie-in-a-box/
CC-MAIN-2021-04
refinedweb
1,000
55.13
If you’ve worked with an Arduino and used a Windows development machine, you’ll probably have used the Arduino IDE to deploy code, and used the IDE’s built in serial monitor to read messages back from the Arduino device. And if you want to use these messages in a .NET application, there’s already good support in the .N...
https://jeremylindsayni.wordpress.com/category/iot/page/2/
CC-MAIN-2019-30
refinedweb
1,615
57.16
Note: this log overlaps in time with ChangeLog-9194. There was a time during which changes which had been merged into the official CVS (which produced releases such as 1.4A1 and 1.4A2) went into what has become ChangeLog-9194, and changes which existed only at Cygnus went into this file (ChangeLog-9395). Eventually the...
http://opensource.apple.com/source/cvs/cvs-42/cvs/src/ChangeLog-9395
CC-MAIN-2014-52
refinedweb
21,758
62.64
Choosing the Right School for Your Child Deciding What's Important To You Deciding where your child will go to school is one of the biggest decisions a parent makes. Before you can really choose the right school for your child, you must first figure out what is important to you in a school. People choose one school ove...
https://hubpages.com/education/-Choosing-the-RIght-School-for-Your-Child
CC-MAIN-2017-34
refinedweb
1,615
71.65
Current source can be found at Search Criteria Package Details: albumart 1.6.6-3 Dependencies (3) Required by (0) Sources (3) Latest Comments k0zu commented on 2017-01-21 22:08 gadget3000 commented on 2014-06-28 09:17 Fixed FiyreWyrkz commented on 2014-06-24 03:12 Hosting has moved for the source- gadget3000 commented ...
https://aur.archlinux.org/packages/albumart/?ID=13017&comments=all
CC-MAIN-2017-13
refinedweb
312
63.39
just a follow up on this: I was able to recreate the scope object for my module by import "itself" from the project's init framework, which is executed after the Python initMODULE function is called, and since at that point the module has had its Py_InitModule() called, I assume that doing a PyImport_ImportModuleEx() a...
https://mail.python.org/pipermail/cplusplus-sig/2003-September/005310.html
CC-MAIN-2017-17
refinedweb
241
57.16
Learn Svelte 3.0 - Svelte Tutorial for Beginners. In this tutorial, we're going to take a look at the basics by building a simple, fictional app. Svelte.js is the new kid on the block to compete against the big 3 (Angular, Vue and React) in the frontend javascript framework space. Svelte.js is the new kid on the block ...
https://morioh.com/p/80bbf09f89a2
CC-MAIN-2020-40
refinedweb
2,223
65.73