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 |
|---|---|---|---|---|---|
Relay Interfacing with PIC Microcontroller
In this project we will interface a Relay with PIC Microcontroller PIC16F877A. Relay is a mechanical device to control high voltage, high current appliances ‘ON’ or ‘OFF’ from lower voltage levels. Relay provides isolation between two voltage levels and it is generally use to ... | https://pic-microcontroller.com/relay-interfacing-with-pic-microcontroller/ | CC-MAIN-2019-18 | refinedweb | 1,087 | 65.52 |
Access Control Lists (ACLs)¶
Normally to create, read and modify containers and objects, you must have the appropriate roles on the project associated with the account, i.e., you must be the owner of the account. However, an owner can grant access to other users by using an Access Control List (ACL).
There are two type... | http://docs.openstack.org/developer/swift/overview_acl.html | CC-MAIN-2017-04 | refinedweb | 1,077 | 53.41 |
IntroductionPlaceHolder enables pages to add custom content to the
<head> section. (Of course, these two ContentPlaceHolders can be modified or removed, and additional ContentPlaceHolder may be added to the master page. Our master page,
Site.master, currently has four ContentPlaceHolder controls.)
The HTML
<head> eleme... | http://www.asp.net/web-forms/tutorials/master-pages/specifying-the-title-meta-tags-and-other-html-headers-in-the-master-page-vb | CC-MAIN-2014-15 | refinedweb | 2,581 | 56.96 |
Request For Commits – Episode #1
Open Source, Then and Now (Part 1)
with Karl Fogel, author of Producing Open Source Software
Nadia Eghbal and Mikeal Rogers kick off Season 1 of Request For Commits with a two part conversation with Karl Fogel — a software developer who has been active in open source since its inception... | https://changelog.com/rfc/1 | CC-MAIN-2020-16 | refinedweb | 13,073 | 61.09 |
java tutorial 8, main & scheduler threads questions
Hi,
Coming back to Tutorial08.html, it says :
< <<<
It is important to understand that it is possible for a thread to be interrupted at any time by another thread. (…) This can lead to some unstable situations. Consider the following class:
public class threadProblem ... | https://cycling74.com/forums/topic/java-tutorial-8-main-scheduler-threads-questions/ | CC-MAIN-2015-35 | refinedweb | 469 | 57.95 |
6.1
31 Unix Domain Sockets
This library is unstable; compatibility will not be maintained. See Unstable: May Change Without Warning for more information.
A boolean value that indicates whether unix domain sockets are available and supported on the current platform. The supported platforms are Linux and Mac OS X; unix d... | http://docs.racket-lang.org/unstable/unix-socket.html | CC-MAIN-2014-42 | refinedweb | 208 | 61.26 |
Eight Tenths Of A Lizard 283
Palin was the first of many like-minded souls to write with this news: "On my weekly check of Mozilla's status, I ran into version .8 of Mozilla, which seems to have been released yesterday. What a nice Valentine's day gift that was. :-)" And Alphix points to the thing itself, and suggests ... | http://tech.slashdot.org/story/01/02/16/0254209/eight-tenths-of-a-lizard | CC-MAIN-2013-20 | refinedweb | 7,096 | 75.2 |
# Python3 program to calculate the
# sum of nodes at the maximum depth
# of a binary tree
# Helper function that allocates a
# new node with the given data and
# None left and right poers.
class newNode:
# Constructor to create a new node
def __init__(self, data):
self.data = data
self.left = None
self.right = None
# ... | https://www.geeksforgeeks.org/sum-of-nodes-at-maximum-depth-of-a-binary-tree-iterative-approach/ | CC-MAIN-2019-30 | refinedweb | 349 | 58.38 |
friendly.
It's been almost a year since I introduced you to Groovy with the article "Feeling Groovy" in the alt.lang.jre series. Since then, Groovy has matured quite a bit through a number of releases that have progressively addressed problems in the language implementation and feature requests from the developer comm... | http://www.ibm.com/developerworks/java/library/j-pg07195.html | crawl-001 | refinedweb | 1,985 | 63.29 |
Understand Genetic Algorithm with overfitting example
Get FREE domain for 1st year and build your brand new site
In this article, we have explored the ideas in Genetic algorithms (like crossover, Simulated Binary Crossover, mutation, fitness and much more) in depth by going though a Genetic algorithm to reduce overfitt... | https://iq.opengenus.org/genetic-algorithm-overfitting/ | CC-MAIN-2021-43 | refinedweb | 2,851 | 54.12 |
User talk:Walter
From OLPC
Please see my talk page on the Sugar Labs wiki.
Request for admin rights...
Hi, I'm Alejandro Sánchez, Asmarin user of this wiki.
I'm system administrator of EL project,, fork of es.wikipedia.
I'm translating most important articles into spanish and sometimes i need to delete bot vandalism an... | http://wiki.laptop.org/go/User_talk:Walter | CC-MAIN-2015-40 | refinedweb | 6,352 | 72.46 |
Basis for the code:
Using a .txt file with names, grades (assignments & tests), and attendance, determine average (then pass/fail), and determine pass/fail based on attendance.
Anything under a 60 = fail.
Attendance under 30=fail.
Here's what I have:
Code:
//This program averages grades and determines pass/fail.
//It a... | http://cboard.cprogramming.com/cplusplus-programming/76297-noob-need-little-help-opening-file-manipulating-data-printable-thread.html | CC-MAIN-2015-48 | refinedweb | 197 | 58.28 |
> A suggestion for the JavaDoc-generated documentation: Use JavaDoc's > "-use" option. It generates cross-reference pages that can be quite > useful. I updated CVS to use that, though the published javadoc hasn't yet been updated. Even though some of the other doclets can't handle that flag, that doesn't seem like a re... | https://lists.gnu.org/archive/html/classpathx-xml/2001-08/msg00002.html | CC-MAIN-2022-21 | refinedweb | 109 | 62.88 |
Hi all, The are two large changes that are coming to the public WebGL implementations fairly soon. They involve enabling mandatory GLSL ES shader validation, and a change to the texImage2D API that takes a DOM object for data. The bad news is that these changes will likely break all existing WebGL content. The good new... | https://www.khronos.org/webgl/public-mailing-list/archives/1007/msg00034.php | CC-MAIN-2015-48 | refinedweb | 469 | 62.27 |
1 /*2 * Copyright 1999-2004 The Apache Software Foundation */17 18 package org.apache.sandesha.samples;19 20 import java.util.HashMap ;21 import java.util.Map ;22 23 /**24 * This is the service that is used for the interop testing. Two operations, ping and echoString25 * are defined as per the interop scenarios.26 *27 ... | http://kickjava.com/src/org/apache/sandesha/samples/RMSampleService.java.htm | CC-MAIN-2017-30 | refinedweb | 147 | 68.57 |
A full event display calendar for the Quasar framework that has multiple viewing formats.
An event display calendar for the Quasar framework.
Formerly known as Quasar Calendar, Daykeep Calendar for Quasar is a Quasar-flavored Vue.js calendar component.
You can see a demo of the calendar components with event data at:
D... | https://xscode.com/stormseed/daykeep-calendar-quasar | CC-MAIN-2021-21 | refinedweb | 928 | 55.95 |
Red Hat Bugzilla – Bug 102501
(ACPI) Yet another ACPI hang at boot
Last modified: 2013-07-02 22:14:52 EDT
Description of problem:
Booting installer with kernel-BOOT-2.4.21-20.1.2024.2.1.nptl.i386.rpm
on Compaq (HP) W8000 Bios 1.18 (will attach sysreport) I receive the following
error (screenshot will be attached for mo... | https://bugzilla.redhat.com/show_bug.cgi?id=102501 | CC-MAIN-2018-22 | refinedweb | 465 | 68.16 |
Can you become an Elden Lord?
Take your first step into the Lands Between, which is a special place where mythical creatures come to live.
Read the Chronicles that reveal the fate of worlds, and then participate in the dungeon quest to accomplish goals, reach goals, and even beat goals!
You’ll have to accept your fate ... | https://haitiliberte.com/advert/elden-ring-activation-skidrow-dlcwith-registration-code-2022-latest/ | CC-MAIN-2022-33 | refinedweb | 2,302 | 59.23 |
Re: wicket menu
Hi, The only difference I see between their page and TestMenu page is !--[if lte IE 7] style type=text/css html .jquerycssmenu{height: 1%;} /*Holly Hack for IE7 and below*/ /style ![endif]-- So, I just added head wicket:head !--[if lte IE 7] style type=text/css html .jquerycssmenu{height: 1%;}
Form Fiel... | https://www.mail-archive.com/search?l=users@wicket.apache.org&q=date:20090922 | CC-MAIN-2021-31 | refinedweb | 1,538 | 64.81 |
Insertion sort is an elementary sorting algorithm that sorts one element at a time. Most humans, when sorting a deck of cards, will use a strategy similar to insertion sort. The algorithm takes an element from the list and places it in the correct location in the list. This process is repeated until there are no more u... | http://www.chegg.com/homework-help/definitions/insertion-sort-3 | CC-MAIN-2016-07 | refinedweb | 529 | 70.63 |
04 August 2011 18:05 [Source: ICIS news]
HOUSTON (ICIS)--Adverse currency movements on the back of the ?xml:namespace>
Huntsman's chief financial officer Kimo Esplin said investors seeking a safe haven bought Swiss francs, thus driving up the value of that currency by 20% vis-a-vis the US dollar and by 10% vis-a-vis th... | http://www.icis.com/Articles/2011/08/04/9482693/huntsman-facing-downside-from-strong-swiss-franc-execs.html | CC-MAIN-2015-22 | refinedweb | 291 | 60.55 |
Issue: Custom Tool – getGlyph() returns None
- RafaŁ Buchner last edited by gferreira
I'm creating some awesome Custom Tool.
I'm trying to use the
self.getGlyph()method inside overridden
becomeActivemethod. When I'm using
getGlyph()in there, it returns
Noneinstead of a fontParts object.
Is there maybe another way to do... | https://forum.robofont.com/topic/509/issue-custom-tool-getglyph-returns-none | CC-MAIN-2020-40 | refinedweb | 295 | 52.05 |
Hello friends, I have written a program which opens up a socket on port 514. This is to accept and save logs from my wireless WAP54G router. I would like to eventually be able to use a buffered reader so I can stream the input into log files locally, but I can't seem to establish a connection. The connection eventually... | http://www.javaprogrammingforums.com/java-networking/8275-creating-serversocket-trying-save-logs-wireless-linksys-router.html | CC-MAIN-2013-20 | refinedweb | 247 | 50.02 |
Simple Presenters
Courtenay : August 23rd, 2007
The Presenter pattern, as my limited monkey-brain can see it, is a way of encapsulating a bunch of logic and display-related code for a database record.
If you want to be truly confused, go check out what the venerable Martin Fowler (who once ignored me in an elevator) ha... | http://web.archive.org/web/20100523060851/http:/blog.caboo.se/articles/2007/8/23/simple-presenters | CC-MAIN-2015-22 | refinedweb | 2,639 | 63.09 |
Developing with Performance in Mind
Developing with Performance in Mind
While testing is important, building your next project while keeping performance in mind makes subsequent testing that much more efficient. developers are faced with building a solution, they focus on "making it work." What they sometimes forget is... | https://dzone.com/articles/developing-with-performance-in-mind | CC-MAIN-2018-22 | refinedweb | 1,371 | 55.34 |
ATEXIT(3) BSD Programmer's Manual ATEXIT(3)
atexit - register a function to be called on exit
#include <stdlib.h> int atexit(void (*function)(void)); al- lowed as long as sufficient memory can be allocated. atexit() is very difficult to use correctly without creating exit(3)-time races. Unless absolutely necessary, ple... | http://mirbsd.mirsolutions.de/htman/sparc/man3/atexit.htm | crawl-003 | refinedweb | 104 | 50.94 |
Details
- Type:
Bug
- Status:
Closed
- Priority:
Major
- Resolution: Fixed
- Affects Version/s: 1.5.5
- Fix Version/s: 1.5.6, 1.6-beta-1
- Component/s: None
- Labels:None
Description
several methods where added named eachLine and splitEachLine. But on InputStream no encoding is given, thus a InputStreamReader created t... | http://jira.codehaus.org/browse/GROOVY-2749 | crawl-003 | refinedweb | 1,626 | 65.22 |
OpenWhisk is an event-driven compute platform also referred to as Serverless computing or as Function as a Service (FaaS) that runs code in response to events or direct invocations. The following figure shows the high-level OpenWhisk architecture.
Examples of events include changes to database records, IoT sensor readi... | https://apache.googlesource.com/openwhisk/+/HEAD/docs/about.md | CC-MAIN-2020-45 | refinedweb | 1,784 | 52.49 |
In the context of the F# language, a module is a grouping of F# code, such as values, types, and function values, in an F# program. Grouping code in modules helps keep related code together and helps avoid name conflicts in your program.
Syntax
// Top-level module declaration. module [accessibility-modifier] [qualified... | https://docs.microsoft.com/en-us/dotnet/articles/fsharp/language-reference/modules | CC-MAIN-2017-22 | refinedweb | 1,022 | 54.12 |
my name is glen lacock
I a student at uop and a writer
My first book has been writing and is on B and N nook.
I here for some help with my code
I have one erro that I can not find
Please any help would be great
glen
/*Programmer: GLen Lacock * Date: 3/22/2011 * Filename: helloworld * Purpose: This program to show hello... | http://www.javaprogrammingforums.com/awt-java-swing/8096-hi-java-swing-errors.html | CC-MAIN-2015-40 | refinedweb | 124 | 50.36 |
Ruby is an open source, general programming language that has been influenced by Perl, Smalltalk, Eiffel, Ada and Lisp. It has an elegant syntax, and is focused on simplicity and productivity. Ruby is easy to learn and works on the principle of ‘writing more with less’.
Programming languages and spoken languages are qu... | http://opensourceforu.com/2016/10/ruby-programming-fundamentals/ | CC-MAIN-2017-09 | refinedweb | 2,401 | 64.51 |
Here is what I have so far
from tkinter import * import random class Histogram: def __init__(self): self.height = 300 self.width = 600 #Create window window = Tk() window.title = ("Histogram") self.canvas = Canvas(window, bg = "white", width = self.width, height = self.height) self.canvas.pack() #Create frame frame = F... | http://www.dreamincode.net/forums/topic/369576-tkinter-drawing-rectangles/ | CC-MAIN-2018-22 | refinedweb | 273 | 63.96 |
Four HTTP Request Body Interfaces
February 19, 2010
Michael Snoyman
Sorry for the long delay since my last post, I've actually been working on a project recently. It should be released last week, but since it's a web application programmed in Haskell, it's given me a chance to do some real-world testing of WAI, wai-ext... | http://www.yesodweb.com/blog/2010/02/request-body-interfaces | CC-MAIN-2013-48 | refinedweb | 1,594 | 63.49 |
New Book Content
September 23, 2011
Michael Snoyman
Joins
As we said in the introduction to this chapter, Persistent is non-relational: it works perfectly well with either SQL or non-SQL, and there is nothing inherent in its design which requires relations. On the other hand, this very chapter gave advice on modeling r... | http://www.yesodweb.com/blog/2011/09/new-book-content | CC-MAIN-2015-27 | refinedweb | 1,943 | 53.71 |
# What's new in C# 10: overview
This article covers the new version of the C# language - C# 10. Compared to C# 9, C# 10 includes a short list of enhancements. Below we described the enhancements and added explanatory code fragments. Let's look at them.
: ''' Logging function fot this strategy''' dt = dt or self.datas[0].datetime.date(0) print('%s, %s' % (dt.isoformat(), txt))
The output:
Starting Portfolio ... | https://community.backtrader.com/topic/2856/have-problem-getting-the-correct-date-format-while-print | CC-MAIN-2020-50 | refinedweb | 285 | 69.28 |
snd_pcm_write()
Transfer PCM data to playback channel
Synopsis:
#include <sys/asoundlib.h> ssize_t snd_pcm_write( snd_pcm_t *handle, const void *buffer, size_t size );
Arguments:
- handle
- The handle for the PCM device, which you must have opened by calling snd_pcm_open() or snd_pcm_open_preferred() .
- buffer
- A poi... | https://developer.blackberry.com/playbook/native/reference/com.qnx.doc.neutrino.audio/topic/libs/snd_pcm_write.html | CC-MAIN-2021-17 | refinedweb | 233 | 67.86 |
XML Attribute Axis Property
Provides access to the value of an attribute for an XElement object or the first element in a collection of XElement objects.
You can use an XML attribute axis property to access the value of an attribute by name from an XElement object or the first element in a collection of XElement object... | http://msdn.microsoft.com/en-us/library/bb384755(v=vs.90).aspx | CC-MAIN-2014-15 | refinedweb | 411 | 50.57 |
In this article we can explore how to configure Email for Development Server. In real world development scenarios you need to work with Email enabled lists / workflows / code.
Scenario
Your customer reported a problem with Email sending from a web part you have developed. You need to ensure the piece of code works fine... | http://www.dotnetspark.com/kb/5669-configuring-email-for-development-server.aspx | CC-MAIN-2018-30 | refinedweb | 650 | 58.79 |
Dear all
I understand that this issue has been discussed for many many times, but I still can not pass through it... I am using parallel studio XE 2011 to build C++ as the main program calling fortran. For testing, my code is simple:
#include
<stdio.h>
#ifdef _cplusplus
extern "C" {
#endif
void _stdcall THERDF(int *par... | https://software.intel.com/en-us/forums/topic/326593 | CC-MAIN-2015-11 | refinedweb | 301 | 54.12 |
RSA_public_encrypt, RSA_private_decrypt - RSA public key
cryptography
libcrypto, -lcrypto
#include <openssl/rsa.h>
int RSA_public_encrypt(int flen, unsigned char *from,
unsigned char *to, RSA *rsa, int padding);
int RSA_private_decrypt(int flen,..
RSA_public_encrypt() returns the size of the encrypted
data (i.e., RSA_s... | https://nixdoc.net/man-pages/NetBSD/man3/RSA_public_encrypt.3.html | CC-MAIN-2022-33 | refinedweb | 119 | 53.27 |
Sometime ago I had been wrestling through the viewstate and blogged on it. On a page with a datagrid the viewstate can be enormous. As the viewstate travels over the wire on every roundtrip this can be quite a problem in a situation where the bandwidth is limited. A lot of data in a datagrid is reread on every roundtri... | http://codebetter.com/blogs/peter.van.ooijen/archive/2004/12/15/37106.aspx | crawl-002 | refinedweb | 352 | 67.35 |
The easiest way to add 2 matrices in python is to loop over them and add the elements one by one. For example,
X = [[1,2,3], [4,5,6], [7,8,9]] Y = [[9,8,7], [6,5,4], [3,2,1]] result = [[0,0,0], [0,0,0], [0,0,0]] for i in range(len(X)): for j in range(len(X[0])): result[i][j] = X[i][j] + Y[i][j] for r in result: print(r... | https://www.tutorialspoint.com/How-to-Add-Two-Matrices-using-Python | CC-MAIN-2022-21 | refinedweb | 140 | 75.74 |
Re: Share .cpp and .h along projects
- From: "Doug Harrison [MVP]" <dsh@xxxxxxxx>
- Date: Mon, 20 Aug 2007 14:52:24 -0500
On Mon, 20 Aug 2007 09:57:14 -0500, "Ben Voigt [C++ MVP]"
<rbv@xxxxxxxxxxxxx> wrote:
"Doug Harrison [MVP]" <dsh@xxxxxxxx> wrote in message
news:nefcc3hh5er85j8hdrklli59i553ve10tu@xxxxxxxxxx
On Fri, ... | http://www.tech-archive.net/Archive/VC/microsoft.public.vc.language/2007-08/msg00691.html | crawl-002 | refinedweb | 1,555 | 59.84 |
A web service in general is a way of exposing the properties and methods through the Internet In other words, it's an URL-addressable resource that programmatically returns information to clients who want to use it. A web service is based on XML standards and has been implemented by different vendors like IBM, Sun Micr... | http://www.c-sharpcorner.com/UploadFile/vijaycinnakonda/WebServicesLangInterOp11082005010152AM/WebServicesLangInterOp.aspx | CC-MAIN-2014-10 | refinedweb | 978 | 55.54 |
mangling of sys.path in setup.py makes installation of more than one lazr package fail
Bug Description
Hi,
setup.py does
sys.path.
from lazr.restfulclient import __version__
however, if there is another lazr module in sys.path this will fail
with an import error, as the lazr package can't be split between
"src" and the... | https://bugs.launchpad.net/lazr.lifecycle/+bug/400170 | CC-MAIN-2015-32 | refinedweb | 369 | 79.36 |
1 package org.apache.turbine.util.pool.services.pool.TurbinePool;20 21 /**22 * A support class for recyclable objects implementing default methods.23 *24 * @author <a HREF="mailto:ilkka.priha@simsoft.fi">Ilkka Priha</a>25 * @version $Id: RecyclableSupport.java,v 1.3.2.2 2004/05/20 03:25:50 seade Exp $26 */27 public cla... | http://kickjava.com/src/org/apache/turbine/util/pool/RecyclableSupport.java.htm | CC-MAIN-2016-50 | refinedweb | 234 | 50.53 |
Introduction to Storybook
An open source tool for developing UI components in isolation for React, Vue, Angular, and more
Update 2018: I cowrote LearnStorybook.com, a free 9 chapter tutorial on getting started with Storybook. Read the announcement »
Storybook is a Component Explorer — a tool for working on a single com... | https://www.chromatic.com/blog/introduction-to-storybook/ | CC-MAIN-2020-45 | refinedweb | 1,098 | 53.92 |
I want to get into physics with CocosSharp. I was about to use CCPhysicsBody in my PCL project, however it's not available in the namespace "CocosSharp".
Checking my NuGet packages (CocosSharp.PCL.Shared), the last package publish date is two years old. Do I miss CCPhysicsBody, because my packages are too old? Why ther... | https://forums.xamarin.com/discussion/comment/308759 | CC-MAIN-2019-04 | refinedweb | 215 | 66.23 |
#include "Object.h" #include "SDL.h" #include <string> using namespace std; SDL_Event event; Uint8 * keystates = SDL_GetKeyState(NULL); int main(int argc, char *args[] ){ bool quit = false; Object play1; while( quit != true ){ if ( keystates[SDLK_LEFT] == SDL_PRESSED) { play1.xvelocity = 5; } else if ( keystates[SDLK_L... | http://www.dreamincode.net/forums/topic/313805-sdl-getkeystates-not-working-correctly/ | CC-MAIN-2017-34 | refinedweb | 107 | 85.79 |
We're Back! Introducing LadyDi!
[This is the first part of a Two-Part introduction : Feature Generation and Feature Selection]
So if you are followers of our blog you will notice that we disappeared for a little over 3 months. Our full-time jobs and contributions to open-source projects take precedence over writing. No... | https://mindfulmachines.io/blog/2016/4/5/were-back-introducing-ladydi | CC-MAIN-2018-39 | refinedweb | 470 | 50.12 |
IShellView::TranslateAccelerator method
Translates keyboard shortcut (accelerator) key strokes when a namespace extension's view has the focus.
Syntax
Parameters
- lpmsg
Type: LPMSG
The address of the message to be translated.
Return value
Type: HRESULT
Returns S_OK if successful, or a COM-defined error value otherwise... | https://msdn.microsoft.com/en-us/library/windows/desktop/bb774842(v=vs.85).aspx | CC-MAIN-2015-18 | refinedweb | 177 | 53.81 |
J 8.0.
Introduces what is new in JScript 8.0.
Provides a collection of links to topics that explain how to write, edit, and debug code with JScript 8.0.
Includes a list of links to topics that explain how to display information from a command program, from ASP.NET, and in a browser.
Comprises a guide to the elements an... | http://msdn.microsoft.com/en-us/library/72bd815a.aspx | crawl-002 | refinedweb | 201 | 56.25 |
Date: Sun, 7 Aug 2022 22:29:13 +0000 (UTC) Message-ID: <1271422363.58165.1659911353364@ip-10-0-0-233.us-west-2.compute.internal> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_58164_1241363467.1659911353354" ------=_Part_58164_1241363467.1659911353354 Content-T... | https://rmanwiki.pixar.com/exportword?pageId=11469091 | CC-MAIN-2022-33 | refinedweb | 354 | 57.47 |
Load image¶
Image processing often works on gray scale images that were stored as PNG files. How do we import / export that file into {{{python}}}?
- Here is a recipy to do this with Matplotlib using the {{{imread}}} function (your image is called {{{lena.png}}}).
from pylab import imread, imshow, gray, mean a = imread... | http://scipy-cookbook.readthedocs.io/items/Matplotlib_LoadImage.html | CC-MAIN-2017-39 | refinedweb | 211 | 53.98 |
Using a PWM Device in Zephyr
Using devices in Zephyr is tricky because there are so many options and settings at first that it’s just not clear from documentation and samples how to do even easy things.
My Simple Example
I have a board based on the Nordic Nrf52840 that uses one pin (Pin 33) to play simple tones on a sp... | https://medium.com/home-wireless/using-a-pwm-device-in-zephyr-7100d089f15c?source=collection_home---4------15----------------------- | CC-MAIN-2022-21 | refinedweb | 1,040 | 54.22 |
Dan's suggestion works a treat. I had to make my property a string but that wasn't an issue. Here's the solution:
public class TopicIndex { public string CreatorUserId { get; set; } public int ItemCategory { get; set; } } var docs = _searchClient.Search<TopicIndex>() .Filter(x => x.ItemCategory.Match(1)) .TermsFacetFor... | https://world.episerver.com/forum/developer-forum/EPiServer-Search/Thread-Container/2016/1/sorting-results-by-quotgroup-byquot-like-function/ | CC-MAIN-2020-16 | refinedweb | 160 | 66.13 |
Bokeh plots with Flask and AJAX
During the weekend, I discovered Bokeh, a Python visualization library for the web. The samples looked nice, so I played around a bit, mostly following the accessible Quick Start guide.
Eventually, I decided to build a small dashboard with Bokeh for an existing Flask application and want... | https://davidhamann.de/2018/02/11/integrate-bokeh-plots-in-flask-ajax/ | CC-MAIN-2018-09 | refinedweb | 1,221 | 64 |
Knowing how to reverse a Python string is basic knowledge you should have as Python developer. This can also apply to other data types.
Python does not provide a built-in function to reverse the characters in a string. To reverse a string in Python you can use the slice operator with the syntax [::-1]. You can also use... | https://codefather.tech/blog/reverse-python-string/ | CC-MAIN-2021-31 | refinedweb | 1,303 | 61.26 |
C# Programming/The .NET Framework/Windows Forms< C Sharp Programming | The .NET Framework
Contents
System.Windows.FormsEditPageor
TabControl) that ultimately resides on the
Form. When automatically created in Visual Studio, it is usually subclassed as
Form1.
- Button - a clickable button
- TextBox - a singleline or mul... | https://en.m.wikibooks.org/wiki/C_Sharp_Programming/The_.NET_Framework/Windows_Forms | CC-MAIN-2016-18 | refinedweb | 624 | 52.15 |
Teemo
Teemo is a dart library which provides an intuitive interface to the League of Legends LCU API
Installing Teemo
Teemo is hosted on pub.dev, which means you can get it with Flutter's built in
pub add command.
$ flutter pub add teemo
This will add a line to your pubspec.yaml:
dependencies: teemo: ^0.2.4
Note: 0.2.4... | https://pub.dev/documentation/teemo/latest/index.html | CC-MAIN-2022-33 | refinedweb | 591 | 58.18 |
WZL x GCX x IOTA — Status Report 02
Data(-base) specification and data preparation
Co-Authors: Semjon Becker and Felix Mönckemeyer
Previous Stories
- Part 0: Overview of the Industrial IOTA Lab Aachen
- Part 1: WZL x GCX x IOTA — Status Report 01: About data acquisition and first transactions
Retrospective
This PoC is ... | https://medium.com/industrial-iota-lab-aachen-wzl-of-rwth-aachen/wzl-x-gcx-x-iota-status-report-02-8f79357757a2 | CC-MAIN-2018-34 | refinedweb | 1,400 | 53.81 |
Forecasting the market or the outcome of a gamble is important. Deciding how much to invest or bet based on how confident you are about the prediction is similarly as important. But don’t let the pressure get to you; the Kelly criterion is here to help us make this decision.
Betting with the Kelly criterion
Imagine you... | https://quantdare.com/kelly-criterion/ | CC-MAIN-2019-18 | refinedweb | 1,538 | 62.68 |
I've done this before, I even tore code out of a previous project that I know to work, but for some reason, it does not.. I get:
NullReferenceException: Object reference not set to an instance of an object
Regardless of what I've tried.
void Update ()
{
if (Input.GetKey (KeyCode.Mouse1) && Time.time > fireRate)
{
fireR... | https://answers.unity.com/questions/945915/instantiate-prefab-as-child-wont-work-dont-know-wh.html | CC-MAIN-2019-51 | refinedweb | 327 | 55.44 |
refer the link, it explan u and difference
Hi,
Here you can get the nice article
Although there are differences between Visual Basic .NET and Visual C# .NET, both are first-class programming languages that are based on the Microsoft .NET Framework, and they are equally powerful., the differences between Visual Basic .N... | http://www.eggheadcafe.com/community/csharp/2/10038670/diffrence.aspx | crawl-003 | refinedweb | 456 | 51.85 |
Results 1 to 8 of 8
Hi all, I'm reading about linux networking architecture. Now I want to test some kernel APIs in manipulating socket buffers so I write a very small program to test the ...
Test Kernel API
I'm reading about linux networking architecture. Now I want to test some kernel APIs in manipulating socket buff... | http://www.linuxforums.org/forum/kernel/59837-test-kernel-api.html | CC-MAIN-2014-15 | refinedweb | 688 | 62.64 |
This current version of this document is available in the file doc/developers/HACKING.txt in the source tree, or at
See also: Bazaar Developer Documentation Catalog.
Before making changes, it's a good idea to explore the work already done by others. Perhaps the new feature or improvement you're looking for is available... | http://doc.bazaar.canonical.com/bzr.1.12/en/developer-guide/HACKING.html | CC-MAIN-2018-05 | refinedweb | 4,884 | 63.49 |
For developers whose skills and experience centre around Windows or Web-based development, building an iPhone app can seem like a daunting proposition involving learning new libraries, languages and tools, and buying new hardware. However, for a large class of apps, it is possible to take advantage of your existing kno... | http://www.codeproject.com/Articles/579532/Building-an-iPhone-App-using-jQuery-Mobile | CC-MAIN-2014-35 | refinedweb | 3,871 | 57.1 |
Is there a function in any of the standard libraries that does this, or do I have ot create my own?
Printable View
Is there a function in any of the standard libraries that does this, or do I have ot create my own?
You mean take a null terminated array of characters that contains the textual representation of a floatin... | http://cboard.cprogramming.com/cplusplus-programming/27867-char-array-float-printable-thread.html | CC-MAIN-2015-06 | refinedweb | 289 | 84.17 |
Holy cow, I wrote a book!
The answer depends on which "hard drive almost full"
warning you're talking about.
Note that these boundaries are merely the current implementation
(up until Windows 7).
Future versions of Windows reserve the right to change the thresholds.
The information provided is for entertainment purpose... | http://blogs.msdn.com/b/oldnewthing/archive/2010/11.aspx?PageIndex=2 | CC-MAIN-2015-27 | refinedweb | 2,101 | 53.61 |
detach
Percentile
Detach Objects from the Search Path
Detach a database, i.e., remove it from the
search()
path of available R objects. Usually this is either a
data.frame which has been
attached or a
package which was attached by
library.
Usage
detach(name, pos = 2L, unload = FALSE, character.only = FALSE, force = FAL... | https://www.rdocumentation.org/packages/base/versions/3.5.1/topics/detach | CC-MAIN-2018-51 | refinedweb | 296 | 51.04 |
You can subscribe to this list here.
Showing
1
results of 1
Hi Scott,
Please excuse the delay in replying... I'm not sure *how* easy it is =
relative to EmbPerl, but it's definitely possible in Spyce as well, and =
it's not very difficult. Do something like this. (Warning: I'm just =
typing this in, and it's not tested... | http://sourceforge.net/p/spyce/mailman/spyce-users/?viewmonth=200302&viewday=13 | CC-MAIN-2015-40 | refinedweb | 423 | 62.38 |
Created on 2012-02-28 04:01 by Rich.Rauenzahn, last changed 2015-09-28 03:30 by terry.reedy. This issue is now closed.
Using 64bit python for windows downloaded from python.org on 64bit windows 7.
Python Version 3.2.2
Tk version 8.5
IDLE version 3.2.2
When stepping through code the corresponding line in the editor does... | https://bugs.python.org/issue14146 | CC-MAIN-2018-13 | refinedweb | 1,924 | 78.25 |
Via a blogentry by Jimmy Nilsson I ended up on a plea for dropping the 'I' from interface names by Ingo Lundberg. Interesting read and reasoning, I'd say.
In a way you can say, prefixing type names is a form of hungarian coding. But, is that really bad? I'm leaning towards 'no, that's not bad at all'. I agree with Jimm... | http://weblogs.asp.net/fbouma/archive/2005/06/23.aspx | crawl-002 | refinedweb | 816 | 60.85 |
I a trying to setup a a linux router for the first time and i am struggling with the setup.
Here how i want to setup it up: ISP line -> Linux router -> Linksys router -> Lan.
Linux router has eth0 and eth1
How do i setup this and where do i put my external ip?
Many thanks,
Having just such a setup at home, I think I kn... | http://serverfault.com/questions/133405/linux-router-setup/133414#133414 | crawl-003 | refinedweb | 936 | 74.59 |
import "github.com/klauspost/password"
Dictionary Password Validation for Go
For usage and examples see: (or open the README.md)
This library will help you import a password dictionary and will allow you to validate new/changed passwords against the dictionary.
You are able to use your own database and password diction... | https://godoc.org/github.com/klauspost/password | CC-MAIN-2017-22 | refinedweb | 816 | 52.56 |
People who want to see 4-space indentation on Unix may have no choice
but to mix spaces and tabs -- most editors' auto-indent mode optimizes
8 spaces into a tab.
My recommendation is to always use tabs on the Mac -- then it will
look good on the Mac and at least parse correctly everywhere.
For the same reason I recomme... | http://www.python.org/search/hypermail/python-1994q2/0205.html | crawl-002 | refinedweb | 209 | 63.29 |
> Do you really mean to calculate the 'sin . sqrt' of just the head of the list, or do you mean: > calculateSeq = map (sin . sqrt) ? Argh.. of course not! That's what you get when you code in the middle of a night. But in my code I will not be able to use map because elements will be processed in pairs, so let's say th... | http://www.haskell.org/pipermail/haskell-cafe/2012-November/104555.html | CC-MAIN-2014-35 | refinedweb | 608 | 78.25 |
Interfacing C code with Cython
As Cython code compiles down to C code, it is relatively straightforward to utilize also Cython for interfacing with C.
In order to use C functions and variables from the library, one must provide
external declarations for them in the Cython .pyx file. While normal
cdef
declarations refer... | https://www.futurelearn.com/courses/python-in-hpc/0/steps/65131 | CC-MAIN-2020-16 | refinedweb | 500 | 57.27 |
Opened 6 years ago
Closed 6 years ago
#17540 closed Uncategorized (invalid)
Errors in 1.3 Writing your first Django app part 1 and 2 Ubuntu 11.10
Description
I recently tried to work through your tutorial for Django 1.3 on Ubuntu 11.10. The first error I found was in part 1 where the new app was added to installed apps... | https://code.djangoproject.com/ticket/17540 | CC-MAIN-2017-43 | refinedweb | 290 | 58.99 |
eea.app.visualization 7.8
- Dependencies
- Live demo
- Source code
- Links
- Funding
- Changelog
- 7.8 - (2013-10-24)
- 7.7 - (2013-09-19)
- 7.6 - (2013-09-10)
- 7.5 - (2013-06-17)
- 7.4 - (2013-05-20)
- 7.3 - (2013-04-17)
- 7.2 - (2013-03-18)
- 7.1 - (2013-03-15)
- 7.0 - (2013-02-25)
- 6.5 - (2013-02-04)
- 6.4 - (2013... | https://pypi.python.org/pypi/eea.app.visualization/7.8 | CC-MAIN-2014-15 | refinedweb | 1,011 | 58.58 |
IOASID was introduced in v5.5 as a generic kernel allocator service for both PCIe Process Address Space ID (PASID) and ARM SMMU's Sub Stream ID. In addition to basic ID allocation, ioasid_set was introduced as a token that is shared by a group of IOASIDs. This set token can be used for permission checking but lack of s... | https://www.mail-archive.com/iommu@lists.linux-foundation.org/msg38498.html | CC-MAIN-2020-16 | refinedweb | 814 | 56.96 |
Episerver Commerce includes an extensive, system-wide search engine. You can make any information available to the search engine, even if that information is not in the Episerver Commerce database. Some systems, such as Catalog and Orders, have additional search features.
How it works
Episerver Commerce has its own plu... | http://world.episerver.com/documentation/developer-guides/commerce/search/ | CC-MAIN-2017-17 | refinedweb | 793 | 50.63 |
Learning to Use the GraalVM
Learning to Use the GraalVM
The GraalVM is a handy virtual machine that supports multiple languages and enables native images for better performance.
Join the DZone community and get the full member experience.Join For Free it's executables (native images) or share libraries for Java program... | https://dzone.com/articles/learning-to-use-the-graalvm | CC-MAIN-2019-47 | refinedweb | 932 | 60.95 |
1.5 Introducing Classes
The only remaining feature we need to understand before solving our bookstore problem is how to write a data structure to represent our transaction data. In C++ we define our own data structure by defining a class. The class mechanism is one of the most important features in C++. In fact, a prim... | http://www.informit.com/articles/article.aspx?p=384462&seqNum=5 | CC-MAIN-2018-43 | refinedweb | 1,757 | 70.43 |
Update (2017, July 24): Links and/or samples in this post might be outdated. The latest version of samples is available on new Stanford.NLP.NET site.
One more tool from Stanford NLP product line became available on NuGet today. It is the second library that was recompiled and published to the NuGet. The first one was t... | https://sergeytihon.com/2013/07/12/stanford-named-entity-recognizer-ner-is-available-on-nuget/ | CC-MAIN-2021-31 | refinedweb | 739 | 58.79 |
iText is a .NET library for creating and manipulating PDF’s. It was originally written in Java but it was also ported to .NET. The book, “iText in Actionâ€, has examples in Java only which will only be useful if a .NET developer knows this language. C# examples can be found at iText.NET site. The code needs to be s... | http://www.cyprich.com/blog/2011/08/16/hello-world-example-in-itext/ | CC-MAIN-2021-49 | refinedweb | 362 | 69.99 |
.
Got my RSVP for the event:
The location kind of sucks since I work downtown and life on 1st avenue but I will have to manage with the bus.
".NET implementation of the ALICE chatterbot using the AIML specification ...snip.... Put simply, this software will allow you to chat with your computer using natural language.".... | http://weblogs.asp.net/rchartier/archive/2006/01.aspx | crawl-002 | refinedweb | 1,161 | 65.52 |
Contents. There is documentation for the IDLE debugger at.:
>>> list(zip([1, 2, 3], [4, 5, 6])) [(1, 4), (2, 5), (3, 6)]
or to compute a number of sines:
>>> list() and the format() methods on string objects. Use regular expressions only when you’re not dealing with constant string patterns..)
In the unlikely case that... | http://docs.python.org/release/3.1.3/faq/programming.html | CC-MAIN-2013-48 | refinedweb | 405 | 77.33 |
Back in February I blogged about a strange case we had seen where a customer was having trouble seeing certain ASP.NET performance counters when using WMI to access them. If you start Perfmon with the /WMI switch then Perfmon uses WMI rather than the native performance counter APIs to read the data. This is the same me... | https://blogs.msdn.microsoft.com/dougste/2009/07/23/more-on-the-mysterious-case-of-accessing-net-performance-counters-using-wmi/ | CC-MAIN-2019-13 | refinedweb | 563 | 71.04 |
Hi,
Our application requires the push-down sql from named/dynamic query be the same each
time a same JPQL is executed. In the following JPQL example,
query="UPDATE BasicA t set t.name= ?1, t.age = ?2 WHERE t.id = ?3"
we observe two different push-down sql could be generated:
(1) UPDATE PDQBasicA t0 SET name = ?, age = ... | http://mail-archives.apache.org/mod_mbox/openjpa-dev/200805.mbox/%3C127214.17357.qm@web55803.mail.re3.yahoo.com%3E | CC-MAIN-2015-48 | refinedweb | 158 | 52.36 |
This is light-hearted contribtion was written for and performed at the May 2000 W3C AC meeting dinner. At the time a debate had been raging at which one of the questions at stake was whether an XML namespace should be considered a web resource.
Up to Design Issues
In his book
Goedel, Escher, Bach, the computer scientis... | http://www.w3.org/DesignIssues/NamespacesAreResources.html | crawl-001 | refinedweb | 757 | 82.44 |
note sundialsvc4 <p> It is my understanding that the names should agree because Perl looks for module-files by matching the file name. It reads whatever it finds, of course <em>expecting</em> that the desired package-name will be defined thereby. </p><p> However, the formal purpose of the <tt>package</tt> directive is ... | http://www.perlmonks.org/index.pl?displaytype=xml;node_id=1015011 | CC-MAIN-2017-04 | refinedweb | 144 | 60.95 |
Context switches are not free. But how expensive are they? I wrote a small program to find out, and I’m sharing the program and its results here.
I focused on purely context switches (no work is actually performed between context switches). So it’s not a real-world scenario, but it really brings out the hidden costs. B... | https://blogs.msdn.microsoft.com/andrewarnottms/2012/12/28/the-cost-of-context-switches/ | CC-MAIN-2016-44 | refinedweb | 667 | 61.22 |
In my introductory article, I went over the basics of the Ember.js framework, and the foundational concepts for building an Ember application. In this follow-up article, we'll dive deeper into specific areas of the framework to understand how many of the features work together to abstract the complexities of single-pag... | http://code.tutsplus.com/tutorials/getting-into-ember-js-part-2--net-31132 | CC-MAIN-2015-32 | refinedweb | 2,562 | 54.42 |
<ac:macro ac:<ac:plain-text-body><![CDATA[
Framework: Zend_Auth_Adapter_Cas Component Proposal
Table of Contents
1. Overview
2. References
.
3. Component Requirements, Constraints, and Acceptance Criteria
- This component will implement Zend_Auth_Adapter_Interface.
- This component will authenticate CAS ticket against... | http://framework.zend.com/wiki/display/ZFPROP/Zend_Auth_Adapter_Cas+-+Jeremy+Postlethwaite?focusedCommentId=15565284 | CC-MAIN-2014-41 | refinedweb | 2,528 | 56.35 |
import substitution
Definition
Use import substitution in a sentence
“ You may want to make an import substitution if you think that it will help you earn more money later. ”
Was this Helpful? YES NO 7 people found this helpful.
“ The import substitution idea was an excellent one that proved to be effective because con... | http://www.investorwords.com/16474/import_substitution.html | CC-MAIN-2018-30 | refinedweb | 109 | 60.41 |
SOA Patterns - Reservation
When you use transactions in “traditional” n-tier systems life is relatively simple. For instance, when you run a transaction and an error or fault occurs you abort the transaction and easily rollback any changes – getting back your system-wide consistency and peace of mind. The reasons this ... | http://www.drdobbs.com/windows/soa-patterns-reservation/228701670 | CC-MAIN-2015-18 | refinedweb | 3,199 | 53 |
Board index » Asm
All times are UTC
I'm quite shaky with assembly language and have to code a bubble sort procedure. Any help would be appreciated. Schlotto 12/3/96 5:45 PM
as you know in bubble sort after each pass you can be sure that the greatest item is in the end of the array here you have a proc that sort i assum... | http://computer-programming-forum.com/45-asm/3c7b769033ac9c17.htm | CC-MAIN-2021-04 | refinedweb | 313 | 73.78 |
logb, logbf, logbl — get exponent of a floating-point value
Synopsis
#include <math.h>
double logb(double x);
float logbf(float x);
long double logbl(long double x);
Link with -lm.
Feature Test Macro Requirements for glibc (see feature_test_macros(7)):
logb():
_ISOC99_SOURCE || _POSIX_C_SOURCE >= 200112L
|| _XOPEN_SOUR... | https://dashdash.io/3/logbf | CC-MAIN-2021-43 | refinedweb | 155 | 61.22 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.