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 |
|---|---|---|---|---|---|
26 August 2011 14:06 [Source: ICIS news]
HANGZHOU (ICIS)--The Asian caprolactam (capro) contract price for September may be announced at $3,500/tonne CFR (cost & freight) northeast Asia (?xml:namespace>
“There is still no clear direction yet,” a Japan-based producer said.
A rollover is impossible because supply remains... | http://www.icis.com/Articles/2011/08/26/9488366/september-capro-contract-offer-at-3500tonne-cfr-ne-asia.html | CC-MAIN-2014-52 | refinedweb | 168 | 65.12 |
08 April 2013 23:17 [Source: ICIS news]
MEDELLIN, Colombia (ICIS)--Brazil’s chamber of foreign trade (Camex) said on Monday that it has temporarily cut the import tariff on methanol from 12% to zero with immediate effect.
The new tariff is valid for 180 days and is limited to maximum shipments of 560,000 tonnes, Camex ... | http://www.icis.com/Articles/2013/04/08/9656676/brazil-temporarily-slashes-methanol-import-tariff-to-zero.html | CC-MAIN-2015-11 | refinedweb | 208 | 51.68 |
in reply to Reading a file live!
My suggestion would be to assign a variable to the length of the file prior to the first append. Then, just check the filesize; when it grows you know you've got more text to read:
my $len = (-s "file.txt") || 0;
system ("perl eck.pl $var > file.txt &");
# ... later ....
my $newlen = (-... | http://www.perlmonks.org/?node_id=1077447 | CC-MAIN-2017-13 | refinedweb | 153 | 84.88 |
This class allows you to load a Library (a .dll or .so) and get function addresses from the lib on Windows or Linux.
I have been looking around for simple class like this for some of my cross platform programs and couldn't find one, so I made one.
The first thing you should know (one thing that held me up for a bit) is... | http://www.codeproject.com/Articles/13817/Win-Linux-Dynamic-Library-Loader-Class?msg=1716928 | CC-MAIN-2015-18 | refinedweb | 513 | 70.33 |
Summary: Use Windows PowerShell to gather all implemented methods and writable properties from all WMI namespaces.
Weekend Scripter
Microsoft Scripting Guy, Ed Wilson, here. It is quiet around here on the weekends. At times, it is extremely quiet. I decided to use the time to make some serious changes to my WMI method ... | https://blogs.technet.microsoft.com/heyscriptingguy/2011/03/13/get-all-methods-and-writable-properties-from-all-wmi-classes/ | CC-MAIN-2018-17 | refinedweb | 1,062 | 53.31 |
Form in a Wizard is not showing state of the Model
Can anyone help Am using the Wicket wizard from the extensions package. Have extended Wizard and WizardStep - nothing fancy, and the wizard flow is working. Problem is this: I have a Model which is passed into the constructor of each step. The first page of the wizard ... | https://www.mail-archive.com/search?l=users@wicket.apache.org&q=from:%22drf%22 | CC-MAIN-2021-49 | refinedweb | 2,718 | 58.01 |
Once I add XamlCompilation to the namespace in the PCL project:
[assembly: XamlCompilation(XamlCompilationOptions.Compile)]
namespace MyNamespace
{
}
I get the below runtime error message on UWP:
"Method not found: 'Void Xamarin.Forms.Xaml.Internals.SimpleValueTargetProvider..ctor(System.Object[])'."
I'm using Xamarin.... | https://forums.xamarin.com/discussion/comment/364708/ | CC-MAIN-2019-18 | refinedweb | 285 | 63.36 |
Remove '-*- nroff -*-'. Lets make a habit not to put editor-related magic into our base files. They are redundant and useless./VFS_MOUNT.9,v 1.7.2.1 2001/12/17 11:30:18 ru Exp $ 28: .\" $DragonFly: src/share/man/man9/VFS_MOUNT.9,v 1.3 2004/06/01 11:36:53 hmp Exp $ 29: .\" 30: .Dd July 24, 1996 31: .Os 32: .Dt VFS_MOUNT... | http://www.dragonflybsd.org/cvsweb/src/share/man/man9/VFS_MOUNT.9?f=h;content-type=text%2Fx-cvsweb-markup;ln=1;rev=1.3 | CC-MAIN-2014-42 | refinedweb | 381 | 79.36 |
Created on 2014-05-01 14:31 by exarkun, last changed 2015-01-31 10:24 by python-dev. This issue is now closed.
$ ~/Projects/cpython/3.4/python -c '
class Foo(object):
def __ne__(self, other):
return "yup"
def __eq__(self, other):
return "nope"
class Bar(object):
pass
print(object() != Foo(), object() == Foo())
print(Ba... | https://bugs.python.org/issue21408 | CC-MAIN-2020-16 | refinedweb | 546 | 66.84 |
The etcd project was one of the first popular, public platforms built on the Raft algorithm (a relatively simple consensus algorithm, used to allow several nodes to remain in sync). Raft represents a shift away from its predecessor, Paxos, which is considerably more difficult to understand, and usually requires shortcu... | https://dustinoprea.com/tag/etcd/ | CC-MAIN-2018-09 | refinedweb | 441 | 52.6 |
CodePlexProject Hosting for Open Source Software
Code with violation:
namespace MyContainers.List
{
public class List { … }
}
Explanation why this is bad -
I agree that this would be nice to detect automatically with a tool.
However, this particular rule is better suited for a custom Code Analysis (FxCop) rule. StyleCo... | http://stylecop.codeplex.com/discussions/391971 | CC-MAIN-2018-05 | refinedweb | 121 | 66.54 |
On Thu, Nov 8, 2012 at 10:42 AM, Michael Haggerty <mhag...@alum.mit.edu> wrote: > On 11/07/2012 10:47 PM, Ævar Arnfjörð Bjarmason wrote: >> I'm curious as to whether you got around to this? I'd be interested in >> updates on this script. > > Thanks for asking. I have made many of the changes that were requested > and/o... | https://www.mail-archive.com/git@vger.kernel.org/msg11503.html | CC-MAIN-2016-44 | refinedweb | 584 | 63.19 |
Well,.
The way I see it the question "How do I do private object attributes" is not the same as "How to I avoid object attribute namespace clashes in inheritance". I would say that the first is just one answer to the second, the one that in many ways is the simplest to implement and may have certain interesting propert... | http://www.perlmonks.org/?parent=241629;node_id=3333 | CC-MAIN-2015-40 | refinedweb | 105 | 53.17 |
A Look at Apple WatchKit Tables
Today we’re going to show you how to use a
WKInterfaceTable in your Apple Watch applications. If you’ve been following or reading this blog for any period of time you will know that we’re passionate about home automation controls, and look forward to HomeKit in the market. The Apple Watc... | https://dev.iachieved.it/iachievedit/a-look-at-apple-watchkit-tables/ | CC-MAIN-2019-18 | refinedweb | 2,035 | 61.46 |
This article first appeared in issue 217 of .net magazine - the world's best-selling magazine for web designers and developers.
WebSockets are a part of the HTML5 specification, and the simplest way of looking at them is that they set a standard for creating long-running bi-directional connections between a browser and... | http://www.creativebloq.com/html5/code-real-time-survey-html5-websockets-12116562 | CC-MAIN-2017-30 | refinedweb | 2,668 | 53.71 |
"Xavier Hanin" <xavier.hanin@gmail.com> writes:
> Thanks. The proxy trick to access directly the site seems to work, but I
> still have the 500 error and seem to have no access to
> to get access to the logs.
Neither have I.
Since you get the error when using the "proxy trick", you only need to
llok into the logs on mi... | http://mail-archives.eu.apache.org/mod_mbox/ant-dev/200712.mbox/%3Cy1ubq8tctun.fsf@v30161.1blu.de%3E | CC-MAIN-2020-45 | refinedweb | 192 | 75.81 |
C# | Get or set the value associated with the specified key in StringDictionary
StringDictionary is a specialized collection. It is found in the System.Collections.Specialized namespace. It only allows string keys and string values. It suffers from performance problems. It implements a hash table with the key and the v... | https://www.geeksforgeeks.org/c-sharp-get-or-set-the-value-associated-with-the-specified-key-in-stringdictionary/?ref=lbp | CC-MAIN-2021-25 | refinedweb | 107 | 53.71 |
Hi, 2007/10/15, Fred Rothganger <fred at rothganger.org>: > I am compiling ffmpeg under cygwin with -mno-cygwin, and then linking > the resulting static libs under MSVC 2005 edition. There are three > symbols that remain undefined at link time: > > _snprintf > _gettimeofday > _round > > This patch addresses _snprintf. ... | http://ffmpeg.org/pipermail/ffmpeg-devel/2007-October/037778.html | CC-MAIN-2014-49 | refinedweb | 169 | 59.5 |
On Tue, 07 Feb 2006 20:52:15 -0700ebiederm@xmission.com (Eric W. Biederman) wrote:> "Serge E. Hallyn" <serue@us.ibm.com> writes:> > >> > What I tried to do in a proof of concept long ago was to have> > CLONE_NETNS mean that you get access to all the network devices, but> > then you could drop/add them. Conceptually I p... | http://lkml.org/lkml/2006/2/8/286 | CC-MAIN-2013-48 | refinedweb | 186 | 77.47 |
Answered by:
Upgrading Central Store - Error Message Namespace
Hi,
I just upgraded the Central Store with the latest Windows 10 1511 template and got an error message.
The error message appeared when I edited a GPO and went into Computer Configuration > Policies.
Namespace 'Microsoft.Policies.WindowsStore' is already d... | https://social.technet.microsoft.com/Forums/en-US/b4c68086-d348-45ae-aa48-4bd8fd9c3959/upgrading-central-store-error-message-namespace?forum=winserverGP | CC-MAIN-2018-17 | refinedweb | 483 | 60.92 |
Posted 05 Sep
Link to this post
I don't see how to specify the report library in the ReportsControllerBase, is this the idea?
public class ReportsController : ReportsControllerBase {
/* original from wizard -(),
};*/
static Telerik.Reporting.Services.ReportServiceConfiguration configurationInstance = new Telerik.Report... | http://www.telerik.com/forums/how-to-link-to-report-library | CC-MAIN-2016-44 | refinedweb | 1,515 | 63.59 |
.
There are 404 comments. You can read them below.
You can post your own comments by using the form below, or reply to existing comments by using the "Reply" button.
so while UIPEthernets API is the same as stock Ethernet-library, there’s a subtle (but important) difference: As the enc28j60 is just the physical interfa... | https://www.tweaking4all.com/hardware/arduino/arduino-ethernet-data-push/ | CC-MAIN-2017-09 | refinedweb | 26,786 | 72.97 |
Angular 4 Grid with CRUD operations | Angular 4 insert update delete
In this Post We Will Explain About is Angular 4 Grid with CRUD operations | Angular 4 insert update delete With Example and Demo.Welcome on Pakainfo.com – Examples, The best For Learn web development Tutorials,Demo with Example! Hi Dear Friends here u... | https://www.pakainfo.com/angular-4-grid-with-crud-operations-angular-4-insert-update-delete/ | CC-MAIN-2022-05 | refinedweb | 3,631 | 50.02 |
Opened 6 months ago
Closed 5 months ago
#26834 closed enhancement (fixed)
pep8 cleaning in vertex_separation.pyx
Description
Change History (13)
comment:1 Changed 6 months ago by
- Branch set to public/26834_clean_vertex_separation
- Commit set to fe04f6ee093dd548fedb1f3aaedad88b39bb6ccd
- Status changed from new to ne... | https://trac.sagemath.org/ticket/26834 | CC-MAIN-2019-26 | refinedweb | 692 | 56.18 |
0
Hi there i am trying to make a program that takes multiple files from the command line.
I think i have got my my word count working right, but my question is how do i get it to read multiple files on the command line. Like when i do
./a.out wordcount.c file1 file2
heres my code any help would be appreciated
#include ... | https://www.daniweb.com/programming/software-development/threads/399089/word-count-for-multiple-file-on-comman-line | CC-MAIN-2016-50 | refinedweb | 156 | 87.65 |
AskString
with the following command:
from robofab.interface.all.dialogs import AskString
I get this traceback:
Traceback (most recent call last): File "script.py", line 21, in File "/Applications/Typotools/RoboFont/RoboFont.app/Contents/Resources/lib/python2.7/robofab/interface/all/dialogs.py", line 556, in AskString ... | https://forum.robofont.com/topic/64/askstring/5 | CC-MAIN-2020-45 | refinedweb | 176 | 63.8 |
login_tty()
Prepare for a login in a tty
Synopsis:
#include <unix.h> int login_tty( int fd );
Since:
BlackBerry 10.0.0
Arguments:
- fd
- A file descriptor that you want to use as the controlling terminal for the current process.
Library:
libc
Use the -l c option to qcc to link against this library. This library is usua... | http://developer.blackberry.com/native/reference/core/com.qnx.doc.neutrino.lib_ref/topic/l/login_tty.html | CC-MAIN-2015-18 | refinedweb | 114 | 71 |
A Python derivative of the Unofficial Plurk API.
This is not an official Plurk API, and thus, problems and support requests should not be directed to the Plurk Team.
Using this API is also subject to Plurk's terms and conditions. Please don't abuse the API and Plurk.
Examples
Viewing some plurks
import plurkapi p = plu... | http://code.google.com/p/plurkapipy/ | crawl-002 | refinedweb | 104 | 71.71 |
Child injector rules and Lazy initialization
I have an issue with
SwiftSusperder,
Robotlegs and a module library (not joelhooks' lib but
a self-made).
I used child injectors but lazy initialization cause bad injection with
eventDispatcher field.
Here's my issue roots:
You have two classes like that:
public class Requir... | http://robotlegs.tenderapp.com/discussions/problems/620-child-injector-rules-and-lazy-initialization | CC-MAIN-2019-13 | refinedweb | 667 | 55.95 |
It seems now you have to run an ad, unless you get likes from real friends. ... read more ... Tweet
WebmasterWorld's weekly round-up of hot topics and discussions you may have missed in the last few days. ... read more ... Tweet
With IE8 Google is passing the referrer string, and not currently using SSL, giving webmast... | http://www.webmasterworld.com/homev5.cgi?page=2 | CC-MAIN-2014-15 | refinedweb | 4,677 | 59.94 |
mark babybyFull Stack JavaScript Techdegree Student 367 Points
I get this Python unsubscriptable error how do i solve it
def combiner(list_of_datas): sum = 0 words = [] for item in list_of_datas: if isinstance(item, str): words.append[item] else: sum += item return str(sum) + ''.join(words)
combiner(["apple", 5.2, "dog... | https://teamtreehouse.com/community/i-get-this-python-unsubscriptable-error-how-do-i-solve-it | CC-MAIN-2020-10 | refinedweb | 143 | 58.62 |
Smtp.Server is an ActiveX component that you may use to send emails. It may be used in Excel, ASP, VB, Visual C++ and other ActiveX container applications. (Please read the write up below for details on how to use Smtp.Server).
Smtp.Server
I made this component just for the fun of it. It is absolutely free, and like al... | https://www.codeproject.com/Articles/1814/SMTP-Client-ActiveX-component | CC-MAIN-2018-13 | refinedweb | 2,031 | 59.5 |
Thursday 3 November 2016
We are very happy to announce the availability of Scala 2.12.0!
Headline features
The Scala 2.12 compiler has been completely overhauled to make use of the new VM features available in Java 8:
- A trait compiles directly to an interface with default methods. This improves binary compatibility a... | https://www.scala-lang.org/news/2.12.0/ | CC-MAIN-2019-09 | refinedweb | 3,694 | 57.16 |
While Loops in Java
Description
In computer programming, a loop is a sequence of instruction s that is continually repeated until a certain condition is reached. Imagine you have to write a program which performs a repetitive task such as printing 1 to 100. Writing 100 print statements would not be wise thing to do. Lo... | https://www.w3resource.com/java-tutorial/java-while-do-while-loop.php | CC-MAIN-2020-45 | refinedweb | 816 | 61.26 |
For some reason, I’ve posted this question to this forum 4 times now
and it never appears in the daily consolidated email I get daily?
I’ve written a routine allowing the client user to declare where
their .csv import file resides and then send it to the server to
import the many rows into an existing model table, and ... | https://www.ruby-forum.com/t/strategy-for-importing-temporary-csv-file/136387 | CC-MAIN-2021-25 | refinedweb | 329 | 64.61 |
A really terrific feature about Scala is that XML handling is built into the language. This means you don't have to deal with XML as String objects, you deal with it as XML objects.
Here are just a few examples of using XML in Scala. First, you can create an XML literal like this:
scala> val hello = <p>Hello, world</p>... | https://alvinalexander.com/scala/scala-xml-examples-xml-literals-source-code-searching-xpath | CC-MAIN-2018-30 | refinedweb | 485 | 68.91 |
Created on 2014-05-28 08:47 by rjordens, last changed 2014-08-10 12:37 by ncoghlan. This issue is now closed.
According to the documentation the "exec a in b, c" is equivalent to "exec(a, b, c)". But in the testcase below the tuple form causes a SyntaxError while the statement form works fine.
diff -r e770d8c4291c Lib/... | https://bugs.python.org/issue21591 | CC-MAIN-2019-22 | refinedweb | 1,167 | 65.32 |
I've started working on a project that depends on some of the code generation features of r6rs-protobuf (by way of a
build-auxhelper script) and I realized it's been handling library generation all wrong, at least for multi-.proto builds. The source of the trouble was my decision to map a Protocol Buffers
packagedirect... | http://www.advogato.org/person/joolean/diary.html?start=78 | CC-MAIN-2014-42 | refinedweb | 195 | 59.53 |
using the site's editor
We currently use FCKEditor as a reach text editor for the site, it is meant to be easy to use and familiar to everyone who already uses some kind of word processor like MS word or OpenOffice, following are some tips on using the editor:
my experience shows that using the 'Show Blocks' feature ma... | https://www.tikalk.com/posts/2010/03/19/using-the-sites-editor/ | CC-MAIN-2018-34 | refinedweb | 504 | 52.02 |
Hi there guys and gals. I am feeling generous today and have a few hours to spare so in honour of my favourite forum I am willing to donate a bot creation to the forum, which will be uploaded to the downloads section when complete (after virustotal check of course). So I am looking for web based bot suggestions. Can be... | https://www.blackhatworld.com/seo/i-will-make-a-free-bot-for-the-community-suggestions-plz.125686/ | CC-MAIN-2017-17 | refinedweb | 104 | 75.3 |
Modeling TLA+ in Z3Py
It’s that time of year again where I’m fiddling around with Z3Py. I’m booting it back up because I’m scheduled to do a tutorial on Z3 on Feb 3. It’s kind of silly because I probably already have too much content, and the tutorial is aimed at newbies, but there are some fun new things that I’ve lea... | https://www.philipzucker.com/Modelling_TLA_in_z3py/ | CC-MAIN-2021-39 | refinedweb | 1,548 | 60.14 |
modified to use the WordPress [sourcecode] tag — 2012-01-14:
def square_root(x): return math.sqrt(x)
or you can use lambda:
square_root = lambda x: math.sqrt(x)
Here are a few other interesting examples of lambda:
sum = lambda x, y: x + y # def sum(x,y): return x + y out = lambda *x: sys.stdout.write(" ".join(map(str,x... | http://pythonconquerstheuniverse.wordpress.com/2011/08/29/lambda_tutorial/ | CC-MAIN-2014-42 | refinedweb | 1,550 | 56.96 |
Give Your Crashes a Context through Logs Attachments
Visual Studio
This is a guest post by Jean-Marie Alfonsi, Freelance Software Architect.
At the dawn of the app era, crash reporting was a dull and heavy work. You needed to manually retrieve your crash from your smartphone system, put some context in it and then send... | https://devblogs.microsoft.com/appcenter/give-your-crashes-a-context-through-logs-attachments/ | CC-MAIN-2021-39 | refinedweb | 1,407 | 61.77 |
Recent CPAN activity of MARKF - MetaCPAN / MARKF has released Mac-PopClip-Quick-1.000002 quickly write PopClip extensions in Perl MARKF 2017-06-19T15:29:37 MARKF has released Mac-Choose-2 make a choice with the choose command line util MARKF 2015-01-10T12:57:44 MARKF has released Test-DatabaseRow-2.04 simple database t... | https://metacpan.org/feed/author/MARKF | CC-MAIN-2017-30 | refinedweb | 629 | 59.5 |
I previously posted about the nifty ?: Java operator that I personally love, but that I never see in the code. And then I realized that there are quite a few instances of Java specific stuff that no one really knows or cares about. It seems that most Java instructors these days are C++ people who read a Java book – and... | http://www.terminally-incoherent.com/blog/2006/04/21/arcane-java-operators/ | CC-MAIN-2013-20 | refinedweb | 726 | 71.04 |
Medusa is a headless open source commerce platform giving engineers the foundation for building unique and scaleable digital commerce projects through our API-first engine.
Being headless, our starters serve as a good foundation for you to get coupled with a frontend in a matter of minutes.
This article assumes you alr... | https://practicaldev-herokuapp-com.global.ssl.fastly.net/medusajs/setting-up-a-next-js-storefront-for-your-medusa-project-3j3k | CC-MAIN-2021-43 | refinedweb | 409 | 66.78 |
Alexa of the game.
- Nick’s final score is the total number of integers he has removed from the two stacks.
Given A, B, and x for g games, find the maximum possible score Nick can achieve (i.e., the maximum number of integers he can remove without being disqualified) during each game and print it on a new line.
Input F... | https://coderinme.com/game-two-stacks-hackerrank-problem-solution/ | CC-MAIN-2018-39 | refinedweb | 617 | 58.55 |
Quickstart: Create an event hub using Azure portal
Azure Event Hubs is a Big Data streaming platform and event ingestion service that can receive and process.
Create a resource group
A resource group is a logical collection of Azure resources. All resources are deployed and managed in a resource group. To create a reso... | https://docs.microsoft.com/en-ca/azure/event-hubs/event-hubs-create | CC-MAIN-2021-17 | refinedweb | 202 | 67.15 |
initializing LoRa with region gives core dump
All the examples for LoRa from the pycom-libraries repository seem to be broken with the latest LoPy4 1.20.2.rc11 firmware.
When the module is initialized without passing a region it generates an "ValueError: no region specified and no default found in config block".
When a... | https://forum.pycom.io/topic/6455/initializing-lora-with-region-gives-core-dump | CC-MAIN-2020-45 | refinedweb | 1,120 | 67.96 |
This:
Language additions:
Library changes:
Macro library changes:
Other stuff:
From: Kannan Goundan (66.74.197.112)
"Variant options are now nested inside enclosing variant, so their names need to be prefixed with variant name."
A disadvantage of requiring the prefix is that people might start using artificially abbrev... | http://nemerle.org/blog/archive/2005/Mar-22.html | crawl-001 | refinedweb | 874 | 67.86 |
C++ Variables and File Handling
Developer, PlayZion.com
Basic Variable Types:
- Integral Classes
- char (single characters, such as '
T', '
x', or '
9'. Use single quotes)
- short (short integers)
- int (medium-sized integers)
- long int (long integers)
Note: You can use the keyword 'unsigned' before any of the above t... | http://bytes.com/serversidescripting/c++/tutorials/c++variablesandfilehandling/index.html | crawl-002 | refinedweb | 432 | 72.66 |
Swing is a part of Java Foundation classes (JFC), the other parts of JFC are java2D and Abstract window toolkit (AWT). AWT, Swing & Java 2D are used for building graphical user interfaces (GUIs) in java. In this tutorial we will mainly discuss about Swing API which is used for building GUIs on the top of AWT and are mu... | https://beginnersbook.com/2015/07/java-swing-tutorial/ | CC-MAIN-2017-34 | refinedweb | 677 | 58.89 |
For my first open source release of code, I bring you an Android Compound Control. This particular custom control is a number picker with a repeat feature. This is a very basic control, but not one that is provided in the given pre-built control set. For those of you looking to easily fill that void, or perhaps learn h... | http://codejeff.com.s3-website-us-west-2.amazonaws.com/ | CC-MAIN-2020-10 | refinedweb | 2,293 | 57.37 |
- Introduction to the Runtime
- Starting a Method
- Summary
Starting a Method
The CLR requires the following information about each method. All of this data is available to the CLR through metadata in each assembly.
InstructionsThe CLR requires a list of MSIL instructions. As you will see in the next chapter, each meth... | http://www.informit.com/articles/article.aspx?p=26337&seqNum=3 | CC-MAIN-2017-43 | refinedweb | 5,314 | 53 |
CTRating
What is this?
CTRating is a SwiftUI rating view that can be added to any SwiftUI view. It is customizable and provides you with a way to add a ratings component to your project.
The above example shows three different CTRating views added to a VStack. Each one with a different configuration and controlled inde... | https://swiftpack.co/package/StewartLynch/CTRating | CC-MAIN-2020-05 | refinedweb | 349 | 53.1 |
by Jeffrey Kantor (jeff at nd.edu). The latest version of this notebook is available at.
This Jupyter notebook demonstrate the use of the symbolic algebra package
Sympy for the generation/consumption analysis for the production of ammonia using basic principles of reaction stoichiometry.
BASF, headquartered in Ludwigsh... | http://nbviewer.jupyter.org/github/jckantor/CBE20255/blob/master/notebooks/Generation%20Consumption%20Analysis%20for%20Ammonia%20Production.ipynb | CC-MAIN-2018-05 | refinedweb | 440 | 54.63 |
First, you'll take a look at the code you're editing.
Here is the original code again:
import board import digitalio import time led = digitalio.DigitalInOut(board.LED) led.direction = digitalio.Direction.OUTPUT while True: led.value = True time.sleep(0.5) led.value = False time.sleep(0.5)
import board import digitalio... | https://learn.adafruit.com/welcome-to-circuitpython/exploring-your-first-circuitpython-program | CC-MAIN-2022-27 | refinedweb | 822 | 68.77 |
8/16/18
Introducing MySQL Connector/Python
by Jesper Krogh
When you write a program that needs to connect to a database server, you need a library that translates your queries into the messages that can be used with the protocol supported by the database. When the database is MySQL, this library is called a connector. ... | https://www.apress.com/gp/blog/all-blog-posts/introducing-mysql-connector-python/16041038 | CC-MAIN-2019-26 | refinedweb | 1,048 | 51.24 |
For a normal function,
map
def increment(n):
return n+1
l = [1, 2, 3, 4, 5]
l = map(increment, l)
print l
>>> [2, 3, 4, 5, 6]
map
l = [1, 2, 3, 4, 5]
l = map(print, l)
print l
l = map(print, l)
^
SyntaxError: invalid syntax
print(x)
In Python 2.x,
In Python 2.x, you can say
print(x) and it is not a syntax error, but it... | https://codedump.io/share/mi6kYMn93P5Y/1/why-mapprint-alist-doesn39t-work | CC-MAIN-2016-50 | refinedweb | 252 | 75.84 |
Return to
machine.h
CVS log
Up to
[gforth]
/
gforth
/
arch
/
alpha
Diff for /gforth/arch/alpha/machine.h between versions 1.6 and 1.14
version 1.6
, 2000/04/29 13:07:34
version 1.14
, 2003/01/20 17:07:38
Line 1
Line 1
/* DEC Alpha
/* DEC Alpha
This file is part of Gforth.
This file is part of Gforth..
*/
*/
/* Be caref... | https://www.complang.tuwien.ac.at/cvsweb/cgi-bin/cvsweb/gforth/arch/alpha/machine.h.diff?r1=1.6;r2=1.14;hideattic=0;sortby=date;only_with_tag=MAIN;f=h | CC-MAIN-2022-21 | refinedweb | 922 | 51.48 |
Display a scene
Learn how to create and display a scene with a basemap layer and an elevation layer. Set properties of the scene's camera to control the 3D perspective.
Like a map, a scene contains layers of geographic data. It contains a basemap layer and, optionally, one or more data layers. To provide a realistic vi... | https://developers.arcgis.com/net/scenes-3d/tutorials/display-a-scene/ | CC-MAIN-2022-21 | refinedweb | 1,655 | 58.48 |
Feb 25: Webcam
Getting going
Mac people are all set. Windows people: you need to install a video digitizer that will convert the webcam video into QuickTime. The Processing documentation points to WinVDIG; the original site has apparently gone away, but a nice person has kept a WinVDIG mirror. Download and install vers... | http://www.cs.dartmouth.edu/~cbk/2/notes/20.php | crawl-002 | refinedweb | 1,423 | 55.98 |
Agenda
See also: IRC log
<hugo> Scribe: Hugo
Scribe is Hugo
F2F minutes are approved with Hugo's corrections
2005-03-07 telcon minutes are approved too
Chair is going through open actions
<scribe> Chair: this is potentially reopening i053
<Marsh> +1
<anish> +1
<vinoski> +1
UNKNOWN_SPEAKER: any objection to making the c... | http://www.w3.org/2002/ws/addr/5/03/14-ws-addr-minutes.html | crawl-001 | refinedweb | 2,262 | 66.17 |
Data Structures in the Linux Kernel
Bit arrays and bit operations in the Linux kernel
Besides different linked and tree based data structures, the Linux kernel provides API for bit arrays or
bitmap. Bit arrays are heavily used in the Linux kernel and following source code files contain common
API for work with such str... | https://0xax.gitbooks.io/linux-insides/content/DataStructures/linux-datastructures-3.html | CC-MAIN-2019-43 | refinedweb | 2,692 | 58.42 |
Editorial Note: I originally wrote this post for the NDepend blog. You can check out the original here, at their site..”
So, what’s the problem with scaling your solution like this? Well, first and foremost, it makes dealing with your codebase absolutely brutal. If you’re used to a codebase like this and it’s simply yo... | https://dzone.com/articles/how-to-analyze-a-complex-solution | CC-MAIN-2017-30 | refinedweb | 703 | 60.45 |
isotoma.egglayer 0.0.5
Utility for packaging things as eggs without setuptools
Python Egg Layer
This package provides python classes for building Python packages on the fly. Why don't we use setuptools? Well we needed to generate the egg dynamically from a Django view and not generate the temp files. Why on earth would... | http://pypi.python.org/pypi/isotoma.egglayer/0.0.5 | crawl-003 | refinedweb | 682 | 52.46 |
I also posted this on the support board. I appologize for the cross =
post. I'm attempting to use ID3Lib in my Win32 application (no MFC) and =
though I believe I've followed all the instructions in the win32.readme, =
I continue to get compile errors. Specifically I have added the id3lib =
and zlib projects to my work... | http://sourceforge.net/mailarchive/forum.php?forum_name=id3lib-devel&max_rows=25&style=nested&viewmonth=200306&viewday=3 | CC-MAIN-2013-48 | refinedweb | 432 | 66.13 |
Introduction
We are familiar in passing value/variable into function. Instead of passing a variable, we pass a type (such as
int,
double, and
Point) into template. Passing type is known as generic programming, as we can program in generic type and invoke the code using a specific type.
The goal of generic programming i... | http://www3.ntu.edu.sg/home/ehchua/programming/cpp/cp8_Template.html | CC-MAIN-2017-43 | refinedweb | 1,212 | 56.86 |
Sets UnityWebRequest to attempt to abort after the number of seconds in
timeout have passed.
When a timeout occurs error returns "Request timeout" . No timeout is applied when
timeout is set to
0 and this property defaults to
0.
Note: The set timeout may apply to each URL redirect on Android which can result in a longe... | https://docs.unity3d.com/es/2018.3/ScriptReference/Networking.UnityWebRequest-timeout.html | CC-MAIN-2019-51 | refinedweb | 127 | 52.87 |
US6038610A - Storage of sitemaps at server sites for holding information regarding content - Google PatentsStorage of sitemaps at server sites for holding information regarding content Download PDF
Info
- Publication number
- US6038610AUS6038610A US08/683,663 US68366396A US6038610A US 6038610 A US6038610 A US 6038610A ... | https://patents.google.com/patent/US6038610A/en | CC-MAIN-2019-30 | refinedweb | 3,911 | 61.97 |
Streams, an abstraction for dealing with huge amounts of data efficiently by processing it in small chunks, this is one of the most fundamental concepts in NodeJS and most of the time you'd be consuming API's that implement a stream interface rather than creating one so it's best to familiarize ourselves with the basic... | https://practicaldev-herokuapp-com.global.ssl.fastly.net/kalashin1/streams-in-nodejs-2b8l | CC-MAIN-2022-40 | refinedweb | 1,476 | 67.79 |
Monk and Rotation Hackerearth.
Input:
The first line will consists of one integer $$T$$ denoting the number of test cases.
For each test case:
1) The first line consists of two integers $$N$$ and $$K$$, $$N$$ being the number of elements in the array and $$K$$ denotes the number of steps of rotation.
2) The next line c... | https://coderinme.com/monk-rotation-hackerearth-problem-solution/ | CC-MAIN-2019-13 | refinedweb | 352 | 66.57 |
Bootstrap Structure, Is this possible ?
What I want to do is have a button that will hide FORM1 and Open FORM2, then another button on FORM2 that will hide FORM2 and Show Form1 again.
I also want to separate the database functions using a .pro file but to reuse the instance. I wish to call the same reuseable custom fu... | https://forum.qt.io/topic/73273/bootstrap-structure-is-this-possible | CC-MAIN-2022-21 | refinedweb | 449 | 63.7 |
.
MFC Vs Win32 API
I would prefer doing Win32 initially (may be thru Charles Petzold book) and then go on to do MFC
This is because MFC is a wrapper around Win32 API's
Also, MFC is quite cumbersome and requires heavy knowledge of C++ virtual functions concept, macros and other stuff
So, if u are very comfortable with C... | https://www.experts-exchange.com/questions/20928407/Advice-Oppinion-please-MFC.html | CC-MAIN-2018-05 | refinedweb | 4,166 | 69.72 |
Creating a Java + Electron + React Typescript desktop app
Recently I wanted to create a cross-platform desktop app for organizing internal game files and configurations. My first inclination was to try out Electron so I could create my UI in React. There was just one problem, the app needed to access the native file sy... | https://medium.com/@sgstephans/creating-a-java-electron-react-typescript-desktop-app-414e7edceed2?source=read_next_recirc---------3---------------------19157d1e_db51_4e0f_83ff_f836d3bac115------- | CC-MAIN-2022-33 | refinedweb | 2,372 | 55.54 |
(11)
Gowtham K(6)
Vijai Anand Ramalingam(5)
Mahesh Chand(4)
Suthahar J(3)
Rajeesh Menoth(3)
Najuma Mahamuth(3)
Prashant Kumar(3)
Gul Md Ershad(2)
Manoj Mittal(2)
Ibrahim Ersoy(2)
Kasam Shaikh(2)
Mangesh Gaherwar(2)
Alagunila Meganathan(2)
Prashant Bansal(2)
Muhammad Habib Jawady(2)
Shantha Kumar T(1)
Mukesh Kumar(1)
Ka... | http://www.c-sharpcorner.com/tags/Silverlight-Ria-Services | CC-MAIN-2018-09 | refinedweb | 1,092 | 66.94 |
A decorator for writing coroutine-like spider callbacks.
Project description
Scrapy Inline Requests
A decorator for writing coroutine-like spider callbacks.
- Free software: MIT license
- Documentation:.
- Python versions: 2.7, 3.4+
Quickstart
The spider below shows a simple use case of scraping a page and following a ... | https://pypi.org/project/scrapy-inline-requests/ | CC-MAIN-2022-27 | refinedweb | 374 | 52.15 |
Just ran across this page after the latest MSDN Flash featuring Jennifer’s return (welcome back, Mrs. Marsman!).
Titled "Why Develop for Windows Vista", it’s a nice summary of why developing applications for Windows Vista is a smart thing. I think this is a new page – or it’s new to me anyway. It is based on 3 pillars:... | https://blogs.msdn.microsoft.com/jonbox/2008/05/06/why-develop-for-windows-vista/ | CC-MAIN-2016-44 | refinedweb | 487 | 60.24 |
Progressbar not displayedThomas Delhoménie Dec 17, 2008 7:37 AM
Hi,
I've got a problem when using progressbar component. The progress bar is only displayed when the max value is reached. I want the progress bar to be displayed when I click on the a4j:commandButton and see the value increase.
Here is my jsp :
<a4j:comma... | https://developer.jboss.org/thread/13441 | CC-MAIN-2017-34 | refinedweb | 357 | 73.37 |
Hi All,
I've designed and built my own custom Teensy 3.2 and all appears to be working fine with it - been running many different sketches on it over the last few weeks.
However, I now have a problem. My power supply chip, an Infineon TLE73683EXUMA2 has a hardware watchdog that I'd like to take advantage of. I finally ... | https://forum.pjrc.com/threads/66899-Teensy-3-2-startup_early_hook-appears-to-hang?s=227d922f20e72024a0e73d8f43552748&p=289062 | CC-MAIN-2021-43 | refinedweb | 415 | 71.95 |
App Store Technical Requirements
A current prototype is being worked in watrous/ns-3-modular/
Goals
- user can explicitly enable/disable ns-3 optional packages
- in a more generic form than having to modify waf, such as was done for NSC
- avoid the existing “--enable-“ prefix for now; use something like “pkgadd/pkgrm”
... | https://www.nsnam.org/mediawiki/index.php?title=App_Store_Technical_Requirements&direction=next&oldid=4976 | CC-MAIN-2021-43 | refinedweb | 664 | 59.19 |
Related Titles
- Full Descriptionll
- Source Code/Downloads
-
- Errata
Please Login to submit errata.On page 19:Your code sample has a formatting error with the else statement:
def sort_w_check(seq):
n = len(seq)
for i in range(n-1):
if seq[i] > seq[i+1]:
break
else:
return
...
On page 53:
"Subsets, Permutations, and C... | http://www.apress.com/open-source/programming/9781430232377 | CC-MAIN-2014-42 | refinedweb | 392 | 65.39 |
📄 Requirements
- iOS 9.0 or later (iOS 11.0+ for drag and drop)
- Xcode 10 or later
- Swift 4.2 or later
💻 Installation
CocoapodsCocoapods
PDColorPicker is available through CocoaPods.
If you have not done so already, run
pod setup from the root directory of your application.
To install
PDColorPicker, simply add the ... | https://cocoapods.org/pods/PDColorPicker | CC-MAIN-2019-13 | refinedweb | 784 | 50.84 |
Regarding the navigation from one window to other
Hai everybody, I am new to Qt. I want to know how to move from one window to other by a click. The problem statement is given below:
I am having a table with 12 rows and 3 columns and nearby i have put a pushbutton. By selecting any one of the row and clicking the pushb... | https://forum.qt.io/topic/21144/regarding-the-navigation-from-one-window-to-other | CC-MAIN-2018-39 | refinedweb | 998 | 57.37 |
Map a memory region into a process's address space
#include <sys/mman.h> void * mmap( void * addr, size_t len, int prot, int flags, int fildes, off_t off ); void * mmap64( void * addr, size_t len, int prot, int flags, int fildes, off64_t off );
The following are Unix or QNX Neutrino extensions:
For more information, se... | http://www.qnx.com/developers/docs/7.0.0/com.qnx.doc.neutrino.lib_ref/topic/m/mmap.html | CC-MAIN-2018-09 | refinedweb | 352 | 65.76 |
Jason Diamond <jason at diamond.name> wrote: > > Paul Svensson wrote: > > > You're not mentioning scopes of local variables, which seems to be > > the issue where most of the previous proposals lose their balance > > between hairy and pointless... > > My syntax is just sugar for nested defs. I assumed the scopes of loc... | https://mail.python.org/pipermail/python-dev/2005-April/053046.html | CC-MAIN-2014-15 | refinedweb | 158 | 57.5 |
Created on 2014-01-22 18:24 by Craig.Silverstein, last changed 2020-07-06 08:43 by terry.reedy. This issue is now closed.
Don't ask me how, but our code managed to combine multiprocessing, sqlite, and tkinter all in one app, and got a hanging behavior, though only on a particular OS. Removing any of these removes the h... | https://bugs.python.org/issue20353 | CC-MAIN-2021-17 | refinedweb | 607 | 69.79 |
I have two forms - Form1 and Form2
Form 1 :
======
Form1 has one button and form closing event.
on clicking on button a method will call form 2 and hides form 1
on closing the form1 the form1 closing event will do application.exit();
Form 2:
=====
Form2 has one context menu with return to main form item - on clicking o... | http://www.dotnetspark.com/links/66549-closing-all-hidden-forms---error.aspx | CC-MAIN-2017-30 | refinedweb | 540 | 75.2 |
#include <MinorPlanet.hpp>
This class implements a minor planet (an asteroid).
There are two main reasons for having a separate class from Planet:
Some of the code in this class is re-used from the parent Planet class.
Definition at line 37 of file MinorPlanet.hpp.
Get a string with data about the MinorPlanet.
Asteroid... | http://stellarium.org/doc/0.12.2/classMinorPlanet.html | CC-MAIN-2014-42 | refinedweb | 143 | 51.44 |
Can anyone provide an example of providing a jacobian to a
integrate.odeint
from numpy import * #):
print 'jacobian' # added
return [[0,t],[1,0]]
x = arange(0,4.0, 0.01)
t = x
ychk = airy(x)[0]
y = odeint(func, y0, t)
y2 = odeint(func, y0, t, Dfun=gradient)
print y2 # added
Under the hood,
scipy.integrate.odeint uses t... | https://codedump.io/share/AsW46FwePErQ/1/why-isn39t-the-dfuncgradient-called-while-using-integrateodeint-in-scipy | CC-MAIN-2017-26 | refinedweb | 299 | 54.73 |
IaxAX -axAX -."
P.S., RAID is a waste of your goddamned time and money. Is your personal computer a high-availability server with hot-swappable drives? No? Then you don't need RAID, you just need backups.
100% agree. I've had too many close calls with broken RAID implementations to even consider bothering with it anymo... | http://www.jwz.org/blog/2007/09/psa-backups/ | CC-MAIN-2014-49 | refinedweb | 8,782 | 71.75 |
================Sublime Text 2 Todo Manager================
Sourcecode: github.com/tanepiper/sublime-todomanagerSublime Text 2 forum thread: viewtopic.php?f=5&t=4491Release: 1.1.4Author: Tane Piper
Is available via the package manager for install.
Commands available through the command palate are:
All have keybindings ... | https://forum.sublimetext.com/t/todo-manager/3716/6 | CC-MAIN-2016-07 | refinedweb | 845 | 61.46 |
Details
Description
Consider an Object
public class Test {
private Object foo;
public Object get(String dummy){ return foo; }
public void put(String dummy, Object foo){ this.foo = foo }
;
}
Put this object into a Velocity Context as $test, add a HashMap as $map.
Use the following template:
$map.put("key", "val1")
$test... | https://issues.apache.org/jira/browse/VELOCITY-449?focusedCommentId=12432848&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel | CC-MAIN-2016-07 | refinedweb | 500 | 77.53 |
Walt Fair, Jr. wrote:I don't think I could go back to working as a normal employee again. Ever.
public class SanderRossel : Lazy<Person>
{
public void DoWork()
{
throw new NotSupportedException();
}
}?
Mike Hankey wrote:It's amazing how much better they look after a 12 pack. was going to say after 12 o'clock. Then agai... | http://www.codeproject.com/Lounge.aspx?msg=4869529 | CC-MAIN-2015-06 | refinedweb | 225 | 74.69 |
On Mon, Jul 09, 2007 at 04:28:43PM +0100, Claus Reinke wrote: > which is the important hint! the parser used for 'read' depends on > the return type, but the existential type _hides_ the internal type > which would be needed to select a read parser. I think that this is precisely what I wasn't getting. If I understand ... | http://www.haskell.org/pipermail/haskell-cafe/2007-July/028213.html | CC-MAIN-2014-41 | refinedweb | 266 | 52.16 |
From: John Eddy (johneddy_at_[hidden])
Date: 2005-02-15 13:34:41
Caleb Epstein wrote:
.
>
>
>
I see what you mean. Since currently anything of any type will pass
through the log managers it would be simple enough to create and pass
along a simple data holder to the log which would then assemble the
holders' contents in... | https://lists.boost.org/Archives/boost/2005/02/80475.php | CC-MAIN-2021-04 | refinedweb | 226 | 58.79 |
It moves the file pointer 4 bytes towards the beginning of the file from the current position.
can you explain why this code always enter an infinte loop card.raw is a file containg jpg pic that i an trying to recover.
#include <stdio.h> #include <stdlib.h> int createFile(FILE* file, FILE* outfile); int createName(void... | https://www.daniweb.com/programming/software-development/threads/451952/what-is-the-meaning-of-fseek-file-4-seek-cur | CC-MAIN-2016-50 | refinedweb | 276 | 71.14 |
include <iostream>
using namespace std;
void intro() { cout<<"I am not a student, received my BSCS in 1987"; cout<<"But I never liked being stuck in a cubicle (small cog in a big"; cout<<"machine) so I left the Software Industry. Now that I'm older,"; cout<<"(49) I have the time to get back into coding on my own"; cout... | https://www.dreamincode.net/forums/topic/32939-another-newbie/ | CC-MAIN-2018-30 | refinedweb | 142 | 69.72 |
Using MTOM
SOAP Message Transmission Optimization Mechanism (MTOM) specifies an optimized method for sending binary data as part of a SOAP message. Unlike SOAP with Attachments, MTOM requires the use of XML-binary Optimized Packaging (XOP) packages for transmitting binary data. Using MTOM to send binary data does not r... | https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=60618&showComments=true&showCommentArea=true | CC-MAIN-2016-26 | refinedweb | 948 | 53.31 |
Cloud Run is a managed compute platform that enables you to run stateless containers that are invocable via HTTP requests. Cloud Run is serverless: it abstracts away all infrastructure management, so you can focus on what matters most — building great applications.
Cloud Run is built from Knative, letting you choose to... | https://codelabs.developers.google.com/codelabs/cloud-run-for-anthos | CC-MAIN-2020-50 | refinedweb | 594 | 59.23 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.