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 |
|---|---|---|---|---|---|
To write an HttpHandler, you create a class that implements the IHttpHandler interface. All of the handlers in Listing 8.1 do this. You might recall from Chapter 2, "Classes: The Code Behind the Objects," that an interface is used to ensure that a well-known means of communicating with some other code is available. For... | http://codeidol.com/community/dotnet/handling-file-types-of-your-own/16968/ | CC-MAIN-2017-13 | refinedweb | 608 | 64.51 |
,
I was able to get a simple 2-ILS system working at Auburn on our dev
server.
Here's what I did.
*. Setup a solrmarc import that prepends an ILS-specific prefix to each
record.
You can get something working quickly by modifying the 'id' rule in
the solrmarc marc.properties to:
id = script(customId.bsh),getCustomId("PR... | https://sourceforge.net/p/vufind/mailman/message/26523919/ | CC-MAIN-2017-04 | refinedweb | 870 | 66.54 |
Treasury has released consultation draft legislation on GST for sales of "new residential premises" and "potential residential land" (subdivided residential lots).
As explained in detail further below, once enacted, the new laws will require purchasers of new residential premises and potential residential land to withh... | https://www.lexology.com/library/detail.aspx?g=522be7b3-7623-443e-a522-782552f35811 | CC-MAIN-2019-04 | refinedweb | 1,783 | 51.99 |
My code is divided into several files, say A.jl, B.jl, C.jl, each of which defines a single module, say A, B, C. Inside C.jl there are declarations like this:
import A.myfunction1 import B.myfunction2
In 0.6.2, I was able in the REPL to issue instructions in this order:
include("A.jl") include("B.jl") include("C.jl")
a... | https://discourse.julialang.org/t/loading-modules-at-the-repl-in-0-7-is-it-different/9190 | CC-MAIN-2022-21 | refinedweb | 145 | 72.22 |
The Java Specialists' Newsletter
Issue 2342015-11-20
Category:
Concurrency
Java version: Java 8
GitHub
Subscribe Free
RSS Feed
Welcome to the 234th edition of The Java(tm) Specialists' Newsletter, written during
various flights at 30000 feet. Last weekend I was in Graz,
Austria, in between two courses. On the Saturday ... | http://www.javaspecialists.eu/archive/Issue234.html | CC-MAIN-2016-26 | refinedweb | 2,663 | 66.44 |
Edit Article
wikiHow to Make a Countdown Program in Python
This article will show you how to create a simple countdown program with the programming language Python. Python is easy to learn, but this article is aimed at intermediate users, rather than beginners.
Steps
- 1Open your text editor.
- 2Go to the file menu and... | http://www.wikihow.com/Make-a-Countdown-Program-in-Python | CC-MAIN-2017-04 | refinedweb | 364 | 76.11 |
Does anyone know how to set up the AI to always lose? or something....
Does anyone know how to set up the AI to always lose? or something....
Hello! Can someone please give me any advice!
In the java game Pong, how do you defeat the computer? What is the code, method, or whatever that allows you to defeat the comp. ple... | http://www.javaprogrammingforums.com/search.php?s=4acbb94b779904a5425db9c0775c44da&searchid=1461224 | CC-MAIN-2015-14 | refinedweb | 126 | 85.49 |
#include <nng/protocol/pipeline0/pull.h>
nng_pull(7)
NAME
nng_pull - pull protocol
SYNOPSIS
DESCRIPTION
(protocol, pull) The pull protocol is one half of a pipeline pattern. The other half is the push protocol.
In the pipeline pattern, pushers distribute messages to pullers. Each message sent by a pusher will be sent t... | https://nng.nanomsg.org/man/tip/nng_pull.7.html | CC-MAIN-2021-04 | refinedweb | 187 | 58.58 |
getpgid()
Get a process group ID
Synopsis:
#include <unistd.h> pid_t getpgid( pid_t pid );
Arguments:
- pid
- The ID of the process whose process group ID you want to get.
Library:
libc
Use the -l c option to qcc to link against this library. This library is usually included automatically.
Description:
The getpgid() re... | https://developer.blackberry.com/playbook/native/reference/com.qnx.doc.neutrino.lib_ref/topic/g/getpgid.html | CC-MAIN-2021-39 | refinedweb | 192 | 66.44 |
Having learned to walk, let's try a jog. In this
section, we'll look at some techniques for doing fast and flicker-free
drawing and painting. If you're interested in animation or smooth
updating, you should read on.[4]
[4]
At this point, you still have to build your own animation software.
JavaSoft will be releasing an... | https://docstore.mik.ua/orelly/java/exp/ch13_05.htm | CC-MAIN-2019-18 | refinedweb | 3,070 | 63.19 |
Theo de Raadt Responds 261
A book on code auditing?
by LizardKing
Would!!!
Theo:. A solid systems's approach should not be based on "but it works". Yet, time and time again, we see that for most people this is the case. They don't care about good software, only about "good enough" software. So the programmers can conti... | https://slashdot.org/story/00/12/11/1455210/theo-de-raadt-responds | CC-MAIN-2016-30 | refinedweb | 14,779 | 71.65 |
Preface
Hey there! I’m finally ready to present you the third installment of the series exploit mitigation techniques.
Today I want to talk about Address Space Layout Randomization or ASLR in short.
Format wise the article will be structured the following way:
- Introduction to the technique
- Current implementation de... | https://0x00rick.com/research/2018/04/09/intro_adress_space_layout_rand.html | CC-MAIN-2019-30 | refinedweb | 6,718 | 50.77 |
Free JSP download Books
Free JSP download Books
Java Servlets and JSP
free download books... optimization.
The
Professional JSP Books
The JDC
jsp online exam...
jsp online exam... Plz provide me front end design
Programming Books
books and download these books for future reference. These Free Computer Books...
Free Jav... | http://roseindia.net/tutorialhelp/comment/93200 | CC-MAIN-2015-40 | refinedweb | 1,555 | 62.98 |
Testing Web Services
You can test Web services by calling Web methods from unit tests. Testing Web services is much like testing other code by using unit tests in that you can use Assert statements, and the tests produce the same range of results. However, the Microsoft.VisualStudio.TestTools.UnitTesting.Web namespace ... | https://docs.microsoft.com/en-us/previous-versions/ms243399%28v%3Dvs.80%29 | CC-MAIN-2020-10 | refinedweb | 1,266 | 56.55 |
Fluent NHibernate Has a Wiki
Fluent NHibernate (previously covered by InfoQ) is an alternative to using XML mappings in NHibernate. Fluent NHibernate is using a fluent interface allowing one to define mappings in code instead of XML. Some people in the community have complained about the lack of documentation for Fluen... | http://www.infoq.com/news/2009/02/fluent-nhibernate-wiki | CC-MAIN-2015-18 | refinedweb | 377 | 54.22 |
With IoT (Internet of Things) on the rise and hardware getting cheaper and cheaper, it’s a great time to explore the possibilities this new technology provides. In this tutorial, I will show you how to create your own thermometer app using a NodeMcu microcontroller, a DHT22 temparature and humidity sensor and the Flask... | https://codeproject.freetls.fastly.net/Articles/1277175/WiFi-thermometer-using-NodeMCU-DHT22-and-Flask?msg=5597077#xx5597077xx | CC-MAIN-2021-43 | refinedweb | 2,254 | 57.77 |
Im trying to create two buttons on a page. Each one I would like to carry out a different python script on the server. So far I have only managed to get/collect one button using
def contact():
form = ContactForm()
if request.method == 'POST':
return 'Form posted.'
elif request.method == 'GET':
return render_template('c... | https://codedump.io/share/M401Og7Cx4E0/1/flask-python-buttons | CC-MAIN-2017-43 | refinedweb | 140 | 59.4 |
Efficiency Through the Looking-Glass different major. It was kind of like saying to treasure hunters, "Yeah, those pirate's chests full of gold coins are nice, but look what's in this cave back here...."
Well, efficiency has a double-edged sword. Twenty years ago, switching converters were a lot harder to justify (exce... | https://www.electronics-related.com/showarticle/533/efficiency-through-the-looking-glass | CC-MAIN-2018-39 | refinedweb | 1,974 | 60.95 |
2008-2014
FSF
1.1.
What is libstdc++?
The GNU Standard C++ Library v3 is an ongoing project to
implement the ISO 14882 Standard C++ library as described in
clauses 17 through 30 and annex D. For those who want to see
exactly how far the project has come, or just want the latest
bleeding-edge code, the up-to-date source... | http://gcc.gnu.org/onlinedocs/libstdc++/faq.html | CC-MAIN-2015-22 | refinedweb | 4,777 | 64.81 |
Should my web app be compatible with PHP 4? You know there are some big OO differences and database stuff.
What's your idea? When PHP4 and IE6 can say goodbye!?
I won't touch anything below 5.2.
Generally I find complete rewrites, without the restriction of older versions, allows for easier addition of features and mor... | http://community.sitepoint.com/t/do-you-consider-php-4-while-developing-new-apps/51930 | CC-MAIN-2015-06 | refinedweb | 1,104 | 69.11 |
#include <sys/mman.h> int mlock(const void *addr, size_t len);
int munlock(const void *addr, size_t len); − multiple mlock() operations on the same address in the same process will all be removed with a single munlock(). Of course, a page locked in one process and mapped in another (or visible through a different mappi... | http://docs.oracle.com/cd/E36784_01/html/E36874/munlock-3c.html | CC-MAIN-2015-22 | refinedweb | 400 | 58.32 |
POSIX’ condition variables
pthread_cond_t unfortunately have some drawbacks:
- They require the use of at least two separate other objects that are only loosely coupled with the condition variable itself:
- A plain variable, say
Xof type
int, that actually holds the value of which the condition depends.
- A mutex that ... | https://gustedt.wordpress.com/2011/01/28/linux-futexes-non-blocking-integer-valued-condition-variables/ | CC-MAIN-2015-40 | refinedweb | 1,470 | 55.88 |
1. The "new UIWindow(UIScreen.MainScreen.Bounds) call must be in
FinishedLaunching() and not in the AppDelegate's constructor. If it's
done in the constructor, the app does not correctly process device
rotations when it starts in landscape mode.
NOTE: See expected vs. actual below
2. The Entitlements.plist file is mis... | https://bugzilla.xamarin.com/27/27373/bug.html | CC-MAIN-2021-39 | refinedweb | 677 | 52.46 |
. So, for example, many of the current features of unittest2 will be available in unittest in 2.7 and 3.2. This makes those features available to those that rely almost entirely on standard library functionality rather than third party packages. In the meantime, users of previous versions of Python can already use unit... | https://mail.python.org/pipermail/python-ideas/2010-June/007402.html | CC-MAIN-2018-05 | refinedweb | 289 | 56.76 |
Hi, I'm fairly new to Unity, and I've been having trouble solving this problem. I've been trying to use the accelerometer for my game. The sphere is supposed to move left, right, up and down to navigate a 3D Maze. But for some reason, the sphere just moves left and right on its own or gets stuck. I followed Unity's own... | https://answers.unity.com/questions/895307/accelerometer-for-a-sphere-character.html | CC-MAIN-2019-35 | refinedweb | 371 | 73.78 |
Wipy 2.0 Cannot read internal flash without a SD card inserted
I'm trying to read a file from the internal flash, but to do so I must have a sd card inserted even though I'm not using it.
If I try without a card I get this:
>>> from machine import SD >>> sd = SD() Traceback (most recent call last): File "<stdin>", line... | https://forum.pycom.io/topic/1226/wipy-2-0-cannot-read-internal-flash-without-a-sd-card-inserted | CC-MAIN-2020-45 | refinedweb | 175 | 82.04 |
As it seems, not everybody knows that this function returns a pointer that you can use to gain control of the created weapon.
Syntax: Select all
from commands.typed import TypedSayCommand
from memory import make_object
from messages import SayText2
from players.entity import Player
from weapons.entity import Weapon
@Ty... | https://forums.sourcepython.com/viewtopic.php?f=31&t=1597&sid=56eb81d814ff87b7d0159623aa2775e0 | CC-MAIN-2018-22 | refinedweb | 522 | 61.83 |
import from dump (.dmp) file. I'm running Oracle database 11g Enterprise edition release 11.1.0.6.0.
the import statement I'm using is
and the error I'm getting is "incompatible versionnumber 3.1 in the dumpfile mydmpfile.dmp"and the error I'm getting is "incompatible versionnumber 3.1 in the dumpfile mydmpfile.dmp"Cod... | http://forums.devshed.com/oracle-development-96/importing-dmp-file-incompatible-versionnumber-930039.html | CC-MAIN-2017-22 | refinedweb | 143 | 53.68 |
10 May 2012 05:31 [Source: ICIS news]
SINGAPORE (ICIS)--?xml:namespace>
HMEL is unable to start up the PP unit by end-April as planned because of an outage at its upstream 9m tonne/year refinery, the source said.
The refinery, which is at the same site, was commissioned on 29 March.
“The refinery has been restarted in ... | http://www.icis.com/Articles/2012/05/10/9558102/indias-hmel-delays-start-up-of-new-punjab-pp-unit-to-20.html | CC-MAIN-2014-49 | refinedweb | 146 | 55.54 |
It seems if the floating-point representation has radix 2 (i.e.
FLT_RADIX == 2
std::ldexp(1, x)
std::exp2(x)
2
x
exp2(x) and
ldexp(x,i) perform two different operations. The former computes 2x, where
x is a floating-point number, while the latter computes x*2i, where
i is an integer. For integer values of
x,
exp2(x) an... | https://codedump.io/share/3fE2RxLS2RPX/1/difference-between-ldexp1-x-and-exp2x | CC-MAIN-2017-17 | refinedweb | 679 | 63.29 |
All,
I have this very basic script that's producing some odd output. What I need to do is constantly ping a server, and when/if that server stops responding, I want to write the timestamp and " timed out" to a file. We're trying to lock down a time as to when something is going down. The code is below, and what's happe... | https://www.daniweb.com/programming/software-development/threads/463402/ping-looping-help | CC-MAIN-2018-05 | refinedweb | 435 | 80.99 |
Reading a File in Groovy
Last modified: February 9, 2019
1. Overview
In this quick tutorial, we’ll explore different ways of reading a file in Groovy.
Groovy provides convenient ways to handle files. We’ll concentrate on the File class which has some helper methods for reading files.
Let’s explore them one by one in th... | https://www.baeldung.com/groovy-file-read | CC-MAIN-2019-26 | refinedweb | 947 | 58.89 |
Created on 2016-03-18.00:08:39 by darjus, last changed 2017-11-04.20:31:48 by jeff.allen.
Fixed as of
Mar 19, 2016 6:56:12 PM io.netty.channel.ChannelInitializer exceptionCaught
WARNING: Failed to initialize a channel. Closing: [id: 0xabe1bf32, /127.0.0.1:63059 => /127.0.0.1:63054]
Traceback (most recent call last):
Fi... | http://bugs.jython.org/issue2487 | CC-MAIN-2018-05 | refinedweb | 921 | 56.15 |
TUTORIALS
FORUMS
Flash
Basics / Animation
ActionScript
Special Effects
HTML5
CSS /
HTML Basics
Animation
JavaScript
Common Tasks
Windows Phone
Get Help
Modifying SL Animations Using C# - Page
3
by
kirupa | 7 November 2008
In the
previous page, you looked at your animation in
fairly great detail and gave the keyframes
r... | https://www.kirupa.com/blend_silverlight/modifying_animation_sl2_pg3.htm | CC-MAIN-2021-17 | refinedweb | 396 | 66.47 |
In this post I will show you how you can use PKCE(Proof Key for Code Exchange) for authentication. I will use Nuxt.js, because that's what I use in my day to day workflow, but I will try to make it as generic as possible so that it can be implemented in other frameworks or even in vanilla javascript.
The Proof Key for ... | https://practicaldev-herokuapp-com.global.ssl.fastly.net/stefant123/pkce-authenticaton-for-nuxt-spa-with-laravel-as-backend-170n | CC-MAIN-2021-04 | refinedweb | 4,537 | 53.1 |
Hi, all, I am a new user of st2.
thanks for reading my questions:
(I'm using ST2 on OS X Mountain Lion.)
Is there any way to view all currently available tab triggers? (as I can see in textmate's toolbar menu of Bundles...) or is there any plan to add such a menu?
I can see many textmate bundle files, in the ~/Library/... | https://forum.sublimetext.com/t/newbie-questions/7482/1 | CC-MAIN-2016-22 | refinedweb | 409 | 68.6 |
In his 15+ years of developing software, Eric Bruno has acted as technical advisor, chief architect, and led teams of developers. He can be contacted at.
I've been part of software teams and projects where the leaders start by putting together a "programming standards" document. The first entry always seems to be "don'... | http://www.drdobbs.com/jvm/programming-with-reason-why-is-goto-bad/228200966 | CC-MAIN-2015-32 | refinedweb | 855 | 61.26 |
ftell(), ftello(), ftello64()
Return the current position of a stream
Synopsis:
#include <stdio.h> long int ftell( FILE* fp ); off_t ftello( FILE* fp ); off64_t ftello64( FILE* fp );
Since:
BlackBerry 10.0.0
Arguments:
- fp
- The stream that you want to get the current position of.
Library:
libc
Use the -l c option to ... | http://developer.blackberry.com/native/reference/core/com.qnx.doc.neutrino.lib_ref/topic/f/ftell.html | CC-MAIN-2017-34 | refinedweb | 182 | 67.45 |
Miniflare is a simulator for developing and testing Cloudflare Workers.
Originally started as an open-source project, Miniflare has been adopted by Cloudflare to become part of their ecosystem.
Installation per NPM:
npm install -g miniflare
CLI usage is really simple, and is highly configurable using one of its many fl... | https://www.bram.us/2021/09/27/miniflare-fully-local-simulator-for-cloudflare-workers/ | CC-MAIN-2022-40 | refinedweb | 124 | 51.75 |
Logging in Crossbar.io¶
Crossbar’s structured logging system is present in versions 0.11 and above.
Crossbar.io uses Twisted’s new Logger facilities to provide structured logging for Crossbar.io and components run inside of it.
Twisted Logger¶
Twisted
Logger,
introduced in Twisted 15.2, provides structured logging for ... | https://crossbar.io/docs/Logging-in-Crossbar.io/ | CC-MAIN-2019-22 | refinedweb | 694 | 56.66 |
Hello,
I am using a NRF24L01+PA to send a signal to a drone which has a standard NRF24L01 on it. I am trying to get the best range possible. I would like to go out 1000m+ always clear line of sight. I have been doing a few tests using the simple code below that controls an LED on the drone. I can only get the MIN and L... | https://forum.arduino.cc/t/nrf24l01-pa-max-power-output-not-working/505700 | CC-MAIN-2022-40 | refinedweb | 370 | 52.36 |
Bummer! This is just a preview. You need to be signed in with a Basic account to view the entire video.
I've added a plain Ruby method called "page_content" to the app. It loads the contents of a text file and returns them as a string. You pass the title of a page to it as an argument, and it uses the "read" method on ... | https://teamtreehouse.com/library/loading-text-files | CC-MAIN-2020-24 | refinedweb | 854 | 82.34 |
Last Updated on December 12, 2020.
Text component in React Native appears to be simple but it has a lot of props for customization and usability. Sometimes, we want to make Text component more stylish by having shadows with vibrant colors. In such cases, you don’t need to rely on any third party component libraries- re... | https://reactnativeforyou.com/how-to-add-shadows-for-text-component-in-react-native/ | CC-MAIN-2021-31 | refinedweb | 145 | 59.74 |
PROBLEM LINK:
Practice
Contest[Division 1]
Contest[Division 2]
Author: Mohammad Shahhoud
Editorialist: Darshan Sen
DIFFICULTY:
EASY
PREREQUISITES:
PROBLEM:
Given 2 strings S and R, find the lexicographically smallest permutation of R s.t.:
all substrings of S \subseteq all substrings of R
QUICK EXPLANATION:
Remove the ... | https://discuss.codechef.com/t/allsum-editorial-unofficial/39530 | CC-MAIN-2020-40 | refinedweb | 845 | 52.02 |
Dec 04, 2011 05:30 PM|multiv123 06:04 PM|francesco abbruzzese 06:35 PM|multiv123 07:53 PM|francesco abbruzzese 08:21 PM|multiv123 08:27 PM|multiv123 09:57 PM|francesco abbruzzese|LINK
sorry I made a mistake, u is MyUse, not MembershipUser
@foreach (MyUser u in Model.AllUsers){
......some user property rendered here
@fo... | http://forums.asp.net/p/1746171/4714752.aspx?Re+showing+user+roles+for+users+in+database | CC-MAIN-2014-10 | refinedweb | 487 | 61.56 |
perltray - Convert Perl program into a Windows tray application
perltray [options] perlscript
perltray [options] project
perltray
perltray --help
perltray --version
The PerlTray utility converts a Perl program into a Windows tray application. This utility combines a Perl program, all of the required Perl modules and a ... | http://docs.activestate.com/pdk/9.5/PerlTray.html | CC-MAIN-2017-39 | refinedweb | 2,489 | 56.25 |
Created on 2009-01-21 20:59 by roug, last changed 2010-10-27 18:52 by pitrou. This issue is now closed.
The 'xml' namespace in XML files is special in that it need not be
declared. When xml.sax.saxutils.XMLGenerator is used with the namespace
feature it does not know how to handle it.
Example. The code:
import xml.sax,... | http://bugs.python.org/issue5027 | CC-MAIN-2016-26 | refinedweb | 656 | 77.84 |
).
5. We're identifying bugs in TR1 and working with Dinkumware to fix them. Dinkumware's code was very solid to begin with - but as ever, more eyes find more bugs. I've even found a couple of bugs in the TR1 spec made them talk to each other in order to improve performance. For example, STL containers of TR1 types (e.... | http://blogs.msdn.com/vcblog/archive/2008/01/08/q-a-on-our-tr1-implementation.aspx | crawl-002 | refinedweb | 3,521 | 63.09 |
According to the javadoc for
java.util.Scanner.skip
Skips input that matches the specified pattern, ignoring delimiters.
import java.util.Scanner;
public class Example
{
public static void main(String [] args)
{
Scanner sc = new Scanner("Hello World! Here 55");
String piece = sc.next();
sc.skip("World"); // Line A thro... | https://codedump.io/share/AGN2WIkxsJrS/1/scannerskip-documentation-concerning-delimiters | CC-MAIN-2017-47 | refinedweb | 144 | 58.38 |
ffff
AboutAbout
ff is a tool for finding files in the filesystem.
NOTE: ff is in the early stages of development, expect things to break and syntax to change.
SummarySummary
ff lets you find files in the filesystem by querying file metadata. Its scope
is similar to
find(1) and
fd(1) but it tries to be more accessible a... | https://libraries.io/pypi/find-ff | CC-MAIN-2020-24 | refinedweb | 290 | 60.51 |
Forgive my ignorance in electronics. I know (next to) nothing about all this. I have however altered some example code to do what I want it to do. It works great! This is a simple MIDI sketch that uses 5 buttons and a toggle switch to send program changes. When the toggle switch is enabled it changes what program chang... | https://forum.pjrc.com/threads/62980-LED-light-on-pin-13?s=0c52b110a8a2dcfd4ffbaec1ae22661a&p=252301&mode=linear | CC-MAIN-2021-10 | refinedweb | 838 | 71.55 |
On 31 August 2012 16:51, Sébastien Brisard <sebastien.brisard@m4x.org> wrote:
> Hi sebb,
>
> 2012/8/31 sebb <sebbaz@gmail.com>:
>> On 31 August 2012 14:52, Sébastien Brisard <sebastien.brisard@m4x.org> wrote:
>>> Hi Gilles,
>>>
>>> 2012/8/31 Gilles Sadowski <gilles@harfang.homelinux.org>:
>>>> Hello Sébastien.
>>>>
>>>... | http://mail-archives.apache.org/mod_mbox/commons-dev/201208.mbox/%3CCAOGo0VbNYGKQdVNigCBtgtTQVQmK0w+JnSQdMBE9y3Rnt-2P3g@mail.gmail.com%3E | CC-MAIN-2015-35 | refinedweb | 771 | 66.84 |
From: Nicolai Josuttis (nicolai.josuttis_at_[hidden])
Date: 2000-01-02 16:05:03
Gabriel Dos Reis wrote:
>
> Nicolai Josuttis <nicolai.josuttis_at_[hidden]> writes:
>
> Hi Nico,
>
> | As I got no feedback so far:
> | Did anybody look at it and is anybody interested?
>
> Or wasn't anybody being on holidays? :-)
>
Damned,... | https://lists.boost.org/Archives/boost/2000/01/1512.php | CC-MAIN-2020-05 | refinedweb | 148 | 69.18 |
Preference panel not opening.
- etienneabonn last edited by gferreira
Every time I try to open my preferences panel I get this in the output window:
Traceback (most recent call last): File "lib/doodleDelegate.pyc", line 275, in openPreferences_ File "lib/doodlePreferences.pyc", line 653, in __init__ File "lib/doodlePre... | https://forum.robofont.com/topic/151/preference-panel-not-opening | CC-MAIN-2020-16 | refinedweb | 114 | 51.14 |
This is your resource to discuss support topics with your peers, and learn from each other.
02-13-2013 09:28 AM
Hi,
any starting point how I could encode/generate a qrcode as an image to display in QML?
thanks!
Solved! Go to Solution.
02-13-2013 04:16 PM
02-13-2013 08:00 PM
You can have a look at Zxing. They have devel... | https://supportforums.blackberry.com/t5/Native-Development/Encode-generate-QRCode-barcode/m-p/2750351 | CC-MAIN-2016-36 | refinedweb | 198 | 60.21 |
.
Allow the autoloader to act as a fallback autoloader. In the case where a team may be widely distributed, or using an undetermined set of namespace prefixes, the autoloader should still be configurable such that it will attempt to match any namespace prefix. It will be noted, however, that this practice is not recomm... | http://framework.zend.com/manual/1.12/en/learning.autoloading.design.html | CC-MAIN-2014-42 | refinedweb | 195 | 56.76 |
On rising tides etc.
Thoughts on Twitter’s “growth problem”
Disclaimer: I used to work at Twitter but it has been almost a year since I left and I have no inside information into the company’s strategy, product plans or anything else. This post is based solely on my opinions as a long-time user of the product and obser... | https://medium.com/@mitali/on-rising-tides-etc-f6652788ea60?source=tw-3ac9e631c2fc-1403490529503 | CC-MAIN-2015-11 | refinedweb | 516 | 60.35 |
Welcome to the Parallax Discussion Forums, sign-up to participate.
/* pixyuart fnctn 3a.c This works to return a value, C code used with Pixy - CMUCAM5 Tom Montemarano June 2014, MIT License.
This program prints out the value of x for a chosen signature and data for all blocks in a frame
Pixy pin 1 (PP1) (rx) -- ABot P... | http://forums.parallax.com/discussion/comment/1450432 | CC-MAIN-2018-47 | refinedweb | 2,219 | 72.5 |
().
Note
Before the
autocomplete() method was introduced, the search method also did partial matching. This behaviour is will be deprecated and you should
either switch to the new
autocomplete() method or pass
partial_match=False into the search method to opt-in to the new behaviour. The
partial matching in
search() wi... | https://docs.wagtail.org/en/v2.15.1/topics/search/searching.html | CC-MAIN-2022-21 | refinedweb | 635 | 58.58 |
Last year, I wrote two articles here on Smashing Magazine about using Flutter on web and desktop platforms. The first article was a general introduction to web and desktop development, and focused on building responsive UI; the second article was about the challenges you might face when trying to develop a Flutter app ... | https://www.fvwebsite.design/fraser-valley-website-design/whats-new-in-flutter-2-smashing-magazine/ | CC-MAIN-2021-17 | refinedweb | 2,751 | 57.3 |
On Sun, 2009-10-18 at 19:56 +0200, Jan Kiszka wrote: > Philippe Gerum wrote: > > On Sun, 2009-10-18 at 14:54 +0200, Jan Kiszka wrote: > >> Philippe Gerum wrote: > >>> On Fri, 2009-10-16 at 19:08 +0200, Jan Kiszka wrote: > >>>> Hi, > >>>> > >>>> our automatic object cleanup on process termination is "slightly" broken > ... | https://www.mail-archive.com/xenomai-core@gna.org/msg07455.html | CC-MAIN-2018-26 | refinedweb | 2,015 | 62.48 |
reactifyreactify
The first and only true Functional Reactive Programming framework for Scala.
JustificationJustification
How can we say it's the first true FRP framework for Scala? Simple, because it is. In all other frameworks they add special framework-specific functions to do things like math (ex. adding two variabl... | https://index.scala-lang.org/outr/reactify/props/1.1.0?target=_2.11 | CC-MAIN-2021-17 | refinedweb | 1,570 | 61.16 |
#include "NOX.H"
#include "NOX_Common.H"
#include "NOX_Utils.H"
#include "NOX_LAPACK_Group.H"
This test problem is a modified extension of the "Broyden Tridiagonal Problem" from Jorge J. More', Burton S. Garbow, and Kenneth E. Hillstrom, Testing Unconstrained Optimization Software, ACM TOMS, Vol. 7, No. 1, March 1981, ... | http://trilinos.sandia.gov/packages/docs/r6.0/packages/nox/doc/html/Broyden_8C.html | CC-MAIN-2014-15 | refinedweb | 147 | 52.66 |
Core Python: Comparing Single vs. Multithread Execution
Core Python: Comparing Single vs. Multithread Execution
Join the DZone community and get the full member experience.Join For Free
Read this guide to learn everything you need to know about RPA, and how it can help you manage and automate your processes.
This is an... | https://dzone.com/articles/book-excerpt-core-python | CC-MAIN-2018-13 | refinedweb | 345 | 50.43 |
After populating the Tree View nodes, I had to handle the SelectedNodeChanged event to redirect to the Date.aspx page and pass the correct StartDateTime and EndDateTime query string parameters. The query string structure is fairly easy, you needed to supply the time span parameters and the title. For example, to get al... | https://blogs.msdn.microsoft.com/balsharfi/2012/01/01/an-alternative-archives-web-part-to-solve-the-pre-dated-posts-provisioning-in-the-ootb-blog-site-archives-web-part/ | CC-MAIN-2016-44 | refinedweb | 2,444 | 65.73 |
Creating a NetBeans 7.1 Custom Hint
Join the DZone community and get the full member experience.Join For Free
I have talked about some of my favorite NetBeans hints in the posts Seven NetBeans Hints for Modernizing Java Code and Seven Indispensable NetBeans Java Hints. The fourteen hints covered in those two posts are ... | https://dzone.com/articles/creating-netbeans-71-custom | CC-MAIN-2022-27 | refinedweb | 1,015 | 53.71 |
Write your own JWT generator in Python
I have written about JWTs before. If you are not familiar with them you might start by taking a look at my article on Understanding JWTs and also my piece on Python keywords, as I revisited JWTs there too. So, assuming you are familiar with those articles, I will dive straight int... | https://tonys-notebook.com/articles/jwt-generator.html | CC-MAIN-2020-10 | refinedweb | 964 | 66.23 |
How to Make an Auto-brewing Coffee Maker
Introduction: How to Make an Auto-brewing Coffee Maker
Intro:
For those mornings where you just need that coffee to be ready when you wake up, your Arduino Coffee maker will come to the rescue! This can be done with most coffee makers, but the one I used was a Keurig B-40, but t... | http://www.instructables.com/id/How-to-make-an-auto-brewing-coffee-maker/ | CC-MAIN-2018-05 | refinedweb | 853 | 69.11 |
Opened 11 years ago
Closed 11 years ago
Last modified 10 years ago
#1055 closed defect (fixed)
Models should have better default __str__() and __repr__() methods
Description
Right now, the default __repr__() method as defined in the Model class (in django/core/meta/__init__.py) looks like:
def __repr__(self): return '<... | https://code.djangoproject.com/ticket/1055 | CC-MAIN-2017-13 | refinedweb | 179 | 56.89 |
Drools JBoss Rules 5.0 Developer's Guide — Save 50%
Develop rules-based business logic using the Drools platform.
Transfer Funds work item
We'll now jump almost to the end of our process. After a loan is approved, we need a way of transferring the specified sum of money to customer's account. This can be done with rule... | http://www.packtpub.com/article/drools-jboss-rules-5.0-flow-part2 | CC-MAIN-2013-48 | refinedweb | 3,797 | 50.53 |
Researchers.
Address Space Layout Randomization or ASLR is an important defense mechanism that can mitigate known and, most importantly, unknown security flaws. ASLR makes it harder for a malicious program to compromise a system by, as the name implies, randomizing the process addresses when the main program is launche... | https://hackaday.com/2017/02/15/aslrcache-attack-defeats-address-space-layout-randomization/ | CC-MAIN-2019-18 | refinedweb | 1,999 | 64.1 |
io_wrapper_open_memory
Name
io_wrapper_open_memory — Open a read-only handle on some memory
Synopsis
#include "io_wrapper.h"
io_object * **io_wrapper_open read-only handle on some memory.
- blob
start of the memory area
- len
size of the area in bytes
- memtype
type of memory
If memtype is MEMTYPE_DONTCARE, then the me... | https://support.sparkpost.com/momentum/3/3-api/apis-io-wrapper-open-memory | CC-MAIN-2022-21 | refinedweb | 108 | 56.55 |
Hello!
I am constantly seeing UBD I/O operation mismatch panic in UML with
2.5 SMP (on smp host).
Reproducing is simple - just run uml on SMP host (dual cpu in my case),
SMP uml with four CPUs, single ubd with ext2 on it and
copy 2 kernel sources from one place to another (single fs)
(cp -a /tmp/linux* /mnt/ in my case... | http://sourceforge.net/p/user-mode-linux/mailman/user-mode-linux-devel/thread/20021030184149.A13381@namesys.com/ | CC-MAIN-2015-35 | refinedweb | 714 | 66.03 |
I'm trying to make a small program that gives you the average age of your whole family. I'm into arrays in my book, and I'm trying to experiment with stuff. My thoughts behind the program are this....
1. Get total number of family members.
2. get ages of all the members and insert it into an array.
3. Total up all the ... | https://cboard.cprogramming.com/cplusplus-programming/127718-pulling-data-array.html | CC-MAIN-2017-04 | refinedweb | 516 | 65.93 |
Zope GetSlice Bug
Problem:
One solution:
tested that URL is a string --BillSeitz, 2003/06/25 17:17 GMT shows::
URL ''
Test case to focus on --BillSeitz, 2003/07/01 18:12 GMT
Most obvious in just trying to list the wiki contents, but since that's horribly long let's try something simpler. will be the page I try to get t... | http://webseitz.fluxent.com/wiki/ZopeGetSliceBug | CC-MAIN-2022-27 | refinedweb | 625 | 69.21 |
JAVA S/W download
JAVA S/W download Hi
I'm new to JAVA, I want to download JAVA S/W from where I need to download. Please help me with the link.
Thank you,
Hi !
u can download JAVA from
platform(s/w requirements) for run jsp programs?
platform(s/w requirements) for run jsp programs? in which platform jsp programms are ... | http://roseindia.net/tutorialhelp/comment/26587 | CC-MAIN-2016-07 | refinedweb | 842 | 50.33 |
Created on 2020-04-14 22:30 by vstinner, last changed 2020-05-05 05:52 by rhettinger. This issue is now closed.
The random module lacks a getrandbytes() method which leads developers to be creative how to generate bytes:
It's a common use request:
* bpo-13396 in 2011
* bpo-27096 in 2016
* in 2020
Python already has thr... | https://bugs.python.org/issue40286 | CC-MAIN-2020-45 | refinedweb | 1,522 | 61.12 |
Project setup
How does the app start?
For each platform in Xamarin.Forms, you call the
LoadApplication method, which creates a new application and starts your app.
LoadApplication(new App());
In Flutter, the default main entry point is
main where you load your Flutter app.
void main() { runApp(new MyApp()); }
In Xamari... | http://semantic-portal.net/flutter-get-started-another-platform-xamarin-project-setup | CC-MAIN-2022-05 | refinedweb | 548 | 57.87 |
Last time on FAIC we went through a loose, hand-wavy definition of what it means to have a “weighted” continuous distribution: our weights are now doubles, and given by a Probability Distribution Function; the probability of a sample coming from any particular range is the area under the curve of that range, divided by... | https://ericlippert.com/2019/05/02/fixing-random-part-27/ | CC-MAIN-2020-40 | refinedweb | 2,213 | 61.06 |
I am trying to find a file
*tech.so
fnmatch.fnmatch(name, pattern)
import os, fnmatch
path = "\\\\location1\\build1\\obj\\vendor\\qcom\\opensource\\tech"
def find(pattern, path):
result = []
for root, dirs, files in os.walk(path):
for name in files:
#print name
if fnmatch.fnmatch(name, pattern):
result.append(os.path.j... | https://codedump.io/share/D3R6MjTAD7Jk/1/pattern-match-failing-while-finding-a-file | CC-MAIN-2017-34 | refinedweb | 118 | 63.86 |
In this article, I'll show you how to create a very simple control to represent a small cross button - the sort that you see in the tabbed windows or certain controls.
I found that when creating a custom tab control that allowed the user to close the tabs with a small button, a control like this would be useful.
Howeve... | http://www.codeproject.com/Articles/242628/A-Simple-Cross-Button-for-WPF | CC-MAIN-2015-18 | refinedweb | 860 | 54.22 |
ago) for handling initialization suffers from many longstanding architectural limitations. This code was sufficient for C++03-style initialization, but NSDMI, a C++11 feature, caused it to exhibit these limitations as severe bugs. One of these bugs is described in the MSDN article about error C2797. List initializatio... | https://blogs.msdn.microsoft.com/vcblog/2014/08/19/the-future-of-non-static-data-member-initialization/ | CC-MAIN-2017-47 | refinedweb | 2,522 | 62.58 |
NAME
mouse_setscale - sets a mouse scale factor
SYNOPSIS
#include <vgamouse.h> void mouse_setscale(int s);
DESCRIPTION
This routine sets the scale factor between the motion reported by the mouse and the size of one pixel. The larger the scale is, the slower the mouse cursor appears to move. The scale may be set to any ... | http://manpages.ubuntu.com/manpages/oneiric/man3/mouse_setscale.3.html | CC-MAIN-2013-48 | refinedweb | 116 | 68.16 |
Hi Craig,
Thanks for the response. Yes, I have tried 2 type of devices NodeMCU and Wemos connected to Cayenne without problems.
I am sure it's not about firewall because when I upload the script, there is no new DHCP client connected in my router. (It's only shown in DHCP client when I am debuging the connection with A... | http://community.mydevices.com/t/wifishield-with-arduino-uno-compiling-error/1269?page=3 | CC-MAIN-2017-39 | refinedweb | 1,099 | 68.26 |
Hi everyone, I'm new to this site and hope you might be able to help me out?
So I've been given an assignment to produce this output
% ./hw4b foo here foo and foo there % ./hw4b ABC123 here ABC123 and ABC123 there % ./hw4b 'where is' here where is and where is there
using asm to insert the word/phrase, and only these l... | https://www.daniweb.com/programming/software-development/threads/358099/need-help-with-asm-assembly-insert-in-my-c-code | CC-MAIN-2017-26 | refinedweb | 235 | 72.36 |
OH> I had a look at your ideas and now I have a few questions and remarks.
Great!
OH> At first let me say that I like the idea of using a graph representation
[...]
I definitely agree. Things get a lot easier that way. Besides, we
could even support a special debug mode, where we plug in a graph renderer
and thereby pr... | http://mail-archives.apache.org/mod_mbox/commons-dev/200403.mbox/%3C1523221219.20040329170653@rblasch.org%3E | CC-MAIN-2014-23 | refinedweb | 1,236 | 52.49 |
...one of the most highly
regarded and expertly designed C++ library projects in the
world. — Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
*=operator work?
typedef boost::function<void (string s) > funcptr; void foo(funcptr fp) { fp("hello,world!"); } BOOST_PYTHON_MODULE(test) { def("foo",foo) ; }And then:... | http://www.boost.org/doc/libs/1_31_0/libs/python/doc/v2/faq.html | CC-MAIN-2015-22 | refinedweb | 1,088 | 66.03 |
This example illustrates how to insert date field in your form. We are using here two fields DateField (datein and dateout) and initialize a final static variable DATE which is 0. We are taking both DateField variable in to the constructor (DateFieldExample). When application will run, first of all the startApp() metho... | http://roseindia.net/j2me/date-field.shtml | CC-MAIN-2016-22 | refinedweb | 246 | 50.94 |
The SEO community started to automate the boring stuff using Python and node JS in the last two years. Automation can save you hundreds of hours of manual work, and sometimes it can be more accurate than humans work.
This tutorial will talk about automating one of the most boring tasks in our daily work, uploading cont... | https://www.nadeem.tech/wordpress-publishing-automation-with-python/ | CC-MAIN-2022-27 | refinedweb | 1,710 | 54.32 |
You will have seen earlier in all the programs of exception handling that Java runtime system was responsible for identifying exception class, creating its object, and throwing that object.
JVM automatically throws system generated exceptions. All those exceptions are called implicit exceptions.
If we want to throw an ... | https://www.scientecheasy.com/2020/05/throw-keyword-in-java.html/ | CC-MAIN-2020-24 | refinedweb | 1,306 | 55.13 |
#endif
// include files
#if (defined __GNUC__) && (defined __MINGW32__)
#if (defined __GNUC__) && (defined __MINGW32__) && (__SIZEOF_POINTER__ == 8)
#include <intrin.h>
//including intrin.h works around a MINGW bug
//including intrin.h works around a MINGW-w64 bug
//in essence, intrin.h is included by windows.h and als... | http://eigen.tuxfamily.org/bz/attachment.cgi?id=45&action=diff | CC-MAIN-2018-22 | refinedweb | 129 | 53.58 |
Hello,
I'm developing a new protocol using PyRosetta. I hoped to use Rosetta's built-in random functions (numeric::random::gaussian for example) but couldn't find them in PyRosetta under numeric (numeric.random does not exist)
Is there a way to access them?
I remember reading that having a good random generator for sto... | https://rosettacommons.org/node/3850 | CC-MAIN-2022-27 | refinedweb | 441 | 51.34 |
In HTML/CSS font size can be specified in the following fashion
(deprecated but all browsers support it):
<font
size="n">text</font>
with n an
element of {1, 2, 3, 4, 5, 6, 7}.
n
{1, 2, 3, 4, 5, 6, 7}
Another
possibility is the following:
<span style="font-size:
s;">text</span>
with
there
facto
relation
between
font
si... | http://bighow.org/tags/Large/1 | CC-MAIN-2017-47 | refinedweb | 580 | 59.13 |
I was browsing the source code of this gem and I found a use of content_tag that confuses me a lot.
def render(view)
view.content_tag(name, attributes[:content], attributes.except(:content))
end
Most commonly,
content_tag is called in the context of a view - so, you don't need to call
view.content_tag because the view ... | https://codedump.io/share/P9cqf811MQPo/1/rails-contenttag-method | CC-MAIN-2017-43 | refinedweb | 341 | 67.76 |
The time this frame has started (Read Only). This is the time in seconds since the last level has been loaded.
This is the time in seconds since the last level was loaded. This is Read-Only.
//Attach this script to a GameObject //Create a Button (Create>UI>Button) and a Text GameObject (Create>UI>Text) //Click on the G... | https://docs.unity3d.com/kr/2019.3/ScriptReference/Time-timeSinceLevelLoad.html | CC-MAIN-2020-24 | refinedweb | 215 | 58.28 |
Novaart » The NOvA Offline Workbook »
Christopher Backhouse, 04/05/2016 05:48.
Comments and feedback are welcome. The _if you see something, say something_ policy applies here, it's a wiki!
h2. Goal
Our goal is to add a variable that stores the number of bad channels in a subrun, for example. For illustration purposes,... | https://cdcvs.fnal.gov/redmine/projects/novaart/wiki/How_to_put_a_variable_into_CAF/8/annotate | CC-MAIN-2020-40 | refinedweb | 655 | 59.8 |
Python Crontab API
Project description
Bug Reports and Development
Please report any problems to the github issues tracker. Please use Git and push patches to the github reading
Note: Several users have reported their new crontabs not saving automatically. At this point you MUST use write() if you want your edits to be... | https://pypi.org/project/python-crontab/2.3.0/ | CC-MAIN-2019-04 | refinedweb | 861 | 58.18 |
Face.
Objective
This tutorial will introduce you to the concept of object detection in Python using the OpenCV library and how you can utilize it to perform tasks like Facial detection.
Pre-requisites
Hands-on knowledge of Numpy and Matplotlib is essential before working on the concepts of OpenCV. Make sure that you ha... | https://parulpandey.com/2019/01/22/face-detection-with-python-using-opencv/ | CC-MAIN-2022-21 | refinedweb | 3,144 | 64.41 |
I've thought a bit about my TDD limitations on Android and my discovery of the GoLang-y nature of interfaces. For the
TopStoriesAdapter.ViewHolder to be tested; we can create a wrapper for other controls... Now I understand why Android didn't do it originally; performance; TDD was new... Lots of stuff.
Sooo.... I think... | https://quinngil.com/2017/03/12/vbm-on-android-top-stories-full-data/ | CC-MAIN-2020-05 | refinedweb | 2,232 | 76.01 |
(7)
Vijay Prativadi(3)
Abhimanyu K Vatsa(2)
Ashish Shukla(2)
Mahesh Chand(2)
Puran Mehra(2)
Sateesh Arveti(2)
Shridhar Sharma(2)
Debasis Saha(2)
Amit Mishra(2)
Ankur Mistry(2)
Mukesh Kumar(2)
Ethan Millar(1)
Vijayaragavan S(1)
Raj Kumar(1)
Akshay Patel(1)
Rion Williams(1)
Kamlesh Bhor(1)
Anubhav Chaudhary(1)
Ankur Mish... | http://www.c-sharpcorner.com/tags/Attributes | CC-MAIN-2017-39 | refinedweb | 2,608 | 67.25 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.