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
Undisputed one of the most popular programming languages these days, Python is a hot choice for both established and beginner programmers. And, ease of the language helps develop some interesting Python Projects that are applicable in the real world. Its simplicity and ease of use lend to its popularity. Not to mention...
https://www.upgrad.com/blog/python-interview-questions-answers/
CC-MAIN-2020-05
refinedweb
949
73.47
Kulla Project: A REPL for Java - | - - - - - - Read later Reading List to obtain quick results, for example in algorithm exploration. The corresponding JEP for Java's REPL states that a few items are out of scope: graphical interfaces, debugger support, and IDE-like functionality. The motivation is that immediate feedb...
https://www.infoq.com/news/2014/09/repl-for-java
CC-MAIN-2018-34
refinedweb
354
50.06
This notebook demonstrates how to grab an image from a video camera using OpenCV's VideoCapture object. Firstly, we'll import all the libraries we'll be using: # Use the 'pylab' system for plotting. This is IPython-specific. %pylab inline Welcome to pylab, a matplotlib-based Python environment [backend: module://IPytho...
http://nbviewer.jupyter.org/gist/anonymous/7101844
CC-MAIN-2016-18
refinedweb
575
68.16
Comment Re:Moo (Score 1) 5 That almost makes sense. That almost makes sense. Cool stuff. Please, fill us in with your journal. Because i hate Java, by extension, i hate Android development. The language is insane as it is, but the verbosity that Android adds is ridiculous. Of course, the namespace is equally retarded. ...
https://slashdot.org/users2.pl?page=1&uid=981&view=usertag&fhfilter=%22user%3AChacham%22+%22tag%3Amozilla%22
CC-MAIN-2017-43
refinedweb
693
74.79
I’m trying to get st.camera_input to work for my application. I can access the uploaded picture, so the core functionality works fine. But I found that by default the dimensions/resolution of the picture depends on the camera element size in the browser window… usually the image is just too small. How do I explicitly s...
https://discuss.streamlit.io/t/st-camera-input-control-resolution-of-uploaded-image/21318
CC-MAIN-2022-40
refinedweb
120
59.3
Bummer! This is just a preview. You need to be signed in with a Basic account to view the entire video. Migrations & Schema Builder8:41 with Hampton Paulk Migrations & Schema Builder - 0:00 Before we get into Eloquent, what we're gonna wanna do next, is manage how we - 0:05 create our database, create our tables, add -...
https://teamtreehouse.com/library/laravel-4-basics/laravel-and-databases/migrations-schema-builder
CC-MAIN-2016-50
refinedweb
1,861
81.12
how do i make this linehow do i make this lineCode:#include<iostream> using namespace std; void reverseInput(); void main(){ reverseInput(); } void reverseInput(){ cout<<"Enter 0 to end."; cout<<"Enter a number: "; int num; cin>> num; int first; if(num !=0){ first = num; reverseInput();//will keep calling until it reac...
http://cboard.cprogramming.com/cplusplus-programming/96311-recursivle-function-help.html
CC-MAIN-2014-42
refinedweb
104
72.16
Spectral clustering for image segmentation¶ In this example, an image with connected circles is generated and spectral clustering is used to separate the circles. In these settings, the Spectral clustering approach solves the problem know as ‘normalized graph cuts’: the image is seen as a graph of connected voxels, and...
https://scikit-learn.org/dev/auto_examples/cluster/plot_segmentation_toy.html
CC-MAIN-2022-21
refinedweb
514
54.32
Diverting trains of thought, wasting precious time A couple of times recently I've found myself wanting to create ELF files with custom program headers. This post explains what that means, why you might want it, why there's a practical difficulty in doing so using a standard linker, and my slightly hacky way of solving...
http://www.cl.cam.ac.uk/~srk31/blog/index.html
CC-MAIN-2017-30
refinedweb
6,678
60.04
by Tomas PetricekOctober 2007. We will start by writing a generic class Lazy<T>, which represents the delayed computation. This class can be described as a class that will execute a chunk of code once someone asks for a result and it will cache the result, so the chunk of code is executed at most once. How can we write...
http://msdn.microsoft.com/ja-jp/vcsharp/bb870976(en-us).aspx
crawl-002
refinedweb
2,024
52.8
Yesod for non-Haskellers May 31, 2011 Michael Snoyman Introduction My wife (Miriam Snoyman) has been wanting to make a recipe site for a while now. Instead of me just writing it for her, she decided she would take this chance to learn a bit more about web programming. She has done some programming in the past, and has ...
http://www.yesodweb.com/blog/2011/5/yesod-for-non-haskellers
CC-MAIN-2015-06
refinedweb
810
76.52
{-# LANGUAGE TypeSynonymInstances #-} -- |A value of type TIO represents the state of the terminal I/O -- system. The 'bol' flag keeps track of whether we are at the -- beginning of line on the console. This is computed in terms of -- what we have sent to the console, but it should be remembered that -- the order that ...
http://hackage.haskell.org/package/Extra-1.42/docs/src/Extra-TIO.html
CC-MAIN-2016-36
refinedweb
661
66.07
Automate Selenium testing with Jenkins - AWS, DevOps, Git, Technology, Testing Selenium is a tool widely used for automating testing of web applications. One step ahead, integrating the selenium with Jenkins takes it to the next level. In this blog, we would be configuring Jenkins to run selenium test cases on an ubunt...
https://www.tothenew.com/blog/automate-selenium-testing-with-jenkins/
CC-MAIN-2020-45
refinedweb
841
64.2
'" ." Need to Know. (Score:3, Informative) That's why you need to know that some moron thinks your laptop is valuable. This has not always been the case. Paw shops have traditionally shied away from computers because they are tricky to fix and their value falls too quickly. Ebay has changed that. The reality of the sit...
https://slashdot.org/story/06/04/10/2318223/wifi-and-laptops-adds-up-to-theft?limit=0
CC-MAIN-2017-26
refinedweb
823
64.34
Closed Bug 1328167 Opened 4 years ago Closed 3 years ago Ctrl+Shift+I keyboard shortcut for "Developer Toolbox" does not work; conflicting with Ctrl+Shift+I for "Chat" Categories (Thunderbird :: Mail Window Front End, defect) Tracking (thunderbird51 unaffected, thunderbird52 affected, thunderbird53 affected) Thunderbir...
https://bugzilla.mozilla.org/show_bug.cgi?id=1328167
CC-MAIN-2021-10
refinedweb
996
53.1
If you’re writing C# code, you should be using ReSharper. It’s a Visual Studio plugin that examines your code in real time (as you edit), helping you avoid common errors and write better code. I admit that I found ReSharper annoying when I first started using it, but after a week or so I found it invaluable. I found it...
http://blog.mischel.com/2014/02/26/resharper-annoyances/
CC-MAIN-2016-18
refinedweb
966
58.48
Please read my disclaimer. SunPower Corp., my employer, has open sourced a solar panel mismatch estimation tool called PVMismatch at the Python Package Index with a standard 3-clause BSD license. The documentation, source code and releases are also available at the SunPower Organization GitHub page. PVMismatch can be u...
https://poquitopicante.blogspot.com/2017/01/pv-power.html
CC-MAIN-2017-39
refinedweb
257
59.03
error 1119 VideoEvent - flash cs5.5Lesto May 26, 2011 4:20 AM I receive error 1119 when i try to add a listener ( all video events) the code: import fl.video.*; display.autoPlay = false; display.source = "video/olivia_intro.f4v"; function readyHandler(event:VideoEvent):void { // Pause until the video can play till the ...
https://forums.adobe.com/thread/857036
CC-MAIN-2019-04
refinedweb
697
68.16
Popular JavaScript Framework Libraries: qooxdoo and SproutCore By , if at all! This week we continue our overview of the top dozen Frameworks, with qooxdoo and SproutCore. If you've just encountered this series, you may want to go back to the beginning, where we looked at the Prototype, script.aculo.us and MooTools Fra...
http://www.webreference.com/programming/javascript/rg23/
crawl-002
refinedweb
693
50.87
Red Hat Bugzilla – Bug 137336 a2ps seems to have a font problem. Output lines are too long. Last modified: 2007-11-30 17:10:53 EST Description of problem: When I print using a2ps, the printed output looks as though it is not using the font that a2ps internally thinks it is using. The symptoms are lines running off the ...
https://bugzilla.redhat.com/show_bug.cgi?id=137336
CC-MAIN-2017-47
refinedweb
735
72.16
IRC log of rif on 2010-07-27 Timestamps are in UTC. 14:53:04 [RRSAgent] RRSAgent has joined #rif 14:53:04 [RRSAgent] logging to 14:53:17 [csma] rrsagent, make minutes 14:53:17 [RRSAgent] I have made the request to generate csma 14:53:25 [csma] rrsagent, make log public 14:53:46 [csma] Meeting: RIF telecon 27 July 2010 ...
http://www.w3.org/2010/07/27-rif-irc
CC-MAIN-2017-30
refinedweb
2,228
62.21
The migration to WordPress has brought with it a number of useful new features built into the DSC Editor, making it easier than ever to create technical content, tables, and even mathematical equations directly into articles, dramatically reducing the difficulty of writing about code and making for far better-looking a...
https://www.datasciencecentral.com/dsc-editing-tricks-and-tips/
CC-MAIN-2022-21
refinedweb
1,037
56.29
AWS Machine Learning Blog. With Gluon, you can build machine learning models using a simple Python API and a range of pre-built, optimized neural network components. This makes it easy to build neural networks using simple code without sacrificing training performance. Gluon makes building new computer vision models ea...
https://aws.amazon.com/blogs/machine-learning/deploy-gluon-models-to-aws-deeplens-using-a-simple-python-api/
CC-MAIN-2021-49
refinedweb
2,646
56.05
LDFCN(3) Library Functions Manual LDFCN(3) NAME ldfcn - common object file access routines SYNOPSIS #include <<stdio.h>> #include <<filehdr.h>> #include <<ldfcn.h>> AVAILABILITY Available only on Sun 386i systems running a SunOS 4.0.x release or earlier. Not a SunOS 4.1 release feature. DESCRIPTION These routines are f...
http://modman.unixdev.net/?sektion=3&page=ldfcn&manpath=SunOS-4.1.3
CC-MAIN-2017-30
refinedweb
676
57.81
Learning computer technology these days can seem overwhelming. It's not the technology itself that is the root of this evil; it's often the size of the book that we must drag home from the Super Crown bookstore. True system administration requires attention to detail, but in this age, I fear we are drowning in a little...
http://www.onlamp.com/lpt/a/492
CC-MAIN-2016-50
refinedweb
1,573
57.47
mktemp() Make a unique temporary filename Synopsis: #include <stdlib.h> char* mktemp( char* template ); Since: BlackBerry 10.0.0 Arguments: - template - A template for the filename that you want to use. This template can be any file name with some number of Xs appended to it, for example /tmp/temp.XXXX. Library: libc U...
http://developer.blackberry.com/native/reference/core/com.qnx.doc.neutrino.lib_ref/topic/m/mktemp.html
CC-MAIN-2016-40
refinedweb
239
58.79
This question already has an answer here: - Is Java “pass-by-reference” or “pass-by-value”? 71 answers In Java, is it possible for a calling method to get the value of a local variable inside the called method without returning it? See below in C, where I can use pointers to change the value of the local variable of th...
https://www.codesd.com/item/get-the-value-of-the-local-variable-from-the-method-called-no-return.html
CC-MAIN-2021-17
refinedweb
223
55.84
A design pattern is a general reusable solition to commonly occurring problem with a given context in software design. With Groovy is easier to implement design patterns than other languages such as C++ or Java. Using design patters we can share to the development teams a way to communicate solitions in the software de...
https://josdem.io/techtalk/groovy/design_patterns/
CC-MAIN-2022-33
refinedweb
680
55.54
Opened 8 years ago Closed 4 years ago #3496 closed (fixed) WSGI handler dies on a form containing only empty checkboxes Description WSGI handler hangs when submitting a form containing only empty checkboxes. Because checkboxes are unchecked, HTTP POST request has zero content-length in this case. This zero is passed fo...
https://code.djangoproject.com/ticket/3496
CC-MAIN-2015-14
refinedweb
677
51.89
Parent Directory | Revision Log More helpful exception message Added untested .phase() to Data. Making Lazy and the rest of escript use the same operator enumeration Complex changes Testing reveals holes in the complex code big enough to drive a truck through. This commit means you will however need a slightly smaller ...
https://svn.geocomp.uq.edu.au/escript/trunk/escriptcore/src/ArrayOps.h?view=log&amp;pathrev=6515
CC-MAIN-2019-18
refinedweb
343
57.16
What is the most concise and efficient way to find out if a JavaScript array contains an obj? This is the only way I know to do it: function contains(a, obj) { for (var i = 0; i < a.length; i++) { if (a[i] === obj) { return true; } } return false; } Is there a better and more concise way to accomplish this? This is ver...
http://ebanshi.cc/questions/74/array-containsobj-in-javascript
CC-MAIN-2017-43
refinedweb
3,683
58.99
A namespace for functions that deal with things that one can do on sparsity patterns, such as renumbering rows and columns (or degrees of freedom if you want) according to the connectivity, or partitioning degrees of freedom. Use the METIS partitioner to generate a partitioning of the degrees of freedom represented by ...
http://www.dealii.org/developer/doxygen/deal.II/namespaceSparsityTools.html
CC-MAIN-2017-13
refinedweb
1,024
53
LIN help but Implementing an enumerator: - Reset – initialises the enumeration so that it starts over again - Current – returns the current item - MoveNext – updates the index to the next itemcol(int s) { rnd = new Random(); Size = s; } Now we have to implement the methods of the IEnumerator interface. The reset method...
https://www.developerfusion.com/article/8250/linq-to-objects-for-the-net-developer/
CC-MAIN-2019-04
refinedweb
1,010
50.36
#include <ggi/gii.h> gii_input_t giiOpen(const char * input, ...); gii_input_t giiJoinInputs(gii_input_t inp, gii_input_t inp2); int giiSplitInputs(gii_input_t inp, gii_input_t *newhand, uint32_t origin, uint32_t flags); int giiClose(gii_input_t inp);iiJoinInputs joins two inputs into one. From a programmers' point of ...
http://www.makelinux.net/man/3/G/giiOpen
CC-MAIN-2015-35
refinedweb
504
57.77
/* ********************************************************************** * Copyright (c) 2003-2004, International Business Machines * Corporation and others. All Rights Reserved. ********************************************************************** * Author: Alan Liu * Created: March 19 2003 * Since: ICU 2.6 ********...
http://icu.sourcearchive.com/documentation/4.4.2-1/ucat_8h-source.html
CC-MAIN-2018-09
refinedweb
511
52.97
In his book Clean Code, Robert C. Martin makes a strong case against comments: You don't need comments if you write clean code. Like any blanket statement, Martin is partially true. Although code clarity increases readability and decreases the need for comments, code has never been able to convey the whole context to t...
https://dev.to/maelvls/you-should-write-comments-36fd
CC-MAIN-2022-27
refinedweb
1,378
53.1
mongo57a at comcast.net wrote: >Somewhat". > Your interpretation of "global" appears flawed. You should re-read section 4.1 in the language manual about code blocks ... and namespaces. The "global" statement declares that variables which otherwise would be interpreted to be local are actually defined in an outer scope....
https://mail.python.org/pipermail/python-list/2002-October/168009.html
CC-MAIN-2016-44
refinedweb
426
65.42
Dissecting Method Calls If you’ve been writing Ruby code for a while, you already have a visceral feel of how completely object-oriented Ruby is. In fact, most introductory Ruby books will tell you that writing Ruby programs is all about manipulating objects — using/creating objects, endowing them with abilities throug...
https://medium.com/@sheldonchi/dissecting-method-calls-part-1-9f42f3a92ce2
CC-MAIN-2018-51
refinedweb
1,169
65.83
This is the tenth in a series of blog posts I’m doing on the upcoming VS 2010 and .NET 4 release. In today’s blog post I’m going to cover a small but really nice improvement to code intellisense with VS 2010 – which is its ability to better filter type and member code completion. This enables you to more easily find an...
http://weblogs.asp.net/scottgu/archive/2009/10/22/vs-2010-code-intellisense-improvements-vs-2010-and-net-4-0-series.aspx
CC-MAIN-2013-48
refinedweb
3,441
71.95
Subject: Re: [boost] [local] this_ or _this? From: Steven Watanabe (watanabesj_at_[hidden]) Date: 2011-04-03 20:33:00 AMDG On 04/03/2011 12:22 PM, Emil Dotchevski wrote: > On Sun, Apr 3, 2011 at 11:13 AM, Lorenzo Caminiti<lorcaminiti_at_[hidden]> wrote: >> Hello all, >> >> Boost.Local uses a special name `this_` to acc...
https://lists.boost.org/Archives/boost/2011/04/179743.php
CC-MAIN-2021-39
refinedweb
149
76.42
Talk:Haskell/Continuation passing style From Wikibooks, the open-content textbooks collection Here's everything I've written for this module so far, before running out of stamina: Continuation passing style (CPS) in Haskell is, like monads, rather difficult to understand. What makes a CPS value a CPS value is the fact ...
http://en.wikibooks.org/wiki/Talk:Haskell/Continuation_passing_style
crawl-002
refinedweb
1,637
64.85
Created on 2008-10-01 15:37 by haypo, last changed 2009-01-18 20:18 by loewis. This issue is now closed. IDLE checksyntax() function doesn't support Unicode. Example with idle-3.0rc1-quits-when-run.py in an ASCII terminal: $ ./python Tools/scripts/idle Exception in Tkinter callback Traceback (most recent call last): Fi...
http://bugs.python.org/issue4008
CC-MAIN-2015-32
refinedweb
1,183
60.41
RegistrationState Since: BlackBerry 10.0.0 #include <bb/platform/bbm/RegistrationState> To link against this class, add the following line to your .pro file: LIBS += -lbbplatformbbm Represents the RegistrationState of an application on the BBM Social Platform. RegistrationState is updated by the BBM Social Platform. Ov...
http://developer.blackberry.com/native/reference/cascades/bb__platform__bbm__registrationstate.html
CC-MAIN-2015-48
refinedweb
515
61.93
Another link I found the other day to a blog posting by Vaibhav Choudhary on using the JavaFX 1.2 Charting APIs. He then followed up with a blog populating a chart from a web service call. The important pieces are the following code blocks. The first here is what generates the Pie Chart data slices after the web servic...
http://fxexperience.com/2009/06/vaibhav-charts-and-rss/
CC-MAIN-2018-30
refinedweb
551
60.31
I have an Arduino 2009 board setup with a simple temperature monitor:. I wanted to use Visual Basic to communicate with the board and build a graphics display page. Arduino provides interface code for various other languages. There is also a very professional interface to Visual Basic available using Fermata written by...
https://www.codeproject.com/Articles/42557/Arduino-with-Visual-Basic?msg=4466605
CC-MAIN-2017-43
refinedweb
1,807
55.34
49236/related-to-href Hey Himanshu, as far as I can understand, you want to click the 2nd href link or <a> tag of any website by using Selenium. So you can perform following steps to do that: List<WebElement> allLinks = driver.findElements(By.tagName("a")); Now to open the href link, use click() method: allLinks.get(1)...
https://www.edureka.co/community/49236/related-to-href
CC-MAIN-2021-21
refinedweb
158
78.75
strings). The characters to use for ones and zeroes are obtained from the currently-imbued locale by calling std::use_facet<std::ctype<CharT>(os.getloc()).widen() with '1' and '0' as arguments. 2) Behaves as a FormattedInputFunction. After constructing and checking the sentry object, which may skip leading whitespace,...
http://en.cppreference.com/w/cpp/utility/bitset/operator_ltltgtgt2
CC-MAIN-2014-41
refinedweb
131
55.24
This edition of the SLB User Manual, last updated 26 April 2011, documents SLB Version 1.0. It is a common practice to set up several servers for handling the same task. In such configurations, it is important to distribute the load equally among the computers forming the set. While the term load may refer in this cont...
http://puszcza.gnu.org.ua/software/slb/manual/slb.html
CC-MAIN-2018-26
refinedweb
6,448
57.06
You're probably feeling very tired at this point: this has been a long tutorial and you've had to learn a lot. Fortunately, this last chapter is a bonus – you don't need to read this to have a great CloudKit app, but I do add some neat CloudKit technologies here that make the whole experience better. So far, the app le...
https://www.hackingwithswift.com/read/33/8/delivering-notifications-with-cloudkit-push-messages-ckquerysubscription
CC-MAIN-2021-43
refinedweb
1,936
53.71
My!]]> After a bit of a dry spell on the Kickstarter video front, the second and third videos of the ten video series are up on YouTube. Saturday saw the release of Writing Idiomatic Python Video Two, in which a simple HTTP proxy is refactored according to the principles found in Writing Idiomatic Python. On Sunday, Wr...
http://www.jeffknupp.com/atom.xml
CC-MAIN-2015-18
refinedweb
15,509
63.19
On Tue, Aug 05, 2003 at 11:21:04PM -0400, MJM wrote: > On Monday 04 August 2003 21:40, Sebastian Kapfer wrote: > > > // change the way it is accessed to prove a point int * p_b = (int *) > > > p_a; > > > > Ouch. > > Try this in /usr/src/linux/kernel > > $ grep *\) *.c Well, C is not C++, so grepping C source will not r...
https://lists.debian.org/debian-user/2003/08/msg00902.html
CC-MAIN-2016-36
refinedweb
298
56.25
Writing Custom Contexts for Djangodjango (72), python (59) In building this site I ran into a number of situations where I was using generic views, but I needed another piece of information that simply wasn't accessible. Sure, I could write a bunch of custom views, but thats how I handled my first large Django project,...
https://lethain.com/writing-custom-contexts-django/
CC-MAIN-2021-39
refinedweb
280
58.08
Jacob Holm wrote: On 2011-06-15 02:28, Jan Kaliszewski wrote: -- should 'my_var' in kwargs be allowed? (it's a runtime question) There is no real conflict here, so at the first sight I'd say: yes. On second thought: no, such repetitions also should *not* be allowed. If a programmer, by mistake, would try to specify the...
https://mail.python.org/archives/list/python-ideas@python.org/message/CSWFHYEQJRV76MRZDIAHLVODKWMRASDP/
CC-MAIN-2022-27
refinedweb
176
60.85
Closed Bug 1090275 Opened 7 years ago Closed 6 years ago Web Services modules should maintain a whitelist of methods that are allowed instead of allowing access to any function imported into its namespace Categories (Bugzilla :: WebService, defect) Tracking () Bugzilla 4.0 People (Reporter: dkl, Assigned: dkl) Referenc...
https://bugzilla.mozilla.org/show_bug.cgi?id=1090275
CC-MAIN-2021-17
refinedweb
1,763
58.79
I just posted a new Code Secure article on MSDN about running as an admin, but executing browsers and email clients in lower privilege. Do you have any suggestions for limiting a user’s ability to double-click on existing URL shortcuts and thus launching IE with their full admin token (instead of the newly restricted o...
https://blogs.msdn.microsoft.com/michael_howard/2004/11/18/new-code-secure-column-browsing-the-web-and-reading-e-mail-safely-as-an-administrator/
CC-MAIN-2018-43
refinedweb
1,363
65.52
Good programming practice with regard to conditional return statements I would like to know which of the following is the best programming practice: // Below is the contents of a dummy method which is passed a boolean "condition" as a parameter. int valueA = 3; int valueB = 5 if (condition == true) { return valueA } el...
https://daily-blog.netlify.app/questions/2164839/index.html
CC-MAIN-2021-21
refinedweb
870
54.86
I’ve been writing an FMod type library for VB users, and it works great so far… if I finish it, will you be interested in distributing it with FMod? It doesn’t have any bugs so far, except having to load fmod manually with loadlibrary to prevent VB from unloading FMod while it’s running. Anyway, doing it that way has t...
http://www.fmod.org/questions/question/forum-919/
CC-MAIN-2017-22
refinedweb
442
61.97
This short tutorial will introduce you to the basics of testing your python code using nosetests. It is meant as an introduction only. I'll assume you know about unit testing, how to lay out your tests etc etc. Here I'm really just introducing you to some useful tools to make your TDD process more fun For the purposes ...
https://blog.toast38coza.me/fun-times-testing-python-with-nose-sniffer-and-some-other-good-stuff/
CC-MAIN-2020-50
refinedweb
273
74.49
index > Windows Forms Designer > is there any way to force a control to receive focus? is there any way to force a control to receive focus? i have a custom control inherited from panel and i need to be able to handle Enter/Leave events for it..any idears? MigrationUser 1 Friday, February 21, 2003 9:15 AM I've never tr...
http://www.windowsdevelop.com/windows-forms-designer/is-there-any-way-to-force-a-control-to-receive-focus-14720.shtml
crawl-003
refinedweb
1,628
70.84
Collections have quite a few methods that construct new collections. Examples are map, filter or ++. We call such methods transformers because they take at least one collection as their receiver object and produce another collection as their result. There are two principal ways to implement transformers. One is strict,...
http://docs.scala-lang.org/overviews/collections/views.html
CC-MAIN-2017-04
refinedweb
1,844
63.7
Rails csv import with associations I am building a rails application that associates posts with many different categories. For example, I have a Post and need to be able to assign it to the categories Sports, News and Science through csv import via rake task. My question is how can I import an array of multiple categor...
https://gorails.com/forum/rails-csv-import-with-associations
CC-MAIN-2020-34
refinedweb
1,138
58.08
How to email Plotly graphs in HTML reports with Python. In the Plotly Webapp you can share your graphs over email to your colleagues who are also Plotly members. If your making graphs periodically or automatically, e.g. in Python with a cron job, it can be helpful to also share the graphs that you're creating in an ema...
https://plot.ly/python/email-reports/
CC-MAIN-2017-43
refinedweb
756
59.09
Developing Root and Link Naming Standards Updated: March 28, 2003 Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2 When you roll out DFS, you have the opportunity to implement consistent namespace designs. Developing naming standards first — and ensurin...
https://technet.microsoft.com/en-us/library/cc776841(v=ws.10).aspx
CC-MAIN-2015-18
refinedweb
950
55.47
#include <wx/treebook.h> This class is an extension of the wxNotebook class that allows a tree structured set of pages to be shown in a control. A classic example is a netscape preferences dialog that shows a tree of preference sections on the left and select section page on the right. To use the class simply create it...
https://docs.wxwidgets.org/trunk/classwx_treebook.html
CC-MAIN-2021-49
refinedweb
392
59.19
I am trying to use the Likes tutorial to create Favs for locations, which are nested under stores. Here is the relevant route section resources :stores do resources :locations do resource :favorite, module: :locations end end It should be noted I am using Friendly ID and that works for my stores and locations currently...
https://gorails.com/forum/likes-routing-error
CC-MAIN-2019-43
refinedweb
802
58.99
The documentation you are viewing is for Dapr v1.4 which is an older version of Dapr. For up-to-date documentation, see the latest version. Cron binding spec Component format To setup cron binding create a component of type bindings.cron. See this guide on how to create and apply a binding configuration. apiVersion: da...
https://v1-4.docs.dapr.io/reference/components-reference/supported-bindings/cron/
CC-MAIN-2021-49
refinedweb
200
50.57
tw.recaptcha is an extension to tw.forms TextField with a formencode validator. It keeps a form from being processed until there is proof that the form is being used by a human by forcing the human to analyze an image and type in the words that are shown. It also has an audio clip you can listen to instead. tw.recaptch...
http://www.turbogears.org/2.1/docs/main/ToscaWidgets/Cookbook/ReCaptcha.html
CC-MAIN-2016-40
refinedweb
604
55.24
Hi Matt, Looks like your browser doesn't recognize the document as HTML. Try to set the Content-Type header of the response : def hello(req, name=''): s = 'Hello, there!' if name: s = 'Hello, %s!' % name.capitalize() # Here it is req.content_type = 'text/html' tmpl = psp.PSP(req, filename='hello.tmpl') tmpl.run(vars = ...
http://modpython.org/pipermail/mod_python/2005-November/019570.html
CC-MAIN-2018-39
refinedweb
177
73.88
Synopsis_11 - Modules Larry Wall <larry@wall.org> Maintainer: Larry Wall <larry@wall.org> Date: 27 Oct 2004 Last Modified: 26 Feb 2008 Number: 11 Version: 24 This synopsis discusses those portions of Apocalypse 12 that ought to have been in Apocalypse 11. As in Perl�5, a module is just a kind of package. Unlike in Perl...
http://search.cpan.org/~lichtkind/Perl6-Doc/lib/Perl6/Doc/Design/S11.pod
CC-MAIN-2016-40
refinedweb
2,436
63.49
ATOL(3P) POSIX Programmer's Manual ATOL(3P) This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. atol, atoll — convert a string to a ...
http://man7.org/linux/man-pages/man3/atol.3p.html
CC-MAIN-2019-22
refinedweb
232
56.86
5.4.1. Built-in bridges Hibernate Search comes bundled with a set of built-in bridges between a Java property type and its full text representation. Null elements are not indexed (Lucene does not support null elements and it does not make much sense either) null elements are not indexed. Lucene does not support null el...
http://www.redhat.com/docs/manuals/jboss/jboss-eap-4.3/doc/hibernate/Annotations_Reference_Guide/PropertyField_Bridge-Built_in_bridges.html
crawl-001
refinedweb
179
56.15
errno - XSI error return value #include <errno.h> errno is used by many XSI functions to return error values. Many functions provide an error number in errno which has type int and is defined in <errno.h>. The value of errno will be defined only after a call to a function for which it is explicitly stated to be set and...
http://pubs.opengroup.org/onlinepubs/007908775/xsh/errno.html
CC-MAIN-2013-20
refinedweb
207
54.42
User Name: Published: 17 Jul 2009 By: Karl Seguin The power of threads lie in their ability to share information - but two threads accessing the same information at the same time can have devastating effects. Depending on what you're trying to accomplish with threads, you may have to worry about two or more threads try...
http://dotnetslackers.com/articles/net/Multithreading-Programming-Primer-Part2.aspx
crawl-003
refinedweb
1,388
61.36
JavaScript Style Guide and Coding Conventions we use camelCase for identifier names (variables and functions). All names start with a letter. At the bottom of this page, you will find a wider discussion about naming rules. lastName = "Doe"; price = 19.90; tax = 0.20; fullPrice = price + (price * tax); Spaces Around Ope...
https://www.w3schools.com/js/js_conventions.asp
CC-MAIN-2018-47
refinedweb
504
67.15
This action might not be possible to undo. Are you sure you want to continue? K. D. Irani Morris Silver Editors GREENWOOD PRESS Social Justice in the Ancient World Recent Titles in Global Perspectives in History and Politics United States Foreign Policy at the Crossroads George Schwab, editor The Press and the Rebirth ...
https://www.scribd.com/document/46020527/Social-Justice-in-the-Ancient-World-K-D-Irani-Morris-Silver-ed
CC-MAIN-2017-09
refinedweb
98,541
51.38
Groovy, Java's New Scripting Language Pages: 1, 2 Groovy provides some syntax extensions beyond standard Java. One of the most interesting is what are called closures. This term has been overloaded in a lot of places in computer science, but for now just think of Groovy closures as being similar to anonymous inner clas...
http://www.onjava.com/pub/a/onjava/2004/09/29/groovy.html?page=2
CC-MAIN-2014-41
refinedweb
1,733
68.26
Welcome to the Parallax Discussion Forums, sign-up to participate. xinfreq = 12000000 clkfreq = 148500000 error = 1e9 for pppp = 0 to 15 if pppp = 0 then post = 1 else post = pppp * 2 for divd = 64 to 1 step -1 Fpfd = round(xinfreq / divd) mult = round(clkfreq * post / Fpfd) Fvco = Fpfd * mult Fout = round(Fvco / post)...
http://forums.parallax.com/discussion/171044/pll-settings-calculator
CC-MAIN-2020-29
refinedweb
1,179
67.89
I often code user interfaces that have some sort of cancel button on them. For example, in my upcoming ‘Decoupling Workflow’ presentation, I have the following screen: Notice the nice cancel button on the form. The trick to this situation is that I need to have my workflow code understand whether or not I clicked Next ...
http://lostechies.com/derickbailey/2009/05/19/result-lt-t-gt-directing-workflow-with-a-return-status-and-value/
CC-MAIN-2014-52
refinedweb
701
52.39
Better Spring with IntelliJ IDEA 10.5 Yes! The sunny Spring has finally come to St.Petersburg too. However, it’s not that “Spring” we want to talk now… We realize that many of you use the Spring framework in your every day work. So, many should be interested in the new Spring-related features that can be found in the u...
https://blog.jetbrains.com/idea/2011/05/better-spring-with-intellij-idea-105/
CC-MAIN-2021-10
refinedweb
260
65.12
For some reason you may want or need to implement an RPM Compare method, i.e. rpmvercmp(), in C#. This is a working model I adapted from a C version of RPM Compare, see:. I wrote my version sometime in 2017, some of the links from my source are now dead. I added links here for you to walk through part of the path I too...
https://nerva.com/implementing-rpm-compare-in-c/
CC-MAIN-2022-40
refinedweb
1,745
67.04
Making Wiggly div is most interesting and at the same time a complex thing. It will be good for cases for like some cool portfolio, a landing page with some important text etc. Its more like making a div more funny. In this article we will gonna learn how we can create a wiggly div in React. react-wiv This package is a...
https://dev.to/narendersaini32/how-to-make-wiggly-div-in-react-2282
CC-MAIN-2022-05
refinedweb
196
76.72
Devices in PyZMQ¶ See also ØMQ Guide Device coverage. ØMQ has a notion of Devices - simple programs that manage a send-recv pattern for connecting two or more sockets. Being full programs, devices include a while(True) loop and thus block execution permanently once invoked. We have provided in the devices subpackage so...
http://pyzmq.readthedocs.io/en/latest/devices.html
CC-MAIN-2017-47
refinedweb
588
51.28
The following table describes the important changes to this documentation. AWS Connector for vCenter version 2.7.0 vSphere Web Client support: You can now use AWS Connector for vCenter with vSphere Web Client 5.5 and 6.0. You must register your connector after the upgrade. For more information, see Re-register your con...
https://docs.aws.amazon.com/amp/latest/userguide/document-history.html
CC-MAIN-2019-04
refinedweb
659
57.37
On Thu, Mar 15, 2012 at 09:46:24AM -0700, Greg KH wrote:> On Thu, Mar 15, 2012 at 05:27:26PM +0100, Jiri Slaby wrote:> > On 03/15/2012 11:48 AM, Jiri Slaby wrote:> > > On 03/12/2012 09:34 PM, Greg KH wrote:> > >> I'm announcing the release of the 3.0.24 kernel.> > > ...> > >> Heiko Carstens (1): compat: fix compile bre...
https://lkml.org/lkml/2012/3/15/298
CC-MAIN-2015-14
refinedweb
237
60.82
concert 0.6.0 Lightweight beamline control system Concert is a light-weight control system interface to control Tango and native devices. It can be used as a library: from concert.quantities import q from concert.devices.motors.dummy import Motor motor = Motor() motor.position = 10 * q.mm motor.move(-5 * q.mm) or from ...
https://pypi.python.org/pypi/concert/0.6.0
CC-MAIN-2014-15
refinedweb
126
52.26
modal panel rerendering bug?Akaine Harga Nov 6, 2010 6:20 PM I'll try to be brief but it's somehow difficult to explain, though relatively easy to simulate. Let's say we have a simple catalogue administration page: <a4j:keepAlive <a4j:form <rich:panel <a4j:commandButton </rich:panel> <!-- some ther stuff including exis...
https://developer.jboss.org/message/570291
CC-MAIN-2016-50
refinedweb
758
59.23
. £1.6 million is a lifetime’s worth of money, no? It’s median income for the likely 60 year lifespan of a 30 year old. Another way to put it, that’s a house and a holiday home bought outright and the pension fully paid up. Yes, life gets pretty easy once those are all paid for:. Aha. Living well without having to work...
http://www.timworstall.com/2017/05/19/sounds-about-right-14/
CC-MAIN-2018-13
refinedweb
1,991
81.93
Local Market Summary: •PM Hon Peter O’Neill has highlighted great opportunities to come from India as a market for LNG and for development of downstream processing in petrochemicals. These comments come following meetings with executives from Indian Government-owned Oil and Gas Company Group, Petronet LNG and GAIL (Ind...
http://www.kina.com.pg/news/weekly-and-daily-reports/kfm-weekly-investment-update-friday-21-august-2015/
CC-MAIN-2018-34
refinedweb
958
66.13
EvmConnControl - Controls information for an EVM connection #include <evm/evm.h> EvmStatus_t EvmConnControl( EvmConnection_t connection, EvmInt32_t request, void *arg ); The connection to be controlled. See the EvmConnCreate(3) reference page. The control action requested. See the DESCRIPTION section for the available ...
http://nixdoc.net/man-pages/Tru64/man3/EvmConnControl.3.html
CC-MAIN-2013-20
refinedweb
429
52.05
Security Kernel development Four stable kernels were released on August 10: 2.6.27.50, 2.6.32.18, 2.6.34.3, and 2.6.35.1. Seriously, just use an external email account and ignore the broken corporate policy. 'Policy' is just a euphemism for not having to think for yourself. Kernel development news User-visible change...
http://lwn.net/Articles/398843/bigpage
CC-MAIN-2013-20
refinedweb
5,819
58.52
Send data from ESP8266 or ESP32 to Raspberry Pi via MQTT In this tutorial we create a WiFi MQTT communication system with all components to send data from an ESP8266 or ESP32 weather station to a Rasbperry Pi. With this article you learn - the basics of MQTT communication - how to publish data to a MQTT broker - how to...
https://diyi0t.com/microcontroller-to-raspberry-pi-wifi-mqtt-communication/
CC-MAIN-2021-39
refinedweb
4,779
64.61
mmap - map pages of memory #include <sys/mman.h> void *mmap(void *addr, size_t len, int prot, int flags, int fildes, off_t off); The mmap() function establishes a mapping between a process' an implementation-dependent function of the parameter addr and parameter prot determines whether read, write, execute, or some com...
http://man.remoteshaman.com/susv2/xsh/mmap.html
CC-MAIN-2019-22
refinedweb
719
51.78
Here I will explain how to send email using gmail in asp.net or send email using gmail smtp server in asp.net using c#. Description: To implement this mail concept in your asp.net application first we need to add this reference to our application System.Web.Mail namespace What is System.Net.Mail The System.Net.Mail nam...
http://www.aspdotnet-suresh.com/2010/12/how-to-send-mail-using-gmail.html?showComment=1359048970842
CC-MAIN-2017-30
refinedweb
755
76.72
This may come in handy if you plan to migrate, for example, an existing WhatsApp group. A good number of users that have already migrated may be a convincing argument to promote such change, specially in communities where Telegram where not that well known so far. In this tutorial we'll be using the Telegram Database L...
https://practicaldev-herokuapp-com.global.ssl.fastly.net/luvejo/how-to-check-if-a-phone-number-is-on-telegram-using-tdlib-and-python-1kfl
CC-MAIN-2021-17
refinedweb
341
68.16
SecurID::ACEdb - Perl extension to use the ACE/Server Administration Toolkit API use SecurID::ACEdb qw(:basic func1 func2 ...) use SecurID::ACEdb qw(:all); ApiInit(); ... ApiEnd(); The ACE/Server Administration Toolkit API is used to create custom administration applications for ACE/Server, specifically functions that ...
http://search.cpan.org/dist/SecurID-ACEdb/ACEdb.pm
CC-MAIN-2017-26
refinedweb
1,322
57.27
On Mar 6, 2010, at 5:47 PM, Ben Finney <ben+python at benfinney.id.au> wrote: > "Stephen J. Turnbull" <stephen at xemacs.org> writes: > >> I have to admit Jean-Paul's explanation a pretty convincing reason >> for >> adopting "future" rather than "promise". But I'm with Skip, I would >> prefer that the module be named "...
https://mail.python.org/pipermail/python-dev/2010-March/098244.html
CC-MAIN-2016-40
refinedweb
128
75
From: Sylvain, Gregory M (GSylvain_at_[hidden]) Date: 2005-07-12 16:11:00 Hello all, We are currently using boost_1_32_0 and I'm trying to write a toolset file to enable us to use Roguewave's LEIF xsd2cpp C++ class generator from within bjam. (The xsd2cpp command is just a C++ class generator that generates C++ class f...
https://lists.boost.org/Archives/boost/2005/07/90174.php
CC-MAIN-2022-40
refinedweb
329
58.99
Typescript by default — A JavaScript journey #5 — What a click bait title?!? — I know, right? So, TypeScript is not new stuff, but it became more and more popular in the JavaScript community those days and this is why is great to use it by default in your JavaScript projects. — But TypeScript is an alternative language...
https://antistatique.net/fr/nous/bloggons/2019/01/23/typescript-by-default-a-javascript-journey-5
CC-MAIN-2021-10
refinedweb
522
73.88
If you are one of those who have still not filed their tax return or are still wondering which ITR form to use or what has changed in the new forms, here's help. The due date for filing income tax return for Financial Year 2017-18 – for certain category of taxpayers – has been extended till August 31 this year. By this...
https://www.financialexpress.com/money/income-tax/filing-income-tax-return-heres-what-has-changed-in-the-new-itr-forms-for-ay2018-19/1270777/
CC-MAIN-2019-39
refinedweb
560
63.83
Maybe this question has been asked around but I couldn't find it. How do I setup a static member object at its creation? And possibly perform some other tasks. The goal is to have some of it's setters called at it's creation time. Example: Header file A.h: class A{ public: A::A(); ~A::A(); static QTimer updateTimer; };...
https://codedump.io/share/qvB9kuD6b7rW/1/setup-static-member-object
CC-MAIN-2016-50
refinedweb
198
67.04