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 |
|---|---|---|---|---|---|
08 January 2010 15:23 [Source: ICIS news]
TORONTO (ICIS news)--Shell will convert its 130,000 bbl/day refinery in ?xml:namespace>
The refinery no longer fit in with Shell’s long-term strategies, the company said.
Shell announced last July it planned to either sell or close the refinery, which employs a staff of around ... | http://www.icis.com/Articles/2010/01/08/9324167/Shell-to-convert-Montreal-refinery-to-fuel-terminal.html | CC-MAIN-2014-15 | refinedweb | 132 | 53.61 |
I know this is fairly basic stuff, but please, bare with me. It's quite hot in here (35C at the moment), so my brain is probably in its melting phase.
Long story short, let's say we have a table in SQL represented in C# like this:
public class Product { public int ID { get; set; } public string Name { get; set; } publi... | https://dapper-tutorial.net/knowledge-base/11275183/csharp-database-access--dapper--sql-and-pocos---programming-design | CC-MAIN-2019-04 | refinedweb | 847 | 53.1 |
I from math import log def bench3(n): for i in xrange(n): for j in xrange(1000): # m=j+1 z=log(j+1) z1=log(j+2) z2=log(j+3) z3=log(j+4) z4=log(j+5) z5=log(j+6) z6=log(j+7) z7=log(j+8) z8=log(j+9) z9=log(j+10) return z9 Here is the result: >>> t6=timeit.Timer("bench1.bench6(10)", "import bench1") >>> t6.repeat(1,1) [0.7... | https://mail.python.org/pipermail/python-list/2007-September/439864.html | CC-MAIN-2017-30 | refinedweb | 473 | 69.52 |
sp_mergemetadataretentioncleanup not cleaning merge metadata during regular sync causing stale data in metadata tables
I recently came across an interesting situation in merge replication and thought I should write about it:
Description:
> There is a high volume replication setup with thousands of subscriber and a very... | https://docs.microsoft.com/en-us/archive/blogs/mangeshd/sp_mergemetadataretentioncleanup-not-cleaning-merge-metadata-during-regular-sync-causing-stale-data-in-metadata-tables | CC-MAIN-2020-24 | refinedweb | 581 | 52.02 |
Step-by-Step: A Simple Vue.js App
Let’s build an app! It’s going to be simple and I’ll do a lot of explaining — a kind of Vue.js show-and-tell, for newbies. If all goes well, you’ll learn how Vue sees the world, feel inspired to learn more about Vue, and have the confidence to start implementing your ideas. We’ll build... | https://medium.com/@warrenfrancis/step-by-step-a-simple-vue-js-app-55f8eb3ffc63 | CC-MAIN-2018-39 | refinedweb | 2,315 | 72.26 |
Now that installation and client setup is complete, you can now start migrating your Microsoft OracleClient application code to ODP.NET. The first thing your application will need is a reference to ODP.NET.
Adding the ODP.NET namespace makes referencing ODP.NET objects easier. In this step, we will remove the Microsoft... | http://www.oracle.com/technetwork/topics/dotnet/code-154692.html | CC-MAIN-2014-42 | refinedweb | 285 | 52.66 |
Completing Tag Names
IntelliJ IDEA automatically completes the names of tags, attributes and their values in files of the following types:DTD or Schema
If there is no schema association, IntelliJ IDEA will use the file content (tag and attribute names and their values) to complete your input.
In JSP/JSPX and XML/XSL fi... | https://www.jetbrains.com/help/idea/2016.1/completing-tag-names.html | CC-MAIN-2018-05 | refinedweb | 159 | 62.38 |
Bummer! This is just a preview. You need to be signed in with a Pro account to view the entire video.
Adding the Password Reset Token8:38 with Jason Seifer
Our application is looking pretty good! People can sign in and out of the application and everything is scoped properly. Now it's time to allow people to reset thei... | https://teamtreehouse.com/library/user-authentication-with-rails/password-resets-and-testing/adding-the-password-reset-token | CC-MAIN-2016-50 | refinedweb | 1,229 | 82.14 |
How to Use GraphQL with Ruby on Rails – Part 2 - React + Apollo Frontend
Andy Leverenz
Originally published at
web-crunch.com
on
・11 min read
Continuing on from Part 1 is the frontend portion of the tutorial. I’ll leverage React, Apollo and Tailwind CSS to build out the frontend of our Ruby on Rails and GraphQL API app... | https://practicaldev-herokuapp-com.global.ssl.fastly.net/justalever/how-to-use-graphql-with-ruby-on-rails-part-2-react-apollo-frontend-19gf | CC-MAIN-2020-05 | refinedweb | 2,657 | 50.73 |
The “Internet of Stranger Things” Wall, Part 3 – Voice Recognition and Intelligence
Overview
I called this project the “Internet of Stranger Things,” but so far, there hasn’t been an internet piece. In addition, there really hasn’t been anything that couldn’t be easily accomplished on an Arduino or a Raspberry Pi. I wa... | https://blogs.windows.com/buildingapps/2016/11/04/the-internet-of-stranger-things-wall-part-3-voice-recognition-and-intelligence/ | CC-MAIN-2018-30 | refinedweb | 3,269 | 63.39 |
To get familiar with WordPress REST API, I fired up Python started playing with the
requests module, the elegant and simple HTTP library for Python, built for human beings. Python and the WordPress REST API Handbook gave me enough information to get started.
The default cookies authentication mechanism would not work w... | https://discussion.dreamhost.com/t/how-to-post-content-to-wordpress-using-python-and-rest-api/65166 | CC-MAIN-2018-13 | refinedweb | 540 | 63.49 |
An isomorphic web app gives you the best of both server side rendering and single page application (SPA).
TL;DR
To get the code up and running on localhost:3000
$ git clone
$ cd isomorphic-router-demo
$ npm install
$ npm start
This is the repository to check out the code:
Motivation
There have been many articles writte... | https://hackernoon.com/get-an-isomorphic-web-app-up-and-running-in-5-minutes-72da028c15dd | CC-MAIN-2019-47 | refinedweb | 2,716 | 63.59 |
Handling stack overflow on custom stacks
On my computer, the callstack of a new process is around 10MB [1]. Modern operating system automatically reserve some amount of virtual memory and install protections on the page below the stack to create a segmentation fault on stack overflow. This ensures that a stack overflow... | https://rethinkdb.com/blog/handling-stack-overflow-on-custom-stacks/ | CC-MAIN-2017-47 | refinedweb | 1,315 | 60.55 |
[
]
Bill Blough updated AXIS2C-1564:
--------------------------------
Component/s: (was: xml/om)
util
> axutil_uri_parse_string() only parses URLs, not URIs
> ----------------------------------------------------
>
> Key: AXIS2C-1564
> URL:
> Project: Axis2-C
> Issue Type: Bug
> Components: util
> Affects Versions: 1.6.... | http://mail-archives.us.apache.org/mod_mbox/axis-c-dev/202004.mbox/%3CJIRA.12529566.1320097745000.2367.1586229600061@Atlassian.JIRA%3E | CC-MAIN-2021-04 | refinedweb | 267 | 52.9 |
History
[Main]
1.1.11
Added: New script function LoadEarly
Added: A new option to never ever modify load order, even if scripts request it. (For anyone who uses bash exclusivly to manage load order)
1.1.10
Fixed: Issue with bsa creator when a bsa contains many files
1.1.9
Added: New C# script functions: 'CancelDataFile... | http://timeslip.chorrol.com/obmmm/history.htm | CC-MAIN-2017-13 | refinedweb | 9,670 | 54.05 |
grandmetal 122 Report post Posted October 22, 2008 Hi, everyone. I have a problem with loading a dll in my program using LoadLibrary( LibaryName ). I'm only having that problem with a particular dll and never had that problem before. All of my other dlls are loadable and usable without problems. No significant changes ... | https://www.gamedev.net/forums/topic/512366-dll-loading-problem/ | CC-MAIN-2017-34 | refinedweb | 233 | 55.24 |
Hi Gang! I am new to the forums, and programming in general, so I apologize forthright if I am slow or just plain dense on anything/everything. With that disclaimer gotten outta the way, I have an assignment and I am not sure what exactly how to execute it. The problem is as follows:
Given Atomic Weights:
Oxygen = 15.9... | https://www.daniweb.com/programming/software-development/threads/147044/looking-for-some-help | CC-MAIN-2017-26 | refinedweb | 279 | 70.53 |
Your official information source from the .NET Web Development and Tools group at Microsoft.
Range requests is the ability in HTTP to request a part of a document based on one or more ranges. This can be used in scenarios where the client wants to recover from interrupted data transfers as a result of canceled requests... | http://blogs.msdn.com/b/webdev/archive/2012/11/23/asp-net-web-api-and-http-byte-range-support.aspx | CC-MAIN-2014-52 | refinedweb | 1,242 | 52.9 |
Agenda
See also: IRC log
<fsasaki>
fsasaki: Felix had action item to
check whether W3C can host the namespace; alternative was to
use the itsx namespace
... David mention that itsx was used by other applications, so it would need to be a different namespace
daveL: we encountered similar
things in provenance, ITS ontolo... | http://www.w3.org/2013/03/04-mlw-lt-minutes.html | CC-MAIN-2015-11 | refinedweb | 1,468 | 54.86 |
Hi I need help from you guys ,stuck with this scenario for more than a week ,thought to post it in a forum in a hope that i will get a better response from u guys. I will explain my problems clearly.I have a project wjich opens an existing excel file.My project has one jcom.dll file,jcom.jar file,sample excel file whic... | https://it.toolbox.com/question/executable-jar-file-050310 | CC-MAIN-2020-05 | refinedweb | 1,221 | 68.57 |
#include <chariter.h>
This is a minimal interface for iteration without random access or backwards iteration. It is especially useful for wrapping streams with converters into an object for collation or normalization.
Characters can be accessed in two ways: as code units or as code points. Unicode code points are 21-bi... | http://www.icu-project.org/apiref/icu4c/classForwardCharacterIterator.html | crawl-002 | refinedweb | 581 | 50.23 |
#include <wx/dataview.h>
This class is used to indicate to a wxDataViewCtrl that a certain item (see wxDataViewItem) has extra font attributes for its renderer.
For this, it is required to override wxDataViewModel::GetAttr.
Attributes are currently only supported by wxDataViewTextRendererText.
Constructor.
Returns the ... | https://docs.wxwidgets.org/3.0/classwx_data_view_item_attr.html | CC-MAIN-2019-09 | refinedweb | 193 | 68.67 |
#455 – Using ItemContainerStyle to Bind Data Elements in a Collection to a Grid
December 21, 2011 22 Comments
I showed earlier that to bind Grid.Row and Grid.Column properties on child items in an ItemsControl, we need to set up the binding on the ContentPresenter elements that contain the individual items. I did this ... | https://wpf.2000things.com/2011/12/21/455-using-itemcontainerstyle-to-bind-data-elements-in-a-collection-to-a-grid/ | CC-MAIN-2022-33 | refinedweb | 976 | 57.57 |
- Grammar
- Contracts
- Function Return Values
- Functions Without Bodies
- Pure Functions
- Nothrow Functions
- Ref Functions
- Auto Functions
- Auto Ref Functions
- Inout Functions
- Optional Parentheses
- Property Functions
- Virtual Functions
- Inline Functions
- Function Overloading
- Function Parameters
- Local V... | https://dlang.org/spec/function.html | CC-MAIN-2020-16 | refinedweb | 2,918 | 52.6 |
Bringing my Meetup APIMASH Starter Kit to Windows Phone
Bringing my Meetup APIMASH Starter Kit to Windows Phone
Join the DZone community and get the full member experience.Join For Free:
The goal of my starter kit (and the other kits on the site) is to demonstrate how to call the API from a Windows Store app, how to di... | https://dzone.com/articles/bringing-my-meetup-apimash | CC-MAIN-2018-30 | refinedweb | 2,580 | 54.93 |
A Simple Servlet for Running JUnit in Glassfish
When teaching unit testing in the context of a simple EJB3.1 application, I
was looking for an easy way of testing managed beans and session beans inside
Glassfish. Of course, one can test out-of-container or use an embedded
container (but I didn't quite figure out how to... | https://weblogs.java.net/blog/cayhorstmann/archive/2009/02/a_simple_servle.html | CC-MAIN-2015-22 | refinedweb | 793 | 58.58 |
RIP (Routing Information Protocol) was born to make system administrators happy. Every administrator who has to supervise a large number of routers with never-ending connectivity changes should know RIP. There are a lot of other routing protocols that are much better and more full-featured than RIP, but RIP was and sti... | http://www.techrepublic.com/article/understanding-the-rip-protocol/ | CC-MAIN-2017-34 | refinedweb | 2,435 | 65.42 |
Capital Asset Pricing Model (CAPM)
11/10
Markowtiz (1952) did the ground work for the CAPM (Capital Asset Pricing Model). From the study of the early theories we know that the risk of an underlying security is measured by the standard deviation of its pay off or return. Therefore, for a larger risk we will have higher ... | https://www.ukessays.com/essays/business/capital-asset-pricing-model.php | CC-MAIN-2019-09 | refinedweb | 4,898 | 50.57 |
Results 1 to 9 of 9
Thread: Good songs to start Ipod?
Good songs to start Ipod?
- Member Since
- Jan 20, 2008
- 149
I just bought a new ipod and I am filling it up with songs. Can anybody recommend me popular or well known songs?
- Member Since
- Feb 23, 2006
- Location
- Barbados
- 143
- Specs:
- PowerBook G4, 1.5Ghz,... | http://www.mac-forums.com/forums/ipod-hardware-accessories/95191-good-songs-start-ipod.html | CC-MAIN-2016-18 | refinedweb | 1,869 | 82.2 |
# Wireshark 3.x: code analysis under macOS and errors review

Wireshark Foundation released the final stable-version of the popular network traffic analyzer — Wireshark 3.0.0. The new release fixe... | https://habr.com/ru/post/447156/ | null | null | 2,114 | 51.04 |
Hey, Iv decided to tackle a bit off C++ before I start it in college in fall and Im sort of stuck on a problem. The book im reading is Accelerated C++ and its exercise 3.2.
Basically the question asks to get values from the user and take for at a time and give the sum of it...I have taken a few liberties since the actu... | https://www.daniweb.com/programming/software-development/threads/123210/accelerated-c-question | CC-MAIN-2018-05 | refinedweb | 306 | 69.41 |
Before starting the article, I’m obliged to mention that web scraping is a grey area legally and ethicaly in lots of circumstances. Please consider the positive and negative effects of what you scrape before doing so!
Warning over. Web scraping is a hugely powerful tool that, when done properly, can give you access to ... | https://fcpython.com/blog/introduction-scraping-data-transfermarkt | CC-MAIN-2022-33 | refinedweb | 1,049 | 72.26 |
Join the 85,000 open source advocates who receive our giveaway alerts and article roundups.
SSH into your Christmas tree with Raspberry Pi
SSH into your Christmas tree with Raspberry Pi
Get the newsletter
Earlier this year, I wrote an article about how to use the Raspberry Pi to create a music light show using an open ... | https://opensource.com/life/15/12/ssh-your-christmas-tree-raspberry-pi?utm_content=buffer32a11&utm_medium=social&utm_source=twitter.com&utm_campaign=buffer | CC-MAIN-2019-04 | refinedweb | 1,017 | 63.8 |
The statements introduced in this chapter will involve tests or conditions. More syntax for conditions will be introduced later, but for now consider simple arithmetic comparisons that directly translate from math into Python. Try each line separately in the Shell
2 < 5 3 > 7 x = 11 x > 10 2 * x < x type(True)
You see ... | http://anh.cs.luc.edu/python/hands-on/3.1/handsonHtml/ifstatements.html | CC-MAIN-2014-15 | refinedweb | 5,944 | 64.41 |
Your Account
If you’ve read through most of this book, you’ll notice that it
doesn’t have much of a “Do this, not that” theme. Ruby as a language doesn’t
fit well into that framework, as there are always exceptions to any rule you
can come up with..
However, there are certainly a few things you really shouldn’t do,
unl... | http://archive.oreilly.com/pub/a/ruby/excerpts/ruby-best-practices/worst-practices.html | CC-MAIN-2014-52 | refinedweb | 4,413 | 55.74 |
17 October 2012 14:47 [Source: ICIS news]
LONDON (ICIS)--?xml:namespace>
In its official autumn assessment (“Herbstgutachten”), the government pointed to impacts from the ongoing eurozone crisis and weaker growth trends in emerging economies in Asia and
However, economics minister Philipp Rosler said that while there w... | http://www.icis.com/Articles/2012/10/17/9604831/germanys-government-cuts-2013-gdp-growth-forecast.html | CC-MAIN-2015-22 | refinedweb | 104 | 63.19 |
On 22 July 2014 15:30, Brian Wylie <briford.wylie at gmail.com> wrote: > Okay, the transformer approach worked amazingly well. It's a bit of a hack > the transformer simply adds a ',' to the beginning of lines where I'm > calling commands that need to be 'auto-quoted'.. but certainly speaks well > of the IPython design... | https://mail.python.org/pipermail/ipython-dev/2014-July/013358.html | CC-MAIN-2022-33 | refinedweb | 133 | 76.82 |
Anim storing things like the timestamp and the request’s ID.
useRef is not only for DOM referencesuseRef is not only for DOM references
There are three ways to store variables within functional components:
- We can define a simple
constor
letwhose value will always be reinitialized with every component re-rendering.
- ... | https://css-tricks.com/using-requestanimationframe-with-react-hooks/ | CC-MAIN-2021-10 | refinedweb | 1,428 | 52.49 |
stags: Scala tags generatorstags: Scala tags generator
InstallationInstallation
Using Coursier:Using Coursier:
coursier bootstrap co.pjrt:stags-cli_2.12:0.4.2 -o stags
If you want to use
stags tag generation as a library, you can add it to sbt with:
libraryDependencies += "co.pjrt" % "stags_2.12" % "0.4.2"
Using Nailgu... | https://index.scala-lang.org/pjrt/stags/stags/0.4.1?target=_2.12 | CC-MAIN-2021-39 | refinedweb | 861 | 62.27 |
It's not the same without you
Join the community to find out what other Atlassian users are discussing, debating and creating.
Hi,
I'm looking to create a script post function that will set a custom field(group picker) if the user is a member of a specfic group
Group Name = GroupA
Users in GroupA = A,B,C
CustomFiled = ... | https://community.atlassian.com/t5/Adaptavist-questions/Set-Custom-Filed-value-grouppicker-if-creator-report-is-in-a/qaq-p/608005 | CC-MAIN-2018-17 | refinedweb | 694 | 72.66 |
Contents
- Reason for writing unit tests and how they help us in the development process
- The peculiarities of testing and the ways to generate data
- How to write unit tests?
- TDD, or test-driven development
- Mock: what’s that and why should you apply it?
- Conclusion
Reason for writing unit tests and how they help... | https://steelkiwi.com/blog/how-write-unit-tests-and-how-they-help-development/ | CC-MAIN-2019-35 | refinedweb | 3,193 | 58.69 |
I've created a custom search plugin by copying an existing () into ~/.flexget/plugins. However, when I run flexget plugins, my plugin is not there. What could be the reason?
~/.flexget/plugins
flexget plugins
The piratebay plugin already exists in the standard FlexGet package. Why are you installing another copy?
Did y... | https://discuss.flexget.com/t/custom-search-plugin-not-found/3437/12 | CC-MAIN-2017-39 | refinedweb | 485 | 60.61 |
This is a solution that I came up with by myself. If this follows the same idea as yours, there's nothing to be surprised with, as the basic idea for the optimal solution should be unique in most leetcode problems. I tried out several special cases to finally get the high-level idea, and then this solution.
nextToMaxSu... | https://discuss.leetcode.com/topic/46433/my-1ms-java-solution | CC-MAIN-2017-47 | refinedweb | 351 | 62.78 |
A Killer Vue.js Blog Demo: Launch in 2 Hours TopsNovember 02, 2017
We're very excited to sponsor **VueConf TO 2018** Come hang out and learn the latest Vue.js development (Nov. 15-16).
In a rush? Skip to tutorial or GitHub repo & live demo.
The JS landscape evolves... briskly. And that's putting it mildly.
But amidst t... | https://snipcart.com/blog/vuejs-blog-demo | CC-MAIN-2018-34 | refinedweb | 2,657 | 65.12 |
Today, I complete my tour through the C++20 core language features with a few small improvements. One interesting of these minor improvements is that most of volatile has been deprecated.
The abstract in the proposal P1152R0 gives a short description of the changes which volatile undergo: "The proposed deprecation pres... | http://modernescpp.com/index.php/volatile-and-other-small-improvements-in-c-20 | CC-MAIN-2021-10 | refinedweb | 1,294 | 59.84 |
Github repository:
Thread:
I also included a class named ScreenContext in context.py that allows (almost) anything to be done on the ODROID-SHOW using Python without having to worry about throttling input or entering escape commands manually. Printing text, changing background/foreground colors, performing linebreaks a... | https://forum.odroid.com/viewtopic.php?f=53&t=7715 | CC-MAIN-2021-25 | refinedweb | 619 | 73.68 |
#include "avcodec.h"
#include "get_bits.h"
#include "put_bits.h"
#include "dsputil.h"
Go to the source code of this file.
Definition in file huffyuv.c.
Value:
{\ uint16_t code = get_vlc2(&s->gb, s->vlc[3+plane1].table, VLC_BITS, 1);\ if(code != 0xffff){\ dst0 = code>>8;\ dst1 = code;\ }else{\ dst0 = get_vlc2(&s->gb, s-... | http://ffmpeg.org/doxygen/0.6/huffyuv_8c.html | CC-MAIN-2017-04 | refinedweb | 799 | 82.58 |
ASP.NET Core: Building enum provider to convert C# enums to JavaScript
My previous post about ASP.NET Core and getting C# enums to JavaScript was primitive and used simple attribute on enums to detect ones we need in JavaScript. This blog post extends the idea and makes some generalizations to support also those enums ... | https://gunnarpeipman.com/aspnet/aspnet-core-enum-provider/ | CC-MAIN-2019-30 | refinedweb | 1,030 | 61.97 |
written two patches. One is for utils.py. It includes two new
classes and two new functions.
The classes are needed to make the SAX parser work and should not be
invoked directly.
The function XmlStringToDocutilsNodes copies an XML string to a docutils
node set.
The function xml_copy_tree makes an identical copy of an... | https://sourceforge.net/p/docutils/mailman/docutils-develop/thread/4EAC1A85.5030407@gmail.com/ | CC-MAIN-2016-30 | refinedweb | 240 | 77.33 |
Date: Thu, 1 Jul 1999 09:46:12 +0200 From: Martin Neumann <mne@mne.de> To: linux-kernel@vger.rutgers.edu Subject: [PATCH] /proc/net/dev_hwaddr --UugvWAfsgieZRqgk Content-Type: text/plain; charset=us-ascii I attached a patch against 2.2.10 which adds "dev_hwaddr" to /proc/net/. Here an example: % cat /proc/net/dev_hwadd... | http://lwn.net/1999/0708/a/dev_hwaddr.html | crawl-002 | refinedweb | 738 | 52.49 |
.
Setup
First, I added the eth1 interface. The PUM comes with a host only connect by default. I didn’t want to affect the host only connection, so I added a second interface to the Virtualbox machine settings.
Next, I added the Oracle yum repository to make installing required packages easier.
cd /etc/yum.repos.d wget ... | https://psst0101.digitaleagle.net/2017/07/14/opencobol-try-2/ | CC-MAIN-2018-13 | refinedweb | 1,190 | 59.09 |
.
What is an Affine Transformation
According to Wikipedia an affine transformation is a functional mapping between two geometric (affine) spaces which preserve points, straight and parallel lines as well as ratios between points. All that mathy abstract wording boils down is a loosely speaking linear transformation tha... | https://stackabuse.com/affine-image-transformations-in-python-with-numpy-pillow-and-opencv/ | CC-MAIN-2021-21 | refinedweb | 4,031 | 63.59 |
30 March 2012 21:24 [Source: ICIS news]
HOUSTON (ICIS)--The American Chemistry Council (ACC) has welcomed recent data indicating continued expansion in the ?xml:namespace>
It said that the
Official February data showed personal income increased by 3.2% year on year, while consumer spending rose 4.1%.
“These reports sug... | http://www.icis.com/Articles/2012/03/30/9546634/acc-upbeat-on-us-data-warns-high-gasoline-prices-may-hurt-demand.html | CC-MAIN-2013-48 | refinedweb | 200 | 57.87 |
JSON Support Axis2C
ProjectProgress
JSON support for Axis2/C project progress is outlined under this page. The project deliveribles, important issues and final solutions stated on monthly/weekly basic.
Duration : 1 st of May – 1 st of June
- The initial design of the project was finalized and start the implementation o... | https://wiki.apache.org/ws/GSOC2007/JSON_Support_Axis2C/ProjectProgress?action=diff | CC-MAIN-2016-50 | refinedweb | 489 | 55.03 |
e-mail. Note that read-only fields are not available in form.cleaned_data (and setting a value in a custom clean() method won't have any effect) because these fields are displayed as text rather than as input elements, and thus are not posted back to the server.
Extending the above">E-mail. E-mail address.
- {{ field.... | https://docs.djangoproject.com/en/1.3/topics/forms/ | CC-MAIN-2014-10 | refinedweb | 114 | 57.27 |
Defining functions in python
Posted February 27, 2013 at 02:49 PM | categories: python | tags: | View Comments
Updated March 06, 2013 at 06:28 PM
Compare what's here to the Matlab implementation.
We often need to make functions in our codes to do things.
def f(x): "return the inverse square of x" return 1.0 / x**2 prin... | http://kitchingroup.cheme.cmu.edu/blog/2013/02/27/Defining-functions-in-python/ | CC-MAIN-2019-26 | refinedweb | 460 | 67.15 |
Name: ____________________________________________________ Alpha: _____________________
Describe help received: _________________________________________________________________
#include <iostream> #include <fstream> using namespace std; int main() { ifstream fin("hwdata.txt"); int n; fin >> n; double **D = new double*... | https://www.usna.edu/Users/cs/wcbrown/courses/F16IC210/lec/l28/hw.html | CC-MAIN-2018-09 | refinedweb | 240 | 73.71 |
Downloading and processing files and images¶
Scrapy provides reusable item pipelines for downloading files attached to a particular item (for example, when you scrape products and also want to download their images locally). These pipelines share a bit of functionality and structure (we refer to them as media pipelines... | https://doc.scrapy.org/en/1.1/topics/media-pipeline.html?highlight=filespipeline | CC-MAIN-2018-43 | refinedweb | 1,943 | 50.06 |
In the past few months, and in particular in the past two weeks, I’ve gotten a number of people asking me the question: Is Rust a functional programming language? This makes sense: I’m a big advocate of functional programming, I work at a company with FP in its name, my primary programming language is Haskell, and yet ... | https://www.fpcomplete.com/blog/2018/10/is-rust-functional | CC-MAIN-2018-51 | refinedweb | 2,963 | 62.78 |
You need to learn Angular 2
Reading Time: 5 minutes
TLDR: Even if you don’t ever plan on using Angular 2 in a production webapp, you should learn it and here’s why.
It’s no secret that with the rate of usage and adoption of Angular 1.x is incredible.
The ease, accessibility, and expressiveness in web development today ... | https://blog.ng-book.com/you-need-to-learn-angular-2/ | CC-MAIN-2021-43 | refinedweb | 1,213 | 62.27 |
Details
Description
When trying to run an example CRUD application for Java EE 6 (see) on TomEE beta 2, I noticed that the logs and data for the embedded h2 datasource end up as hsqldb equivalents in [TOMEE HOME]/data/hsqldb/.
The datasource definition in web.xml is as follows:
<data-source> <name>java:app/MyApp/myDS</... | https://issues.apache.org/jira/browse/TOMEE-171?focusedCommentId=13404481&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel | CC-MAIN-2015-18 | refinedweb | 3,343 | 58.99 |
How to Think Like a Computer Scientist
- Dinah Bond
- 1 years ago
- Views:
Transcription
1 How to Think Like a Computer Scientist C Version Allen B. Downey C-Version by Thomas Scheffler Version 1.08 November 25th, 2012
2 2 effectflower Hill, Waterville, ME The GNU General Public License is available from or by writing ... | http://docplayer.net/213486-How-to-think-like-a-computer-scientist.html | CC-MAIN-2017-22 | refinedweb | 17,234 | 61.16 |
« Gecko Plugin API Reference « Plug-in Side Plug-in API
Summary
Provides global deinitialization for a plug-in.
Syntax
#include <npapi.h> void NP_Shutdown(void);
Windows
#include <npapi.h> void WINAPI NP_Shutdown(void);
Description
The browser calls this function once after the last instance of your plug-in is destroye... | https://developer.mozilla.org/en-US/Add-ons/Plugins/Reference/NP_Shutdown | CC-MAIN-2016-36 | refinedweb | 141 | 55.13 |
# Here’s How to Update Node.js Via Visual Studio, NPM, Windows/Mac

I hope that you will find Node version 12 new capabilities compelling and soon you will upgrade your app to it.
In turn, you will get advanced debugging, intelli... | https://habr.com/ru/post/467335/ | null | null | 1,142 | 68.26 |
Docs |
Forums |
Lists |
Bugs |
Planet |
Store |
GMN |
Get Gentoo!
Not eligible to see or edit group visibility for this bug.
View Bug Activity
|
Format For Printing
|
XML
|
Clone This Bug
Hi!
attached comes my MapServer ebuild contribution.
MapServer is an OpenSource development environment for building spatially enabl... | http://bugs.gentoo.org/69417 | crawl-002 | refinedweb | 6,316 | 66.33 |
Dynamixel and 3mxl driver
threemxl provides a library to communicate with Dynamixel servos and 3mxl motor control boards. It also allows multiple ROS nodes to communicate with a single Dynamixel chain using a shared_serial node.
As threemxl depends on some external packages, make sure to run
rosdep install threemxl at ... | https://docs.ros.org/en/indigo/api/threemxl/html/ | CC-MAIN-2021-21 | refinedweb | 141 | 57.27 |
On Sat, 2005-12-31 at 11:55 +0200, Pekka Enberg wrote:> > * u8, u16, ...> > * uint8_t, uint16_t, ...> > * u_int8_t, t_int16_t, ...> > From the above list, the first ones. See>. Please note that> there's also __le32 and __be32 for variables that have fixed byte> ordering.As ever, however, be aware that our esteemed lead... | https://lkml.org/lkml/2005/12/31/85 | CC-MAIN-2016-36 | refinedweb | 241 | 63.19 |
When i received the new Arduino MKR1000, i was surprised that there is no official getting started, tutorial, or support in the IDE. I decided to write a short getting started guide to avoid others to spend.
Let's begin withe the Led blinking example. We will use here the pin 6 instead of the 13 that come with the IDE ... | https://www.hackster.io/charifmahmoudi/arduino-mkr1000-getting-started-08bb4a | CC-MAIN-2021-10 | refinedweb | 888 | 65.52 |
- NAME
- VERSION
- SYNOPSIS
- DESCRIPTION
- USAGE
- SUPPORT
- AUTHORS
NAME
inc::latest - use modules bundled in inc/ if they are newer than installed ones
VERSION
version 0.500
SYNOPSIS
# in Makefile.PL or Build.PL use inc::latest 'Some::Configure::Prereq';
DESCRIPTION
WARNING -- THIS IS AN EXPERIMENTAL MODULE. It was ... | https://metacpan.org/pod/inc::latest | CC-MAIN-2015-40 | refinedweb | 400 | 51.55 |
Any help would be greatly appreciated. Does not recognize cat's game also goes into infinate loop when you try to use the same box twice?
I have spent hours trying to figure it out. I know it something simple.
Any ideas?
//Board Display Class - Tic-Tac-Toe Program #include <iostream> using namespace std; char board[3][... | https://www.daniweb.com/programming/software-development/threads/72362/thought-i-had-it-figured-out | CC-MAIN-2018-43 | refinedweb | 649 | 60.18 |
The key to do so is the "explorer elevated unelevated factory" registry as described in The only caveat with this method: It's hard to distinguish different explorer instances that run How to Configuring Windows XP Offline Files for My Documents: Before we can configure Offline Files we need to create a shared folder i... | http://dlldesigner.com/offline-files/offline-synchronization-windows-xp-error.php | CC-MAIN-2017-51 | refinedweb | 1,340 | 55.78 |
From: Andrey Semashev (andysem_at_[hidden])
Date: 2008-02-10 11:35:21
Sorry for the long post in advance...
> * What is your evaluation of the design?
In short, questionable. More elaborate notes follow:
* To my mind, the named destination design approach is not intuitive. I
would expect the writer to accept a stream (... | https://lists.boost.org/Archives/boost/2008/02/133287.php | CC-MAIN-2021-39 | refinedweb | 1,427 | 66.74 |
This is mainly true but there is a big problem with updating as fast as you can.
1. Uses up unnecessary amounts of resources.
2. You are forced to make the game run at a reasonable pace by waiting in the update code or in the main game loop with timers. This is a waste of computing power and often leads to crashing gam... | http://forum.codecall.net/topic/74011-how-to-make-an-economical-main-game-loop-essential-for-big-games/ | CC-MAIN-2016-18 | refinedweb | 316 | 81.63 |
Greetings.
I`ve been wanting to program for ages but have been put of by the fact it seems so confusing and for some reason i`ve always had this niggle inside me that told me to program, and so about 4 hours or so ago i did.
I`m using the tutorial/s on this site and am finding them helpful so far.
I am however (and thi... | http://cboard.cprogramming.com/cplusplus-programming/151866-namespace-iostream-help-required-confused-noob-printable-thread.html | CC-MAIN-2014-15 | refinedweb | 127 | 74.56 |
Deep Dive Into the RavenDB Client API
In this chapter, we're going to take a deep dive into how the client API works. We're going to show mostly C# code examples, but the same concepts apply to any of the RavenDB client APIs, regardless of platform, with minor changes needed to make things applicable.
There are still s... | https://ravendb.net/learn/inside-ravendb-book/reader/4.0/4-deep-dive-into-the-ravendb-client-api | CC-MAIN-2022-27 | refinedweb | 15,168 | 63.49 |
This note tells why and how you can use DocOnce to ease the writing of scientific books with much mathematics and computer code.
Why DocOnce?
Hwo do I get started?
Some real writing
References
Scientific books are very often written in LaTeX, but LaTeX is primarily suited for PDF output on paper. Today, your readers wi... | http://hplgit.github.io/doconce/doc/src/book/repo/doc/pub/book/html/my-book.html | CC-MAIN-2018-39 | refinedweb | 335 | 64 |
from flask import Flask app = Flask(__name__) @app.route('/Wolves') <!DOCTYPE html> <html> <head> <title>Wolves<title> </head> <body> <!--Introduces Wolves, provides some information--> <h1>Wolves</h1> <p>There are three wolf species in the world. The Grey Wolf, the Red Wolf, and the Ethiopian Wolf. As well as subspeci... | https://www.dreamincode.net/forums/topic/417952-how-to-get-html-to-work/ | CC-MAIN-2020-05 | refinedweb | 841 | 58.79 |
1. Introduction
As we know, today’s web technology advances are fast in good and bad ways. With almost every technology, if not used properly, its results might be devastating. Many programmers are not introduced to the vulnerabilities that might occur when working and parsing XML files, so that was the reason for me t... | http://resources.infosecinstitute.com/xml-vulnerabilities/ | CC-MAIN-2018-05 | refinedweb | 1,429 | 55.64 |
This article is a practical overview of Object Oriented Programming (OOP) in Python. It explains why OOP is useful, aside from how it’s done. This should be useful to both people who don’t know what OOP is, and experienced developers transitioning from other languages.
I am not a professional Python developer, and I am... | https://gigi.nullneuron.net/gigilabs/tag/oop/ | CC-MAIN-2020-05 | refinedweb | 2,961 | 64.61 |
In Chapter.
Problem
Learncpp.com is unable to see where are the common mistakes, errors in train of thought (wrong assumptions), where students stop.
Suggestion:
How about setting up accounts to send in answers?
Each account will have data to see where are the common errors and mistakes.
Data analytics could mark the p... | https://www.learncpp.com/cpp-tutorial/function-parameters-and-arguments/ | CC-MAIN-2021-17 | refinedweb | 1,415 | 73.78 |
I’ve been writing primarily about Solid Edge part functionality as I’ve been learning my way through the software. I haven’t covered all the functions in parts, and I’ll want to come back to write about more of it later, but for now I want to move on and talk about something else. There’s a lot more to the software tha... | https://community.plm.automation.siemens.com/t5/Solid-Edge-Blog/Virtual-Components-Part-1/ba-p/4107 | CC-MAIN-2019-22 | refinedweb | 1,848 | 70.94 |
LesHouchesFileReader is an base class to be used for objects which reads event files from matrix element generators.
More...
#include <LesHouchesFileReader.h>
LesHouchesFileReader is an base class to be used for objects which reads event files from matrix element generators.
It inherits from LesHouchesReader and extend... | https://thepeg.hepforge.org/doxygen/classThePEG_1_1LesHouchesFileReader.html | CC-MAIN-2018-39 | refinedweb | 308 | 61.22 |
AWS
AWS Fargate
Overview
AWS Fargate is a container execution service provided by AWS. AWS manages the complexity of running and scaling the underlying infrastructure (which happens to be AWS EC2 instances).
Why Fargate?
The AWS Lambda service is another way you can run code in the cloud in a serverless manner. Choose ... | https://blog.mbedded.ninja/programming/cloud/aws/aws-fargate/ | CC-MAIN-2021-17 | refinedweb | 256 | 52.6 |
How can I detect programmatically whether the /3GB switch is enabled?
Raymond
A customer was doing some diagnostic work and wanted a way to detect
whether the
/3GB switch was enabled.
(Remember that the
/3GB switch is
meaningful only for 32-bit versions of Windows.)
The way to detect the setting is to call
GetSystemInf... | https://devblogs.microsoft.com/oldnewthing/20141023-00/?p=43783 | CC-MAIN-2021-49 | refinedweb | 480 | 60.75 |
We're making some changes at Activetuts+. From now on, our tutorials will be using class-based code, instead of timeline code, wherever possible. This Quick Tip explains what you'll need to know.
Why Use Class Files?
I'll admit it - sometimes, coding entirely on the timeline is useful. It's a quick way to test out an e... | https://code.tutsplus.com/tutorials/how-to-use-a-document-class-in-flash--active-3233 | CC-MAIN-2017-13 | refinedweb | 1,477 | 73.07 |
{-# OPTIONS_GHC -fno-warn-name-shadowing #-} {-# LANGUAGE CPP, DeriveDataTypeable #-} #if __GLASGOW_HASKELL__ >= 701 {-# LANGUAGE Trustworthy #-} #endif ----------------------------------------------------------------------------- -- | -- Module : Control.Concurrent.STM.TChan -- Copyright : (c) The University of Glasgo... | http://hackage.haskell.org/package/stm-2.4.2/docs/src/Control-Concurrent-STM-TChan.html | CC-MAIN-2014-35 | refinedweb | 618 | 56.08 |
Vue 3 is scheduled to release in Q2 of 2020, and it comes with a host of new features. One of the biggest features in Vue 3’s release is Vue’s new Composition API. As developers begin building more large-scale projects with Vue, some of the underlying challenges of code organization, readability, and reusability have b... | https://www.grapecity.com/blogs/getting-started-with-vue-3-composition-api?utm_source=CooperPress&utm_medium=Dynamic&utm_campaign=FrontEndFocus_Q3_placement_08/2020 | CC-MAIN-2020-40 | refinedweb | 1,401 | 50.46 |
A shalfloop is a great circle on a sphere map.
Figure
depicts the relationship between a shalfloop and its incident
shalfloops, and sfaces on a sphere map. A shalfloop is
an oriented sloop. It is always paired with a
shalfloop whose supporting Sphere_circle is pointing in
the opposite direction. The twin() member funct... | http://www.cgal.org/Manual/3.3/doc_html/cgal_manual/Nef_3_ref/Class_Nef_polyhedron_3-Traits---SHalfloop.html | crawl-001 | refinedweb | 133 | 51.95 |
1. Sending Mail
The
smtplib module provides a quick and easy way
to send e-mail messages.
This module contains a class called
SMTP
that initiates a connection to a mail server.
In the CS labs, you can use
mail.eecs.berkeley.edu.
Elsewhere, you will have to choose a server that's willing
to deliver mail for you (such as... | http://zesty.ca/bc/explore-07.html | CC-MAIN-2017-13 | refinedweb | 1,623 | 73.37 |
Namespaces overview (LINQ to XML)
This article introduces XML names, XML namespaces, XML namespace prefixes, and the XName and XNamespace classes.
XML names are often a source of complexity in XML programming. An XML name consists of an XML namespace (also called an XML namespace URI) and a local name. An XML namespace... | https://docs.microsoft.com/en-us/dotnet/standard/linq/namespaces-overview | CC-MAIN-2021-04 | refinedweb | 377 | 61.87 |
Next: Creating a project, Previous: EDE Mode, Up: Top [Contents]
Once you have EDE enabled, you can create a project. This chapter provides an example C++ project that will create Automake files for compilation.
First, lets create a directory for our project. For this example, we’ll start with something in /tmp.
C-x C-... | https://www.gnu.org/software/emacs/manual/html_node/ede/Quick-Start.html | CC-MAIN-2016-22 | refinedweb | 1,130 | 76.32 |
MATLAB Newsgroup
(Roozbeh))
Does anyone know how to solve this problem. Below are what I have done so far to explore/solve the problem:
- The jnilib file is already added to Matlab path (librarypath.txt). It is not the case that Matlab does not see the jnilib file. My other java classes that rely on other jni files in ... | http://www.mathworks.com/matlabcentral/newsreader/view_thread/316596 | CC-MAIN-2015-22 | refinedweb | 849 | 50.73 |
[
]
Allen Wittenauer commented on HDFS-8003:
----------------------------------------
bq. However, since the saving namespace process can take minutes or even throw exception,
there is no way to guarantee the NN can correctly verify/do checkpoint before getting stopped.
You can always catch the exceptions and trap the ... | http://mail-archives.apache.org/mod_mbox/hadoop-hdfs-issues/201503.mbox/%3CJIRA.12786251.1427474461000.60954.1427583052887@Atlassian.JIRA%3E | CC-MAIN-2017-47 | refinedweb | 236 | 62.58 |
Minutes of XML Protocol Working Group telcon, 4 February 2004.
> 1. Roll call. Scribe for minutes selected from attached list. Actions to be
> recorded on IRC. (8.30PT + 5)
>
Present 14/11
Canon, Herve Ruellan
DaimlerChrysler R. & Tech, Mario Jeckle
IBM, David Fallside
IBM, John Ibbotson
IONA Technologies, Seumas Solty... | http://www.w3.org/2000/xp/Group/4/02/04-minutes.html | CC-MAIN-2014-10 | refinedweb | 2,149 | 69.99 |
I really haven't *understood* kernel configutarion but i can tell you
what i do when i want to add a config option. I first edit arch/i386/config.in
and add a line that looks like
bool 'whatever explanation' CONFIG_WHATEVER default
this is supposed to mean that CONFIG_WHATEVER is a boolean taking values
y or n. When yo... | http://www.tldp.org/LDP/khg/HyperNews/get/tour/tour/3/2.html | CC-MAIN-2014-52 | refinedweb | 163 | 58.79 |
>can u tell me what this does
I could but MSDN does a better job than I could.
Printable View
It is windows programming.
<time.h>
go here...
I can't believe you're asking this again.
Get a programming book and read it. You need major help. This question has been answered in multiple ways and you're still not happy. May... | http://cboard.cprogramming.com/cplusplus-programming/11340-i-want-make-clock-2-print.html | CC-MAIN-2014-23 | refinedweb | 465 | 83.56 |
10 minutes
how many threads are enough threads?
The other night there was a discussion about python multi-threading on the nornir channel on slack so I decided to do some benchmarks and explain a couple of things. I am by no means an expert on the topic, I mostly know enough to be scared about the topic and to test ass... | https://nornir.tech/2020/05/01/how-many-threads-are-enough-threads/ | CC-MAIN-2020-29 | refinedweb | 2,375 | 71.71 |
It's been a month and a half since I started studying Java, and I have the task of creating a simple game.
The contents of the game are as follows.
・ 3 players
・ Roll the dice 3 times each and find the total value for each.
・ The person with the largest total value wins
I'm creating it using an array and random numbers... | https://www.tutorialfor.com/questions-323042.htm | CC-MAIN-2021-25 | refinedweb | 734 | 62.72 |
hi, this should be an easy one, i just havent dealt much with global variables.
i have an unmanaged c++ project set up with many different classes. Each class has its own .h and .cpp set up correctly. They're included in a standard library that each cpp references. All of this works.
There is a main cpp file which also... | http://cboard.cprogramming.com/cplusplus-programming/71270-global-variables-printable-thread.html | CC-MAIN-2015-27 | refinedweb | 175 | 86.6 |
For Django developers obsessed with performance. Minimize your Django templates so that your HTML is served up already minimized.
Project description
django-template-minimizer
For Django developers obsessed with performance. Minimize your templates once not your HTML each time you serve it up.
Run this Django command t... | https://pypi.org/project/django-template-minimizer/ | CC-MAIN-2019-30 | refinedweb | 740 | 57.47 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.