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 |
|---|---|---|---|---|---|
Incident documentation/20190328-commons
Summary
The main (gallery) namespace on Wikimedia Commons became uneditable for some 19 hours.
Impact
Editors on Wikimedia Commons were affected, though the gallery namespace is not as frequently edited as others (file uploads and categorization were unaffected, for instance).
De... | https://wikitech.wikimedia.org/wiki/Incident_documentation/20190328-commons | CC-MAIN-2020-50 | refinedweb | 424 | 50.87 |
Michael Day
Biography
Michael Day is the founder of YesLogic and the architect of the Prince formatter, a powerful tool for getting web content onto paper. Michael specialises in XML technologies and declarative programming and holds a Bachelor's degree in Computer Science from the University of Melbourne. You can visi... | http://www.oreillynet.com/pub/au/2969 | crawl-002 | refinedweb | 543 | 63.49 |
clean-code-typescript
Clean Code concepts adapted for TypeScript.
Inspired from clean-code-javascript.
Table of Contents
- Introduction
- Variables
- Functions
- Objects and Data Structures
- Classes
- SOLID
- Testing
- Concurrency
- Error Handling
- Formatting
- Translations TypeScript!
⬆ back to top
Variables
Use mea... | https://labs42io.github.io/clean-code-typescript/ | CC-MAIN-2019-18 | refinedweb | 2,279 | 50.84 |
var lookup = dicList.ToLookup(x => new{
Product = x["Product"],
Region = x["Region"]});
var condensedDicList = lookup
.Select(x => new Dictionary<string, object>(){
{"Product",x.Key.Product},
{"Region",x.Key.Region},
{"Profit",x.Sum(d=>(int)d["Profit"])}
})
.ToList();
but seriously... why not write a class with
class M... | http://www.w3hello.com/questions/Python-script-to-compare-the-keys-of-2-dictionaries-and-if-equal-print-value-of-the-key-of-2nd-dictionary | CC-MAIN-2018-17 | refinedweb | 3,346 | 64.61 |
The server recipe actually includes a general engine to install Python code that needs access to the OpenERP API and build configuration-aware executables.
As usual, it tries and do so by bridging the standard Python packaging practice (setuptools-style console scripts, as in zc.recipe.egg:scripts) and OpenERP specific... | https://pythonhosted.org/anybox.recipe.openerp/scripts.html | CC-MAIN-2020-16 | refinedweb | 2,367 | 55.64 |
CodeGuru Forums
>
.NET Programming
>
ADO.NET
> Strongly typed dataset combined with webservice
PDA
Click to See Complete Forum and Search -->
:
Strongly typed dataset combined with webservice
svollstad
February 24th, 2009, 05:00 AM
Hi
I'm using .Net 3.5 (for the record).
I am trying to create a program that connects to... | http://forums.codeguru.com/archive/index.php/t-471576.html | crawl-003 | refinedweb | 336 | 72.16 |
Overcoming type erasure in Scala
This article aims to show a couple of techniques to tackle some common problems caused by type erasure in Scala.
Introduction
Scala has a really strong type system. Existential types, structural types, nested types, path-dependant types, abstract and concrete type members, type bounds (... | https://medium.com/@sinisalouc/overcoming-type-erasure-in-scala-8f2422070d20 | CC-MAIN-2018-39 | refinedweb | 2,593 | 62.27 |
Haskell Platform.
There are now more than 500 libraries available for Haskell, on hackage. Choosing which libraries to support on a distro is currently done on an ad hoc basis, with significant variation from one distribution to another.
Some, such as Arch Linux, or Gentoo Linux, include as many libraries as possible (... | https://wiki.haskell.org/index.php?title=Haskell_Platform&direction=next&oldid=21930&printable=yes | CC-MAIN-2021-31 | refinedweb | 476 | 50.16 |
SPL(9) BSD Kernel Manual SPL(9)
spl - modify system interrupt priority level
#include <machine/intr.h> int splhigh(void); int splserial(void); int splsched(void); int splclock(void); int splstatclock(void); int splvm(void); int spltty(void); int splsofttty(void); int splnet(void); int splbio(void); int splsoftnet(void)... | https://www.mirbsd.org/htman/i386/man9/spl0.htm | CC-MAIN-2014-10 | refinedweb | 713 | 54.22 |
This article is targeted as support for Catharsis framework knowledge
base. It describes the MVC design pattern, compares it with MVP in the ASP.NET world.
MVC
MVP
ASP.NET
The Catharsis framework articles:
The Catharsis source code:
Catharsis web frameworkis completely based on MVC. If you would like to examine the Win... | http://www.codeproject.com/Articles/30597/MVC-MVP-ASP-NET?fid=1529590&df=90&mpp=10&noise=1&prof=True&sort=Position&view=None&spc=None | CC-MAIN-2014-42 | refinedweb | 2,690 | 65.73 |
A three-dimensional array is that array whose elements are two-dimensional arrays. In practice, it may be considered to be an array of matrices. A three-dimensional array with int elements may be declared as below.
int A [m] [n] [p];
Program illustrates the input and output of a three-dimensional array
Illustrates inpu... | http://ecomputernotes.com/what-is-c/array/three-dimensional-arrays | CC-MAIN-2019-30 | refinedweb | 156 | 59.13 |
#include <cafe/pads/wpad/wpad.h> #define WPAD_CHAN0 0 #define WPAD_CHAN1 1 #define WPAD_CHAN2 2 #define WPAD_CHAN3 3 typedef void (*WPADCallback) ( s32 chan, s32 result ); s32 WPADGetInfoAsync( s32 chan, WPADInfo *info, WPADCallback callback );
Gets the status of the Wii remote for the specified channel. This function ... | http://anus.trade/wiiu/personalshit/wiiusdkdocs/fuckyoudontguessmylinks/actuallykillyourself/AA3395599559ASDLG/pads/wpad/WPADGetInfoAsync.html | CC-MAIN-2018-05 | refinedweb | 167 | 61.22 |
Engines¶
SSAGES supports multiple molecular dynamics engines. However, supported features between MD engines. This may be the result of engine limitations or work in progress. The table below summarizes the main features that vary between supported engines.
Special instructions on how to use SSAGES with a particular en... | http://miccomcodes.org/manual/Engines.html | CC-MAIN-2019-26 | refinedweb | 2,002 | 63.9 |
Creating?
For instance, you may want to use a Coveo Search Component and add even more parameters that will be available from the Page Editor (or in Presentation/Details in the Content Editor). In this example, we’ll try to add a configurable placeholder text for the search box. We’ll use MVC components, but it also ap... | http://source.coveo.com/2014/12/10/creating-custom-model-coveo-for-sitecore/ | CC-MAIN-2017-13 | refinedweb | 807 | 58.18 |
Lambda crabs (part 3): Region-based alias analysis
In the last post, we saw how to infer regions and their span. In this post, we will cover aliasing and how to ensure guarantees through region analysis.
Aliasing, mutable aliasing, and unsafety.
Two pointers are said to be aliased, if they refer to the same object. Ali... | http://ticki.github.io/blog/lambda-crabs-part-3-region-based-alias-analysis/ | CC-MAIN-2018-09 | refinedweb | 853 | 62.98 |
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes: > The number of '-' and '+' is still linear. The idea is that > scaled-length := floor(a * length + b) with the following constraints: if > length == 1, scaled-length == 1, and the combined length of plusses > and minusses should not be larger than the width by a... | http://www.gelato.unsw.edu.au/archives/git/0609/28337.html | CC-MAIN-2014-42 | refinedweb | 724 | 67.28 |
Re-signing iOS apps without Apple tools
Project description
A tool and library to re-sign iOS applications, without proprietary Apple software.
For example, an iOS app in development would probably only run on the developer’s iPhone. isign can alter the app so that it can run on another developer’s iPhone.
Apple tools ... | https://pypi.org/project/ak-isign/0.9.2/ | CC-MAIN-2022-40 | refinedweb | 956 | 67.86 |
I'm trying out this Python API for google trends. it created a pandas dataframe where the first column is the date and the others the keywords in kw_list, the values representing how much people search for the keywords.
This is my code
from pytrends.request import TrendReq # Login to Google. Only need to run this once,... | http://www.developersite.org/1000-9083-python | CC-MAIN-2018-22 | refinedweb | 117 | 70.29 |
This chapter describes how to create and edit form rules within a web form using Oracle Business Process Composer. Form rules are pieces of Java-script code that enable you to define how users interact with your web forms. This chapter assumes that you are familiar with the basics of Javascript.
This chapter contains t... | http://docs.oracle.com/cd/E28280_01/user.1111/e15177/forms_rules_bpmcu.htm | CC-MAIN-2014-41 | refinedweb | 3,366 | 65.83 |
04 November 2010 07:07 [Source: ICIS news]
(adds supply conditions, market comments)
By Becky Zhang
?xml:namespace>
Recent outages at regional plants, along with positive news on the US economy overnight, spurred buying activities that pushed PTA futures to breach the 4% cap set on daily swings in values in just the fi... | http://www.icis.com/Articles/2010/11/04/9407215/china-pta-futures-prices-spike-4-on-bullish-sentiment.html | CC-MAIN-2014-10 | refinedweb | 294 | 56.18 |
SVG On the Rise
Pages: 1, 2
By now everyone knows that XML can solve all the world's problems! Seriously, using XML to mark up graphics is just as much of a benefit as using it to mark up textual data. It's about semantics; a graphic, or the pieces within that graphic, can have as much semantic meaning as any other do... | http://www.oreillynet.com/pub/a/javascript/2002/06/06/svg_future.html?page=2&x-maxdepth=0 | CC-MAIN-2014-15 | refinedweb | 1,842 | 52.29 |
Sorry for top-posting, sent from a mobile device. The issue for me is that I want to discover these sub-namespaces through introspection instead of having to know them all up front. What I'm doing is maintaining a queue of namespaces to generate pi files for - and adding new namespaces to the queue. This means I have t... | http://wingware.com/pipermail/wingide-users/2009-April/006457.html | CC-MAIN-2016-30 | refinedweb | 166 | 66.74 |
Bug Description
Bad paths for config and hiscores in windows
*** Demoing the config path problem:
choose options
start game
modify any seting, by example 'sound volume'
You see a traceback similar to
...
File "C:\Python26\
em__
self.
File "C:\Python26\
fp = open(fp, 'w')
IOError: [Errno 2] No such file or directory: '/... | https://bugs.launchpad.net/enjuewemela/+bug/844884 | CC-MAIN-2019-18 | refinedweb | 214 | 68.16 |
Im sick of being sucked into sales you get there and the notebook you want has $200 off, no I want cost +5% if things get advertised so dramatically like there are massive savings to be had.
Anyone been to one?
myndlyz:
they have a sale every freakin week now.
i haven't seen a proper sale for a while.
probably going to... | https://www.geekzone.co.nz/forums.asp?forumid=48&topicid=205340 | CC-MAIN-2019-09 | refinedweb | 643 | 79.09 |
Warning: You are browsing the documentation for Symfony 2 everything inside the AppBundle. Inside here, you can create whatever directories you want to organize things:
Storing Classes Outside of the Bundle?¶
But there’s no technical reason for putting business logic inside of a bundle.
If you like, you can create your... | https://symfony.com/index.php/doc/2.3/best_practices/business-logic.html | CC-MAIN-2021-39 | refinedweb | 377 | 52.09 |
Where a host application chooses to search for OFX plug ins, what binary format they are in and any directory hierarchy is entirely up to it. However, it is strongly recommended that the following scheme be followed.
Plug-ins should be distributed in the following formats, depending on the host operating system....
Eac... | http://openeffects.org/documentation/reference/ch02s02.html | CC-MAIN-2018-13 | refinedweb | 607 | 55.13 |
how does the java GetJar call in answer A find MyApp.Foo with a classpath specified
Kedar Nath wrote:So does that mean that option A is wrong???
The link shows that classpath include current directory .
So it should work right ???
Kedar Nath wrote:The link shows that classpath include current directory .
So it should w... | http://www.coderanch.com/t/427136/java-programmer-SCJP/certification/related-test-SCJP-Sierra-Bates | CC-MAIN-2015-14 | refinedweb | 169 | 79.56 |
[SOLVED] Android Project From 5.3.2 to 5.4
Hi,
i have a current project running on Android 4.2 and 4.4.2 developed with Qt 5.3.2. Now when i build it with Qt5.4 (host lubuntu 14.10 32 bit and OpenSuse 13.2 64 bit; android-ndk-r10c; android-21, android-20, android-19 ) with option "Bundle Qt libraries in Apk" at the sta... | https://forum.qt.io/topic/49354/solved-android-project-from-5-3-2-to-5-4 | CC-MAIN-2018-47 | refinedweb | 399 | 62.34 |
Simple random sampling is a technique often used in data analysis to (substantially) reduce the amount of data to be processed. In this post, I’ll take a stab at explaining how this can be done with Dumbo.
Consider the file commentcounts.txt, derived as follows from the comments.txt file that was generated as part of a... | https://dumbotics.com/2009/02/25/random-sampling/ | CC-MAIN-2019-18 | refinedweb | 861 | 61.56 |
in reply to
Re: Use modules or roll your own?
in thread Use modules or roll your own?
For a module with one essential function, parsing a number into an English string, it does seem excessive. But what if my program already has a get_string() function or an %N hash, and I add this module after the fact? The OO layer pr... | http://www.perlmonks.org/index.pl?node_id=186013 | CC-MAIN-2013-48 | refinedweb | 430 | 62.48 |
[Date Index]
[Thread Index]
[Author Index]
Re: OnError [Thread"::"tdlen"]
Hi Bob,
Thanks for your answer but 'Check' does not work as I expected, or I do not
understand the cryptic direction in the help.
"Check[expr, failexpr] evaluates 'expr', and returns the result (of expr),
unless messages were generated, in which ... | http://forums.wolfram.com/mathgroup/archive/2014/Apr/msg00127.html | CC-MAIN-2016-30 | refinedweb | 535 | 52.23 |
Directory Listing
ditto for assertAlmostEquals
fixing coverity-detected leaks CID 99614,99615.
limit number of elements in speckley test.
report filename in error message.
now refraining from adding all libraries to all targets. So we don't link unnecessary libraries, e.g. escript does not need parmetis etc...
last rou... | https://svn.geocomp.uq.edu.au/escript/trunk/speckley/?view=log&pathrev=6424 | CC-MAIN-2018-43 | refinedweb | 374 | 55.74 |
Guitar Hero Hacks 42
Edge Online has a short blurb mentioning a project at the University of California turning the Guitar Hero guitar into a real instrument. From the article: "For the final project of their Computer Audio course, University of California students Travis Chen and Sunny Chan have created Guitar Hero Ha... | https://slashdot.org/story/06/04/10/1758217/guitar-hero-hacks | CC-MAIN-2017-47 | refinedweb | 981 | 64.61 |
03 August 2011 09:25 [Source: ICIS news]
SINGAPORE (ICIS)--?xml:namespace>
“We are currently running the unit at 80-85% of nameplate capacity and this will continue into October,” said the source, who did not disclose further details about the technical issue.
“Contract allocations for August and September deliveries t... | http://www.icis.com/Articles/2011/08/03/9482021/kuwaits-pic-to-shut-shuaiba-aromatics-plant-in-october.html | CC-MAIN-2014-41 | refinedweb | 105 | 51.78 |
Thanks to Bram for his comments on the diffing algorithm. Much appreciated.
Am I an idiot or what! There were a few stupid errors in that diffing algorithm I threw up (give me a break: they don’t have python installed here in college). Here’s a corrected version. Again, any comments are welcome.
def GetDiff(oldLines, n... | http://www.advogato.org/person/hereticmessiah/diary.html?start=9 | CC-MAIN-2014-10 | refinedweb | 431 | 67.35 |
If you’ve been reading everything up to this point, you’ve heard all about Liferay DXP’s architecture, modularity, and technologies. What’s left is to tell you what it’s like to use Liferay’s platform as a basis for your site by customizing it or by developing applications on it. The platform is designed to make this e... | https://help.liferay.com/hc/en-us/articles/360018163331-Liferay-as-a-Development-Platform | CC-MAIN-2022-27 | refinedweb | 2,637 | 53 |
Dear all:
I thought that a while statement of : (argument || argument), where at least one of the arguments was correct, the do loop attached to the while would end.
QUESTION IS AT VERY END OF POST.
Code snippet works if you want to try it.
import java.util.Scanner; import java.lang.Math; public class FixChap5 { public... | http://www.javaprogrammingforums.com/loops-control-statements/15561-while-loop-using-%7C%7C-simple-problem.html | CC-MAIN-2013-48 | refinedweb | 200 | 82.14 |
I am currently working on creating a Prim's Minimum Spanning Tree for an undirected, weighted graph that uses String values for the vertices. To create the graph, my teacher said we can use the edge and graph classes from our textbook. However, the book uses Integers for vertices rather than strings. I tried replacing ... | http://forums.devshed.com/java-help/941557-using-strings-treemap-last-post.html | CC-MAIN-2018-13 | refinedweb | 373 | 63.19 |
lazy var testTextfied: UITextField = {
let testTextfield = UITextField(frame: CGRect(x: 50, y: 150, width: 300, height: 40))
testTextfield.placeholder = "Amount"
testTextfield.font = UIFont.systemFont(ofSize: 15)
testTextfield.borderStyle = UITextField.BorderStyle.roundedRect
testTextfield.clearButtonMode = UITextField... | https://mdrame113.medium.com/?source=post_internal_links---------1---------------------------- | CC-MAIN-2021-31 | refinedweb | 439 | 56.86 |
Software engineering tends to be an evolutionary process. Problems are addressed with solutions that can create new problems and subsequently new solutions. Ideally, the new problems that are created justify the original solution. The technology discussed here is one of the secondary solutions to a problem created by s... | http://www.ibm.com/developerworks/linux/library/l-kernel-shared-memory/index.html?ca=dgr-lnxw01LX-KSMdth-LX | CC-MAIN-2015-11 | refinedweb | 2,167 | 52.09 |
Reference Guide
Introduction
Overview
Spring XD is a unified, distributed, and extensible service for data ingestion, real time analytics, batch processing, and data export. The Spring XD project is an open source Apache 2 License licenced project whose goal is to tackle big data complexity. Much of the complexity in b... | http://docs.spring.io/spring-xd/docs/1.0.0.M4/reference/html/ | CC-MAIN-2015-06 | refinedweb | 18,004 | 54.02 |
Primary Interop Assemblies (PIAs)
Microsoft Corporation
January 2002
Summary: This document explains the process of creating metadata that describes a set of existing COM types to interoperate with the common language runtime. (7 printed pages)
Contents
Metadata and the Common Language Runtime
General Questions about P... | http://msdn.microsoft.com/library/aa302338.aspx | CC-MAIN-2014-23 | refinedweb | 1,779 | 65.62 |
What I Learned at the Emerging Languages Camp↩ ↪
July 23, 2010
I just got back from the unbelievably awesome Emerging Languages Camp at OSCON. I wish I could come up with a good way to get across how cool of an experience it was. All I can really say was that for the first time in a long time, I felt like I was really ... | http://journal.stuffwithstuff.com/2010/07/23/what-i-learned-at-the-emerging-languages-camp/ | CC-MAIN-2021-43 | refinedweb | 1,124 | 70.13 |
Info page:
This is a result of this thread. There's not much point in explaining it here. Just jump directly to the man page for a description. The rest of this post assumes that you've read the info.
I've tested several things so far but I've probably missed a lot. The python-fuse documentation is sketchy at best. I c... | https://bbs.archlinux.org/viewtopic.php?id=81027 | CC-MAIN-2022-40 | refinedweb | 3,433 | 70.94 |
Functions inside while loop; random outputs?[code]
double circle()
{
double radius, fraction, area;
cout << "\nInput radius: ";
cin >> radiu...
First year c++ helpInside a computer letters(char) are represented by numbers/bits(e.x 0110 1100). It comes from ASCII ...
Assignment operator overloading
QueLinked.h
[code]
#i... | http://www.cplusplus.com/user/snx/ | CC-MAIN-2014-52 | refinedweb | 101 | 62.95 |
Summary
The Chart class defines an ArcGIS Pro chart. The class allows you to create various types of charts, including bar charts, line charts, scatterplots, scatterplot matrices, QQ plots, histograms, box plots, and data clocks. The class can also be used to define the chart title, axes, and other properties.
Learn mo... | https://pro.arcgis.com/en/pro-app/latest/arcpy/classes/chart.htm | CC-MAIN-2022-05 | refinedweb | 957 | 51.14 |
Compute longest increasing/decreasing subsequence using Rcpp
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
By Jinjing Xie – Consultant, Shanghai.
The challenge here is interesting but also very clear: for a given un-ordered vector of numbers, select from it a longest inc... | https://www.r-bloggers.com/2014/09/compute-longest-increasingdecreasing-subsequence-using-rcpp/ | CC-MAIN-2021-17 | refinedweb | 755 | 54.12 |
This release breaks backward compatability due to the filename case-sensitivity of cygwin environment. The library has been built and verified on cygwin, FreeBSD-5.4, and Linux i32/i64/PPC platforms.
Various function names and member names of GenServer class have been changed and normalized.
This release brings lots of... | http://sourceforge.net/p/libassa/news/?source=navbar | CC-MAIN-2015-11 | refinedweb | 142 | 53.37 |
On Jul 15, 10:08 pm, "Gabriel Genellina" <gagsl-... at yahoo.com.ar> wrote: > En Sun, 15 Jul 2007 08:49:54 -0300, Alex Popescu > <the.mindstorm.mailingl... at gmail.com> escribió: > > > > >> >. > > > I am a bit confused: I think the above should be: > > > if MMA.grooves in a class/function defined inside the module MMA... | https://mail.python.org/pipermail/python-list/2007-July/440951.html | CC-MAIN-2014-15 | refinedweb | 214 | 75.3 |
Deep Q-Learning: Combining Deep Learning and Q-Learning
Reading time: 30 minutes | Coding time: 15 minutes
In Part 1 of our Reinforcement Learning Tutorial series, we learned about the basics of reinforcement learning, and also about one of the most easy algorithms to implement it, called Q-Learning.
Q-Learning was a g... | https://iq.opengenus.org/deep-q-learning/ | CC-MAIN-2021-04 | refinedweb | 1,863 | 59.09 |
Building Real time web apps with Django channels
Django is a fully featured web framework for building web applications using the general purpose Python language . Django creators call it the pragmatic framework for perfectionists with deadlines which is really true .If you have already used Django for building web app... | https://www.techiediaries.com/real-time-web-apps-django-channels/ | CC-MAIN-2020-34 | refinedweb | 847 | 55.88 |
Welcome to Part 2 of my Beginner's Guide to Augmented Reality, I hope you finished off the first part of this tutorial, or at least downloaded and read the source files (otherwise you may get a bit confused with what's going on).
Quick Recap
Last time we looked at setting up a simple AR environment, creating a cube, ap... | https://code.tutsplus.com/tutorials/beginners-guide-to-augmented-reality-part-2--active-5048 | CC-MAIN-2021-17 | refinedweb | 3,214 | 75.1 |
Applying Memoized to Recursive Function
Does anyone know how to apply memoized function to a recursive function? specifically the def f(xn) function in the following function?
I am trying to improve the following code to be able to factor a numbers. It seems to work well for values like 7331116 and 7331118 but 7331117 ... | https://ask.sagemath.org/question/30384/applying-memoized-to-recursive-function/?sort=latest | CC-MAIN-2020-24 | refinedweb | 244 | 66.84 |
System requirements for System Center 2012 - DPM
Updated: November 1, 2013
Applies To: System Center 2012 - Data Protection Manager
This topic summarizes system requirements for System Center 2012 – Data Protection Manager (DPM) in System Center 2012.
DPM server hardware requirements
The following table lists the:
- DP... | https://technet.microsoft.com/en-us/library/hh757757 | CC-MAIN-2015-11 | refinedweb | 509 | 53.31 |
Your first Play application
Let’s write a simple task list application with Play 2.0 and deploy it to the cloud.
Pre used-to a fully-featured Java IDE, such as Eclipse or IntelliJ, you can of course use it. However, with Play you can have fun working with a simple text editor like TextMate, Emacs or vi. This is because... | https://www.playframework.com/documentation/2.0.2/JavaTodoList | CC-MAIN-2015-18 | refinedweb | 1,614 | 59.19 |
This article handles another common issue, seen when handling documents containing Item Tracking lines in NAV 2009.
In this instance, the problem affects Sales and Purchase Invoices and occurs when splitting the relevant shipment or receipt lines and then posting the invoice.
Both solutions should be applied where appr... | https://blogs.msdn.com/b/nav/archive/2011/05.aspx?Redirected=true&PostSortBy=MostRecent&PageIndex=1 | CC-MAIN-2014-15 | refinedweb | 2,006 | 55.13 |
Hey everyone! I am currently working on the “Basta Fazoolin’” exercise in the Python 3 tutorial.
Currently at step 8, and before moving further I wanted to find out if there was a way to list all instances of a specific class and (for example) print their repr value.
Surely enough, there is one. It can be done in 4 lin... | https://discuss.codecademy.com/t/how-to-open-the-code-of-a-python-module/464734 | CC-MAIN-2020-16 | refinedweb | 460 | 80.17 |
**** Note that this document describes
GreenCard as of November 1997 - in particular, it supersedes the Haskell
Workshop 97 paper. There are significant syntax changes, some
simplifications, and some new features to extend the power of DISs.
Note also that it differs from the current Glasgow version of this
document, w... | http://www.haskell.org/nhc98/greencard.html | CC-MAIN-2013-48 | refinedweb | 3,985 | 59.23 |
30686/how-to-save-numpy-array-as-image-in-python
I have a matrix in the type of a Numpy array. How would I write it to disk it as an image? Any format works (png, jpeg, bmp...). One important constraint is that PIL is not present.
If you have matplotlib, you can do:
import matplotlib.pyplot as plt
plt.imshow(matrix) #N... | https://www.edureka.co/community/30686/how-to-save-numpy-array-as-image-in-python?show=30688 | CC-MAIN-2019-26 | refinedweb | 191 | 80.68 |
Hey guys:
I've been struggling all day to make a chart that converts temperatures from Fahrenheit to Celsius. I figured out how to set up the entire program and display it on the console by using the for loop, but my professors wants it to be displayed in a joptionpane. How can you set up a loop within the joptionpane?... | http://www.javaprogrammingforums.com/%20whats-wrong-my-code/19092-temperature-conversion-chart-printingthethread.html | CC-MAIN-2014-41 | refinedweb | 156 | 58.99 |
Introduction
This article explains how to export an aspx page to a PDF file.
Requirement
The only requirement is to add the DLL of "ITextSharp" to the application.
Code
In the code behind add the following namespaces:
using iTextSharp.text;
Design a page.
Place the following code on the button click event to convert th... | http://www.c-sharpcorner.com/UploadFile/9f0ae2/convert-aspx-page-into-pdf-in-Asp-Net/ | CC-MAIN-2016-50 | refinedweb | 157 | 62.68 |
UR::Object::Type::ModuleWriter - Helper module for UR::Object::Type responsible for writing Perl modules
Subroutines within this module actually live in the UR::Object::Type namespace; this module is just a convienent place to collect them. The Module Writer is used by the class updater system ((UR::Namespace::Command:... | http://search.cpan.org/~sakoht/UR-0.39/lib/UR/Object/Type/ModuleWriter.pm | CC-MAIN-2014-15 | refinedweb | 290 | 54.93 |
On 27/02/2004, at 9:51 AM, David Bergman wrote: >>? > > Yes. But, you are refering to overloading, no? And, not subtype > polymorphism > (which is what I denote with "object-oriented polymorphism")? Just to > make > things clear in my mind. Yes, what I'm referring to is essentially overloading. I called it "object-orie... | http://www.haskell.org/pipermail/haskell/2004-February/013716.html | CC-MAIN-2014-35 | refinedweb | 393 | 62.98 |
Any sequence of characters enclosed within double quotes (“ ”) is known as a string in Java. For Example: “Hello!! How are you?” is a string in Java programming language.
In Java, all objects of the String data type are immutable. This means that the object of the string type cannot be changed once it has been created ... | https://csveda.com/handling-string-in-java-using-string-class/ | CC-MAIN-2022-33 | refinedweb | 511 | 72.36 |
First time here? Check out the FAQ! for _tkagg, which doesn't exist. What does exist is the module backend_tkagg.py, so I changed the import statement above to
import backend_tkagg as _tkagg
and the sun came out.
asked
Jun 28 '11
updated Jun 28 '11
For Sage's matplotlib, the graphical guis are also turned off by defaul... | http://ask.sagemath.org/question/626/sage-python-import-matplotlib-no-module-named | CC-MAIN-2013-48 | refinedweb | 218 | 75.3 |
A lightweight mutex is a synchronization mechanism, very similar to a regular mutex. More...
#include <OgreLightweightMutex.h>
A lightweight mutex is a synchronization mechanism, very similar to a regular mutex.
Regular mutexes are well known to be expensive because they need to enter & leave kernel mode.
Definition at... | https://www.ogre3d.org/docs/api/2.0/class_ogre_1_1_lightweight_mutex.html | CC-MAIN-2018-13 | refinedweb | 105 | 50.02 |
Jomo Fisher—The future of C# was recently unveiled at PDC. Object, XML and relational data will be integrated deeply into the language. This isn’t really a new direction for C#, it’s the next step down a path that C# has always been headed. To see this, let’s look at a simple task—filtering a set of objects—and see how... | http://blogs.msdn.com/jomo_fisher/archive/2005/09/13/464884.aspx | crawl-002 | refinedweb | 1,556 | 56.25 |
Preface Lets face it. Deadlock and Latching issues have always been hard to debug. Many a times, we don't focus too well on application tuning, even though, it always advisable to look at the application design and user access trends first. These things don't come to the mind too readily. Many a times, we do face situa... | http://www.orafaq.com/aggregator/sources/93?page=1 | CC-MAIN-2017-51 | refinedweb | 5,645 | 55.34 |
:
Fluent Python
Luciano Ramalho
Fluent Python
by Luciano Ramalho: Meghan Blanchette and Rachel Roumeliotis
Production Editor: FIX ME!
Copyeditor: FIX ME!
Proofreader: FIX ME!
March 2015:
Indexer: FIX ME!
Cover Designer: Karen Montgomery
Interior Designer: David Futato
Illustrator: Rebecca Demarest
First Edition
Revisio... | https://b-ok2.org/book/2575636/8f8e85?dsource=mostpopular | CC-MAIN-2020-10 | refinedweb | 15,565 | 61.46 |
>>.
Why does everything need 250+ pages? (Score:3, Insightful)
This is something that ought to be one chapter in a Python book, not another boat-anchor of a standalone book.
Re: (Score:1)
Because you don't become a matplotlib master by doing 12,000 things, you become a matplotlib master by doing 4 things 12,000 times.
... | http://books.slashdot.org/story/10/05/12/1343227/matplotlib-for-python-developers?sdsrc=prev | CC-MAIN-2013-48 | refinedweb | 5,148 | 71.34 |
For the animations and transitions on b2g, throttling of OMTA flushing is let down by unthrottable flushes due to SMIL. We should not flush when we don't have to.
Comment by dholbert from bug 780692 (see that bug for a little more discussion): (In reply to Daniel Holbert [:dholbert] from comment #166) > d'oh... So I ju... | https://bugzilla.mozilla.org/show_bug.cgi?id=814921 | CC-MAIN-2017-39 | refinedweb | 928 | 61.36 |
With respect to your question about financing, I recommend that you make a downpayment of at least 20% to prevent PMI (private mortgage insurance) from being tacked on as an additional expense. Beyond that how much additional down payment depends on your other investment options as well as well as your available cash f... | http://www.justanswer.com/tax/0188x-buying-house-parents.html | CC-MAIN-2015-27 | refinedweb | 890 | 60.55 |
RSS and Atom in Action: Newsfeed Formats | Part 2/Page 2
[previous] [next]
RSS and Atom in Action: Newsfeed Formats
Part 2
4.5.2 Atom common constructs
Atom defines a number of common constructs, attributes, and elements that are reused throughout the format. The most significant are date, text, and person. Dates are s... | http://www.webreference.com/reviews/rss_atom_action2/2.html | CC-MAIN-2014-52 | refinedweb | 313 | 67.96 |
3833Re: SOLUTION: [soaplite] SOAP::Lite server with .NET client - SOAPAction woes
Expand Messages
- Aug 12 8:16 AMIss includelots of details in this response for the sake of the archives.
>of #, or "s or lack thereof, or urn: or http:, etc) were not the
> My original suspicion was that the MS type namespaces (eg / inst... | https://groups.yahoo.com/neo/groups/soaplite/conversations/messages/3833 | CC-MAIN-2017-34 | refinedweb | 484 | 63.29 |
.
For the record: I have found SeeedStudio to be excellent, but releasing a "new, greatly improved version" of their TFT display which is in fact a backward step, was very disappointing! I had purchased two Ver1 displays for prototypes and testing, then decided to go with the "better" Ver 2 display in the finished proj... | https://forum.arduino.cc/index.php?topic=150900.msg1209733 | CC-MAIN-2019-47 | refinedweb | 532 | 60.72 |
Speed-up your codes by parallel computing in Python (codes included)
Parallel computing is quickly becoming a necessity. Modern computers comes with more than one process and we most often only use single process to do most of our tasks. Parallel computing is a way of diving the tasks into all the processes available o... | http://www.earthinversion.com/techniques/parallel-computing-in-python/ | CC-MAIN-2022-05 | refinedweb | 1,384 | 58.38 |
cubicweb varnish helper
Project Description
Summary
This cubes enables a purge mechanism for a cubicweb website that is sitting behind a varnish cache.
Internals
The purge mechanism consists of sending purge commands to the administration backend of varnish (by default localhost:6082). Generally it is recommended to pr... | https://pypi.org/project/cubicweb-varnish/ | CC-MAIN-2018-09 | refinedweb | 199 | 55.54 |
Vanz 204 Report post Posted March 26, 2010 So far Audiere is working great, I can play background music and sound effects all at the some time and am pretty happy, but I need to be able to call sounds and music from functions like BOOL cApp::PlaySound(int SoundName) Unfortunately it seems that the sound start and exits... | https://www.gamedev.net/forums/topic/566421-audiere-help-please/ | CC-MAIN-2017-34 | refinedweb | 288 | 64.91 |
compile error
no errors and java A [output Hello World],up to this fine.
Then I saved the same program with Test.java and try to compile with javac test.java an error like...compile error Hello All
for example
public class
Compile error - Java Beginners
Compile error I get this error when compiling my program:
java:167... | http://www.roseindia.net/tutorialhelp/comment/93229 | CC-MAIN-2015-06 | refinedweb | 2,393 | 57.47 |
In part 3 we started with some very simple
AWS Lambda deployments. In this part we are going to continue on that path, using the
AWS Serverless Application Model (AWS SAM). This is essentially an extension to AWS Cloudformation,
the AWS service that provides infrastructure-as-code capabilities.
With Cloudformaton one c... | https://dev.to/eriklz/f-for-the-cloud-worker-part-4-aws-sam-5069 | CC-MAIN-2022-21 | refinedweb | 3,391 | 63.59 |
Ruby Programming/Syntax/Method Calls
From Wikibooks, the open-content textbooks collection
A method in Ruby is a set of expressions that returns a value. Other languages sometimes refer to this as a function. A method may be defined as a part of a class or separately.
[edit] Method Calls
Methods are called using the fo... | http://en.wikibooks.org/wiki/Ruby_Programming/Syntax/Method_Calls | crawl-002 | refinedweb | 754 | 52.29 |
WinJS App with Windows Runtime Component to Access Native C# Methods
In this article, we will learn how to connect WinJS project with Windows Runtime Component to access native C# methods.
Let’s get started.
Step 1:
First, create a WinJS project as discussed in this blog: Create Your First WinJS Windows Application
Ste... | http://www.letustweak.com/tutorials/winjs-app-to-access-native-c-methods/ | CC-MAIN-2019-30 | refinedweb | 413 | 59.09 |
Microsoft Visual Studio: Secure CRT Functions
Introduction
Two programmers went to buy cigarettes. One buys them and goes "Dude, did you read this? Warning! Smoking causes lung cancer witch is fatal". Then the other one says "Yeah, forget the warning, just tell me the errors!"
When using Microsoft Visual Studio 2005 or... | http://www.codeguru.com/cpp/security/article.php/c18495/Microsoft-Visual-Studio-Secure-CRT-Functions.htm | CC-MAIN-2015-48 | refinedweb | 1,898 | 63.19 |
Writing Your Own JavaScript Library – Immediate Functions
Lately, I’ve decided to write a simple JavaScript library which I’m going to publish in the near future. In the meanwhile, I also decided to write about my adventures while writing the library. This post series will be dedicated to JavaScript and how to write yo... | http://blogs.microsoft.co.il/gilf/2012/03/31/writing-your-own-javascript-library-immediate-functions/ | CC-MAIN-2017-34 | refinedweb | 454 | 51.18 |
20 May 2011 06:41 [Source: ICIS news]
SINGAPORE (ICIS)--Energy giant Shell said on Friday it has decided to proceed with the building of the world’s first floating liquefied natural gas (FLNG) project in ?xml:namespace>
The Prelude FLNG facility, to be moored some 200km (124 miles) from the nearest land in
The company ... | http://www.icis.com/Articles/2011/05/20/9461676/shell-invests-in-worlds-first-floating-lng-project-in-australia.html | CC-MAIN-2014-41 | refinedweb | 321 | 54.26 |
This is a page from my book, Functional Programming, Simplified
“A type class is an interface that defines some behavior. More specifically, a type class specifies a bunch of functions, and when we decide to make a type an instance of a type class, we define what those functions mean for that type.”
Source code
The sou... | https://alvinalexander.com/scala/fp-book/type-classes-101-introduction | CC-MAIN-2019-30 | refinedweb | 1,889 | 54.56 |
In Microsoft Office applications such as Word and Power Point, autoshapes (2D arrows, callouts, etc.) has been a long-time useful feature. Besides being able to resize and rotate with ordinary corner handles, some of the autoshapes have special kind of handles, marked with yellow diamonds, which allow you to change spe... | http://www.codeproject.com/Articles/11416/Interactive-Web-Graphics-with-VML-Parameterized-Sh?fid=210180&df=90&mpp=10&sort=Position&spc=None&tid=2255481&PageFlow=FixedWidth | CC-MAIN-2016-30 | refinedweb | 1,271 | 61.16 |
Important concepts
How much of your build gets loaded from the cache depends on many factors. In this section you will see some of the tools that are essential for well-cached builds. Build scans are part of that toolchain and will be used throughout this guide.
Build cache key
Artifacts in the build cache are uniquely... | https://docs.gradle.org/current/userguide/build_cache_concepts.html | CC-MAIN-2021-25 | refinedweb | 1,897 | 60.95 |
Java provides a way to perform resource release, when an object is about to be destroyed.
In Java, we create objects, but we cannot destroy objects.
The JVM runs a low priority special task called garbage collector to destroy all objects that are no longer referenced.
The garbage collector gives us a chance to execute ... | http://www.java2s.com/Tutorials/Java/Java_Object_Oriented_Design/0210__Java_Object_Finalize.htm | CC-MAIN-2017-22 | refinedweb | 197 | 65.22 |
Hi Daniweb.
I just read the other threads on regex and couldn't find the help I am looking for.
The problem is simple.
I have a bunch of settings in a .xml file which I read into my program.
One of the settings is '*.txt', which is used for regex as a file mask.
I need to check all the files that the program handles an... | https://www.daniweb.com/programming/software-development/threads/307154/regex-not-working | CC-MAIN-2017-34 | refinedweb | 199 | 86.1 |
Drag the edges to resize the window.
In Projects, you can keep track of your progress as you go throught the tasks. Check each item as you complete it!
You've learned that a React component is a small, reusable chunk of code that is responsible for one job, which often involves rendering HTML.
Here's another fact about... | https://www.codecademy.com/courses/react-101/lessons/your-first-react-component/exercises/component-class | CC-MAIN-2018-22 | refinedweb | 280 | 67.55 |
The.
By the end of this article, you’ll be familiar with the following:
logginglevels and how they work
- Thread-safety versus process-safety in
logging
- The design of
loggingfrom an OOP perspective
- Logging in libraries vs applications
- Best practices and design patterns for using
logging
For the most part, we’ll g... | https://realpython.com/python-logging-source-code/ | CC-MAIN-2021-17 | refinedweb | 8,076 | 58.58 |
What happens to contrib packages when no one is working on them? For
example, I had/have a simple question about something in RGRL, but no one
knows the answer because apparently no one is maintaining it. This seems
pretty annoying. Do these kind of things just eventually die? I think the
goal of contrib packages is t... | https://sourceforge.net/p/vxl/mailman/vxl-users/?viewmonth=200910&viewday=8 | CC-MAIN-2016-50 | refinedweb | 382 | 68.06 |
Ballerina is the latest revelation in programming languages. It has been built with the mind of writing network services and functions. With this post, I’m going to describe how to write network services and functions within a 10-minute tutorial.
First, go to the ballerinalang website and download the latest Ballerina ... | https://dzone.com/articles/getting-started-with-ballerina-in-10-minutes | CC-MAIN-2017-26 | refinedweb | 1,209 | 50.43 |
minimalist platform game, without platforms.
To control the game, use the space key. To quit the game, press ESC. Any key to skip the splash/credits screens.
- Windows instructions: extract the zip file somewhere before playing. Running the game creates a file, which fails if running from within the zip file.
- Linux:... | http://ludumdare.com/compo/ludum-dare-26/?action=preview&uid=3728 | CC-MAIN-2019-13 | refinedweb | 1,332 | 75.81 |
On Wed, Feb 20, 2013 at 09:44:58AM +0100, Stefano Lattarini wrote: > From a pristine master checkout: > > $ make configure && ./configure make > ... # All successfull > $ touch configure.ac > $ make > GEN config.status > make[1]: Entering directory `/storage/home/stefano/git/src' > GEN config.status > make[2]: Entering... | https://www.mail-archive.com/git@vger.kernel.org/msg18726.html | CC-MAIN-2016-44 | refinedweb | 467 | 52.66 |
Hibernate ORM version
5.6.2.Final is now available.
This is a maintenance release of the latest stable branch
5.6; speaking of branches, it’s worth highlight that our
main branch is now pointing to the sources of the upcoming version 6.0.
Deprecations in prepation for Hibernate ORM 6
In version
5.6.1.Final we had marke... | https://in.relation.to/2021/12/08/hibernate-orm-562/ | CC-MAIN-2022-21 | refinedweb | 705 | 51.89 |
code(n) [incr Tcl] code(n) ______________________________________________________________________________ NAME itcl::code - capture the namespace context for a code fragment SYNOPSIS itcl::code ?-namespace name? command ?arg arg ...? _________________________________________________________________ DESCRIPTION Creates ... | http://www.polarhome.com/service/man/?qf=code&tf=2&of=Archlinux&sf=n | CC-MAIN-2020-40 | refinedweb | 407 | 63.8 |
Hi, everybody! I'm a real newbie to Java programming and I'm sure I've come to the right place for help. Anyways....I have an assignment that reads like so:
Create two files using any word processing program or text editor. Write an application that determines whether the two files are located in the same folder. Save ... | http://www.javaprogrammingforums.com/%20whats-wrong-my-code/15190-need-help-javas-paths-class-printingthethread.html | CC-MAIN-2017-51 | refinedweb | 206 | 60.01 |
My.
The Windows installation of Python is pretty stripped down, like that of Miniconda, and similarly doesn't require admin rights to one's computer.
Therefore, I'll cover hand-installing a few simple packages as in my older tutorial.
Note: This tutorial is aimed at non-programmers who just want to edit a few CSV files... | https://dev.to/katiekodes/setting-up-windows-store-python-with-pandas-in-vscode-23g2 | CC-MAIN-2021-17 | refinedweb | 2,319 | 61.16 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.