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 |
|---|---|---|---|---|---|
Learn Haskell in 1015
3 to the terminal. The
If you need multiple I/O actions in one expression, you can use a
do block. Actions are separated by semicolons.
Prelude>
do { putStr "2 + 2 = " ; print (2 + 2) }2 + 2 = 4 Prelude>
do { putStrLn "ABCDE" ; putStrLn "12345" }ABCDE 12345
Reading can be done with
getLine (which ... | http://www.haskell.org/haskellwiki/Learn_Haskell_in_10_minutes | crawl-002 | refinedweb | 834 | 75.1 |
Well recently I had nasty worm/rootkit problem and naturally I wanted to know what he changed in my system. So i started seeking for some tool to detect registry changes. some simple tool to dump complete registry content to text file before infection and after and by simple text diff i would be able to see the changes... | http://www.codeproject.com/KB/recipes/RegistryDumper.aspx | crawl-002 | refinedweb | 867 | 55.98 |
11 October 2012 11:09 [Source: ICIS news]
SINGAPORE (ICIS)--Chinese oil majors Sinopec and PetroChina are expected to refine a total of about 30.5m tonnes of crude in October, with daily throughput flat with September’s level of about 984,000 tonnes, sources from both companies said on Thursday.
Sinopec’s crude through... | http://www.icis.com/Articles/2012/10/11/9602966/sinopec-petrochina-keep-october-daily-crude-throughput-unchanged.html | CC-MAIN-2014-41 | refinedweb | 176 | 74.59 |
Linus Torvalds's Double Pointer Problem
519 54 55141
In 2012, Linus Torvalds presented an 'intuitive' way to use double pointers to easily remove a node from a linked list. But how intuitive can double pointers even really be? I present a way of visualizing pointers that I do not see often presented, but works very wel... | https://dev-videos.com/videos/GiAhUYCUDVc/Linus-Torvaldss-Double-Pointer-Problem | CC-MAIN-2018-26 | refinedweb | 730 | 56.49 |
/*
* TreeStrategy java.lang.reflect.Array;
import java.util.Map;
import org.simpleframework.xml.stream.Node;
import org.simpleframework.xml.stream.NodeMap;
/**
* The <code>TreeStrategy</code> object is used to provide a simple
* strategy for handling object graphs in a tree structure. This does
* not resolve cycles in ... | http://simple.sourceforge.net/download/stream/report/cobertura/org.simpleframework.xml.strategy.TreeStrategy.html | CC-MAIN-2017-13 | refinedweb | 738 | 56.66 |
I'm trying to emulate Excel's
Insert>Scatter>Scatter with smooth lines and markers
command in Matplotlib
The scipy function interpolate creates a similar effect, with some nice examples of how to simply implement this here:
How to draw cubic spline in matplotlib
However Excel's spline algorithm is also able to generate... | https://codedump.io/share/r4pxBW329V7k/1/emulating-excel39s-quotscatter-with-smooth-curvequot-spline-function-in-matplotlib-for-3-points | CC-MAIN-2017-09 | refinedweb | 803 | 65.93 |
One common programming question is how to randomly shuffle an array of numbers in-place. There are a few wrong answers to this question - some simple shuffles people tend to think of immediately turn out to be inadequate. In particular, the most common naive algorithm that comes up is [1]:
naive_shuffle(arr): if len(ar... | http://eli.thegreenplace.net/2010/05/28/the-intuition-behind-fisher-yates-shuffling/ | CC-MAIN-2015-48 | refinedweb | 1,128 | 59.94 |
This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.
Hello, This is on sparc-solaris. I was trying to reproduce another error that our testsuite occasionally reports (without much success :-(). I noticed while running the test repeatedly within the same debugger process (that is:... | https://sourceware.org/legacy-ml/gdb-patches/2011-11/msg00251.html | CC-MAIN-2020-50 | refinedweb | 340 | 64.1 |
table of contents
NAME¶
Error_handling - A set of routines for error handling in NCAR Graphics.
SYNOPSIS¶
ENTSR - Enters recovery mode.
EPRIN - Prints the current error message.
ERROF - Turns off the internal error flag.
FDUM - A dump routine - the default version just RETURNS.
ICFELL - Checks for an outstanding error ... | https://manpages.debian.org/unstable/libncarg-dev/error_handling.3NCARG.en.html | CC-MAIN-2022-40 | refinedweb | 765 | 58.11 |
Savitzky Golay Filtering
The Savitzky Golay filter is a particular type of low-pass filter, well adapted for data smoothing. For further information see: (or for a pre-numpy implementation).
Sample Code
1 def savitzky_golay(y, window_size, order, deriv=0, rate=1): 2 r"""Smooth (and optionally differentiate) data with a... | http://wiki.scipy.org/Cookbook/SavitzkyGolay | CC-MAIN-2013-48 | refinedweb | 1,803 | 58.08 |
Hi
Ive been experimenting with "mixed world" IJ2 and IJ1 commands. Its working really well but Ive been having some memory build up issues which eventually lead to "Out of Memory" errors if the command is run on a large number of datasets. I think Ive narrowed the problem down to the conversion from IJ2 datasets to IJ1... | http://forum.imagej.net/t/memory-issues-with-ij2-to-ij1-conversion-using-legacyservice/4710 | CC-MAIN-2017-26 | refinedweb | 475 | 51.55 |
please read the text from this link --> It-Doesnt-Work-Is-Useless
dcbm.addElement(res.getString("names"));
thank you michael, i have done some modifications.
but it's not updating again..
sorry but i am again doing mistake somewhere..
here is my two classes (save student and load student)..
[LoadStudents() reference].l... | http://www.coderanch.com/t/579226/GUI/java/auto-update-jcombobox | CC-MAIN-2014-42 | refinedweb | 155 | 57.67 |
#include <sys/types.h>
#include <sys/rman.h>_FIRSTSHARE 0x0020 /* first in sharing list */ #define RF_PREFETCHABLE 0x0040 /* resource is prefetchable */ #define RF_UNMAPPED 0x0100 /* don't map resource when activating */
Bits 15:10 of the flag register. The rm_start and rm_end fields may be set to limit the range of ac... | https://nxmnpg.lemoda.net/9/rman_is_region_manager | CC-MAIN-2020-05 | refinedweb | 666 | 55.95 |
This notebook originally appeared as a post on the blog Pythonic Perambulations. The content is BSD licensed.
Update, July 25, 2015: I included some new plots suggested by my colleague Ariel Rokem. Scroll to the end!
Last year I wrote a blog post examining trends in Seattle bicycling and how they relate to weather, day... | http://nbviewer.jupyter.org/url/jakevdp.github.io/downloads/notebooks/SeattleCycling2.ipynb | CC-MAIN-2017-26 | refinedweb | 2,351 | 53.81 |
Prev
C++ VC ATL STL Operator Code Index
Headers
Your browser does not support iframes.
Re: C++ Template Overloading
From:
"Mathias Gaunard" <loufoque@gmail.com>
Newsgroups:
comp.std.c++
Date:
Wed, 11 Apr 2007 23:55:54 CST
Message-ID:
<1176347696.543920.50880@o5g2000hsb.googlegroups.com>
On Apr 11, 4:41 pm, "Emerson" <e... | http://preciseinfo.org/Convert/Articles_CPP/Operator_Code/C++-VC-ATL-STL-Operator-Code-070412025554.html | CC-MAIN-2021-49 | refinedweb | 1,916 | 63.7 |
This is the documentation for older versions of Odoo (formerly OpenERP).
See the new Odoo user documentation.
See the new Odoo technical documentation.
Mako Template¶.
<%inherit <% rows = [[v for v in range(0,10)] for row in range(0,10)] %> <table> % for row in rows: ${makerow(row)} % endfor </table> <%def <tr> % for n... | https://doc.odoo.com/6.1/id/developer/Web_client_v6/mako_template/ | CC-MAIN-2019-09 | refinedweb | 829 | 53.92 |
This.
The search pattern can be a simple character or a substring or it may be a complex string or expression that defines a particular pattern to be searched in the string.
Further, the pattern may have to match one or more times to the string.
=> Visit Here To See The Java Training Series For All.
What You Will Learn... | https://www.softwaretestinghelp.com/java-regex-tutorial/ | CC-MAIN-2021-10 | refinedweb | 2,294 | 58.89 |
by Zoran Horvat
Dec 14, 2013
Given a positive number N, write a function which returns sum of squares of numbers between 1 and N, i.e. 1^2 + 2^2 + ... + N^2.
Example: If N is 5, then return value should be 55 (1 + 4 + 9 + 16 + 25 = 55).
It is easy to produce sum o squares of a sequence by simply iterating through numbe... | http://codinghelmet.com/exercises/sum-of-squares-first-n | CC-MAIN-2019-04 | refinedweb | 335 | 59.47 |
This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.
On 2/20/19 3:12 AM, Florian Weimer wrote: > * Carlos O'Donell: > >> On 2/19/19 8:26 AM, Tone Kastlunger wrote: >>> Hi; >>> the sem_open implementation in the pthread library seems to refer to >>> privately defined aliases of s... | https://sourceware.org/ml/libc-alpha/2019-02/msg00501.html | CC-MAIN-2020-10 | refinedweb | 205 | 72.66 |
Understand use of Pointers (*) in C and C++
Reading time: 35 minutes | Coding time: 10 minutes
We know that every instruction we give to the computer or every variable we define or every data we input must be stored in the memory of the computer so that it can be processed. This storage allocation is done in two ways:
... | https://iq.opengenus.org/pointers-in-cpp/ | CC-MAIN-2020-24 | refinedweb | 1,491 | 63.09 |
I tried to make 11..10..0 (which is binary number with consecutive 32-n zeros in small digits).
// Can assume that 0 <= n <= 31 int masking(int n) { return (~0)<<(~n+33); }
However, when I put
0 in input n, I expected
0, but I got
-1(0xffffffff).
Without using input,
(~0)<<(~0+33) gives
0.
(-1)<<32 also gives
0.
I don'... | https://windows-hexerror.linestarve.com/q/so58154077-The-output-value-differs-from-the-value-received-as-argument-within-the-function-when-performing-a-d | CC-MAIN-2019-47 | refinedweb | 225 | 71.24 |
const char * strrchr ( const char * str, int character );
char * strrchr ( char * str, int character );
<cstring>
Locate last occurrence of character in string
Returns a pointer to the last occurrence of character in the C string str.The terminating null-character is considered part of the C string. Therefore, it can a... | http://www.cplusplus.com/reference/clibrary/cstring/strrchr/ | crawl-002 | refinedweb | 107 | 63.49 |
Design patterns have been one of the main topics in software engineering since the book "Design Patterns: Elements of Reusable Object-Oriented Software" (1995). After that there have been also other books of these "GOF-Patterns", like the top rated "Head First Design Patterns". Most of the patterns are still valid, but... | http://www.codeproject.com/KB/architecture/TMDPvsLambda.aspx | crawl-002 | refinedweb | 559 | 64.51 |
Vojtech Pavlik <vojtech@suse.cz> writes:> Btw, what I don't completely understand is why you need linear> regression, when you're not trying to detect motion or something like> that. Basic floating average, or even simpler filtering like the input> core uses for fuzz could work well enough I believe.Indeed, this functi... | http://lkml.org/lkml/2005/7/9/138 | CC-MAIN-2015-11 | refinedweb | 204 | 55.78 |
How to Create an App in Django ?
Prerequisite – How to Create a Basic Project using MVT in Django?
Django is famous for its unique and fully managed app structure. For every functionality, an app can be created like a completely independent module. This article will take you through how to create a basic app and add fu... | https://www.geeksforgeeks.org/how-to-create-an-app-in-django/ | CC-MAIN-2022-33 | refinedweb | 541 | 67.25 |
Common Type Library (CTL)
- CT definitions and FQNs
- CT schema versioning and dependencies
- CT scopes and visibility
- CT management
- Further reading
The Common type library (CTL) is a repository of data type schemas used for all Kaa modules. As more schema types and versions are created, they are recorded in the CT... | https://kaaproject.github.io/kaa/docs/v0.10.0/Programming-guide/Key-platform-features/Common-Type-Library/ | CC-MAIN-2021-49 | refinedweb | 997 | 64.91 |
This is the first in a series of posts I plan to do as an introduction to the basics of Appium.
In this post I will walk through how to use tools that come with Appium to record the basic steps of a functional test for a sample iOS application and then how to clean that code up and translate it into a JUnit test that c... | https://www.coveros.com/recording-a-functional-ios-app-test-with-appium/ | CC-MAIN-2018-13 | refinedweb | 1,926 | 54.83 |
Part of having a great developer experience is having great documentation. A lot goes into creating good docs - the ideal documentation is concise, helpful, accurate, complete, and delightful. Recently we've been working hard to make the docs better based on your feedback, and we wanted to share some of the improvement... | https://reactnative.dev/blog/2016/07/06/toward-better-documentation | CC-MAIN-2022-21 | refinedweb | 812 | 60.65 |
im a NEWBIE!!! to C# and following a book... and the code isnt doing as the book says..the book is telling me to use the Unity 3d engine
plz keep it as newbie friendly as possible thank you
he code and the output isnt matching up right...what am i doing wrong...
I recommend posting over in the Unity Forum.
My Code Guru... | http://forums.codeguru.com/showthread.php?544523-alittle-C-help-plz&p=2151755 | CC-MAIN-2017-04 | refinedweb | 236 | 84.37 |
Originally posted by Bernardus Irmanto: Hi there It's a little bit hard to read yer code..so I'll try to formulate my own solution to yer problem(based on yer code). Below is how I will do it : 1. create a bean (well you can name it "loveBean" if you want) the bean has the following private members : -id -title -name -... | http://www.coderanch.com/t/47017/Struts/put-arraylist-session | CC-MAIN-2014-35 | refinedweb | 283 | 62.78 |
Hi,
I have the following C++ code
#include <string> #include <iostream> //maybe std::string using namespace std; int main() { size_t r = 134480; size_t c = 268960; size_t **opt; opt = (size_t **)malloc(r * sizeof(size_t *)); if(opt != NULL) { opt[0] = (size_t *)malloc(r * c * sizeof(size_t)); if(opt[0] != NULL) { for (... | https://www.daniweb.com/programming/software-development/threads/129820/why-is-malloc-failing | CC-MAIN-2017-39 | refinedweb | 141 | 72.46 |
Following my previous post on Optimizing Javascript, I thought I’d write a similar post regarding Python optimization.
Before going on to the more interesting stuff, there are a few issues that need to be addressed:
0. Basics
Know the basics – especially profiling!
Just by looking at the profiling output, you can tell ... | http://www.algorithm.co.il/blogs/computer-science/10-python-optimization-tips-and-issues/ | CC-MAIN-2014-41 | refinedweb | 1,510 | 64.2 |
# Enumerable: How to yield a business value
This article is a brief explanation about how using a common language keywords might have an influence on the budget of IT-infrastructure of a project or help to achieve some limitations/restrictions of hosting infrastructure and, moreover, will be a good sing of the quality... | https://habr.com/ru/post/444358/ | null | null | 1,635 | 54.83 |
The docker environment accompanying this guide provides mitmweb to inspect requests sent to the NIS instance running in the container. This section will show how to use it.
We will send requests to out NIS in the ruby language, using the rest-client gem.
We will try to get the block at the current height, which, as we ... | http://docs.nem.io/en/nem-dev-basics-docker/debug-nis-websockets | CC-MAIN-2018-47 | refinedweb | 1,505 | 59.64 |
Line Detection. [closed]
After increasing the minLineLength and decreasing maxLineGap program is still showing number of lines and also the gap is also visible.
Can someone tell me the problem in the program? Image is:-
Code is-:
include "stdafx.h" include <cv.h> include <highgui.h> include <math.h> using namespace cv;... | https://answers.opencv.org/question/44760/line-detection/ | CC-MAIN-2021-21 | refinedweb | 501 | 64.81 |
How to use "characteristic.write(value)"
What i want is when the Lopy ble received a string then reply a string.
so i think i need to use "characteristic.read()" and "characteristic.write(value)" in class GATTCCharacteristic.
How to use them?
@jmarcelino
Thank you,it works now. The lightBlue get the reply in reads.
- j... | https://forum.pycom.io/topic/859/how-to-use-characteristic-write-value | CC-MAIN-2018-17 | refinedweb | 311 | 53.68 |
:
- Fix a Pod’s Service Account That Has Too Many Permissions
- The
buffyPod in the
sunnydalenamespace has a
buffy-saServiceAccount with permissions the Pod doesn’t need. Modify the attached Role so that it only has the ability to
list
pods.
- Then, create a new Role called
watch-services-secretsthat grants permission ... | https://acloudguru.com/hands-on-labs/certified-kubernetes-security-specialist-cks-practice-exam-part-1 | CC-MAIN-2021-31 | refinedweb | 174 | 59.8 |
KirkulaMember
Content count18
Joined
Last visited
Community Reputation141 Neutral
About Kirkula
- RankMember
Help me figure out what I'm doing wrong, please!
Kirkula replied to Kirkula's topic in For Beginnersoh man, what a dope I am! lol, thanks matt!
Experienced programmer, where do I start?
Kirkula replied to fligex... | https://www.gamedev.net/profile/143843-kirkula/?tab=issues | CC-MAIN-2018-05 | refinedweb | 2,282 | 70.53 |
The prime motivation for me to go through Qt licensing documentation and installing Qt Creator IDE was to explore the new UI infrastructure introduced in Qt 5 under the umbrella of “Qt Quick“. As far as I can tell, this is an entirely different system for creating user interface of a Qt application. Built with modern i... | https://newscrewdriver.com/2017/10/17/a-brief-and-unsuccessful-try-at-qt-quick/ | CC-MAIN-2018-30 | refinedweb | 909 | 61.26 |
Toolbox Reference for ISA Server 2006
Microsoft® Internet Security and Acceleration (ISA) Server 2006 includes a Toolbox containing the set of rule elements that you can use when creating ISA Server policies and rules. This document provides background information and descriptions for each Toolbox element.
The Toolbox ... | https://technet.microsoft.com/en-us/library/bb794907(d=printer).aspx | CC-MAIN-2015-32 | refinedweb | 4,677 | 55.13 |
synaptic touchpad not recognized on dell latitude e6510
Bug Description
It wrongly recognized as PS/2 Generic Mouse. And then scrolling does not work, but tapping does.
ProblemType: Bug
AplayDevices:
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
Subde... | https://bugs.launchpad.net/ubuntu/+source/linux/+bug/606238 | CC-MAIN-2015-27 | refinedweb | 5,186 | 73.37 |
This extension provides a validator class that enables to define an AR class attribute to be containing a valid class name. This is useful in occasions such as when you have a class file that refers to other models in your system. For example, 'views counter', 'like functionality' and more... .
Usage ¶
- This extension... | https://www.yiiframework.com/extension/pcclassexistsvalidator | CC-MAIN-2019-18 | refinedweb | 337 | 54.83 |
This Tutorial
I don't know why in this tutorial we extend JTextField
class.I made this program without extending the class or add ActionListener to the
textfield text1 and text2 and the program run very well.
Hala
Java Programmer
Lovely Tutorials
Hi,
I am new to programming and i wish to be java programmer. I found thi... | http://roseindia.net/tutorialhelp/allcomments/155547 | CC-MAIN-2014-41 | refinedweb | 358 | 53.1 |
Blogs
More readable code with less typing
How do you get back into your code after a week of doing something else?
- Start reading and put comments to what you don't understand.
- Add the categories you left out last week.
Both tasks involve a lot of typing, but that can be alleviated by using
features of your favorite... | http://smalltalk.gnu.org/blog/ | crawl-002 | refinedweb | 298 | 75 |
0 replies on
1 page.
Today I released an updated ScalaTest-1.5-SNAPSHOT that includes several enhancements, including two new style traits, PropSpec and FreeSpec. The snapshot works with Scala 2.8. You can download the snapshot release via the scala-tools.org Maven repository with:
PropSpec
FreeSpec
Or you can just gra... | https://www.artima.com/forums/flat.jsp?forum=106&thread=325537 | CC-MAIN-2018-22 | refinedweb | 1,789 | 62.17 |
This is the documentation for older versions of Odoo (formerly OpenERP).
See the new Odoo user documentation.
See the new Odoo technical documentation.
Driving your Marketing Campaigns¶
Lead Automation with Marketing Campaigns¶
OpenERP offers a set of modules allowing you to easily create and track your Marketing Campa... | https://doc.odoo.com/6.1/ru/book/2/9_Marketing/ | CC-MAIN-2019-09 | refinedweb | 4,201 | 53.81 |
Introduction the phases of an application lifecycle we are going to focus on today is the testing phase. Tests can take place on the developer’s machine and by leveraging these test in an automated way on DevCS, we ensure the quality of the code throughout the lifecycle of the code.
Main Article
In this article we will... | http://www.ateam-oracle.com/automated-unit-tests-with-node-js-and-developer-cloud-services/ | CC-MAIN-2019-13 | refinedweb | 3,601 | 55.54 |
/* * ntfs_usnjrnl.h - Defines for transaction log ($UsnJrnl)_USNJRNL_H #define _OSX_NTFS_USNJRNL_H #include <sys/errno.h> #include "ntfs_types.h" #include "ntfs_endian.h" #include "ntfs_layout.h" #include "ntfs_volume.h" /* * Transaction log ($UsnJrnl) organization: * * The transaction log records whenever a file is mo... | http://opensource.apple.com//source/ntfs/ntfs-65.1/kext/ntfs_usnjrnl.h | CC-MAIN-2016-36 | refinedweb | 1,117 | 55.84 |
In our face-paced modern society, who has time to click through pages and pages of content? “Not I,” said the web developer. In a world full of shortcuts, swipes and other gestures, the most efficient way to get through pages of content is the infinite scroll.
While not a new concept, the idea of infinite scroll is sti... | https://alligator.io/react/react-infinite-scroll/ | CC-MAIN-2019-09 | refinedweb | 869 | 57.37 |
Receive data on lopy through serial
I am trying to send string data from python over serial to my lopy. Could anyone tell me in steps how can i receive it and test if it is received on my lopy?
Thanks in advance!
@monersss At the moment, with my example, that happens when you get a timeout. But again, that would requir... | https://forum.pycom.io/topic/2243/receive-data-on-lopy-through-serial | CC-MAIN-2018-39 | refinedweb | 1,769 | 81.63 |
First XSLT Function
YouTube function
Let’s see what we want to create and then make it. Simple steps at a time; this might just be the first XSLT function you are creating.
Our aim here is what you see in the screenshot of a page on my C1 CMS demo site. This part of the template shows two content areas. The one area ha... | http://docs.c1.orckestra.com/Functions/XSLT/First-XSLT-Function/YouTube-function | CC-MAIN-2017-17 | refinedweb | 3,788 | 71.24 |
If.
So is Python better than Perl, Bash, Ruby, or any other language? It’s really difficult to put that sort of qualitative label on a programming language, since the tool is so closely tied to the thought process of the programmer who is using it. Programming is a subjective, deeply personal activity. For the language... | https://www.safaribooksonline.com/library/view/python-for-unix/9780596515829/ch01.html | CC-MAIN-2017-09 | refinedweb | 5,134 | 60.55 |
0
Ok. As the title says I tried many times to simply write a program that rewrites a file to remove null characters. I confirmed with a hex editor that the file in question has tons on null characters, on average about 1 of every 2 characters in null. So my last attempt:
#include <stdlib.h> #include <stdio.h> int main(... | https://www.daniweb.com/programming/software-development/threads/437829/noob-can-t-write-simple-program-to-remove-null-characters | CC-MAIN-2018-26 | refinedweb | 173 | 84.88 |
Download ····· …
Adobe Photoshop CS6 With License Key Download [Mac/Win] ⏳
Adobe Photoshop CS6 Crack + Keygen [Win/Mac]
* **Versions**. Photoshop CS2 and CS3 are the most recent versions for the Macintosh, though there are also versions for Windows and other platforms. Versions are numbered according to the release dat... | https://madisontaxservices.com/adobe-photoshop-cs6-with-license-key-download-mac-win | CC-MAIN-2022-40 | refinedweb | 1,463 | 63.39 |
Auto-refresh Tableau Reader Dashboards (.twbx)Lance Dacey Mar 18, 2016 8:36 AM
I spent a few days trying to figure this out so I thought that I would share.
- I have 8 dashboards which I am refreshing connected to two separate data sources.
- I have fully automated the data download, modification, and consolidation tas... | https://community.tableau.com/thread/203185 | CC-MAIN-2018-26 | refinedweb | 532 | 69.18 |
12 October 2009 12:40 [Source: ICIS news]
LONDON (ICIS news)--The revival of polyethylene (PE) buying interest from China on Monday, as holidays ended, led to business being secured from Europe, sources said.
“We have just sold big parcels to ?xml:namespace>
Both buyer and seller confirmed a 2,000 tonne parcel of low d... | http://www.icis.com/Articles/2009/10/12/9254590/europe-pe-sold-to-china-as-demand-revives-after-holidays.html | CC-MAIN-2014-42 | refinedweb | 186 | 58.52 |
The functions used by map,
filter, reduce and a
list's sort method can
also be a special function called a lambda form.
This permits us to use special one-use-only throw-away functions without
the overhead of a
def
statement. A lambda form is
like a defined function: it has parameters and computes a value. The
body of ... | http://www.linuxtopia.org/online_books/programming_books/python_programming/python_ch20s06.html | CC-MAIN-2018-13 | refinedweb | 667 | 62.07 |
Build-Time Hooks¶
A package specifies custom commands in its
pkg.yml file. There are
three types of commands:
pre_build_cmds (run before the build)
pre_link_cmds (run after compilation, before linking)
post_link_cmds (run after linking)
Example¶
Example (apps/blinky/pkg.yml):
pkg.pre_build_cmds: scripts/pre_build1.sh: ... | https://mynewt.apache.org/latest/os/modules/extcmd/extcmd.html | CC-MAIN-2022-05 | refinedweb | 549 | 59.3 |
I have found that FSOUND_SetReserved does not work if the channel handle you use is no longer valid. Is this a bug?
This is the situation. I have started a sound playing on a channel, then I have called SetReserved( channelHandle, true ) to ensure the channel is safe.
Later on I discover the sound has stopped playing (... | http://www.fmod.org/questions/question/forum-7831/ | CC-MAIN-2017-39 | refinedweb | 756 | 65.62 |
lck.django 0.8.4
Various common Django-related routines.
The source code repository and issue tracker are maintained on GitHub.
This package bundles some royalty free static images that are useful in almost every Django project:
-
Silk icons 1.3 by FamFamFam - requires attributing the author
-
Silk Companion 1 by Damie... | https://pypi.python.org/pypi/lck.django/0.8.4 | CC-MAIN-2016-44 | refinedweb | 780 | 51.55 |
Internationalization
This document is for Django's SVN release, which can be significantly different from previous releases. Get old docs here: 0.96, 0.95.
Django has full support for internationalization of text in code and templates. Here’s how it works.
Overview USE_I18N is set to False, then Django will make some o... | http://www.djangoproject.com/documentation/i18n/ | crawl-001 | refinedweb | 1,031 | 51.85 |
Fresh garlic with good price in China high quality
US $740.0-880.0 / Metric Tons
11 Metric Tons (Min. Order)
Low price China made garlic with good quality in European market
US $800-2300 / Ton
5 Tons (Min. Order)
normal white fresh garlic with good quality in China
US $300-800 / Metric Ton
1 Metric Ton (Min. Order)
Nat... | http://www.alibaba.com/countrysearch/CN/garlic-with-good-quality-in-china.html | CC-MAIN-2017-51 | refinedweb | 818 | 66.94 |
C Program to Generate the graph sheet using the grphics.h library. To use graphics.h, we have to install the drivers in to the the system by using the initgraph() function. Here we derive the graph of input sizes verses time taken for input sizes. x axis represents inputs(0,10000,20000,—-), y axis rep time(0,0.05,0.1,0... | https://c-program-example.com/2011/11/c-program-to-generate-graph-using-grphics-h.html | CC-MAIN-2021-17 | refinedweb | 321 | 63.7 |
As a relatively new developer, and a complete lightweight when compared to the rest of the Komodo development team, I find myself sharing snippets, errors and diffs for review quite often. Since I like to share (Mom and Dad taught me well), I thought it was important to make it easier to share in Komodo. At one point, ... | https://www.activestate.com/blog/slacking-off-with-komodo/ | CC-MAIN-2020-10 | refinedweb | 1,581 | 72.97 |
24 May 2007 05:08 [Source: ICIS news]
By Nurul Darni
SINGAPORE (ICIS news)--Saudi Arabian Oil Co (Aramco) is set to secure higher naphtha premiums for July to December 2007 contracts, citing bullish market trend and reduced supplies in the second half of the year, traders said on Thursday.
“Current market fundamentals ... | http://www.icis.com/Articles/2007/05/24/9031583/focus-aramco-set-on-higher-naphtha-premiums.html | CC-MAIN-2015-11 | refinedweb | 332 | 50.26 |
On Thu, 15 Feb 2001 10:42:32 +0100
Giacomo Pati <giacomo@apache.org> wrote:
> Another issue raised into my head is if we should take the targeted
> language
> into the namespace url?
>
> 1)
> 2)
If both implementations define the same syntax (the same tags and
attributes with the same behaviour) in my opinion they shou... | http://mail-archives.apache.org/mod_mbox/cocoon-dev/200102.mbox/%3C20010216090843.6f1c4d8b.conny@smb-tec.com%3E | CC-MAIN-2014-23 | refinedweb | 146 | 57.98 |
Compute The Diameters of Rod in C Language
A program to compute the diameter in centimeters of steel rod, and aluminum rod, and a copper rod, which can withstand a particular compression load. The allowable compression stress of steel, aluminum, and copper is 25,000 lbs/m², 15,000 lbs/m², and 20,000 lbs/m², respectivel... | https://brainmass.com/computer-science/c/compute-the-diameters-of-rod-in-c-language-540419 | CC-MAIN-2017-13 | refinedweb | 187 | 57.87 |
How can I host multiple Flask Apps for Multiple Domains?
Using this guide I created a basic Flask App in Python. This worked well, and without nginx I could connect to it using my domain. The issue is, that this wasn't scaleable to multiple apps on one droplet. To do so, I tried this:
I connected my domain via the DNS ... | https://www.digitalocean.com/community/questions/how-can-i-host-multiple-flask-apps-for-multiple-domains?comment=27510 | CC-MAIN-2017-43 | refinedweb | 468 | 65.93 |
What gives SBUX its edge over competition?
Savvy shoppers know how to get good deals
Join the NASDAQ Community today and get free, instant access to portfolios, stock ratings, real-time alerts, and more!
Consistently, one of the more popular stocks people enter into
their
stock options watchlist
at Stock Options Channe... | http://www.nasdaq.com/article/interesting-january-2015-stock-options-for-hd-cm350146 | CC-MAIN-2015-40 | refinedweb | 318 | 65.93 |
On Mar 23, 11:54 am, "nass"
wrote:
> hello everyone,
> i am really confused with some of the c++ time() fn results i get:
> let me put you into perspective:
>
> im writing a logging utility the log files created will contain 14byte
> samples of certain values of interest. the last 4bytes of each sample
> are its timest... | http://fixunix.com/unix/84065-time-null-returning-wrong-month.html | CC-MAIN-2015-18 | refinedweb | 468 | 59.13 |
Dealing with route params in Angular-5
It is quite common to have both the query and route parameters in any single page application. This post a quick tip sharing a little RxJS snippet that I wrote in order to read the query and route parameters at once. Before we talk about that, let us find out how to read any route... | https://kamranahmed.info/blog/2018/02/28/dealing-with-route-params-in-angular-5/ | CC-MAIN-2019-04 | refinedweb | 911 | 54.22 |
Parse::PerlConfig - parse a configuration file written in Perl
use Parse::PerlConfig; my $parsed = Parse::PerlConfig::parse( File => "/etc/perlapp/conf", Handlers => [\%config, \&config], );
This module is useful for parsing a configuration file written in Perl and obtaining the values defined therein. This is achieved... | http://search.cpan.org/~mfowler/Parse-PerlConfig-0.05/PerlConfig.pm | CC-MAIN-2017-17 | refinedweb | 1,617 | 55.03 |
power
When you use this function in a query, it raises the values in the first specified column to the power of the values in the second specified column in the specified dataset.
For more information on using query functions and operators in a REST API request, see Queries. For an end-to-end description of how to crea... | https://developer.here.com/documentation/geovisualization/topics/query-rule-power.html | CC-MAIN-2019-04 | refinedweb | 157 | 57.71 |
El volumen del audio source (0.0 a 1.0).
The AudioSource’s volume property controls the level of sound coming from an AudioClip. The highest volume level is 1 and the lowest is 0 where no sound is heard.
using UnityEngine;
public class Example : MonoBehaviour { AudioSource m_MyAudioSource; //Value from the slider, and ... | https://docs.unity3d.com/es/2017.4/ScriptReference/AudioSource-volume.html | CC-MAIN-2020-45 | refinedweb | 138 | 50.23 |
C#
// C# program to print second largest
// value in a linked list
using System;
class GFG
{
// A linked list node
public class Node
{
public int data;
public Node next;
};
// Function to add a node at the
// begining of Linked List
static Node push( Node head_ref, int new_data)
{
// allocate node
Node new_node = new ... | https://www.geeksforgeeks.org/find-the-second-largest-element-in-a-linked-list/ | CC-MAIN-2019-35 | refinedweb | 421 | 56.49 |
New release – WrightMap 1.2
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
A (too long in the making) new version of WrightMap is now available on CRAN (Actually, version 1.2.1 is already up).
This new version includes a lot of features that have long been requested, incl... | https://www.r-bloggers.com/2016/03/new-release-wrightmap-1-2/ | CC-MAIN-2022-27 | refinedweb | 569 | 56.76 |
NAME | SYNOPSIS | DESCRIPTION | ATTRIBUTES | SEE ALSO
#include <floatingpoint.h>void string_to_decimal(char **pc, int nmax, int fortran_conventions, decimal_record *pd, enum decimal_string_form *pform, char **pechar);
#include <stdio.h>void file_to_decimal(char **pc, int nmax, int fortran_conventions, decimal_record *p... | http://docs.oracle.com/cd/E19683-01/816-0213/6m6ne37v0/index.html | CC-MAIN-2015-11 | refinedweb | 664 | 52.6 |
-03-2014
Record Information
Rights Management:
All applicable rights reserved by the source institution and holding location.
Resource Identifier:
aleph
-
366622
oclc
-
15802799
System ID:
UF00028315:03380
This item is only available as the following downloads:
( PDF )
Full Text
PAGE 1
What do you think about the 45 mp... | https://ufdc.ufl.edu/UF00028315/03380 | CC-MAIN-2019-26 | refinedweb | 22,794 | 64.71 |
Multimethods
Methods are the workhorses of Magpie. Most of the code you write will reside inside a method, and most of that code will in turn be calls to other methods. A method is an executable chunk of code (an expression to be precise) that is bound to a name and has a pattern that describes the argument it expects.... | http://magpie.stuffwithstuff.com/multimethods.html | CC-MAIN-2014-15 | refinedweb | 2,387 | 69.41 |
Before being able to work on this problem, you should know what we are talking about. In a few words, a BST is a tree in which for each node is true that its left children are strictly smaller and the right one are strictly bigger.
In Python, if a node is represented in this way
class Node: def __init__(self, data): se... | http://thisthread.blogspot.com/2017/02/hackerrank-trees-is-this-binary-search.html | CC-MAIN-2018-43 | refinedweb | 295 | 83.86 |
Summary: Learn about using Windows PowerShell and specifying different calendar types to use with dates.
Microsoft Scripting Guy, Ed Wilson, is here. Today is day four of my PowerShell Essentials for the Busy Admin series of webcasts. The series has been a lot of fun, and the feedback so far has been great. It is encou... | https://blogs.technet.microsoft.com/heyscriptingguy/2012/03/15/beware-the-ides-of-marchbut-by-whos-powershell-calendar/ | CC-MAIN-2018-13 | refinedweb | 1,135 | 64.71 |
Agenda
See also: IRC log
<trackbot> Date: 08 March 2012
dschulze@adobe.com
<scribe> scribe: krit
scribenic: krit
<scribe> scribenick: krit
ed: first topic time
changes
... australia with the latest change?
... 3 weeks time all transit. Then we review chnages to times
cyril: I think we should switch to morning in europe... | http://www.w3.org/2012/03/08-svg-minutes.html | CC-MAIN-2016-30 | refinedweb | 1,882 | 70.02 |
Betsy Aoki's WebLogCommunity Program Manager Evolution Platform Developer Build (Build: 5.6.50428.7875)2009-05-12T17:50:00ZInfographic of Microsoft Technologies<p>Loved this - found on <a href="">Steve Clayton's Blog.</a></p> <p> </p> <p><img src="" alt="" width="540" /></p> <p> </p> <p>Microsoft Technologies - An info... | http://blogs.msdn.com/b/betsya/atom.aspx | CC-MAIN-2015-06 | refinedweb | 15,171 | 65.96 |
The following C function:
int sprintf ( char * str, const char * format, ... );
#include <stdio.h>
int main ()
{
char buffer [13];
int n, a=5, b=3;
n=sprintf (buffer, "%d plus %d is %d", a, b, a+b);
printf ("[%s] is a %d char long string\n",buffer,n);
return 0;
}
What you want is one of these two functions:
*
snprintf ... | https://codedump.io/share/s1zswFSKfwiS/1/writing-formatted-data-of-unknown-length-to-a-string-c-programming | CC-MAIN-2017-34 | refinedweb | 149 | 59.98 |
Build a Java REST API With Quarkus
Build a Java REST API With Quarkus
Learn more about building a REST API service with Quarkus.
Join the DZone community and get the full member experience.Join For Free
Quarkus is designed as a container-first framework optimized for high speed, low memory usage, and great scalability.... | https://dzone.com/articles/build-a-java-rest-api-with-quarkus | CC-MAIN-2019-51 | refinedweb | 2,462 | 50.53 |
GNOME Power Manager already has quite a comprehensive DBUS API to allow it to interface with stuff like the brightness applet and gnome-logout screens.
Brightness applet working hand-in-hand with g-p-m
I think this is something that should be cross-desktop compatible, so that XFCE, KDE and GNOME applications can all pl... | http://blogs.gnome.org/hughsie/2007/01/08/desktop-power-management/ | CC-MAIN-2014-52 | refinedweb | 294 | 58.82 |
#include <CGAL/linear_least_squares_fitting_2.h>
computes the best fitting 2D line of a 2D object set in the range [
first,
beyond).
The value returned is a fitting quality between \( 0\) and \( 1\), where \( 0\) means that the variance is the same along any line (a horizontal line going through the centroid is output ... | https://doc.cgal.org/latest/Principal_component_analysis/group__PkgPrincipalComponentAnalysisDLLSF2.html | CC-MAIN-2020-24 | refinedweb | 554 | 61.67 |
14 December 2012 14:32 [Source: ICIS news]
TORONTO (ICIS)--Canadian chemical sales fell 1.1% to Canadian dollar (C$) 3.84bn ($3.92bn) in October from September this year, a statistics agency said on Friday.
Compared with October 2011, chemical sales were down 5.0% year on year, Statistics Canada said.
Meanwhile, sales ... | http://www.icis.com/Articles/2012/12/14/9624667/canadas-october-chemicals-sales-fall-1.1-from-september.html | CC-MAIN-2014-49 | refinedweb | 164 | 62.75 |
上矢印キー
Use this as a parameter to a function like Input.GetKey to detect when the user presses the up arrow key. See Also: Input.GetKey, Input.GetKeyDown, Input.GetKeyUp.
//Attach this to a GameObject //This script tells when the up arrow key is pressed down and when it is released using UnityEngine;
public class Exampl... | https://docs.unity3d.com/ja/2017.4/ScriptReference/KeyCode.UpArrow.html | CC-MAIN-2020-45 | refinedweb | 101 | 50.43 |
I'm having trouble with getting multiple dynamic inheritance to work. These examples make the most sense to me(here and here), but there's not enough code in one example for me to really understand what's going on and the other example doesn't seem to be working when I change it around for my needs (code below).
I'm cr... | https://codedump.io/share/xuDtzlzAEpgg/1/python--multiple-dynamic-inheritance | CC-MAIN-2017-51 | refinedweb | 339 | 50.73 |
<<
RipItMembers
Content count15
Joined
Last visited
Community Reputation108 Neutral
About RipIt
- RankMember
RipIt replied to RipIt's topic in For BeginnersThank you very much,caldier that was very helpful and yes Daaark i can read the site. I haven't yet but i am going to look at it now!
RipIt replied to RipIt's topic... | https://www.gamedev.net/profile/203565-ripit/?tab=reputation | CC-MAIN-2017-30 | refinedweb | 1,248 | 72.7 |
Episode 11 · July 7, 2014
Using Rails to upload files manually and how you can do it even cleaner using Carrierwave
So file uploading is the next feature we want to add to our application, and we're going to talk about how to do this in pure rails, as well as using the carrierwave gem to simplify things considerably. S... | https://gorails.com/episodes/file-uploading-with-carrierwave?autoplay=1 | CC-MAIN-2019-47 | refinedweb | 3,114 | 63.32 |
The navigation that the application does to serve you a different view is called routing. Let’s get a solid understanding of routing in Angular.
Today we will be looking at one of the many interesting features of any frontend framework—routing—and how it is done in Angular.:
When building a single-page application (SPA... | https://www.telerik.com/blogs/angular-basics-beginner-guide-angular-router | CC-MAIN-2022-40 | refinedweb | 795 | 61.67 |
Hi,
First of all I apologies if I duplicate my post but I didn't see my mail
from yesterday pop out on the list. So here it is again :)
I am looking into implementing a system that would use as input a high
volume of apaches logs in order to produce reports used on a stats
website (table, graph...). The main requiremen... | http://mail-archives.apache.org/mod_mbox/couchdb-user/201201.mbox/%3C1327047073.2079.1.camel@Thomas%3E | CC-MAIN-2014-42 | refinedweb | 348 | 71.18 |
in reply to
Re: Re: Automatic module installation
in thread Automatic module installation
Sigh. Please do learn the difference between one level of
indentation and two. The not available on CPAN
was a reply to Corion's posting, not yours. Corion after
all claimed the The::Net namespace was unclaimed,
which (s)he could ... | http://www.perlmonks.org/index.pl?node_id=169548 | CC-MAIN-2014-15 | refinedweb | 104 | 65.73 |
I'm pretty new to Python, however I've been trying to write a script that first connects to server via SSH, then issues and command to read the contents of a file. <-- this works
My issue now is that I really don't want all of the contents of the file. I'd like to pass the output from the SSH command and then print out... | http://www.python-forum.org/viewtopic.php?f=6&t=11903 | CC-MAIN-2014-52 | refinedweb | 220 | 66.13 |
Recently,. If I could pass these strings directly to SQL Server as part of a string query, this would be simple. I could just have:
sql = "SELECT * FROM Orders WHERE OrderDate BETWEEN '" + startdate + " ' AND '" + enddate + "'";
However, since the code was coming from a user, I did not want to do this because of SQL in... | https://www.codeproject.com/Articles/8321/Converting-Strings-to-DateTimes-for-Use-in-ADO-NET?fid=107636&df=90&mpp=10&sort=Position&spc=Relaxed&tid=932482 | CC-MAIN-2017-51 | refinedweb | 424 | 57.87 |
Signed-off-by: Marc Branchaud <marcn...@xiplink.com> ---
Advertising
This started out as an attempt to make the backward compatibility notes more parsable, but then I just kept going... M. Documentation/RelNotes/1.8.3.txt | 145 +++++++++++++++++++-------------------- 1 file changed, 72 insertions(+), 73 deletions(-) di... | https://www.mail-archive.com/git@vger.kernel.org/msg24676.html | CC-MAIN-2016-50 | refinedweb | 2,342 | 63.09 |
C++ Basic Syntax
When we consider a C++ program, it can be defined as a collection of objects that communicate via invoking each other's methods. Let us now briefly look into what a class, object, methods, and instant variables mean.
Object − Objects have states and behaviors. Example: A dog has states - color, name, b... | https://www.tutorialspoint.com/cplusplus/cpp_basic_syntax.htm | CC-MAIN-2019-09 | refinedweb | 436 | 68.6 |
#include <Thyra_NonlinearSolverBase.hpp>
Inheritance diagram for Thyra::NonlinearSolverBase< Scalar >:
Warning! This interface is highly experimental and general developers should not even consider using it in any way if there is any expectation of code stability!
ToDo: Finish documentation.
ToDo:
Definition at line 59... | http://trilinos.sandia.gov/packages/docs/r8.0/packages/thyra/src/interfaces/nonlinear/solvers/ana/fundamental/doc/html/classThyra_1_1NonlinearSolverBase.html | CC-MAIN-2014-15 | refinedweb | 462 | 52.26 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.