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 |
|---|---|---|---|---|---|
30 July 2009 16:21 [Source: ICIS news]
By Nigel Davis
?xml:namespace>
Dow CEO Andrew Liveris was equally downbeat: “Our 2009 operating plan does not count material improvements in market conditions for the remainder of the year," he said.
Both, in effect, are telling it like it is.
“In our view, the
“The economic outlo... | http://www.icis.com/Articles/2009/07/30/9236351/insight+reality+hits+home+as+majors+look+to+second.html | CC-MAIN-2013-20 | refinedweb | 609 | 52.8 |
EBooks - Fiction,
Nonfiction 1000s of them ~ Index
ToMy MotherWho Has Been My Constant Help My FatherWho Was Proud Of Me AndMy Little Brother,These Two Long Asleep On The Hill At Carney— This Book Is Lovingly InscribedV. E. R.
CHAPTER I THE
VENTURERS
CHAPTER II THE
SPRING
CHAPTER III NEW
HOMES
CHAPTER IV THE
STRANGER F... | http://vickysands.com/01/11/351.htm | CC-MAIN-2018-05 | refinedweb | 43,269 | 85.02 |
I am unable to bind an existing service to my new cluster. Running the following command displays the available services as expected.
bx service list
I then attempt to bind one of the existing services to my new cluster called myfirstcluster, but it fails to bind
bx cs cluster-service-bind myfirstcluster default rabbit... | https://developer.ibm.com/answers/questions/437735/$%7Bauthor.url%7D/ | CC-MAIN-2019-30 | refinedweb | 232 | 65.93 |
Hi body, i just want to test gets with rspec, I see something on
stackoverflow but doest work to me
I would like to know too
When i run the tests a method that should be tested has called gets
method and it run when i test, so i have to push ENTER to pass the gets
method ever time i test the app.
Someone know how can i... | https://www.ruby-forum.com/t/test-gets-with-rspec/244817 | CC-MAIN-2021-49 | refinedweb | 289 | 77.16 |
Code. Collaborate. Organize.
No Limits. Try it Today.
Some of the following code is adapted from projects I’ve worked on and some is code I specifically wrote to help people studying for the Sun Certified Programmer Exam for Java 6 to see how well they understood a topic.
Let’s start with a relatively easy one and save... | http://www.codeproject.com/Articles/36088/Java-Mini-Puzzler?msg=3033566 | CC-MAIN-2014-23 | refinedweb | 1,984 | 71.24 |
I'm making an Android app with Unity3D and it works with click detection already, but not with touch. I need touch though for multitouch detection.
What I want: I have my player and 2 images of arrows. One arrow points right and one left. When I touch the left arrow the player should start moving left, when I touch the... | https://codedump.io/share/ws3CixAFnWec/1/how-do-i-get-touch-working-in-unity3d | CC-MAIN-2016-50 | refinedweb | 1,064 | 67.65 |
Ok, community. We'll top 100 responses to this thread any second now. We need to start curating some of the data so the feedback is captured. I have attempted to kick start something a bit wiki-like that can be updated via PRs: - Things that need doing: - A full audit of each spec's "other" javax usage (PRs welcome!!) ... | https://www.eclipse.org/lists/jakartaee-platform-dev/msg00130.html | CC-MAIN-2019-26 | refinedweb | 118 | 50.7 |
how to print only digits from file line separated by hyphen in python This is the input file
Below is the output expected
1 1800 555 555 8821
I tried using re but couldnt get what exact i want.
2 answers
- answered 2017-11-12 20:20 DRPK
Try This ( i wrote a function for you ):
def re_make_string(get_string): buffer_las... | http://quabr.com/47253256/how-to-print-only-digits-from-file-line-separated-by-hyphen-in-python | CC-MAIN-2018-30 | refinedweb | 400 | 57.74 |
table of contents
NAME¶
process_vm_readv, process_vm_writev - transfer data between process address spaces
SYNOPSIS¶
#include <sys/uio.h>
ssize_t process_vm_readv(pid_t pid, const struct iovec *local_iov, unsigned long liovcnt, const struct iovec *remote_iov, unsigned long riovcnt, unsigned long flags);
ssize_t process... | https://dyn.manpages.debian.org/unstable/manpages-dev/process_vm_writev.2.en.html | CC-MAIN-2022-21 | refinedweb | 873 | 62.58 |
Basics of Model-View-Controller (MVC4)
Description:Followings tips will be helpful for you at the time of making application using MVC4.0 where you have to take multiple controls. If you are beginner then you can easily use these tips as per requirements.
1) How to create listbox in view(.cshtml) in which user can sele... | https://www.dotnetspider.com/resources/44779-Basics-Model-View-Controller-MVC4.aspx | CC-MAIN-2020-40 | refinedweb | 237 | 52.76 |
Mysql & java - JDBC
to connect to mysql 5.1 using java. But it shows error about: Class.forName...) {
System.out.println("MySQL Connect Example.");
Connection conn = null;
String url = "jdbc:mysql://localhost:3306/";
String dbName
jdbc import java.sql.*;
public class MysqlConnect{
public static void main(String[] args)... | http://www.roseindia.net/tutorialhelp/comment/97766 | CC-MAIN-2014-35 | refinedweb | 2,115 | 51.65 |
Land cover is a key variable in the context of climate change. In particular, crop type information is essential to understand the spatial distribution of water usage and anticipate the risk of water scarcity and the consequent danger of food insecurity. This applies to arid regions such as the Aral Sea Basin (ASB), Ce... | https://mlhub.earth/data/idiv_asia_crop_type | CC-MAIN-2022-27 | refinedweb | 234 | 56.35 |
TextPrinter.Print does not properly handle text with newline characters.Posted Monday, 27 April, 2009 - 02:20 by Kamujin
Description
textPrinter.Print("Line1\nLine2\nLine3", font, Color.Black);
...prints all 3 lines to the same line.
Additionally,
textPrinter.Measure("Line1\nLine2\nLine3", font).BoundingBox;
...returns... | http://www.opentk.com/node/814 | CC-MAIN-2014-52 | refinedweb | 440 | 68.87 |
Serializing Java Objects with XStream
August 18,.
XStream is being actively developed by a small project team with over a dozen contributors. It promises to become a very useful tool for persistence and transport; and I think it embraces, as does Joe Walnes, some virtues of agile programming.
Joe Walnes explained the f... | http://www.xml.com/pub/a/2004/08/18/xstream.html | CC-MAIN-2018-05 | refinedweb | 1,029 | 59.9 |
Details
Description
After investigating high CPU usage on some producers in production, we found out that a lot of time was passed in string construction for logging of DEBUG and TRACE level.
This patch removes most of the logging calls, on our systems it cuts CPU usage down to half of what it used to be.
Note that thi... | https://issues.apache.org/jira/browse/KAFKA-1115 | CC-MAIN-2016-36 | refinedweb | 508 | 59.4 |
Performance Comparison of Primitive Lists in Java
Last modified: May 7, 2019
1. Overview
In this tutorial, we’re going to compare the performance of some popular primitive list libraries in Java.
For that, we’ll test the add(), get(), and contains() methods for each library.
2. Performance Comparison
Now, let’s find ou... | https://www.baeldung.com/java-list-primitive-performance | CC-MAIN-2019-22 | refinedweb | 976 | 50.23 |
Enhanced version of Python's SimpleHTTPServer that supports HTTP Range
I've just uploaded a small personal project to GitHub here. It's basically a very crude webserver that allows me to share audio files on my Linux boxes to my iOS devices, using Mobile Safari.
The main reason for noting this is that the code may be o... | https://www.john-smith.me/tag/mobile-safari.html | CC-MAIN-2019-04 | refinedweb | 474 | 54.66 |
As you probably noticed by now, we've been using a lot of JSX in the previous tutorials. What we really haven't done is taken a good look at what JSX actually is. How does it actually work? Why do we not just call it HTML? What quirks does it have up its sleeve? In this tutorial, we'll answer all of those questions and... | https://www.kirupa.com/react/meet_jsx_again.htm | CC-MAIN-2017-09 | refinedweb | 1,893 | 56.35 |
The first digit of a power of 2 is a 1 more often than any other digit. Powers of 2 begin with 1 about 30% of the time. This is because powers of 2 follow Benford’s law. We’ll prove this below.
When is the first digit of 2n equal to k? When 2n is between k × 10p and (k+1) × 10p for some positive integer p. By taking lo... | https://www.johndcook.com/blog/2017/06/20/leading-digits-of-powers-of-2/ | CC-MAIN-2017-26 | refinedweb | 832 | 73.47 |
Inspired by this Stack Overflow question. Give the asker an upvote if you have a minute.
It often occurs when writing a T4 template that you need to reference some element of the project containing the template. However, simply trying to reference a variable or call a function can be very frustrating. Especially becaus... | http://www.levibotelho.com/development/referencing-project-elements-in-a-t4-file/ | CC-MAIN-2018-34 | refinedweb | 325 | 52.8 |
08 May 2009 17:23 [Source: ICIS news]
LONDON (ICIS news)--US specialty chemicals group Cytec does not expect its coatings resins business to return to pre-downturn performance until 2012-13, it said on Friday.
In an interview with ICIS news, president of the specialty chemicals division, Frank Aranzana, said there were... | http://www.icis.com/Articles/2009/05/08/9214793/cytec-sees-no-recovery-for-coatings-chems-until-2012-13.html | CC-MAIN-2014-10 | refinedweb | 489 | 52.49 |
XUL documents and elements have a getElementsByAttribute() method. It'd really
be nice to support this for elements with non-null namespaces as well.
(In reply to comment #0)
>support this for elements with non-null namespaces as well.
Err, I mean attributes, not elements.
How about we fix GetElementsByAttribute to be ... | https://bugzilla.mozilla.org/show_bug.cgi?id=239976 | CC-MAIN-2016-44 | refinedweb | 1,120 | 51.04 |
Building a React Native Mobile App with AWS Amplify and Expo
Aman Mittal—
May 09, 2019
There is a joke going in dev community about serverless tech stacks using servers?! Some of the trolls even take that this an offensive way. What are they missing out is the advantages Serverless computing has to offer. Advantages li... | https://amanhimself.dev/building-a-react-native-mobile-app-with-aws-amplify-and-expo/ | CC-MAIN-2020-10 | refinedweb | 3,434 | 65.52 |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.9) Gecko/20050626 Firefox/1.0.5
According to Bonsai, some url-checks of image.src have been added for bug 292774
and bug 292737 (I cannot see bug 292774 and bug 2... | https://bugzilla.mozilla.org/show_bug.cgi?id=298892 | CC-MAIN-2016-30 | refinedweb | 1,353 | 60.61 |
Created on 2016-05-20 12:23 by haypo, last changed 2016-12-15 15:33 by brendan-donegan.
The webbrowser opens almost all browsers in background mode, it looks like only Elinks is not opened in this mode.
Problem: the webbrowser doesn't read the exit status of the browser, and so create zombi process. On Python 3.6, the ... | http://bugs.python.org/issue27069 | CC-MAIN-2017-13 | refinedweb | 293 | 68.97 |
Last week we looked at creating a new task in an Ember application.
This involves accepting data from the form, creating a new task in Ember Data, and then saving the task, which will send a POST request to the server.
A good API will validate incoming data to ensure that it is of the correct format. This will typicall... | https://www.culttt.com/2015/08/03/adding-validation-to-ember-forms/ | CC-MAIN-2018-51 | refinedweb | 845 | 62.98 |
README
@activescott/cookieconsent@activescott/cookieconsent
This is a just-enough-working fork of. This fork has the following differences:
- It works. I had to update some dependencies to get it to even build. It appears that Osano has decided to abandon the open source version of their package with a response of "we ... | https://www.skypack.dev/view/@activescott/cookieconsent | CC-MAIN-2022-27 | refinedweb | 1,139 | 56.76 |
Attribute Interface for file I/O. More...
#include <GA_AIFFileH9.h>
Attribute Interface for file I/O.
This class provides an interface used to save and load attributes to and from files.
In H9, the attributes stored their data interleaved for each element. GA prefers to process data in arrays rather than interleaved. T... | http://www.sidefx.com/docs/hdk/class_g_a___a_i_f_file_h9.html | CC-MAIN-2018-51 | refinedweb | 238 | 62.34 |
Dim oCars as Object
Dim oCar as Object
Set oCars = oComVB6.FetchCarsByColour("blue")
For Each oCar in oCars
MsgBox "Make is " & oCar.Make
Next oCar
Skip forward a few years: Vantive is still kicking and it is time to convert your VB6 COM component to .Net. Our VB6 Collection object is gone, what will we use instead? Wh... | http://juststuffreally.blogspot.com/2008/07/moving-your-vb6-com-collections-to-net.html | CC-MAIN-2018-43 | refinedweb | 201 | 75.71 |
Three times a week (Monday/Wednesday/Friday), John Savill tackles your most pressing IT questions. Read through the FAQ archives, or send him your questions via email.
Q. How can I reinstall OneDrive on Windows 10?
Q. How can I make my DFS Namespace highly available?
Q. If my DFS Namespace is unavailable will DFS-R sto... | http://www.itprotoday.com/cloud-data-center/mixed-bag-onedrive-and-distributed-file-system-availability | CC-MAIN-2018-30 | refinedweb | 566 | 63.39 |
When a system fails or aborts a shadow set, this significant event
causes every shadow set to be reassessed by all other systems with that
shadow set mounted. All active minimerge, full merge, or copy
operations cease at this time, returning their resources to those
systems. (However, if a system is performing a minico... | http://h71000.www7.hp.com/doc/82final/6675/6675pro_010.html | CC-MAIN-2016-07 | refinedweb | 1,637 | 50.46 |
SharePoint 2010 introduces a new client side object model (hereafter referred to as the “client OM”) for retrieving data. It supports a subset of functionality contained in the server side object model, but generally speaking gives you ready access to the data in your SharePoint site using standard object model nomencl... | https://blogs.technet.microsoft.com/speschka/2009/11/01/using-the-sharepoint-2010-client-object-model-part-1/ | CC-MAIN-2016-36 | refinedweb | 1,451 | 52.6 |
0
/*Ok I have code that's behaving unexpectedly
The following program is supposed to print prime numbers for n1=100,n2=1000,n3=10000 and n4=100000 except that for n1=100, it prints the squares of primes less than 10. I can implement this same program in c++ and wouldn't get such output. I need another pair of eyes to l... | https://www.daniweb.com/programming/software-development/threads/433305/why-does-my-program-print-squares-of-numbers | CC-MAIN-2018-13 | refinedweb | 155 | 66.23 |
I have a string containing some text. The text may or may not be code. Using Github's Linguist, I have been able to detect the likely programming language only if I give it a list of candidates.
# test_linguist_1.rb
#!/usr/bin/env ruby
require 'linguist'
s = "int main(){}"
candidates = [Linguist::Language["Python"], Li... | https://codedump.io/share/hlgnkHNQUZ08/1/how-can-i-detect-the-programming-language-of-a-snippet | CC-MAIN-2016-44 | refinedweb | 878 | 51.55 |
Hello guys.
I need to create 20X30m polygons at random positions within a predefined boundary. And I also need the number of polygons created equal 25% of the area.
Any suggestion?
Hello guys.
I need to create 20X30m polygons at random positions within a predefined boundary. And I also need the number of polygons creat... | https://community.esri.com/thread/208112-random-polygons | CC-MAIN-2018-34 | refinedweb | 977 | 50.02 |
Unity 2018.2.8f1さっそく、アップデートしましょう!
リリースノート
Fixes
- (1071483 (1062852)) - Android: Fixed crash when returning null string from Java plugin.
- (1065609) - Asset Import: Fixed renaming or changing the namespace containing a scripted importer breaking the auto-reimport mechanism.
- (1073894) - Editor: Fixed an issue where l... | https://unity3d.com/jp/unity/whatsnew/unity-2018.2.8 | CC-MAIN-2019-18 | refinedweb | 415 | 57.47 |
Activation functions
What is Activation function: It is a transfer function that is used to map the output of one layer to another. In daily life when we think every detailed decision is based on the results of small things. let’s assume the game of chess, every movement is based on 0 or 1. So in every move, we use the... | http://www.machineintellegence.com/different-types-of-activation-functions-in-keras/ | CC-MAIN-2020-34 | refinedweb | 1,529 | 65.12 |
Catalyst::Controller::Imager - generate scaled or mangled images
version 0.05
# use the helper to create your Controller script/myapp_create.pl controller Image Imager # DONE. READY FOR USE. # Just use it in your template: # will deliver a 200 pixel wide version of some_image.png as jpg <img src="/image/w-200/some_imag... | https://metacpan.org/pod/Catalyst::Controller::Imager | CC-MAIN-2014-23 | refinedweb | 1,569 | 53.92 |
Overview
Atlassian SourceTree is a free Git and Mercurial client for Windows.
Atlassian SourceTree is a free Git and Mercurial client for Mac.
murature.py
basic usage
You need a recent version of Python. This scripts have been tested with Python 2.4 and 2.5.
You will need also the Python OGR bindings and the RPy module... | https://bitbucket.org/steko/murature | CC-MAIN-2017-30 | refinedweb | 1,606 | 60.95 |
This week’s email is out with a delay thanks to a scheduling snafu, apologies to those left waiting on Tuesday morning.
Two issues prior we discussed _email _in Django apps and in doing so I brought up another topic: templates. One step that can help manage email in any Django project is developing a consistent system ... | https://wellfire.co/this-old-pony/making-django-templates-manageable--this-old-pony-49/ | CC-MAIN-2019-22 | refinedweb | 1,009 | 59.53 |
QT Conflict starting Explorer from Matlab -- ERROR: exceptions.ImportError:
Bug Description
When I try to start bzr explorer from matlab, it fails to start and I get the error below. Matlab also contains a QT framework, and I assume there is a conflict between the two. Not sure if there is a workaround for bzr?
>> !bzr... | https://bugs.launchpad.net/bzr-mac-installers/+bug/853862 | CC-MAIN-2015-14 | refinedweb | 294 | 69.58 |
ST(4) NetBSD Kernel Interfaces Manual ST(4)Powered by man-cgi (2021-06-01). Maintained for NetBSD by Kimmo Suominen. Based on man-cgi by Panagiotis Christias. bus is scanned for devices. Any devices found which answer as `Sequential' type devices will be attached to the st driver.
MOUNT SESSIONS
The an `unmount device'... | https://man.netbsd.org/NetBSD-9.2/i386/st.4 | CC-MAIN-2021-39 | refinedweb | 446 | 75.4 |
Subject: Re: [boost] What C++14/1z standard or TS libraries would you like to have available on a C++11 compiler?
From: Edward Diener (eldiener_at_[hidden])
Date: 2016-05-22 12:19:49
On 5/22/2016 11:40 AM, Vicente J. Botet Escriba wrote:
> Hi,
>
> I would like to have your feedback on C++ standard library features you
... | https://lists.boost.org/Archives/boost/2016/05/229845.php | CC-MAIN-2021-31 | refinedweb | 287 | 76.52 |
Delegates are special types supported by the .NET Framework that represent a strongly typed method signature. Delegates can be instantiated and formed over any target method and instance combination where the method matches the method’s signature. C# allows the creation of special classes using the delegate keyword. We... | https://www.codeproject.com/articles/41777/net-framework-delegates-understanding-asynchronou?fid=1548354&df=90&mpp=10&noise=1&prof=true&sort=position&view=expanded&spc=none | CC-MAIN-2017-04 | refinedweb | 3,015 | 54.52 |
Re: [jslint] Re: This eval is not evil
Expand Messages
- On Thu, Oct 18, 2012 at 6:46 PM, Marcel Duran <marcelduran@...>
wrote:
> client['eval'.toString()]("return 100.5", 0, function (err, res) {Interesting hack, but I don't think this improves readability.
Anyways, it's easier to just use alternative names:
client.EV... | https://groups.yahoo.com/neo/groups/jslint_com/conversations/topics/3059?var=0&l=1 | CC-MAIN-2015-35 | refinedweb | 390 | 63.49 |
Sean Leather wrote: > That doesn't work if you want to use two packages that have modules > sharing the same hierarchical name, and this is a definite possibility > given my statements above. Of course, having the ability to import > modules from specific packages [1] would fix this, but only as long as > the package n... | http://www.haskell.org/pipermail/haskell-cafe/2008-August/046168.html | CC-MAIN-2014-42 | refinedweb | 1,189 | 60.24 |
hi im stuck with an IndentationError someone can help me
def shipping_cost_ground(weight): if weight <= 2: price_per_pound = 1.50 elif weight <= 6: price_per_pound = 3.00 elif weight <= 10: price_per_pound = 4.00 else: price_per_pound = 4.75 return 20 + (price_per_pound * weight) print(shipping_cost_ground(8.4)) shippi... | https://discuss.codecademy.com/t/sal-shipping-indentationerror/437644 | CC-MAIN-2019-43 | refinedweb | 131 | 62.85 |
The fastest way to get started experimenting with Mappedin Web SDK is to fork the Mappedin template CodeSandbox.
Mappedin Web SDK v4 is available as @mappedin/mappedin-js in NPM.
To start a new project locally, we introduce a fast way to do that using Vite. More information about setup options is in the Vite Getting St... | https://developer.mappedin.com/web-sdk/v4/getting-started/ | CC-MAIN-2022-33 | refinedweb | 237 | 57.77 |
Next: Character Strings in Oct-Files, Previous: Getting Started with Oct-Files, Up: Oct-Files [Contents][Index]
Octave supports a number of different array and matrix classes, the majority of which are based on the Array class. The exception is the sparse matrix types discussed separately below. There are three basic m... | http://www.gnu.org/software/octave/doc/interpreter/Matrices-and-Arrays-in-Oct_002dFiles.html | CC-MAIN-2015-35 | refinedweb | 765 | 54.22 |
I need to implement a read / write function for my node.cpp file. I had a friend suggest using (partially) a queue to write / restore tree structure from the input file that will be used to test the program (do not have access to it). Below you will see my three files. The one that needs to be manipulated is node.cpp.
... | http://www.dreamincode.net/forums/topic/324329-help-with-readwrite-for-queue/ | CC-MAIN-2016-07 | refinedweb | 1,038 | 69.72 |
Why encrypt?
It's normal when you start making software to not worry about many things: performance, security, or even the products you make. However, if you have a product that people are starting to use, you owe it to them to make their data safe.
Encryption is used to change data so that it cannot be read unless the... | https://blog.tecladocode.com/learn-python-password-encryption-with-flask/ | CC-MAIN-2019-26 | refinedweb | 531 | 62.58 |
I was following this tutorial and finally wanted to test whole code:
#include <iostream> #include <winsock2.h> #include <errno)) == -1) { std::cout<<"Failed to establish connection with server\r\n"<<WSAGetLastError();; }However, I'm getting error 10061 all the time, which means connection refused. I'm totally confused ... | http://www.gamedev.net/topic/629606-winsock-connection-refused-to-localhost/?forceDownload=1&_k=880ea6a14ea49e853634fbdc5015a024 | CC-MAIN-2016-36 | refinedweb | 119 | 51.04 |
The there are a few more things, such as a new built-in code cleanup profile for applying code style settings. Let’s have a look, shall we?
DOWNLOAD ReSharper 2019.1 EAP
Export EditorConfig from ReSharper code style settings
Many teams are using EditorConfig to customize code style settings across IDEs and editors. Fro... | https://blog.jetbrains.com/dotnet/2019/03/28/export-editorconfig-code-style-optimize-references-sdk-projects-resharper-2019-1-eap-updates/?replytocom=552863 | CC-MAIN-2019-47 | refinedweb | 914 | 56.15 |
SHFormatDateTime function
[SHFormatDateTime is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]
Produces a string representation of a time specified as a FILETIME structure.
Syntax
Parameters
- pft [in]
Type: const FILETIME UNALI... | https://msdn.microsoft.com/en-us/library/bb773833(v=vs.85).aspx | CC-MAIN-2015-11 | refinedweb | 679 | 50.84 |
Pop Searches: photoshop office 2007 PC Security
You are here: Brothersoft.com > Windows > Internet > News Readers >
Advertisement
Advertisement
view larger (1)
Advertisement
import text file | hsbc.co.uk.com | wallpaper uk | casino uk | dts logo free | google uk | avast real time | bejeweled 2 for | format factory ver.... | http://www.brothersoft.com/uk-news-170459.html | CC-MAIN-2018-22 | refinedweb | 171 | 55.84 |
I created a sample ASP.NET MVC application that I plan to post at the website. While the application was being code reviewed by the ASP.NET MVC Feature team, a surprising objection surfaced.
The application is extremely simple. It contains a view that renders a list of database records. Next to each record, there is an... | http://stephenwalther.com/archive/2009/01/21/asp-net-mvc-tip-46-ndash-donrsquot-use-delete-links-because | CC-MAIN-2021-04 | refinedweb | 5,927 | 65.22 |
boost/beast/zlib/zlib.hpp
// // Copyright (c) 2016-2019 Vinnie Falco (vinnie dot falco at gmail dot com) // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at) // // Official repository: // // This is a derivative work based on Zlib, copyright below: /* Co... | https://www.boost.org/doc/libs/develop/boost/beast/zlib/zlib.hpp | CC-MAIN-2021-43 | refinedweb | 400 | 58.58 |
React和Node.js入门指南.
The rationale for this is that JavaScript is very fast and it's worth keeping a DOM tree in it to speedup its manipulation.
React is not a framework though. Think of it as the "View" in your traditional MVC framework.
Although React was conceived to be used in the browser, because of its design it ca... | https://wohugb.gitbooks.io/react-webpack-cookbook/content/getting-started.html | CC-MAIN-2021-04 | refinedweb | 2,485 | 60.72 |
Created on 2010-10-26 12:18 by jldm, last changed 2015-02-24 08:56 by gregory.p.smith. This issue is now closed.
Hi, first of all sorry for my English.
On windows XP SP3, the following code:
import subprocess
subprocess.getoutput("dir")
returns
'"{" is not recognized as an internal or external command,\noperable progra... | https://bugs.python.org/issue10197 | CC-MAIN-2017-22 | refinedweb | 1,977 | 67.65 |
Read here for LOTS more of these
@ForestOwl, do you remember the thread you created about vector.unitize()
You’re making the same mistake here.
shuffle will modify the list and not create another one.
so not
print a but rather
print thing
Can this,
be somehow fixed with the Rhino embedded python engine?
I can imagine h... | https://discourse.mcneel.com/t/python-derivativeat/81591/35 | CC-MAIN-2022-05 | refinedweb | 907 | 75.1 |
Custom USB games controllers with Raspberry Pi Pico | HackSpace 42
Games controllers – like keyboards – are very personal things. What works for one person may not work for another. Why, then, should we all use almost identical off-the-shelf controllers? In the latest issue of HackSpace magazine, we take a look at how ... | https://www.raspberrypi.org/blog/custom-usb-games-controllers-with-raspberry-pi-pico-hackspace-42/ | CC-MAIN-2021-21 | refinedweb | 2,211 | 71.34 |
Due 9am, Monday, October 03 2016
In this prelab, you will familiarize yourself with some of the design and implementation issues in the upcoming lab 4. Please write or type up your solutions, and hand in a paper copy before class on Monday. Remember, late prelabs receive zero credit.
In this section of the lab you will... | https://www.cs.oberlin.edu/~rhoyle/16f-cs151/lab04/prelab.html | CC-MAIN-2017-51 | refinedweb | 508 | 60.38 |
Velo by Wix: Event handling of Repeater Item
In this post, we consider why we shouldn't nest event handler inside the Repeater loop and how we can escape it.
At first sight, the adding event handling for repeated items looks easy. You just handling events of repeated items inside Repeater loop methods there you have al... | https://shoonia.site/event-handling-of-repeater-item | CC-MAIN-2021-49 | refinedweb | 1,087 | 58.38 |
Hello, On Thu, Dec 30, 2004 at 10:58:08PM +0000, Roger Leigh wrote: > "Marcelo E. Magallon" <mmagallo@debian.org> writes: > > > On Fri, Dec 31, 2021 at 10:38:46AM -0300, Eduardo Marcel Macan wrote: > > > > > Mini-XML is a small XML parsing library that you can use to > > > read XML and XML-like data files in your appli... | https://lists.debian.org/debian-devel/2005/01/msg00096.html | CC-MAIN-2019-18 | refinedweb | 218 | 74.9 |
Artifact fc8c51f0b61bc803ccdec092e130bebe762b0a2f:
- File src/encode.c — part of check-in [0a12473c] at 2004-03-17 18:44:46 on branch trunk — The sqlite_trace() API only works for commands started by the user, not for SQL commands run during initialization. (CVS 1298) (user: drh size: 8974)
/* ** not used by any other ... | https://sqlite.org/src/artifact/fc8c51f0b61bc803 | CC-MAIN-2019-47 | refinedweb | 1,225 | 70.84 |
Good news, all tables can be accessed in a Hive notebook. One simply needs to keep in mind that different connections correspond to different namespaces.
To access table foo from another connection, prefix its name by the database name (for instance “db_bar”):
SELECT count(*) FROM db_bar.foo
Note that you'll need to re... | http://answers.dataiku.com/221/access-tables-from-several-connections-in-a-hive-notebook | CC-MAIN-2019-35 | refinedweb | 117 | 63.39 |
Nokia QVGA TFT LCD for the Arduino Mega. Graphics Library (part 2 of 2)
In part 1 of this two part series I presented the hardware design and build for the Nokia 6300 TFT that shows how we can connect it directly to the external memory interface of the Arduino Mega and that by doing so we achieve the fastest possible i... | http://andybrown.me.uk/wk/2012/06/04/nokia-qvga-tft-lcd-for-the-arduino-mega-graphics-library-part-2-of-2/ | CC-MAIN-2014-52 | refinedweb | 6,884 | 54.63 |
1. CSS box model and weird box model
1、**Standard box modelinwidthRefers to the content areacontentWidth of the;heightRefers to the content areacontentThe height of the.
Size of box under standard box model = content + border + padding + margin
2、Weird box modelMediumwidthThe width of border and padding refers to the t... | https://developpaper.com/basic-javascript/ | CC-MAIN-2022-33 | refinedweb | 5,578 | 51.78 |
This hack shows you how to go much further than mere clipboard access by digging into the lower levels of the Drag and Drop APIs and building a program that can save files directly to the desktop via dragging, complete with proper file icons and drag feedback.
When you use an editor to write a large document, you often... | http://archive.oreilly.com/pub/h/4873 | CC-MAIN-2015-06 | refinedweb | 1,612 | 56.66 |
Name:
[14849] antiRTFM
Member: 67 months
Authored: 50 videos
Description: Video tutorials about programming in the C++ programming language. ...
C++ Tutorial (6) - Absolute n00b spoonfeed [ID:1279] 6: * Text vs Code * Escape characters * Math Calculations
Forum:
Got any questions?
Get answers in the ShowMeDo Learners ... | http://showmedo.com/videotutorials/video%3Fname%3D6780050 | CC-MAIN-2014-42 | refinedweb | 361 | 86.6 |
Let's give a go at a very simple program that prints out "Hello World" to standard out (usually your monitor). We'll call our little program hello.c.
#include <stdio.h> main() { printf("Hello, world!\n"); return 0; }
What's all this junk just to print out Hello, World? Let's see what's happening:
Seems like trying to f... | http://randu.org/tutorials/c/intro.php | crawl-001 | refinedweb | 564 | 68.87 |
23 August 2011 23:59 [Source: ICIS news]
LONDON (ICIS)--European base oil solvent neutral (SN)150 and SN500 export prices have fallen $50/tonne (€35/tonne) this week because of rising supply and sluggish demand, markets sources said on Tuesday.
In order to move product in a slow market, European suppliers are indicatin... | http://www.icis.com/Articles/2011/08/23/9487409/europe-base-oil-export-prices-fall-on-rising-supply-weak-demand.html | CC-MAIN-2014-35 | refinedweb | 226 | 62.98 |
Have you tried to add new column in pandas dataframe?
So this is the recipe on how we can assign a new column in a Pandas DataFrame.
import pandas as pd
We have only imported pandas which is needed.
We have created a empty dataframe and added columns to it.
df = pd.DataFrame()
df["StudentName"] = ["John", "Steve", "Sar... | https://www.projectpro.io/recipes/assign-new-column-in-pandas-dataframe | CC-MAIN-2021-43 | refinedweb | 105 | 80.11 |
This tutorial will demonstrate how to use the Twitter API in WebMatrix using Razor. If you do not understand the basic concepts of WebMatrix you should go to for discussion and additional tutorials. You can also download WebMatrix from this site.
These steps will create the initial web site. At this point there is no c... | http://www.microsoft.com/web/post/learning-the-basics-of-using-the-twitter-api-in-aspnet-web-pages-with-razor-syntax?category=WebMatrix | CC-MAIN-2014-52 | refinedweb | 1,218 | 55.24 |
Namespaces tab
Namespaces are URIs (Uniform Resource Identifiers) that uniquely identify a set of resources on the Internet. Because URIs can be very lengthy, shorthand aliases called prefixes are typically defined and used in XML files to make the XML more readable.
The Namespaces tab lists all of the namespace URIs a... | http://help.eclipse.org/2019-09/topic/org.eclipse.bpel.help/html/Reference/CommonProperties/namespacesTab.html | CC-MAIN-2019-43 | refinedweb | 118 | 55.98 |
Question:
I am relatively new to Flex/ActionScript, but I have been using a pattern of creating one file per function in my util package - with the name of the file being the same as the name of the function. Like if the file was convertTime.as:
package util{ public function convertTime(s:String):Date{ ... } }
This way... | http://www.toontricks.com/2018/05/tutorial-one-file-per-functionareally.html | CC-MAIN-2018-47 | refinedweb | 787 | 61.36 |
State is a structure that provides a functional approach to handling application state.
State<S, A> is basically a function
S -> Tuple2(S, A), where
S is the type that represents your state and
A is the result the function produces. In addition to returning the result of type
A, the function returns a new
S value, whic... | http://arrow-kt.io/docs/datatypes/state/ | CC-MAIN-2018-17 | refinedweb | 569 | 59.19 |
Please visit our new home community.embarcadero.com.
By: Wayne Niddery
Abstract: Created as an ECO learning vehicle for myself, it acts as a practical example demonstrating various abilities of ECO and that, even for such a modest project, ECO is an advantage and should never be considered “overkill”.
As part of learni... | http://edn.embarcadero.com/article/33669 | CC-MAIN-2018-09 | refinedweb | 6,374 | 65.01 |
"A.M. Kuchling" <amk at amk.ca> wrote in message news:<vu-cnZQgo5841mWjXTWcrg at speakeasy.net>... > On 24 Jun 2003 01:52:27 -0700, > Paul Boddie <paul at boddie.net> wrote: > > The thing is that Python and its developers quite often have to live > > (and work) alongside other technologies; having a set of common APIs ... | https://mail.python.org/pipermail/python-list/2003-June/228692.html | CC-MAIN-2016-36 | refinedweb | 609 | 68.1 |
Exercise 1: Dust off that Compiler
In this second exercise, its all about writing code and seeing what happens. Click here for the tutorial’s index page.
This is the code snippet for this exercise.
#include <stdio.h> /*This is a comment*/ int main(int argc, char *argv[]) { int distance = 100; //This is another comment ... | https://wilfred.githuka.com/post/ex1/ | CC-MAIN-2020-24 | refinedweb | 374 | 73.07 |
In our earlier blog The Tale of ‘Tail Recursion’, we have talked about tail recursion. And In this blog, we will be talking about limitation of tail recursion and its solution in scala.
Unfortunately JVM doesn’t support tail call optimization, but scala does as we have seen. However, what if we are not doing simple tai... | https://blog.knoldus.com/2017/05/08/jump-higher-with-trampoline/ | CC-MAIN-2017-26 | refinedweb | 1,305 | 65.46 |
I'm trying to use the GData API to synch some text files with Google Docs.
When executing this through a plugin or the console:
import urllib2
f = urllib2.urlopen("")
I immediately get a timeout error: "urllib2.URLError: "
I've tried changing the default timeout but it doesn't help.
Any ideas?
Note: the same code works... | https://forum.sublimetext.com/t/performing-an-https-connection/372/3 | CC-MAIN-2016-22 | refinedweb | 188 | 86.81 |
Synchronous vs asynchronous MVC controllers
Advantage of using asynchronous over synchronous controller in MVC
Maybe you did not know but asp.net applications have limited number of threads available to process requests.
This value is set in your machine.config in configuration/system.web/processModel node. This file i... | https://dejanstojanovic.net/aspnet/2014/july/synchronous-vs-asynchronous-mvc-controllers/ | CC-MAIN-2021-04 | refinedweb | 545 | 62.17 |
On Thu, 10 Jul 2008, Andres Salomon wrote: > On Tue, 8 Jul 2008 09:15:14 +0200 > maximilian attems <max@stro.at> wrote: > > > On Mon, Jul 07, 2008 at 10:09:43PM +0200, Frans Pop wrote: > [...] > > > > > > I'm having serious trouble parsing what you're trying to say here. > > > Could you rephrase? > > > > you never chec... | http://lists.debian.org/debian-kernel/2008/07/msg00377.html | CC-MAIN-2013-48 | refinedweb | 210 | 82.75 |
You’ve written (or are about to write) an API in Grails. Which is quite easy, especially with all the REST API improvements in Grails 2.3. Now you want to ensure your API works correctly when the first users start hitting it with JSON. But you don’t want to write and maintain raw JSON strings – what are some existing l... | https://objectpartners.com/2014/07/15/grails-api-functional-testing/ | CC-MAIN-2019-04 | refinedweb | 710 | 69.52 |
@avan
The input was a text file that contained the following:
The year 1866 was signalized.
Latest posts made by Rachel O
- RE: Argument for getc to check for EOF is not working.
@avan
- Argument for getc to check for EOF is not working.
I am trying to read from a text file and print each sentence out with a comma in b... | https://askavan.com/user/rachel-o | CC-MAIN-2021-04 | refinedweb | 343 | 73.07 |
We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Well, I'm trying to display a random video with this code, but I want to know if I can use more String, and how I can write that.
There is another problem: the random video (2Mb, 720x576 resolution, coverted in In... | https://forum.processing.org/two/discussion/comment/25990/ | CC-MAIN-2022-05 | refinedweb | 262 | 78.55 |
On Wed, 11 Apr 2001 16:51:57 +1000, Peter Donald wrote:
>At 10:55 10/4/01 -0700, David Rees wrote:
..
>
>Not really - I would see file="log.txt" a configuration of the Facility
>rather than a task specific parameter.
>
Well, then I disagreed with what I understood and agreed with what you
intended ;).
>>
>>I prefer the... | https://mail-archives.eu.apache.org/mod_mbox/ant-dev/200104.mbox/%3Cksjvdtck8n6k3bul5fpq1guofhsk5tt19h@4ax.com%3E | CC-MAIN-2021-21 | refinedweb | 235 | 59.33 |
Some Eclipse 4 Application Platform was to make easy things easy by removing the need to know about all the concepts by hiding them using DI. The service responsible to deliver events in application built on top the Eclipse 4 Application Platform is the EventBroker-Service:
package org.eclipse.e4.core.services.events; ... | http://tomsondev.bestsolution.at/2011/02/07/enhanced-rcp-how-views-can-communicate-the-e4-way/ | CC-MAIN-2014-49 | refinedweb | 1,038 | 55.13 |
Julie Lerman
Published May, 2011
Download the code for this article:
Entity Framework Code First tuning up relationships in the fluent API. Code First conventions are very adept at recognizing common relationships between classes based on properties that point to child collections or to a single class. When your classe... | http://msdn.microsoft.com/en-us/data/hh134698 | CC-MAIN-2014-23 | refinedweb | 1,474 | 60.24 |
Greetings All.
As a heads up, I am finding that examples may fail to compare correctly
(leading to all examples failing) due to errors setting child process
limits. I plan to look into resolving this tomorrow.
--Andrew Black
Martin Sebor wrote:
> Andrew Black wrote:
>> Revised ChangeLog.
>
> Okay. I found a couple of t... | http://mail-archives.apache.org/mod_mbox/stdcxx-dev/200609.mbox/%3C45089106.802@roguewave.com%3E | CC-MAIN-2014-23 | refinedweb | 130 | 58.92 |
Back in the good old days, C# was .NET was Windows. Sure there were antique languages like VB.NET and ivory tower academia from F# but real developers used C# and the language was just fine as it was.
Sure, some additions helped, generics were ok even if they did smell suspiciously like Java. But honestly, a lot of the... | https://simonreynolds.ie/the-continued-theft-of-good-ideas-by-csharp/index.html | CC-MAIN-2022-33 | refinedweb | 1,015 | 64.2 |
As we have long learned the fact that multiple inheritance is not directly supported in Java, well that was only till Java 7. In Java 8, we can realize the concept of multiple inheritance through use of default methods without getting into diamond problem.
Let’s see how?
Table of Contents 1. What are default methods? 2... | https://howtodoinjava.com/oops/multiple-inheritance-in-java/ | CC-MAIN-2020-05 | refinedweb | 881 | 57.47 |
BBC micro:bit
Lighting The Way.
Programming
The following program demonstrates the basics of working with neopixels on the micro:bit.
from microbit import * import neopixel # Initialise neopixels npix = neopixel.NeoPixel(pin13, 12) # Define some colours red = (255,0,0) green = (0,255,0) blue = (0,0,255) # Make pixel 0 ... | http://multiwingspan.co.uk/micro.php?page=botneo | CC-MAIN-2017-22 | refinedweb | 1,234 | 80.41 |
>>!"
Back to BASIC (Score:3, Funny)
10 GOTO 20
20 GOTO 10
Re:Back to BASIC (Score:5, Informative)
Re:Back to BASIC (Score:5, Funny)
Lisp never 'comes back'. It merely recurses.
Re:Back to BASIC (Score:4, Insightful)
Lisp is easy to get good programs from. You just have to stop thinking in non-Lisp ways. What confuses p... | https://developers.slashdot.org/story/13/07/30/2348212/remember-the-computer-science-past-or-be-condemned-to-repeat-it?sbsrc=md | CC-MAIN-2017-43 | refinedweb | 6,539 | 71.04 |
Subject: Re: [OMPI devel] [OMPI svn-full] svn:open-mpi r30860 - in trunk/ompi/mca: btl/usnic rte
From: Ralph Castain (rhc_at_[hidden])
Date: 2014-02-27 16:52:00
Just to clarify my point, since the 1.7 branch was mentioned in this thread. I didn't worry about USNIC calling abort because, as Jeff pointed out, we do so in... | https://www.open-mpi.org/community/lists/devel/2014/02/14253.php | CC-MAIN-2016-30 | refinedweb | 359 | 66.17 |
I have made simple Submit score option. User inputs name and score, and they are save to the list. List saves only top 10 scores. Than, list is printed to .txt file. But it works only while program is working. When i start it again, there's only default score in .txt file. User scores weren't saved. I'm using pickle mo... | https://codedump.io/share/5Ka5X69idVnK/1/how-to-keep-list-changes-when-program-ends | CC-MAIN-2017-43 | refinedweb | 191 | 64.67 |
This column is currently focused on modeling, UML, and XML. More specifically, I am exploring the use of UML modeling for XML development and in particular how XSLT stylesheets can help through automatic derivation.
As XML has become a common feature in development projects, many developers have grown interested in int... | http://www.ibm.com/developerworks/xml/library/x-wxxm24/ | crawl-002 | refinedweb | 2,064 | 53.92 |
Alex Martelli <aleax at aleax.it> writes: > Oren Tirosh wrote: > ... >>> > Sounds like a good idea to me, if a sensible name is chosen for the >>> > "main module" (I propose 'main':-). >>> >>> My choice would have been __main__ :-) Is it really the correct way to >>> 'import __main__' instead of 'running' it? >> >> You... | https://mail.python.org/pipermail/python-list/2003-August/188595.html | CC-MAIN-2017-17 | refinedweb | 565 | 68.2 |
Following on from Andy’s post on Webcam support, here is how to use your Webcam to stream color video to your PC.
The leJOS program is:
package mypackage; import java.io.BufferedOutputStream; import java.io.IOException; import java.net.Socket; import lejos.hardware.BrickFinder; import lejos.hardware.Button; import lejo... | https://lejosnews.wordpress.com/2014/09/04/webcam-streaming/ | CC-MAIN-2017-43 | refinedweb | 1,324 | 68.67 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.