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
On May 5, 2015 2:14 PM, "Guido van Rossum" <guido@python.org> wrote: > > In the PEP 492 world, these concepts map as follows: > > - Future translates to "something with an __await__ method" (and asyncio Futures are trivially made compliant by defining Future.__await__ as an alias for Future.__iter__); > > - "asyncio co...
https://mail.python.org/archives/list/python-dev@python.org/message/MVSLR7KJ2OIZJMXL6ZLMUDFKJIRKWKOP/attachment/2/attachment.htm
CC-MAIN-2021-21
refinedweb
136
55.34
Refactoring Automated Functional Test Scripts with iTest2 - | - - - - - - Read later Reading List Introduction Automated test scripts are known difficult to maintain. With wide adoption of agile methodologies in enterprise software projects, one of its core practices: automated functional testing proves its value, at t...
https://www.infoq.com/articles/refactoring-test-scripts
CC-MAIN-2017-13
refinedweb
2,059
53.92
Question for a senior C++ developer. Dare you? What must be in SR.h to achieve desired printed values? #include <stdio.h> #include "SR.h" int main() { int j = 1; int a[] = {2, 3}; { SR x(j), y(a[0]), z(a[1]); j = a[0]; a[0] = a[1]; a[1] = j; printf("j = %d, a = {%d, %d}\n", j, a[0], a[1]); // j = 2, a = {3, 2} - we wan...
https://forum.qt.io/topic/73433/question-for-a-senior-c-developer-dare-you
CC-MAIN-2018-39
refinedweb
220
72.39
On Fri, 2007-02-09 at 12:49 -0500, Len Brown wrote:> On Friday 09 February 2007 12:14, James Morris wrote:> > This is being disabled in the guest kernel only. The host and guest > > kernels are expected to be the same build.> > Okay, but better to use disable_acpi()> indeed, since this would be the first code not alrea...
https://lkml.org/lkml/2007/2/9/387
CC-MAIN-2015-48
refinedweb
304
72.46
On Sat, Jun 09, 2007 at 04:22:24AM -0400, Anthony Bryan wrote: > Hello, this is a repost of a message to fedora-devel, as this seems to > be the place for it. > > >From: Jesse Keating <jkeating redhat com> > > > >On Friday 08 June 2007 14:24:47 Anthony Bryan wrote: > >> I was hoping Fedora could investigate using Metal...
https://www.redhat.com/archives/fedora-infrastructure-list/2007-June/msg00140.html
CC-MAIN-2016-22
refinedweb
562
65.73
4.6. Dropout¶ Just now, we introduced the classical approach of regularizing statistical models by penalizing the \(\ell_2\) norm of the weights. In probabilistic terms, we could justify this technique by arguing that we have assumed a prior belief that weights take values from a Gaussian distribution with mean \(0\). ...
https://d2l.ai/chapter_multilayer-perceptrons/dropout.html
CC-MAIN-2019-51
refinedweb
1,769
55.84
All about Async/Await, System.Threading.Tasks, System.Collections.Concurrent, System.Linq, and more… After my previous post, I received several emails and comments from folks asking why I chose to implement ForEachAsync the way I did. My goal with that post wasn’t to prescribe a particular approach to iteration, but ra...
http://blogs.msdn.com/b/pfxteam/archive/2012/03/05/10278165.aspx
CC-MAIN-2014-41
refinedweb
1,762
57.77
- Code: Select all def delay_print(s): for c in s: sys.stdout.write('%s' % c) sys.stdout.flush() time.sleep(0.05) I use raw_input() as a part of the text, and I have gotten it to print out letter-by-letter as well: - Code: Select all q_one = raw_input(delay_print("Are you a boy, or a girl? ")) However, when I run the c...
http://www.python-forum.org/viewtopic.php?p=10862
CC-MAIN-2014-15
refinedweb
122
79.3
Type Design Guidelines in .NET From the CLR perspective, there are only two categories of types—reference types and value types—but for the purpose of framework design discussion we divide types into more logical groups, each with its own specific design rules. Figure 4-1 shows these logical groups.. Extensibility and ...
https://www.informit.com/articles/article.aspx?p=423349&amp;seqNum=4
CC-MAIN-2020-34
refinedweb
119
57.67
Red Hat Bugzilla – Bug 948089 xorg-x11-drv-armsoc fails to build Last modified: 2013-04-05 09:06:51 EDT Description of problem: xorg-x11-drv-armsoc fails to build from source in F19. Version-Release number of selected component (if applicable): xorg-x11-drv-armsoc-0.5.1-8.fc19 How reproducible: always Steps to Reproduc...
https://bugzilla.redhat.com/show_bug.cgi?id=948089
CC-MAIN-2018-26
refinedweb
205
52.56
C library function - exp() Advertisements Description The C library function double exp(double x) returns the value of e raised to the xth power. Declaration Following is the declaration for exp() function. double exp(double x) Parameters x − This is the floating point value. Return Value This function returns the expo...
http://www.tutorialspoint.com/c_standard_library/c_function_exp.htm
CC-MAIN-2017-04
refinedweb
161
51.55
I want to control running process/program by script in Python. I have a program linphonec (You can install: apt-get install linphonec). My task is: 1. Run linphonec (I'm using subprocess at the moment) 2. When linphonec is running it has a many command to control this and I want to e.g use "proxy list" <- this is comma...
https://codedump.io/share/vko9xc0IsIuX/1/how-to-type-command-to-running-process-in-python
CC-MAIN-2018-17
refinedweb
154
52.15
Scala Supertypes to Typeclasses After a few months of writing about Cats, it is great to take a small break. This pause isn’t to start anything new, but to build foundations for the upcoming posts. If you are looking to learn about those scary FP words, you will need to understand what is below. Chances are, if you are...
https://medium.com/@pvinchon/scala-generics-and-type-classes-3495bc059d1f
CC-MAIN-2019-13
refinedweb
759
61.02
Query: How to call an external command (as if I’d typed it at the Unix shell or Windows command prompt) from within a Python script? How to execute a program or call a system command in Python? Answer #1: Use the subprocess module in the standard library: import subprocess subprocess.run(["ls", "-l"]) The advantage of ...
https://programming-articles.com/how-to-execute-a-program-or-call-a-system-command-in-python-answered/
CC-MAIN-2022-40
refinedweb
529
58.99
. so this statement makes a pointer of type int and another 5 int variables (28 bytes in total on a modern system - 8 byte pointer & 5 4byte integers). The address of the first int variable is stored in the pointer, but since it's not holding any information about the size of the array, there's nothing stopping you fro...
http://www.learncpp.com/cpp-tutorial/6-8-pointers-and-arrays/comment-page-1/
CC-MAIN-2018-43
refinedweb
3,401
72.26
By Robert Love Book Price: $49.99 USD £30.99 GBP PDF Price: $34.99 Cover | Table of Contents | Colophon int) called the file descriptor, abbreviated fd. File descriptors are shared with user space, and are used directly by user programs to access files. A large part of Linux system programming consists of opening, mani...
http://www.oreilly.com/catalog/9780596009588/toc.html
crawl-001
refinedweb
2,427
64.1
new and** virtual** Keyword are the same as i feel,since new Keyword in the method hides the same base class methods whereas virtual keyword override the base class,So what is difference between new and virtual ,and how to determine when to use anyone of it? [CODE] public class Base123 { public void add() { Console.Wri...
https://www.daniweb.com/programming/software-development/threads/458724/please-explain-diff-between-new-and-virtual
CC-MAIN-2018-51
refinedweb
106
72.36
CodePlexProject Hosting for Open Source Software I'm interested in pausing the world dynamics to allow objects in the scene to be manipulated (moved, rotated, etc.). While dynamics are disabled, I do want collisions to be active, so that objects can be manipulated without their bodies intersecting in space where they w...
https://farseerphysics.codeplex.com/discussions/259137
CC-MAIN-2016-44
refinedweb
841
62.58
Remove nodes from graph or reset entire default graph When working with the default global graph, is it possible to remove nodes after they've been added, or alternatively to reset the default graph to empty? When working with TF interactively in IPython, I find myself having to restart the kernel repeatedly. I would l...
https://python-decompiler.com/article/2015-11/remove-nodes-from-graph-or-reset-entire-default-graph
CC-MAIN-2019-26
refinedweb
135
57.67
The setting: the Lands Between. The continent that dwells between the deadly land of Euraxia and the peaceful kingdom of Yggdrasil. This continent that connects the two is created from the blood and sweat of the past. Each tribe, each country, and each city holds their differences. The continent of the Elder Ring. Thro...
https://jayaabadiexpress.com/elden-ring-deluxe-edition-patch-full-version-skidrow-v-1-02-dlcserial-number-full-torrent-free-mac-win/
CC-MAIN-2022-40
refinedweb
1,898
63.49
3 The Rendering Pipeline Written by Caroline Begbie & Marius Horga Now that you know a bit more about 3D models and rendering, it’s time to take a drive through the rendering pipeline. In this chapter, you’ll create a Metal app that renders a red cube. As you work your way through this chapter, you’ll get a closer look...
https://www.raywenderlich.com/books/metal-by-tutorials/v3.0/chapters/3-the-rendering-pipeline
CC-MAIN-2022-21
refinedweb
5,813
64.41
I'm Using the Following code for signature : def new imgFormat = System::get_property('platform') == 'WINDOWS' ? "bmp" : "jpg" Rho::Signature.takeFullScreen({ :imageFormat => imgFormat, :penColor => 0x0066FF, :penWidth=>5, :border => true, :bgColor => '#ffffff' }, url_for(:action => :signature_callback)) render :action...
https://developer.zebra.com/thread/29943
CC-MAIN-2018-05
refinedweb
121
60.31
Here's a more complete version. It works with > matplotlib-0.54 now, and I've tested it with a few of the > example scripts, though I'm sure there are bugs. It > doesn't do images or mathtext yet. I just tried it and actually got simple_plot to work - excellent! I'm about to do a bug fix release of 0.54. Would you like...
https://discourse.matplotlib.org/t/svg-backend/794
CC-MAIN-2021-43
refinedweb
168
78.04
A photo of the hardware setup is attached. The white clip on the black lead is simulating a pressed button with a 10K pull-down resistor. Another photo of the makecode is attached. Given that the "button" is attached (by clipping white clip to black lead), the neopixels should all be blue (as in the photo). But, if the...
https://forums.adafruit.com/viewtopic.php?f=58&p=689631
CC-MAIN-2019-13
refinedweb
224
59.19
SPU_RUN(2) Linux Programmer's Manual SPU_RUN(2) spu_run - execute an SPU context #include <sys/spu.h> int spu_run(int fd, unsigned int *npc, unsigned int *event); Note: There is no glibc wrapper for this system call; see NOTES.. Execution of SPU code happens synchronously, meaning that spu_run() blocks while the SPU is...
http://man7.org/linux/man-pages/man2/spu_run.2.html
CC-MAIN-2016-40
refinedweb
395
65.42
Yikes, can't believe i didn't catch that. Thanks! Type: Posts; User: Elementality Yikes, can't believe i didn't catch that. Thanks! So far, my loop will print the first element and then it errors out. Any suggestions would be great. public class Test { /** * @param args */ public static void main(String[] args)... if i...
http://www.javaprogrammingforums.com/search.php?s=8c32820cfb243781aac258f86afd04f9&searchid=1515223
CC-MAIN-2015-18
refinedweb
114
72.02
Background The idea of this article originated from a contest (Petrozavodsk Summer-2016. Petr Mitrichev Contest 14), which I believe is attributed to Petr. In this contest, an interesting problem is proposed: "Cosider this process: pick a random number ni uniformly at random between 10 and 100. Generate ni random point...
https://codeforces.com/topic/61170/en10
CC-MAIN-2022-05
refinedweb
3,084
64.95
#include <fbxvertexcachedeformer.h> This class deforms control points of a geometry using control point positions stored in the associated cache object. Definition at line 27 of file fbxvertexcachedeformer.h. Vertex cache deformer data type. Definition at line 33 of file fbxvertexcachedeformer.h. Reimplemented from Fbx...
https://help.autodesk.com/cloudhelp/2018/ENU/FBX-Developer-Help/cpp_ref/class_fbx_vertex_cache_deformer.html
CC-MAIN-2022-21
refinedweb
139
63.66
be the change you want to see in the world - Gandhi. One of my friends work for a company where he has to work in a remote PC and where he lives he does not have good internet connection. He neither has permission for opening up third party email website such GMail, nor he could download email with 100MBs of attachment...
http://weblogs.asp.net/TanzimSaqib/
crawl-002
refinedweb
3,620
64.3
Python beginner, trying to: number1 = raw_input("Insert number1 = ") print number1 number2 = raw_input("Insert number2 = ") print number2 def sumfunction (number1, number2): print "Were summing number1 and number2 %d + %d" % (number1, number2) return number1 + number2 print() Change your code to use a main function. It...
https://codedump.io/share/sJKubGe6ziJN/1/python-defined-new-function-but-it-does-not-print-the-result
CC-MAIN-2017-47
refinedweb
279
60.75
Hello. I am trying to do a try.. catch statement and where there is exception error thrown, i want it to go back to the beginning. I have done the following, but I know I have made a mistake somewhere, but am stumped. Please assist me here here is the code : thank you all !thank you all !Code:#include <iostream> using ...
http://cboard.cprogramming.com/cplusplus-programming/85059-menu-loop.html
CC-MAIN-2014-52
refinedweb
153
78.99
5 Best Practices for Feature Flagging Stay connected. In their most basic form, feature flags are “if and else” statements that create a conditional branch into code, which allows developers to restrict some functionality to certain groups of users. If a flag or toggle is switched on, the code is executed; else skipped...
https://www.cloudbees.com/blog/5-best-practices-feature-flagging
CC-MAIN-2021-17
refinedweb
703
51.89
import "go.chromium.org/luci/server/auth/authdb/internal/graph" Package graph implements handling of the groups graph. Such graphs are built from list of AuthGroup proto messages that reference each other by name. type Graph struct { Nodes []Node // all graph nodes NodesByName map[string]NodeIndex // name => index in N...
https://godoc.org/go.chromium.org/luci/server/auth/authdb/internal/graph
CC-MAIN-2020-40
refinedweb
556
59.9
bcopy - memory operations #include <strings.h> void bcopy(const void *s1, void *s2, size_t n); The bcopy() function copies n bytes from the area pointed to by s1 to the area pointed to by s2. The bytes are copied correctly even if the area pointed to by s1 overlaps the area pointed to by s2. The bcopy() function return...
http://pubs.opengroup.org/onlinepubs/007908775/xsh/bcopy.html
CC-MAIN-2015-35
refinedweb
106
57.37
tag:blogger.com,1999:blog-81797194088042467852021-06-22T09:34:41.081+05:30{errorception} blogRakesh Pai on Errors<p>I've just pushed a build that lets you comment on your errors. (Finally!)</p><p>I'll admit, I've been very sceptical about adding this feature to Errorception. Thing is, this moves Errorception closer to ...
https://feeds.feedburner.com/errorceptionBlog
CC-MAIN-2021-31
refinedweb
8,187
57.16
does. BTW: Your first link to .less is the same as to LESS for ruby - it should be :) Greets, Gordon Ruby's implementation generates static css files that are served up by the webserver. So my question is - aside from runtime file generation, what other benefits exist from the approach? blog.smoothfriction.nl/... Summ...
http://odetocode.com/blogs/scott/archive/2009/11/22/keeping-css-files-dry-with-less.aspx
CC-MAIN-2014-35
refinedweb
397
64.41
Unmerging and merging Excel cells are indispensable for handling Excel worksheet. This article aims at introducing the solution to unmerge Excel cells in c# through several lines of code. We need an Excel .NET component called Spire.XLS to help us complete the process. First we need to complete the preparatory work bef...
http://www.e-iceblue.com/Tutorials/Spire.XLS/Spire.XLS-Program-Guide/How-to-Unmerge-Excel-Cells-in-C.html
CC-MAIN-2014-35
refinedweb
177
53.58
How to escape curly braces in XAML?April 17, 2013 If you want to display curly braces in text elements of your XAML UI, you can easily run into problems because curly braces usually indicate markup extensions like data bindings or resources. Let’s assume we want to display the text {dev news} in a WPF TextBlock. Our fi...
https://wolfgang-ziegler.com/Blog/how-to-escape-curly-braces-in-xaml
CC-MAIN-2021-25
refinedweb
177
58.21
I'm attempting to rearrange an equation from an answer on the Mathematics StackExchange. The answer given is this equation: $$L^2 = (-ab(t)+p)^2-\left(\frac{(-ab(t)+p).(cd(t)-ab(t))}{(cd(t)-ab(t))^2}(cd(t)-ab(t))\right)^2$$ Where $a$, $b$, $c$, $d$, and $p$ are known 2D points, $L$ is a known length, and $t$ is an unkn...
https://ask.sagemath.org/questions/26993/revisions/
CC-MAIN-2019-47
refinedweb
230
74.29
Hey guys, I've been trying to convert a java executable (.jar) to a .NET executable (.exe) and the reason I'm here is because I succeeded... Nope, I wish.. My code: public class Main { public static void main(String[] args) { System.out.println("Hello, world!"); } } Easy enough right.. So when I export it into a JAR fi...
http://www.javaprogrammingforums.com/java-ides/39057-export-jar-file-convert-exe-file-main-startup-class-could-not-found.html
CC-MAIN-2015-35
refinedweb
168
79.46
Dogtail creates and uses the directory /tmp/dogtail (it's configurable but only by root editing a file in /usr) for its scratch files. It should be possible to override that directory, in the case of frysk's test framework, to be a directory within frysk's build tree. ---- Hmm, need a testcase for frysk-gtk/tests/ is t...
https://sourceware.org/bugzilla/show_bug.cgi?id=2778
CC-MAIN-2022-40
refinedweb
146
60.41
MQTT C Client for Posix and Windows The Paho MQTT C Client is a fully fledged MQTT client written in ANSI standard C. It avoids C++ in order to be as portable as possible. A C++ layer over this library is also available in Paho. In fact there are two C APIs. "Synchronous" and "asynchronous" for which the API calls star...
http://www.eclipse.org/paho/clients/c/
CC-MAIN-2016-36
refinedweb
517
51.24
Every. Football betting The most common bet in football is so called 1×2 – decoded as win of home team, tie and win of away team. For a match, bookmakers present odds for each of the possible outcomes. These odds reflect probabilities of each outcome as seen by the bookmaker plus some small margin making the bookie’s l...
https://blog.alookanalytics.com/2017/01/09/beating-bookies/
CC-MAIN-2021-04
refinedweb
2,743
64.2
The QDeclarativeScriptString class encapsulates a script and its context. More... #include <QDeclarativeScriptString> This class was introduced in Qt 4.7. The QDeclarativeScriptString class encapsulates a script and its context. QDeclarativeScriptString is used to create QObject properties that accept a script "assignm...
https://doc.qt.io/archives/qt-4.7/qdeclarativescriptstring.html
CC-MAIN-2021-17
refinedweb
197
54.69
Rendering items on the DOM individually can cause a significant performance lag for users, especially when they’re scrolling through large lists. To make scrolling more efficient, we should use a virtual scroll list, which increases page load speed and prevents the web application from stuttering. A virtual scroll list...
https://blog.logrocket.com/create-performant-virtual-scrolling-list-vuejs/
CC-MAIN-2022-05
refinedweb
1,042
54.83
Its called "Fundamentals of C++" by Lambert This is a discussion on Was wondering if this book is any good! within the C++ Programming forums, part of the General Programming Boards category; Its called "Fundamentals of C++" by Lambert... Its called "Fundamentals of C++" by Lambert Published in 2001? It might be a litt...
http://cboard.cprogramming.com/cplusplus-programming/95837-wondering-if-book-any-good.html
CC-MAIN-2015-32
refinedweb
633
82.95
Thanks Filip, I've never looked at that before. I'd just looked at the class files thinking it might be in there. I'll have a good read of it know that I have it ;-) Ciao Derek. -----Original Message----- From: Filip Hanik (lists) [mailto:devlists@hanik.com] Sent: Friday, 27 February 2004 12:26 PM To: Tomcat Users List...
http://mail-archives.apache.org/mod_mbox/tomcat-users/200402.mbox/%3C82E30406384FFB44AFD1012BAB230B55BC39B3@shiva.au.lpint.net%3E
CC-MAIN-2014-23
refinedweb
327
64.61
heapq – Heap Sort Algorithm¶ A heap is a tree-like data structure in which. A max-heap ensures that the parent is larger than or equal to both of its children. A min-heap requires that the parent be less than or equal to its children. Python’s heapq module implements a min-heap. Example Data¶ The examples in this secti...
https://pymotw.com/3/heapq/index.html
CC-MAIN-2018-51
refinedweb
872
61.77
? originally javax was intended to be for extensions, and sometimes things would be promoted out of javax into java. One issue was Netscape (and probably IE) limiting classes that could be in the java package. When Swing was set to “graduate” to java from javax there was sort of a mini-blow up because people realized t...
https://exceptionshub.com/javax-vs-java-package.html
CC-MAIN-2022-05
refinedweb
461
63.19
XPath is an expression language for addressing parts of an XML document. You can think of XPath expressions as sort of like regular expressions for XML. They let you "pull out" parts of an XML document based on patterns. In the case of XPath, the patterns are more concerned with structural information than with charact...
https://flylib.com/books/en/4.122.1.211/1/
CC-MAIN-2019-43
refinedweb
1,709
56.76
In order to understand the bit manipulation operators, it is first necessary to understand how integers are represented in binary. We talked a little bit about this in section 2.4 -- Integers, and will expand upon it here. Consider a normal decimal number, such as 5623. We intuitively understand that these digits mean ...
http://www.learncpp.com/cpp-tutorial/37-converting-between-binary-and-decimal/
CC-MAIN-2017-30
refinedweb
5,411
72.56
WL#11393: Implement an interface to suppress error logs of type warning or note. Affects: Server-8.0 — Status: Complete — Priority: Medium The MySQL server shall accept a new optional list at start-up or at runtime. Messages for error-codes on this list are not included in the error-log when thrown with a severity of W...
https://dev.mysql.com/worklog/task/?id=11393
CC-MAIN-2018-47
refinedweb
939
52.39
Hi My elementary programming skills which I acquired not long ago are very much rusty these days. I was practicing with the code below but I received those two errors about the line at #17 in the source code. Would you please help me? I remember when I started posting here people would tell me that my code isn't proper...
http://cboard.cprogramming.com/cplusplus-programming/141212-learning-use-sharpdefine.html
CC-MAIN-2015-22
refinedweb
149
74.59
TL;DR: Moving from etcd v2 to v3 is in general well documented, however there are a few gotchas you might wanna be aware of. I’m ATM working on ReShifter—a tool for backing up and restoring Kubernetes clusters—and in the context of this work I came across a few things related to etcd that did cost me some cycles to sor...
https://hackernoon.com/notes-on-moving-from-etcd2-to-etcd3-dedb26057b90
CC-MAIN-2019-35
refinedweb
749
57.2
CodeGuru Forums > .NET Programming > C-Sharp Programming > convert *.cs file to object PDA Click to See Complete Forum and Search --> : convert *.cs file to object dannystommen September 4th, 2008, 06:14 AM I want to select a .cs file and convert it into an object. for example the file test.cs: using System; namespace ...
http://forums.codeguru.com/archive/index.php/t-460469.html
crawl-003
refinedweb
1,255
59.19
Roads, Towers, and Online Legal Help Online legal help systems have been a major force for good. Millions of people without the luxury of a personal lawyer have benefited from them. They come in many shapes and sizes, from many different worlds: · Legal aid programs and other nonprofit legal service organizations · Cou...
https://medium.com/@MarcLauritsen01/roads-towers-and-online-legal-help-57957a25767
CC-MAIN-2020-16
refinedweb
3,284
56.66
- Headline it: pip install Sample XML Here’s a simple small XML snippet representing a person. The XML contains a persons name and address. <persons> <person id="54321"> <name> <first>Troy</first> <middle>J</middle> <last>Grosfield</last> </name> <address> <street>123 North Lane</street> <state>CO</state> <city>Denver<...
http://blog.troygrosfield.com/2010/12/18/parsing-xml-with-python-using-elementtree/
CC-MAIN-2021-21
refinedweb
347
61.63
Cleanup: isolate UDIM parameters into a struct Passing multiple UDIM arguments into the packing function is awkward especially since the caller may not be using UDIM. Use an argument to store UDIM packing parameters which can be NULL, which operates without any UDIM support. Add a function that extracts these parameter...
https://git.blender.org/gitweb/gitweb.cgi/blender.git/atom?f=source/blender/editors/uvedit
CC-MAIN-2021-43
refinedweb
504
54.02
Opened 5 years ago Closed 4 years ago #25670 closed Bug (fixed) `dictsort` does not work when `arg` parameter is numeric Description According to dictsort documentation, it orders given list of dictionaries, using arg as property in each dictionary: @register.filter(is_safe=False) def dictsort(value, arg): """ Takes a ...
https://code.djangoproject.com/ticket/25670
CC-MAIN-2020-29
refinedweb
437
61.56
For the October 2010 TAG F2F Jonathan Rees 13 October 2010 15 and 25 October 2010: deletions, {additions} This document is {in very rough form and is} likely to be revised. When citing please look for the latest revision. There has been considerable debate and confusion on the topic of what constitutes an adequate pers...
http://www.w3.org/2001/tag/doc/persistent-reference/
CC-MAIN-2017-17
refinedweb
2,373
50.87
Extractive Text Summarization Using spaCy in Python - 2599 Extractive Text Summarization Using spaCy in Python.We started off with a simple explanation of TF-IDF and the difference in our approach. Then, we moved on to install the necessary modules and language model. Traditionally, TF-IDF (Term Frequency-Inverse Data ...
https://geekwall.in/p/ktzyCdr8/extractive-text-summarization-using-spacy-in-python
CC-MAIN-2020-40
refinedweb
1,694
59.9
> Maybe this is a FAO, but I'll give it a try anyway... > > I'm using the <xsl:attribute> to add new namspaces to my > definitions tag. The spec explicitly says you can't do this. Namespace declarations are not attributes in the XSLT data model. It works fine when I specify the namspace > like this: <xsl:attribute"" > ...
http://www.oxygenxml.com/archives/xsl-list/200207/msg01486.html
crawl-002
refinedweb
139
75.5
Update 12/21/10 - Removed extra _FLTA call. thanks jaberwocky6669 - Added extra styles to Listview. Changed formating of Drive Labels. Thanks Yashied - TAB stop still not working and still searching for memory leak pointed out by Yashied. - fixed another potential bug when trying to navigate to empty media like CDROM. ...
http://www.autoitscript.com/forum/topic/123409-explorer-frame-udf-updated-1-21-11/
CC-MAIN-2014-35
refinedweb
392
56.45
TL;DR: In this article, you will learn the basic concepts of React. After that, you will have the chance to see React in action while creating a simple Q&A (Questions & Answers) app that relies on a backend API. If needed, you can check this GitHub repository to check the code that supports this article. Have fun! Prer...
https://auth0.com/blog/react-tutorial-building-and-securing-your-first-app/
CC-MAIN-2019-18
refinedweb
10,454
56.15
-vfs Overview The ServiceMix VFS component provides support for reading from and writing to virtual file systems via the enterprise service bus by using the Apache commons-vfs library. Namespace and xbean.xml The namespace URI for the servicemix-bean JBI component is. This is an example of an xbean.xml file with a name...
http://servicemix.apache.org/docs/4.4.x/jbi/components/servicemix-vfs.html
CC-MAIN-2018-05
refinedweb
121
52.9
Introduction In this tutorial, we will build a Slack messaging system for a web app using WayScript. We integrate Slack in a demo web app built using Flask with Python and pushing the data to Slack using WayScript. If you prefer to watch vs. read, check out the video at the bottom of this post received, import requests...
https://practicaldev-herokuapp-com.global.ssl.fastly.net/wayscript/tutorial-integrating-your-app-with-slack-in-3-minutes-c10
CC-MAIN-2021-21
refinedweb
156
71.24
19 March 2009 12:22 [Source: ICIS news] SINGAPORE (ICIS news)--India's Reliance Industries expects to start up a refurbished high density polyethylene (HDPE) plant at Gandhar, in Gujarat state, in the next two to three days, a source close to the company said on Thursday. “The plant is now going through the stabilisati...
http://www.icis.com/Articles/2009/03/19/9201772/reliance-to-start-refurbished-gandhar-hdpe-unit-in-2-3-days.html
CC-MAIN-2015-06
refinedweb
127
56.18
Christine Dodrill - Blog - Contact - Gallery - Resume - Talks - Signal Boost - Feeds | GraphViz - When Then Zen Before I built my current desktop, I had been using a 2013 Mac Pro for at least 7 years. This machine has seen me through living in a few cities (Bellevue, Mountain View and Montreal), but it was starting to ...
https://christine.website/blog/nixos-desktop-flow-2020-04-25
CC-MAIN-2021-17
refinedweb
2,467
62.98
0 I'm supposed to create a program to read in word by word into a vector. And print out the words connected with '-'... so if the input was hello world the output would be hello-world this is the code ive made so far... right now my input can be hello world but my output would be hello- world- i dont want the - after w...
https://www.daniweb.com/programming/software-development/threads/226408/printing-vectors-new-at-c
CC-MAIN-2017-22
refinedweb
125
82.24
: 9 thoughts on “ArcMap Field Calculator: Create a Unique ID” Nice article, thanks for posting the link to those field calculator examples. great post. exactly what i needed. here is a code snippet for use in a python script (just output from tool results but might help somewhere) arcpy.CalculateField_management(zonePo...
http://milesgis.com/2011/07/28/using-arcpy-in-arcgis-10-field-calculater-to-create-a-unique-id/
CC-MAIN-2017-51
refinedweb
493
71.44
Next, we open three databases ("color" and "fruit" and "cats"), in the database environment. Again, our DB database handles are declared to be free-threaded using the DB_THREAD flag, and so may be used by any number of threads we subsequently create.. */ if (db_open(dbenv, &db_fruit, "fruit", 0)) return (1); /* Open da...
http://docs.oracle.com/cd/E17275_01/html/programmer_reference/transapp_data_open.html
CC-MAIN-2017-09
refinedweb
582
56.35
What will we cover in this tutorial? In this tutorial we will look into how you can track an object with a specific color and replace it with a new object. The inserted new object will be scaled to the size of the object tracked. This will be done on a live stream from the webcam. Understand the process from webcam and...
https://www.learnpythonwithrune.org/opencv-python-webcam-how-to-track-and-replace-object/
CC-MAIN-2021-25
refinedweb
1,060
75.71
Playing with OpenCV • Mark Eschbach I am investigating OpenCV for my aging server as an alternative to Tensorflow for facial recognition and hopefully GPU accelerated image down sampling. Tensorflow is a fine library however my server doesn’t have the AVX or AVX2 instruction sets and the GTX 570 only supports CUDA Comp...
https://meschbach.com/stream-of-consciousness/programming/2019/03/12-opencv/
CC-MAIN-2020-40
refinedweb
1,138
57.06
IRC log of mediaann on 2010-06-29 Timestamps are in UTC. 10:57:25 [RRSAgent] RRSAgent has joined #mediaann 10:57:25 [RRSAgent] logging to 10:57:30 [fsasaki] meeting: MAWG 10:57:35 [fsasaki] chair: joakim 10:57:39 [fsasaki] agenda: 10:57:54 [fsasaki] regrets: John 10:59:40 [tobias] are the European bridges working again...
http://www.w3.org/2010/06/29-mediaann-irc
CC-MAIN-2014-52
refinedweb
1,275
58.25
import re from lxml import etree from lxml.html import defs from lxml.html import fromstring, tostring try: set except NameError: from sets import Set as set __all__ = ['clean_html', 'clean', 'Cleaner', 'autolink', 'autolink_html', 'word_break', 'word_break_html'] # Look at # Particularly the CSS cleaning; most of the ...
http://codespeak.net/svn/lxml/branch/html/src/lxml/html/clean.py
crawl-002
refinedweb
330
60.51
Arrays arrays and don't modify the original one. This makes it possible to use Arrays in pure functional code along with lists. "Boxed" means that array elements are just ordinary Haskell (lazy) values, which are evaluated on demand, and can even contain bottom (undefined) values. You can learn how to use these arrays ...
http://haskell.org/haskellwiki/Arrays
crawl-002
refinedweb
2,312
51.68
I have this big operating system's project where I have to basically write my own mini operating system. I have everything broken into pieces and am taking it step by step. Starting with the loader. Prior to this class, I had no idea how intricate an OS system was and everything is fairly new to me. I've decided to do ...
https://www.daniweb.com/programming/software-development/threads/146425/help-with-implementing-a-loader-operating-systems
CC-MAIN-2017-51
refinedweb
244
59.19
Python Stream processing. Project description Python Stream Processing # Python Streams # Forever scalable event processing & in-memory durable K/V store; # as a library w/ asyncio & static typing. import faust Faust is a stream processing library, porting the ideas from Kafka Streams to Python. It is used at Robinhood...
https://pypi.org/project/faust/
CC-MAIN-2019-09
refinedweb
1,102
56.45
18 August 2008 09:54 [Source: ICIS news] MUMBAI (ICIS News)--?xml:namespace> The company said the net income was down because the previous year's figure was boosted by substantial one-off factors, especially gains from the divestment of the mining technology company DBT. For the period, the company’s sales rose 11% to ...
http://www.icis.com/Articles/2008/08/18/9149485/germanys-evonik-posts-27-fall-in-h1-net-income.html
CC-MAIN-2014-15
refinedweb
132
61.97
Django Models and Migrations In my last two articles, I looked at the Django Web application framework, written in Python. Django's documentation describes it as an MTV framework, in which the acronym stands for model, template and views. When a request comes in to a Django application, the application's URL patterns d...
https://www.linuxjournal.com/content/djangos-migrations-make-it-easy-define-and-update-your-database-schema?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+linuxjournalcom+%28Linux+Journal+-+The+Original+Magazine+of+the+Linux+Community%29
CC-MAIN-2018-39
refinedweb
2,245
55.74
23 April 2010 15:29 [Source: ICIS news] (Releads and updates throughout.) LONDON(ICIS news)—CEPSA Quimica has declared force majeure (FM) on phenol and acetone from it plant in Huelva, Spain, a company source confirmed on Friday. Earlier in the day CEPSA Quimica said that it had detected major corrosion on its newest p...
http://www.icis.com/Articles/2010/04/23/9353542/cepsa-declares-immediate-fm-on-phenol-acetone-from-huelva.html
CC-MAIN-2014-41
refinedweb
173
58.52
>><< The “Software” Decided against DDWRT, since I can’t determine from the website whether or not I could make changes to the source if I needed to. That being the case, I found OpenWRT and am impressed. I followed the instructions for building my own image, but so far that was unnecessary as I haven’t changed a thing...
http://takenapart.com/?p=3
CC-MAIN-2018-26
refinedweb
2,260
63.29
Created attachment 584285 [details] Screenshot of the initial menu partially localized Just installed the latest build on Asus EeePad: Mozilla/5.0 (Android; Linux armv7l; rv:12.0a1) Gecko/20111225 Firefox/12.0a1 Fennec/12.0a1. The first time you start the browser, some strings in the top right menu are in English: * Bo...
https://bugzilla.mozilla.org/show_bug.cgi?id=713464
CC-MAIN-2016-26
refinedweb
1,675
64.71
A. Download the latest xfilesBinary or xfilesSource archive. Download jpython.jar if you want to do scripting (see scripting section below). jpython.jar is also needed to recompile the source, though small changes to the source will let it recompile without it. jpython.jar is not needed if you do not want to script. Do...
http://www.ibiblio.org/pub/linux/system/backup/xfiles.html
crawl-002
refinedweb
775
63.8
Yes, the dot regex matches whitespace characters when using Python’s re module. Consider the following example: import re string = 'The Dot Regex Matches Whitespace Characters' match = re.findall('.', string) print(match) ''' ['T', 'h', 'e', ' ', 'D', 'o', 't', ' ', 'R', 'e', 'g', 'e', 'x', ' ', 'M', 'a', 't', 'c', 'h'...
https://blog.finxter.com/does-the-dot-regex-match-whitespace-characters-in-python/
CC-MAIN-2021-43
refinedweb
194
64.54
At long last, here is the code! Use it in good health (: There are some example runs of the program below it as well. #include #include #include // ) { // ‘m’ and ‘r’ are mixing constants generated offline. // They’re not really ‘magic’, they just happen to work well. const unsigned int m = 0x5bd1e995; const int r = 2...
http://blog.demofox.org/2013/07/06/fast-lightweight-random-shuffle-functionality-fixed/
CC-MAIN-2017-22
refinedweb
614
53.04
6 Hostname and Hostid¶ The hostname and hostid are the two basic computer identifiers used in MOSEK license files. The hostname is just the standard host name and hostid is usually identical to the MAC address of a network card. Command line The easiest way to obtain hostname and hostid is to open the shell, go to the ...
https://docs.mosek.com/10.0/licensing/hostid-hostname.html
CC-MAIN-2022-27
refinedweb
464
66.33
This page describes how to use the in-game editor overlay with its command line interface and documents many internal game variables (cvars). Index Editor Overlay Access the editor overlay either by going straight to Sandbox Mode from the Main Menu, or within gameplay by pressing “\”. The editor overlay is primarily a ...
http://www.anisopteragames.com/sandbox-console-docs/
CC-MAIN-2020-29
refinedweb
4,027
65.62
* Zachary Amsden <zach@vmware.com> wrote:> > but in exchange you broke all of 32-bit with CONFIG_PARAVIRT=y. > > Which means you did not even build-test it on 32-bit, let alone boot > > test it...> > Why are we rushing so much to do 64-bit paravirt that we are breaking > working configurations? If the developement is g...
http://lkml.org/lkml/2008/1/18/534
CC-MAIN-2015-27
refinedweb
201
58.99
C++ Documentation for IB Computing Exercises - Editor and Development Environment - Compiling and Running - "for" loops - Ex 1: Estimating pi by series summation (3 marks) - Functions - Ex 2: Finding roots using the Bisection method (3 marks) - Ex 3: Matrices and Graphics (3 marks) - The vector class - Using class - Lo...
http://www-h.eng.cam.ac.uk/help/languages/C++/1BC++/index.php?mode=beginner
CC-MAIN-2017-51
refinedweb
2,938
61.67
NAME lp - line printer devices SYNOPSIS #include <linux/lp.h> CONFIGURATION lp[0–2] are character devices for the parallel line printers; they have major number 6 and minor number 0–2. The minor numbers correspond to the printer port base addresses 0x03bc, 0x0378 and 0x0278. Usually they have mode 220 and are owned by ...
http://manpages.ubuntu.com/manpages/jaunty/man4/lp.4.html
CC-MAIN-2014-35
refinedweb
604
65.52
CodeIgniter error logging set to 1: /* |-------------------------------------------------------------------------- | Error Logging Threshold |-------------------------------------------------------------------------- | | If you have enabled error logging, you can set an error threshold to | determine what gets logged. ...
https://www.daniweb.com/programming/web-development/threads/456742/suppress-errors-in-codeigniter-error-log
CC-MAIN-2018-47
refinedweb
164
51.28
- NAME - VERSION - SYNOPSIS - ABOUT - CHANGES FROM PREVIOUS VERSION - ATTRIBUTES - METHODS - AUTHOR - BUGS - SUPPORT - SEE ALSO - CONTRIBUTORS - LICENSE AND COPYRIGHT NAME Net::API::Gett - Perl bindings for Ge.tt API VERSION Version 1.04 SYNOPSIS(); ABOUT Gett is a clutter-free file sharing service that allows its user...
https://metacpan.org/pod/release/MALLEN/Net-API-Gett-1.04/lib/Net/API/Gett.pm
CC-MAIN-2016-30
refinedweb
610
58.69
PEP 591 – Adding a final qualifier to typing - Author: - Michael J. Sullivan <sully at msully.net>, Ivan Levkivskyi <levkivskyi at gmail.com> - BDFL-Delegate: - Guido van Rossum <guido at python.org> - Discussions-To: - Typing-SIG list - Status: - Accepted - Type: - Standards Track - Created: - 15-Mar-2019 - Python-Ver...
https://peps.python.org/pep-0591/
CC-MAIN-2022-27
refinedweb
1,169
54.02
pls give me source code jtable netbeans code how to show data in jtable pls provide me source code netbeans I need the correct and genuine response of the code for the Jtable from Java programming Expert Why should we set the Column names that we don't use it here. Good one but the column names are missing in GUI! Post...
http://www.roseindia.net/discussion/18230-Creating-a-JTable-Component.html
CC-MAIN-2014-23
refinedweb
831
72.36
It’s pretty easy to create a web component with Vue.js and then consume that web component in a Vue.js app. I’m interested in this as a way to plug in custom user interfaces in the Airavata Django Portal, specifically custom experiment input editors. Using web components as the plugin mechanism allows extensions to be ...
https://marcus.4christies.com/2020/09/creating-and-using-vue-js-web-components/
CC-MAIN-2021-21
refinedweb
1,188
58.08
Question : I made a “Game”. I love playing it, and I would like to distribute it to my friends without having to install Python and Pygame on their computers. I did a lot of research on Py2Exe and Pyinstaller. I looked through many tutorials, fixes, errors, but none of them seem to help me. Pyinstaller is useless becau...
https://discuss.dizzycoding.com/pygame2exe-errors-that-i-cant-fix/
CC-MAIN-2022-33
refinedweb
1,566
80.38
JabChapter 9 From WikiContent Revision as of 06:10, 28 May 2009 [ singapore airlines asian affairs ] [ auto pisteros ] [ search engine marketing south africa ] [ map asian tsunami ] [ automotive mail sheridan wyoming yahoo.com ] 4+4 auto trader nz [ african american style updo ] [ mayfair auto parts taylor michigan ] [...
http://commons.oreilly.com/wiki/index.php?title=JabChapter_9&diff=24436&oldid=24434
CC-MAIN-2014-15
refinedweb
14,737
50.57
Input method plugin for Qt5 not working Hi my friends. I have a input plugin named "libgcinplatforminputcontextplugin.so" inside ...../plugins/platforminputcontexts" (Linux) and if i run a Qt5 program it not activate this plugin after a "export QT_IM_MODULE=gcin". This directory is right because if i run a Qt5 program ...
https://forum.qt.io/topic/58924/input-method-plugin-for-qt5-not-working
CC-MAIN-2018-13
refinedweb
415
53.27
{-# LANGUAGE Rank2Types, TypeFamilies #-} ----------------------------------------------------------------------------- -- | -- Module : Numeric.RAD -- Copyright : (c) Edward Kmett 2010 -- License : BSD3 -- Maintainer : ekmett@gmail.com -- Stability : experimental -- Portability : GHC only -- -- Reverse Mode Automatic ...
http://hackage.haskell.org/package/rad-0.1.6/docs/src/Numeric-RAD.html
CC-MAIN-2014-41
refinedweb
2,680
61.19