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
12 February 2010 23:59 [Source: ICIS news] LONDON (ICIS news)--European purified terephthalic acid (PTA) contract prices have increased by €40/tonne ($55/tonne) in January compared with December, in line with upstream paraxylene (PX) price movements, sources said on Friday. “We got the PX pass-through. January was very...
http://www.icis.com/Articles/2010/02/12/9334461/europe-january-pta-increases-by-40tonne-due-to-px.html
CC-MAIN-2013-48
refinedweb
311
60.35
Python Programming, news on the Voidspace Python Projects and all things techie. Decorators I used decorators for the first time a couple of days ago (at work) [1]. I was pleased (and surprised), that not only did I get the syntax right without looking it up, but it worked first time [2]. Hooray, bonus points for me. I...
http://www.voidspace.org.uk/python/weblog/arch_d7_2006_05_13.shtml
CC-MAIN-2016-36
refinedweb
411
73.47
What a great thread about another good outing by the IJC. Thank you for sharing.. <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com<o:p></o:p><o:p></o:p> Tilla Jogian also finds mention in the epic love poem Heer Ranjha of Waris Shah. Ranjha, the story's protagonist, who when spending his time on the rebound, ...
https://www.pakwheels.com/forums/t/ijc-visits-tilla-joogian-on-sunday-5-th-june-2011/149707?page=9
CC-MAIN-2017-04
refinedweb
650
75.2
So far in this series, we've discussed object-oriented programming in general, and the OOP principle of cohesion. In this article, we'll look at the principle of coupling and how it helps in game development. Note: Although this tutorial is written using Java, you should be able to use the same techniques and concepts ...
https://gamedevelopment.tutsplus.com/tutorials/quick-tip-the-oop-principle-of-coupling--gamedev-1935
CC-MAIN-2017-47
refinedweb
872
62.38
Python math.hypot() Method Example Find the hypotenuse of a right-angled triangle where perpendicular and base are known: import math #set perpendicular and base parendicular = 10 base = 5 #print the hypotenuse of a right-angled triangle print(math.hypot(parendicular, base)) Definition and Usage The math.hypot() method...
https://www.w3schools.com/python/ref_math_hypot.asp
CC-MAIN-2020-45
refinedweb
182
59.5
zhttp_client(3) CZMQ Manual - CZMQ/4.1.1 Name zhttp_client - Class for provides a simple http client Synopsis // This is a draft class, and may change without notice. It is disabled in // stable builds by default. If you use this in applications, please ask // for it to be pushed to stable state. Use --enable-drafts to...
http://czmq.zeromq.org/czmq4-1:zhttp-client
CC-MAIN-2022-33
refinedweb
201
51.99
WE_Frontend::MainCommon - common methods for all WE_Frontend::Main* modules Do not use this module at its own!!! Just consult the methods. Note that all methods are loaded into the WE_Frontend::Main namespace. Use the appropriate publish method according to the WEsiteinfo::Staging config member livetransport. May retur...
http://search.cpan.org/~srezic/WE_Framework-0.097_03/lib/WE_Frontend/MainCommon.pm
CC-MAIN-2015-11
refinedweb
265
59.6
At 10:46 PM 10/7/2009 +0200, M.-A. Lemburg wrote: >P.J. Eby wrote: > > At 07:27 PM 10/7/2009 +0200, M.-A. Lemburg wrote: > >> Having more competition will also help, e.g. ActiveState's PyPM looks > >> promising (provided they choose to open-source it) and then there's > >> pip. > > > > Note that both PyPM and pip use s...
https://mail.python.org/pipermail/python-dev/2009-October/092739.html
CC-MAIN-2016-50
refinedweb
207
67.25
Chapter 3 Writing Python Programs in Maya Author Seth Gibson Project Develop functions for a texture processing framework Example Files Synopsis This chapter introduces the fundamentals of creating Python programs by focusing on the development of functions. It presents a number of properties of functions including arg...
http://www.maya-python.com/chapter-3/
CC-MAIN-2020-24
refinedweb
2,444
55.95
Christine Dodrill - Blog - Contact - Gallery - Resume - Talks - Signal Boost - Feeds | GraphViz - When Then Zen Author's Note: this was intended to be documentation for a service that never ended up being implemented. It was going to help Derpibooru convert its existing markup to Markdown. This never happened. This pro...
https://christine.website/blog/textile-to-markdown-literate-haskell-2017-02-08
CC-MAIN-2021-17
refinedweb
590
55.74
. Advertisements Here’s my Python interactive session, with one (typo, error) removed. If you run my version of the program, you’ll see that there are two unique solutions, only one of which divides { 1..16 } into subsets of equal size. Both solutions have the same sums though. Interesting. Ah. That teaches me to code ...
https://programmingpraxis.com/2011/11/15/phil-harveys-puzzle/?like=1&_wpnonce=274c59a080
CC-MAIN-2017-13
refinedweb
758
60.85
#include <deal.II/grid/intergrid_map.h> This class provides a map between two grids which are derived from the same coarse grid. For each cell iterator of the source map, it provides the respective cell iterator on the destination map, through its operator []. Usually, the two grids will be refined differently. Then, t...
https://dealii.org/developer/doxygen/deal.II/classInterGridMap.html
CC-MAIN-2021-10
refinedweb
603
65.52
update your webhook URL every time you start a new ngrok session. In this article I’m going to show you how to fully automate ngrok, by incorporating it into your Python application. The application will create an ngrok tunnel and update the Twilio webhook with the assigned URL automatically! Tutorial requirements To f...
https://www.twilio.com/blog/automating-ngrok-python-twilio-applications-pyngrok
CC-MAIN-2021-10
refinedweb
1,721
63.9
I have a program which loads many fxml files when executed. The application will be finished in a short time, and loading the application just takes too long. There are many fxml files (20+) and all these fxml files are loaded with Java code. There will be a point that the application is finished and ready for use, but...
https://codedump.io/share/fdYr7OwXnYv8/1/is-there-a-way-to-compile--load-fxml-files-faster-and-only-one-time-and-not-at-every-restart-of-an-application
CC-MAIN-2017-04
refinedweb
388
54.63
C# gives you the capability to build controls for both Windows and Web applications. We're going to do that in this chapter, starting with Windows custom controls, called user controls. Later in the chapter we'll see how to create custom controls for Web applications, called Web user controls. Using Visual Studio .NET,...
https://flylib.com/books/en/1.254.1.120/1/
CC-MAIN-2022-05
refinedweb
2,485
64.61
Ext Designer implementation question Ext Designer implementation question I've finally gotten my license for Designer and built my first UI with it today and noticed that everything that comes out is an extension of the component that I selected in the designer. Is that the preferred method to build a UI? All of my han...
http://www.sencha.com/forum/showthread.php?100049-Ext-Designer-implementation-question&s=0f20390c09bd7f19731247aada8dc885&p=470629
CC-MAIN-2013-48
refinedweb
413
62.88
I am probably the only person even trying to use the ReST interface, so I doubt I'll get much help. But I am stuck, so I'll give it a shot. Basically I am running the "push" example, but I am rewriting the PostOrder part of it to actually use ReST instead of JMS. (It is sad in general that the ReST examples are mostly ...
https://developer.jboss.org/thread/167996
CC-MAIN-2018-17
refinedweb
356
83.86
I'm planning to design a program such that any number entered will be divided by all the numbers less than it and if any of the division gives 0 as the reminder,it is not a prime.Here is my attempt so far and iam not able to proceed after that.. #include <stdio.h> #include <conio.h> #include <math.h> void main() {long ...
https://www.daniweb.com/programming/software-development/threads/295196/program-to-check-if-any-number-entered-is-a-prime-number
CC-MAIN-2018-05
refinedweb
108
84.78
from brightway2 import * Create a project for this notebook: projects.set_current("databases demo") Before going any further, please read about what a database is in Brightway2. One of the nicest ideas in Brightway2 is that data is just data, and not hidden behind a database and object-relational mapping (ORM). This ma...
http://nbviewer.jupyter.org/urls/bitbucket.org/cmutel/brightway2/raw/default/notebooks/Databases.ipynb
CC-MAIN-2018-51
refinedweb
396
56.15
CodePlexProject Hosting for Open Source Software Hi, when i try to build orchard i recive the following error: The type or namespace name "Blog" does not exist in the namespace 'Orchard' (are you missing an assembly reference?) Can you help me ? Thanks Where did you get the source code from? If you've cloned the reposi...
https://orchard.codeplex.com/discussions/260288
CC-MAIN-2017-39
refinedweb
779
75.71
- Author: - dek - Posted: - August 25, 2009 - Language: - Python - Version: - 1.1 - admin generic export csv action - Score: - 7 (after 7 ratings) A generic admin action to export selected objects as csv file. The csv file contains a first line with header information build from the models field names followed by the a...
https://djangosnippets.org/snippets/1697/
CC-MAIN-2016-40
refinedweb
106
62.54
New tools for automating end-to-end tests for VS Code extensions . How it works VS Code is based on Electron, so it is a web application. Hence, the idea was to automate the tests using the Selenium WebDriver. For that purpose, we needed to: - Download the appropriate version of ChromeDriver, which meant knowing the ve...
https://developers.redhat.com/blog/2019/11/18/new-tools-for-automating-end-to-end-tests-for-vs-code-extensions/
CC-MAIN-2021-21
refinedweb
1,835
55.95
To use the component from VB .NET you have to go through the same steps. First you have to add a reference to the object select Add Reference, next click Browse and navigate to the Debug directory of the MyWinRTComp project and select the MyWinRTComp.winmd file. You also have to add a reference due to a glitch in the p...
http://i-programmer.info/programming/winrt/3172-building-and-using-winrt-components.html?start=1
CC-MAIN-2015-32
refinedweb
1,050
53.41
Subject: Re: [OMPI users] MPI_CANCEL From: Richard Treumann (treumann_at_[hidden]) Date: 2008-04-15 22:48:10 Hi slimtimmy I have been involved in several of the MPI Forum's discussions of how MPI_Cancel should work and I agree with your interpretation of the standard. By my reading of the standard, the MPI_Wait must no...
http://www.open-mpi.org/community/lists/users/2008/04/5398.php
CC-MAIN-2014-10
refinedweb
411
53.41
>> Palindrome Substring Queries in C++ In this tutorial, we need to solve palindrome substring queries of the given string. Solving palindrome substring queries is far more complex than solving regular queries in C++. It requires a far more complex code and logic. In this tutorial, we are provided string str and Q numb...
https://www.tutorialspoint.com/palindrome-substring-queries-in-cplusplus
CC-MAIN-2022-33
refinedweb
728
72.46
IPython-enabled pdb Project description IPython pdb Use ipdb exports functions to access the IPython debugger, which features tab completion, syntax highlighting, better tracebacks, better introspection with the same interface as the pdb module. Example usage: import ipdb ipdb.set_trace() ipdb.set_trace(context=5) # wi...
https://pypi.org/project/ipdb/
CC-MAIN-2019-35
refinedweb
536
71.41
__skb_unlink, skb_unlink − remove an sk_buff from its list #include <linux/skbuff.h> void __skb_unlink(struct sk_buff *skb, struct sk_buff_head *list); void skb_unlink(struct sk_buff *skb); The skb_unlink function is a wrapper for __skb_unlink. __skb_unlink removes skb from its sk_buff_head. It decrements the list qlen...
http://man.sourcentral.org/MGA3/9+skb_unlink
CC-MAIN-2018-39
refinedweb
175
55.44
Oct 18, 2011 08:45 AM|yenni104|LINK Hi, I am using MVC 3 unobtrusive client side validation and I need to implement some custom validation rules for my DateTime field. I got ExpiryDate and Storagedate, where Expirydate should be later or equal to today's date. Also, the Expirydate should not be earlier than the Storage...
http://forums.asp.net/t/1731351.aspx?Custom+DateTime+Validation+for+MVC+3+unobtrusive+client+side+validation
CC-MAIN-2014-49
refinedweb
1,927
54.02
Tabstops Tabstops are highlighted placeholders for inserting content in snippets and templates. Tabstops with the same number are linked, and will mirror the content inserted in the first one. When tabstops are present in the buffer, the tab key moves the cursor through the tabstops instead of inserting a whitespace ta...
http://docs.activestate.com/komodo/6.0/tabstops.html
CC-MAIN-2015-06
refinedweb
431
60.35
Hi, I'm trying to count the number of operations it takes a certain sorting algorighm (in this case a shell sort) to sort arrays of different sizes (numbers in the arrays are randomly generated). Here is my code: The problem:The problem:Code:#include <iostream> #include <string> #include <cmath> #include <fstream> #inc...
https://cboard.cprogramming.com/cplusplus-programming/98152-counting-sorting-operations.html
CC-MAIN-2017-51
refinedweb
510
51.38
Some say, the best way to learn is by example. In this post we will grab the 'Each' library by ThoughtWorks, explain why it's useful, how it was designed (macros, implicits and other cool Scala stuff) and try to reuse them in our code. The goal is to learn by exploring Each and pick up some Scala ideas along the way. b...
https://blog.scalac.io/2016/06/23/each_lib_macros.html
CC-MAIN-2018-26
refinedweb
1,369
72.16
QML button's palette with enabled property Hello I am using the raw of buttons to perform some actions and at the same time to represent the current state of the project. So I use palette.buttonto set the current color. When the button has been clicked by the user it should go to disabled state for the action running t...
https://forum.qt.io/topic/112777/qml-button-s-palette-with-enabled-property/2
CC-MAIN-2022-33
refinedweb
452
51.34
i want to do nested sorting . I have a course object which has a set of applications .Applications have attributes like time and priority. Now i want to sort them according to the priority first and within priority i want to sort them by time. For example, given this class (public fields only for brevity): public class...
https://codedump.io/share/xcGseRmZ56Pu/1/sorting-objects-in-java
CC-MAIN-2017-34
refinedweb
151
57.27
Created attachment 28405 [details] testcase to trigger the ICE Running the attached testcase with the current Debian's gcc-snapshot gfortran I get: $ cat m1.f95 module solver_2D_m use adv_m type :: solver_2D_t class(adv_t), pointer :: adv contains end type contains subroutine solver_2D_solve(this) class(solver_2D_t) ::...
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54880
CC-MAIN-2015-27
refinedweb
529
52.56
A. Before this security fix you could use this feature out of the box and there was no control over the criteria that were passed by the user. Information outside of an admin user’s permission could leak. In order to avoid this a new method called lookup_allowed has been added to the ModelAdmin. By default this method ...
https://lincolnloop.com/blog/2011/jan/11/custom-filters-django-admin/
CC-MAIN-2017-04
refinedweb
599
51.14
Is there anyone else about to read this, as fascinated as I am by simulations? A simulation of a game, weather, aerodynamic behavior, or any other action, has intrinsically the same goal - take a peek into the future and see how things will perform in real life. These simulations all require an extent of calculations a...
https://practicaldev-herokuapp-com.global.ssl.fastly.net/finiam/simulations-with-elixir-and-the-actor-model-2lmf
CC-MAIN-2022-33
refinedweb
1,586
60.65
Pytrack i2c causes system to freeze Hi, I'm trying to connect a GPy to a Pytrack, check GPS and battery, run some other code, then turn the pytrack and gpy off. Half of the time I'm getting I2c errors, garbage GPS output and battery readings, but those I can try/catch. The problem I can't wrap my head around are random...
https://forum.pycom.io/topic/5595/pytrack-i2c-causes-system-to-freeze
CC-MAIN-2020-40
refinedweb
597
76.82
C Programming/C Reference/stdarg.h stdarg.h is a header in the C standard library of the C programming language that allows functions to accept an indefinite number of arguments.[1] It provides facilities for stepping through a list of function arguments of unknown number and type. C++ provides this functionality in th...
https://en.wikibooks.org/wiki/C_Programming/C_Reference/stdarg.h
CC-MAIN-2014-10
refinedweb
981
55.74
Code is far easier to maintain if it uses real names to identify variables. A real name is one that describes what the variable represents rather than what type it is. Avoid using arbitrary or generic words (including abbreviations of them) on their own in the code. Some commonly seen naming mistakes are shown below. :...
http://javagoodways.com/name_real_Use_real_names.html
CC-MAIN-2021-21
refinedweb
477
50.16
Python gotta go faster Crossposted from pepijndevos.nl While discussing the disappointing performance of my Futhark DCT on my “retro GPU” (Nvidia NVS 4200M) with Troels Henriksen, it came up that the Python backend has quite some calling overhead. Futhark can compile high-level functional code to very fast OpenCL, but ...
https://futhark-lang.org/blog/2018-07-05-python-gotta-go-faster.html
CC-MAIN-2020-16
refinedweb
528
69.11
On Monday 09 April 2018 03:24:14 Christoph Hellwig wrote: > On Mon, Apr 09, 2018 at 12:10:09PM +0200, Pali Rohár wrote: > > Another example: > > > > fd = open("/a") > > link("/a", "/b") > > unlink("/a") > > > > Calling funlink for fd should unlink "/b" or it should fail? > > It should fail, as '/a' doesn't refer to nam...
https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg1659450.html
CC-MAIN-2018-17
refinedweb
201
71.65
Purpose WildFly provides EJB client API project as well as remote-naming project for invoking on remote objects exposed via JNDI. This article explains which approach to use when and what the differences and scope of each of these projects is. History Previous versions of JBoss AS (versions < WildFly 8) used JNP projec...
https://docs.jboss.org/author/display/WFLY8/Remote+EJB+invocations+via+JNDI+-+EJB+client+API+or+remote-naming+project
CC-MAIN-2018-13
refinedweb
4,085
52.39
Opened 9 years ago Closed 9 years ago Last modified 5 years ago #7285 closed (fixed) inspectdb outputs invalid python variable when it encounters a dash Description (last modified by ) When inspectdb encounters a field with a dash, it outputs it as a variable name which is invalid in python. For instance, when i ran it...
https://code.djangoproject.com/ticket/7285
CC-MAIN-2017-09
refinedweb
313
65.93
From: Gennadiy Rozental (gennadiy.rozental_at_[hidden]) Date: 2004-07-13 14:24:57 > IMO, there's nothing wrong with using namespace std; in local > scope. Here's a fix: There is already workaround on top of the file dealing with gcc 3.3. I wonder why is that gcc does not put namely wcscmp into namespace std or why BOOS...
https://lists.boost.org/Archives/boost/2004/07/67961.php
CC-MAIN-2021-49
refinedweb
101
70.19
Post your Comment Convert a String into an Integer Data Convert a String into an Integer Data In this section you will learn to convert a string type of data to integer type data. Converting string to integer and integer to string is a basic task in java programming language because Convert a String into an Integer Dat...
http://www.roseindia.net/discussion/18796-Convert-a-String-into-an-Integer-Data.html
CC-MAIN-2016-07
refinedweb
1,115
52.7
I have a form mailer which I validate using Javascript. When a required text field is left empty or inappropriately filled the program places a message in the field and highlights it - setting the focus to the field at the same time. With Windows Explorer and Opera this works fine. The page window is repositioned to sh...
http://www.webdeveloper.com/forum/showthread.php?211211.html
CC-MAIN-2018-13
refinedweb
153
61.43
Text pictures of repair work, warranty inquiries, or pricing requests, all integrated into existing service and CRM. Repairs in a snap ID items on the go iCracked wants to streamline repair. Customers send MMS images of repair items to technicians, improving resolution accuracy.View Customer StoryTalk to Sales Fetch wa...
https://www.twilio.com/use-cases/visual-estimates
CC-MAIN-2017-26
refinedweb
266
50.53
Uploading files This is quite simple. HTML has a form input element of type "file" used to select the file. The form element looks like this <input type="file" name="upload_file"/>The "name" is the variable name that TurboGears will pass into the controller function. There are several ways to send a form to the server....
http://www.dalkescientific.com/writings/NBN/file_uploads.html
CC-MAIN-2018-34
refinedweb
248
56.35
A history lesson on the Xamarin.Mac target frameworks and their new names All .NET applications depend upon classes and methods from the Base Class Library (BCL) as part of their implementation — Strings, System.Console, System.IO.Path, System.Net.Http.HttpClient and so on. When targeting many platforms, such as Xamari...
https://medium.com/@donblas/a-history-lesson-on-the-xamarin-mac-target-frameworks-and-their-new-names-473d2731d887
CC-MAIN-2017-13
refinedweb
763
56.05
A pure Dart library for Mixpanel analytics. Add this to your package's pubspec.yaml file: dependencies: pure_mixpanel: ^1.0.6 You can install packages from the command line: with Flutter: $ flutter packages get Alternatively, your editor might support flutter packages get. Check the docs for your editor to learn more. ...
https://pub.dartlang.org/packages/pure_mixpanel
CC-MAIN-2019-04
refinedweb
136
52.76
Reading env variables from a Tauri App “Build smaller, faster, and more secure desktop applications with a web frontend” is the promise made by Tauri. And indeed, it is a great Electron replacement. But being in its first days (the beta has just been released!) a bit of documentation is still missing, and on the intern...
https://rpadovani.com/read-env-tauri
CC-MAIN-2022-40
refinedweb
382
67.25
Grab image from URL Above is the sample result of grabbing an image from URL to display in an ImageView control. Let’s roll! Create new Android Project Project Name: DownloadImageDisplay Build Target: Android 2.3.3 Application Name: Download Image Display Package Name: pete.android.study Create Activity: MainActivity M...
https://xjaphx.wordpress.com/2011/06/10/grab-image-from-url/
CC-MAIN-2017-13
refinedweb
664
59.3
Writing Addons This is a complete guide on how to create addons for Storybook. Storybook BasicsStorybook Basics Before we begin, we need to learn a bit about how Storybook works. Basically, Storybook has a Manager App and a Preview Area. Manager App is the client side UI for Storybook. Preview Area is the place where t...
https://storybook.js.org/docs/addons/writing-addons/
CC-MAIN-2019-26
refinedweb
1,458
50.63
tag:blogger.com,1999:blog-6907873803403737979.post8599472448509282628..comments2018-11-09T14:47:20.548+00:00Comments on C# Bits: Dynamic Data and Field Templates - A Second Advanced FieldTemplate ***UPDATED***Unknownnoreply@blogger.comBlogger11125tag:blogger.com,1999:blog-6907873803403737979.post-8076555498243641476201...
http://csharpbits.notaclue.net/feeds/8599472448509282628/comments/default
CC-MAIN-2019-35
refinedweb
648
50.84
This is a best practice I developed when working on Vue projects with a large code base. These tips will help you develop more efficient code that is easier to maintain and share. In my freelance career this year, I had the opportunity to work on some large Vue applications. The project I'm talking about has more than ...
https://programmer.help/blogs/6194e33f98ffe.html
CC-MAIN-2021-49
refinedweb
1,898
62.78
Member Since 3 Years Ago 2,870clark6595 left a reply on Base Table Or View Not Found: 1146 Grrrrrrrrrrrrrrrr!!!!! Helps when one adds the table to the same database that the application is reading from !!!!!! kclark6595 left a reply on Base Table Or View Not Found: 1146 @Christopher - Tried that already as an off chanc...
https://laracasts.com/@kclark6595
CC-MAIN-2019-35
refinedweb
2,971
52.19
An efficient implementation of integer sets. Since many function names (but not the type name) clash with Prelude names, this module is usually imported qualified, e.g. import Data.IntSet (IntSet) import qualified Data.IntSet as IntSet(min(n,W)). The expression (split x set) is a pair (set1,set2) where set1 comprises t...
https://downloads.haskell.org/~ghc/6.12.3/docs/html/libraries/containers-0.3.0.0/Data-IntSet.html
CC-MAIN-2017-09
refinedweb
113
71
15 February 2010 By clicking Submit, you accept the Adobe Terms of Use. Note: This article was created based on Flash Builder 4 beta. Minor changes in the description and code may be necessary before it can be applied to Flash Builder 4. For many types of games, the user experience depends on how many pixels you can ha...
http://www.adobe.com/devnet/flex/articles/actionscript_blitting.html?devcon=f8
CC-MAIN-2015-32
refinedweb
2,374
57.06
Hi, I have this following method, wanting to add a string to a std stream the function toString() returns a pointer to a string. the question is, when I add it to a stream, does it create a copy or add the current pointer, and therefore, what is the correct time to release the allocated memory of this pointer? I just d...
http://cboard.cprogramming.com/cplusplus-programming/115652-ostream.html
CC-MAIN-2015-14
refinedweb
124
67.55
Ulrich von Zadow wrote: > Diego Biurrun schrieb: >>. > > Extern "C" is, __STDC_CONSTANT_MACROS isn't standard C++ stuff. It's not that simple. C99 section 7.18.4, footnote 220 says C++ implementations should define these macros only when __STDC_CONSTANT_MACROS is defined before <stdint.h> is included. The latest C++ dr...
http://ffmpeg.org/pipermail/ffmpeg-devel/2007-May/035351.html
CC-MAIN-2014-42
refinedweb
248
59.5
Hello, I am not a very experinced BGP in Junos system and would require some help. In my case, I need to export some usally IP prefixes to my provider and also need to export some /32 IPs to get the provider to blackhole them. As the provider only provide one Peer IP to accept both the IP prefixes and the /32 IPs, so t...
https://community.juniper.net/answers/communities/community-home/digestviewer/viewthread?GroupId=25&MID=70292&CommunityKey=18c17e96-c010-4653-84e4-f21341a8f208&tab=digestviewer
CC-MAIN-2021-10
refinedweb
676
68.1
Hello, is there a way to fill a histogram with the FillRandom method if the function involved is not as simple as in the example below? I am thinking of something like : def func(x, y, p1, p2 , p3 …, pn): return z = … where func is given to a TF2 object xy = TF2( ‘xy’, ‘func’, x0, x1, y0, y1) Do you have any suggestion...
https://root-forum.cern.ch/t/pyroot-fillrandom-method-with-complicated-function/27029
CC-MAIN-2022-33
refinedweb
132
64.58
I am trying to solve this one at the moment : Program is working pretty well as you can see here : I think, I wrote the code pretty fine. For example if I set limits as 13-100, it gives correct result. 13-100 >> As you can see, 97 is the really longest chain starter. But when I put limit as 1000000, it says "longest : ...
http://www.dreamincode.net/forums/topic/339746-collatz-conjecture-project-euler/
CC-MAIN-2016-30
refinedweb
254
77.67
Recent Notes Displaying keyword search results 1 - 9.... Sample code for UDP client and server in C. The server simply echos back the client message. The client stays in "receive" loop to demonstrate the connection-less nature of the UDP protocol. Server code: #include <stdio.h> #include <stdlib.h> #incl...Client code:...
http://www.xinotes.net/notes/keywords/code/int/port/
CC-MAIN-2015-18
refinedweb
166
73.54
Fast ASP.NET Websites, authored by Dean Hume, enables you to learn different ways to enhance the performance of ASP.NET and MVC applications. The book is divided into 12 chapters spread across 3 parts (defining performance, General performance best practices and ASP.NET-specific techniques). The first chapter examines ...
https://www.infoq.com/articles/fast-aspnet-websites-review-interview-dean-hume/?itm_source=articles_about_clustering&itm_medium=link&itm_campaign=clustering
CC-MAIN-2019-51
refinedweb
1,757
63.29
Think of a house, any house, and if you do, it will probably be a bit blank, a bit unfilled in. You may think of a shape, be it one story, two story, or more, but the details won't have been fleshed out. You may have pictured the windows, but not if they had curtains, or the colour or pattern of the curtains. This, in ...
http://www.codeproject.com/Articles/20477/Introducing-Nets?fid=459279&df=90&mpp=10&sort=Position&spc=None&tid=2229712
CC-MAIN-2013-48
refinedweb
3,296
62.21
bool repeatedSubstringPattern(string& s) { return (s+s).find(s,1) < s.size(); } Since neither string::find nor std::strstr specify complexity, the algorithm is up to whatever their implementation is. (e.g., O(N) time and space if using KMP, where N = s.size()) Why condition return (s+s).find(s,1) < s.size() is equivale...
https://discuss.leetcode.com/topic/72712/1-line-c-solution-return-s-s-find-s-1-s-size-with-proof
CC-MAIN-2017-47
refinedweb
304
76.32
Aside from applying that killer layout and visual design to your project, stylesheets need to be organized in a way that effectively communicates markup and style relationships and allows for quick and easy modification. A good measure of a well architected front-end is how easy it is for a new team member to jump into...
https://robots.thoughtbot.com/style-sheet-swag-architecting-your-applications-styles
CC-MAIN-2015-11
refinedweb
802
61.26
Hi! Is there a way to set the default local working path If someone opens the project, he has to set the working path, but I want to set a default path! regards Simon But where can I define such a workspace template Ok thanks, I will try that. I cannot find, where I can select the existing workspace. If I go to File --...
http://databaseforum.info/30/500024.aspx
CC-MAIN-2017-26
refinedweb
458
70.02
Buttonwood Caught short Returns may have improved but hedge funds still face a lot of problems THE hedge-fund industry is making money again. Figures from Hedge Fund Research (HFR), a consultancy, show that the average fund gained 5.2% in May, the best monthly performance since 2000. Several sectors have earned double-...
http://www.economist.com/node/13832269
CC-MAIN-2014-35
refinedweb
788
61.16
[ ] Alex Karasulu updated DIREVE-137: --------------------------------- Fix Version: 0.9 > Problems with mixed-case in suffix > ---------------------------------- > > Key: DIREVE-137 > URL: > Project: Directory Server > Type: Bug > Components: jndi-provider, jdbm database, server main > Versions: 0.8 > Reporter: Endi S...
http://mail-archives.apache.org/mod_mbox/directory-dev/200503.mbox/%3C1242627316.1110995541866.JavaMail.jira@ajax.apache.org%3E
CC-MAIN-2017-17
refinedweb
211
52.97
We are about to switch to a new forum software. Until then we have removed the registration on this forum. Hi everyone! I have run into a problem with some code. The code is made so when the user presses A, S or D it will load one of three files assigned for each letter. However, when I press play it comes up with the ...
https://forum.processing.org/two/discussion/14377/random-video-select-code
CC-MAIN-2021-39
refinedweb
788
80.51
You need to sign in to do that Don't have an account? Calling Apex Rest custom web service from Apex code Hi everyone, I am a newbie to FDC (so please correct me if I am wrong anywhere) . I have gone thorugh Apex REST API and found that we can create our custom web services in Apex and expose them as REST services usin...
https://developer.salesforce.com/forums?id=906F000000099zbIAA
CC-MAIN-2020-34
refinedweb
3,921
63.09
Win a copy of Barcodes with iOS this week in the iOS forum or Core Java for the Impatient in the Java 8 forum! Parul Sweetie wrote: 2. class Game { 3. static String s = "-"; 4. String s2 = "s2"; 5. Game(String arg) { s += arg; } 6. } 7. public class Go extends Game { 8. Go() { super(s2); } 9. { s += "i "; } 10. public ...
http://www.coderanch.com/t/605575/java-programmer-SCJP/certification/Instance-variable
CC-MAIN-2015-11
refinedweb
109
89.55
Namespaces and autoloading are not topics that are usually discussed when it comes to working with WordPress plugins. Some of this has to do with the community that's around it, some of this has to do with the versions of PHP that WordPress supports, and some of it simply has to do with the fact that not many people ar...
https://code.tutsplus.com/tutorials/using-namespaces-and-autoloading-in-wordpress-plugins-part-1--cms-27157
CC-MAIN-2020-29
refinedweb
2,715
71.95
This fortune telling machine is a nod to the old Zoltar machines found at circuses and arcades. It's quick and easy to build and can accurately predict the future 50% of the time! Modulo Gizmo Kit has everything you need for this project (except basic supplies like paper and tape). About Modulo This project is built us...
https://www.hackster.io/ekt/diy-zoltar-a-fortune-telling-machine-406404?ref=platform&ref_id=12765_trending___&offset=1
CC-MAIN-2018-26
refinedweb
518
67.15
The combined size of all attached files for a job is limited to 4 GB. By default, a worker on a Windows® operating system is installed as a service running as LocalSystem, so it does not have access to mapped network drives. Often a network is configured to not allow services running as LocalSystem to access UNC or map...
https://fr.mathworks.com/help/parallel-computing/troubleshooting-and-debugging.html
CC-MAIN-2020-05
refinedweb
1,107
54.42
If you are starting to create a library of reuseable PHP functions, you will soon encounter some typical problems. For example, you will experience name clashes if you start mixing your own components with that of other developers: sooner or later some foreign function will have the same name as one of yours or will us...
http://www.devshed.com/c/a/PHP/Accessing-Databases-with-Class/
CC-MAIN-2014-35
refinedweb
2,893
62.58
Java Power Tools 2.7.0 Original Release Note for January 24, 2008 (2.7.0): The most important innovation in JPT 2.7.0 is the ability to use the Java Power Framework in both applications as in the past with JPF and now in applets with JPFApplet. In addition, the core reflection technology has been implemented in a publi...
http://www.ccs.neu.edu/jpt/jpt_2_7/index.htm
CC-MAIN-2015-48
refinedweb
318
63.8
An Introduction to Reasonably Pure Functional Programming Free JavaScript Book! Write powerful, clean and maintainable JavaScript. RRP $11.95 This article was peer reviewed by Panayiotis «pvgr» Velisarakos, Jezen Thomas and Florian Rappl. Thanks to all of SitePoint’s peer reviewers for making SitePoint content the best...
https://www.sitepoint.com/an-introduction-to-reasonably-pure-functional-programming/
CC-MAIN-2020-29
refinedweb
2,687
54.32
Builtin Tokens¶ In the pygments.token module, there is a special object called Token that is used to create token types. You can create a new token type by accessing an attribute of Token: >>> from pygments.token import Token >>> Token.String Token.String >>> Token.String is Token.String True Note that tokens are singl...
https://pygments.org/docs/tokens/
CC-MAIN-2019-51
refinedweb
1,306
54.49
I solved this problem using both brute-force and kmp, whereas the brute-force took 15ms, kmp 18ms. Is there something wrong with my kmp solution? what is the run time of your kmp code? I would be much appreciated if some one could tell me his/her run time for reference below is my kmp code: public class Solution { publ...
https://discuss.leetcode.com/topic/89766/why-kmp-takes-more-time-than-brute-force
CC-MAIN-2017-51
refinedweb
175
93.54
1.1 ! jdf 1: # The Domain Name System ! 2: ! 3: Use of the Domain Name System has been discussed in previous chapters, without ! 4: going into detail on the setup of the server providing the service. This chapter ! 5: describes setting up a simple, small domain with one Domain Name System (DNS) ! 6: nameserver on a Net...
https://wiki.netbsd.org/cgi-bin/cvsweb/wikisrc/guide/dns.mdwn?annotate=1.1
CC-MAIN-2015-32
refinedweb
7,081
79.26
Some time ago, I discussed several timestamp formats you might run into. Today we’ll take a logical step from that information and develop a list of special values you might encounter. Note that if you apply time zone adjustments, the actual timestamp may shift by up to a day..) BTW, does anybody know why time_t is sig...
https://blogs.msdn.microsoft.com/oldnewthing/20051028-29/?p=33573/
CC-MAIN-2016-22
refinedweb
1,155
72.26
The .NET Stacks #29: More on route-to-code and some Kubernetes news This week, we dig deep on route-to-code and discuss some Kubernetes news. Note: This is the published version of my free, weekly newsletter, The .NET Stacks. It was originally sent to subscribers on December 7, 2020. Subscribe at the bottom of this pos...
https://www.daveabrock.com/2020/12/12/dotnet-stacks-29/
CC-MAIN-2021-39
refinedweb
1,396
69.18
Brown12,406 Points Why aren't I receiving the correct output or return? For some reason I keep getting an error on this code. I'm not sure what I'm not doing here. func greeting(person: String) -> (greeting: String, language: String) { let language = "English" let greeting = "Hello \(person)" return (language, greetin...
https://teamtreehouse.com/community/why-arent-i-receiving-the-correct-output-or-return
CC-MAIN-2022-27
refinedweb
108
57.37
29 March 2012 15:31 [Source: ICIS news] LONDON (ICIS)--The European ethylene contract price for April is fully confirmed at €1,345/tonne ($1,793/tonne), up by €40/tonne from March, on the back of firm naphtha costs, market sources said on Thursday. The 3% increase took European contract ethylene to its second record hi...
http://www.icis.com/Articles/2012/03/29/9546056/europe-april-ethylene-fully-settled-at-1345tonne-fd-nwe.html
CC-MAIN-2015-11
refinedweb
340
61.77
On Mon, Jan 12, 2009 at 10:39:34AM -0500, Christoph Hellwig wrote: > On Mon, Jan 12, 2009 at 10:33:06AM +1100, Dave Chinner wrote: > > That should probably be namespaced correctly because it won't be > > static on debug builds. i.e. xfs_handle_acceptable() > > Ok. > > > The args in this function are back to front compa...
http://oss.sgi.com/archives/xfs/2009-01/msg00911.html
CC-MAIN-2015-06
refinedweb
261
53.17
NFSSVC(2) MidnightBSD System Calls Manual NFSSVC(2) NAME nfssvc — NFS services LIBRARY Standard C Library (libc, −lc) SYNOPSIS #include <sys/param.h> #include <sys/mount.h> #include <sys/time.h> #include <nfs/rpcv2.h> #include <nfsserver/nfs.h> #include <unistd.h> int nfssvc(int flags, void *argstructp); DESCRIPTION Th...
http://www.midnightbsd.org/documentation/man/nfssvc.2.html
CC-MAIN-2014-52
refinedweb
549
52.9
Closed Bug 1036606 Opened 6 years ago Closed 6 years ago Add options dict and vr Device to moz Request Full Screen Categories (Core :: DOM: Core & HTML, defect) Tracking () mozilla36 People (Reporter: vlad, Assigned: vlad) References Details (Keywords: dev-doc-needed) Attachments (1 file, 2 obsolete files) mozRequestFu...
https://bugzilla.mozilla.org/show_bug.cgi?id=1036606
CC-MAIN-2020-45
refinedweb
783
57.87
I am coding an 3D app on Windows 8 and looking for information about DirectX 3D on Windows 8. I used StarterKit sample to load file.fbx, I can change color for 3D mesh but I want to load image as skin of 3D mesh, how can I create textures from image and apply texture for 3D mesh?. Please let me know if you know any Dir...
http://social.msdn.microsoft.com/Forums/windowsapps/en-US/43220708-90a7-495c-be57-16967eeff09f/directx-3d-create-texture?forum=wingameswithdirectx
CC-MAIN-2014-10
refinedweb
203
55.34
I am trying to find some guides or information on how to Proceduralay generate stars for my space game. Need to be more specific, please. By stars, are you wanting to use particles, meshes, GUI, planes with textures? Is it a 2D or 3D game, will the stars be traveled to, or just used for background? Give a bit more deta...
https://answers.unity.com/questions/369541/procedural-generation.html?sort=oldest
CC-MAIN-2020-45
refinedweb
553
70.43
5611/how-to-getters-and-setters-work-in-java In Java, getter and setter are two conventional methods that are used for retrieving and updating the value of a variable. The following code is an example of a class with a private variable and few getter/setter methods: public class GetterAndSetter { private int num; publi...
https://www.edureka.co/community/5611/how-to-getters-and-setters-work-in-java
CC-MAIN-2021-10
refinedweb
171
69.28
Let’s say you are work ing with images for your project. A lot of times, when you have to work across multiple platforms, the encoding doesn’t remain the same. In these scenarios, you cannot process images directly by treating them like 2D matrices. One of the most common image formats you will comes across is JPEG. If...
https://prateekvjoshi.com/2013/12/28/reading-jpeg-into-a-byte-array/
CC-MAIN-2021-39
refinedweb
615
63.7
On Mon, Dec 24, 2018 at 06:10:49PM +0200, Eli Zaretskii wrote: > > Date: Mon, 24 Dec 2018 04:08:47 +0200 > > From: Khaled Hosny <address@hidden> > > Cc: address@hidden, address@hidden, address@hidden, > > address@hidden, address@hidden > > > > I think we are almost good now. There is only one serious FIXME left: > > > ...
https://lists.gnu.org/archive/html/bug-gnu-emacs/2018-12/msg00877.html
CC-MAIN-2021-17
refinedweb
372
60.04
Plugin for Pelican that computes average read time. Project description Plugin for Pelican that computes a piece of content’s read time. It adds a readtime and readtime_string attributes to every article and/or page, with the time estimation for reading the article. Setting Up Adding ‘ReadTime’ to the list of plugins: ...
https://pypi.org/project/pelican-readtime/
CC-MAIN-2022-33
refinedweb
368
51.34
You can subscribe to this list here. Showing 7 results of 7 Hi, I am trying to get Gnome2 installed on my machine (Jaguar, Fink from scratch). I got the ".info" and ".patch" files from Mr. Sekino. I was able to install gnome-desktop (2.0.8-1), gnome-session (2.0.7-1) and control-center (2.0.1.1-1) without much problem....
http://sourceforge.net/p/fink/mailman/fink-devel/?viewmonth=200210&viewday=23
CC-MAIN-2014-52
refinedweb
1,817
53.58
Search: Search took 0.03 seconds. - 5 Dec 2007 8:08 PM - Replies - 1 - Views - 1,954 What is the problem? The Ext PagingToolbar sends parameters start and limit. Just create query using HQL or Criteria and use these parameters with SetFirstResult and SetMaxResults to get the data you... - 5 Dec 2007 12:21 AM - Replies ...
https://www.sencha.com/forum/search.php?s=9089177b99f70708466a7b1969c29fd7&searchid=13305203
CC-MAIN-2015-48
refinedweb
970
84.57
Screen Scraping What is screen scraping? From what I know it's like getting info from some database(i think). And also how can I screen scrape? Thanks for your answers Screen Scraping is the art and science of: 1) getting all the text from a computer display (terminal, webpage, etc.) and then 2) selecting out only thos...
https://forum.omz-software.com/topic/1513/screen-scraping
CC-MAIN-2021-39
refinedweb
248
67.15
Zim, an application that brings the concept of a wiki to the users’ desktop by helping them store information, link pages and edit with WYSISYG markup, is now at version 0.58. With Zim 0.58, creating a new page is as easy as linking to a non-existing page, as everything is stored in a folder structure that can also hav...
http://linux.softpedia.com/blog/Graphical-Text-Editor-Zim-0-58-Gets-a-New-Fullscreen-Mode-315957.shtml
CC-MAIN-2015-32
refinedweb
153
69.82