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 |
|---|---|---|---|---|---|
Kaggle is hosting a contest where the task is to predict survival rates of people aboard the titanic. A train set is given with a label 1 or 0, denoting ‘survived’ or ‘died’. We are going to use Vowpal Wabbit to get a score of about 0.79426 AUC (top 10%).
The contest
In this Kaggle contest, they ask you to complete the... | http://mlwave.com/tutorial-titanic-machine-learning-from-distaster/ | CC-MAIN-2017-09 | refinedweb | 834 | 60.72 |
In the past 12 months, Microsoft has released major versions of Visual Studio (Team System), SQL Server, Windows, SharePoint, and Office. Any one of these products alone would provide enough new features and development possibilities to keep me writing into next year (both code and articles!). Clearly it is a monumenta... | http://www.devx.com/MicrosoftISV/Link/34499 | crawl-001 | refinedweb | 1,996 | 54.32 |
Posting a video on tumblr.com allows you to just paste the URL of the video on youtube, vimeo, whatever and tumblr automatically does the embedding for you.
I assume that this would ...
Greetings all,
I am trying to download 'gz' file using URL class .Code snippet is as:
URL url = new URL("");
InputStream conn = new GZ... | http://www.java2s.com/Questions_And_Answers/Java-Network/url/stream.htm | CC-MAIN-2013-20 | refinedweb | 351 | 69.58 |
Firebase Authentication in Flutter - Production Patterns. This tutorial will cover the implementation and architecture for Firebase Authentication. We use Firebase Authentication in production to keep my code maintainable and easy to manage. We cover the basic login and sign up functionality.
Today we'll be going over ... | https://morioh.com/p/95a0edfaf41d | CC-MAIN-2020-10 | refinedweb | 2,973 | 50.53 |
Understanding routing in you application is the key to creating a single page application. Routing is what allows view navigation in your application like ‘detail views’, end user bookmarking and even allows you to set up a ‘logged in’ version of your applications views.
Routing isn’t included by default in Angular 2, ... | https://www.arroyolabs.com/2016/10/angular-2-routing/ | CC-MAIN-2019-30 | refinedweb | 452 | 62.07 |
Using Typescript with Javascript React.JS is a straightforward process. It allows for you to use type checking with your code which comes in handy when cutting down on errors, having a clear definition for state and props and documentation. In this tutorial, we’ll go over using Typescript with Stateful React Components... | https://codebrains.io/stateful-react-components-with-typescript/ | CC-MAIN-2021-10 | refinedweb | 449 | 58.38 |
Swift version: 5.1
A so-called “fair” random number generator is one that generates each of its possible values in equal amounts and with an even distribution. For example, if you were generating numbers between 1 and 4, you might get 4, 2, 1, 3, but you would never get 4 4 1 4.
GameplayKit has support for fair random ... | https://www.hackingwithswift.com/example-code/games/how-to-generate-fair-random-numbers-using-gkshuffleddistribution | CC-MAIN-2019-47 | refinedweb | 180 | 51.58 |
sphinx-all man page
sphinx-all — Sphinx documentation generator system manual
Introduction
This PDF file using LaTeX, rinohtype or rst2pdf (see
See the pertinent section in the FAQ list.
Prerequisites
See tutorial for an introduction. It also contains links to more advanced sections in this manual for the topics it dis... | https://www.mankier.com/1/sphinx-all | CC-MAIN-2019-09 | refinedweb | 31,663 | 51.65 |
Closed Bug 577899 Opened 11 years ago Closed 10 years ago
Provide NS
_DEBUG _ONLY
Categories
(Core :: MFBT, defect)
Tracking
()
People
(Reporter: timeless, Assigned: cjones)
References
(Blocks 1 open bug)
Details
(Keywords: dev-doc-complete)
Attachments
(4 files, 2 obsolete files)
there are a number of warnings which w... | https://bugzilla.mozilla.org/show_bug.cgi?id=577899 | CC-MAIN-2021-21 | refinedweb | 3,079 | 62.78 |
¤ Home » Programming » C Tutorial » Control Statements in C
For executing a group of statements repetitively, C provides three types of loop constructs, viz. for, while, and do-while. These classes of statements are also referred as control statements.
Let us understand each of these:
... <statement 1> while(<expressio... | http://www.how2lab.com/programming/c/control-statements.php | CC-MAIN-2018-47 | refinedweb | 2,112 | 61.56 |
Semantic MediaWiki
Overview[edit | edit source]
Currently this is only a collection of links with question that were recorded while tomaschwutz was looking at this topic in 2012. See also the Semantic MediaWiki category.
Big pictures[edit | edit source]
- What is it all about?
- What is it good for?
- Why is agreeing o... | https://en.wikiversity.org/wiki/Semantic_MediaWiki | CC-MAIN-2020-45 | refinedweb | 573 | 50.73 |
Hi there,
I am not quite understanding why the program described at Question11-1 from (Page 169) is working - I am expecting it not to work. Might somebody please explain why.
The result should 0 after masking after masking the bits in the line 'if ((flags & DIRECT_CONNECT) != 0)', right?
--- output of program ---
% ./... | https://cboard.cprogramming.com/cplusplus-programming/75345-understand-masking-bits.html | CC-MAIN-2017-22 | refinedweb | 124 | 63.29 |
Now that you understand the types of interactions that occur on LinkedIn, in this guide we'll take a look at how these are accessible through the targets provided.
Targets and namespaces
Each interaction received from LinkedIn has a large number of attributes you can use in your analysis.
Targets are how interaction at... | http://dev.datasift.com/docs/products/pylon-lei/howto/developer-guide/understanding-linkedin-data-model | CC-MAIN-2017-26 | refinedweb | 628 | 54.93 |
XML::LibXML::Namespace - XML::LibXML Namespace Implementation
use XML::LibXML; # Only methods specific to Namespace nodes are listed here, # see XML::LibXML::Node manpage for other methods my $ns = XML::LibXML::Namespace->new($nsURI); print $ns->nodeName(); print $ns->name(); $localname = $ns->getLocalName(); print $ns... | http://search.cpan.org/~shlomif/XML-LibXML-2.0113/lib/XML/LibXML/Namespace.pod | CC-MAIN-2017-04 | refinedweb | 302 | 55.64 |
In this blog post I’ll take a look at a real-world application of WebAssembly (WASM), the re-implementation of D3 force layout. The end result is a drop-in replacement for the D3 APIs, compiled to WASM using AssemblyScript (TypeScript).
In my previous post on WASM I explored various different techniques for rendering M... | https://blog.scottlogic.com/2017/10/30/migrating-d3-force-layout-to-webassembly.html | CC-MAIN-2019-04 | refinedweb | 2,059 | 57.27 |
View Complete Post
This article discusses the Project Linker tool and other techniques to create applications that target both WPF and Silverlight from a single code base.
Erwin van der Valk
MSDN Magazine August 2009
The CLR team takes a look inside the System.Globalization namespace to explain how to handle data form... | http://www.dotnetspark.com/links/1704-clr-inside-out-memory-usage-auditing-for.aspx | CC-MAIN-2018-05 | refinedweb | 365 | 65.52 |
I was recently re-evaluating our back-up procedures and discovered and found a nasty bug with the arcpy’s ListFeatureClasses request. If you have a feature class in a feature dataset with the same name, ListFeatureClasses may not find it or anything else in that feature dataset.
Unfortunately, we recently made our dail... | http://milesgis.com/category/programming/arcobjects/ | CC-MAIN-2017-51 | refinedweb | 318 | 59.94 |
Hi everyone,
I'm a bit of a beginner to programming and was wondering whether anyone could help me with this snippet of some code I've been working on. I want it to play with a large array but at the moment, the program worked fine for smaller values of the num_nodes variable but is crashing completely at the creationg... | http://channel9.msdn.com/Forums/TechOff/70804-Newbie-quite-possibly-problem-with-C | CC-MAIN-2015-06 | refinedweb | 554 | 68.36 |
This section details how to go about using the dynamic features of Groovy such as implementing the GroovyObject interface and using ExpandoMetaClass, an expandable MetaClass that allows adding of methods, properties and constructors.
GroovyObject
ExpandoMetaClass
Compile-time metaprogramming is also available using Com... | http://docs.codehaus.org/plugins/viewsource/viewpagesrc.action?pageId=209322003 | CC-MAIN-2014-42 | refinedweb | 154 | 53.1 |
UPDATE Feb 2, 2017: Also checkout the blog post of @Christoph Kraemer which introduces ReduxModel as an alternative (see my comment at the bottom for my own experiences with Redux vs MobX)
Short Summary
This blog post is about using the state management library MobX together with UI5 to manage state in complex UI5 appl... | https://blogs.sap.com/2017/01/30/advanced-state-management-in-sapui5-via-mobx/ | CC-MAIN-2017-47 | refinedweb | 6,475 | 53.61 |
12 November 2010 06:47 [Source: ICIS news]
SINGAPORE (ICIS)--Japanese producer Sumitomo Chemical Co plans to shutdown its 90,000 tonne/year No. 3 methyl methacrylate (MMA) line on ?xml:namespace>
The turnaround would take six to seven weeks and the line would be restarted in the middle of April 2011, he added.
Meanwhil... | http://www.icis.com/Articles/2010/11/12/9409711/sumitomo-chemical-plans-mma-turnaround-skips-spot-mtbe-buying.html | CC-MAIN-2013-48 | refinedweb | 174 | 71.85 |
I was trying to get the size of the multidimensional array and wrote code in c as shown below.
#include <stdio.h>
char b[3][4];
int main(void){
printf("Size of array b[3]=%d\n", sizeof(b[3]));
printf("Size of array b[2]=%d\n", sizeof(b[2]));
printf("Size of array b[5]=%d\n", sizeof(b[5]));
return 0;
}
b is a 2D charact... | https://codedump.io/share/Gv2ipq4bsDFO/1/size-of-multi-dimentional-array | CC-MAIN-2019-04 | refinedweb | 175 | 80.92 |
A Java Program To Find Duplicate Values In an Array
In this post, we are going to write a program to find the duplicate values in an array.
Suppose an array is holding these values {1,4,5,3,1,8,7,5,7}
This program will print all the duplicates value of this array, those values are 1,5,7
Java program to get factorial of... | https://www.codespeedy.com/a-java-program-to-find-duplicate-values-in-a-array/ | CC-MAIN-2019-47 | refinedweb | 222 | 63.9 |
Hi,
I’m using the getPageCount() function. It returns ‘2’ despite the document has only one page.
That makes problem when I want to save document to PDF, in the result file there is additional empty page. Is there any workaround fot this problem?
I’m attaching problematic document.
Thanks.
Hi,
Hi
<?xml:namespace prefix... | https://forum.aspose.com/t/document-getpagecount-returns-wrong-value/66775 | CC-MAIN-2021-21 | refinedweb | 381 | 67.86 |
Sitecore pipelines are great. With them you can relatively easily add and remove functionality as you wish. Pipelines like httpRequestBegin, httpRequestProcessed and mvc.beginRequest are also really useful if you need some logic to run on a page load that shouldn’t really be part of a rendering. This could be anything ... | https://himynameistim.com/2017/05/03/pipelines-remember-the-big-picture/ | CC-MAIN-2019-47 | refinedweb | 257 | 50.94 |
.
We were intrigued by this approach. As we've blogged about before, we're really only interested in coding approaches that can be shared with other people. This functional approach would allow us to lower the barrier to adopting a given mixin. As much as we like the Composable class discussed in that earlier post, usi... | https://component.kitchen/blog/posts/implementing-web-component-mixins-as-functions | CC-MAIN-2017-43 | refinedweb | 497 | 54.93 |
Earlier this month, a Recurrent Neural Network with Keras
SimpleRNN in Tensorflow.
In this post we’ll use Keras and Tensorflow to create a simple RNN, and train and test it on the MNIST dataset. Here are the steps we’ll go through:
- Creating a Simple Recurrent Neural Network with Keras
- Importing the Right Modules
- ... | https://pythonalgos.com/build-a-simple-recurrent-neural-network-with-keras/ | CC-MAIN-2022-27 | refinedweb | 956 | 63.29 |
A Service Mesh for Kubernetes (Part 4): CD via Traffic Shifting
A Service Mesh for Kubernetes (Part 4): CD via Traffic Shifting
See how to use linkerd’s routing rules, called dtabs, to automatically alter traffic flow through your app at the end of a CI/CD pipeline.
Join the DZone community and get the full member expe... | https://dzone.com/articles/a-service-mesh-for-kubernetes-part-4-cd-via-traffic-shifting?fromrel=true | CC-MAIN-2019-18 | refinedweb | 2,909 | 57.2 |
On Mon, Mar 20, 2006 at 04:15:26PM +0100, Stefan Tibus wrote:
> Hmm...ok, but it's quite unusual and not even consistent. Why can I
> access a file which the listing says does not exist? To be consistent,
> if "1" is named "sel" then "wmiir read /..../1" should fail. But it
> is very useful to be able to access all are... | http://lists.suckless.org/wmii/0603/0850.html | CC-MAIN-2019-26 | refinedweb | 244 | 81.33 |
Note: Development of Ruby support ended with NetBeans IDE 6.9. However, the NetBeans Ruby community is strongly encouraged to take on development of NetBeans IDE Ruby and Rails support. See the NetBeans Ruby Community Wiki for information.
Contributed by Brian Leonard, maintained by Chris Kutler
June 2009 [Revision num... | http://netbeans.org/kb/69/ruby/rapid-ruby-weblog.html | crawl-003 | refinedweb | 1,040 | 67.04 |
Easy way to calculate d-prime with Python.
In signal detection theory d-prime index is used as sensitivity index, a higher index indicates that the signal can be more readily detected.
d-prime=0 is considered as pure guessing.
d-prime=1 is considered as good measure of signal sensitivity/detectability.
d-prime=2 is con... | https://bratus.net/knowledgebase/d-prime-with-python/ | CC-MAIN-2022-05 | refinedweb | 250 | 66.84 |
SDL_PushEvent (3) - Linux Man Pages
SDL_PushEvent: Pushes an event onto the event queue
NAMESDL_PushEvent - Pushes an event onto the event queue
SYNOPSIS
#include "SDL.h"
int SDL_PushEvent(SDL_Event *event);
DESCRIPTION
The event queue can actually be used as a two way communication channel. Not only can events be read... | https://www.systutorials.com/docs/linux/man/3-SDL_PushEvent/ | CC-MAIN-2021-17 | refinedweb | 117 | 63.59 |
from __future__ import ... hack
2007-09-19Patrik Simons
Re: from __future__ import ... hack
Neil Schemenauer
> I really wanted to use with statements in the .ptl files. Since > "from __future__ import with_statement" didn't work, I did this: I think this patch does the right thing. I'll test it for a while. If other pe... | http://mail.mems-exchange.org/durusmail/quixote-users/5732/ | crawl-001 | refinedweb | 171 | 63.25 |
IoU implementation in Keras
What is IoU?
IoU or Intersection over Union is a metric used to evaluate the accuracy of any trained model for a particular dataset. It is one of the common evaluation metrics used for semantic image segmentation. IoU is typically used for CNN object detectors which are basically algorithms ... | https://valueml.com/iou-implementation-in-keras/ | CC-MAIN-2021-25 | refinedweb | 859 | 51.85 |
As a part of my academic project I need to parse a bunch of arbitrary sentences into a dependency graph. After a searching a lot I got the solution that I can use Malt Parser for parsing text with its pre trained grammer.
I have downloaded pre-trained model (engmalt.linear-1.7.mco) from. BUt I don't know how to parse m... | https://codedump.io/share/gNQdBcnwnQnc/1/how-to-use-malt-parser-in-python-nltk | CC-MAIN-2018-09 | refinedweb | 527 | 51.24 |
I have 3 files and want to print lines that are a combination of the same line from each file. The files can have any number of lines. How can I iterate over three files in parallel?
protocol.txt
http
ftp
sftp
yahoo
gmail
23
45
56
Protocol 'http' for website 'facebook' with port '23'
Protocol 'ftp' for website 'yahoo' ... | https://codedump.io/share/KmVWOcwiuVoI/1/how-to-pick-each-line-from-3-files-in-parllel-and-print-in-single-line-using-python | CC-MAIN-2017-09 | refinedweb | 304 | 73.68 |
Hi!On Thu, Feb 20, 2003 at 10:30:37PM +0100, Oliver Graf wrote:> The problem: a multi device usb card reader is correctly detected with> its four subdevices with kernel 2.4.19(-acX). But any patch after this> fails to detect the subdevices.> > Verbose output with 2.4.19-ac4 shows:> usb-storage: GetMaxLUN command result... | https://lkml.org/lkml/2003/2/26/28 | CC-MAIN-2017-22 | refinedweb | 468 | 50.53 |
Back to index
A 2 dimensional vector class, used as a helper class for implementing turtle graphics. May be useful for turtle graphics programs also. Derived from tuple, so a vector is a tuple! Provides (for a, b vectors, k number): a+b vector addition a-b vector subtraction a*b inner product k*a and a*k multiplication... | https://sourcecodebrowser.com/python3.2/3.2.2/classturtle_1_1_vec2_d.html | CC-MAIN-2017-51 | refinedweb | 109 | 57.57 |
Board index » C Language
All times are UTC
I suggest you #define NOP to zero and use that instead.
However, note that in both cases the compiler may generate a warning such as "warning: statement with no effect".
Ian Collier
> > while(ready_to_go() != TRUE) > > NULL; /* wait until ready */
> Ugh! Don't we already have ... | http://computer-programming-forum.com/47-c-language/b6d035425c91db73.htm | CC-MAIN-2018-47 | refinedweb | 2,284 | 72.56 |
.Net framework is new platform for developers. It is a set of technologies which enables a robust and secure platform for developer so that they can build stunning & secure applications.
It gives a language neutral platform so that developer should not be worried for his/her favorite language. If you knows C++, Java, V... | http://www.codinghub.net/2011/11/tutorial-what-is-net-framework.html | CC-MAIN-2015-06 | refinedweb | 321 | 60.01 |
import "go.dedis.ch/kyber/group/edwards25519"
Package edwards25519 provides an optimized Go implementation of a Twisted Edwards curve that is isomorphic to Curve25519. For details see:.
This code is based on Adam Langley's Go port of the public domain, "ref10" implementation of the ed25519 signing scheme in C from SUPE... | https://godoc.org/go.dedis.ch/kyber/group/edwards25519 | CC-MAIN-2020-40 | refinedweb | 524 | 51.95 |
5.10. Networks with Parallel Concatenations (GoogLeNet)¶
During the ImageNet Challenge in 2014, a new architecture emerged that outperformed the rest. Szegedy et al., 2014 proposed a structure that combined the strengths of the NiN and repeated blocks paradigms. At its heart was the rather pragmatic answer to the quest... | http://gluon.ai/chapter_convolutional-neural-networks/googlenet.html | CC-MAIN-2019-04 | refinedweb | 896 | 69.48 |
Calling C++ code from C simply requires a connecting interface. As part of
that interface you pass around the this pointer, which in the C code is
usually a void* (though I guess you could typedef for different classes).
The C api mimics the class api with the first argument to each function
being "this".
extern "C"
{
... | http://mail-archives.eu.apache.org/mod_mbox/logging-log4cxx-user/200405.mbox/%3C014301c444d3$5d88a140$a300000a@wirefu%3E | CC-MAIN-2019-35 | refinedweb | 471 | 64.91 |
This article assumes that you are familiar with what is in the following list (or have read Part 1 of this series on Salt in the December 2014 edition of Open Source For You).
- Installing SaltStack
- Setting up master and minion
- Establishing a relationship between master and minion
In this column, we will look at ho... | http://opensourceforu.com/2015/04/use-salt-for-basic-configuration-management/ | CC-MAIN-2017-26 | refinedweb | 1,428 | 65.83 |
Created on 2008-04-04 14:43 by jerome.chabod, last changed 2008-06-23 15:23 by draghuram.
shutil generate a NameError (WindowsError) exception when moving a
directory from an ext3 to a fat32 under linux
To reproduce it:
under linux, current path on an ext3 filesytem, try to enter following
commands:
mkdir toto #on an e... | http://bugs.python.org/issue2549 | crawl-002 | refinedweb | 180 | 64.2 |
In “Using Angular2 in Clojurescript” I showed how to get ClojureScript to run an Angular2 template. Basic hotswapping worked, but state was lost on each load. Tweaking the original demo allows for figwheel to swap in the template without losing client state.
Here is a demo of hotswapping with state preservation:
In thi... | http://colabug.com/861374.html | CC-MAIN-2017-47 | refinedweb | 300 | 57.06 |
Details
- Type:
New Feature
- Status: Closed
- Priority:
Major
- Resolution: Fixed
- Affects Version/s: M4
-
- Component/s: C++ Broker, C++ Client
- Labels:None
- Environment:
Windows XP+
Description
The recently added SSL support in the C++ side should be available to Windows as well. Not yet sure how much architectur... | https://issues.apache.org/jira/browse/QPID-1403 | CC-MAIN-2016-50 | refinedweb | 679 | 60.14 |
Web Server Controls
Web server controls provide a higher level of abstraction than HTML server controls because their object model matches closely with the .NET Framework, rather than matching with the requirements of HTML syntax. In the HTML source for your page, Web server controls are represented as XML tags rather ... | https://www.informit.com/articles/article.aspx?p=101590&seqNum=3 | CC-MAIN-2021-39 | refinedweb | 2,824 | 54.22 |
2013 Oklahoma Men's Basketball NCAA Tournament Guide
The official source of information for the 2012-13 OU men's basketball team's postseason, beginning in Philadelphia.
Game 32 | OU vs. SAN DIEGO STATE | Friday, March 22, 2013 | 8:20 p.m. CT | Philadelphia, Pa. | Wells Fargo Center (20,000) | TBS Mike Houck, Director ... | http://issuu.com/soonersports.com/docs/2013_mbb_postseason_guide?mode=window | CC-MAIN-2015-06 | refinedweb | 74,236 | 89.18 |
grid = planar square grid
neighborhood = 8 cells adjacent to a cell either orthogonally or diagonally
generation = all cells with fewer than 2 or more than 3 neighbors die, while a cell is born in each empty node with exactly 3 neighbors.
These simple rules generate amazingly complex, chaotic behavior, but balanced in ... | http://everything2.com/title/game+of+life | CC-MAIN-2016-40 | refinedweb | 3,195 | 69.11 |
So a few weeks ago I found out about the Stanford CS106a classes that you could find on youtube, and since then I have been occasionally working on Karel programs when I get the chance. For the past few days though Ive been working on programming actual java. I've done a few things so far, mainly just math related code... | http://www.javaprogrammingforums.com/%20loops-control-statements/2510-need-some-general-specific-advice-printingthethread.html | CC-MAIN-2016-26 | refinedweb | 616 | 57.91 |
In their book, Design Patterns, Elements of Reusable Object-Oriented Software, Gamma, Helm, Johnson and Vlissides describe a design pattern called State. The State pattern allows an object to change its behaviour when its internal state changes.
For example, suppose we have a Button class with a (public) member functio... | https://accu.org/index.php/journals/528 | CC-MAIN-2020-16 | refinedweb | 1,030 | 51.28 |
I am trying to add a feature into my app where it can take a UIView and then post that UIView onto a stream that anyone who has the app can see. Any advice or help would be great and I hope this helps future viewers.
Try using the Firebase API. Firebase is a backend that is simple to work with and will allow you to cre... | https://codedump.io/share/q2sbWeHGxRN6/1/how-can-all-users-post-uiviews-to-a-single-stream-while-connected-to-internet-in-swift | CC-MAIN-2017-13 | refinedweb | 354 | 55.64 |
Issues
Show Unassigned
Show All
Search
Lost your login?
Roundup docs
Created on 2008-09-03.14:54:49 by htgoebel, last changed 2009-10-19.19:33:07 by pje.
setuptools 0.6c10 is released with a fix for this issue.
The recursion in the log attached to this case here is occurring during entry
point resolution; specifically,... | http://bugs.python.org/setuptools/issue40 | crawl-003 | refinedweb | 652 | 57.67 |
I'de have to disagree with that argument, Joe. I think Andrew did the work
for core plugins, and there should be no published external plugins using
the new 3.0 plugin structure yet, right?
Are we intending to not break compatibility with some hypothetical external
plugin dev who used a pre-release tool, yet isn't will... | http://mail-archives.apache.org/mod_mbox/cordova-dev/201307.mbox/%3CCAEeF2TfvViTFe83c+duHBr0m6Q529RJ6WOdFhX2eLu2b=VkdTA@mail.gmail.com%3E | CC-MAIN-2018-43 | refinedweb | 657 | 74.79 |
indent [options] [input-files] indent [options] [single-input-file] [-o output-file] indent --version
Misc. Reference Manual Pages INDENT(1L) NAME indent - changes the appearance of a C program by inserting or deleting whitespace. SYNOPSIS indent [options] [input-files] indent [options] [single-input-file] [-o output-f... | https://docs.oracle.com/cd/E36784_01/html/E36870/indent-1.html | CC-MAIN-2019-30 | refinedweb | 1,548 | 67.65 |
shmget - get shared memory segment
#include <sys/shm.h> int shmget(key_t key, size_t size, int shmflg);
The shmget() function returns is initialised will be initialised with all zero values.
Upon successful completion, shmget() returns a non-negative integer, namely a shared memory identifier; otherwise, it returns -1 ... | http://pubs.opengroup.org/onlinepubs/007908775/xsh/shmget.html | CC-MAIN-2015-32 | refinedweb | 154 | 53.61 |
Simple melody with buzzer
Now it’s time to make some noise🎶.
In this tutorial, you’ll work with a new component - buzzer. You'll make it play a scale. Besides, you will adjust LED brightness with PWM signal. Let’s figure it out together.
Learning goals
- Clarify the working principle of the PWM signal.
- Know two diff... | https://docs.madmachine.io/tutorials/swiftio-circuit-playgrounds/modules/buzzer | CC-MAIN-2022-21 | refinedweb | 2,496 | 68.36 |
Chatlog 2012-01-11
From RDF Working Group Wiki
Revision as of 17:20, 11 January 2012 by Commonscribe (Talk | contribs)
See panel, original RRSAgent log or preview nicely formatted version.
Please justify/explain non-obvious edits to this page, in your "edit summary" text.
15:54:04 <RRSAgent> RRSAgent has joined #rdf-wg... | http://www.w3.org/2011/rdf-wg/wiki/index.php?title=Chatlog_2012-01-11&oldid=1695 | CC-MAIN-2015-35 | refinedweb | 4,941 | 50.54 |
We will see how to extract text from PDF and all Microsoft Office files.
Generating OCR for PDF:
The quick way to get/extract text from PDFs in Python is with the Python library "slate". Slate is a Python package that simplifies the process of extracting text.
Installation:
$ pip install slate $ pip install pdfminer
Us... | https://micropyramid.com/blog/extract-data-from-pdf-and-all-microsoft-office-files-in-python/ | CC-MAIN-2021-17 | refinedweb | 142 | 77.33 |
Update (01/2014): correction of the schematics and picture update to comply to the current setup (not necessary final but at least more reliable than the previous version).
This instructable follows my previous one ()
Now we have a good understanding of what is sent by the remote, we can make our own.
Like the previous... | https://www.instructables.com/id/An-air-conditioner-remote-replacement/ | CC-MAIN-2019-43 | refinedweb | 3,571 | 65.05 |
Functions are great! You need them for everything. If you want to use code more than once, just write a function containing this code block. This makes your code easily readable, well structured, reusable and easy to share!
In the previous tutorial on working with external code, we have already seen some built-in funct... | https://fullstackembedded.com/tutorials/the-magic-of-functions/ | CC-MAIN-2018-47 | refinedweb | 2,401 | 61.67 |
Opened 14 years ago
Closed 8 years ago
#2915 enhancement closed fixed (21)
comment:1 Changed 13 years ago by
comment:2 Changed 13 years ago by
It's definitely a poor description.
I think it's meant to refer to
t.python._releases.getNextVersion (pasted below), which quite clearly doesn't support patch numbers.
How did ... | https://twistedmatrix.com/trac/ticket/2915 | CC-MAIN-2021-31 | refinedweb | 670 | 68.06 |
Difference between revisions of "Weapon script"
Revision as of 14:54, 23 March 2018
Contents
- 1 Standard keys
- 2 Console/Controller Mode-Specific Variables (New with Half-Life 2: Episode Two / Source 2007)
- 3 Ammunition
- 4 SoundData
- 5 TextureData
- 6 Flags
- 7 Parsing new keys
- 8 Encryption
While it is perfectly... | https://developer.valvesoftware.com/w/index.php?title=Weapon_script&diff=prev&oldid=212465 | CC-MAIN-2019-35 | refinedweb | 2,292 | 57.16 |
Python & C# – Background
Let’s clear the air. Using Python and C# together isn’t anything new. If you’ve used one of these languages and at least heard of the other, then you’ve probably heard of IronPython. IronPython lets you use both C# and Python together. Pretty legit. If you haven’t tried it out yet, hopefully yo... | http://devleader.ca/2013/09/23/visual-studio-c-python-sweet/ | CC-MAIN-2018-09 | refinedweb | 2,225 | 74.49 |
Given a number n, find LCM of its digits.
Examples:
Input : 397 Output : 63 LCM of 3, 9 and 7 is 63. Input : 244 Output : 4 LCM of 2, 4 and 4 is 4.
We traverse the digits of number one by one below loop
digit = n mod 10;
n = n / 10;
While traversing digits, we keep track of current LCM and keep updating LCM by finding ... | https://www.geeksforgeeks.org/lcm-digits-given-number/ | CC-MAIN-2018-13 | refinedweb | 216 | 74.08 |
ESP32 Course Example: Module 4, Unit 2, ESP32 Web Server – Control Outputs:
The ESP32 works fine for a few minutes, but when I come back to the ESP32 Web Server several minutes later, it doesn’t respond on the webpage I used to connect with.
Do you have any suggestions as to why this is occurring?
Are you going to add ... | https://rntlab.com/question/esp32-drops-connection/ | CC-MAIN-2021-25 | refinedweb | 1,022 | 72.26 |
Defines sets and intervals to work with time, and provides arithmetic operations for them. Uses Cython extensions for performance.
Project description
PyTimeSet
Library that defines time intervals and sets and offers typical operations between them using Cython for speed.
Installation
Requirements: Python 3.6+
To insta... | https://pypi.org/project/pytimeset/ | CC-MAIN-2022-27 | refinedweb | 377 | 64.61 |
Hello, All!I'm trying to turn on a relay, count a specific number of pulses on a digital input, then turn the relay off. I can't find a way to count the pulses in Cayenne. Any ideas?
-Jason
Hello,I also didn't know how to do it with Cayenne, but you can write your code and use Cayenne only for monitoring the number of ... | http://community.mydevices.com/t/pulse-counter-on-standard-digital-input-pin/2562 | CC-MAIN-2017-39 | refinedweb | 504 | 76.11 |
This article extends my discussion of advanced programming, but strays into an area that is not exclusively object oriented. What we are interested in for this installment is ways of writing programs that are declarative rather than imperative. In many cases, simply notating facts is more concise and less error prone t... | http://www.linuxdevcenter.com/lpt/a/4041 | CC-MAIN-2015-14 | refinedweb | 1,740 | 54.32 |
Odoo Help
Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
What's the context?
Several questions about context in OpenERP:
- What is it ?
- How to define it and what is active_id regarding... | https://www.odoo.com/forum/help-1/question/what-s-the-context-2236 | CC-MAIN-2018-47 | refinedweb | 800 | 53.17 |
Regex: How to turn more words in the line as if they were seen in the mirror?
- Hellena Crainicu last edited by
very long Regex, hard to work…
but there are many simple solutions in Python, just run it with any IDLE. For example:
def revwordSentence(Sentence): return ' '.join(word[::-1] for word in Sentence.split(" "))... | https://community.notepad-plus-plus.org/topic/22054/regex-how-to-turn-more-words-in-the-line-as-if-they-were-seen-in-the-mirror/12 | CC-MAIN-2021-49 | refinedweb | 3,496 | 80.21 |
Overview
Atlassian SourceTree is a free Git and Mercurial client for Windows.
Atlassian SourceTree is a free Git and Mercurial client for Mac.
Intensional (rule-defined) sets for Python.
Overview
There are two ways of defining a set: intensional and extensional. Extensional sets like set([1,3,5,'daisy']) enumerate ever... | https://bitbucket.org/jeunice/intensional | CC-MAIN-2016-07 | refinedweb | 1,225 | 58.58 |
As of Bokeh
0.11.1 there is no way to have the actual superscript. Support for LaTeX labels is a long-standing feature request, but some recent other work may have helped pave the way for finally adding it in the near future.
In the mean time, you could create your own custom
TickFormatter. This is a fairly advanced te... | https://codedump.io/share/6SW8PjwrCwf7/1/formatting-log-axis-labels-with-proper-superscripts-in-bokeh | CC-MAIN-2017-17 | refinedweb | 216 | 51.75 |
Dear Community.
I am trying to install Google Analytics according to the guide:
- First I did step 1 - 5 of this guide:
- Then I followed the Quasar framework guide.
Question 1
I’m not sure what to fill in the sessionId. Do I have to use the user ID that is logged into my cordova app?
Question 2
Nothing is recorded i... | https://forum.quasar-framework.org/topic/818/trying-to-install-google-analytics-very-confused/? | CC-MAIN-2022-21 | refinedweb | 1,082 | 60.01 |
Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
5 years, 2 months ago.
how to end python rpc properly
I am using Python mbed-rpc library as
from mbedpcr import * myled = DigitalOut(mbed, 'myled') mbed = Se... | https://os.mbed.com/questions/5000/how-to-end-python-rpc-properly/ | CC-MAIN-2020-05 | refinedweb | 101 | 76.72 |
Data types are declarations for variables. It specifies the type and size of data that a variable can store. Each data type requires different amounts of memory and has some specific operations which can be performed over it.
There are the following data types in C
- Basic Data Type
- Derived Data Type
- Enumeration Da... | https://www.programbr.com/c-programming/data-types-in-c/ | CC-MAIN-2022-27 | refinedweb | 388 | 61.46 |
Hey, Scripting Guy! We recently implemented a scheme whereby Team Leads or Contract Sponsors may request server access for their Team members by submitting an Excel spreadsheet. To this end, I proposed a script that will open Outlook, look for items in the Inbox that contain a particular Subject line (we will pick the ... | https://blogs.technet.microsoft.com/heyscriptingguy/2008/06/24/hey-scripting-guy-how-can-i-open-and-close-outlook-attachments/ | CC-MAIN-2018-13 | refinedweb | 2,502 | 62.48 |
I've only taken a semester of java, so I only know the basics here. I wrote this without guidance from my teacher, so I have a few questions about whether or not some of the stuff will work. Basically, what this program is supposed to do is take the text output of another program that lists duplicate files in a directo... | http://www.javaprogrammingforums.com/%20java-theory-questions/4483-few-questions-printingthethread.html | CC-MAIN-2015-48 | refinedweb | 848 | 51.55 |
Many, perhaps most, of the early commercial applications developed on the J2ME platform were games. With all the obvious interest in gaming - and the many device-specific gaming extensions developed by different handset vendors - it was no surprise to anyone that the Java Community Process group responsible for definin... | http://developers.sun.com/mobility/midp/ttips/gamecanvas/index.html | crawl-001 | refinedweb | 1,050 | 54.73 |
Opened 3 years ago
Last modified 8 months ago
I'd really like Trac to be able to handle Markdown formatted text. There is a python implementation of Markdown available here.
Thanks!
I would love to see this. It would make such a difference to working with non-technical wiki authors.
I'd really dig this, too
Very very e... | http://trac-hacks.org/ticket/353 | crawl-002 | refinedweb | 546 | 67.55 |
Answered by:
I screwed up my Application.Current.Properties now I am dead in the water
Question
- User253269 posted
I was playing around with adding stuff as a property and I added in a custom object that the serializer is choking on:
"The deserializer has no knowledge of any type that maps to this contract...."
Proble... | https://social.msdn.microsoft.com/Forums/en-US/c92bdee6-d1f4-4dd8-8e00-430144b0d092/i-screwed-up-my-applicationcurrentproperties-now-i-am-dead-in-the-water?forum=xamarinforms | CC-MAIN-2021-43 | refinedweb | 456 | 60.04 |
Actions Panel
Scott Dunn|Nashville|In-Person|Certified ScrumMaster|CSM |November 5-6,2022
Weekend In-Person Training! 2 days with EVERYTHING you need to get your Scrum team up and sprinting!
When and where
Date and time
Location
Hilton Garden Inn Mt. Juliet 1975 Providence Parkway Mt. Juliet, TN 37122
Map and direction... | https://www.eventbrite.com/e/scott-dunnnashvillein-personcertified-scrummastercsm-november-5-62022-tickets-400027883167?aff=R9CSMPage | CC-MAIN-2022-40 | refinedweb | 986 | 52.29 |
#include <stdlib.h> /* In SunOS 4 */
/* In glibc or FreeBSD libcompat */
/* In SCO OpenServer */
/* In Solaris watchmalloc.so.1 */
This function should never be used. Use free(3) instead. Starting with version 2.26, it has been removed from glibc.
In glibc, the function
cfree() is a synonym for free(3), "added for
comp... | https://manpages.courier-mta.org/htmlman3/cfree.3.html | CC-MAIN-2021-21 | refinedweb | 110 | 62.24 |
In yesterdays post I stated that the compiler checks the databindings on an asp.net webform. Fabrice stated that this is not the case. As usual the truth is a little more complicated. In this post I will take a closer look at the way data-bindings on asp.net webform work.
Let's take a very simple web-form. It has a lab... | http://codebetter.com/blogs/peter.van.ooijen/archive/2003/10/14/2562.aspx | crawl-002 | refinedweb | 759 | 67.45 |
A few months have passed since I last wrote anything about poobrains' development and I think it's about time I told you what I was up to since then. It's been a lot, so this is probably going to be a semi-long post, even without going into too much depth.
The SVG system has seen the addition of maps and continued work... | http://phryk.net/article/poobrains-devlog-6/ | CC-MAIN-2019-22 | refinedweb | 526 | 58.52 |
24 November 2010 14:32 [Source: ICIS news]
BERLIN (ICIS)--Demand for aromatics in ?xml:namespace>
Speaking at the 9th European Aromatics and Derivatives Conference, she said that demand for derivatives including polystyrene (PS), acrylonitrile-butadiene-styrene (ABS), phenol and purified terephthalic acid (PTA) will co... | http://www.icis.com/Articles/2010/11/24/9413601/china-demand-for-aromatics-will-continue-to-grow-engineer.html | CC-MAIN-2015-11 | refinedweb | 230 | 56.86 |
#include <rtt/DataPort.hpp>
Inherits RTT::DataPortBase<T>.
Use connection() to access the data object. If the port is not connected, connection() returns null.
Definition at line 219 of file DataPort.hpp.
Construct an unconnected Port to a writable DataObject.
Definition at line 234 of file DataPort.hpp.
Connect to ano... | http://people.mech.kuleuven.be/~orocos/pub/stable/documentation/rtt/v1.8.x/api/html/classRTT_1_1WriteDataPort.html | crawl-003 | refinedweb | 187 | 62.54 |
How do I pattern match arrays in Scala?
My method definition looks as follows
def processLine(tokens: Array[String]) = tokens match { // ...
Suppose I wish to know whether the second string is blank
case "" == tokens(1) => println("empty")
Does not compile. How do I go about doing this?
Answers
If you want to pattern m... | http://www.brokencontrollers.com/faq/21445290.shtml | CC-MAIN-2019-26 | refinedweb | 375 | 56.49 |
Part 1: An Introduction to Software Design Patterns and Threading
For the past couple of months I have been required to undertake a games design project at University. One of the things that came out of this project is Phobos - an extensible engine built with JavaFX. Now, with the blessing of my course leader, I'm plea... | https://www.dreamincode.net/forums/topic/345784-phobos-a-javafx-games-engine-part-1-intro-to-threading-and-dp/ | CC-MAIN-2020-05 | refinedweb | 1,819 | 64.91 |
If you’ve started work on a new ASP.NET 5, MVC 6 application you may have noticed that Sessions don’t quite work the way they did before. Here’s how to get up and running the new way.
UPDATE: 2016-07-23 - ASP.NET Core 1.0
Sessions have changed again for ASP.NET Core 1.0 RTM. This post is still super useful for anyone m... | https://benjii.me/2015/07/using-sessions-and-httpcontext-in-aspnet5-and-mvc6/ | CC-MAIN-2018-09 | refinedweb | 912 | 51.04 |
Copyright © 2001 W3C® (MIT, INRIA, Keio), All Rights Reserved. W3C liability, trademark, document use, and software licensing rules the result of joint work by the XSL and XML Query www-xpath-comments@w3.org (archived at).
XPath For Expressions
2.9 Conditional Expressions
2.10 Quantified Expressions
2.11 Datatypes
2.11... | http://www.w3.org/TR/2001/WD-xpath20-20011220/ | CC-MAIN-2021-39 | refinedweb | 2,002 | 57.37 |
The Java Applet Viewer
The Java Applet Viewer
Applet viewer is a command line program to run
Java applets... executes that code and displays the output.. So for running the
applet,
The Java Applet Viewer
The Java Applet Viewer
Applet viewer is a command line program to run
Java applets... the Java applet.
We can use o... | http://www.roseindia.net/tutorialhelp/comment/97374 | CC-MAIN-2014-10 | refinedweb | 2,104 | 55.95 |
i'm creating a tic tac toe game (no functions unfortunately.....sorry!) and was trying to check for a winner at the end of each turn. Is there any way of doing this without using a hefty amount of "if" statements? I have already searched the forum but the only examples I could find included these statements in mass.
I ... | http://cboard.cprogramming.com/cplusplus-programming/122754-tic-tac-toe-check-winner.html | CC-MAIN-2016-07 | refinedweb | 724 | 69.72 |
'Addendum: Encoding tuples with numbers'
I described how to encode tuples of natural numbers into natural numbers. Now, I wrote (hacked) a small piece in Haskell to try it in practice.
So here it is:
import Data.List import Maybe -- taken from -- primes = 2:3:primes' where l:p:candidates = [6*k+r | k <- [0..], r <- [1,... | http://phimuemue.com/posts/2011-09-04-addendum-encoding-tuples-with-numbers.html | CC-MAIN-2017-34 | refinedweb | 278 | 57.91 |
Polymorphism is when different subclasses can have their own unique implementations of methods while still falling under the same type as their parent class. When declaring a variable, we learned that on the left side of the equals sign is a type that specifies what kind of object the variable is able to hold, while th... | https://teamscode.com/learn/ap-computer-science/polymorphism/ | CC-MAIN-2019-04 | refinedweb | 1,049 | 68.2 |
Integration with Kendo UI MVVM
The Kendo UI hybrid mobile Application provides a close integration with the Kendo UI MVVM framework. The mobile widgets' configuration options can be bound and managed through a view model.
Getting Started
Initialization
The recommended way to use the Kendo UI MVVM with the Hybrid UI App... | https://docs.telerik.com/kendo-ui/controls/hybrid/support/mvvm | CC-MAIN-2019-09 | refinedweb | 242 | 53.71 |
Wikiversity:Bots/Status/Archive
This is the archive of bot status requests
User:Sebbot[edit source]
- Bot operator: User:Sebmol
- Aim of the bot: undo vandalism, rename categories
- Script used: w:WP:AWB
- Already used on, with bot status: German Wikipedia
Done Bot was flagged:
05:08, 3 October 2006 Cormaggio (Talk | c... | https://en.wikiversity.org/wiki/Wikiversity:Bots/Status/Archive | CC-MAIN-2022-40 | refinedweb | 3,284 | 59.64 |
Stu 2012-08-27 Initial development version.
Documentation
NAME treso - Resolver SYNOPSIS package require Tcl 8.5 package require treso 0.1 namespace import ::treso::* treso::resolve ?-option ...? what ?-option ...? treso::resolvers treso::running treso::cancel runId DESCRIPTION This extension uses the system's resolver... | http://wiki.tcl.tk/36864 | CC-MAIN-2016-50 | refinedweb | 430 | 53.17 |
Details
Description
My thoughts are a new trait CompressionDependencies for KafkaProject.scala, adding snappy as the first library.
refactor CompressionUtil for better code reuse and provide a way on startup to select what the default codec is instead of the default always gziping
Issue Links
Activity
Thanks for the pa... | https://issues.apache.org/jira/browse/KAFKA-187?page=com.atlassian.jira.plugin.ext.subversion:subversion-commits-tabpanel | CC-MAIN-2016-07 | refinedweb | 1,313 | 53.68 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.