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 |
|---|---|---|---|---|---|
cheers.
Index: initdb.c =================================================================== RCS file: /projects/cvsroot/pgsql-server/src/bin/initdb/initdb.c,v retrieving revision 1.4 diff -c -w -r1.4 initdb.c *** initdb.c 13 Nov 2003 01:36:00 -0000 1.4 --- initdb.c 13 Nov 2003 04:15:33 -0000 *************** *** 2324,23... | https://www.mail-archive.com/pgsql-patches@postgresql.org/msg01438.html | CC-MAIN-2018-13 | refinedweb | 105 | 60.31 |
- NAME
- SYNOPSIS
- DESCRIPTION
- OPTIONS
- METHODS
- SYNTAX HIGHLIGHTING
- WRITING PLUGINS
- CONTRIBUTIONS
- AUTHOR
- BUGS
- TODO
- SEE ALSO
NAME
Tk::CodeText - a TextUndo widget with syntax highlighting capabilities
SYNOPSIS
use Tk; require Tk::CodeText; my $m = new MainWindow; my $e = $m->Scrolled('CodeText', -disab... | https://metacpan.org/pod/distribution/Tk-CodeText/CodeText.pod | CC-MAIN-2018-09 | refinedweb | 884 | 57.87 |
This C# Program Illustrates Elapsed Event. Here an Event Handler is set up for the Timer.Elapsed event, creates a timer, and starts the timer. The event handler displays the SignalTime property each time it is raised.
Here is source code of the C# Program to Illustrate Elapsed Event. The C# program is successfully comp... | http://www.sanfoundry.com/csharp-program-elapsed-event/ | CC-MAIN-2018-09 | refinedweb | 223 | 69.07 |
Test Run - Dive into Neural Networks
By James McCaffrey | May 2012
An artificial neural network (usually just called a neural network) is an abstraction loosely modeled on biological neurons and synapses. Although neural networks have been studied for decades, many neural network code implementations on the Internet ar... | https://msdn.microsoft.com/magazine/3791e878-be19-4e07-af65-574c02d1faf7 | CC-MAIN-2017-39 | refinedweb | 3,686 | 54.63 |
The thing I love most about programming is the aha! moment when you start to fully understand a concept. Even though it might take a long time and no small amount of effort to get there, it sure is worth it.
I think that the most effective way to assess (and help improve) our degree of comprehension of a given subject ... | https://www.freecodecamp.org/news/how-to-implement-promises-in-javascript-1ce2680a7f51/ | CC-MAIN-2020-24 | refinedweb | 2,817 | 51.75 |
A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
|
Flagged Topics
|
Hot Topics
|
Zero Replies
Register / Login
JavaRanch
»
Java Forums
»
Java
»
Beginning Java
Author
What are static factory methods
Amit Ghorpade
Bartender
Joined: Jun 06, 2007
Posts: 2851
10
I like...
poste... | http://www.coderanch.com/t/409915/java/java/static-factory-methods | CC-MAIN-2015-48 | refinedweb | 957 | 61.16 |
the following is a little program im working on to increase my knowledge of functions... it gives me 2 errors that i cant figure out...
on lines 47 and 61, compiler indicates there are too few arguments... what does this mean
here is the code
T.I.A.
Code:/* Name: jCalc Author: Jarrod Swart Date: 22/09/03 19:05 Descript... | http://forums.devshed.com/programming-42/functions-question-85851.html | CC-MAIN-2016-44 | refinedweb | 219 | 62.07 |
The Copy Type refactoring allows users to copy a class, interface, struct, or enum from one namespace to another, or clone it within the same namespace.
To copy a type
- Select the class, interface, struct, or enum in Class View or Object Browser, or position the caret at its name in the editor.
- Do one of the followi... | http://www.jetbrains.com/resharper/webhelp50/Refactorings__Copy_Type.html | CC-MAIN-2015-48 | refinedweb | 135 | 71.65 |
Using C++ in Mozilla code¶
C++ language features¶ or throw any exceptions. Libraries that throw
exceptions may be used if you are willing to have the throw instead be
treated as an abort.
On the side of extending C++, we compile with
-fno-strict-aliasing.
This means that when reinterpreting a pointer as a differently-t... | https://firefox-source-docs.mozilla.org/code-quality/coding-style/using_cxx_in_firefox_code.html | CC-MAIN-2020-50 | refinedweb | 1,300 | 62.68 |
ilogb - return an unbiased exponent
#include <math.h> int ilogb (double x)
The ilogb() function returns the exponent part of x. Formally, the return value is the integral part of logr|x| as a signed integral value, for non-zero x, where r is the radix of the machine's floating point arithmetic.
The call ilogb(x) is equ... | http://pubs.opengroup.org/onlinepubs/007908775/xsh/ilogb.html | CC-MAIN-2015-27 | refinedweb | 101 | 68.16 |
Passing commands to standard In on windows (Mplayer related) [SOLVED]
Currently I have mplayer running in the background and would like to send it commands during runtime. I am aware that I will need to use slave mode (-slave). However I am not sure how I would pass these commands to standard in so that they can be rea... | https://forum.qt.io/topic/45815/passing-commands-to-standard-in-on-windows-mplayer-related-solved | CC-MAIN-2018-34 | refinedweb | 416 | 70.13 |
I’ve (somewhat unexpectedly) become a serious fanboy of both Netlify and GatsbyJS. For the first time since I was discovering Rails I have felt like a tool (library, framework, etc.) had an answer to every question I was seeking.
Nearly every time I reached a challenging hurdle without a clear solution, I would do a bi... | https://cobwwweb.com/how-to-use-netlify-forms-with-gatsby | CC-MAIN-2019-22 | refinedweb | 2,375 | 62.17 |
0 FUTURECompEng 5 Years Ago What is the running time for the following recursive function: pubic static int Sum(int [] a, int start, int end) { if ((end – start) = =0) return a[end]; else { int mid = (end + start) / 2; return (Sum(a, start,mid) + Sum(a,mid+1,end)); } } Can someone please explain step by step on how I w... | https://www.daniweb.com/programming/computer-science/threads/435522/big-o-running-time-example | CC-MAIN-2018-05 | refinedweb | 102 | 73 |
Log files are crucial when it comes to troubleshooting an application or finding the to forget about logging at all.
To the lines containing only braces), only 1 line has any business value (the one in bold). The remaining 9 lines are there only to ensure that the progress of the method execution gets logged. And, this... | http://www.codeproject.com/KB/dotnet/log4postsharp-intro.aspx | crawl-002 | refinedweb | 802 | 57.37 |
Create, read, modify, write and execute WebAssembly (WASM) files from .NET-based applications.
A library able to create, read, modify, write and execute WebAssembly (WASM) files from .NET-based applications. Execution does not use an interpreter or a 3rd party library: WASM instructions are mapped to their .NET equival... | https://xscode.com/RyanLamansky/dotnet-webassembly | CC-MAIN-2022-05 | refinedweb | 633 | 52.76 |
Bugs item #874176, was opened at 2004-01-10 01:35
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
Category: pythonwin
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Dmitry Dembinsky (xloggerz)
Assigned to: Nobody/Anonymous (nobody)
Summary: ... | http://sourceforge.net/p/pywin32/mailman/pywin32-bugs/thread/E1Af69j-0001RP-00@sc8-sf-web3.sourceforge.net/ | CC-MAIN-2014-49 | refinedweb | 221 | 62.48 |
Steps - Java Beginners
Java Steps How to create Execuateable EXE File of Java Program. Hi Friend,
Try the following code:
import java.io.*;
import java.util.jar.*;
public class CreateJar {
public static int buffer = 10240
i want java code for this xml file...please show me..
i want java code for this xml file...please... | http://www.roseindia.net/tutorialhelp/comment/9429 | CC-MAIN-2013-48 | refinedweb | 2,540 | 65.93 |
02 April 2009 23:31 [Source: ICIS news]
WASHINGTON (ICIS news)--Global construction of coal-fired power plants over the next ten years will add 3bn tonnes of carbon dioxide (CO2) to the atmosphere, wiping out emissions cuts planned by the US and the EU, a consulting firm said on Thursday.
The McIlvaine Co said its stud... | http://www.icis.com/Articles/2009/04/02/9205664/global-coal-fired-utility-gains-offset-us-eu-cuts-study.html | CC-MAIN-2015-22 | refinedweb | 292 | 54.86 |
Python for Coders
This introduction to Python is designed for people who have had some experience writing code in other languages.
Part 0
Python
In case you are wondering we are using Python 3.4, Python 2.7 is very similar in terms of the code you write, but we won't worry about the differences in this session.
There a... | http://watpy.ca/learn/introduction/Python%20for%20Coders.md | CC-MAIN-2018-13 | refinedweb | 2,623 | 71.24 |
Open Source Low Code Development Platform (LCDP)
LCDP for rapid web application development and sharing of machine learning models.
Overview, but they provide a framework that makes it very easy to develop a full-fledged web application.
LCDP for Web Application Development
Appsmith
Appsmith is a JavaScript-based visua... | https://alpha2phi.medium.com/open-source-low-code-development-platform-lcdp-96e0cd08c8f4 | CC-MAIN-2021-25 | refinedweb | 925 | 56.45 |
This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.
[PATCH][commit/obvious] Fix argument type on gdbsim_detach prototype.
RE: [+rfc] Re: [patch v6 00/21] record-btrace: reverse
[commit 1/2] Move processing of .debug_gdb_scripts to auto-load.c
[commit 1/3] py-breakpoint.exp clean... | http://www.sourceware.org/ml/gdb-patches/2013-11/subjects.html | CC-MAIN-2015-32 | refinedweb | 3,755 | 55.64 |
Hi,
Using a for loop, I have wrote a program that displays a “6 times table” multiplication table:
public class TimesTable3_4a
{
public static void main(String[] args)
{
int table = 6;
for ( int row=1; row<=12; row++ )
{
System.out.println( row + " * " + table + " = " +
( table * row ) );
}
}
}
How could I adapt the ab... | http://forums.devx.com/showthread.php?140655-duplicate-entry-problem&goto=nextnewest | CC-MAIN-2014-49 | refinedweb | 148 | 61.77 |
We are releasing an update to Windows Azure WebJobs SDK introduced by Scott Hanselman here.
Download this release
You can download WebJobs SDK in a console application project from the NuGet gallery. You can install or update to these packages through NuGet gallery using the NuGet Package Manager Console, like this:
- ... | https://blogs.msdn.microsoft.com/webdev/2014/03/27/announcing-0-2-0-alpha2-preview-of-windows-azure-webjobs-sdk/?replytocom=40564 | CC-MAIN-2018-34 | refinedweb | 1,309 | 64.81 |
01 June 2012 09:51 [Source: ICIS news]
By Ong Sheau Ling
?xml:namespace>
Prices headed south soon after the news of an unplanned cracker shutdown by a major naphtha buyer hit the market on Thursday and naphtha nosedived to its 18-month low.
At 806 GMT, the open-spec naphtha was at $782-809/tonne (€633-655/tonne) CFR (c... | http://www.icis.com/Articles/2012/06/01/9566141/asia-naphtha-at-18-month-low-on-cracker-shutdown-reduced-ops.html | CC-MAIN-2013-48 | refinedweb | 441 | 58.92 |
Tayss wrote: > Ok, now being sober... > > > mike420 at ziplip.com wrote: > >>Why do you need a macro for that? Why don't you just write >> >>def start_window(name) : # 1 >> app = wxPySimpleApp() # 2 >> frame = MainWindow(None, -1, name) # 3 >> frame.Show(True) # 4 >> app.MainLoop() # 5 >> return (app, frame) # 6 > > > ... | https://mail.python.org/pipermail/python-list/2003-October/226545.html | CC-MAIN-2018-05 | refinedweb | 271 | 58.48 |
Scikit-learn for Python is a library for machine learning. It has many algorithms for regression, classification, and clustering, including SVMs, gradient boost, k-means, random forests, and DBSCAN. It is planned to work with Numpy and SciPy in Python.
As a Google Summer of Code (also known as GSoC) project by David Co... | https://www.codegigs.app/free-data-science-course/1581-2/ | CC-MAIN-2022-05 | refinedweb | 716 | 58.99 |
XA datasource with JBM problemPeris Brodsky Aug 19, 2008 10:58 AM
Following the advice in the wiki page:,
I've almost got it working, except for the intended behavior, which I'm not seeing.
What I want is for a server component, when a certain event occurs, to send a message. However, if the transaction that
is active ... | https://developer.jboss.org/thread/129094 | CC-MAIN-2018-30 | refinedweb | 1,316 | 50.53 |
Let's dive straight into the code. As we will see, this
GameObject will have a lot in common with the
GameObject class from the previous project. The most significant difference will be that this latest
GameObject will of course draw itself using a handle to the GL program, primitive (vertex) data from a child class, a... | https://www.oreilly.com/library/view/android-game-programming/9781785280122/ch09s04.html | CC-MAIN-2019-43 | refinedweb | 116 | 61.22 |
Flutter + Source Generation: The birth of a Magical Widget [Part 2]
In the first article, I shared with you my experience as a Flutter developer, and what carried me into creating the magical widget.
And at the end of the article, I showed you the magic that this widget can perform. With just a simple enum definition, ... | https://medium.com/flutter-community/flutter-source-generation-971a4144a2ac?source=rss----86fb29d7cc6a---4 | CC-MAIN-2019-09 | refinedweb | 3,261 | 62.38 |
This patch renames AffineParallelNormalize to AffineLoopNormalize to make it
more generic and be able to hold more loop normalization transformations in
the future for affine.for and affine.parallel ops. Eventually, it could also be
extended to support scf.for and scf.parallel. As a starting point for affine.for,
the p... | https://reviews.llvm.org/D90267 | CC-MAIN-2021-10 | refinedweb | 251 | 67.25 |
Adding Instance Properties
Base Example
There may be data/utilities you’d like to use in many components, but you don’t want to pollute the global scope. In these cases, you can make them available to each Vue instance by defining them on the prototype:
Vue.prototype.$appName = 'My App'
Now
$appName is available on all... | http://semantic-portal.net/vue-cookbook-adding-instance-properties | CC-MAIN-2021-39 | refinedweb | 918 | 58.69 |
Assignment: Read a micro-controller data sheet. Program your board to do something, with as many different programming languages and programming environments as possible. For extra credit experiment with other architectures.
There is often some confusion between these two, which I will try to clarify:
A microprocessor ... | http://fab.academany.org/2018/labs/barcelona/students/nicolo-gnecchi/embedded-programming/ | CC-MAIN-2019-13 | refinedweb | 2,036 | 55.13 |
exit () is used to exit the program as a whole. In other words it returns control to the operating system.
After exit () all memory and temporary storage areas are all flushed out and control goes out of program. In contrast the return statement is used to return from a function and return control to the calling functi... | http://ecomputernotes.com/what-is-c/function-a-pointer/how-does-the-exit-and-return-differ | CC-MAIN-2013-48 | refinedweb | 246 | 60.04 |
Opened 2 years ago
Last modified 1 year ago
At the moment, any test made from t.trial.unittest.TestCase will have a two minute default timeout. This is incorrect. The default timeout for tests should be specified by the runner, not by the Trial API. By default, tests should not timeout.
I'm not sure I agree with:
"By d... | http://twistedmatrix.com/trac/ticket/2675 | crawl-002 | refinedweb | 242 | 67.96 |
| Join
Last post 04-30-2009 4:57 AM by Sandy1234. 80 replies.
Sort Posts:
Oldest to newest
Newest to oldest
I just spent the day figuring out why my ScriptResources.axd file wasn't being rendered and thus causing the "Sys is undefined" message in IE. My problem had to do with inheriting from a custom base class (which ... | http://forums.asp.net/p/1055400/1577471.aspx | crawl-002 | refinedweb | 1,187 | 66.74 |
512Kb SRAM expansion for the Arduino Mega (software)
The final part of this series of blog posts will present some open source software that you can use to exploit the new memory space. You can download the library source code from my downloads page.
The xmem library
I’ve put together a collection of functions into a l... | http://andybrown.me.uk/2011/08/28/512kb-sram-expansion-for-the-arduino-mega-software/ | CC-MAIN-2017-17 | refinedweb | 1,021 | 51.89 |
-27-2014 05:49 AM
Although Debian is a non supported platform for the Xilinx tools, it is a distribution widley used if we count with its derivatives (Ubuntu, et al). After some work I have been able to use Vivado on Debian. Here is what I have done in case somebody is in the same situation
1) Setup bash as default she... | https://forums.xilinx.com/t5/Installation-and-Licensing/Run-Vivado-2013-4-on-Debian/m-p/407359 | CC-MAIN-2017-51 | refinedweb | 934 | 58.69 |
Example
To run the example project, clone the repo, and run
pod install from the Example directory first.
Requirements
Installation
WordWrapLabel is available through CocoaPods. To install
it, simply add the following line to your Podfile:
pod 'WordWrapLabel'
Description
A UILabel subclass that really makes sure that e... | https://tryexcept.com/articles/cocoapod/wordwraplabel | CC-MAIN-2020-24 | refinedweb | 346 | 56.15 |
yet another namedtuple alternative
Project description
Yet another namedtuple alternative for Python
compose.Struct is something like an alternative to namedtuple, attrs and now dataclasses in Python 3.7.
to create a new struct, you simply:
class Foo(compose.Struct): bar = ... baz = 'spam'
This generates a class like t... | https://pypi.org/project/compose-struct/ | CC-MAIN-2019-51 | refinedweb | 1,414 | 58.28 |
Your message dated Thu, 06 Nov 2014 22:45:55 +0200 with message-id <address@hidden> and subject line Re: bug#18961: gud Cannot find bounds of current function, but gdb works has caused the debbugs.gnu.org bug report #18961, regarding gud Cannot find bounds of current function, but gdb works to be marked as done. (If yo... | https://lists.gnu.org/archive/html/emacs-bug-tracker/2014-11/msg00064.html | CC-MAIN-2021-25 | refinedweb | 358 | 62.17 |
Will a Captcha Block Spam?
I:
from django.newforms import ModelForm from aprilandjake.captcha import CaptchaField from aprilandjake.blog.models import EntryComment class EntryCommentForm(ModelForm): class Meta: model = EntryComment exclude = ('active', 'entry') captcha = CaptchaField(label='Captcha', options={'fgcolor'... | https://jaketrent.com/post/will-captcha-block-spam/ | CC-MAIN-2022-40 | refinedweb | 422 | 55.95 |
.
Using C11 and function pointers:
#include <stdio.h>
#include <stdlib.h>
double deriv(double (*f)(double), double x);
double cube(double x);
int main(int argc, char **argv) {
printf("%f\n", deriv(cube, 2));
printf("%f\n", deriv(cube, 3));
printf("%f\n", deriv(cube, 4));
exit(0);
}
double deriv(double (*f)(double), dou... | https://programmingpraxis.com/2017/05/05/calculating-derivatives/ | CC-MAIN-2022-27 | refinedweb | 218 | 70.39 |
I'm concerned about the licensing of cdrkit[1,2] aka debburn, which was recently forked from cdrecord. The current license seems to be GPLv2 + additional restrictions which IMHO is not right because GPLv2 doesn't allow any such additional restrictions. An example from libscg/scsi-linux-ata.c[3]: <skip> *. <skip> /* *. ... | https://lists.debian.org/debian-legal/2006/09/msg00078.html | CC-MAIN-2015-32 | refinedweb | 168 | 65.12 |
Steve Ballmer - Quick chat with Microsoft's CEO
- Posted: Jul 07, 2005 at 4:24 PM
- 306,809 Views
- 176 is not only the head of a $300 billion organization, but is personally worth >$10 billion. Yet he really looks very passionate about what he's doing and the company. Maybe it's just his personality, but I'm astounded... | http://channel9.msdn.com/blogs/scobleizer/steve-ballmer-quick-chat-with-microsofts-ceo | CC-MAIN-2015-18 | refinedweb | 13,540 | 70.94 |
Hello all,
I’m trying to script the -Check command in a python script. I want the output to be written in a temporary text file. I got it to work, then after, it suddenly stopped to work. Here is the code:
import rhinoscriptsyntax as rs
filename = tempfile.mktemp(suffix=".txt")
cmd = “-Check selid " + str(mesh)+ " File... | https://discourse.mcneel.com/t/check-command-to-a-file/71918 | CC-MAIN-2020-29 | refinedweb | 104 | 67.65 |
Android Interface Definition Language (AIDL) and Remote Service
We also mentioned that, for security reasons, each Android application runs in its own process, and cannot normally access the data of another application running in a different process. So mechanisms to cross process boundaries have to go through well-def... | https://dzone.com/articles/android-interface-definition | CC-MAIN-2015-40 | refinedweb | 958 | 57.47 |
std::list::sort
From cppreference.com
Sorts the elements in ascending order. The order of equal elements is preserved. The first version uses operator< to compare the elements, the second version uses the given comparison function
comp.
If an exception is thrown, the order of elements in *this is unspecified.
[edit] Pa... | https://en.cppreference.com/w/cpp/container/list/sort | CC-MAIN-2019-04 | refinedweb | 176 | 54.63 |
A pass through system with input
u and output
y = u.
More...
#include <drake/systems/primitives/pass_through.h>
A pass through system with input
u and output
y = u.
This is mathematically equivalent to a Gain system with its gain equal to one. However this system incurs no computational cost. The input to this system d... | http://drake.mit.edu/doxygen_cxx/classdrake_1_1systems_1_1_pass_through.html | CC-MAIN-2018-43 | refinedweb | 346 | 57.27 |
I was searching for some information on S3 and CloudFront and found this little gem mentioned in a comment on a discussion forum somewhere.
CloudBerry Explorer makes managing files in Amazon S3 storage EASY. By providing a user interface to Amazon S3 accounts, files, and buckets, CloudBerry lets you manage your files o... | http://www.nomadjourney.com/page/2/ | CC-MAIN-2018-30 | refinedweb | 830 | 65.12 |
provides high performance, modularity, and scalability.
Source code, samples and API documentation are provided with the parser.
For portability, care has been taken to make minimal use of templates,
no RTTI, no C++ namespaces and minimal use of #ifdefs.
WWW:
NOTE: FreshPorts displays only information on required and ... | http://www.freshports.org/textproc/xerces-c/ | CC-MAIN-2014-52 | refinedweb | 477 | 58.79 |
I'm about to build a piece of a project that will need to construct and post an XML document to a web service and I'd like to do it in Python, as a means to expand my skills in it.
Unfortunately, whilst I know the XML model fairly well in .NET, I'm uncertain what the pros and cons are of the XML models in Python.
Anyon... | http://www.91r.net/ask/342.html | CC-MAIN-2017-09 | refinedweb | 1,497 | 72.26 |
First, some background. I like Grails - a lot. It dispenses with a lot of the gunk that makes developing web apps in Java so tedious: XML configuration files, repetitive boilerplate code, tag library descriptors. Grails utilizes proven technologies like Spring, Hibernate, and SiteMesh for its core functionality rather ... | http://blog.marktye.com/2009/03/running-grails-unit-tests-in-intellij.html | CC-MAIN-2014-52 | refinedweb | 711 | 62.48 |
public class Course { public int Id { get; set; } public string Name { get; set; } public decimal Price {get; set;} public int Tax1 {get; set;} public int Tax2 {get; set;} public int Tax3 {get; set;} public virtual Tax Tax {get; set;} ?????? } public class Tax { public int Id {get; set;} public string Name {get; set;} ... | https://www.experts-exchange.com/questions/28247504/Model-3-Taxes-to-Item.html | CC-MAIN-2018-13 | refinedweb | 265 | 62.58 |
In statistics, binning is the process of placing numerical values into bins.
The most common form of binning is known as equal-width binning, in which we divide a dataset into k bins of equal width.
A less commonly used form of binning is known as equal-frequency binning, in which we divide a dataset into k bins that a... | https://www.statology.org/equal-frequency-binning-python/ | CC-MAIN-2021-31 | refinedweb | 486 | 69.89 |
[posted and mailed]
(As I mention in the disclaimers just below, I prepared these answers before I had read a draft of the impending C9X standard, so a few of them are dated already.)
* * *
"Killer" C Interview Questions (And a few Easy Ones, too)
Steve Summit Copyright 1997,1998
[DISCLAIMER: This is, on balance, a ver... | http://groups.google.com/group/comp.lang.c/msg/f542bdf51ad05f54 | crawl-002 | refinedweb | 6,744 | 61.36 |
Hey folks. I’ve recently got two 28BYJ-48 5V 4 Phase stepper motors with ULN2003 driver boards. The specs on the motor i’m a little confised about are as follows:
Step angle: 5.625 x 1/64.
Reduction ratio: 1/64.
After looking around on the net I’ve come to the conclusion that it has 64 steps/revolution, which is geared... | https://forum.arduino.cc/t/stepper-motor-basics/159365 | CC-MAIN-2022-21 | refinedweb | 247 | 72.56 |
RFID Log
I am developing an RFID read/writer based on the one in the hardware section here that actuates our garage door. I have a functioning Ethernet gateway, several function nodes and am using Domoticz as a controller. What I would like to do is write to the Domoticz log when a card is scanned. I would like to keep... | https://forum.mysensors.org/topic/6579/rfid-log | CC-MAIN-2020-50 | refinedweb | 272 | 82.65 |
You can subscribe to this list here.
Showing
25
50
100
250
results of 139
Sorry to hear that, Martin... but also happy to hear you have other good things
moving forward!
Our best to you!
Ron
________________________________
From: "changingsong-devel-request@..."
<changingsong-devel-request@...>
To: changingsong-devel@.... | http://sourceforge.net/p/changingsong/mailman/changingsong-devel/ | CC-MAIN-2014-23 | refinedweb | 2,851 | 65.01 |
You can use API keys to restrict access to specific API methods or all methods in an API. This page describes how to restrict API access to those clients that have an API key and also shows how to create an API key.
The Extensible Service Proxy (ESP) uses Service ControlAPI to validate an API key and its association wi... | https://cloud.google.com/endpoints/docs/grpc/restricting-api-access-with-api-keys?hl=en | CC-MAIN-2021-17 | refinedweb | 1,423 | 63.09 |
Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Lift is an advanced, next-generation framework for building highly interactive and intuitive web applications. Lift aims to give you a toolkit that scales with both your needs as a developer and the need... | http://my.safaribooksonline.com/book/-/9781935182801/about-this-book/pref03 | CC-MAIN-2013-20 | refinedweb | 1,234 | 50.16 |
On Wed, 2004-11-17 at 08:09 -0700, Michaeljohn Clement wrote: > Maybe this is a subtle point, but I really /don't/ want to change > history. What I /do/ want to do is to rename a category, and then > re-use the original name. The fact that the archive namespace is > immutable is an aspect of arch which apparently makes... | http://lists.gnu.org/archive/html/gnu-arch-users/2004-11/msg00482.html | CC-MAIN-2016-07 | refinedweb | 187 | 75.5 |
C++ articles, code snippets, musings, etc. from Andy RichIf this is your first time here, you may want to check out my blog introduction.
Hot on the heels of my article on interior pointers, comes a much more insightful one by Stan Lippman on the same issue. That happens sometimes. I enjoyed the chat we had on the VC++... | http://blogs.msdn.com/arich/archive/2004/08/27/221588.aspx | crawl-001 | refinedweb | 687 | 74.08 |
What's been happening to Python since J. Bauer's article in Linux Journal #35? Like most free software, Python is being continually developed and enhanced. At the time of the original article, Python was at version number 1.2, and betas of 1.3 were floating around. Since then, version 1.3 has been officially released, ... | http://www.linuxjournal.com/article/2068?quicktabs_1=2 | CC-MAIN-2013-20 | refinedweb | 1,476 | 55.44 |
i have a to create form some thing like this and display results from database for the values in form
i have created and stored database with table name telephone_records consisting of selectcity,match,phone_no ,name, address.
how to create a form retrieves data from database and display phone-no,name,address in table ... | https://www.sitepoint.com/community/t/how-to-build-a-search-form-in-this-case-and-display-results/17129 | CC-MAIN-2017-09 | refinedweb | 997 | 58.92 |
Bubble sort is one of the first sorting algorithms presented in Computer Science. It's not a very practical sorting algorithm, but it is useful for presenting the concepts of sorting and teaching computer science students to think algorithmically.
If you investigate bubble sort further, you will learn that there have b... | https://www.koderdojo.com/blog/comb-sort-improves-bubble-sort-by-eliminating-turtles | CC-MAIN-2021-39 | refinedweb | 730 | 69.11 |
1 /*2 * @(#)PipedReader.java 1.15 03/12/193 *4 * Copyright 2004 Sun Microsystems, Inc. All rights reserved.5 * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.6 */7 8 package java.io;9 10 11 /**12 * Piped character-input streams.13 *14 * @version 1.15, 03/12/1915 * @author Mark Reinhold16 * @since JDK1.11... | http://kickjava.com/src/java/io/PipedReader.java.htm | CC-MAIN-2017-04 | refinedweb | 1,412 | 64.1 |
A tool to help keep track of tests, specially for you - developer.
Project description
Install
Setting up test assistant for your project is so easy. It’s just 3 step process.
Install django-tests-assistant from pypi:
pip install django-tests-assistant
Give path to the search indexes:
TEST_ASSISTANT_WHOOSH_PATH = "/pat... | https://pypi.org/project/django-tests-assistant/ | CC-MAIN-2018-51 | refinedweb | 126 | 60.61 |
Using Sphinx to document a module using Sage
Hi all
I wrote a module using sage (first line :
from sage.all import *)
My module contains quite a lot of docstrings with doctests that I want to be exported in html.
Following the documentation of Sphinx, I can create the source directory, but
make html does not work :
"No... | https://ask.sagemath.org/question/7996/using-sphinx-to-document-a-module-using-sage/?answer=12187 | CC-MAIN-2018-17 | refinedweb | 194 | 67.49 |
.<script language='javascript' type='text/javascript'> </script>
One possible definition is: A closure is a method whose free variables
have been given values by an enclosing lexical scope. With this
definition, a Java programmer uses closures every day! Let us examine
the following source code:
void test1(int x) { z =... | https://blogs.oracle.com/ohrstrom/entry/using_methodhandles_to_reconci | CC-MAIN-2014-15 | refinedweb | 4,164 | 53.81 |
I have a website that allows the user to upload a file multiple times for processing. At the moment I have a single file input but I want to be able to remember the users choice and show it on the screen.
What I want to know how to do is after a user selects a file I will remember their choice and redisplay the file in... | https://codedump.io/share/KMVA776KFB2f/1/remember-and-repopulate-file-input | CC-MAIN-2018-09 | refinedweb | 2,479 | 59.33 |
Creating Timer Jobs in SharePoint 2010 that Target Specific Services
Summary: Learn how to create a Microsoft SharePoint 2010 timer job that is associated with a particular SharePoint service in SharePoint 2010.
Last modified: October 18, 2011
Applies to: Business Connectivity Services | Open XML | SharePoint Designer ... | https://msdn.microsoft.com/en-us/library/hh528519.aspx | CC-MAIN-2015-32 | refinedweb | 3,606 | 53.81 |
In file included from ../../include/ldb.h:51,
from ../../tests/test_ldb_qsort.c:26:
/usr/include/tevent.h:1440:8: error: unknown type name pid_t
1440 | pid_t *pid,
| ^~~~~
/usr/include/tevent.h:1519:8: error: unknown type name pid_t
-------------------------------------------------------------------
This is an unstable... | https://bugs.gentoo.org/show_bug.cgi?id=714680 | CC-MAIN-2022-27 | refinedweb | 339 | 55.81 |
Presenter First is a pattern often used at Atomic. It allows you to drive your development from the business logic down. We recently tried this approach on our project in Backbone.js using CoffeeScript.
With a few helpers, our presenter tests are simple to write and our models and views are nice and separated. We’ve al... | https://spin.atomicobject.com/2012/01/03/presenter-first-in-backbone-js/ | CC-MAIN-2017-47 | refinedweb | 307 | 61.83 |
Hardware SetupSimply connect a jumper wire from the J1 RPi-Connect header in the upper left corner of the chipKIT Pi. Here I’ve connected the third pin down on the bottom side of the header which is GPIO4 as per the diagram below.
Software SetupIn this application example, when the GPIO4 line is driven HIGH (3.3V) by t... | http://chipkit.net/motor-control-raspberry-pi-chipkit-pi-arduino-motor-control-shield/2/ | CC-MAIN-2017-34 | refinedweb | 578 | 62.38 |
I am having a string template containing $variables which needs to be replaced.
String Template: "hi my name is $name.\nI am $age old. I am $sex"
The solution which i tried verifying does not work in the java program.
Further, I referred to where i could not check if the pattern works for java. But, while going through... | https://codedump.io/share/kVguiHJw8V7C/1/how-to-replace-tokens-in-java-using-regex | CC-MAIN-2017-17 | refinedweb | 278 | 54.79 |
SP). We can read, write and add data to a file and perform some simple operations (format, rename, retrieve information, etc.)
Introducing the SPIFFS (SPI Flash File System)
SPIFFS (for Serial Peripheral Interface Flash File System) is a file system developed by Peter Andersson (project page on GitHub) that can run on ... | https://diyprojects.io/esp32-get-started-spiff-library-read-write-modify-files/ | CC-MAIN-2021-10 | refinedweb | 1,633 | 66.74 |
Cheri -- A Builder Framework
Cheri is a framework for creating builder applications (those that create hierarchical, tree-like, structures). It includes a number of builders based on the framework, as well as a builder-builder tool for easily creating simple builders. Cheri also comes with a demo application, Cheri::JR... | https://www.rubydoc.info/gems/cheri/0.5.0/frames | CC-MAIN-2020-50 | refinedweb | 1,978 | 55.13 |
3 - Data communication - ASP.NET Web Services (ASMX) Petr Vozak — Feb 16, 2009 It is one of the easy ways. All you need to do is to implement a simple web method which will return requested data. Please follow these steps to create and use the web service to get the requested data: 1) Right click on your web project fo... | https://devnet.kentico.com/articles/3---data-communication---asp-net-web-services-(asmx)-1 | CC-MAIN-2018-05 | refinedweb | 388 | 56.76 |
Petscii
Petscii is a tiny PHP library which converts text to PETSCII (PET Standard Code of Information Interchange) format, a character set based on ASCII. It has been used in Commodore Business Machines - the 8-bit home computers like VIC-20, C64, C128, CBM-II, Commodore Plus/4, C16 and C116.
With this package, you ca... | https://bitbucket.org/Commocore/petscii/src | CC-MAIN-2018-30 | refinedweb | 705 | 55.24 |
S/MIME, or Secure/Multipurpose Internet Mail Extensions is the de facto standard for encrypting and signing mail. You can encrypt mail to keep prying eyes off of it. Signing though, is much more common as it addresses the issue of non-repudiation in many organizations, or giving people a way to make sure that the email... | http://krypted.com/2011/06/ | CC-MAIN-2015-48 | refinedweb | 3,221 | 59.03 |
30 September 2012 15:57, Nikodemus Siivola
<nikodemus@...> wrote:
> to return (:SPECIAL :SPECIAL) looks a bit hairier.
Ok, it wasn't that hard after all.
Committing after freeze, unless I find an issue with it.
Cheers,
-- Nikodemus
On 24 September 2012 14:13, Lars Brinkhoff <lars@...> wrote:
> This may be another inst... | https://sourceforge.net/p/sbcl/mailman/sbcl-bugs/?viewmonth=201209&viewday=30 | CC-MAIN-2017-09 | refinedweb | 161 | 64.91 |
For those whom it may concern. I'm trying to determine the status of the PM's Java's counterpart Javajunkies. I started a post in The Coffee Grinder in an attempt to see what level of interest exists out there.
Never been to the site. I do agree that javasoft.com's forums are mostly filled with "write my code for me" k... | http://www.perlmonks.org/index.pl?node_id=326761 | CC-MAIN-2016-30 | refinedweb | 3,197 | 73.17 |
otTcpEndpoint Struct ReferenceAPI > IPv6 Networking > TCP > TCP
This structure represents a TCP endpoint.
#include <
include/openthread/tcp.h>
This structure represents a TCP endpoint.
An TCP endpoint acts an endpoint of TCP connection. It can be used to initiate TCP connections, and, once a TCP connection is establish... | https://docs.silabs.com/openthread/latest/structotTcpEndpoint | CC-MAIN-2022-40 | refinedweb | 102 | 55.03 |
Views: 2354
how to start working in netbeans?
Aliasing means that more than one reference is tied to the same object, as in the preceding example. The problem with aliasing occurs when someonewrites to that object. If the owners of the other references aren’t expecting that object to change, they’ll
mehr pateesa gud ke... | https://vustudents.ning.com/group/cs508modernprogramminglanguages/forum/topics/cs508-assignment-no-04-solution-discussion-spring-2013 | CC-MAIN-2021-49 | refinedweb | 519 | 66.74 |
Some purpose of hosting phishing sites. We reached out to Nic.at several times regarding these issues but Nic.at refused to take action against the malicious domains. In accordance with Spamhaus' SBL Listing Policy we then issued a listing of Nic.at IP space, for providing Spam Support Services. That same day we receiv... | https://www.spamhaus.org/news/article/724/ongoing-abuse-problems-at-nic.at-and-denic | CC-MAIN-2017-13 | refinedweb | 3,945 | 59.19 |
Accessing Session Map in the Domain or Service Layer
The Session Map is available in Grails in the Views, TagLibs and the Controllers. That is, it can be directly accessed by the name “session”. If the Session Map is required to be accessed in the Service Layer or the Domain layer, such a straightforward approach will ... | http://www.tothenew.com/blog/accessing-session-map-in-the-domain-or-service-layer/comment-page-1/ | CC-MAIN-2019-39 | refinedweb | 287 | 65.93 |
iCelHPath Struct Reference
Hierarchical path between two points. More...
#include <tools/celhpf.h>
Inheritance diagram for iCelHPath:
Detailed Description
Hierarchical path between two points.
Definition at line 45 of file celhpf.h.
Member Function Documentation
Get current node.
Render path.
Distance to goal.
Get firs... | http://crystalspace3d.org/cel/docs/online/api/structiCelHPath.html | CC-MAIN-2015-18 | refinedweb | 107 | 55.1 |
News aggregator
Functional Jobs: Software Engineer (Haskell/Clojure) at Capital Match (Full-time)
Overview
CAPITAL MATCH is a leading marketplace lending and invoice financing platform in Singapore. Our in-house platform, mostly developed in Haskell, has in the last year seen more than USD 15 million business loans pro... | http://sequence.complete.org/aggregator?page=5 | CC-MAIN-2017-04 | refinedweb | 14,004 | 60.45 |
Find Maximum & Minimum Element in an Array Using C++
Hello Learners,
In this article, we’ll be learning how to Find the Maximum and Minimum elements of an Array in C++. The array can either be user-defined or by default given in the program. Loops are going to be used in this program but we can also do it in another me... | https://www.codespeedy.com/find-maximum-minimum-element-in-an-array-using-c/ | CC-MAIN-2021-17 | refinedweb | 442 | 59.03 |
11 March 2005 16:56 [Source: ICIS news]
?xml:namespace>
?xml:namespace>
Some of these companies are now taking advantage of the situation by making acquisitions, buying back stock and boosting dividends.
"The
Indeed, a number of US specialty chemical companies with clean balance sheets are stepping up to make cash acqu... | http://www.icis.com/Articles/2005/03/11/659720/analysis-underleveraged-specialty-chem-firms-look-for.html | CC-MAIN-2014-42 | refinedweb | 757 | 53.1 |
§Body parsers
§What is a body parser?
An HTTP PUT or POST request contains a body. This body can use any format, specified in the
Content-Type request header. In Play, a body parser transforms this request body into a Scala value.
However the request body for an HTTP request can be very large and a body parser can’t ju... | https://www.playframework.com/documentation/tr/2.3.x/ScalaBodyParsers | CC-MAIN-2022-33 | refinedweb | 742 | 56.05 |
The ILOM command-line interface (CLI) enables you to use keyboard commands to configure and manage many ILOM features and functions. Any task that you can perform using the ILOM web interface has an equivalent ILOM CLI command.
This chapter includes the following sections:
The ILOM command-line interface (CLI) is based... | https://docs.oracle.com/cd/E19121-01/sf.x4500/820-1188-12/core_ilom_cli.html | CC-MAIN-2019-47 | refinedweb | 608 | 55.84 |
Should programming be a required curriculum in public schools?
[.
Wouldn't work (Score:5, Insightful)
I remember reading something a while back about how certain people's brains are just more geared towards programming and that other people simply won't really "get" it no matter how much you try to force it into their ... | http://slashdot.org/poll/2719 | CC-MAIN-2015-22 | refinedweb | 5,246 | 70.53 |
Distribution.TestSuite
Description
This module defines the detailed test suite interface which makes it possible to expose individual tests to Cabal or other test agents.
Synopsis
- newtype Options = Options [(String, String)]
- lookupOption :: Read r => String -> Options -> r
- class TestOptions t where
- data Test
- ... | http://www.haskell.org/ghc/docs/latest/html/libraries/Cabal-1.14.0/Distribution-TestSuite.html#t:Test | crawl-003 | refinedweb | 870 | 58.58 |
Writing Custom Laravel Artisan Commands
I’ve written console commands in many different languages, including Node.js, Golang, PHP, and straight up bash. In my experience, the Symfony console component is one of the best-built console libraries in existence—in any language.
Laravel’s artisan command line interface (CLI)... | https://laravel-news.com/custom-artisan-commands | CC-MAIN-2019-13 | refinedweb | 1,990 | 53.81 |
C++ Sqaure Class[code]#include <iostream>
#include <cmath>
#include "Square.cc"
class Square
{
private:
int len...
C++ Sqaure Classbump
C++ Sqaure ClassHi, I'm having trouble with this square class. I want to write a C++ class Square whose objects are ...
Prime Numbers (Two dimensional array using pointers)I have start... | http://www.cplusplus.com/user/theoneeyedsnake/ | CC-MAIN-2014-15 | refinedweb | 101 | 76.42 |
This weekend the qualification round of the Facebook Hacker Cup 2013 took place. Below you’ll find the first
Sample Input
5
ABbCcc
Good luck in the Facebook Hacker Cup this year!
Ignore punctuation, please 🙂
Sometimes test cases are hard to make up.
So I just go consult Professor Dalves
Sample Output
Case #1: 152
Case... | https://www.programminglogic.com/facebook-hacker-cup-2013-beautiful-strings-solution/ | CC-MAIN-2020-16 | refinedweb | 229 | 63.02 |
Availability: Tk.
The turtle module provides turtle graphics primitives, in both an object-oriented and procedure-oriented ways. Because it uses Tkinter for the underlying graphics, it needs a version of python installed with Tk support.
The procedural interface uses a pen and a canvas which are automagically created w... | http://docs.python.org/release/2.4.4/lib/module-turtle.html | crawl-003 | refinedweb | 174 | 54.42 |
I just installed Visual Studio 2015 Preview on a Windows 10 tech. preview, the first thing I wanted to try out was C# 6.0.
The are a lot of videos and posts on internet about the new features of C# 6.0. The goal of this post is to test them by myself and share my impressions. I will use this post in the future as a per... | https://softwarejuancarlos.com/2014/11/ | CC-MAIN-2020-05 | refinedweb | 436 | 53.51 |
Does anyone know the differance and what should be used when?
If someone has a 'rule of thumb' I would love to hear it.
James
Does anyone know the differance and what should be used when?
If someone has a 'rule of thumb' I would love to hear it.
James
I don't know - but it may have something to do with the way they're ... | https://cboard.cprogramming.com/cplusplus-programming/9010-differance-between-headers-cpp-files.html | CC-MAIN-2017-47 | refinedweb | 705 | 82.65 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.