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
Strings are poor substitutes for capabilities Cairo Jackson Greenhorn Joined: Jan 18, 2007 Posts: 14 posted Mar 09, 2007 01:25:00 0 I am reading the book Effective Java , written by Joshua Bloch. Now, I'm with Item 32: Avoid strings where other types are more appropriate. I can't understand the last point: Strings are...
http://www.coderanch.com/t/406388/java/java/Strings-poor-substitutes-capabilities
CC-MAIN-2015-22
refinedweb
798
59.13
Content-type: text/html #include <ucred.h> int getpeerucred(int fd, ucred_t **ucred); The getpeerucred() function returns the credentials of the peer endpoint of a connection-oriented socket (SOCK_STREAM) or STREAM fd at the time the endpoint was created or the connection was established. A process that initiates a con...
https://backdrift.org/man/SunOS-5.10/man3c/getpeerucred.3c.html
CC-MAIN-2021-21
refinedweb
357
53.41
This article is a very simple introduction on writing a Windows Form application for the Microsoft.NET framework using C#. The sample application demonstrates how to create and layout controls on a simple form and the handling of mouse click events. The application displays a form showing attributes of a file. This for...
http://www.codeproject.com/KB/cs/winfileinfo.aspx
crawl-002
refinedweb
2,529
58.99
Dependency Injection - An Introductory Tutorial This article discusses dependency injection in a tutorial format. It covers some of the newer features of Spring DI such as annotations, improved XML configuration and more. Dependency Injection Dependency Injection (DI) refers to the process of supplying an external depe...
http://java.dzone.com/articles/dependency-injection-an-introd
crawl-002
refinedweb
2,847
55.84
There" encoding="utf-8"?> <rdf:RDF xmlns: <channel rdf: <title>SitePoint.com</title> <link></link> <description>SitePoint is the natural place to go to grow your online business.</description> <items> <rdf:Seq> <rdf:li rdf: </rdf:Seq> </items> </channel> <item rdf: can’t be accessed by the usual means. Here’s the solu...
http://www.sitepoint.com/blogs/2005/10/20/simplexml-and-namespaces/
crawl-002
refinedweb
869
70.13
That disables code paths like these in keyboard.c: /* Determine how many characters we should *try* to read. */ #ifdef FIONREAD /* Find out how much input is available. */ if (ioctl (fileno (tty->input), FIONREAD, &n_to_read) < 0) And in sysdep.c: #ifdef FIONREAD status = ioctl (fd, FIONREAD, &avail); #else /* no FION...
https://lists.debian.org/debian-bsd/2010/08/msg00053.html
CC-MAIN-2017-39
refinedweb
187
74.9
Call Tree as Icicle Chart The Icicle chart is a graphical representation of the stack trace responsible for creating a selected object set. As well as in Call Tree, calls are shown starting from the first call in the stack descending to the one that directly created the object set. Each call is shown as a horizontal ba...
https://www.jetbrains.com/help/dotmemory/2017.1/Icicles.html
CC-MAIN-2019-30
refinedweb
486
60.35
I am using Visual Studio 2012 RC (pretty much same as Visual Studio 2010) and I'm having some issues with includes. Never really understood how they work, always having problems, sadly. I have 3 projects Project1 include paths: "." (project's directory, some files are in folders and it causes a lot include errors) Proj...
http://www.gamedev.net/topic/625751-visual-studio-include-issue/
CC-MAIN-2016-26
refinedweb
156
58.99
import "golang.org/x/exp/shiny/widget/glwidget" Package glwidget provides a widget containing a GL ES framebuffer. GL is a widget that maintains an OpenGL ES context. The Draw function is responsible for configuring the GL viewport and for publishing the result to the widget by calling the Publish method when the frame...
http://godoc.org/golang.org/x/exp/shiny/widget/glwidget
CC-MAIN-2017-34
refinedweb
196
58.08
This blog is permanently closed. For up-to-date information please follow to corresponding WebStorm blog or PhpStorm blog. Auto update build version is 192 and can’t update itself, just redirects to EAP page, probably, this is misprint in build number. Linux. Worked for me. Windows 7. same. on OSX 10.8.2 Works fine on...
http://blog.jetbrains.com/webide/2013/02/phpstorm-6-eap-build-126-162/
CC-MAIN-2014-15
refinedweb
1,249
75.71
MLRun Serving Graphs¶ Overview¶ MLRun serving graphs allow to easily build real-time data processing and advanced model serving pipelines, and deploy them quickly to production with minimal effort. The serving graphs can be composed of pre-defined graph blocks (model servers, routers, ensembles, data readers and writer...
https://docs.mlrun.org/en/latest/serving/serving-graph.html
CC-MAIN-2021-49
refinedweb
2,497
51.78
Today's project involves automatically uploading electrical metering data to an FTPS server (explicit FTP over TLS, otherwise knowns as ESFTP). Shouldn't be a problem, since Python supports FTPS out of the box. Only it doesn't work. Here's the code: import ftplib ftp = ftplib.FTP_TLS('host', 'user', 'password')('direct...
https://stumbles.id.au/python-ftps-and-mis-configured-servers.html
CC-MAIN-2018-22
refinedweb
479
58.18
6 years, 9 months ago. Possible to trigger Ticker interface using argument? Is there any way to start a ticker interface using argument? I know that InterruptIn does that but i need my event based function to repeat itself periodically when an event is triggered. I tried using mbed-rtos but my program always hang even ...
https://os.mbed.com/questions/310/Possible-to-trigger-Ticker-interface-usi/
CC-MAIN-2019-47
refinedweb
375
76.11
On 29 Nov 01 at 16:49, jarmo kettunen wrote:> > gcc -O2 -Wall -DGLIBC_HEADERS -c iwlib.c> In file included from iwlib.c:11:> iwlib.h:91:8: warning: extra tokens at end of #endif directive> iwlib.h:96:8: warning: extra tokens at end of #endif directive> In file included from iwlib.h:42,> from iwlib.c:11:> /usr/include/l...
https://lkml.org/lkml/2001/11/29/150
CC-MAIN-2022-21
refinedweb
147
58.08
. Topics and Queues) as well. It can be a little tricky as it requires the use of the Windows Azure REST API and there aren’t a ton of public examples of how to do it! So in this blog post, I’ll show you how to send a message to a Service Bus Topic from Salesforce.com. Note that this sequence resembles how you’d do thi...
https://seroter.wordpress.com/2013/09/18/using-the-windows-azure-service-bus-rest-api-to-send-to-topic-from-salesforce-com/
CC-MAIN-2019-47
refinedweb
1,688
58.18
How to Publish Array Data for Multiple Servos on Arduino I'm trying to publish an array in Python that is subscribed to by code on an Arduino that has callbacks for an Adafruit PWM servo controller. The code on the Arduino compiles and uploads to an Arduino Uno just fine. I'm not sure how to publish a multiarray for th...
https://answers.ros.org/question/235150/how-to-publish-array-data-for-multiple-servos-on-arduino/
CC-MAIN-2021-43
refinedweb
504
56.76
urn:lsid:ibm.com:blogs:entries-84a1e68f-fa2b-4d83-a240-5f565e7d6248 Mainframe Performance Topics with Martin Packer - Tags - rexx I'm a well-known mainframe performance guy, with almost 30 years of experience helping customers manage systems. I also dabble in lots of other technology. I've sought to widen the Performan...
https://www.ibm.com/developerworks/community/blogs/MartinPacker/feed/entries/atom?tags=rexx&lang=en
CC-MAIN-2015-14
refinedweb
5,028
63.8
A; 3: 4: namespace HelloWorldViewModel 5: { 6: public class HelloWorldModel : INotifyPropertyChanged 7: { 8: private string _name; 9: private bool _isHavingGoodDay = true; 10: 11: /// <summary> 12: /// The user's name 13: /// </summary> 14: public string Name 15: { 16: get { return this._name; } 17: set 18: { 19: if (t...
http://jeffhandley.com/archive/2008/10/27/helloworld.viewmodel.aspx
CC-MAIN-2014-41
refinedweb
1,110
58.28
September 30, 2018. A few weeks ago I published version 0.0.1 of the systems library, and today I cut 0.0.2, which was pretty much exclusively focused on making it work better in a jupyter notebook workflow, which is still one of the best tools I've ever found for iterative exploration. This post walks through the step...
https://lethain.com/systems-jupyter-notebook/
CC-MAIN-2019-51
refinedweb
637
63.19
Created on 2010-09-24 14:31 by jayt, last changed 2019-09-12 11:21 by shihai1991. This issue is now closed. I want to create a custom interactive shell where I continually do parse_args. Like the following: parser = argparse.ArgumentParser() command = raw_input() while(True): args = parser.parse_args(shlex.split(comman...
https://bugs.python.org/issue9938
CC-MAIN-2020-45
refinedweb
1,125
64.91
. You can run this with a simple main( ) method, dropping a few components onto the panel and putting it into a frame: The code is pretty simple, but it has two big flaws. First, if the window is moved, the background won't be refreshed automatically. paintComponent( ) only gets called when the user resizes the window....
http://oreillynet.com/lpt/a/6321
CC-MAIN-2013-20
refinedweb
537
55.44
All, Apologize for the delay, here’s lecture 3’s notes. - Tim Unofficial Deep Learning Lecture 3 Notes Where do we go from here? - CNN Image intro <- we are here - Structured neural net intro - Language RNN intro - Collaborative filtering intro - Collaborative filtering in-depth - Structured neural net in-depth - CNN i...
http://forums.fast.ai/t/deeplearning-lecnotes3/7866
CC-MAIN-2018-30
refinedweb
3,019
52.97
#include <db.h> int DB->verify(DB *db, const char *file, const char *database, FILE *outfile, u_int32_t flags); The DB->verify() method verifies the integrity of all databases in the file specified by the file parameter, and optionally outputs the databases' key/data pairs to the file stream specified by the outfile pa...
http://docs.oracle.com/cd/E17276_01/html/api_reference/C/dbverify.html
CC-MAIN-2015-48
refinedweb
726
51.38
Recently, we started using Jira at work to track some IT related things. Thus, I have quickly had to learn how to administer Jira. One thing that I really wanted to get set up and working well was the ability to respond to an email sent by the system via a reply email and have that filed in the ticket. That wasn’t too ...
https://iamdav.in/2018/02/22/remove-jira-issue-attachments-md5-hash/
CC-MAIN-2021-43
refinedweb
859
58.08
Using the solution of a linear system, and splitting a matrix Hi there, I'm fairly new to Sage and Python, so I'm getting into basic problems here that I'd be happy if you could help me out. Here it is, actually, here they are: I'm generating a set of equalities and solving them with solve. A simple example: import num...
https://ask.sagemath.org/question/8925/using-the-solution-of-a-linear-system-and-splitting-a-matrix/
CC-MAIN-2018-13
refinedweb
270
52.73
Mark Hammond wrote: > > I struck a bit of a snag with the Unicode support when trying to use the > most recent update in a C++ source file. > > The problem turned out to be that unicodeobject.h did a #include "wchar.h", > but did it while an 'extern "C"' block was open. This upset the MSVC6 > wchar.h, as it has special...
https://mail.python.org/pipermail/python-dev/2000-March/002599.html
CC-MAIN-2014-10
refinedweb
379
58.99
Explanation of Deep and Shallow Copying When creating copies of arrays or objects one can make a deep copy or a shallow copy. This explanation uses arrays. Recall array variables in Java are references (some folks say pointers, but there are differences between references and points). Object and array variables refer t...
http://www.cs.utexas.edu/~scottm/cs307/handouts/deepCopying.htm
CC-MAIN-2018-13
refinedweb
192
63.9
CGI Developer's Guide Chapter 2 The Basics CONTENTS - Hello, World! - Outputting CGI - Installing and Running Your CGI Program - A Quick Tutorial on HTML Forms - Accepting Input from the Browser - A Simple CGI Program - General Programming Strategies - Summary A few years ago, I was setting up World Wide Web pages for ...
http://www.webbasedprogramming.com/CGI-Developers-Guide/ch2.htm
CC-MAIN-2022-05
refinedweb
5,559
63.19
The Art of Java-Based HTTP Data Service Implementation and Testing (Part 2) The Art of Java-Based HTTP Data Service Implementation and Testing (Part 2) Want to see how to incorporate end-to-end testing for your Java HTTP data services? Take a look at out ActFramework and some associated tools can help. Join the DZone c...
https://dzone.com/articles/the-art-of-java-based-http-data-service-implementa-1?fromrel=true
CC-MAIN-2019-26
refinedweb
2,926
56.05
I. See this discussion on Google Plus for information on other implementations for other editors. Check the README on the Github page]]> One of the common misunderstandings about JavaScript is that it does not provide encapsulation, and therefore is not fully capable of Object Oriented Programming. While EcmaScript 3 d...
http://feeds.feedburner.com/dafishinsea
CC-MAIN-2018-43
refinedweb
9,073
67.99
NAME pow, powf, powl - power functions SYNOPSIS #include <math.h> double pow(double x, double y); float powf(float x, float y); long double powl(long double x, long double y); Link with -lm. DESCRIPTION The pow() function returns the value of x raised to the power of y. ERRORS The pow() function can return the followin...
http://manpages.ubuntu.com/manpages/hardy/man3/pow.3.html
CC-MAIN-2015-27
refinedweb
135
76.01
Windows 10 Exploit Development Setup - Vulnserver Walkthrough Part 1 Intro Lately I have been getting more into exploit development as I needed a bit of a break from the more typical Red Team skills. Exploitation experience would help me bring more to red teams that I perform so wanted to start learning. For this serie...
https://philkeeble.com/exploitation/windows/Vulnserver-Walkthrough-Part-1/
CC-MAIN-2021-21
refinedweb
1,712
71.34
Java Exercises: Take the last three characters from a given string and add these characters at front and back of the string Java Basic: Exercise-84 with Solution Write a Java program to take the last three characters from a given string and add the three characters at both the front and back of the string. String lengt...
https://www.w3resource.com/java-exercises/basic/java-basic-exercise-84.php
CC-MAIN-2019-47
refinedweb
161
54.83
Bringing Java into PerlBringing Java into Perl In this article, I will show how to bring Java code into a Perl program with Inline::Java. I won't probe the internals of Inline or Inline::Java, but I will tell you what you need to make a Java class available in a program or module. The program/module distinction is impo...
http://www.perl.com/lpt/a/792
crawl-002
refinedweb
2,671
72.97
In the previous lesson on basic exception handling, we explained how throw, try, and catch work together to enable exception handling. This lesson is dedicated to showing more examples of exception handling at work in various cases. Exceptions within functions In all when thrown. This allows us to use exception handlin...
http://www.learncpp.com/cpp-tutorial/153-exceptions-functions-and-stack-unwinding/
crawl-002
refinedweb
776
68.81
Out of the box, React allows you to style components directly with the style property. It’s accepts an object of style properties and for most use cases, it’s more than sufficient. As a single property, there’s no way to specify more granular defaults and support for !important is effectively non-existent with the styl...
https://alligator.io/react/react-emotion/
CC-MAIN-2019-35
refinedweb
713
54.42
Controllers in Practice Now that you understand the general function of controllers in ASP.NET, let's take a look at the process for creating one in Visual Studio. The Controllers folder of a Visual Studio project contains the controller classes used to manage responses and input. Remember that the “Controller” suffix ...
https://freeasphosting.net/asp-net-tutorial-controllers-in-practice.html
CC-MAIN-2018-51
refinedweb
462
50.43
Conquering Instagram with PHP and the Instagram API. API Calls and Limits There are two types of API calls you can perform with the Instagram API: Unauthenticated and Authenticated. Unauthenticated API calls only need the client ID, and authenticated API calls use OAuth, specifically OAuth 2.0. If you don’t know what O...
https://www.sitepoint.com/conquering-instagram-with-php-and-the-instagram-api/
CC-MAIN-2019-30
refinedweb
2,395
54.83
Logger injection in JBoss 6 Final ?Sakari Isoniemi Jan 1, 2011 12:01 PM Seam Logger don't inject with Seam 2.2.1.CR2, JBoss 6 Final. Application is generated by seam-gen and works fine. When loggging is added comes always NPE no matter how logging is instantiated. import org.jboss.seam.annotations.Logger; @Logger publi...
https://developer.jboss.org/thread/193472
CC-MAIN-2018-39
refinedweb
335
68.67
hi all, I am trying to create a most simple 1 linear layer network to fit a linear regression. Just to help myself better understand how Pytorch works. However, I encountered a strange issue with the model training. in my model’s init() method, I have to add a manual initialization step(shown below) to have the model q...
https://discuss.pytorch.org/t/why-the-model-fail-to-converge-without-a-manul-weight-initialization/50431
CC-MAIN-2019-30
refinedweb
377
50.33
in reply to Is Perl the right language for a large web application? walikngthecow: this is a good question, that I (and many others) have been wrestling with, from time to time. In my opinion, in comparison to Python, Perl is more expressive, more powerful, and much neater in its language architecture. I think the Perl...
http://www.perlmonks.org/index.pl?node_id=1029467
CC-MAIN-2015-27
refinedweb
762
61.56
Things are easy when you have to use a C++ library in a Python project. Just you can use Boost. First of all here is a list of components you need: Let's start with a small C++ file. Our C++ project has only one method which returns some string "This is the first try". Call it CppProject.cpp char const *firstMethod() {...
https://riptutorial.com/boost/example/22112/introductory-example-on-boost-python
CC-MAIN-2021-43
refinedweb
184
61.22
Nanoparticle¶ ASE provides a module, ase.cluster, to set up metal nanoparticles with common crystal forms. Please have a quick look at the documentation. Build and optimise nanoparticle¶ Consider ase.cluster.Octahedron(). Aside from generating strictly octahedral nanoparticles, it also offers a cutoff keyword to cut th...
https://wiki.fysik.dtu.dk/ase/gettingstarted/cluster/cluster.html
CC-MAIN-2020-16
refinedweb
777
52.15
Python alternatives for PHP functions open(filename).read(1000) # ALWAYS specify a max size (in bytes). See [url][/url] # Python 2 import urllib2 urllib2.urlopen(url).read(1000) # Python 3 import urllib.request urllib.request.urlopen(url).read(1000) import urllib2 def file_get_contents(filename, use_include_path = 0, c...
http://www.php2python.com/wiki/function.file-get-contents/
CC-MAIN-2019-51
refinedweb
160
63.76
Let's Take a Look at CSS in JS with React in 2019 - CSS & Inline Styling CSS in JS isn't unique to React, however, I'm a little React fanboy and it happens to be one of my favorite JS libraries to write front end applications with, so I'm going to be talking about CSS in JS solutions specifically with React and how I f...
https://dev.to/phizzard/let-s-take-a-look-at-css-in-js-with-react-in-2019-css-inline-styling-jcg
CC-MAIN-2020-40
refinedweb
1,591
68.81
The code examples can be found here. Do what you will with it, but as always, no warranty for you! Sweet sweet abstraction. Its a pretty powerful thing, right? From a clients perspective everything is nice and tidy, while all of the nasty not so pretty details are tucked away under the covers. And as we all know, in st...
https://brettedotnet.wordpress.com/category/asp-net-web-api/
CC-MAIN-2021-10
refinedweb
1,688
56.66
Marble::GeoDataObject #include <GeoDataObject.h> Detailed Description A base class for all geodata objects. GeoDataObject is the base class for all geodata classes. It is never instantiated by itself, but is always used as part of a derived object. The Geodata objects are all modeled after the Google KML files as defin...
https://api.kde.org/marble/html/classMarble_1_1GeoDataObject.html
CC-MAIN-2020-24
refinedweb
315
52.26
This is the source code of an amended version of Vcredist_x86.exe, the redistributable distributed by Microsoft. Microsoft forgot to include the required Windows Installer 3.1 in the redistributable. The above file comes with a bootstrapper that detects if any prerequisites are missing and installs the required runtime...
http://www.codeproject.com/Articles/12482/Bootstrapper-for-the-VC-2005-Redists-with-MSI-3-1?fid=244216&df=10000&mpp=10&sort=Position&spc=None&tid=2039574
CC-MAIN-2014-35
refinedweb
4,597
63.19
Sometimes we one of the enterprise web services does not provide all the information necessary and it turns out that there is another web service which can return the missing fields. On the other hand many of the calling tools cannot or do not want to call multiple web services one by one to get all of the information ...
https://blogs.sap.com/2011/12/26/michals-pi-tips-composite-web-services-on-pi/
CC-MAIN-2017-39
refinedweb
908
63.22
This is the small tale of a turtle living on the bleeding edge. I'm not the first guy to talk about Protocols in Clojure, but I certainly wont be the last either, here we go... Everybody who's over the age of 25 has probably seen 1 or 2 turtle graphics implementations in his day - this was what most of us grew up with ...
http://www.bestinclass.dk/index.clj/2010/04/prototurtle-the-tale-of-the-bleeding-turtle.html
CC-MAIN-2014-10
refinedweb
1,318
59.37
Calculate MD5 checksum for a file Question. Accepted Answer It's very simple using System.Security.Cryptography.MD5: using (var md5 = MD5.Create()) { using (var stream = File.OpenRead(filename)) { return md5.ComputeHash(stream); } } (I believe that actually the MD5 implementation used doesn't need to be disposed, but I...
https://ask4knowledgebase.com/questions/10520048/calculate-md5-checksum-for-a-file
CC-MAIN-2021-10
refinedweb
458
53.88
Hi Guys, I have written a small example where i have a datagrid populated with random numbers and if the numbers are positive the text colour is green, otherwise red (based on using a label as a custom renderer). This is all fine up to the point where i want to change the background of the label to green if the value i...
https://forums.adobe.com/thread/790136
CC-MAIN-2018-30
refinedweb
389
61.77
etcd/clientv3 is the official Go etcd client for v3. go get github.com/coreos/etcd/clientv3 Create client using clientv3.New: cli, err := clientv3.New(clientv3.Config{ Endpoints: []string{"localhost:2379", "localhost:22379", "localhost:32379"}, DialTimeout: 5 * time.Second, }) if err != nil { // handle error! } defer c...
https://apache.googlesource.com/cloudstack-kubernetes-provider/+/b13b4a31891ea31a105db83bf019224b9407aa9e/vendor/github.com/coreos/etcd/clientv3
CC-MAIN-2020-50
refinedweb
289
54.59
Tracking Upgrade Default Tcl/Tk to 8.6 Build failures with Tcl/Tk packages from experimental The packages listed here are those which build depend on Tcl/Tk and FTBFS when using Tcl/Tk packages from experimental. The possible reasons for FTBFS may be: - Bumping tcltk-defaults to 8.6 - Multiarchifying Tcl/Tk - Dropping ...
https://wiki.debian.org/Teams/DebianTclTk/UpgradeDefaultTclTkTo86?action=diff
CC-MAIN-2015-48
refinedweb
695
59.09
Scroll down to the script below, click on any sentence (including terminal blocks!) to jump to that spot in the video! gstreamer0.10-ffmpeg gstreamer0.10-plugins-goodpackages. A whole mini-series on Symfony's Dependency Injection Container? Yes! Do you want to really understand how Symfony works - and also Drupal 8? Th...
https://symfonycasts.com/screencast/symfony-journey-di/container-in-the-wild
CC-MAIN-2020-29
refinedweb
936
75.3
WinJS contains several useful classes which are unfortunately hidden (starts with ‘_’). In this post we will look at one of them, WinJS._Signal. A common usage of this class is to manage (completes, cancels, fails) the promise. The promise itself is simple concept. But sometimes it’s awkward to complete it. Let’s see t...
https://blogs.msdn.microsoft.com/fkaduk/2013/11/18/winjs-internals-winjs-_signal/
CC-MAIN-2017-17
refinedweb
274
64.71
Download presentation 1 TCSS 342, Winter 2005 Lecture Notes Stacks and Queues Weiss Ch. 6, pp Weiss Ch. 16, pp 2 Review: List method runtimes Operation add to start of list add to end of list add at given index clear get find index of an object remove first element remove last element remove at given index set size toS...
http://slideplayer.com/slide/5215068/
CC-MAIN-2020-24
refinedweb
1,882
52.46
Dive into OpenShift v3 This article has originally been written for SysAdvent 2015 Over the last year there has been a lot of buzz around open-source Platform-as-a-Service (PaaS) tools. This blog will give you an overview of this topic and some deeper insight into Red Hat OpenShift 3. It will talk about the kind of Paa...
https://tobru.ch/dive-into-openshift-v3/
CC-MAIN-2022-21
refinedweb
4,230
53.1
vim - how to stop this bug: insert single char func - put vs p I wanted to be able to easily insert a single char from normal mode, and clean up some of the mappings that were being added for that purpose while I was at it. I have this in my vimrc now: "insert single char from normal mode function! InsertSingleChar() "...
http://unixresources.net/faq/30004879.shtml
CC-MAIN-2019-04
refinedweb
300
70.26
• The program starts with a series of #include statements that use several pre-defined libraries that come with the SimpleIDE software. These libraries make C language coding on the PAB much easier. Important! In this version of the PropBot, “front” and “back” have been swapped. The leaf switches described in earlier p...
https://servo.texterity.com/servo/201412/?pg=36
CC-MAIN-2021-04
refinedweb
440
62.07
hey guys, thanks for looking at this. I'm new to java and need help with this one problem. What i need to do is, 3) Write a* 703/ height2 Where weight is measured in pounds and height is measured in inches. The program should display a message indicating whether the person has optimal weight, is underweight, or is over...
http://www.daniweb.com/software-development/java/threads/316509/need-help-with-bmi-code
CC-MAIN-2014-10
refinedweb
249
74.59
/************************************************* * _version(), which returns a string that identifies the PCRE version that is in use. */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include "pcre_internal.h" /************************************************* * Return version string * ****************************...
http://opensource.apple.com/source/pcre/pcre-6/pcre/pcre_version.c
CC-MAIN-2015-18
refinedweb
258
57.16
Routine work is all around us every day, no matter if you like it or not. For a teacher on computing subjects, grading assignments can be such work. Certain computing assignments aim at practicing operating skills rather than creativity, especially in elementary courses. Grading this kind of assignment is time-consumin...
http://www.perl.com/pub/2006/01/19/analyzing_html.html
CC-MAIN-2016-30
refinedweb
2,053
58.82
Hello Programmers, This is my first post on my quest to self study Java more in depth since my recent graduation for my BSIT/Software Engineering Degree. I'm stuck on this exercise. I'm having trouble understanding why my method will not recognize that I am returning a double. Here is the requirements. And my code is b...
http://www.javaprogrammingforums.com/whats-wrong-my-code/10022-help-method-returning-double.html
CC-MAIN-2014-52
refinedweb
252
71.34
The client should never ever decide how the server should response. A few days ago, I was faced by the options to choose whether our API design should compromise its universality by changing the response in a non-standard format or stick with the original design. The need to change the API to the non-standard format ca...
https://dzone.com/articles/universality-apis
CC-MAIN-2016-44
refinedweb
764
71.65
One of the reasons I switched to Python from R is because Python’s phylogenetic capabilities are very well developed, but R is catching up. I’m moving into phylogenetic community ecology, which requires a lot of tree manipulation and calculation of metrics and not so much actual tree construction. Python is excellent a...
https://www.r-bloggers.com/phylogenies-in-r-and-python/
CC-MAIN-2016-44
refinedweb
1,374
59.09
You can subscribe to this list here. Showing 4 results of 4 Hi, I'am a very beginner with swig and I have a complex (for me) data. The target language is java. The data type is define like this in C typedef struct Factory _Factory; typedef struct Conv _Conv; And two methods : extern Err createFactory( _Factory **factor...
http://sourceforge.net/p/swig/mailman/swig-user/?viewmonth=200511&viewday=8
CC-MAIN-2014-23
refinedweb
676
60.01
I'm working on a fighting game, using two 360 controllers for 2 players. To get this to work, I've added xInputPureDotNet to my project. Works perfectly, only minor bug seems to be it detects controller 1 as 2 and vice versa, not a big problem to work around. So, In the sample unity project xInputTest which is included...
https://answers.unity.com/questions/218084/xinput-how-do-i-access-vibration-on-360-controller.html?childToView=375451
CC-MAIN-2020-05
refinedweb
758
71.85
On 01/09/2011 12:18 PM, Nick Coghlan wrote: On Mon, Jan 10, 2011 at 3:56 AM, Ron Adamrrr@ronadam.com wrote: On 01/09/2011 12:39 AM, Nick Coghlan wrote:). Yes, __builtins__ is a virtual module. No, it's a real module, just like all the others. As George pointed out it's "builtins". But you knew what I was referring to. ...
https://mail.python.org/archives/list/python-ideas@python.org/message/2XVHKJRXHIE62A3GXVXORUPKYKSZUSSZ/
CC-MAIN-2021-04
refinedweb
371
75.71
/*- * [] = "@(#)strtoq.c 8.1 (Berkeley) 6/4/93"; #endif /* LIBC_SCCS and not lint */ #include <sys/cdefs.h> __FBSDID("$FreeBSD: src/lib/libc/stdlib/strtoll.c,v 1.19 2002/09/06 11:23:59 tjr Exp $"); #include <limits.h> #include <errno.h> #include <ctype.h> #include <stdlib.h> /* * Convert a string to a long long integer...
http://opensource.apple.com/source/Libc/Libc-594.9.4/stdlib/FreeBSD/strtoll.c
CC-MAIN-2016-07
refinedweb
197
69.18
# Summary Which common pain points and questions do I tackle in this video and article? What’s up with all these Angular versions? (0:31) Do you really need the Angular CLI? (4:33) Which Visual Studio Code Extensions can I recommend? (7:45) How can you debug Angular apps? (8:37) How can you pass data from A to B (e.g. ...
https://academind.com/learn/angular/angular-q-a/
CC-MAIN-2019-18
refinedweb
3,442
65.12
» Databases » JDBC and Relational Databases Author Access database from a class file Emma Aziz Greenhorn Joined: Apr 27, 2009 Posts: 23 posted May 10, 2009 22:54:26 0 Hello All, I am currently building a mini programme which connects to Oracle database. I have tried several ways and they are all successful. The ways a...
http://www.coderanch.com/t/444836/JDBC/databases/Access-database-class-file
CC-MAIN-2015-14
refinedweb
1,214
57.98
Python is not exactly the best option for asynchronous programming. Node.js is pure JavaScript, so its basics remain simple for the developers to learn. What are the benefits of developing in Node.js vs Python? When it comes to back-end website development, a developer will easily find a handful of refined programming ...
https://morioh.com/p/fb616bd633dc
CC-MAIN-2019-47
refinedweb
911
66.54
I read my notes and I found out that I had that problem. You need to set the SPI clock to 8Mhz! insert the spi clock speed at line 374 in lib_nrf24.py After that your python code should work! Code: Select all def begin(self, csn_pin, ce_pin=0): # csn & ce are RF24 terminology. csn = SPI's CE! # Initialize SPI bus.. # c...
https://www.raspberrypi.org/forums/viewtopic.php?f=45&t=17061&start=250
CC-MAIN-2019-43
refinedweb
116
86.4
- Table of contents - Editing Code - Overview - Coding Conventions - Using and Creating a Test Release - Adding Packages to the Test Release - Removing Packages from the Test Release - Compiling Packages in the Test Release - Checking code into the repository - Updating a test release - Editing code remotely with Emacs...
https://cdcvs.fnal.gov/redmine/projects/larsoft/wiki/Editing_Code
CC-MAIN-2019-47
refinedweb
1,466
59.13
tag:blogger.com,1999:blog-67636492009-05-15T11:15:30.439-05:00It is what it isLargely harmless confabulation on commercial software development, economics, and the relentless desire to see more of the worldSebastian Good ArcIMS 9.3 on Vista or Vista 64: Internal Error 2738<p".</p> .</p> <p>Thanks to Swapna at ESRI supp...
http://feeds.feedburner.com/palladiumconsulting/sebastian
crawl-002
refinedweb
13,660
65.12
Working with environment variables is a great way to configure different aspects of your Node.js application. Many cloud hosts (Heroku, Azure, AWS, now.sh, etc.) and Node.js modules use environment variables. Hosts, for example, will set a PORT variable that specifies on which port the server should listen to properly ...
https://www.twilio.com/blog/2017/08/working-with-environment-variables-in-node-js.html
CC-MAIN-2021-17
refinedweb
1,920
67.25
Opened 17 years ago Closed 17 years ago Last modified 17 years ago #1244 closed defect (fixed) [Performance] PointObj cause performance lost Description In bug 1224, I found that that a performance lost is observed since we add the Z parameter in the point object. Just because the pointObj is bigger, it takes longer to...
https://trac.osgeo.org/mapserver/ticket/1244
CC-MAIN-2022-05
refinedweb
1,119
72.66
DID NOT OUR HEART BURN WITHIN US WHILE HE TALKED WITH US BY THE WAY,AND WHILE HE OPENED TO US THE SCRIPTURES? Luke 24:32 Volume 2 Issue 1 March 2007 WE HAVE HEARD... I cannot express how humbled we are by the response of those who have had the opportunity to read the newsletter. It is truly God’s uncommon favor. It see...
https://issuu.com/aussiebard/docs/keihljm
CC-MAIN-2017-26
refinedweb
11,976
76.86
Failing to plot data from Pandas Datafeed(*Please help QAQ stuck for 2 days) - SeanytheCodie last edited by Hi guys, I'm fairly new to backtrader, and I was given this project to build a backtester for a simple strategy. I have already cropped out some data from my main data-sample set(it's about size 100 but I'll only...
https://community.backtrader.com/topic/3633/failing-to-plot-data-from-pandas-datafeed-please-help-qaq-stuck-for-2-days/1
CC-MAIN-2022-05
refinedweb
397
54.08
Armin Gayl 7 August 2018Beginner, Caché, Databases Hello, I would like to schedule the Database Compact and Freespace methods as legacy tasks. Has anyone implemented this yet? Is this even possible? The request for this is due to the fact that we have 3 interfaces in a namespace whose messages are deleted after 7 days....
https://community.intersystems.com/post/database-freespace-compact-task
CC-MAIN-2019-43
refinedweb
108
76.32
25 August 2008 By clicking Submit, you accept the Adobe Terms of Use. Beginning. Event handling in ActionScript 3.0 depends heavily on the EventDispatcher class. Although this class isn't entirely new to ActionScript, it is the first time it has been included as a core part of the ActionScript language. You may also be...
https://www.adobe.com/devnet/actionscript/articles/event_handling_as3.html
CC-MAIN-2015-48
refinedweb
5,176
55.24
Open share dialog Can I have a script generate a PIL Image, then open the standard iOS Share menu so the image can be opened in another app? You can use the Open in… menu like this: import Image import console img = Image.new('RGB', (100, 100), 'green') img.save('image.png') console.open_in('image.png') Hmm.... This cr...
https://forum.omz-software.com/topic/1871/open-share-dialog
CC-MAIN-2022-05
refinedweb
136
78.75
SDM-IO ultrasonic. Hardware Installation A short ultrasonic pulse is transmitted at the time T1, reflected by an object. The senor receives this signal and converts it to an electric signal. The next pulse can be transmitted when the echo is faded away. This time period is called cycle period. The recommend cycle perio...
http://www.elecfreaks.com/264.html
CC-MAIN-2018-17
refinedweb
422
64.54
honey the codewitch wrote: a fair amount of confusion honey the codewitch wrote:I don't care what pronouns you use for me. Use whatever makes the most sense to you. my gender is bees. Quote: "Hey honey, take a walk on the wild side" honey the codewitch wrote:my gender is bees. def printGlobal(): print(str(extra)) extra...
https://www.codeproject.com/Lounge.aspx?fid=1159&df=90&mpp=25&sort=Position&view=Normal&spc=Relaxed&prof=True&select=5726080&fr=15775
CC-MAIN-2020-50
refinedweb
171
67.35
Yet Another GMAIL client, using AsyncIO Project description aioyagmail -- Yet Another GMAIL/SMTP client, using AsyncIO The goal here is to make it as simple and painless as possible to send emails using asyncio. In the end, your code will look something like this: import asyncio from aioyagmail import AIOSMTP loop = as...
https://pypi.org/project/aioyagmail/
CC-MAIN-2021-43
refinedweb
235
56.66
Prev C++ VC ATL STL XML Experts Index Headers Your browser does not support iframes. Re: Linux programming, is there any C++? From: James Kanze <james.kanze@gmail.com> Newsgroups: comp.lang.c++ Date: Thu, 21 Feb 2008 03:14:16 -0800 (PST) Message-ID: <01ff81a1-06d5-4000-bb48-a9ae4dad8978@72g2000hsu.googlegroups.com> On ...
https://preciseinfo.org/Convert/Articles_CPP/XML_Experts/C++-VC-ATL-STL-XML-Experts-080221131416.html
CC-MAIN-2022-05
refinedweb
3,111
65.32
Scale Dask In the Cloud…In Minutes Coiled helps data scientists use Python for ambitious problems, scale to the cloud for computing power, ease, and speed—all tuned for the needs of teams and enterprises. Join Thousands of Users As soon as you sign up, you’ll have access to your Coiled dashboard. You can dive right in ...
https://coiled.io/
CC-MAIN-2022-21
refinedweb
719
63.9
The best answers to the question “How to import other Python files?” in the category Dev. QUESTION: How print What do I add to the import statement to just get gap from extra.py? ANSWER: importlib was added to Python 3 to programmatically import a module. import importlib moduleName = input('Enter module name:') import...
https://rotadev.com/how-to-import-other-python-files-dev/
CC-MAIN-2022-40
refinedweb
385
70.6
RSA_private_encrypt.3ossl - Man Page low-level signature operations Synopsis #include <openssl/rsa.h> The following functions have been deprecated since OpenSSL 3.0, and can be hidden entirely by defining OPENSSL_API_COMPAT with a suitable version value, see openssl_user_macros(7): int RSA_private_encrypt(int flen, uns...
https://www.mankier.com/3/RSA_private_encrypt.3ossl
CC-MAIN-2022-33
refinedweb
160
51.34
! Posted by Adrian Holovaty on July 15, 2007 Jeff Croft July 15, 2007 at 4:57 p.m. Congrats to Adrian, Simon, Jacob, Wilson, and everyone else involved in the project. It's been wonderful watching it grow. I have to say, I'm constantly amazed at how many blog posts and articles refer to Django as "new." Is a two-year o...
http://www.djangoproject.com/weblog/2007/jul/15/twoyears/
crawl-002
refinedweb
1,293
77.53
HOUSTON (ICIS)--Here is Thursday’s end of day ?xml:namespace> CRUDE: Apr WTI: $99.43/bbl, down 94 cents; May Brent: $106.45/bbl, up 60 cents NYMEX WTI crude futures fell on length liquidation as the April contract expired at the end of the session. Rising crude oil inventories revealed by the US Energy Information Admi...
https://www.icis.com/resources/news/2014/03/20/9764489/evening-snapshot-americas-markets-summary/
CC-MAIN-2017-47
refinedweb
323
68.57
Basic Elements of Oracle SQL, 9 of 10 This section provides: The following rules apply when naming schema objects: If your database character set contains multibyte characters, Oracle recommends that each name for a user or a role contain at least one single-byte character. Depending on the Oracle product you plan to u...
http://docs.oracle.com/cd/A84870_01/doc/server.816/a76989/ch29.htm
CC-MAIN-2014-35
refinedweb
393
60.35
What is functionA function is section of program that performs some specific task. Let's take a example int add (int x, int y){ return x+y; } I declared a function add which takes two arguments x and y. It returns the addition of x and y. What's the use of functionSuppose you are writing a program in which you want to ...
http://www.cprogrammingcode.com/2013/10/write-c-program-which-explain-concept.html
CC-MAIN-2021-17
refinedweb
193
70.73
Blokkal::AccountManager Class ReferenceGlobal account manager class. More... #include <blokkalaccountmanager.h> Detailed DescriptionGlobal account manager class. This is the global account manager class. It maitains information of all accounts and saves the configuration of registered accounts. Definition at line 49 of...
http://blokkal.sourceforge.net/docs/0.1.0/classBlokkal_1_1AccountManager.html
CC-MAIN-2017-43
refinedweb
334
51.75
ztrie(3) CZMQ Manual - CZMQ/3.0.2 Name ztrie - Class for simple trie for tokenizable strings Synopsis // This is a draft class, and may change without notice. It is disabled in // stable builds by default. If you use this in applications, please ask // for it to be pushed to stable state. Use --enable-drafts to enable....
http://czmq.zeromq.org/czmq3-0:ztrie
CC-MAIN-2017-13
refinedweb
1,527
61.26
Next: Function Caveats, Previous: Definition Syntax, Up: User-defined nonstandard extension.) The following is an example of a recursive function. It takes a string as an input parameter and returns the string in backwards order. Recursive functions must always have a test that stops the recursion. In this case, the re...
http://www.gnu.org/software/gawk/manual/html_node/Function-Example.html
CC-MAIN-2013-48
refinedweb
130
67.86
2D array: Find an array of characters Scotty Young Greenhorn Joined: Oct 26, 2006 Posts: 10 posted Apr 14, 2011 14:30:07 0 I'm working on a problem to help try and improve my java skills before I sit SCJA : I have an array, "word", with three characters "D" "O" and "G". I'm trying to search through a larger 2D array a...
http://www.coderanch.com/t/534447/java/java/array-Find-array-characters
CC-MAIN-2013-48
refinedweb
686
81.02
"John Morris" <jrmorrisnc at gmail.com> wrote > So this seems like it will make scope/namespaces a bit > interesting... namespaces in python are literally that, they are spaces where *names* are visible. Objects are something else entirely and assignment only pins a name to an object. So in Python namespaces contriol w...
https://mail.python.org/pipermail/tutor/2008-January/059748.html
CC-MAIN-2017-30
refinedweb
142
74.59
So I was looking for a way to block input if a button was pressed and naturally came upon the EventSystem.current.IsPointerOverGameObject() function. This helps with what I want but unfortunately it causes issues in other places. If I call this function it doesn't distinguish between certain things. I'll set up an exam...
https://answers.unity.com/questions/880318/blocking-and-not-blocking-input-in-new-ugui-46.html
CC-MAIN-2019-47
refinedweb
404
69.82