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
New to Typophile? Accounts are free, and easy to set up. I. 5 Sep 2007 — 9:00pm Urm, almost all of what Erik van Blokland ascribes to being the limitations of multiple master fonts are in fact limitations of the existing *font editing tools* implementation of multiple master fonts. Adobe actually shipped multiple maste...
http://www.typophile.com/node/36474?page=1
CC-MAIN-2014-42
refinedweb
2,852
70.02
CodePlexProject Hosting for Open Source Software I dunno why my DelegateCommand not working. my ViewModel: public abstract class ViewModelBase<TIView .... { ... public ViewModelBase(... TIView view) { ... view.DataContext = this; View = view; } public class MyViewModel : ViewModelBase<IMyView ... { public DelegateComma...
http://compositewpf.codeplex.com/discussions/277734
CC-MAIN-2017-51
refinedweb
375
53.78
Then you should get an access token like this one (this one is not valid, so you cannot use it): d9742171bc53c4847c76ec2d02f7b83466aedd8d Luckily someone else did all the complicated work to use the Bitly API. All you need to do in Python is to get the library. The library is called pyshortener, which is a library to w...
https://www.learnpythonwithrune.org/how-to-setup-an-automated-bitly-url-shortener-in-python-in-3-easy-steps/
CC-MAIN-2021-25
refinedweb
304
60.92
Make JFrame transparent July 9, 2011 7 Comments How to create a slider for JFrame transparency and make JFrame transparent accordingly? First create a frame that has a slider in it which will be used to set transparency amount. import javax.swing.JFrame; import javax.swing.JSlider; public class TransparentFrame extends...
https://harryjoy.me/2011/07/09/make-jframe-transparent/
CC-MAIN-2020-29
refinedweb
194
61.43
The QDataSink class is an asynchronous consumer of data. More... #include <qasyncio.h> Inherits QAsyncIO. List of all member functions. The QDataSink class is an asynchronous consumer of data. A data sink is an object which receives data from some source in an asynchronous manner. This means that at some time not deter...
http://doc.trolltech.com/3.3//qdatasink.html
crawl-002
refinedweb
176
78.04
I'm very new to Python and multithreaded programming in general. Basically, I have a script that will copy files to another location. I would like this to be placed in another thread so I can output .... try: threadClass = TheThread(param1, param2, etc.) threadClass.start() ##### **Exception takes place here** except: ...
https://codedump.io/share/lXFXQtoulRxw/1/catch-a-thread39s-exception-in-the-caller-thread-in-python
CC-MAIN-2017-04
refinedweb
253
54.49
I didn't want plain text configuration files for my production SQL server, I wanted those blocks encrypted with TripleDES. So, what I decided to do was create a class that could read and write configuration files with both plain and encrypted text. (For use in an ASP.NET app). 2/29/04: A security hole has been patched ...
http://www.codeproject.com/KB/web-security/ConfigurationFile.aspx
crawl-002
refinedweb
900
50.23
Author: antelder Date: Wed May 5 11:47:46 2010 New Revision: 941259 URL: Log: Add a changes file listing the changes since 1.0 Added: abdera/java/trunk/changes.txt Added: abdera/java/trunk/changes.txt URL: ============================================================================== --- abdera/java/trunk/changes.txt (...
http://mail-archives.apache.org/mod_mbox/abdera-commits/201005.mbox/%3C20100505114747.42C0323889BF@eris.apache.org%3E
CC-MAIN-2018-51
refinedweb
558
53.41
Details - Type: Bug - Status: Closed - Priority: Major - Resolution: Fixed - Affects Version/s: 1.7.3 - Fix Version/s: 1.7.4, 1.8-beta-1 - Component/s: None - Labels:None - Number of attachments : Description. Activity The static import of the inner class does not work in the following scenario. Run Test.groovy to repr...
http://jira.codehaus.org/browse/GROOVY-4267?focusedCommentId=226630&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel
CC-MAIN-2013-48
refinedweb
1,021
76.82
17 September 2012 09:35 [Source: ICIS news] SINGAPORE (ICIS)--?xml:namespace> The targeted volume represents an increase of 8.8% year on year and 9.2% quarter on quarter, according to the source. Fewer turnarounds for Sinopec’s existing plants and planned start-ups of its new refineries will combine to boost its total ...
http://www.icis.com/Articles/2012/09/17/9595883/sinopec-targets-record-high-crude-throughput-in-q4.html
CC-MAIN-2014-42
refinedweb
205
52.6
PHP has a history of more than 20 years since its birth. From the rise of the Web era to the ebb of the mobile Internet, various programming languages and technologies have emerged in the Internet field. Node.js, GO, and Python are constantly challenging PHP's status. The promoters of these technologies are very passio...
http://www.itworkman.com/76947.html
CC-MAIN-2021-10
refinedweb
1,540
55.64
thank you, this fixed my problem. the reason i use Applet is that I've never before heard of JApplet... ill check it out. thank you, this fixed my problem. the reason i use Applet is that I've never before heard of JApplet... ill check it out. yes, i was still expirimenting with how to get Graphics to paint outside the...
http://www.javaprogrammingforums.com/search.php?s=a70e9dc748fcd285cf0312b4e3e1ea57&searchid=1813789
CC-MAIN-2015-40
refinedweb
216
73.88
Details Description The schema would be useful for validation markup files and for xml editors to provide content assist. Activity - All - Work Log - History - Activity - Transitions Updating patch. Fixing regular expression for wicket:message attribute. I was asked to provide some info on how to test the schema with E...
https://issues.apache.org/jira/browse/WICKET-3686?focusedCommentId=13031323&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel
CC-MAIN-2016-07
refinedweb
408
60.11
Re: Null pointer exception for events in usercontrols (C#) From: Stoitcho Goutsev \(100\) [C# MVP] (100_at_100.com) Date: 03/03/04 - Next message: RF: "Re: byte[] -> string" - Previous message: Jeremy Ames: "Adding controls to Page.Controls collection" - In reply to: Mark: "Null pointer exception for events in usercont...
http://www.tech-archive.net/Archive/DotNet/microsoft.public.dotnet.languages.csharp/2004-03/0836.html
crawl-002
refinedweb
633
56.86
Details - Type: Bug - Status: Closed - Priority: Major - Resolution: Fixed - Affects Version/s: 1.6 - Fix Version/s: 1.6.1, 1.7-beta-1 - Component/s: class generator - Labels:None - Environment:This is seen in groovy 1.6.0 on Leopard: % groovy -version Groovy Version: 1.6.0 JVM: 1.6.0_07 Description I'm running into an...
https://issues.apache.org/jira/browse/GROOVY-3405
CC-MAIN-2016-36
refinedweb
732
57.98
If you’re reading this, I hope you’re curious about your options Linux works by using namespaces. Containerized processes are placed in a PID namespace that gives them private process ids that aren’t shared with the host (although they also have process ids on the host); in a mount namespace that gives them their own v...
https://dzone.com/articles/lightweight-jvm-diagnostics-tools-and-containers
CC-MAIN-2017-43
refinedweb
1,175
57.4
Opened 5 years ago Closed 5 years ago #20173 closed Bug (worksforme) tutorials: stylesheet in part 6 inconsistent with template in part 3 Description In the "Write views that actually do something" section, the following template is created: {% if latest_poll_list %} <ul> {% for poll in latest_poll_list %} <li><a href=...
https://code.djangoproject.com/ticket/20173
CC-MAIN-2018-22
refinedweb
159
63.7
On 7/26/06, Donn Cave <donn at drizzle.com> wrote: > That looks to me like a different way to spell if then else, but maybe > that's the answer to the question - conceptually, for every "then" there > really is an "else", however you spell it, and only in a procedural language > does it make any sense to leave it impli...
http://www.haskell.org/pipermail/haskell-cafe/2006-July/016918.html
CC-MAIN-2014-41
refinedweb
195
67.79
...one of the most highly regarded and expertly designed C++ library projects in the world. — Herb Sutter and Andrei Alexandrescu, C++ Coding Standards def() is the function which can be used to expose C++ functions and callable objects as Python functions in the current scope. template <class F> void def(char const* n...
https://www.boost.org/doc/libs/1_47_0/libs/python/doc/v2/def.html
CC-MAIN-2022-33
refinedweb
311
59.43
Pre-requisites Introduction Once you have created your account and installed the Heroku CLI, log into your Heroku account with heroku login After logging into your Heroku account, create an application in Heroku and add the Heroku git remote origin url since Heroku will be using git to deploy your application. heroku g...
https://practicaldev-herokuapp-com.global.ssl.fastly.net/kennymark/deploying-your-adonis-v5-applications-on-heroku-4gp2
CC-MAIN-2022-05
refinedweb
1,186
64.91
#include <search.h> int hcreate(size_t nel); void hdestroy(void); ENTRY *hsearch(ENTRY item, ACTION action);. The hdestroy() function shall not return a value. The hsearch() function shall return a null pointer if either the action is FIND and the item could not be found or the action is ENTER and the table is full. Th...
https://man.linuxreviews.org/man3p/hcreate.3p.html
CC-MAIN-2020-45
refinedweb
102
66.13
Azure Mobile Apps iOS SDK 3.2.0 release October 13, 2016 We are excited to bring you the latest release of our Mobile Apps iOS client SDK 3.2.0. We've added Refresh Token feature, updated with iOS 10 support, and made performance improvement. October 13, 2016 We are excited to bring you the latest release of our Mobile...
https://azure.microsoft.com/en-ca/blog/author/yuaxu/
CC-MAIN-2020-16
refinedweb
323
54.32
It is unlikely that you will ever design a general-use language like Fortran, C++, ML, or Prolog, but if you become a professional software engineer or software architect, it is highly likely that you will specialize in some problem area, like telecommunications, aviation, banking, or gaming. You will become expert at ...
http://people.cis.ksu.edu/~schmidt/505f10/DSLS.html
CC-MAIN-2015-48
refinedweb
5,476
51.28
When multiple threads perform concurrent I/O operations with the same file descriptor, you might discover that the traditional UNIX I/O interface is not thread safe. The problem occurs with nonsequential I/O where the lseek(2) system call sets the file offset. The file offset is then used in the next read(2) or write(2...
http://docs.oracle.com/cd/E19253-01/816-5137/gen-31/index.html
CC-MAIN-2015-35
refinedweb
178
68.1
Always. the library has never had a C++03 mode, and I am against adding one now. I want libc++ to move away from C++03, not towards it. If (3) is present, we shouldn't pollute the global namespace, especially with a potentially bogus value. Ideally, this shouldn't be necessary at all, since overaligned new doesn't exis...
https://reviews.llvm.org/D73245?id=245853
CC-MAIN-2022-33
refinedweb
2,261
63.49
MOUNT_NWFS(8) MidnightBSD System Manager’s Manual MOUNT_NWFS(8) NAME mount_nwfs — mount NetWare volume from a NetWare file server SYNOPSIS mount_nwfs [−Chv] −S server −U user [−connection options] −V volume [−M mode] [−c case] [−d mode] [−f mode] [−g gid] [−l locale] [−n os2] [−u uid] [−w scheme] node mount_nwfs [−opti...
http://www.midnightbsd.org/documentation/man/mount_nwfs.8.html
CC-MAIN-2015-27
refinedweb
378
60.51
I quickly developed a simple way to add methods just like the DefaultGroovyMethods does. Its not perfect cause it requires a system property but it works quite nicely. See patch&testcase here: 1. The Groovy runtime designate a special package (e.g., groovy.lang.extension) as a namespace where any class in the package i...
http://jira.codehaus.org/browse/GROOVY-502
crawl-002
refinedweb
121
66.94
Indicator That Is Aware Of Current Date / Time Hello All! I am attempting to write an indicator that keeps track of certain close prices at certain times. For example, in a strategy's next()method, I can do something like this: def next(self): if self.datetime.date(ago=0).hour != self.datetime.date(ago=1).hour: print('...
https://community.backtrader.com/topic/746/indicator-that-is-aware-of-current-date-time
CC-MAIN-2017-51
refinedweb
202
51.34
Introduction In this tutorial, we’ll introduce a few basic tools that we need to have available when doing kernel debugging on Windows. Besides that, we’ll present Windows debuggers that can help us with debugging Windows programs and Windows internals. We’ll also take a look at how we can go about symbols, which are a...
http://resources.infosecinstitute.com/windows-kernel-debugging-symbols-and-commands/
CC-MAIN-2014-42
refinedweb
2,239
59.94
Hello Salam…. i am selling my Lovely Charade which is 85 86 Model. Car is in 100% Genuine Condition from inside as well as outside. Color White Genuine Diesel, 1000cc. Trouble free and very comfortable drive, within city 19 km per liter consumption, u would know the Drive of Charade. Good interior, nicely maintained, R...
https://www.pakwheels.com/forums/t/charade-85-neat-and-clean-car-for-sale/157046
CC-MAIN-2017-30
refinedweb
174
66.64
Okay, so this is my third tutorial about time-series in python. The first one was on univariate ARIMA models, and the second one was on univariate SARIMA models. Today is different, in that we are going to introduce another variable to the model. We’ll assume that one is completely exogenous and is not affected by the ...
https://barnesanalytics.com/analyzing-multivariate-time-series-using-arimax-in-python-with-statsmodels
CC-MAIN-2018-13
refinedweb
2,615
67.35
Closed Bug 338454 Opened 16 years ago Closed 16 years ago [Be OS]To implement correct restart in App Runner for Be OS-platforms Categories (Toolkit :: Startup and Profile System, defect) Tracking () People (Reporter: sergei_d, Assigned: sergei_d) Details (Keywords: fixed1.8.1) Attachments (1 file, 8 obsolete files) fie...
https://bugzilla.mozilla.org/show_bug.cgi?id=338454
CC-MAIN-2022-27
refinedweb
2,189
57.37
Perl 5 By Example Appendix B Glossary - Abstraction - Alternation - Alternative Quotes - Anchor - Anonymous Functions and Variables - ANSI - Argument - Array - Array Context - Array Range - Array Slice - Array Splice - ASCII - Assignment - Associative Array - Associativity (left-to-right & right-to-left) - awk - Backtr...
http://www.webbasedprogramming.com/Perl-5-By-Example/ch24.htm
CC-MAIN-2022-05
refinedweb
5,084
58.69
Why bother with @Deprecated when you change the signature of the API method/constructor? Deprecation is supposed to be a notice to API users that this is going away, not that it is already gone, touch luck. Just delete the effing method and be done with it. Explicitly discouraging use of any utility classes provided by...
https://intellij-support.jetbrains.com/hc/en-us/community/posts/360003231559-Why-bother-with-Deprecated-when-you-change-the-signature-of-the-API-method-constructor-?page=1
CC-MAIN-2019-47
refinedweb
1,798
53.51
10 of the Leading Arizona Animal Shelters & Rescue Organizations Stray & Unwanted Pets in Arizona With millions of pets in the state, it is necessary to have multiple Arizona shelters and rescue organizations to take care of stray and unwanted dogs, cats, and other household pets. Such bodies are responsible for findin...
https://hubpages.com/animals/Arizona-Animal-Shelters-Rescue-Organizations
CC-MAIN-2019-04
refinedweb
1,382
51.18
Simple 3D text shape node. More... #include <Inventor/nodes/SoAsciiText.h> This node defines one or more strings of 3D text. In contrast with SoText2, 3D text can be rotated, scaled, lighted, and textured, just like all other 3D shapes. In contrast with SoText3, this 3D Ascii text cannot be extruded.. If any triangle c...
https://developer.openinventor.com/refmans/9.9/RefManCpp/class_so_ascii_text.html
CC-MAIN-2021-25
refinedweb
105
68.47
Red Hat Bugzilla – Bug 999051 wireless-tools-30.pre9 is available Last modified: 2015-10-27 05:30:55 EDT Latest upstream release: 30.pre9 Current version/release in Fedora Rawhide: 29-10." The main features of the latest beta is support for non-ASCII ESSIDs (such as localised ESSID), support for displaying Scanning Cap...
https://bugzilla.redhat.com/show_bug.cgi?id=999051
CC-MAIN-2017-43
refinedweb
669
57.98
AsyncStorage, TypeScript, and Async/await in React Native In the last few posts, I’ve been working on a Notes app in a master-detail pattern for React Native using TypeScript. This is the last post about that project. So far, I’ve: - Worked out how to handle orientation changes. - Worked out how to implement swipe-to-d...
https://adrianhall.github.io/react%20native/2017/08/21/asyncstorage-typescript-and-async-await-in-react-native/
CC-MAIN-2019-43
refinedweb
932
68.67
A list that contains all the currently set annotations. More... #include "client/annotation_list.h" A list that contains all the currently set annotations. An instance of this class must be registered on the CrashpadInfo structure in order to use the annotations system. Once a list object has been registered on the Cra...
https://crashpad.chromium.org/doxygen/classcrashpad_1_1AnnotationList.html
CC-MAIN-2019-13
refinedweb
152
57.77
This chapter is part of the Mix and OTP guide and it depends on previous chapters in this guide. For more information, read the introduction guide or check out the chapter index in the sidebar. In this chapter, we will discuss how to manage dependencies in Mix. Our kv application is complete, so it’s time to implement ...
http://docs.w3cub.com/elixir~1.6/mix-otp/dependencies-and-umbrella-apps/
CC-MAIN-2018-43
refinedweb
2,207
56.05
How to add an indicator showing whether previous trade made money or lost money Using the moving average cross over system. But I want to add another criteria that I only buy when the previous trade made money. I.e I buy if MA(20) > MA(40) AND last trade made money. How do I implement that indicator showing whether pre...
https://community.backtrader.com/topic/977/how-to-add-an-indicator-showing-whether-previous-trade-made-money-or-lost-money
CC-MAIN-2020-40
refinedweb
552
57.77
VeriSign October 2002 Dynamic Delegation Discovery System (DDDS) Part Four: The Uniform Resource Identifiers (URI) Resolution. Table of Contents 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 2 2. Terminology . . . . . . . . . . . . . . . . . . . . . . . . 3 3. The] DDDS. This document describes URI Re...
http://pike.lysator.liu.se/docs/ietf/rfc/34/rfc3404.xml
CC-MAIN-2020-05
refinedweb
738
57.37
[I tried posting this earlier via gmane.org, but the latter seems to send everything I submit to /dev/null, in recent times. Apologies if you receive this more than once.] I'm looking into the possibility of making bindings generated by Boost and SWIG, to be interchangable. Here is some code to illustrate what (I think...
https://mail.python.org/pipermail/cplusplus-sig/2003-August/004953.html
CC-MAIN-2016-40
refinedweb
1,124
58.62
#include <Base_Thread_Adapter.h> Converts a C++ function into a function that can be called from a thread creation routine (e.g., pthread_create() or _beginthreadex()) that expects an extern "C" entry point. This class also makes it possible to transparently provide hooks to register a thread with an ACE_Thread_Manager...
http://www.dre.vanderbilt.edu/Doxygen/5.6.7/html/ace/a00041.html
CC-MAIN-2013-20
refinedweb
248
69.58
CIO 20133 Release 0.3 - OOP344); width() "ciogh.h" #include "cframe.h" namespace cio{ class CField; class CDialog: public CFrame{ private: int _fnum; int _curidx; CField** _fld; bool* _dyn; bool _editable; unsigned int _fldSize; public: CDialog(CFrame *Container = (CFrame*)0, int Row = -1, int Col = -1, int Width = -1,...
https://wiki.cdot.senecacollege.ca/w/index.php?title=CIO_20133_Release_0.3_-_OOP344&oldid=101453
CC-MAIN-2021-04
refinedweb
235
62.48
There are three general categories for the direction of Boost.Build once BBv2 has been released: (M) The maintenance of BBv2 should happen independently of the Python port. (M) The core logic should be as stable as possible, only changing if there is a bug that needs fixing. (P) The core logic will be rewritten in Pyth...
http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl?action=browse&diff=1&id=Boost.Build_V2/Evolution
CC-MAIN-2017-51
refinedweb
570
61.22
Building a Compute Cluster with the BeagleBone Black As a developer, I've always been interested in learning about and developing for new technologies. Distributed and parallel computing are two topics I'm especially interested in, leading to my interest in creating a home cluster. Home clusters are of course nothing n...
https://www.linux.com/blog/building-compute-cluster-beaglebone-black
CC-MAIN-2019-04
refinedweb
2,185
59.13
On 06/16, Cedric Le Goater wrote:>> We have a case where a task in a parent pid namespace needs to kill> another task in a sub pid namespace only knowing its internal pid.> the latter has been communicated to the parent task through a file or> a unix socket.OK, thanks, this partly answers my question... But if they com...
https://lkml.org/lkml/2011/6/16/444
CC-MAIN-2017-30
refinedweb
185
75.61
C# ArrayList The ArrayList class permits you to store values of various information varieties and additionally offers you the power to feature and take away components any time you would like. the subsequent examples show a straightforward practicality of the ArrayList class. using System; using System.Collections; nam...
https://compitionpoint.com/arraylist-class/
CC-MAIN-2021-31
refinedweb
1,088
66.03
Route altitude profiles SRTM Goal of this project is to create an altitude profile for (cycle) routes based on the freely available NASA SRTM3 altitude data. Sjors worked on this during the Google Summer of Code 2008 and blogged about his progress. Contents - 1 Objectives and ideas - 2 The Code - 3 Components - 4 Metho...
https://wiki.openstreetmap.org/wiki/Route_altitude_profiles_SRTM
CC-MAIN-2019-13
refinedweb
933
66.03
I am having the issue with the HashMaps, sharing the object. All the nested HashMaps have the same values. How do I overcome this issue? How do I create the HashMaps so they are independent from one another? This below is my DTO, my first Integer object is going to range from 0-11, representing the months. The String r...
https://codedump.io/share/cFvcOsNQ0FMP/1/hashmap-sharing-object-issue
CC-MAIN-2017-26
refinedweb
226
66.84
I have a file test.py (ok not so original) containing .... #!/usr/bin/env python from mod_python import apache def handler(req): req.content_type = 'text/plain' req.write("Hello World!") return apache.OK When I add the following to my vhost and access with it with a URL of it works as expected ... AddHandler mod_python...
http://modpython.org/pipermail/mod_python/2008-July/025476.html
CC-MAIN-2018-39
refinedweb
121
62.24
This lesson covers what Async IO is and how it’s different from multiprocessing. You’ll see what happens when your code makes responses, how the requests are dispatched to the outside world through the event loop, how responses are handled, and how asyncio ties into all this. What Is asyncio? This lesson covers what As...
https://realpython.com/lessons/what-asyncio/
CC-MAIN-2021-17
refinedweb
1,928
69.82
Jonathan Gardner <jgardner at jonathangardner.net> writes: >> What about assert, import, and pass? >... > For instance, how can you call an "if" function ... > If "yield", "break", and "continue" were functions, ... > "import" ... does something very special. It assigns > to values in the namespace of the code from whi...
https://mail.python.org/pipermail/python-list/2010-January/565786.html
CC-MAIN-2016-40
refinedweb
328
75.1
#include <avr/io.h> #include <util/delay.h> int LEDPIN = 1; void main(void) { while (1) { PINB |= (1<<LEDPIN); _delay_ms(500); } } I build it with avr-gcc 4.8.0: avr-gcc -mmcu=attiny85 -DF_CPU=8000000 -Os -Wall -Wno-main blink.c -o blink Then I check the size: $ avr-size blink text data bss dec hex filename 122 2 0 120...
http://nerdralph.blogspot.com/2014/04/gcc-link-time-optimization-can-fix-bad.html
CC-MAIN-2021-43
refinedweb
775
75.03
I am very new to python programming. I am trying to take a csv file that has two columns of string values and want to compare the similarity ratio of the string between both columns. Then I want to take the values and output the ratio in another file. The csv may look like this: Column 1|Column 2 tomato|tomatoe potato|...
https://codedump.io/share/FH2IwxaTbsd/1/comparing-two-columns-of-a-csv-and-outputting-string-similarity-ratio-in-another-csv
CC-MAIN-2018-26
refinedweb
273
60.01
1.5 Tamperproofing One of the uses of obfuscation is to add so much confusion to a program that an adversary will give up trying to understand or modify it. But what if Axel is able to break through Doris’ obfuscation defenses, then what? Well, in addition to obfuscating her code, Doris can also tamperproof it. This me...
https://www.informit.com/articles/article.aspx?p=1380912&seqNum=5
CC-MAIN-2021-21
refinedweb
1,487
51.38
: PerlPython @foofoo my $foo = 1;foo = 1 PerlPython if ($foo) { print "hello world"; } if foo: print "hello, world" if ($foo) { print "hello, world"; } if foo: print "hello, world" if ($foo) { print "hello world"; } if foo: print "hello, world" if ($foo) { print "hello, world"; } PerlPython sub foo { my $arg1 = shift; ...
http://www.perlmonks.org/?node_id=156333
CC-MAIN-2016-07
refinedweb
4,356
71.75
Opened 8 years ago Closed 8 years ago #4204 closed (invalid) Admin interface attempts to save null to fields not in 'fields': list Description Admin appears to attempt to save NULL to fields that are not shown in the Admin interface? Here is an example model that doesn't work. Trying to update a record using Admin will...
https://code.djangoproject.com/ticket/4204
CC-MAIN-2015-32
refinedweb
292
54.42
Is there any way I can achieve something faster? either through some event mechanism or by any other means? I would like something similar to that of a win32 application, as shown below. int Application::run(){ while(msg.message != WM_QUIT) { if(PeekMessage( &msg, 0, 0, 0, PM_REMOVE )) // If there are Window messages t...
https://www.gamedev.net/topic/636463-wpf-trying-to-get-a-timer-with-an-interval-of-less-than-16ms/
CC-MAIN-2017-04
refinedweb
108
68.87
04 November 2008 09:05 [Source: ICIS news] SINGAPORE (ICIS news)--Malaysia’s BASF-Petronas shut its 340,000 tonne/year oxo-alcohol plant in Kuantan early last week for maintenance, a company source said on Tuesday. ?xml:namespace> The turnaround was initially scheduled to be in November for a period of 14-21 days but i...
http://www.icis.com/Articles/2008/11/04/9168537/basf-petronas-shuts-oxos-plant-for-turnaround.html
CC-MAIN-2014-41
refinedweb
120
54.76
C# And API's Introduction API (Application Programming Interface) is aset of commands, which interfaces the programs with the processors. Themost commonly used set of external procedures are those that make upMicrosoft Windows itself. The Windows API contains thousands offunctions, structures, and constants that you ca...
http://www.csharphelp.com/2006/02/c-and-apis/
CC-MAIN-2014-10
refinedweb
647
50.84
2009/11/5 Sebastiaan Visser <sfvisser at cs.uu.nl>: > > > Morten Rhiger implemented "Type-safe pattern combinators" [1], which are essentially a library for pattern matching, entirely within Haskell98. As an example, he implemented "anonymous pattern-matching" with this library, which is similar to what you ask for. It...
http://www.haskell.org/pipermail/haskell-cafe/2009-November/068694.html
CC-MAIN-2014-42
refinedweb
148
57.67
RationalWiki:Project Whitewash Project Whitewash is a loosely organized attempt to encourage and organize efforts to do the very important, but very tedious, jobs that will make our wiki more presentable, professional and useful. These are not official proclamations or putdowns of any contributions or contributors, but...
https://rationalwiki.org/wiki/RationalWiki:Project_Whitewash
CC-MAIN-2021-25
refinedweb
762
53.21
In this example we will discuss about the Java PipedInputStream. AdsTutorials In this example we will discuss about the Java PipedInputStream. PipedInputStream is a class in java.io package used for providing the data bytes written into the piped output stream for this the piped input stream is required to connect with...
http://roseindia.net/java/example/java/io/pipedinputstream.shtml
CC-MAIN-2018-17
refinedweb
389
54.42
DBIx::HTML::ClientDB - Convert sql into a client-side db with keyed access.. The second column contains the 'current record' in the database. Now for the rows:'. Now call various methods to get the HTML and JavaScript. Lastly, display the HTML as part of a form. You don't need a submit button because there is no need t...
http://search.cpan.org/dist/DBIx-HTML-ClientDB/lib/DBIx/HTML/ClientDB.pm
CC-MAIN-2016-26
refinedweb
859
67.15
Folks, telnet started coredumping on me today... Not sure how long this has been there but I found the following lurking in telnet.c. I #if 0 it out (as below) the coredumping stops. Not 100% of the correct fix. But the calculation of 'len' in the removed case is guaranteed to be negative. Later on this number is used ...
http://leaf.dragonflybsd.org/mailarchive/bugs/2005-03/msg00244.html
CC-MAIN-2014-52
refinedweb
126
70.09
Knowledge points involved: 1. Knowledge of overloaded operators 2. Use of sort function 3. High precision sorting How to use the sort function? By programming for Baidu GOOGLE, I learned the usage of sort Detailed explanation of sort function (the most complete QAQ in History) - AlvinZH - blog Park For arrays, the sort...
https://programmer.group/talk-about-the-sorting-of-some-members-of-structure-the-use-of-overload-sort.html
CC-MAIN-2022-27
refinedweb
935
57.47
Support for AArch64 Scalable Matrix Extension in LLVM¶ - 1. Introduction - 2. Handling PSTATE.SM - 3. Handling PSTATE.ZA - 4. References 1. Introduction¶ The AArch64 SME ACLE provides a number of attributes for users to control PSTATE.SM and PSTATE.ZA. The AArch64 SME ABI describes the requirements for calls between fu...
https://llvm.org/docs/AArch64SME.html
CC-MAIN-2022-40
refinedweb
2,447
50.87
WebBroswer control in WPF by default uses IE 7 engine for rendering webpages. This may become an issue while displaying modern websites. There are two alternatives. One is to use browser emulation feature to use a different IE version browser instead of IE 7. How that can be done is explained in this post. The other wa...
http://126kr.com/article/5c30vdziet2
CC-MAIN-2017-13
refinedweb
337
61.02
Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode. Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript). Hello, I'd like to fillet an edge loop for a Polygon ObjectData plugin...
https://plugincafe.maxon.net/topic/12945/how-to-fillet-a-objectdata-edge-in-python/2?lang=en-US
CC-MAIN-2022-21
refinedweb
1,514
58.28
program to generate random numbers according to given frequency distribution #include <stdio.h> #include <stdlib.h> // Utility function to find ceiling of r in arr[l..h] int findCeil(int arr[], int r, int l, int h) { int mid; while (l < h) { mid = l + ((h - l) >> 1); // Same as mid = (l+h)/2 (r > arr[mid]) ? (l = mid ...
https://www.geeksforgeeks.org/random-number-generator-in-arbitrary-probability-distribution-fashion/
CC-MAIN-2018-34
refinedweb
320
57.3
Ruby has always been known for the productivity it brings to its developers. Alongside features such as elegant syntax, rich meta-programming support, etc. that make you productive when writing code, it also has another secret weapon called TracePoint that can help you "debug" faster. In this post, I'll use a simple ex...
https://dev.to/appsignal/changing-the-approach-to-debugging-in-ruby-with-tracepoint-45k9
CC-MAIN-2022-27
refinedweb
2,188
64.51
Exercise 2 was a little more involving as far as conversions go. Nevertheless, I was able to find a solution to this: 2. constants to represent the various conversion factors. #include <iostream> using namespace std; int main() { const int foot = 12; const double meter = 0.0254; const double kilo = 2.2; int feet; int i...
https://rundata.wordpress.com/2012/10/12/c-primer-chaper-3-exercise-2/
CC-MAIN-2017-26
refinedweb
118
60.45
Hi All I want to use blender GE to make a restaurants guide for Melbourne. For my work I can do everything I need to do except I need a button that can open a PDF file with a restaurant’s menu or something like a hyperlink to the file. So the file will open up in the PDF reader when I click on the button. How do I do i...
https://blenderartists.org/t/i-need-a-button-that-can-open-a-pdf-file/539016
CC-MAIN-2020-45
refinedweb
134
83.76
This $Date: 2001/11/16 21:06:05 $. This document has been produced by the W3C XML Protocol Working Group. All information in this document is to be considered as work in progress. Contributions to this document are encouraged. Please refer to W3C SOAP Version 1.2 test collection - How to contribute to find out more abo...
http://www.w3.org/2000/xp/Group/1/09/ts.xml
CC-MAIN-2016-50
refinedweb
3,266
57.98
This week at Build 2016, we released Visual Studio 2015 Update 2 and Visual Studio “15” Preview. Both releases include many new language features that you can try today. It’s safe to install both versions of Visual Studio on the same machine so that you can check out all of the new features for yourself. New C# and VB ...
https://blogs.msdn.microsoft.com/dotnet/2016/04/02/whats-new-for-c-and-vb-in-visual-studio/?replytocom=84805
CC-MAIN-2018-22
refinedweb
3,951
70.23
Hi, We have used EXSLT in C2 stylesheets without problems. Here is an excerpt: <xsl:stylesheet xmlns: ... <xsl:if ... As far as memory serves, it worked seamlessly with Xalan and Saxon. Greetings, Greg 2014-02-28 13:12 GMT+01:00 Ellis Pritchard <ellis@nukinetics.com>: > Hi Chris, > > Not standard EXSLT functions, but I...
http://mail-archives.apache.org/mod_mbox/cocoon-users/201402.mbox/%3CCAPJaKUrT0e=Fi1eHY0xiGE3kr6aO_qnzsO3BRK6AnJ-PCcxbVw@mail.gmail.com%3E
CC-MAIN-2020-34
refinedweb
504
65.62
Navigation basics in Vaadin 7 Vaadin implements the Single-Page Interface, meaning screen content can change but URL stays the same, as opposed to standard web application page navigation. Switching screen content is described in Use views, not windows. Given SPI and before Vaadin 7 alpha 3, however, the only way to li...
http://java.dzone.com/articles/navigation-basics-vaadin-7
CC-MAIN-2013-48
refinedweb
465
62.38
Swift program to check if a number is a multiple of another Introduction : We can check if a number is multiple of another number or not easily by division. If we divide the first number by the second number and if the remainder is 0, the second number is a multiple of the first number. But, swift also provides one met...
https://www.codevscolor.com/swift-check-number-multiple-another/
CC-MAIN-2020-10
refinedweb
261
55.95
Every ByteScout tool contains example C# source codes that you can find here or in the folder with installed ByteScout product.. It can create gs1 QR code in C#. You will save a lot of time on writing and testing code as you may just take the C# code from ByteScout QR Code for create gs1 QR code below and use it in you...
https://bytescout.com/articles/qr-code-sdk-c-create-gs1-qr-code
CC-MAIN-2019-35
refinedweb
117
77.37
This forum is now read-only. Please use our new forums at discuss.codecademy.com. Objects in PHP Forum View Course » View Exercise I keep getting a T_CLASS / T_VARIABLE error but it passes. Why? <?php class Person { public class $isAlive = true; public class $firstname; public class $lastname; public class $age; } $tea...
https://www.codecademy.com/forum_questions/52968a7480ff33902e000dc9
CC-MAIN-2018-13
refinedweb
159
66.03
0 The program I am writing displays the velocity and acceleration when the user inputs time. The code I have thusfar is: #include <stdio.h> #include <math.h> int main (void) { int time,velocity, acceleration; printf ("Please input time in seconds: \n"); scanf_s("%d" , &time); velocity = 0.00001* pow(time,3)-.00488* pow...
https://www.daniweb.com/programming/software-development/threads/78952/velocity-progra-homework-help
CC-MAIN-2018-30
refinedweb
153
62.85
I'm trying to perform a simple query and the result data is almost all null. I have this table structure Table Registros ID | Autonumeric TareaM_Id | Numeric Fecha | Date/Time and Macro_tareas table ID | Autonumeric Nombre | Short Text I have mapped the classes in C# like this: [Table("Registros")] public class Registr...
https://dapper-tutorial.net/knowledge-base/54074638/dapper-with-mapping-by-code--multi-mapping-with-repeating-column-names
CC-MAIN-2021-25
refinedweb
1,052
66.23
Hi, I'm trying to solve this problem from Project Euler. Here's the problem.. My code segfaults when it reaches item 113383. And i don't know what is wrong with it. Any help or advice highly appreciated. Code:#include <stdio.h> int f(int i); int main() { long long terms[1000001]; /* how many terms for each number */ lo...
http://cboard.cprogramming.com/c-programming/121248-project-euler-problem-14-segfault.html
CC-MAIN-2014-23
refinedweb
149
81.02
User talk:Verdy p/Archive 2016 Jan-Jun Contents Change descriptions Can I ask that you put descriptions on your changes please? As I'm sure you're aware, this helps people to see what's happened in a file's history at a glance without picking through diffs. Thanks --Deanna Earley (talk) 06:47, 5 April 2016 (UTC) - I no...
https://wiki.openstreetmap.org/wiki/User_talk:Verdy_p/Archive_2016_Jan-Jun
CC-MAIN-2018-17
refinedweb
4,154
66.78
I just started writing C++ and i only know the basics, if there is anyway to improve my simple caluculator or if you have any functions I could add to it let me know. Here is the code I wrote feel free to take bits. #include <cstdlib> #include <iostream> #define _USE_MATH_DEFINES #include <cmath> using namespace std; i...
https://www.daniweb.com/programming/software-development/threads/326021/basic-c-calculator
CC-MAIN-2018-39
refinedweb
325
50.23
In today’s Programming Praxis exercise, our goal is to implement two algorithms to calculate the digits of e using a spigot algorithm: one bounded and one unbounded version. My solution for the unbounded version is already posted in the exercise itself, so I’ll only cover the bounded version here. Let’s get started, sh...
https://bonsaicode.wordpress.com/2012/06/19/programming-praxis-digits-of-e/
CC-MAIN-2016-50
refinedweb
181
60.65
Welcome to this weeks’ #APIFriday! Today, we are taking a look at the Javascript plugin called JustGage. We are cheating a little bit on APIs this week, but using a plugin is similar to using an SDK API. I would say close enough counts here. The JustGage plugin allows you to create “gas gauge” style SVG (signed vector ...
https://blogs.sap.com/2017/03/10/justgage-ing-where-were-at.../
CC-MAIN-2017-39
refinedweb
1,535
81.22
Code Sharing Between Web and Mobile With Angular and NativeScript Code Sharing Between Web and Mobile With Angular and NativeScript See how you can use the combination of NativeScript and Angular to solve code-sharing problems in your mobile and web app development. Join the DZone community and get the full member expe...
https://dzone.com/articles/code-sharing-between-web-and-mobile-with-angular-a
CC-MAIN-2018-47
refinedweb
4,557
55.95
#include <wx/richtext/richtextbuffer.h> A class representing enhanced attributes for rich text objects. This adds a wxTextBoxAttr member to the basic wxTextAttr class. Constructor taking a wxTextAttr. Copy constructor. Default constructor. Merges the given attributes. If compareWith is non-NULL, then it will be used to...
https://docs.wxwidgets.org/3.0/classwx_rich_text_attr.html
CC-MAIN-2019-18
refinedweb
176
66.54
in reply to Converting datetime formats I assume you know how to get information from the database using DBD::ODBC or some equivalent mechanism. If not, ask that question specifically. For converting dates between formats, I normally use DateTime and the various modules in the DateTime::Format:: namespace. However, I h...
http://www.perlmonks.org/?node_id=682805
CC-MAIN-2016-44
refinedweb
178
76.93
>From: "Anderson, Alan C. " <address@hidden> >Organization: St. Cloud State >Keywords: 200311191953.hAJJrFOb009539 McIDAS Hi Alan, >I just finished up with at least the initial configuration of McIDAS >2003 on a server terminal which runs on Solaris sparc, ver. 5.9. OK. >I had no problems except that when configuring a...
https://www.unidata.ucar.edu/support/help/MailArchives/mcidas/msg02528.html
CC-MAIN-2022-40
refinedweb
446
73.98
ReactJS | Calculator App ( Styling ) In our previous article, we had added functionality to our Calculator app and we had successfully created a fully functional calculator application using React. But that does not look good despite being fully functional. This is because of the lack of CSS in the code. Let’s add CSS ...
https://www.geeksforgeeks.org/reactjs-calculator-app-styling/
CC-MAIN-2022-40
refinedweb
436
75.71
Introduction be mapping search problems to appropriate graphs, where the nodes represent all the possible states we can end up in and the edges representing all the possible paths that we have at our disposal. So the next logical question would be: How do we convert a problem into a search problem? What is A*? Let's sa...
https://stackabuse.com/basic-ai-concepts-a-search-algorithm/
CC-MAIN-2019-43
refinedweb
1,811
54.15
I want to develop a J2EE application with a web tier. Each user gets an ID when starting up the application. My question is, how do I maintain this ID throughout the application, withouth having to pass it along to each function I'm calling? I can set the userID as an parameter in the HTTP-session, but how do I obtain ...
http://www.theserverside.com/discussions/thread.tss?thread_id=20767
CC-MAIN-2014-42
refinedweb
597
55.03
Synchronization is another important section in Java. This is used to resolve data inconsistency problems in applications. What is Synchronization ? This is the process of controlling the access of threads with shared resources. This can be obtained by using synchronized modifier. Synchronized modifier - This is a modi...
https://www.javafoundation.xyz/2016/05/synchronization-in-threads.html
CC-MAIN-2021-43
refinedweb
946
68.36
Contributing to Qiskit¶ Qiskit is an open-source project committed to bringing quantum computing to people of all backgrounds. This page describes how you can join the Qiskit community in this goal. Where Things Are¶ The code for Qiskit is located in the Qiskit GitHub organization, where you can find the individual pro...
https://qiskit.org/documentation/stable/0.33/contributing_to_qiskit.html
CC-MAIN-2022-21
refinedweb
5,584
52.8
Initial support for Smarty available By Tomas Mysik on Mar 25, 2010 Thanks to Martin Fousek, we now have support for Smarty Template Engine. He also wrote this blog post: Base support of another PHP Framework in NetBeans is on the way. It's presentation framework Smarty which is well-known tool for separating applicati...
https://blogs.oracle.com/netbeansphp/entry/initial_support_for_smarty_available
CC-MAIN-2016-26
refinedweb
2,241
73.68
- Start Date: 2017-12-12 - RFC PR: - Ember Issue: (leave this empty) Summary Install ES5 getters for computed properties on object prototypes, thus eliminating the need to use this.get() or Ember.get() to access them. Before: import Object, { computed } from '@ember/object'; const Person = Object.extend({ fullName: com...
https://emberjs.github.io/rfcs/0281-es5-getters.html
CC-MAIN-2019-43
refinedweb
915
58.69