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
> Jumping and framerate independence. Tried solutions, didn't like. Here is simple example that demonstrates the point - empty scene, attached this to gameobject: using UnityEngine; using System.Collections; public class jumpTest : MonoBehaviour { private float velocityY = 0; private int counter = 0; private float jump...
https://answers.unity.com/questions/1175418/yet-another-timedeltatime-question.html?sort=oldest
CC-MAIN-2019-26
refinedweb
1,099
68.06
DEBSOURCES Skip Quicknav sources / subversion / 1.9.5-1+deb9u subversion (1.9.5-1+deb9u3) stretch; urgency=medium * Backport r1827688, fixing a regression introduced in the fixes for SHA1 collisions, where commits would incorrectly fail with a "Filesystem is corrupt" error if the delta length is a multiple of 16K. -- J...
https://sources.debian.org/src/subversion/1.9.5-1+deb9u3/debian/changelog/
CC-MAIN-2019-26
refinedweb
5,095
53.98
OOP gives data hiding, i.e., a nonmember function cannot access an object’s private or protected data. Have you heard about Friend function? We use this function In object-oriented programming. A friend function, that is a “friend” of a given class, is a function that is given the same access as methods to private and ...
https://coderinme.com/find-age-using-friend-function-in-class/
CC-MAIN-2019-13
refinedweb
559
61.56
HAWAIIAN GAZETTE. : ; TUESDAY; DECEMBER' 2$, 1917. r-SEMT.WEgKLY. PEACE TEUuS FAIL IB IET TEUTON IDEAS Flat Turning Down of Proposals Brfrrtjs Abrupt Cessation To Pourparlers and .Delegates Called Back To Petronrad ; GERMAN RULERS HAVE fflO ' ; ; ; ; IDEA' OF YIELDING urbanization qi new unraine C-!-i!-.- - ff ' tl III...
http://chroniclingamerica.loc.gov/lccn/sn83025121/1917-12-25/ed-1/seq-5/ocr/
CC-MAIN-2017-04
refinedweb
4,637
69.41
Collection. 15 October 2014 Contents - First encounters - Defining Collection Pipeline - Exploring more pipelines and operations - Alternatives - Nested Operator Expressions - Laziness - Parallelism - Immutability - When to Use It Sidebars The collection pipeline is one of the most common, and pleasing, patterns in sof...
http://martinfowler.com/articles/collection-pipeline/
CC-MAIN-2014-42
refinedweb
6,764
59.64
Up to [cvs.NetBSD.org] / src / lib / libc / gen Request diff between arbitrary revisions Default branch: MAIN Revision 1.12.56.1 / (download) - annotate - [select for diffs], Tue Oct 30 18:58:48 2012 UTC (3 years, 6:44 2012 UTC (3 years, 10,], Fri Oct 16 12:47:45 1998 UTC (17 years,.9: +6 -2 lines Diff to previous 1.9 ...
http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libc/gen/signal.c
CC-MAIN-2016-22
refinedweb
526
85.49
Chapter 12: Componentes e plugins - TODO":: Trapped Ajax links Normally a link is not trapped, and by clicking in a link inside a component, the entire linked page is loaded. Sometimes you want the linked page to be loaded inside the component. This can be achieved using the A helper:_1<< The files that compose a plugi...
http://web2py.com/books/default/chapter/37/12/componentes-e-plugins-todo
CC-MAIN-2017-22
refinedweb
204
54.76
Help:Collections/Feedback< Help:Collections Wikibooks Collections Create a collection · About printed books · Help for beginners · Help for experts · Questions · Post feedback · All collections Proposal: require javascriptEdit Please make it possible, that javascript is not needed to use this nice service. Thanks! - Ad...
https://en.m.wikibooks.org/wiki/Help:Collections/Feedback
CC-MAIN-2017-51
refinedweb
2,285
61.56
Diamond - 0.25 ct - Round - D (colourless) - SI1 Comes with an GIA gemological Diamond focus report. (Includes: official GIA sticker results, laser inscription of report number on the diamond and full report on gia.edu website). GIA is the world’s foremost authority on diamonds. We ship with FedEx delivery, tracable an...
https://www.catawiki.es/l/27957021-1-pcs-diamante-0-25-ct-redondo-d-incoloro-si1-gia
CC-MAIN-2020-34
refinedweb
148
56.86
Hi, guys!! I'm Sridhar Janardhan back with another ibles.Today I am going to teach you how to send data from mobile to Arduino and display using it an LCD.This is achieved by using HC-05 Bluetooth module. Step 1: Components Required: The components required for this ibles are: - Arduino Uno - Breadboard - LCD - Bluetoo...
https://www.instructables.com/id/LCD-Display-Via-Bluetooth/
CC-MAIN-2019-04
refinedweb
485
74.19
Re: Decompiler.NET reverse engineers your CLS compliant code From: Jonathan Pierce (support_at_junglecreatures.com) Date: 09/25/04 - ] Date: Sat, 25 Sep 2004 18:33:36 GMT > Isn't that a matter of perspective? tiny to you... perhaps could have > cost > a business money... Not too small to them is it? Our customers test ...
http://www.tech-archive.net/Archive/DotNet/microsoft.public.dotnet.languages.vb/2004-09/4928.html
crawl-002
refinedweb
1,068
54.86
Cannot added DFS namespace to 2012 server - Saturday, January 12, 2013 1:24 AM I have a DFS namespace that was created on a Windows 2003R2 server many years ago. We recently added a new branch location and put out our first Server 2012 DC (which was an upgrade from a 2008R2 server that was on a different domain owned b...
http://social.technet.microsoft.com/Forums/en-US/winserverfiles/thread/92bc6714-a1b0-470a-859d-bd05678494bb
CC-MAIN-2013-20
refinedweb
695
63.93
>>? From Good Code to GreatNovember 12, 2010 at 11:15 AM | Tags: python, documentation, testing, thoughts, narrative This post was import from an earlier version of this blog. Original here. Why For code, documentation and tests separate the good from the great. No big surprise there; we already know we should be writi...
http://i.wearpants.org/blog/from-good-code-to-great/
CC-MAIN-2014-42
refinedweb
862
72.05
Glossary¶ This is a glossary for some definitions used in this documentation and still under construction. - .po The file format used by the gettext translation system. - Acquisition Simply put, any Zope object can acquire any object or property from any of its parents. That is, if you have a folder called A, containin...
https://docs.plone.org/appendices/glossary.html
CC-MAIN-2020-16
refinedweb
3,465
56.25
') The declaration inside the class body is not a definition and may declare the member to be of incomplete type (other than void). struct Foo; struct S { static int a[]; // incomplete type static Foo x; // incomplete type }; int S::a[10]; // definition, complete type struct Foo {}; Foo S::x; // definition, complete ty...
http://en.cppreference.com/mwiki/index.php?title=cpp/language/static&oldid=65657
CC-MAIN-2015-40
refinedweb
173
56.86
This solves LPs using the dual simplex method. More... #include <AbcSimplexDual.hpp> This solves LPs using the dual simplex method. It inherits from AbcSimplex. It has no data of its own and is never created - only cast from a AbcSimplex object at algorithm time. Definition at line 49 of file AbcS Abcs (copy from ClpSi...
https://www.coin-or.org/Doxygen/Clp/classAbcSimplexDual.html
CC-MAIN-2021-21
refinedweb
375
64.91
Join the community to find out what other Atlassian users are discussing, debating and creating. Hello, I would like to capture the issue closed date and time to a custom field, I have created the custom field as Date and time picker and added the post function to write the date to the custom field. I have added the gr...
https://community.atlassian.com/t5/Jira-Software-discussions/Get-the-close-date-to-Custom-field/m-p/1374712
CC-MAIN-2021-49
refinedweb
218
66.23
Hi, Please welcome a new CLion 2018.3 EAP (build 183.2940.13)! Last week CLion 2018.3 Early Access Program started with the Initial Remote Development support. This week a new build is available and it addresses an issue with the symlinks used in header search paths (CPP-14211). Talking about the header search paths, w...
https://blog.jetbrains.com/clion/2018/09/clion-2018-3-eap-fixes-for-remote-dev-and-more/?replytocom=73851
CC-MAIN-2019-22
refinedweb
434
73.58
POA’s token of WHO lists snake bites Battle for Firms lose land in appreciation amongst top 20 killers telecom market industrial parks Issue No. 533 Aug 10 - 16, 2018 Ushs 5,000,Kshs 200, RwF 1,500, SDP 8 Fresh storm at Bank of Uganda Mutebile, Kasekende fight cited in Mobile Money tax saga Finance summons Mutebile Sta...
https://www.scribd.com/document/386393819/THE-INDEPENDENT-Issue-533-pdf
CC-MAIN-2019-35
refinedweb
17,856
57.5
When I select an option in a radio group, the selection is focused (I can see the styled highlighting) but not selected. When the radio group is blurred (loses focus), the selected item now appears selected. Figure: Item selected and programmatic selection successful, but radio button is not checked Figure: Once I clic...
https://www.telerik.com/forums/radio-button-not-selected-until-blur
CC-MAIN-2022-33
refinedweb
427
60.45
Angular support. If you are using Angular 5, consider upgrading to the newer HttpClient. You can find a tutorial for the HttpClient service in my post Angular 5: Making API calls with the HttpClient service. In my previous article, Angular 2: HTTP, Observables, and concurrent data loading, we investigated querying data...
https://www.metaltoad.com/blog/angular-2-using-http-service-write-data-api
CC-MAIN-2020-16
refinedweb
1,161
56.05
The changed in a string. Example malyalam 1 Explanation If we can add ‘a’ to the initial string, we can create a palindrome. madaam 1 Explanation Either add ‘d’ or ‘a’ to make the original string palindrome. Algorithm - Set length of the string to l and output to 0. - Declare an integer array. - Store and maintain the ...
https://www.tutorialcup.com/interview/string/minimum-insertions-to-form-a-palindrome-with-permutations-allowed.htm
CC-MAIN-2021-25
refinedweb
580
71.44
LineType Since: BlackBerry 10.0.0 #include <bb/system/phone/LineType> To link against this class, add the following line to your .pro file: LIBS += -lbbsystem The types of phone lines available for making calls. You must also specify the access_phone permission in your bar-descriptor.xml file. Overview Public Types Ind...
http://developer.blackberry.com/native/reference/cascades/bb__system__phone__linetype.html
CC-MAIN-2016-50
refinedweb
137
64.57
This chapter covers the following topics: Oracle BI Publisher can retrieve data from multiple types of data sources. To create a new data set: On the component pane of the data model editor click Data Sets. Click New Data Set. Select the data set type from the list to launch the appropriate dialog. Complete the require...
http://docs.oracle.com/cd/E17904_01/bi.1111/e13881/T527073T527080.htm
CC-MAIN-2014-35
refinedweb
4,943
56.35
Perl Programming/Objects< Perl Programming ObjectsEdit When Perl was initially developed, there was no support at all for object-orientated (OO) programming. Since Perl 5, OO has been added using the concept of Perl packages (namespaces), an operator called bless, some magic variables (@ISA, AUTOLOAD, UNIVERSAL), the -...
https://en.m.wikibooks.org/wiki/Perl_Programming/Objects
CC-MAIN-2016-40
refinedweb
372
54.76
You can subscribe to this list here. Showing 4 results of 4 On Wed, Jan 17, 2007 at 06:49:08AM +0000, Tim Bradshaw wrote: > sudo is obviously a better answer than SUID programs, but I imagine > that whatever braindamage is breaking SUID programs should also break > anything running with UID 0, since it's the UID being ...
http://sourceforge.net/p/sbcl/mailman/sbcl-devel/?viewmonth=200701&viewday=17
CC-MAIN-2015-06
refinedweb
771
57.57
intermediate level candidate, if you are more experienced then the questions listed here may not be suitable for your interview. Based on the feedback from the readers, we are adding more questions into the list and updating the questions with the most appropriate answers. We are looking for the feedback on the questi...
http://javabeat.net/java-interview-questions/
CC-MAIN-2017-04
refinedweb
2,916
67.86
Threads have been around for some time, but few programmers have actually worked with them. There is even some debate over whether or not the average programmer can use threads effectively. In Java, working with threads can be easy and productive. In fact, threads provide the only way to effectively handle a number of ...
http://oreilly.com/catalog/expjava/excerpt/index.html
crawl-002
refinedweb
5,491
61.67
How do you convert decimal values to their hex equivalent in JavaScript? Convert a number to a hexadecimal string with: hexString = yourNumber.toString(16); and reverse the process with: yourNumber = parseInt(hexString, 16); The code below will convert the decimal value d to hex. It also allows you to add padding to th...
http://ebanshi.cc/questions/455/how-to-convert-decimal-to-hex-in-javascript
CC-MAIN-2017-22
refinedweb
1,767
64.71
This is your resource to discuss support topics with your peers, and learn from each other. 04-18-2013 05:37 AM - edited 04-18-2013 05:57 AM Hey... what to do, if i want to have different BAR files for z10 and q10 for my app? the way i thougt was to add a q10 release for my app and only tick q10 at "devices". but can i...
https://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/Different-BARs-for-z10-q10/m-p/2319087
CC-MAIN-2016-40
refinedweb
337
80.31
Writing tests and test cases is important in software engineering, however, it seems that a lot of people, especially new-baked developers are afraid of tests or simply evade to put them into practice. Need for unit testing Testing allows you to see if each small piece of code produces the desired outcome and if it wor...
https://able.bio/DavidLandup/how-to-write-tests-in-java-junit--000kx1c
CC-MAIN-2020-16
refinedweb
802
51.78
was going to remove the replication memberships for the one-way connections - and then remove the members completely. Once that is done I am thinking i will need to remove all of the one-way replicated data from the current 2ndary member server. ------------- That looks right - at least that's how we have done it in t...
https://www.experts-exchange.com/questions/26427307/What-is-the-fastest-way-to-replicate-DFS-data-to-new-member-server.html
CC-MAIN-2018-22
refinedweb
826
67.28
Django 1.0 Website Development — Save 50% Build powerful web applications, quickly and cleanly, with the Django application framework An important aspect of socializing in our application is letting users to maintain their friend lists and browse through the bookmarks of their friends. So, in this section we will build...
http://www.packtpub.com/article/building-friend-networks-with-django-1.0
CC-MAIN-2014-15
refinedweb
2,599
66.03
Related Tutorial Getting Started with Webpack +. This aim of this tutorial is to set up a development environment for a React application bundled using Webpack. While the merits of Webpack and other bundlers are continually compared, this tutorial will let you get started with Webpack and help you decide for yourself. ...
https://www.digitalocean.com/community/tutorials/react-getting-started-webpack-react
CC-MAIN-2020-34
refinedweb
674
58.79
Default implementation of map concatenation. More... #include <CompileTimeKeys.hpp> Default implementation of map concatenation. In the following some useful helper traits to modify keys are provided. IDE Support: To make it easier for the IDE's to deduce the type of the output keys, we always pass the type Enum_ to th...
https://docs.leggedrobotics.com/local_guidance_doc/structstd__utils_1_1ctk__concatenate.html
CC-MAIN-2019-18
refinedweb
122
50.94
I have only a few coding tricks to pass on: 1) Instances of self.exec_code = compile(self.exec_string,'<string>','exec') are probably better as self.exec_code = compile(self.exec_string,`self`,'exec') That way tracebacks from errors during compilation will identify the specific exec_code object that's in error. 2) > de...
http://www.python.org/search/hypermail/python-1994q1/0265.html
CC-MAIN-2013-20
refinedweb
540
65.83
> Wilkinson Charlie E wrote: > In the top level folder (root) I have a dtml method title template > that contains html code and dtml vars that are (intended to be) > populated by properties of various subfolders as well as a value or > two passed directly. The title template is "called" from dtml > methods in the root ...
https://www.mail-archive.com/zope@zope.org/msg01376.html
CC-MAIN-2017-04
refinedweb
179
61.77
[openchange]server stuff - thoughts on properties 2011-01-04 11:02:28 GMT Hi, I've been working on getting the server back running for mapistore_v2 branch, and one idea that seems quite useful is to treat all the folder information we need to add as just a set of named properties. So if we need a mailbox GUID and mailb...
http://blog.gmane.org/gmane.network.openchange.devel/month=20110101
CC-MAIN-2013-48
refinedweb
275
67.69
In this section, you will learn how to compute the sum of the squares of the array elements. For this, we have allowed the user to enter 5 numbers, to be stored into the array. Then we have initialized another array in order to store the square of these array elements. The elements of this array is then added and store...
http://roseindia.net/tutorial/java/core/squareOfArrayElements.html
CC-MAIN-2014-42
refinedweb
148
66.84
Translation Guidelines¶ To make Zulip even better for users around the world, the Zulip UI is being translated into a number of major languages, including Spanish, German, Hindi, French, Chinese, Russian, and Japanese, with varying levels of progress. If you speak a language other than English, your help with translati...
https://zulip.readthedocs.io/en/stable/translating/translating.html
CC-MAIN-2018-51
refinedweb
776
62.68
On 11.03.2018 17:29, MG wrote: > > > On 11.03.2018 14:58, Jochen Theodorou wrote: >> On 10.03.2018 20:33, MG wrote: >>> Hi Jochen, >>> >>> I was not aware that Groovy is so sophisticated in its expression >>> analysis, that it actually uses intersection types >> >> you actually do not have much of a choice. It is an AS...
http://mail-archives.apache.org/mod_mbox/groovy-dev/201803.mbox/%3Cd33b8b74-8e54-e10c-9ba3-c65f76e5266a@gmx.org%3E
CC-MAIN-2019-18
refinedweb
541
61.06
. Setup SSH and sudo I started with a blank application, and "capified" it. If you don't have Capistrano installed, install it via RubyGems. sudo gem install capistrano --no-ri --no-rdoc rails slicehost cd slicehost/ capify . Open up config/deploy.rb and start configuring it as you would for any other Rails application...
https://www.viget.com/articles/building-an-environment-from-scratch-with-capistrano-2
CC-MAIN-2017-09
refinedweb
1,075
56.55
Not logged in Log in now Recent Features Deadline scheduling: coming soon? LWN.net Weekly Edition for November 27, 2013 ACPI for ARM? LWN.net Weekly Edition for November 21, 2013 GNU virtual private Ethernet Though for most of us checkpoint/restart is the least interesting feature about OpenVZ. We'd just hope for a usa...
http://lwn.net/Articles/508038/
CC-MAIN-2013-48
refinedweb
1,101
62.88
tips on structuring/laying out patches? hi, Im starting to get the hang of writing max patches, but as a (traditional) programmer, Im getting very frustrated at the mess of it all. Is there a book/article that explains some way to keep these things tidy? I already use sub-patches/abstractions, segmented wires/route wir...
https://cycling74.com/forums/topic/tips-on-structuringlaying-out-patches/
CC-MAIN-2015-48
refinedweb
2,293
63.09
- Repeat the following until the user just presses Enter - Ask the user for a date of the form February 28, 2010 (you will need to use a StringTokenizer to break apart the pieces) - Print out tomorrow's date like: March 1, 2010 - To help shorten your code, please: - Create an array of month names - Create an array of d...
http://www.dreamincode.net/forums/topic/218542-get-date-then-print-date-1-day-trouble-on-if-statements/
CC-MAIN-2016-40
refinedweb
303
63.93
I got used to my touch pad, that allows to scroll smoothly and very exactly, but I can not to simulate it by java robot - mousewheel is getting only integer parameters and a scrolling carried by steps. Can I simulate smoothly scrolling in java? robot.mouseWheel(a); // int a The unit of scrolls will always be by "notche...
https://codedump.io/share/7vtRqsvW1Lvw/1/how-to-do-smooth-scrolling-by-java-robot
CC-MAIN-2017-09
refinedweb
207
62.58
Opened 7 years ago Closed 7 years ago #17182 closed Cleanup/optimization (fixed) Best Practice for forms.Form.clean Description I would advocate changing the example from: def clean(self): cleaned_data = self.cleaned_data # ... to def clean(self): cleaned_data = super(ContactForm, self).clean() # ... for the sake of pa...
https://code.djangoproject.com/ticket/17182
CC-MAIN-2018-51
refinedweb
327
59.53
perl5153d. Perl 5.15.2 introduced subroutines in the CORE namespace. Most of them could only be called as barewords; i.e., they could be aliased at compile time and then inlined under new names. Almost all of these functions can now be called through references and via &foo() syntax, bypassing the prototype. See CORE f...
http://search.cpan.org/~drolsky/perl-5.15.6/pod/perl5153delta.pod
CC-MAIN-2013-48
refinedweb
942
65.73
Introduction Nakano, K., et.al.(refs below) describe two versions of a small stack machine suitable for implementation on an FPGA and they give the Verilog source code on their web site. The design was ported to the DE2 board and extended to have a richer set of opcodes and i/o ports. I wrote a simple assembler and com...
https://people.ece.cornell.edu/land/courses/ece5760/DE2/Stack_cpu.html
CC-MAIN-2017-51
refinedweb
2,064
62.27
I'd like to start at the top of a WMI namespace, recurse through all the objects, then recurse through each object's property list, filtering out and returning to console only those properties that have mem in their names. This is what I have so far: gwmi -namespace "root\cimv2" -list |???? |get-Member -MemberType prop...
http://serverfault.com/questions/61478/powershell-recursive-wmi-query
crawl-003
refinedweb
575
53.81
problem with snmpkit and std::string is more complex than I thought please do not apply the patch that I sent to the list; I have to work on it a. ----- Forwarded message from debian ----- Date: Thu, 26 Jul 2001 15:52:59 +0200 To: Matthew Wilcox <willy@...> Cc: Matthew Wilcox <willy@...>, 106475@... Subject: Re: Bug#1...
https://sourceforge.net/p/lpr/mailman/message/2677898/
CC-MAIN-2016-30
refinedweb
348
61.26
Hi. Arnar >>> "Arnar Birgisson" <arnarb at oddi.is> 18.10.2005 12:03 >>> Hello there, I was running mod_python 3.1.3 on Apache 2.0.50 with linux kernel 2.4.31 until yesterday, and all was well. For other reasons, I needed to upgrade to kernel version 2.6.13 yesterday, and along with it I upgraded my distribution from S...
http://modpython.org/pipermail/mod_python/2005-October/019374.html
CC-MAIN-2020-16
refinedweb
461
53.98
From: Jeff Garland (jeff_at_[hidden]) Date: 2002-10-19 20:01:54 > This is with 1.29 so no worry. Ok, well it is still a worry -- just the other way around... > > msvcprtd.lib(MSVCP70D.dll) : error LNK2005: "public: __thiscall > > std::locale::id::id(unsigned int)" (??0id_at_locale@std@@QAE_at_I@Z) already > > defined i...
https://lists.boost.org/Archives/boost/2002/10/38034.php
CC-MAIN-2021-17
refinedweb
157
62.75
CIDA structure Used with the CFSTR_SHELLIDLIST clipboard format to transfer the pointer to an item identifier list (PIDL) of one or more Shell namespace objects. Syntax typedef struct _IDA { UINT cidl; UINT aoffset[1]; } CIDA, *LPIDA; cidl Type: UINT The number of PIDLs that are being transferred, not including the par...
https://docs.microsoft.com/en-us/windows/desktop/api/shlobj_core/ns-shlobj_core-_ida
CC-MAIN-2019-26
refinedweb
128
64.2
Back in my college days, I remember the way I used to manually fight with viruses. When I used to kill the first virus, a second one restarted it, and vice versa. On an XP based system one barely had any tool by default to suspend any process. Even today if we want to suspend multiple processes instantaneously, it’s no...
http://www.codeproject.com/Articles/339722/Process-Suspender-and-Advanced-Terminator?PageFlow=FixedWidth
CC-MAIN-2016-18
refinedweb
735
59.19
For a program to receive input, either interactively or in a batch environment, you must provide another program or a routine to receive the input. Complicated input requires additional code to break the input into pieces that mean something to the program. You can use the lex and yacc commands to develop this type of ...
http://ps-2.kev009.com/wisclibrary/aix51/usr/share/man/info/en_US/a_doc_lib/aixprggd/genprogc/create_input_lang_lex_yacc.htm
CC-MAIN-2022-27
refinedweb
2,544
50.06
No replies to this topic #1 Members - Reputation: 118 Posted 09 July 2012 - 03:20 AM I have a created a windows game library to include the basic stuff of XNA so I don't have to write them again(like cameras). Every thing was working fine until I added a Map namespace with a MapReader class. every since then every clas...
http://www.gamedev.net/topic/627669-error-referencing-xna-library-project/#entry4957201
CC-MAIN-2016-40
refinedweb
102
68.3
Python's Mypy: Callables and Generators Learn) <class 'function'> Similarly, when you create a new class, you're adding a new object type to Python: >>> class Foo(): ... pass >>> type(Foo) <class 'type'> It's a pretty common paradigm in Python to write a function that, when it runs, defines and runs an inner function. ...
https://www.linuxjournal.com/content/pythons-mypy-callables-and-generators
CC-MAIN-2020-29
refinedweb
1,081
67.59
Web::Simple - A quick and easy way to build simple web applications #!/usr/bin/env perl package HelloWorld; use Web::Simple; sub dispatch_request { sub (GET) { [ 200, [ 'Content-type', 'text/plain' ], [ 'Hello world!' ] ] }, sub () { [ 405, [ 'Content-type', 'text/plain' ], [ 'Method not allowed' ] ] } } HelloWorld->ru...
http://search.cpan.org/~mstrout/Web-Simple-0.023/lib/Web/Simple.pm
CC-MAIN-2014-42
refinedweb
2,683
62.88
From: Joaquín Mª López Muñoz (joaquin_at_[hidden]) Date: 2005-02-17 07:13:45 Hi David, thanks for trying Boost.MultiIndex! David Gruener ha escrito: > Hello, > > i just started using the boost::multi_index_container and ran into some > trouble. I'm using boost version 1.32. > Well, i tried a slightly modified version o...
https://lists.boost.org/Archives/boost/2005/02/80594.php
CC-MAIN-2021-04
refinedweb
514
58.28
business. --Jonathan Robie on the xml-dev mailing list the historical fact is that XML 1.0 deliberately chose to force all information content of whatever kind into a textual representation based on the evidence that this pays off well in terms of interoperability. --Tim Bray on the xml-dev mailing list I think this wa...
http://www.cafeconleche.org/quotes2001.html
crawl-002
refinedweb
18,084
59.74
The aim of the Portable Document Format is noble. Every page should look exactly the same on any platform, regardless of user settings. If a user were to view a certain web page on my computer and then switch the resolution, the change could be quite significant. Likewise, if a user viewed a web page or some other sort...
http://www.devshed.com/c/a/Python/Python-for-PDF-Generation/
CC-MAIN-2016-40
refinedweb
1,588
65.83
I'm new to Python. I wonder how to get the string from an html as following: <span style="color: blue; font-size: 36px; font-weight: 600;"> string </span> import lxml from html import requests page = requests.get("url") tree = html.fromstring(page.content) Be careful with tree searching html files because seldomly deve...
https://codedump.io/share/W1gwJtjtBV8G/1/how-to-tree-search-an-html-file-tag-with-no-specific-type
CC-MAIN-2017-04
refinedweb
169
69.11
Lets say you have four array objects. test[1] = new test(); test[2] = new test(); test[3] = new test(); test[4] = new test(); then you have your class: public class test() { public int i; //initialize some fields public int getnumber() // what is the array number of the this object? 1, 2, 3, or 4??? } so basically, if ...
http://www.dotnetspark.com/links/46785-how-do-you-get-object-array-number-method.aspx
CC-MAIN-2018-13
refinedweb
162
64.61
This is the fourth in a new advanced series of posts written by Imanol P signature of a path can be a powerful tool to tackle machine learning problems. The previous article showed an application to a toy problem, but as we will see in this article rough path theory and signatures can also be used in more practical app...
https://www.quantstart.com/articles/rough-path-theory-and-signatures-applied-to-quantitative-finance-part-4
CC-MAIN-2018-05
refinedweb
845
53.61
split app-startup from core appshell functionality RESOLVED FIXED in mozilla1.7final Status P1 blocker People (Reporter: benjamin, Assigned: benjamin) Tracking Firefox Tracking Flags (Not tracked) Details Attachments (6 attachments, 5 obsolete attachments) I'm moving appshell out of tier 9, and need to keep nsIWindowWa...
https://bugzilla.mozilla.org/show_bug.cgi?id=app-startup
CC-MAIN-2019-30
refinedweb
4,403
50.73
Hi I get the following compilation error under Linux when compiling with g++ v.4.1.2: mathplot.cpp: In member function 'void mpFXYVector::SetData(const std::vector<double, std::allocator<double> >&, const std::vector<double, std::allocator<double> >&)': mathplot.cpp:2385: error: 'wxLogError' was not declared in this sc...
http://sourceforge.net/p/wxmathplot/discussion/297266/thread/aa3b9bb0
CC-MAIN-2013-48
refinedweb
164
54.49
It does NOT give and error. But it also does not produce an output. The script is made to do the following: The script takes an input file of 4 tab-separated columns: It then counts the unique values in Column 1 and the frequency of corresponding values in Column 4 (which contains 2 different tags: C and D). The output...
http://www.dreamincode.net/forums/topic/332406-problem-using-glob-in-my-python-code/page__pid__1922750__st__0
CC-MAIN-2016-22
refinedweb
299
57.77
Search using special commands Project description # Bounce It’s a keyword search engine, meaning you can configure it to redirect yt to Youtube, so a search like yt weird al would redirect right to Youtube’s search. 1 minute getting started Install it $ pip install bounce Start it: $ bounce-server Query it: $ curl " we...
https://pypi.org/project/bounce/
CC-MAIN-2019-51
refinedweb
389
60.95
How To make a "live" textbox? How would I use the ui module (preferably using the built in visual ui editor) to create a ui that has a constantly updating text box? I want to be able to constantly feed my user information as they progress through my text-based-game. (This means I don't want the user to be able to edit ...
https://forum.omz-software.com/topic/1180/how-to-make-a-live-textbox
CC-MAIN-2018-51
refinedweb
240
82.54
Please help to understand what I do wrong. I have in my settings.py : PROJECT_ROOT = os.path.abspath(os.path.dirname(__file__)) STATIC_URL = os.path.join(PROJECT_ROOT, 'static').replace('\\','')+'/' {% load static %} <link rel="stylesheet" type="text/css" href="{% static "/css/table.css" %}"> "GET /var/cardsite/cardsit...
https://codedump.io/share/MmWzkxkkRcYo/1/receiving-the-404-error-in-getting-of-static-django-files
CC-MAIN-2017-04
refinedweb
244
52.97
document' we mean a structure of dicts, lists and other primitive types, that can be serialized to JSON or a Python Pickle. The resulting document can be used in combination with the Django cache layer to create blazingly fast views that do not hit the database. The data can also be synced to a NoSQL store like MongoD...
https://bitbucket.org/WoLpH/django-denormalize
CC-MAIN-2016-44
refinedweb
1,498
55.13
Troubleshooting - PDF for offline use - Let us know how you feel about this 0/250 Can't upgrade to Indie/Business from Trial Account If you recently purchased Xamarin.iOS and previously started a Xamarin.iOS Trial, you may need to complete the following steps to get this license change picked up by Xamarin Studio or Vi...
https://docs.mono-android.net/guides/ios/troubleshooting/troubleshooting/
CC-MAIN-2017-13
refinedweb
3,968
55.64
Created on 2014-01-09 14:21 by timar, last changed 2014-01-13 18:34 by r.david.murray. This issue is now closed. Try this sample script: # coding=utf-8 import email import email.charset import email.message c = email.charset.Charset('utf-8') c.body_encoding = email.charset.QP m = email.message.Message() m.set_payload("...
https://bugs.python.org/issue20206
CC-MAIN-2019-22
refinedweb
183
77.53
Seperate plot rendering implementation from plotting data generation Make it easier to replace/plug plotting libraries. The currently used wx.lib.plot doesn't produce visually appealing plots (at least the latest trunk version has antialiasing), we should make it easier to plug different rendering libraries. I'm adapti...
https://blueprints.launchpad.net/wxbanker/+spec/replaceable-plot-renderers
CC-MAIN-2017-30
refinedweb
655
71.75
In the previous post, we learned how to classify arbitrarily sized images and visualized the response map of the network. In Figure 1, notice that the head of the camel is almost not highlighted, and the response map contains a lot of the sand texture instead. The bounding box is also significantly off. Something is no...
https://learnopencv.com/cnn-receptive-field-computation-using-backprop/
CC-MAIN-2021-17
refinedweb
2,373
56.66
VueJS is raising as one of the most popular front end framework, compared with React (supported by Facebook) and Angular (from Google). Recently, it has been updated to version 3 with many new exciting features. In this post, we will explore the combination with VueX (state management) to handle 3rd party API. To make ...
https://practicaldev-herokuapp-com.global.ssl.fastly.net/infantiablue/hackernews-reader-with-vue-3-vite-2-vuex-4-tailwind-part-1-1ilg
CC-MAIN-2021-17
refinedweb
675
66.03
"Phillip J. Eby" <pje at telecommunity.com> wrote: > At 12:42 PM 9/22/2006 -0700, Josiah Carlson wrote: [snip] > Measure it. Be sure to include the time to import SQLite vs. the time to > import the zipimport module. [snip] > Again, seriously, compare this against a zipfile. You'll find that there's > absolutely no com...
https://mail.python.org/pipermail/python-dev/2006-September/068964.html
CC-MAIN-2017-04
refinedweb
1,500
57.06
The numsecondaries property specifies the number of nodes within a device group that can master the group if the primary node fails. The default number of secondaries for device services is one. You can set the value to any integer between one and the number of operational nonprimary. If you change the numsecondaries p...
http://docs.oracle.com/cd/E19787-01/820-7358/cjaiedjh/index.html
CC-MAIN-2016-07
refinedweb
433
54.12
Switch: Overview A web component that is used to toggle a property or feature on or off. Toggling the component on or off should have immediate action and should not require pressing any additional buttons (submit) to confirm what just happened. Switch is not a Checkbox in disguise and should not be used as part of a f...
https://lion-web.netlify.app/components/interaction/switch/overview/
CC-MAIN-2021-17
refinedweb
102
55.27
Root Password Readable in Clear Text with Ubuntu 520 BBitmaster writes "An extremely critical bug and security threat was discovered in Ubuntu Breezy Badger 5.10 earlier today by a visitor on the Ubuntu Forums that allows anyone to read the root password simply by opening an installer log file. Apparently the installer...
https://slashdot.org/story/06/03/13/0525254/root-password-readable-in-clear-text-with-ubuntu/informative-comments
CC-MAIN-2017-43
refinedweb
1,661
64.81
Kotlin Mega Tutorial A Productive and Pragmatic Language A programming language is usually designed with a specific purpose in mind. This purpose can be anything from serving a specific environment (e.g, the web) to a certain paradigm (e.g. functional programming). In the case of Kotlin the goal is to build a productiv...
https://kotlined.com/blog/category/kotlin-news/expressions/
CC-MAIN-2021-31
refinedweb
16,067
62.17
:When a forward commit block is actually written it contains a sequence :number and a hash of its transaction in order to know whether the :... :Note: I am well aware that a debate will ensue about whether there is :any such thing as "acceptable risk" in relying on a hash to know if a :commit has completed. This occurr...
http://leaf.dragonflybsd.org/mailarchive/kernel/2008-07/msg00136.html
CC-MAIN-2014-15
refinedweb
3,408
67.18
Using JSTL JSTL includes a wide variety of tags that naturally fit into discrete functional areas. Therefore, JSTL is exposed via multiple URIs to clearly show the functional areas it covers and give each area its own namespace. Table 6-1 summarizes these functional areas, subfunctions in each area, tags in each subfun...
http://docs.oracle.com/javaee/1.3/tutorial/doc/JSTL3.html
CC-MAIN-2014-15
refinedweb
142
60.04
Introduction: Wireless Robot V2 (Support WiFi & Bluetooth) Step 1: Car Structure I get The motors ,gear box and tires from two broken car kids toys from Scrap market nearby , they cost me about 10$ and I connect them using din rail and plastic as shown in the pictures. Step 2: Connection Digram Using the Serial pins of...
https://www.instructables.com/id/Wireless-Robot-V2-Support-WiFi-Bluetooth/
CC-MAIN-2018-39
refinedweb
1,345
64.41
Working with Graphs Graphs allow us to understand complex networks by focusing on relationships between pairs of items. Each item is represented by a vertex in the graph, and relationships between items are represented by edges. To facilitate graph-oriented data analysis, GraphLab Create offers a SGraph object, a scala...
https://turi.com/learn/userguide/sgraph/sgraph.html
CC-MAIN-2017-09
refinedweb
1,380
54.12
Python’s not operator allows you to invert the truth value of Boolean expressions and objects. You can use this operator in Boolean contexts, such as if statements and while loops. It also works in non-Boolean contexts, which allows you to invert the truth value of your variables. Using the not operator effectively wil...
https://realpython.com/python-not-operator/
CC-MAIN-2021-49
refinedweb
4,773
62.17
Implementation details for Buffer class. More... #include <BufferDetail.hh> Implementation details for Buffer class. Internally, BufferImpl keeps two lists of chunks, one list consists entirely of chunks containing data, and one list which contains chunks with free space. Add unmanaged data to the buffer. The buffer wi...
http://avro.apache.org/docs/1.4.0/api/cpp/html/classavro_1_1detail_1_1BufferImpl.html
CC-MAIN-2014-10
refinedweb
150
67.55
Objectives Individual Assignment 1)Write an application that interfaces a user with an input &/or output device that you made. Group Assignment 1)Compare as many tool options as possible. Data Flow diagram In the database creation menu you can choose a location that is closest to you, and select Next. Next we need to c...
http://fab.academany.org/2021/labs/kochi/students/abel-tomy/week14(interface%20and%20application%20programming).html
CC-MAIN-2021-43
refinedweb
702
65.32
Hide Forgot A bug in glibc causes name resolution to crash applications, sometimes. Firefox can be very crash-y due to this bug; I've had days where it's crashed 10-20 times. Upstream bug is: there's a patch there. Can we pull the patch into F16's glibc, if it looks sane? It'd be nice not to have this biting too many t...
https://bugzilla.redhat.com/show_bug.cgi?format=multiple&id=730856
CC-MAIN-2020-05
refinedweb
2,568
67.65
Time for a new release. The 0.9.8 release is pretty much identical to 0.9.3, except for a revised "iterparse" mechanism: for event, elem in iterparse(source): ... By default, iterparse now only returns "end" events (issued when an element has been completed, and all child elements are available). This speeds things up ...
https://mail.python.org/pipermail/xml-sig/2005-January/010834.html
CC-MAIN-2016-36
refinedweb
157
67.76
I'm trying to understand the use of yaml.load() import yaml document = """ a: 1 b: c: 3 d: 4 """ print yaml.dump(yaml.load(document), default_flow_style=False) AttributeError: 'module' object has no attribute 'dump' You called your example yaml.py and as such your test program is imported with the import yaml statement...
https://codedump.io/share/gZguRDCQP8Tw/1/trying-to-use-yamlload-in-python-fails
CC-MAIN-2017-09
refinedweb
133
59.8
Before you start, I highly recommend you read Pavel Zolnikov's article entitled "Extending Explorer with Band Objects using .NET & Windows Forms" first. Pavel wrote a fantastic article explaining the ins & outs of using COM Interop to write your own customizable band objects for Explorer using .NET 2003. Without that a...
https://www.codeproject.com/Articles/14141/Band-Objects-NET-Redux
CC-MAIN-2018-26
refinedweb
1,303
55.03
I large projects, I kept feeling like I needed another layer of abstraction. Something that would help organize all these simple, tiny functions into a cohesive whole. Something that would help guide the structure of the app as new features were added. That’s roughly where my head was at when I began to read about hexa...
https://spin.atomicobject.com/2017/11/21/hexagonal-architecture/
CC-MAIN-2019-09
refinedweb
1,636
60.55
Using the pandoc API Pandoc can be used as a Haskell library, to write your own conversion tools or power a web application. This document offers an introduction to using the pandoc API. Detailed API documentation at the level of individual functions and types is available at. Pandoc’s architecture Pandoc is structured...
http://pandoc.org/using-the-pandoc-api.html
CC-MAIN-2018-39
refinedweb
2,249
54.63
Migrate from AppFabric Caching to Azure In-Role Cache Updated: February 13, 2015 This topic describes how to migrate from Microsoft AppFabric 1.1 for Windows Server to Microsoft Azure Cache. This type of caching migration might take place when you move an on-premises application to Azure. AppFabric supports on-premises...
https://msdn.microsoft.com/en-us/library/azure/jj835079.aspx
CC-MAIN-2015-27
refinedweb
712
58.38
there should be a ; at the end of every statement. you can declare cout and cin by including iostream you can declare cout and cin by including iostream using namespace std; int main() { int ch; do{ cout<<"Product list\n1 Chainsaw\n2 Whipper Snipper\n3 Lawn Mower\n4 Hedger\n5 Brushcutter\n6 Quit" cin>>ch; switch(ch){ c...
https://www.experts-exchange.com/questions/27643328/Simple-c-Assignment-coding.html
CC-MAIN-2016-50
refinedweb
123
55.58
[Java3D] New to java3D and need some help here Hey guys, I'm still learning java3D and not even run any examples program yet. This is because tehre some error occured when I run the .class file. After compile the example program that I get from net, it has no error and successed to create the .class file. But when I ru...
https://www.java.net/node/654735
CC-MAIN-2015-18
refinedweb
342
65.93
Named Entity Recognition using LSTM in Keras Named Entity Recognition is a form of NLP and is a technique for extracting information to identify the named entities like people, places, organizations within the raw text and classify them under predefined categories. Introduction Named Entity Recognition (NER) models can...
https://valueml.com/named-entity-recognition-using-lstm-in-keras/
CC-MAIN-2021-25
refinedweb
2,886
54.83
The @protocol synchronization By Muralidharan Padmanaban, Naresh Gurijala and Intiser Ahmed What is synchronization? In the @protocol world, your personal data is encrypted with your own private key and stored on your mobile device. Periodically, this data is copied securely over to a dedicated cloud server which only ...
https://atsigncompany.medium.com/the-protocol-synchronization-77b00ca5341b?source=post_page-----77b00ca5341b-----------------------------------
CC-MAIN-2022-21
refinedweb
1,015
61.67