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
Joel, Making a dependency on a library is not a trivial thing. You have not given me a task that you currently cannot implement without making the SWORD library ALWAYS need icu. Your praise of the functionality of icu is rightly due, and I say 'use it'. But we will not force people to use it. If your custom index searc...
http://www.crosswire.org/pipermail/sword-devel/2002-October/016292.html
CC-MAIN-2015-11
refinedweb
874
61.16
The UNIX utility awk is a pattern matching and processing language with considerably more power than you may realize. It searches one or more specified files, checking for records that match a specified pattern. If awk finds a match, the corresponding action is performed. A simple concept, but it results in a powerful ...
http://softlookup.com/tutorial/Unix/unx15.asp
CC-MAIN-2018-13
refinedweb
16,011
62.58
Looking at Lots of Letters It's been a busy couple of months. I'm working in a software engineer-ier capacity these days, building out a Sphinx-based documentation platform, standing up a Package Index for library code we've been brewing, and doing all kinds of internal writing about standards and best practices. Job t...
https://napsterinblue.github.io/blog/2018/07/30/looking-at-letters/
CC-MAIN-2021-04
refinedweb
1,579
65.15
Transcript I'm Adin [Scannell], and I'm here to talk about gVisor. I'm an engineer at Google. I actually think “What's this thing?" is a really good summary of the presentation that I'm going to give today. And hopefully, people will be able to walk out with an answer to that question. So we've got a nice, small-ish ro...
https://www.infoq.com/presentations/gvisor-os-go/
CC-MAIN-2019-26
refinedweb
6,354
72.87
DevOps Training Classes in Haverhill, Massachusetts Learn DevOps in Haverhill, Massachusetts and surrounding areas via our hands-on, expert led courses. All of our classes either are offered on an onsite, online or public instructor led basis. Here is a list of our current DevOps related training offerings in Haverhill...
http://hartmannsoftware.com/Training/devops/Haverhill-Massachusetts
CC-MAIN-2020-50
refinedweb
106
57.16
Sometimes I notice that I have just wasted one hour or so because of some bug in my code, or something that I did wrong. When that happens I try to step back, understand what I did and try to come up with a change in my way of working that will prevent it from happening again. The funny thing is that over the years I’v...
https://coinerblog.com/code-patterns-that-are-a-recipe-for-trouble-hacker-noon/
CC-MAIN-2019-22
refinedweb
2,623
65.93
The rise and rise of civic crowdfunding The rise and rise of civic crowdfunding Join the DZone community and get the full member experience.Join For Free Last week I wrote about a novel project being run in Bogota, Columbia that is attempting to crowdsource the funding of a new skyscraper. The Prodigy Network, who are ...
https://dzone.com/articles/rise-and-rise-civic
CC-MAIN-2018-51
refinedweb
619
61.46
There is a very handy .NET class called ControlPaint in the System.Windows.Forms namespace that enables you to draw your own controls and control elements using the standard Windows style and theme. Buried in this rich class are four methods that enable you to lighten and darken colors: - Dark – Creates a darker color ...
https://www.csharp411.com/lighten-and-darken-colors-in-net/
CC-MAIN-2021-39
refinedweb
506
59.19
I haven't had a lot of time to work on my EVB001 eval board. The time between sessions can go weeks and I tend to forget a lot of stuff. These are notes to myself... sort of dead simple exercises to use as restart points. So... Here is an example of just attaching to a node and getting it to do some computation. What y...
http://toddbot.blogspot.com/2011_11_01_archive.html
CC-MAIN-2018-22
refinedweb
422
76.25
26 May 2010 17:38 [Source: ICIS news] By Nigel Davis ?xml:namespace> A consultant colleague of mine could hardly bring himself to suggest that this could be the start of “the big ‘W’ recession”. And yet. The dreaded double-dip recession may be upon us, wrought in the inability of some states to effectively manage almos...
http://www.icis.com/Articles/2010/05/26/9362568/insight-oecd-warns-but-gives-encouragement.html
CC-MAIN-2015-22
refinedweb
443
54.73
display Helloworld through servlets using jboss display Helloworld through servlets using jboss I'm beginner,Can You please Write the code for this.Including WEB.INF Please visit the following link: doesnt run again - Java Beginners doesnt run again the code u sent doesnt run and the error msg says illegal start with d...
http://www.roseindia.net/tutorialhelp/comment/94615
CC-MAIN-2014-10
refinedweb
810
72.66
This is for a final project that in which the project had to contain at least, 1 loop, a class, an array, and file. Im just looking for ideas has to how i could in corporate an array and a file. One idea i had for the array was to use the array to store the round outcomes and then tally the array elements to determine ...
https://www.daniweb.com/programming/software-development/threads/331596/rock-paper-scissors-array-file-io-ideas
CC-MAIN-2017-13
refinedweb
389
69.92
We are still actively working on the spam issue, the wiki may be restored to an earlier date and account creation may be disabled. Computer science What is Computer Science? As Harold Abelson from the SICP lectures says, the name Computer Science is in fact misleading. "Computer science is not about computers, in the s...
https://wiki.installgentoo.com/index.php/Computer_science
CC-MAIN-2017-47
refinedweb
3,308
71.14
12 March 2013 21:10 [Source: ICIS news] (updates paragraphs 6 and 7 with BASF comments) PAULINIA, Brazil (ICIS)--Anglo-Dutch oil company Shell and German chemical company BASF have agreed to pay Brazilian reais (R) 200m ($102m) as compensation for former pesticides plant employees' exposure to toxic chemicals, Brazil's...
http://www.icis.com/Articles/2013/03/12/9649031/basf-shell-to-pay-more-than-100m-in-brazil-toxic-exposure-case.html
CC-MAIN-2014-35
refinedweb
307
54.76
Installing gcc on an Apple darwin platform The Apple XServe platforms come with 'darwin', an open source POSIX-compliant computer operating system released by Apple Inc. This includes a C/C++ compiler that has been derived from the open source gcc compiler. However, it is currently based on gcc 4.0.1 which was release ...
https://warwick.ac.uk/fac/sci/moac/people/students/2007/nigel_dyer/phd/software/gcconapple/
CC-MAIN-2018-17
refinedweb
665
53.71
NAME ksql— yet another SQLite wrapper LIBRARYlibrary “ksql” SYNOPSIS #include <sys/types.h> #include <stdint.h> #include <ksql.h> #define KSQL_VMAJOR x #define KSQL_VMINOR y #define KSQL_VBUILD z #define KSQL_VERSION x.y.z #define KSQL_VSTAMP xxxyyyzzz DESCRIPTIONThe ksqllibrary is a “lazy man's” wrapper of a minimal s...
https://kristaps.bsd.lv/ksql/ksql.3.html
CC-MAIN-2021-21
refinedweb
444
56.96
My developer team and I recently worked with the Bridge team on a new feature in Bridge CC called Custom Keywords. It’s a deceptively simple yet very powerful tool that lets customers expose a controlled metadata taxonomy to end users, which enforces Enterprise metadata standards and reduces metadata madness for the En...
https://blogs.adobe.com/jlockman/tag/collaboration/
CC-MAIN-2018-17
refinedweb
1,628
50.16
Well, I want to make a vertical joystick, if up, the character jump, if down, the character crouch. (sorry for my poor english) This is my code, thanks you all. using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlayerMovement : MonoBehaviour { public CharacterController2D contr...
https://answers.unity.com/questions/1587947/can-anyone-help-me-fix-my-script-im-noob.html
CC-MAIN-2019-04
refinedweb
1,127
64.3
- Key: SBVR15-7 - Legacy Issue Number: 17791 - Status: closed - Source: Thematix Partners LLC ( Edward Barkmeyer) - Summary: SBVR v1.1 Clause 8 says: Note: in the glossary entries below, the words “Concept Type: role” indicate that a general concept being defined is a role. Because it is a general concept, it is necess...
https://issues.omg.org/issues/SBVR15-7
CC-MAIN-2021-10
refinedweb
374
56.66
The `useIsomorphicState`-hook lets you easily share the state between the server and the client in an isomorphic React app An isomorphic app complements your React web-app with server-side-rendering. Users can see your content directly after the browser’s initial HTTP-request returns. They don’t have to wait for a scri...
https://morioh.com/p/55153ba79df1
CC-MAIN-2020-40
refinedweb
1,202
69.28
For example the message below was published to fedmsg-stage, but we can't find it on datagrepper. {"msg":{"branch":"master","build_id":"21","build_url":"","ci_topic":"org.centos.stage.ci.pipeline.allpackages-build.package.queued","comment_id":null,"namespace":null,"nvr":"","original_spec_nvr":"","ref":"x86_64","repo":"...
https://pagure.io/fedora-infrastructure/issue/8067
CC-MAIN-2019-39
refinedweb
294
50.63
LE'S RECORDER ers PUBLISHED FOR TUB ELEVATION OF OUR RACE, AND 15 AN EXPONENT OF REPUBLICAN PRINCIPLES. Founded in 1893. OLUMBIA AND UNION, S. C., SATURDAY MORNING, JANUARY 13,1900. NO. 18. K Governor Mcsweeney to the State Legislature. jfVERAL INDUSTRIAL PROGRESS. - ? Congratulai;s the People of South jolina ft.cause ...
http://chroniclingamerica.loc.gov/lccn/sn83025797/1900-01-13/ed-1/seq-1/ocr/
CC-MAIN-2017-09
refinedweb
6,782
71.44
Tìm hiểu một cách đầy đủ nhất về Single Page Application, tìm hiểu nguyên nhân ra đời, sự khác biệt của web Single Page Application với web truyền thống. Mình có nghe tới khái niệm Single Page Application và mon men tìm hiểu. Sau khi thực hiện vài project thử nghiệm theo kiểu Single Page Application, mình đã hiểu nó là...
https://morioh.com/topic/webdev
CC-MAIN-2021-39
refinedweb
3,845
53.31
wcstok() Break a wide-character string into tokens Synopsis: #include <wchar.h> wchar_t * wcstok( wchar_t * ws1, const wchar_t * ws2, wchar_t ** ptr ); Since: BlackBerry 10.0.0 Arguments: - ws1 - NULL, or the wide-character string that you want to break into tokens; see below. - ws2 - A set of the wide characters that ...
https://developer.blackberry.com/native/reference/core/com.qnx.doc.neutrino.lib_ref/topic/w/wcstok.html
CC-MAIN-2019-47
refinedweb
138
67.96
Please work out the pre-lab problems before your next lab section. The GSI/IAs will go over these problems during the lab section. Consider the following program, which uses C++ threads. #include <iostream> #include <thread> const int NUM_THREADS = 2; const int NUM_ITER = 20; int counter = 0; void child() { for (int i=...
https://web.eecs.umich.edu/~pmchen/eecs482/homework/threads.html
CC-MAIN-2019-09
refinedweb
342
74.9
Conservapedia talk:What is going on at CP?/Archive173 Contents - 1 Is TK serious? - 2 prime doublethink - 3 Naughty! - 4 What is Ken doing? - 5 February 2010 at CP - 6 Anyone remember Andy's prognostications that "the Castro is dead"? - 7 Best New Conservative Words - 8 Is EdPoor trying to harm CP? - 9 A troublemaker a...
https://rationalwiki.org/wiki/Conservapedia_talk:What_is_going_on_at_CP%3F/Archive173
CC-MAIN-2019-22
refinedweb
18,646
70.84
I often get this question: "How can I read properties directly from a property handler?" (Remember that the property handler is the file system namespace's extensibility point.) Usually, the person just wants to read one or more properties and doesn't know where to start. In this case, they usually find IShellItem2::Ge...
http://blogs.msdn.com/b/benkaras/archive/2006/09/06/740504.aspx
CC-MAIN-2015-06
refinedweb
124
56.25
- <customerDefinedField>Frist!</customerDefinedField> Admin In the beginning of the movie I was sure that Titanic will sink. So it did. Somehow, in the beginning of this story, I was thinking that they were declaring and reopening new cursor to fetch every next row. But they didn't. Admin We just replaced something th...
https://thedailywtf.com/articles/comments/enterprising-messages/?parent=500958
CC-MAIN-2019-09
refinedweb
1,402
71.95
28th November 2017 11:40 am Building a Postcode Lookup Client With Httplug and Phpspec While PHPUnit is my normal go-to PHP testing framework, for some applications I find PHPSpec superior, in particular REST API clients. I’ve found that it makes for a better flow when doing test-driven development, because it makes it...
https://matthewdaly.co.uk/blog/2017/11/28/building-a-postcode-lookup-client-with-httplug-and-phpspec/
CC-MAIN-2019-51
refinedweb
2,063
66.27
NE W ! Learn how to program the easy and fun way LEARN HOW TO… WorldMags.net WorldMags.net WorldMags.net Learn how to program the easy and fun way WorldMags.net uk Phone +44 ( 0 )1225 442244 Fax +44 ( 0 )1225 732275 All contents copyright © 2016 Future Publishing Limited or published under licence. Online enquiries: ww...
https://www.scribd.com/document/345403750/Coding-Made-Simple-2016-pdf
CC-MAIN-2018-51
refinedweb
90,274
77.64
Recently, Moshe Zadka <moshez@math.huji.ac.il> said: > Here's a reason: there shouldn't be changes we'll retract later -- we > need to come up with the (more or less) right hierarchy the first time, > or we'll do a lot of work for nothing. I think I disagree here (hmm, it's probably better to say that I agree, but I ag...
https://mail.python.org/pipermail/python-dev/2000-March/002872.html
CC-MAIN-2016-44
refinedweb
309
77.16
If you have ever worked in a microservices environment, you probably are aware of how vital monitoring and observability are. Every outage can turn into a "murder mystery", where developers spend a significant amount of time uncovering what exactly went wrong and how it could have been prevented. This blog post aims to...
https://dev.to/wojciechmatuszewski/two-lesser-known-ways-to-increase-observability-in-aws-lambda-based-applications-3jmh
CC-MAIN-2022-33
refinedweb
726
54.83
The Ever-Useful and Neat Subprocess Module The Ever-Useful and Neat Subprocess Module Join the DZone community and get the full member experience.Join For Free Deploying code to production can be filled with uncertainty. Reduce the risks, and deploy earlier and more often. Download this free guide to learn more. Brough...
https://dzone.com/articles/ever-useful-and-neat
CC-MAIN-2018-13
refinedweb
2,769
74.49
/* * OutputDocumentDocument</code> object is used to represent the * root of an XML document. This does not actually represent anything * that will be written to the generated document. It is used as a * way to create the root document element. Once the root element has * been created it can be committed by using this ...
http://simple.sourceforge.net/download/stream/report/cobertura/org.simpleframework.xml.stream.OutputDocument.html
CC-MAIN-2017-13
refinedweb
848
53.92
In this tutorial, you will learn how to write at specific line in text file. Java provides java.io package to perform file operations. Here, we are going to write the text to the specific line of the text file. In the given example, we have used LineNumberReader class to keeps track of line numbers. It seek to the desi...
http://www.roseindia.net/tutorial/java/core/writeAtSpecificLine.html
CC-MAIN-2016-40
refinedweb
142
61.63
Opened 10 years ago Closed 10 years ago #3687 closed (fixed) django.template needs settings already configured at import time Description The import: from django.conf import settings Raises: EnvironmentError: Environment variable DJANGO_SETTINGS_MODULE is undefined. Which makes it impossible to use settings.configure()...
https://code.djangoproject.com/ticket/3687
CC-MAIN-2017-17
refinedweb
364
59.6
Opened 7 years ago Closed 11 months ago #15835 closed defect (duplicate) Smith Normal Form Integers Mod 2 TypeError: submatrix() takes exactly 4 positional arguments(2 given) Description (last modified by ) Try the following (Mac OS X Mavericks, Sage 6.11 Master Branch): A = Matrix(IntegerModRing(2),[[1,0,2],[1,0,1]]) ...
https://trac.sagemath.org/ticket/15835
CC-MAIN-2021-17
refinedweb
1,210
57.71
Monoids A monoid is a simple concept. It is a generalization of some patterns that you very likely already have seen. Being aware of those can help in designing some operations, and can simplify things. Without much further ado, let us look at three simple math equations. Table of Content - Binary Operations - Associat...
http://sidburn.github.io/blog/2016/05/24/monoids
CC-MAIN-2018-43
refinedweb
2,174
59.9
On Mon, Dec 22, 2003 at 07:07:27PM +0100, Christophe Saout wrote: > Hi Joe, > > > #if 0 > > /* FIXME: not convinced by this */ > > if (current->flags & PF_FREEZE) > > refrigerator(PF_IOTHREAD); > > #endif > > I've got a notebook some time ago and just checked: > > Without this refrigerator thing suspend to ram fails: k...
http://www.redhat.com/archives/dm-devel/2003-December/msg00020.html
CC-MAIN-2014-42
refinedweb
334
80.31
edward17 wrote:Not that I'm aware of. Is there such a thing as a paste event? I would like to filter the results of a paste action (keys or mouse) and respond differently if, say, the string is 4 characters versus 12.I'm assuming you're referring to pasting text into a TextInputControl (TextField or TextArea). You have...
https://community.oracle.com/message/10729581
CC-MAIN-2015-22
refinedweb
250
62.04
Designing Software With Swift (Part III): Type-Based Design Without Protocols Designing Software With Swift (Part III): Type-Based Design Without Protocols Look over another design option in Swift, and learn why it's maybe better than you'd expect. Join the DZone community and get the full member experience.Join For Fr...
https://dzone.com/articles/designing-software-with-swift-part-iii-type-based
CC-MAIN-2018-43
refinedweb
373
59.7
Often in statistics and machine learning, we normalize variables such that the range of the values is between 0 and 1. The most common reason to normalize variables is when we conduct some type of multivariate analysis (i.e. we want to understand the relationship between several predictor variables and a response varia...
https://www.statology.org/normalize-data-in-python/
CC-MAIN-2021-39
refinedweb
629
72.87
En Thu, 29 Mar 2007 14:42:33 -0300, Mitko Haralanov <mitko at qlogic.com> escribió: > I have three modules that a comprising the problem: > ./core.py > ./log.py > ./resources/simple/__init__.py Surely there is a ./resources/__init__.py too? > The problem that I am seeing is that 'global_info' in the log.py module > is ...
https://mail.python.org/pipermail/python-list/2007-March/457709.html
CC-MAIN-2016-40
refinedweb
188
66.74
Detecting in C++ whether a type is defined, part 5: Augmenting the basic pattern Raymond As I noted at the start of this series, React Native for Windows has to deal with two axes of agility. - It needs to compile successfully across different versions of the Windows SDK. - It needs to run successfully across different...
https://devblogs.microsoft.com/oldnewthing/20190712-00/?p=102690
CC-MAIN-2020-34
refinedweb
1,414
61.26
gilmsg 0.1.2 A reliability layer on top of fedmsg What is “Reliability”? Every few months, a discussion comes up about fedmsg reliability. Typically, a team somewhere in the Fedora Project will be looking into how they can streamline their workflows by either using data from or sending data to the bus. We end up having...
https://pypi.python.org/pypi/gilmsg
CC-MAIN-2017-09
refinedweb
1,353
55.64
mq_send - send a message to a message queue (REALTIME) #include <mqueue.h> int mq_send(mqd_t mqdes, const char *msg_ptr, size_t msg_len, unsigned int msg_prio); The mq_send() function adds the message pointed to by the argument msg_ptr to the message queue specified by mqdes. The msg_len argument specifies the length o...
http://pubs.opengroup.org/onlinepubs/7990989775/xsh/mq_send.html
CC-MAIN-2014-49
refinedweb
179
59.94
165663/orange-data-mining-and-logistic-regression A statistical classification method that fits data to a logistic function is known as logistic regression. Orange adds features to the approach such as stepwise variable selection and handling of constant variables and singularities. The code below will help you underst...
https://www.edureka.co/community/165663/orange-data-mining-and-logistic-regression
CC-MAIN-2022-21
refinedweb
318
53.78
Functions and constants that use the C language syntax have prefixes that indicate the type of functionality. For example, general utility functions have an "lr" prefix, constants have an "LR" prefix, Web functions have a "web" prefix, FTP functions have an "ftp" prefix, and so on. With object oriented languages, funct...
https://admhelp.microfocus.com/vugen/en/12.60-12.61/help/function_reference/Content/FuncRef/_Direct/lrFuncRef_allp_Func_Const_Pref.htm
CC-MAIN-2018-51
refinedweb
372
50.63
Is there a bug to promote widget in qt creator? I have a program which already have a qPlainTextEdit promoted at the beginning state of the project. Now when it is almost finish, I suddenly want to promote another widget which is a qTextBrowser. So I follow the steps. But I cannot make this done. There is no error and ...
https://forum.qt.io/topic/60801/is-there-a-bug-to-promote-widget-in-qt-creator
CC-MAIN-2018-13
refinedweb
325
76.52
Support for right to left languages The Vaadin component set supports now RTL writing systems. Follow the documentation on how to make sure your UI code is compatible with RTL and how to implement localization in your app. The bookstore example project has an rtl-demo branch for a full localization example. import com....
https://vaadin.com/releases/vaadin-16
CC-MAIN-2021-31
refinedweb
253
50.53
This example shows how to create an object from a MATLAB® handle class and call its methods in Python®. In your current folder, create a MATLAB handle class in a file named Triangle.m. classdef Triangle < handle properties (SetAccess = private) Base = 0; Height = 0; end methods function TR = Triangle(b,h) TR.Base = b; ...
https://se.mathworks.com/help/matlab/matlab_external/use-matlab-handle-objects-in-python.html
CC-MAIN-2021-04
refinedweb
251
71.31
A space to allow the composition of state spaces. More... #include <ompl/base/StateSpace.h> Detailed Description A space to allow the composition of state spaces. Definition at line 573 of file StateSpace.h. Member Function Documentation ◆ as() [1/2] Cast a component of this instance to a desired type. Make sure the ty...
http://ompl.kavrakilab.org/classompl_1_1base_1_1CompoundStateSpace.html
CC-MAIN-2017-22
refinedweb
165
50.53
Extension for os module, for POSIX systems only Project description filesystem module import filesystem as fs Testing if a path is a file (shortcut for try/with open): fs.isfile('something') fs.isfile('something', mode='r') Shortcut for rsync -a Uses `sh module <>`__. fs.sync('name@somehost:~/somedir/', 'local_path') f...
https://pypi.org/project/OSExtension/0.1.5/
CC-MAIN-2022-40
refinedweb
213
52.87
Best Practices for the SQL Adapter Authors: Dwaine Gilmer, John Taylor, Matthew Yip Published: May 2008 The SQL adapter, which is integrated with Microsoft® BizTalk® Server, is designed for sharing data between BizTalk Server and Microsoft SQL Server™ databases. Although the SQL adapter is ideal for accessing SQL Serve...
https://technet.microsoft.com/en-US/library/cc507804(v=bts.10).aspx
CC-MAIN-2018-05
refinedweb
3,810
51.28
Using Partial Renders with Nancy rather than Render Actions like MVC Today on twitter, Phil Jones (@philjones88) asked how you would do RenderAction (ASP.NET MVC extension) I personally don't like RenderAction in MVC, that's not to say it's bad, I just think it hides away important implementation of a page render. I th...
http://www.philliphaydon.com/2012/11/using-partial-renders-with-nancy-rather-than-render-actions-like-mvc/
CC-MAIN-2014-42
refinedweb
340
53.41
Red Hat Bugzilla – Bug 127273 Segmentation fault for java (gcj) involving precedence Last modified: 2007-11-30 17:10:45 EST Description of problem: When parens are omitted in the following expression: String s = "abc" + (i instanceof Integer); a segmentation fault occurs. The type of i does not appear to matter, i.e. a...
https://bugzilla.redhat.com/show_bug.cgi?id=127273
CC-MAIN-2017-04
refinedweb
371
58.99
Writen by Chris Piech Your goal is to fill the first row of Karel's world with beepers. You can assume that Karel starts in the bottom left corner, facing east. For example, if you ran your program on the world on the left, it should produce the world on the right. /** * Program: BeeperLine * ------------------- * Fill...
http://web.stanford.edu/class/cs106a/examples/beeperLine.html
CC-MAIN-2019-09
refinedweb
131
78.18
The world's most viewed site on global warming and climate change From AGU 27 February 2019 Posted by llester?” Read the full article here: Don’t think many submarines use magnetic field for orientation …. look up “SINS” …. I doubt that they do. However, I was a Air Force navigator in the 1960s and 1970s and crossed th...
https://wattsupwiththat.com/2019/02/28/old-stone-walls-record-history-of-earths-magnetic-wanderings/
CC-MAIN-2022-05
refinedweb
4,236
68.81
Here is a normal implementation of Pollard's Rho algorithm. ll c = 1; ll g(ll x, ll n){ return (x*x+c)%n; } ll po(ll n){ ll x = 2, y = 2, d = 1; while (d==1){ x = g(x,n); y = g(g(y,n),n); d = __gcd(llabs(x-y),n); } if (d==n) return -1; return d; } However, the product x*x will overflow if n is too big (outside of int r...
https://codeforces.com/blog/entry/70247
CC-MAIN-2020-40
refinedweb
102
60.28
Hilbert Matrix A Hilbert Matrix is a square matrix whose each element is a unit fraction. Properties: - It is a symmetric matrix. - Its determinant value is always positive. Examples: Input : N = 2 Output : 1 0.5 0.5 0.33 Input : N = 3 Output : 1.0000 0.5000 0.3333 0.5000 0.3333 0.2500 0.3333 0.2500 0.2000 Mathematical...
https://www.geeksforgeeks.org/hilbert-matrix/
CC-MAIN-2019-22
refinedweb
317
58.42
Research area From HaskellWiki Revision as of 09:42, 29 May 2011 2 . The key ideea Those monadic replacements for data constructors are simultaneously syntax and semantics and works with every monad ! The main ideea is extremely simple: a data constructor as those defined in a data declaration can be replaced with some...
https://wiki.haskell.org/index.php?title=Research_area&diff=40185&oldid=39429
CC-MAIN-2015-35
refinedweb
214
66.84
Snapshot Testing Snapshot tests are a very useful tool whenever you want to make sure your UI does not change unexpectedly.. Snapshot Testing with Jest A similar approach can be taken when it comes to testing your React components. Instead of rendering the graphical UI, which would require building the entire app, you ...
https://jestjs.io/docs/snapshot-testing
CC-MAIN-2022-21
refinedweb
2,223
53.41
I'm new to this forum,hope that my code will display below. I am doing my first program with scanners and converting values, i started off with integers but that was not realistic so i changed to double however the output import java.util.Scanner; public class Milestokm { public static void main(String[] args) { //Conv...
http://www.dreamincode.net/forums/topic/294478-new-to-java-trying-to-truncate-a-double-from-15-decimal-places-to-2/page__pid__1716907__st__0&#entry1716907?s=b94cb3295b0502841874312860700343
CC-MAIN-2016-50
refinedweb
133
56.45
Is there an easy way to identify which version of a Project (maybe by git hash?) was used to retrain a particular model? The use case I'm considering is as follows. I would like to version my training data so that each time the training data in the flow is updated and the model is retrained (possibly manually or throug...
https://community.dataiku.com/t5/Using-Dataiku/Generating-Project-Identifier-for-Versioning-Training-Data/m-p/13011/highlight/true
CC-MAIN-2021-49
refinedweb
310
69.31
This Eclipse after finishing the installation. This tutorial uses the Kepler version of Eclipse IDE. The view of the Eclipse IDE should be as shown in the figure 1-1. Figure 1.1 Install EclipseLink JAR Files - Download EclipseLink 2.5.1 Installer Zip from the eclipse organization site or follow this link link. That con...
https://javabeat.net/eclipselink-jpa-installation-configuration/
CC-MAIN-2017-51
refinedweb
1,046
61.02
Provided by: ejabberd_16.01-2_amd64 NAME ejabberdctl — a control interface of ejabberd Jabber/XMPP server SYNOPSIS ejabberdctl [--node nodename] [--auth user host password] [command [options]] DESCRIPTION ejabberdctl is a front end to the ejabberd Jabber/XMPP server. It is designed to help the administrator control the...
http://manpages.ubuntu.com/manpages/xenial/man8/ejabberdctl.8.html
CC-MAIN-2020-34
refinedweb
3,601
53.31
The groupby utility from the itertools module can be used to group contiguous items in a sequence based on some property of the items. Python has several utilities for working with lists and other sequence data types. In addition to a lot of such utilities being directly available as builtins (like map, filter, zip etc...
https://sharats.me/posts/python-itertools-groupby-callable/
CC-MAIN-2020-10
refinedweb
1,575
59.53
What(); } } using System; class Foo BaseConstructor() { ObjectConstructor(); baseFoo = new Foo(“Base initializer”); Console.WriteLine(“Base constructor”); } DerivedConstructor() { BaseConstructor(); derivedFoo = new Foo(“Derived initializer”); Console.WriteLine(“Derived constructor”); } // Expected When in point of fac...
https://blogs.msdn.microsoft.com/ericlippert/2008/02/15/why-do-initializers-run-in-the-opposite-order-as-constructors-part-one/
CC-MAIN-2016-22
refinedweb
1,477
62.48
Thank you all, (you are responding so quick that I consider to stop thinking myself in the future and just ask). Jürgen Am Donnerstag, den 26.08.2010, 00:02 -0400 schrieb Edward Z. Yang: > Excerpts from Jürgen Nicklisch-Franken's message of Wed Aug 25 23:32:51 -0400 2010: > > instance Arbitrary QCExample where > > arbi...
http://www.haskell.org/pipermail/haskell-cafe/2010-August/082705.html
CC-MAIN-2014-10
refinedweb
132
54.76
I'm using JQuery Flot Charts within my MVC 5 application. I wish to create horizontal bar charts, and this tutorial is helpful The following 3 lines of code pass in the data that the chart plugin uses to create the chart var rawData = [[1582.3, 0], [28.95, 1], [1603, 2], [774, 3], [1245, 4], [85, 5], [1025, 6]]; var da...
https://codedump.io/share/sYUkeGzh4ZXJ/1/pass-json-data-to-mvc-razor-view
CC-MAIN-2017-43
refinedweb
290
56.79
WinAPI (also known as Win32; officially called the Microsoft Windows API) is an application programming interface written in C by Microsoft to allow access to Windows features. The main components of the WinAPI are: See Also: Versions of the API are tied to the operating system version. MSDN documentation specifies the...
https://riptutorial.com/winapi
CC-MAIN-2019-22
refinedweb
711
53.71
Every time I need to do import Ember from 'ember' to be able to use Ember.testing in a conditional, I cringe a bit. In an ecosystem on the fast track to Embroider, it seems a huge opportunity cost to have to import the whole Ember module as Embroider will then need to pull in everything so we can’t tree shake the unuse...
https://discuss.emberjs.com/t/is-there-an-alternative-to-using-ember-testing/19215
CC-MAIN-2021-49
refinedweb
194
71.24
Last time we started looking at Unit testing using Cinch. In this article, I will be looking at the following: The demo app makes use of: I guess the only way to do this is to just start, so let's get going, shall we? But before we do that, I just need to repeat the special thanks section, with one addition, Paul Stove...
http://www.codeproject.com/Articles/38926/WPF-If-Carlsberg-did-MVVM-Frameworks-Part-6-of-n
CC-MAIN-2015-40
refinedweb
765
51.72
190,179 times. Learn more... Annualization is a predictive tool that estimates the amount or rate of something for an entire year, based on data from part of a year. This tool is primarily used for taxes and investments. If you're paying estimated taxes, you'll need to annualize your income to determine how much tax t...
https://www.wikihow.com/Annualize
CC-MAIN-2020-45
refinedweb
2,122
64
When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots. #include <wx/wx.h> Ok, thx.Taking a look at the plugin source I saw the line:Code: [Select]#include <wx/wx.h>So do I need wxWidgets to compile myself? Quote from: jens on May 02, 2010, 11:37:10 amAdd DoxyBl...
http://forums.codeblocks.org/index.php?topic=12052.msg85916
CC-MAIN-2019-39
refinedweb
546
75.3
FFLUSH(3) BSD Programmer's Manual FFLUSH(3) fflush, fpurge - flush a stream #include <stdio.h> int fflush(FILE *stream); int fpurge(FILE *stream); The function fflush() forces a write of all buffered data for the given output or update stream via the stream's underlying write function. The open status of the stream is ...
http://www.mirbsd.org/htman/i386/man3/fflush.htm
CC-MAIN-2014-10
refinedweb
117
72.76
Opened 10 years ago Closed 9 years ago Last modified 8 years ago #329 closed defect (fixed) RSS framework needs an easier interface Description GarthK came up with a cool simpler interface to rss.FeedConfiguration: We should use it, or something close to it. Attachments (2) Change History (15) Changed 10 years ago by j...
https://code.djangoproject.com/ticket/329
CC-MAIN-2015-14
refinedweb
314
58.76
This article is the third in a three-part series exploring EJB 3.0 as defined in the public draft. Each article has introduced particular concepts from the specification and has walked you through the implementation of these techniques using JBoss. The first article introduced EJB 3.0, the philosophy behind it, and ill...
http://www.devx.com/Java/Article/30496
CC-MAIN-2014-42
refinedweb
520
55.13
Re: Trouble with $key to HASH when Numeric From: Jim Gibson (jgibson_at_mail.arc.nasa.gov) Date: 03/04/05 - Previous message: Joe Smith: "Re: Trouble with $key to HASH when Numeric" - In reply to: CowBoyCraig: "Trouble with $key to HASH when Numeric" - Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] Date...
http://coding.derkeiler.com/Archive/Perl/comp.lang.perl/2005-03/0031.html
crawl-002
refinedweb
467
73.07
Written By Leo Yorke, Edited By Lewis Fogden Thu 23 November 2017, in category Data science A common problem many data science projects face is where to source data from. One of the richest sources of external data is the web, and being able to access websites and retrieve data from them is a huge challenge when approa...
http://blog.keyrus.co.uk/a_simple_approach_to_webscraping_part_1.html
CC-MAIN-2022-05
refinedweb
1,350
68.6
Just a quick sanity check here. Can you ping a specific port of a machine, and if so, can you provide an example? I'm looking for something like ping ip address portNum. You can't ping ports, as Ping is using ICMP which doesn't have the concept of ports. Ports belong to the transport layer protocols like TCP and UDP. H...
https://serverfault.com/questions/309357/ping-a-specific-port/810274
CC-MAIN-2022-05
refinedweb
1,241
68.87
Programming guidelines From HaskellWiki Programming guidelines shall help to make the code of a project better readable and maintainable by the varying number of contributors. It takes some programming experience to develop something like a personal "coding style" and guidelines only serve as rough shape for code. Guid...
https://wiki.haskell.org/index.php?title=Programming_guidelines&oldid=44957
CC-MAIN-2015-35
refinedweb
2,535
62.78
. I have written a sample program where we can create our own printf function with LOG LEVEL. At present I am just supporting the option to print a character, string and a integer. #include <stdio.h> #include <stdarg.h> //LOG LEVELS typedef enum { LOG_DEFAULT, LOG_INFO, LOG_ERROR, LOG_DEBUG }LOG_LEVEL; void LOG_TRACE(L...
http://codingfreak.blogspot.com/2010/08/printing-logs-based-on-log-levels-in-c.html
CC-MAIN-2017-47
refinedweb
186
64.64
import java.util.Scanner; public class Multiples { public static void main (String [] args) { final int PER_LINE = 5; int value, limit, mult, count = 0; Scanner scan = new Scanner ( System.in); System.out.print(" Enter a positive value: " ); value = scan.nextInt(); System.out.print( " Enter an upper limit: " ); limit =...
http://www.javaprogrammingforums.com/java-theory-questions/36637-difficulty-understanding-code-loop.html
CC-MAIN-2015-22
refinedweb
223
59.23
This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project. >>>>> ">" == Weimin Pan <weimin.pan@oracle.com> writes: >> This patch adds the CTF (Compact Ansi-C Type Format) support in gdb. Thank you for the patch. >> Two submissions on which this gdb work depends were posted earlier >> i...
https://sourceware.org/legacy-ml/gdb-patches/2019-07/msg00553.html
CC-MAIN-2020-16
refinedweb
609
66.74
ArcGIS 10.1 could you elaborate? Do you want to sort those points by angle? Do you want to move those points on to a circle? What developmenet language (python etc) Given those points, you may as well create new points that are on a circle if that indeed represents your attempt to create points on a circle. I want like...
https://community.esri.com/t5/developers-questions/how-to-arrange-points-by-circle-or-by-star/m-p/7610/highlight/true
CC-MAIN-2022-33
refinedweb
347
67.86
Red Hat Bugzilla – Full Text Bug Listing Description of problem: The davix source tree contains many libraries that should be unbundled according to the guidelines. deps/libneon/ → Use BuildRequires: neon-devel instead deps/strlcpy/ → Use BuildRequires: libbsd-devel instead #include <bsd/string.h> -lbsd test/gtest-1.6....
https://bugzilla.redhat.com/show_bug.cgi?format=multiple&id=995688
CC-MAIN-2016-26
refinedweb
419
52.8
I have written a lot of Mobile Apps for clients using everything including React Native, Xarmin, Cordova, Ionic, Sencha Touch, PhoneGap, NativeScript, and all of the other common Mobile Frameworks. But these 3rd Party Frameworks are NOT needed at ALL. They are just add unnecessary bulk and create issues with each new r...
https://www.codeproject.com/Articles/1175045/Angular-Mobile-Apps
CC-MAIN-2019-39
refinedweb
8,390
55.03
Leo Simons wrote: > Just two cents (or a little more) from the peanut gallery... > > On Tue, Mar 21, 2006 at 10:45:42PM -0500, Geir Magnusson Jr wrote: >> Tim Ellison wrote: >>> Just to clarify terminology -- unit tests are a 'style' of test that >>> focus on particular units of functionality. Unit tests can be both >>...
http://mail-archives.apache.org/mod_mbox/harmony-dev/200603.mbox/%3C44213804.4000201@pobox.com%3E
CC-MAIN-2014-41
refinedweb
1,252
73.07
Pygame_SDL2 Documentation¶ There isn’t much pygame_sdl2-specific documentation at the moment. Since pygame_sdl2 tries to follow pygame as closely as possible, the best reference is the pygame documentation: The list of what has been implemented can be found in the README: An Android packaging example can be found at: T...
https://pygame-sdl2.readthedocs.io/en/latest/
CC-MAIN-2020-45
refinedweb
561
59.7
Yes, I have even more on generating XML output. This time the idiom is more DOM-like, building node objects rather than sending commands to a single output aggregator object, as with the output tools I have examined previously. Rich Salz posted a simplenode.py (June 2001), a very small DOM module ("femto-DOM") with an ...
http://www.xml.com/pub/a/2003/11/12/py-xml.html
crawl-001
refinedweb
2,054
50.53
. The OpenShift team takes a three-week-sprint "cut" from the Origin version for the Online version on a monthly basis. OpenShift Online runs on Red Hat Enterprise Linux (RHEL) hosted on Amazon and has seen roughly 1.8 million total apps deployed. Any bugs that surface under this heavy use are fixed in the Origin versi...
http://www.infoworld.com/article/2608445/cloud-computing/review--openshift-shines-for-developers-and-ops.html
CC-MAIN-2015-14
refinedweb
997
52.7
Keyboard status, as used in the Event struct. More... #include <keyboard.h> List of all members. Keyboard status, as used in the Event struct. Definition at line 285 of file keyboard.h. KEYCODE_INVALID [inline] Definition at line 316 of file keyboard.h. 0 Definition at line 322 of file keyboard.h. Check whether the non...
https://doxygen.residualvm.org/da/dee/structCommon_1_1KeyState.html
CC-MAIN-2020-40
refinedweb
340
77.13
[ ] james strachan commented on AMQ-340: ------------------------------------ Its been a while - I've kinda forgotten :) I think the idea was to allow different 'roots'. By default in JMS there is one global topic namespace where > will receive every message. In WS-Notification you can have many 'root's. e.g. its a bit...
http://mail-archives.apache.org/mod_mbox/activemq-dev/200607.mbox/%3C2120126.1151924271507.JavaMail.jira@brutus%3E
CC-MAIN-2017-22
refinedweb
211
63.09
24 February 2010 17:49 [Source: ICIS news] By Nel Weddle LONDON (ICIS news)--Initial European propylene (C3) settlements for March contracts at €910/tonne ($1,246/tonne), up by €35, have surprised market participants with some expecting a higher figure while others were poised for a lower one, sources said on Wednesday...
http://www.icis.com/Articles/2010/02/24/9337682/europe-propylene-players-meet-initial-march-contract-with-surprise.html
CC-MAIN-2015-22
refinedweb
570
58.42
Related Question Nodes never seem to finish provisioning from the web UI? Hi all, I recently created a new cluster. After some hours, it appears the pods in the kube-system namespace haven’t finished initializing (still pending), and the web UI shows my nodes as still in the process of provisioning. Is anyone else expe...
https://www.digitalocean.com/community/questions/nodes-never-seem-to-finish-provisioning-from-the-web-ui
CC-MAIN-2020-45
refinedweb
103
67.35
Building Single-Page Applications Using jQuery And ColdFusion With Ben Nadel (Video Presentation) The following video and slide show is my presentation: Building Single-Page Applications With jQuery and ColdFusion.. The video is broken up based on a Table of Contents. At the bottom of the video, next to the time line, ...
http://www.bennadel.com/blog/1730-building-single-page-applications-using-jquery-and-coldfusion-with-ben-nadel-video-presentation.htm
CC-MAIN-2014-15
refinedweb
6,014
73.78
It looks like you're new here. If you want to get involved, click one of these buttons! I have tried the following code: filename="..." import pya lo = pya.LoadLayoutOptions() layout.read(filename+".dxf") layout2 = pya.Layout() layout.copy_layer(layout.layer(40,0),layout2.layer(40,0)) filename2=filename+"_EL" layout2.w...
https://www.klayout.de/forum/discussion/2085/copying-a-layer-and-its-content-to-a-new-file
CC-MAIN-2022-33
refinedweb
729
73.78
Throughout this tutorial ,we are going to see how to build a Facebook messenger bot using Python and Django framework . The Facebook messenger platform is one of the biggest platforms for messaging on the Internet in these days . If you are a business and your have a Facebook page that it might be a good idea to provid...
https://www.techiediaries.com/facebook-messenger-bot-python-django/
CC-MAIN-2017-43
refinedweb
1,004
61.56
This tutorial is part of the Introduction to the ADF APS components and details how to manage custom stencils with Alfresco ADF. Now that we know how to create an ADF widget to override an existing APS stencil, let’s see how to face the development of a custom stencil and how the custom stencil can be managed into an A...
https://community.alfresco.com/docs/DOC-6610
CC-MAIN-2017-30
refinedweb
2,335
62.48