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
One nice thing about Haskell is Quickcheck, if you're not familiar with Haskell or Quickcheck it works like this: Prelude> let evens xs = [ x | x <- xs, x `mod` 2 == 0 ] Prelude> evens [1..10] [2,4,6,8,10] Here we define a function that takes a list of numbers and returns only the even numbers. We can use Quickcheck to...
https://yakking.branchable.com/posts/property-testing-in-c/
CC-MAIN-2020-40
refinedweb
883
59.23
Hello, First off I would like to clearify that i'm terrible at this and have no idea what im doing Anyhow, i would like to make a maze game with accelerometer. I have managed to make a ball within a certain area with this code: import flash.events.Event; var accelX:Number; var accelY:Number; var fl_Accelerometer:Accele...
http://forums.adobe.com/message/4540228?tstart=0
CC-MAIN-2013-48
refinedweb
985
74.19
There are lots of reasons why we might want to draw a line or circle on our charts. We could look to add an average line, highlight a key data point or even draw a picture. This article will show how to add lines, circles and arcs with the example of a football pitch map that could then be used to show heatmaps, passes...
https://fcpython.com/visualisation/drawing-pitchmap-adding-lines-circles-matplotlib
CC-MAIN-2018-51
refinedweb
847
72.56
Scala developers might have heard of “type lambdas”, a fairly horrendous-looking construction that sometimes appears in code using higher-kinded types. What is a type lambda, why would we ever want to use one, and even better, how can we avoid having to write them? In this blog post we tackle these questions. The need ...
https://underscore.io/blog/posts/2016/12/05/type-lambdas.html
CC-MAIN-2021-49
refinedweb
1,390
59.94
SimonPJ: >. [Note: in all of the following I am talking about the C-specific part of the ffi spec. Other languages (Java, .net, etc.) treat namespaces differently and would have different stuff in their language-specific parts.] This touches on the subject of static/dynamic linking namespaces which was the cause of War...
http://www.haskell.org/pipermail/ffi/2002-June/000523.html
CC-MAIN-2014-15
refinedweb
673
62.98
- 21 Jan, 2015 1 commit This patch allows to reuse vstr memory when creating str/bytes object. This improves memory usage. Also saves code ROM: 128 bytes on stmhal, 92 bytes on bare-arm, and 88 bytes on unix x64. - 16 Jan, 2015 1 commit See issue #699. - 01 Jan, 2015 1 commit Addresses issue #1022. - 10 Dec, 2014 1 com...
https://gitrepos.estec.esa.int/taste/uPython-mirror/-/commits/0b9ee86133a2a0524691c6cdac209dbfcb3bf116/py/vstr.c
CC-MAIN-2022-33
refinedweb
205
81.22
This is the third chapter of the Generate Random Content For SharePoint series. This time, detailing the challenges you might face when you want to create Excel workbooks. Chapters: - Generate random content for SharePoint – About how to create big files for upload testing. - Generate random content for SharePoint 2 – ...
https://blogs.technet.microsoft.com/zsoltilles/2017/03/12/generate-random-content-for-sharepoint-3/
CC-MAIN-2018-43
refinedweb
1,170
55.34
Dick Nagtegaal - Total activity 75 - Last activity - Member since - Following 0 users - Followed by 0 users - Votes 0 - Subscriptions 23 Dick Nagtegaal created a post, How to navigate to implementation of generic interface for specific type?Let's say we have an interface ICommandHandler<T>.There are several implementat...
https://resharper-support.jetbrains.com/hc/en-us/profiles/2102845249-Dick-Nagtegaal
CC-MAIN-2019-39
refinedweb
277
56.66
LyondellBasell is planning around $3bn in capital investment (capex) to build two major projects in the US – its new Hyperzone high density polyethylene (HDPE) plant and a new propylene oxide/tertiary butyl alcohol (PO/TBA) facility. The company is ready to “break ground in one month” on its 500,000 tonne/year HDPE exp...
https://www.icis.com/resources/news/2017/04/11/10096852/lyondellbasell-targets-3bn-in-us-projects-and-more-on-the-table/
CC-MAIN-2017-39
refinedweb
816
60.24
On Sun, Nov 05, 2006 at 12:53:23AM +0100, Christoph Hellwig wrote: >.. > > The dev_to_node wrapper is not enough as we can't assign to (-1) for > the non-NUMA case. So I added a second macro, set_dev_node for that. > > The patch below compiles and works on numa and non-NUMA platforms. > > Hi Christoph, dev_to_node does...
http://lkml.org/lkml/2006/11/7/10
crawl-002
refinedweb
329
58.89
Revision as of 03:34, 22 November 2010 Fedora uses the freenode IRC network for it's IRC communications. If you want to make a new Fedora Related IRC Channel, please follow the following guidelines. Contents Contact Information Owner: Fedora Infrastructure Team Contact: #fedora-admin Location: freenode Servers: none Pu...
https://fedoraproject.org/w/index.php?title=New_Freenode_IRC_Channel_Infrastructure_SOP&diff=208495
CC-MAIN-2019-04
refinedweb
384
53.61
Searched your forums a lot, found a solution to my task, but still I do not understand why do I get the wrong answer everytime. It's always a 'correct-1' result. It doesn't depend on what the number in the string is. #include <cstdlib> #include <iostream> #include <string.h> using namespace std; int main(int argc, char...
https://www.daniweb.com/programming/software-development/threads/193854/sum-of-digits-in-string
CC-MAIN-2021-17
refinedweb
124
73.58
A model of Region Predicate that checks if a value of type Key is contained within the open boundaries defined by lower and upper. More... #include <spatial_open_region.hpp> Inherits Compare. A model of Region Predicate that checks if a value of type Key is contained within the open boundaries defined by lower and uppe...
http://spatial.sourceforge.net/classspatial_1_1open__bounds.html
CC-MAIN-2017-13
refinedweb
249
57.98
Buy Infoshop gear and more at our online store. Donate to Infoshop and Practical Anarchy magazine. June 19, 1999 On June 18, 1999, simultaneous with the G8 meeting in Koln, Germany, people all over the world participated in actions and events under the banner "Reclaim The Streets." Email reports coming in today indicat...
http://infoshop.org/news_archive/j18_tx1.html
crawl-001
refinedweb
4,730
68.4
============================================Updated to v1.4. Appearance changed, new improvements and bugfixes (See History at bottom for changes).I hope you'll enjoy this hopefully Final version! Having a few more months of C# hobby-experience by trial and error and some new updates for this NFO Viewer, I once again u...
https://www.codeproject.com/Articles/505994/Creating-a-NFO-Viewer-in-Csharp-as-beginner
CC-MAIN-2017-22
refinedweb
5,435
67.76
0 Hi, i just don't get why this isn't working. It is supposed to read from the end of a .txt and up, until it hits the first space but it just keeps repeating the last character in the text file ip.txt Any help is much appreciated. #include <iostream> #include <fstream> using namespace std; int main() { string ip = "a"...
https://www.daniweb.com/programming/software-development/threads/242236/problem-with-loop-and-ifstream-seekg
CC-MAIN-2018-09
refinedweb
124
75.91
Databinding and the Avalon UI Graphics, Animation, and Splines Graphics objects, those from the MSAvalon.Windows.Shapes namespace, can be manipulated through a number of different types of animations. Some of these were discussed in the last article, "XAML Custom Controls and Animation." However, the animation itself c...
http://www.developer.com/net/net/article.php/3333071/Databinding-and-the-Avalon-UI.htm
CC-MAIN-2015-48
refinedweb
939
51.89
DateTime::Event::Predict - Predict new dates from a set of dates Given a set of dates this module will predict the next date or dates to follow. use DateTime::Event::Predict; my $dtp = DateTime::Event::Predict->new( profile => { buckets => ['day_of_week'], }, ); # Add today's date: 2009-12-17 my $date = new DateTime->t...
http://search.cpan.org/~bhann/DateTime-Event-Predict-0.01_04/lib/DateTime/Event/Predict.pm
CC-MAIN-2016-30
refinedweb
643
57.71
Brute Force Giorgos Mourtasagas Greenhorn Joined: Nov 04, 2009 Posts: 18 posted Mar 13, 2010 15:29:30 0 Hi"); } } } } } But as you see thai is onle 4 characters and I want 8. I believe that there is another way to make without to make 8 for . If anyone have an idea help me. Nathan Leniz Ranch Hand Joined: Nov 26, 2006...
http://www.coderanch.com/t/487086/java-io/java/Brute-Force
CC-MAIN-2014-42
refinedweb
734
73.17
This chapter introduces the Pandas library (or package). panda is a package built using NumPy (pronounced 'numb pie'). Up until this point, the examples seen in this notebook utilize Python's built-in types and functions. NumPy has its ndarray object for array arithmetic. NumPy is a package built to support scientific ...
https://nbviewer.jupyter.org/github/RandyBetancourt/PythonForSASUsers/blob/master/Chapter%2004%20--%20Pandas%2C%20Part%201.ipynb
CC-MAIN-2020-40
refinedweb
1,540
68.57
It's ironic I read your message seconds after the first commit of my very own Jaxb task (see below).... Thanks! I'm checking out the SUN's task as I write this. --DD /** * Compiles using SUN's JAXB Java & XML Data Binding framework * a DTD with optionally a binding schema (XJS file). * <p> * Uses the <dependset> and <j...
http://mail-archives.apache.org/mod_mbox/ant-user/200210.mbox/%3CD44A54C298394F4E967EC8538B1E00F13D4573@lgchexch002.lgc.com%3E
CC-MAIN-2018-43
refinedweb
273
60.72
It seems std::is_literal_type was removed from C++ 20, so now GCC is warning that we use it in wtf/Variant.h: DerivedSources/ForwardingHeaders/wtf/Variant.h:390:35: warning: 'template<class _Tp> struct std::is_literal_type' is deprecated [-Wdeprecated-declarations] 390 | template<typename _Type,bool=std::is_literal_typ...
https://bugs.webkit.org/show_bug.cgi?id=220662
CC-MAIN-2022-27
refinedweb
940
64.1
Question : Hello I am quite new to pygame and I am trying to make an intro for a game where the user hovers over the computer screen and the screen then turns blue so indicate that when you press it the game will start. However, the blue rect simply isn’t showing up? By the way, the introScreen is a like a gif but cons...
https://discuss.dizzycoding.com/why-is-this-pygame-program-not-working-so-when-i-hover-over-the-computer-screen-it-turns-blue/
CC-MAIN-2022-33
refinedweb
686
69.99
Allow grouping As cowwoc has stated grouping of exceptions, why stop there? Why not allow grouping of all types. You can speficy generic types using grouping, why not apply this to all things. E.g. <br /> public class GroupingTest<br /> {<br /> private static String|StringBulider data = new StringBuilder();<br /> /*pro...
https://www.java.net/node/643858
CC-MAIN-2015-32
refinedweb
565
65.93
Virtual Scrolling Virtual scrolling is an alternative to paging. Instead of using a pager, the user scrolls vertically through all records in the data source. The same set of elements is reused to improve the rendering performance. While the next data is loading, a loading indicator is shown on the cells. If the user s...
https://docs.telerik.com/blazor-ui/components/grid/virtual-scrolling
CC-MAIN-2021-39
refinedweb
985
51.99
isspace() Test a character to see if it's a whitespace character Synopsis: #include <ctype.h> int isspace( isspace() function tests for the following whitespace characters: - ' ' - Space - '\f' - Form feed - '\n' - Newline or linefeed - '\r' - Carriage return - '\t' - Horizontal tab - '\v' - Vertical tab The isblank() ...
http://developer.blackberry.com/native/reference/core/com.qnx.doc.neutrino.lib_ref/topic/i/isspace.html
CC-MAIN-2015-40
refinedweb
179
61.26
The Future of Electronic Courts in Harris County Getting to No (Paper) Using Technology in the Courtroom The Court of Babel: The Multilingual Courtroom of the Future The Law Firm of the Future Houston Bar Foundation Recognizes Outstanding Efforts by Volunteers lawyer THE HOUSTON inside... Volume 50 – Number 5 March/Apr...
https://issuu.com/leosur/docs/thl_marapr13
CC-MAIN-2017-30
refinedweb
22,269
54.52
Opened 9 years ago Closed 9 years ago #2763 closed defect (fixed) [patch] Inspect db crashes with MySQL date "0000-00-00" - Quick fix included Description When using inspectdb to create a model of a legacy database (s postnuke stuff) the program encounters a timestamp value of "0000-00-00". This is valid in MySQL, but ...
https://code.djangoproject.com/ticket/2763
CC-MAIN-2015-40
refinedweb
836
52.39
Technical Plenary and WG Meeting Event, Royal Sonesta Hotel - Cambridge, MA USA At the 6-7 March 2003 - Semantic Web Architecture Meeting will be/was a discussion of possible work on query languages for RDF. The quoted background reading of which includes: From, specifically Andy and Alberto's use cases and EricP summa...
http://www.w3.org/2001/sw/meetings/tech-200303/query
CC-MAIN-2014-42
refinedweb
1,075
55.17
On 04/18/2013 11:35 AM, Laine Stump wrote: >> +# Path to the setuid helper for creating tap devices. This executable >> +# is used to create <source type='bridge'> interfaces when libvirtd is >> +# running unprivileged. libvirt invokes the helper directly, instead >> +# of using "-netdev bridge", for security reasons. ...
https://www.redhat.com/archives/libvir-list/2013-April/msg01436.html
CC-MAIN-2016-30
refinedweb
242
70.53
Steve Nelson wrote: > Indeed - as I now have a function: > > def nsplit(s, n): > return [s[i:i+n] for i in range(0, len(s), n)] > > Incidentally I am currently going with: > > def nsplit(s, n): > while s: > yield s[:n] > s = s[n:] You can write the generator function to use the same method as the list comp and avoid cr...
https://mail.python.org/pipermail/tutor/2006-March/045720.html
CC-MAIN-2016-30
refinedweb
141
56.56
Sparse NDArrays with Gluon¶ When working on machine learning problems, you may encounter situations where the input data is sparse (i.e. the majority of values are zero). One example of this is in recommendation systems. You could have millions of user and product features, but only a few of these features are present ...
https://mxnet.apache.org/versions/1.7/api/python/docs/tutorials/packages/ndarray/sparse/train_gluon.html
CC-MAIN-2022-33
refinedweb
2,916
51.55
Building resilient search experiences with Workbox This codelab shows you how to implement a resilient search experience with Workbox. The demo app it uses contains a search box that calls a server endpoint, and redirects the user to a basic HTML page. This codelab uses Chrome DevTools. Download Chrome if you don't alr...
https://web.dev/en/codelab-building-resilient-search-experiences/
CC-MAIN-2020-29
refinedweb
1,145
50.43
DynamicMethod Constructor (String, Type, Type[]) Initializes an anonymously hosted dynamic method, specifying the method name, return type, and parameter types. Assembly: mscorlib (in mscorlib.dll) Parameters - name - Type: System.String The name of the dynamic method. This can be a zero-length string, but it cannot be...
https://msdn.microsoft.com/en-us/library/bb360425(v=vs.110)
CC-MAIN-2017-04
refinedweb
183
51.24
view raw I have a really simple program to remove the first level of brackets in a string, but it seems not be working. There seems to be a problem with my logic but I can't spot it. Given a string like AB(CCDC)((EF)G)H ABCCDC(EF)GH ABCCDC((EF))GH def removeBrackets(string): level = 0 list1 = list(string) poses = [] fo...
https://codedump.io/share/PGvHvcDJvO8A/1/series-of-conditionals-in-function-not-working-properly
CC-MAIN-2017-22
refinedweb
380
77.23
Prev Java Set Experts Index Headers Your browser does not support iframes. Re: Locking objects in an array From: Daniel Pitts <newsgroup.spamfilter@virtualinfinity.net> Newsgroups: comp.lang.java.programmer Date: Tue, 05 May 2009 14:04:25 -0700 Message-ID: <TR1Ml.11905$WT7.11315@newsfe11.iad> Philipp wrote: Hello, I've...
https://preciseinfo.org/Convert/Articles_Java/Set_Experts/Java-Set-Experts-090506000425.html
CC-MAIN-2022-27
refinedweb
709
61.87
Python Iterator Tutorial Iterators are the omnipresent spirits of Python. They are everywhere and you must have come across them in some program or another. Iterators are objects that allow you to traverse through all the elements of a collection, regardless of its specific implementation. That means that, if you have ...
https://www.datacamp.com/community/tutorials/python-iterator-tutorial
CC-MAIN-2018-30
refinedweb
1,630
64.3
JVM Typed Functions Previously on haxe.org It's been about a week since I've announced the Haxe 4.1.0 release and made the bold claim that the JVM target went from being experimental to being the fastest Haxe target. Just as planned, this got the attention of various people, among which was Hugh. He flipped some switch...
https://haxe.org/blog/jvm-typed-functions/
CC-MAIN-2022-33
refinedweb
2,072
56.35
11 December 2009 10:43 [Source: ICIS news] DUBAI (ICIS news)--SABIC affiliate Yanbu National Petrochemical Co (Yansab) is expected to begin commercial production at its new high density polyethylene (HDPE) plant at Yanbu, Saudi Arabia, in January 2010, SABIC CEO Mohamed al-Mady said late on Thursday. “The HDPE plant, w...
http://www.icis.com/Articles/2009/12/11/9318412/gpca-09-yansab-hdpe-plant-to-achieve-commercial-output-in-10.html
CC-MAIN-2013-48
refinedweb
177
50.36
{-# LANGUAGE Rank2Types, BangPatterns #-} module Data.SouSiT.Sink ( Sink(..), SinkStatus(..), closeSink, -- * monadic functions input, inputOr, inputMap, inputMaybe, skip, -- * utility functions appendSink, (=||=), feedList, liftSink, -- * sink construction contSink, -> m (Sink i m r)) (m r) | Done (m r) instance Monad...
http://hackage.haskell.org/package/sousit-0.4/docs/src/Data-SouSiT-Sink.html
CC-MAIN-2016-44
refinedweb
297
73.92
I have heard about the: char myline[100]; cin.getline(myline,100); but when my coding is long it doesnt work i gues as long as i would like it to? here is my code for example: #include <iostream> using namespace std; int main() { int length; int width; cout << "Enter the length: "; cin >> length; cout << "Enter the wid...
https://www.daniweb.com/programming/software-development/threads/128217/making-a-console-app-stay-up
CC-MAIN-2017-34
refinedweb
156
86.64
function plusone(a) { return (a+1); #doc returns: the argument plus one. }It's a simple trick; as soon as the lexer finds a '#doc' directive, it will scan the rest of the text until it finds the closing curly brace, at which point it will go on about its lexing business, storing the documentation in the meanwhile. Is t...
http://ufy.sourceforge.net/ufydoc.html
CC-MAIN-2017-17
refinedweb
292
58.11
OpenOCD User Guide Contents - 1 OpenOCD User’s Guide - 2 About - 3 1. OpenOCD Developer Resources - 4 2. Debug Adapter Hardware - 5 3. About Jim-Tcl - 6 4. Running - 7 5. OpenOCD Project Setup - 8 6. Config File Guidelines - 8.1 6.1 Interface Config Files - 8.2 6.2 Board Config Files - 8.3 6.3 Target Config Files - 8...
http://www.elinux.org/OpenOCD_User_Guide
CC-MAIN-2016-18
refinedweb
43,358
55.95
pyvoro 1.3.2 2D and 3D Voronoi tessellations: a python entry point for the voro++ library.pyvoro ====== 3D Voronoi tessellations: a python entry point for the [voro++ library] **Recently Added Features:** *Released on PyPI* - thanks to a contribution from @ansobolev, you can now install the project with `pip` - just ty...
https://pypi.python.org/pypi/pyvoro/1.3.2
CC-MAIN-2015-32
refinedweb
1,031
58.72
I'm not sure if the title is right, but I'm migrating a system made of FuelPHP to the server, but the following error has occurred and I can't get it to work properly. Fatal error: Access to undeclared static property: Controller_Auth :: $this in ... (abbreviated) The Controller_Auth class inherits from Basecontroller....
https://www.tutorialfor.com/questions-100493.htm
CC-MAIN-2020-40
refinedweb
377
57
Deferred … Continue reading Deferred Execution and Immediate Execution in LINQ Var versus IEnumerable in LINQ We have seen normally Or Now question is where to use var or IEnumerable? Let us first have a look on both key words Var derives type from the right hand side. And its scope is in the method. And it is strongly...
https://debugmode.net/2010/12/
CC-MAIN-2017-30
refinedweb
316
61.26
class Animal1{ protected Animal1() { } void eat()throws IOException{System.out.println("Animal Eat....");} } } public class Dog extends Animal1{ public void eat() throws FileNotFoundException{ super.eat(); //this line generates an error System.out.println("Dog Eat....."); } } Chiranjeevi Kanthraj wrote:dilan welcome to...
http://www.coderanch.com/t/552944/java/java/calling-super-method-subclass-overridn
CC-MAIN-2013-48
refinedweb
136
50.46
Cleaning High Ascii Values For Web Safeness In ColdFusion On Tuesday, Ray Camden came to speak at the New York ColdFusion User Group about RSS feed parsing and creation. During the presentation, he talked about RSS breaking when ColdFusion hits a high ascii value that it doesn't recognize (and it just skips it or somet...
https://www.bennadel.com/blog/1155-cleaning-high-ascii-values-for-web-safeness-in-coldfusion.htm
CC-MAIN-2020-40
refinedweb
8,488
61.77
On Thu, 03 Jan 2008 00:50:56 +0100 Michael Albinus <address@hidden> wrote: MA> Ted Zlatanov <address@hidden> writes: MA> I'm a little bit lost. Does it mean you don't want to offer *all* MA> messages in a mailbox? >> >> Correct, otherwise it's hard to handle invalid messages: are they >> invalid files or something else...
https://lists.gnu.org/r/tramp-devel/2008-01/msg00011.html
CC-MAIN-2021-43
refinedweb
729
58.08
IRC log of xhtml on 2008-02-19 Timestamps are in UTC. 08:09:44 [RRSAgent] RRSAgent has joined #xhtml 08:09:45 [RRSAgent] logging to 08:10:01 [Steven] rrsagent, make log public 08:10:22 [Steven] Meeting: XHTML2 WG FtF, Venice, Italy, Day 2 08:10:35 [Steven] Chair: Roland, STeven 08:10:39 [Steven] Scribe: Steven 08:11:45...
http://www.w3.org/2008/02/19-xhtml-irc
CC-MAIN-2021-49
refinedweb
8,636
70.73
Closed Bug 714937 Opened 10 years ago Closed 9 years ago replace GFX _PACKED _PIXEL with an inline function Categories (Core :: Graphics, defect) Tracking () mozilla18 People (Reporter: jrmuizel, Assigned: Luqman) Details (Whiteboard: [mentor=jrmuizel][lang=c++]) Attachments (1 file, 5 obsolete files) No description pr...
https://bugzilla.mozilla.org/show_bug.cgi?id=714937
CC-MAIN-2021-25
refinedweb
454
54.93
C# Preprocessor Directives Control flow statements evaluate expressions at runtime. In contrast, the C# preprocessor is invoked during compilation. The preprocessor commands are directives to the C# compiler, specifying the sections of code to compile or identifying how to handle specific errors and warnings within the...
https://www.informit.com/articles/article.aspx?p=2002831&seqNum=9
CC-MAIN-2021-31
refinedweb
1,440
56.45
Dear experts, I am doing my assignment on finding how many numbers in N digit satisfy K requirement. However, when i am testing the code, i could compile it but i couldn't execute it. I am wondering if i made mistake in the x = result + y; // add them together and return it. as when i comment this out, my program is ab...
https://www.daniweb.com/programming/software-development/threads/382532/unable-to-execute-the-program-no-compilation-error
CC-MAIN-2022-21
refinedweb
315
71.55
, ericP> Topic:Polle? <sandro> Topic: CREATE and DROP, named graph support is provided by storing triples in units of storage called RDF "models" 13:37:40 <bglimm> ... queries for non-existing graphs return empty results, we are considering support for named graphs at a finer granularity 13:39:22 <bglimm> ... for secur...
http://www.w3.org/2009/sparql/wiki/index.php?title=Chatlog_2010-03-25&oldid=2038
CC-MAIN-2015-32
refinedweb
10,570
65.56
You should try it on a 'real' graphics card and see for yourself. I have learned that it is not very wise to trust Intel when it comes to OpenGL. You should try it on a 'real' graphics card and see for yourself. I have learned that it is not very wise to trust Intel when it comes to OpenGL. Yes I have. But since I clea...
http://www.opengl.org/discussion_boards/search.php?s=435398f25add8d414be4b05697d6546c&searchid=382426
CC-MAIN-2013-20
refinedweb
714
85.49
#include <pslib.h> int PS_begin_pattern(PSDoc *psdoc, float width, float height, float xstep, float ystep, int painttype) A pattern can be thought of like a color for drawing and filling. Actually, PS_setcolor is used to apply a pattern. The pattern itself has given dimension an a stepping in horizontal and vertical di...
http://www.makelinux.net/man/3/P/PS_begin_pattern
CC-MAIN-2013-48
refinedweb
138
56.66
Product Version = NetBeans IDE 7.3 Beta 2 (Build 201211062253) Operating System = Linux version 3.2.0-33-generic-pae running on i386 Java; VM; Vendor = 1.7.0_09 Runtime = Java HotSpot(TM) Client VM 23.5-b02 maven project: opened src/main/resources/META-INF/orm.xml click in editor. Ctrl-S (Emacs keybinding) does nothing...
https://netbeans.org/bugzilla/show_bug.cgi?id=225145
CC-MAIN-2016-36
refinedweb
475
71
Building Distributed Apps? Use XML Web Services, Not Remoting (Mostly), Page 3 Listing 2: All of this complicated-looking code is generated by SPROXY, which is invoked by the WSDL utility. '------------------------------------------------------------------ ' <autogenerated> ' This code was generated by a tool. ' Runtim...
http://www.developer.com/net/vb/article.php/10926_3447821_3/Building-Distributed-Apps-Use-XML-Web-Services-Not-Remoting-Mostly.htm
CC-MAIN-2014-15
refinedweb
714
50.33
): So that's where I'm up to - and I'm out of ideas. Can anyone suggest what may be causing the delays and/or what I should be trying next? Well, we finally appear to have resolved this issue in our environment. For the benefits of others, here's what we discovered and how we fixed the problem: To try and gain further ...
http://serverfault.com/questions/50789/long-pause-when-accessing-dfs-namespace/77126#77126
crawl-003
refinedweb
1,393
66.17
Protege-OWL 3 FAQ From Protege Wiki Protege-OWL 3.x Frequently Asked Questions See Also: Protege-OWL 4.x FAQ, Protege-Frames FAQ, Protege file encoding FAQ How do I install Protege-OWL? If you are new user, we ask that you register before downloading Protege: Once you've registered, navigate to the download page on the...
http://protegewiki.stanford.edu/index.php?title=Protege-OWL_3_FAQ&direction=prev&oldid=9978
CC-MAIN-2014-42
refinedweb
1,487
64.41
StringBuilder and StringBuffer – A way to create mutable Strings in Java String– One of the most important class in Java Programming have a very important concept of Immutability i.e. once created we can not change the value of that object. - StringBuffer Class - StringBuilder Class - StringBuffer Class- - StringBuilde...
https://www.codingeek.com/java/strings/stringbuilder-and-stringbuffer-a-way-to-create-mutable-strings-in-java/
CC-MAIN-2017-51
refinedweb
738
55.64
Fuzzy String Matching Using Python Want to share your content on python-bloggers? click here. In this article we will explore how to perform fuzzy string matching using Python. Table of contents: - Introduction - Levenshtein Distance - Simple Fuzzy String Matching - Partial Fuzzy String Matching - Out of Order Fuzzy St...
https://python-bloggers.com/2021/02/fuzzy-string-matching-using-python/
CC-MAIN-2021-10
refinedweb
1,013
60.55
#include <stdio.h> int puts(const char *s); int fputs(const char *s, FILE *stream); The puts() function writes the string pointed to by s, followed by a NEWLINE character, to the standard output stream stdout (see Intro(3)). The terminating null byte is not written. The fputs() function writes the null-terminated strin...
http://docs.oracle.com/cd/E36784_01/html/E36874/puts-3c.html
CC-MAIN-2016-07
refinedweb
190
67.08
CRIMA1028E ERROR: Error during "post-install configure" phase when upgrading to a new fix pack level for IBM HTTP Server for WebSphere Application Server for z/OS. Here are my symptoms: imcl install com.ibm.websphere.IHS.zOS.v85_8.5.5004.20141119_2030 fails with CRIMA1028E ERROR: Error during "post-install configure" p...
https://developer.ibm.com/answers/questions/170504/$%7BeditUrl%7D/
CC-MAIN-2019-30
refinedweb
335
63.49
We have not yet provided a SplitView Control in JavaFX (and it is not in the plan for 1.3). However, the main reason is that it is relatively simple to write one from scratch so we’re focusing on some of the harder things (like TreeViews). I was asked recently how to go about writing a SplitView in JavaFX, so I decided...
http://fxexperience.com/2010/01/splitviews/?replytocom=2741
CC-MAIN-2022-33
refinedweb
441
75.3
I'm trying to read and manipulate audio file , how to read and manipulate the waves value of a wave file using python? The SciPy libraries have great resources for this: Writing and Reading: import numpy as np from scipy.io import wavfile fs = 44.1e3 t = np.arange(0, 1.0, 1.0/fs) f1 = 440 f2 = 600 x = 0.5*np.sin(2*np.p...
https://codedump.io/share/1tpculT3crwS/1/looking-for-reading-audio-wave-values-in-python
CC-MAIN-2017-09
refinedweb
109
79.26
Thanks I'll give it a try. Type: Posts; User: Evilreaper Thanks I'll give it a try. yea the "How do I iterate an ArrayList and find the desired index?" is there an example of using them the index i mean? Because before I used arraylist i actually use the normal int odd = new int[]; but didn't like putting limit numbers...
http://www.javaprogrammingforums.com/search.php?s=2a38541279126e032cf83f151942d9b7&searchid=1461090
CC-MAIN-2015-14
refinedweb
460
77.33
dom0 Level event <a href="#" id="hash" onclick="fn();fn1();"> <button type="button"> Go back to the top to open </button> </a> var btn=$('#hash').get(0); btn.onclick=function(){ alert('111'); }; btn.onclick=function(){ alert('222'); }; Like the upper handle onclick It's in the label , All are dom0 Level event ,fn and f...
https://chenhaoxiang.cn/2021/06/20210604140838416g.html
CC-MAIN-2022-05
refinedweb
1,181
58.21
selda: Multi-backend, high-level EDSL for interacting with SQL selda-0.2.0.0[back to package description]. - Seamless prepared statements. - Configurable, automatic, consistent in-process caching of query results. - 7.10+, as well as :*: operator. A table is parameterized over the types of its columns, with the column ...
https://hackage.haskell.org/package/selda-0.2.0.0
CC-MAIN-2020-16
refinedweb
847
53.31
Today’s refactoring doesn’t come from any place specifically, just something I’ve picked up over time that I find myself using often. Any variations/comments would be appreciated to this approach. I think there’s some other good refactorings around these type of problems. A common code smell that I come across from tim...
https://lostechies.com/seanchambers/2009/08/18/refactoring-day-18-replace-exception-with-conditional/
CC-MAIN-2016-40
refinedweb
246
60.24
Utilities¶ The module jug.utils has a few functions which are meant to be used in writing jugfiles. Identity¶ This is simply implemented as: @TaskGenerator def identity(x): return x This might seem like the most pointless function, but it can be helpful in speeding things up. Consider the following case: from glob impo...
http://jug.readthedocs.io/en/latest/utilities.html
CC-MAIN-2017-39
refinedweb
679
57.16
To start with, I am making an RPG (rogue like more or less) and it is all made using the the console. I am wanting to work on remaking it using allegro. I know how to use a tile map for integers and am thinking i know how to do simple collision within the array. but i do not like having to make my maps using integers. ...
https://www.allegro.cc/forums/print-thread/614571
CC-MAIN-2018-05
refinedweb
1,293
78.89
- DiskeeperServer - installation operation failed ?? - Error creating a dataset - Current Application Directory - COM+ Minutes to idle shutdown programmatically? - VB6 Migration - ASPNET_WP.EXE Memory usage HELP - GAC ? - C# and Context Sensitive Help - Problem trying to create a component like the DataSet - Can't crea...
https://bytes.com/sitemap/f-312-p-204.html
CC-MAIN-2019-43
refinedweb
2,581
51.65
RE: protecting .NET assemblies from hackers From: Allan (Allan_at_discussions.microsoft.com) Date: 10/26/04 - ] Date: Tue, 26 Oct 2004 13:59:20 -0700 of course, but that only exposes problems with .net updater. unless you are not using that.. "Nate A" wrote: > I guess I pretty much figured out the solution to my own pr...
http://www.tech-archive.net/Archive/DotNet/microsoft.public.dotnet.general/2004-10/2757.html
crawl-002
refinedweb
1,003
57.91
Native Image Generation (NGen) As we've already discussed, the CLR does not interpret IL. It uses a Just in Time (JIT) compiler to compile IL to native code at runtime, inserting hooks into the various CLR services in the process. This process was discussed in Chapter 2. But clearly compiling managed code into native c...
http://codeidol.com/csharp/net-framework/Assemblies,-Loading,-and-Deployment/Native-Image-Generation-(NGen)/
CC-MAIN-2015-48
refinedweb
2,497
56.35
Okay, help me understand whats going on here. Hope I've made my confusion(s) clear. I've got a hunch I'm looking at something in a very wrong way. Thanks in advance!Hope I've made my confusion(s) clear. I've got a hunch I'm looking at something in a very wrong way. Thanks in advance!Code:#include <stdio.h> int foo (int...
https://cboard.cprogramming.com/c-programming/178180-should-easy-one-yall-beginner-post1290321.html?s=625ec1c961fa57f358dea7a13ff961b3
CC-MAIN-2020-16
refinedweb
420
91.82
Please see my previous blog here to get up to speed. You should have serial access to the micropython prompt at this point. Connect to your board and run the following code in the REPL to setup our string of lights. For this example, I'm using a 1 meter long string with 144 lights. from machine import Pin from neopixel...
https://practicaldev-herokuapp-com.global.ssl.fastly.net/technicholy/how-to-control-addressable-rgb-lights-with-a-esp8266-part-2-of-3-2gi4
CC-MAIN-2022-40
refinedweb
505
74.9
API viscosity measures the resistance to change of code written using a particular API. For each goal that the user might want to accomplish with the API, describe how easy it is to make changes to the code required to accomplish that goal. In particular, consider situations where the user has a choice between two or m...
http://blogs.msdn.com/b/stevencl/archive/2004/03/10/87652.aspx
CC-MAIN-2015-06
refinedweb
406
69.52
Environment: Any modern C++ compiler Purpose The CEditDist class performs edit distance calculations on abstract data types. The edit distance is defined as the minimum cost required to convert one string into another, where the conversion can include changing one character to another, deleting characters and inserting...
http://mobile.codeguru.com/cpp/cpp/cpp_mfc/article.php/c791/CEditDist-Abstract-Template-Class-for-Edit-Distance-Calculation-on-Generic-Data-Types.htm
CC-MAIN-2017-43
refinedweb
486
51.48
Now that the client machines have been initialized, you can change any of them to NIS+ servers of the following types: To be root replicas--to contain copies of the NIS+ tables that reside on the root master server To be master servers of subdomains of the root domain To be replicas of master servers of subdomains of t...
http://docs.oracle.com/cd/E19455-01/806-1386/6jam5ahlb/index.html
CC-MAIN-2015-06
refinedweb
615
63.7
how to XOR On 19/04/2014 at 07:09, xxxxxxxx wrote: I can XOR a vector pxvec = pxvec ^ vecmask how do I XOR a single axis pxvec.x = pxvec.x ???? vecmask.x tia On 19/04/2014 at 09:42, xxxxxxxx wrote: pxvec.x = pcvec.x * vecmask.x Vector XOR just multiplies componentwise. -Niklas On 22/04/2014 at 04:35, xxxxxxxx wrote: th...
https://plugincafe.maxon.net/topic/7827/10112_how-to-xor
CC-MAIN-2019-13
refinedweb
274
65.22
This page uses content from Wikipedia and is licensed under CC BY-SA. The user access level of editors affects their abilities to perform certain actions on Wikipedia; it depends on which rights (also called permissions, user groups, bits or flags) are assigned to accounts. This is determined by whether the editor is l...
https://readtiger.com/wkp/en/Wikipedia:User_access_levels
CC-MAIN-2018-26
refinedweb
2,466
53
As you would expect, I used HTML and CSS to define the markup and look and feel for the table. JQuery, YUI and Microsoft Ajax libraries are used for client side manipulation. JQuery 1.4.4 and Microsoft Ajax JavaScript libraries are shipped with ASP.NET MVC 3, so if you have Visual Studio 2010, you don’t need to downloa...
https://www.codeproject.com/Articles/126064/Sorting-and-Filtering-an-HTML-Table-using-ASP-NET
CC-MAIN-2019-35
refinedweb
3,625
55.34
Solution for Programmming Exercise 2.2 This page contains a sample solution to one of the exercises from Introduction to Programming Using Java. Exercise 2.2: Write a program that simulates rolling a pair of dice. You can simulate rolling one die by choosing one of the integers 1, 2, 3, 4, 5, or 6 at random. The number...
http://math.hws.edu/javanotes/c2/ex2-ans.html
crawl-001
refinedweb
550
67.04
CSC/ECE 517 Fall 2012/ch2a 2w31 up SaaS - 5.3 - The TDD cycle: red-green-refactor[1] Introduction Test Driven Development(TDD) is an evolutionary approach to software development that requires a developer to write test code before the actual code and then write the minimum code to pass that test. This process is done i...
http://wiki.expertiza.ncsu.edu/index.php/CSC/ECE_517_Fall_2012/ch2a_2w31_up
CC-MAIN-2017-17
refinedweb
2,169
62.07
Modules provide a container for your app's source code, resource files, and app level settings, such as the module-level build file and Android manifest file. Each module can be independently built, tested, and debugged. Android Studio uses modules to make it easy to add new devices to your project. By following a few ...
https://developer.android.com/studio/projects/add-app-module?hl=FR
CC-MAIN-2020-29
refinedweb
832
61.16
If we have a close look at LEGO® products, we can see that they are all made of the same building blocks. However, the composition of these blocks is the key differentiator for whether we are building a castle or space ship. It's pretty much the same for Podman, and its sibling projects Buildah, Skopeo, and CRI-O. Howe...
https://www.redhat.com/sysadmin/manage-container-registries
CC-MAIN-2021-49
refinedweb
2,396
58.18
XML defines white space as the Unicode characters space (0x20), carriage return (0x0D), line feed (0x0A), and tab (0x09), as well as any combination of them. Other invisible characters, such as the byte order mark and the nonbreaking space (0xA0), are treated the same as visible characters, such as A and $. White space...
https://flylib.com/books/en/1.130.1.51/1/
CC-MAIN-2019-47
refinedweb
221
63.19
Opened 5 years ago Closed 5 years ago #13381 closed (invalid) admin:login doesn't work Description it's absent in django.contrib.admin.sites.py: def get_urls(self): from django.conf.urls.defaults import patterns, url, include if settings.DEBUG: self.check_dependencies() def wrap(view, cacheable=False): def wrapper(*arg...
https://code.djangoproject.com/ticket/13381
CC-MAIN-2015-14
refinedweb
308
50.63
hi i have a script that runs in the commandline that needs the normal python sys module. i can specify the path of the module in blender to get it to run but i need a copy of the normal sys.py as the blender built in modified version has pieces (argv, sys?) removed. sys.py is not in the python lib, it may be built in t...
https://www.blender.org/forum/viewtopic.php?p=8892
CC-MAIN-2018-43
refinedweb
265
78.79
CodeGuru Forums > .NET Programming > C-Sharp Programming > Reading/Writing Initialization files (*.INI) PDA Click to See Complete Forum and Search --> : Reading/Writing Initialization files (*.INI) Leo Ayala June 2nd, 2002, 11:28 AM I'm new to C# and I'm building one of my first applications that require reading from t...
http://forums.codeguru.com/archive/index.php/t-192072.html
crawl-003
refinedweb
198
61.97
This action might not be possible to undo. Are you sure you want to continue? ® Help for Today, Hope for Tomorrow July-August2016 2016 January-February EVOLUTION An Article of Faith Answers From a Famous Ex-Atheist About God 8 • Is the Bible True? 17 What’s Behind the Transgender Movement? 22 • A Promise Is a Promise 3...
https://pt.scribd.com/doc/317056856/Beyond-Today-Magazine-July-August-2016
CC-MAIN-2017-34
refinedweb
29,240
61.56
I am just getting started with Rails 3 and I do not quite understand how to go about renaming routes. What I want: To rename the path to the users#show controller/action pair. So instead of the URL being it would just be In the future, I’d also like to be able to add additional paths onto the end such as: How my user r...
https://www.ruby-forum.com/t/rails-3-renaming-routes/204378
CC-MAIN-2021-25
refinedweb
229
63.49
I. Step 1: Gathering Supplies and Tools. Components. This project is built on a cheep hobby board from my local DIY store. The board measure 850mm wide by 500mm high and 18mm deep. The LEDs used in this project are 5050 WS2812b mounted on circular PCBs that are approximately 9mm in diameter with solder pads on the rear...
https://www.instructables.com/id/132-Pixel-Clock/
CC-MAIN-2019-26
refinedweb
2,652
81.33
okay so enclosed is the program i am working on for class, basically what it does is it will take the provided integers and get the avg of them as well as the difference, smallest and largest number; but my problem is that i need it to be where if the user enters a "0" then the program will go to the end and basically ...
https://cboard.cprogramming.com/cplusplus-programming/112120-help-very-basic-cplusplus-program.html
CC-MAIN-2017-26
refinedweb
385
57.98
#include <CDR_Stream.h> #include <CDR_Stream.h> List of all members. This class is a base class for defining codeset translation routines to handle the character set translations required by both CDR Input streams and CDR Output streams. [virtual] [protected] Exposes the stream implementation of <adjust>, this is usefu...
https://www.dre.vanderbilt.edu/Doxygen/5.4.7/html/ace/classACE__WChar__Codeset__Translator.html
CC-MAIN-2022-40
refinedweb
169
64.71
Hello,Deductible student loan interest is defined as: Interest paid on a loan that was taken out for you, your spouse, or a person who was your dependent when you took out the loan,Interest paid within a reasonable amount of time before or after you took out the loan,and interest paid on a loan that was for eligible ed...
http://www.justanswer.com/tax/66beu-years-ago-took-education-loan-daughter-12000.html
CC-MAIN-2015-14
refinedweb
309
59.43
Saturday, October 27, 2012 # Recently I had to do some performance work which included reading a lot of code. It is fascinating with what ideas people come up to solve a problem. Especially when there is no problem. When you look at other peoples code you will not be able to tell if it is well performing or not by read...
http://geekswithblogs.net/akraus1/archive/2012/10/27.aspx
CC-MAIN-2015-48
refinedweb
828
65.42
DbgShell - A PowerShell Front-End For The Windows Debugger Engine A PowerShell front-end for the Windows debugger engine. Ready to tab your way to glory? For a quicker intro, take a look at Getting Started. Disclaimers - This project is not produced, endorsed, or monitored by the Windows debugger team. While the debugg...
https://www.kitploit.com/2018/10/dbgshell-powershell-front-end-for.html
CC-MAIN-2018-43
refinedweb
926
51.89
QtQuick.ParentAnimation Animates changes in parent values More... Properties Detailed Description ParentAnimation is used to animate a parent change for an Item. For example, the following ParentChange changes blueRect to become a child of redRect when it is clicked. The inclusion of the ParentAnimation, which defines ...
https://phone.docs.ubuntu.com/en/apps/api-qml-development/QtQuick.ParentAnimation
CC-MAIN-2021-04
refinedweb
257
56.45