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
Details - Type: Improvement - Status: Resolved - Priority: Minor - Resolution: Fixed - Affects Version/s: 1.3-rc1 - - - Labels:None - Environment:Operating System: All Platform: All Description Support for Static Utility Classes is: 1) define namespaces context.defineNamespace("Math").add( java.lang.Math.class ) ; used...
https://issues.apache.org/jira/browse/VELOCITY-102
CC-MAIN-2016-26
refinedweb
2,082
64.61
How to Write POGOs In the Java programming language a Java bean is often referred to as a "Plain Old Java Object", or "POJO". The equivalent concept in Groovy is referred to as a "POGO", or "Plain Old Groovy Object". It is the equivalent of the Java bean. Therefore, the POGO permits you to store properties for a busine...
https://www.webucator.com/how-to/how-write-pogos.cfm
CC-MAIN-2020-16
refinedweb
443
61.87
0 I have set up a code in a class but i am not sure if this is the class that i would use.I have to put the logic of the game in a Class and then use the methods from the class to run the game.Right now i have some methods in a class but i am not sure on how i would go on getting it to work and calling the functions.I ...
https://www.daniweb.com/programming/software-development/threads/159799/blackjack-game-help
CC-MAIN-2017-39
refinedweb
454
58.11
startService ProblemsMike Karrys Apr 4, 2003 12:04 PM I am having trouble getting my code to run in the startService and stopService routines. When my MBean starts it will not log or run routines in the startService but after the server starts I can run these routines successfully by getting the MBean from the MBean se...
https://developer.jboss.org/thread/50494
CC-MAIN-2018-51
refinedweb
455
65.62
This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project. Matt Austern <austern@apple.com> writes: > FYI, here are the results of a fairly crude test that I did > using one of the Apple performance tools. > > This table shows where the L3 cache misses are coming from. > Our performance tool show...
https://gcc.gnu.org/legacy-ml/gcc/2002-08/msg01204.html
CC-MAIN-2021-39
refinedweb
292
72.53
Collaborator's New API Feature - Part 1 Collaborator's New API Feature - Part 1 Join the DZone community and get the full member experience.Join For Free How to Transform Your Business in the Digital Age: Learn how organizations are re-architecting their integration strategy with data-driven app integration for true di...
https://dzone.com/articles/collaborators-new-api-feature
CC-MAIN-2019-09
refinedweb
682
58.89
A module for collecting internal application/library performance statistics Stats is a utility module which provides an API to collect internal application statistics for your programs and libraries. It is very thin and lite when running so as to not alter the performance of the program it is attempting to observe. Mos...
https://www.npmjs.com/package/stats-api
CC-MAIN-2016-36
refinedweb
2,132
65.93
How to Tell a SWF What File(s) to Load — From the Outside A number of people have asked how I handled the microphone icons in my last post, Papi’s Wah-feh (An Audio Guide). Did I simply use Save As a bunch of times to create eight separate SWFs, each with its own imported audio? I certainly could have done that, but I ...
http://www.quip.net/blog/2006/flash/how-to-tell-swf-from-outside
crawl-002
refinedweb
9,811
72.26
ActiveScriptEventConsumer class The ActiveScriptEventConsumer class runs a predefined script in an arbitrary scripting language when an event is delivered to it. This class is one of the standard event consumers that WMI provides. For more information, see Monitoring and Responding to Events with Standard Consumers. Mo...
https://docs.microsoft.com/en-us/windows/win32/wmisdk/activescripteventconsumer?redirectedfrom=MSDN
CC-MAIN-2019-39
refinedweb
715
55.24
Pool-Aware Scheduler Support¶ Man. Problem Description¶: After the scheduler selects a backend on which to place a new share, the backend may have to make a second decision about where to place the share within that backend. This logic is driver-specific and hard for admins to deal with. The capabilities that the backe...
https://docs.openstack.org/manila/latest/contributor/pool-aware-manila-scheduler.html
CC-MAIN-2021-25
refinedweb
465
54.66
Many simple “for loops” in Python can be replaced with list comprehensions. You can often hear that list comprehension is “more Pythonic” (almost as if there was a scale for comparing how Pythonic something is, compared to something else 😉). In this article, I will compare their performance and discuss when a list com...
https://switowski.com/blog/for-loop-vs-list-comprehension
CC-MAIN-2020-50
refinedweb
1,516
58.52
I engaged a problem with inherited Controls in Windows Forms and need some advice on it. I do use a base class for items in a List (selfmade GUI list made of a panel) and some inherited controls that are for each type of data that could be added to the list. There was no problem with it, but I now found out, that it wo...
https://codedump.io/share/RXvfPjFVtKlo/1/how-can-i-get-visual-studio-2008-windows-forms-designer-to-render-a-form-that-implements-an-abstract-base-class
CC-MAIN-2017-39
refinedweb
467
63.39
More than one PCH file might apply to a given compilation. If so, the compiler uses the largest PCH file. Support for Precompiled Header (PCH) files is deprecated from ARM Compiler 5.05 onwards on all platforms. Note that ARM Compiler on Windows 8 never supported PCH files. That is, the compiler uses the PCH file repre...
http://infocenter.arm.com/help/topic/com.arm.doc.dui0472m/chr1359124218307.html
CC-MAIN-2018-05
refinedweb
153
69.38
Forum:On bumping old topics From Uncyclopedia, the content-free encyclopedia Attention, everyone. I am getting sick of people who are editing old forum topics, bringing them back to the top of the page and making everyone irritated. Thus, the following rule is now in effect: (Meaning, offense #1 = 1 day, offense #2 = 2...
http://uncyclopedia.wikia.com/wiki/Forum:On_bumping_old_topics?direction=prev&oldid=5467931
CC-MAIN-2015-27
refinedweb
1,742
79.7
Hello! The attached patch against the CVS version of GRUB (it should apply to GRUB-0.5.92 as well) makes it possible to use the GRUB shell on OS'es other than Linux. Limitations: - Only floppy disks are supported - All floppy disks are assumed to be 1.44 Mb in size (80 cylinders, 2 heads, 18 sectors) - The floppy disk ...
https://lists.debian.org/debian-hurd/1999/09/msg00104.html
CC-MAIN-2016-44
refinedweb
167
63.39
C Programming/stdbool.h < C Programming(Redirected from C Programming/C Reference/stdbool.h) The header stdbool.h in the C Standard Library for the C programming language contains four macros for a Boolean data type. This header was introduced in C99. The macros as defined in the ISO C standard are : - bool which expan...
https://en.wikibooks.org/wiki/C_Programming/C_Reference/stdbool.h
CC-MAIN-2017-39
refinedweb
160
51.04
C# Sharp Exercises: Find the leap years between to specified years C# Sharp DateTime : Exercise-28 with Solution Write a C# Sharp program to find the leap years between 1994 and 2016. Note : Use IsLeapYear method. Sample Solution:- C# Sharp Code: using System; public class Example28 { public static void Main() { for (i...
https://www.w3resource.com/csharp-exercises/datetime/csharp-datetime-exercise-28.php
CC-MAIN-2019-18
refinedweb
266
77.84
compilation warning with Min GW32 in pratom .h RESOLVED FIXED in 4.8.1 Status -- trivial People (Reporter: gk, Assigned: wtc) Tracking Firefox Tracking Flags (Not tracked) Details Attachments (1 attachment) User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.0.13) Gecko/2009080200 SUSE/3.0.13-0.1.2 Firefox/3.0.13...
https://bugzilla.mozilla.org/show_bug.cgi?id=515064
CC-MAIN-2019-30
refinedweb
1,027
74.39
Meet self In Python we have functions and methods. Function definitions in Python look like this: def sloganify(x): return "{} or bust!".format(x) And method definitions look like this: class Person: def sloganize(self, x): return "{} or bust!".format(x) Classes are buckets of functions When we write Python code, we do...
http://ballingt.com/python-methods/
CC-MAIN-2018-34
refinedweb
1,229
63.09
Thanks. So it seems I have to write my own code, there in nothing like I can set some flag. So if that is the case shouldn't I just be gzipping and unzipping data write and read to request object. rgds anurag ----- Original Message ---- From: David Bolen db3l.net@gmail.com To: twisted-python@twistedmatrix.com Sent: Fri...
https://mail.python.org/archives/list/twisted@python.org/message/O6KM67DPI5NJ5JQOSYLQHYI5DDHYKAAL/
CC-MAIN-2022-33
refinedweb
475
58.69
Data Structures for Drivers no-involuntary-power-cycles(9P) usb_completion_reason(9S) usb_other_speed_cfg_descr(9S) usb_request_attributes(9S) - SPARC DMA limits structure #include <sys/ddidmareq.h> Solaris SPARC DDI specific (Solaris SPARC DDI). These interfaces are obsolete. This page describes the SPARC version of t...
http://docs.oracle.com/cd/E23824_01/html/821-1478/ddi-dma-lim-9s.html
CC-MAIN-2014-15
refinedweb
761
51.78
KmPlot #include <function.h> Detailed Description Uniquely identifies a single plot (i.e. a single curvy line in the View). Definition at line 589 of file function.h. Constructor & Destructor Documentation Definition at line 981 of file function.cpp. Member Function Documentation The color that the plot should be drawn...
https://api.kde.org/4.x-api/kdeedu-apidocs/kmplot/kmplot/html/classPlot.html
CC-MAIN-2020-05
refinedweb
461
53.68
Documentazione di Drawing Questa pagina documenta la comprensione del modulo Drawing di jcc242. Il modulo include i file e le funzioni su cui sta lavorando attualmente e non può ancora essere inserita nel ramo master. La fonte di questi file è il suo Github, ma fate attenzione in quanto è molto instabile! Base (Mod/Dra...
https://wiki.freecadweb.org/Drawing_Documentation/it
CC-MAIN-2021-49
refinedweb
917
59.4
import "github.com/gobuffalo/plush/plush/cmd" var RootCmd = &cobra.Command{ Use: "plush", Short: "A brief description of your application", RunE: func(cmd *cobra.Command, args []string) error { if len(args) == 0 { return errors.New("you must pass in at least 1 plush file") } for _, a := range args { b, err := ioutil.Re...
https://godoc.org/github.com/gobuffalo/plush/plush/cmd
CC-MAIN-2019-30
refinedweb
133
70.39
Suppose we have an array A of numbers, we have to find all indices of this array so that after deleting the ith element from the array, the array will be a good array. We have to keep in mind that − So, if the input is like [10, 4, 6, 2], then the output will be [1,4] as when we remove A[1], the array will look like [4...
https://www.tutorialspoint.com/find-all-good-indices-in-the-given-array-in-python
CC-MAIN-2021-25
refinedweb
196
69.59
24 March 2010 16:28 [Source: ICIS news] SAO PAULO (ICIS new)--Europe needs to develop its own production of biofuels and not rely on imports of ethanol from Brazil to meet its renewable fuels targets, the European Bioethanol Fuel Association (eBio) said on Wednesday. “Don't send your ethanol to Europe...we don't need i...
http://www.icis.com/Articles/2010/03/24/9345539/biofuels-group-tells-brazil-to-keep-ethanol-out-of-eu-video.html
CC-MAIN-2014-23
refinedweb
173
56.18
Discover node properties with node-set-provision-state¶ Blueprint URL: This proposal adds the ability to perform out-of-band node inspection and automatically update node properties using node-set-provision-state (new target ‘inspect’) process. The same set of APIs can be used by in-band properties discovery too. Probl...
https://specs.openstack.org/openstack/ironic-specs/specs/kilo-implemented/ironic-node-properties-discovery.html
CC-MAIN-2020-10
refinedweb
1,211
50.02
Characters, Encodings, and Globalization “I don’t know, but it works on my machine!!” Ever said that? Ever heard that? Ever wondered why it happens? Characters and Encodings are the basic concepts, which every developer must know, no matter what. In this information era when the entire world has shrunk, globalization h...
https://software.intel.com/zh-cn/articles/characters-encodings-and-globalization
CC-MAIN-2019-35
refinedweb
10,113
52.8
4 replies on 1 page. Most recent reply: Apr 20, 2009 3:51 AM by Patrick Kua So here's the problem: Let's say you have a database class that is unit tested. I like doctests, but maybe you like Python unittest. Your class has a column (exposed in your ORM class) for the date that the row was last touched, which is initia...
http://www.artima.com/forums/flat.jsp?forum=106&thread=251755&start=0
CC-MAIN-2014-42
refinedweb
732
67.96
Get a handle to a condition in an entity #include <ha/ham.h> ham_condition_t *ham_condition_handle( int nd, const char *ename, const char *cname, unsigned flags ); ham_condition_t *ham_condition_handle_node( const char *nodename, const char *ename, const char *cname, unsigned flags ); libham The ham_condition_handle() ...
https://www.qnx.com/developers/docs/7.1/com.qnx.doc.ham/topic/hamapi/ham_condition_handle.html
CC-MAIN-2022-40
refinedweb
212
52.6
In this article, I explain how to build a web service client from a WSDL file. I am releasing this project to help those who wish to begin to use a web service with gSOAP. I won't, however, be explaining about XML Serialization, Transient Types, Memory Management, etc. I split the article into two parts for easier lear...
http://www.codeproject.com/Articles/17958/CurrencyConvertor-How-to-Use-gSOAP-and-Webservices?msg=4272559
CC-MAIN-2014-35
refinedweb
546
74.08
Schetzle Schetzle added Dark Arts - Tools for Maya for Maya as a favorite Report 2014-09-03 17:41:12 UTC Schetzle added Hanging Rope / Cord Generator (curve generator) for Maya as a favorite Report 2014-08-18 18:51:41 UTC Creates curves for rope and cord extrusion in just a few clicks. Can use transforms and components...
https://www.highend3d.com/users/schetzle
CC-MAIN-2021-21
refinedweb
291
52.46
Please read my blog's comment policy here. On Windows Vista and above, Internet Explorer’s Temporary Internet Files are maintained in two isolated WinINET cache containers. One cache is used for sites loaded in Protected Mode (Internet Zone and Restricted Zone) and the other cache is used for sites loaded outside of Pr...
http://blogs.msdn.com/b/ieinternals/archive/2011/03/19/wininet-temporary-internet-files-cache-and-explorer-folder-view.aspx
CC-MAIN-2015-06
refinedweb
2,315
60.14
Not that I have much time these days to work on tech, but still, occasionally an opportunity presents itself. And thusly, we have an excuse for a quick tech post. If you need to integrate jQWidgets with React, jQWidgets provides this guide to make it happen. Unfortunately, this doesn’t exactly work if you’re using the ...
http://www.hatsaplenty.com/2017/09/integrating-jqwidgets-react/
CC-MAIN-2018-09
refinedweb
411
53.65
object's __contains__ method, and also works well for checking if an item exists in a list. 2) The String.index() Method The String type in Python has a method called index that can be used to find the starting index of the first occurrence of a substring in a string. If the substring is not found, a ValueError except...
https://stackabuse.com/python-check-if-string-contains-substring/
CC-MAIN-2019-43
refinedweb
307
73.58
You want to use the com.oreilly.servlet classes that O'Reilly author Jason Hunter has developed to handle file uploads. Of course, this isn't much of a problem, as Jason's library takes most of the work out of uploading and accepting files. I use Jason's library here (with his permission, of course) because it handles ...
http://books.gigatux.nl/mirror/javaservletjspcookbook/0596005725_jsvltjspckbk-chp-8-sect-2.html
CC-MAIN-2018-43
refinedweb
370
59.4
count the number of duplicate nodes in the linked list Problem Statement Understanding Let’s first understand the problem statement with help of examples. Suppose the given list is: We have to count the number of duplicate nodes in the list. From the above given linked list, we can see that: - Count of each 1 and 8 is...
https://www.prepbytes.com/blog/linked-list/count-duplicates-in-a-linked-list/
CC-MAIN-2022-21
refinedweb
1,168
73.47
tiddlywebplugins.etagcache 0.10.0 Cache TiddlyWeb ETags so that a 304 can be sent without checking store This is a plugin for TiddlyWeb that creates a cache of ETags. It uses the memcached handling provided by tiddlywebplugins.caching. Cache invalidation is handled via store hooks and this trick: Note the test files ar...
https://pypi.python.org/pypi/tiddlywebplugins.etagcache
CC-MAIN-2017-04
refinedweb
241
63.7
Adding custom labels to axes in a seaborn plot in Python This tutorial will teach you how to create your own custom labels for the axes of graphs in Python seaborn plot. To do this, we will be creating a graph using seaborn, change its axes’ labels and then use matplotlib to display the plot. Importing the Libraries We...
https://www.codespeedy.com/adding-custom-labels-to-axes-in-a-seaborn-plot-in-python/
CC-MAIN-2020-29
refinedweb
510
62.27
This is the mail archive of the cygwin mailing list for the Cygwin project. Hey guys, after a couple more trials was able to solve the issue. I am not sure exactly what was the problem but I'll be reporting the full workaround. Neither I am certain that the libgeos shipped with cygwin has an issue; it looks like it was...
http://cygwin.com/ml/cygwin/2016-08/msg00418.html
CC-MAIN-2018-22
refinedweb
233
58.69
0 It's been a while since I bugged you guys. But I need the council of my wise advisers once more. I am trying to write a program that reads a .txt file, breaks each line into words, strips the whitespace and punctuation from the words and returns them in lowercase. My code is far from done, but when I try to run even ...
https://www.daniweb.com/programming/software-development/threads/328518/help-with-python-pogram
CC-MAIN-2018-30
refinedweb
157
86.91
RViz is not just a visualizer application, it is also a Python library! Much of RViz’s functionality can be accessed from Python code by importing the librviz Python bindings. This tutorial shows a simple example of creating a visualizer (rviz::VisualizationFrame) as a child widget along with other Qt widgets, programm...
http://docs.ros.org/en/hydro/api/rviz_python_tutorial/html/index.html
CC-MAIN-2021-17
refinedweb
938
51.44
Hello! I am looking for a way for a process to publish some string system wide (or, preferably, user-session wide, if possible), so another process or processes could search for this string upon launch. What is important is that this string should disappear once the publishing process dies or gets killed. I know there ...
https://forums.developer.apple.com/thread/120957
CC-MAIN-2020-05
refinedweb
1,012
70.94
Taking reuse to the next level with closures. Taking reuse to the next level with closures. Join the DZone community and get the full member experience.Join For Free This article is about how to take reuse to the next level by using Groovy's closure language feature to aid in reuse, intercept method calls and even repl...
https://dzone.com/articles/taking-reuse-next-level
CC-MAIN-2019-47
refinedweb
3,500
56.15
This blog post is part 5 of a series of blogs on how to create a Custom Template in SAP Web IDE with OData integration. Prerequisites Before reading this blog please make sure that you have read, understood and implemented part 4 of this series where I have shown how to create a feature project and add plugin template ...
https://blogs.sap.com/2018/02/03/how-to-create-a-custom-template-in-sap-web-ide-with-odata-integration-part-5/
CC-MAIN-2018-47
refinedweb
643
61.36
The characters in which the characters from String gets copied. destBegin – The index in Array starting from where the chars will be pushed into the Array. It throws IndexOutOfBoundsException – If any of the following conditions occurs: ( srcBegin<0) srcBegin is less than zero. (srcBegin>srcEnd) srcBegin is greater tha...
http://beginnersbook.com/2013/12/java-string-getchars-method-example/
CC-MAIN-2017-09
refinedweb
234
60.92
Hi, I'm trying to make a program that translates Roman Numerals to arabic numbers, I guess everyone should start with something like that. I've read all the beginner tutorials on this site and decided I wanted to test myself and made this. Ofcourse I started with almost as much errors as the total amount of lines of co...
http://cboard.cprogramming.com/cplusplus-programming/142638-roman-numeral-translator-where-did-i-go-wrong-printable-thread.html
CC-MAIN-2015-18
refinedweb
381
60.04
Show a Preloader Our preloader is a screenshot of the final result. Usually you'd have to wait until the end of the project to make that, but I'll just give you mine. Starting with the preloader makes sense for two reasons: - It's nicer than looking at a blank screen while data loads - It's a good sanity check for our ...
https://reactfordataviz.com/tech-salaries/preloader/
CC-MAIN-2022-40
refinedweb
1,158
67.45
The assignment problem below ask me to calculate the number of months it will take to pay off the loan and the total amount of interest paid over the life of the loan. I'm having trouble trying to find the right algorithm for the monthly payments. Could you please take a look at my code and see what I'm doing wrong? I'...
https://www.daniweb.com/programming/software-development/threads/149199/difficulty-in-finding-the-right-algorithm
CC-MAIN-2018-30
refinedweb
296
66.03
Hey Everyone! My name is Ed and I am new to programming and your community. Thanks for the warm welcome and I hope you can follow me with my coding problems. My code is for a project that simulates a simple vending machine. When the program is run three buttons will be displayed. They are representatives of a nickle, d...
https://www.daniweb.com/programming/software-development/threads/179495/vending-machine
CC-MAIN-2016-50
refinedweb
505
53.37
"Andrew Dalke" <adalke at mindspring.com> writes: > Ped. Indeed. Or rather what I find *really* important is that there exist proper support for interactive development (so that changes to source code can be easily reflected in a running session). I currently sometimes find myself driven to develop procedural, rather t...
https://mail.python.org/pipermail/python-list/2003-August/209552.html
CC-MAIN-2016-30
refinedweb
399
59.74
. #include <Wire.h>#include <LiquidCrystal_SR.h>LiquidCrystal_SR lcd(8,7,TWO_WIRE);// | |// | \-- Clock Pin// \---- Data/Enable Pin// Creat a set of new charactersbyte armsUp[8] = {0b00100,0b01010,0b00100,0b10101,0b01110,0b00100,0b00100,0b01010};byte armsDown[8] = {0b00100,0b01010,0b00100,0b00100,0b01110,0b10101,0b0010...
http://forum.arduino.cc/index.php?topic=121712.msg916624
CC-MAIN-2016-22
refinedweb
180
60.51
Data Science: Exploratory Data Analysis What is Exploratory Data Analysis? Exploratory Data Analysis (EDA) is the process of gaining a better understanding of data sets by analyzing and visualizing their primary properties. This stage is critical, especially when it comes to classifying the data to apply Machine Learni...
https://18it107.medium.com/data-science-exploratory-data-analysis-c61afdb4f75c
CC-MAIN-2021-49
refinedweb
924
58.69
Statistics RANK 330 of 257 558 REPUTATION 210 CONTRIBUTIONS 0 Questions 113 Answers ANSWER ACCEPTANCE 0.00% VOTES RECEIVED 13 RANK 1 577 of 17 744 REPUTATION 1 083 AVERAGE RATING 4.40 DOWNLOADS 238 ALL TIME DOWNLOADS 8495 CONTRIBUTIONS 0 Posts CONTRIBUTIONS 0 Public Channels AVERAGE RATING CONTRIBUTIONS 0 Highlights AV...
https://fr.mathworks.com/matlabcentral/profile/authors/3028622
CC-MAIN-2022-21
refinedweb
1,080
53.81
Opened 8 months ago Closed 6 months ago Last modified 6 months ago #1654 closed defect (fixed) nginx does not honor ssl_protocols for TLSv1.3 Description When configured with ssl_protocols TLSv1 TLSv1.1 TLSv1.2; nginx should not support TLSv1.3 but it still does curl -v --tls-max 1.3 [...] * SSL connection using TLSv1....
https://trac.nginx.org/nginx/ticket/1654
CC-MAIN-2019-26
refinedweb
969
69.68
) which we will discuss in Section 8.9. The Gated Recurrent Unit (GRU) [Cho et al., 2014] is a slightly more streamlined variant that often offers comparable performance and is significantly faster to compute. See also [Chung et al., 2014] for more details. Due to its simplicity we start with the GRU. 8.8.2. Implementa...
http://classic.d2l.ai/chapter_recurrent-neural-networks/gru.html
CC-MAIN-2020-16
refinedweb
350
59.3
How to: Identify a Nullable Type (C# Programming Guide) You can use the C# typeof operator to create a Type object that represents a Nullable type: You can also use the classes and methods of the System.Reflection namespace to generate Type objects that represent Nullable types. However, if you try to obtain type infor...
https://msdn.microsoft.com/en-US/library/ms366789(v=vs.110).aspx
CC-MAIN-2015-11
refinedweb
202
51.28
This month we integrated our newest game The Dog Run with the Google Play Store Leaderboard service. It looks, and possibly even should have been, really easy but in this reality it wasn’t. One big problem that was really time consuming was that we used the Google key signing service and then had an issue with our key....
https://www.zuluonezero.net/2018/08/30/google-play-store-leaderboard-integration/
CC-MAIN-2021-31
refinedweb
1,107
63.39
Bummer! This is just a preview. You need to be signed in with a Basic account to view the entire video. Write a Block Method4:42 with Jason Seifer Writing a method that takes a block is very similar to writing any other method. In this video, you'll learn to write your own block methods. Code Samples Our first block: d...
https://teamtreehouse.com/library/write-a-block-method
CC-MAIN-2019-43
refinedweb
984
89.58
Just a test of syntaxhighlighter in blogger Friday, February 27, 2009 This is just a test of syntaxhighlighter. from couchdb.schema import Document, View, IntegerField, TextField from couchdb import Database map_fun = """ function(doc){ emit(doc.name, doc.age); } """ class Person(Document): name = TextField() age = Int...
http://batok.blogspot.com/
CC-MAIN-2014-52
refinedweb
311
61.22
The SysTimer class is used to provide timing for system suspension, and the idle loop in TICKLESS mode. More... #include <SysTimer.h> The SysTimer class is used to provide timing for system suspension, and the idle loop in TICKLESS mode. Template for speed for testing - only one instance will be used normally. Definiti...
https://os.mbed.com/docs/mbed-os/v6.7/mbed-os-api-doxy/classmbed_1_1internal_1_1_sys_timer.html
CC-MAIN-2021-25
refinedweb
571
68.16
Tie::Redis::Attribute - Variable attribute based interface to Tie::Redis version 0.26 use Tie::Redis::Attribute; my %hash : Redis; # %hash now magically resides in a redis instance This is an experimental module that implements attribute based tying for Redis. Currently tying of arrays or hashes is supported. Options m...
http://search.cpan.org/~dgl/Tie-Redis/lib/Tie/Redis/Attribute.pm
CC-MAIN-2016-50
refinedweb
190
55.54
A lot of energy companies have given away free electricity meters. These have a clamp you put round the house supply, and a wireless link to a display. They are generally branded by the energy company, but a lot of them are Current Cost EnviR meters. If you look on the back, there is what appears to be an ethernet port...
https://markinbristol.wordpress.com/2015/12/01/energy-monitoring-with-a-raspberry-pi/
CC-MAIN-2019-04
refinedweb
344
57.77
Get filesystem statistics #include <sys/vfs.h> /* or <sys/statfs.h> */ int statfs(const char *path, struct statfs *buf); int fstatfs(int fd, struct statfs *buf); The function statfs() returns information about a mounted filesystem. path is the pathname of any file within the mounted filesystem. buf is a pointer to a st...
https://www.carta.tech/man-pages/man2/statfs64.2.html
CC-MAIN-2020-45
refinedweb
301
55.24
Jason asked if the API can be used to “select a bunch of families from a folder and automatically place them in an .rvt” NOTE: For this code to run, you will need to add a reference to the SharpDevelop project as follows: Project – Add Reference – select System.Windows.Forms public void placeMultipleFamilies() { Docume...
https://boostyourbim.wordpress.com/2015/07/25/rtcna-wish-9-granted-place-instances-of-multiple-families/
CC-MAIN-2017-26
refinedweb
653
50.53
Python Tests Run 10x Faster By Using Continuous Integration on Heroku - 2292 In this post, I'll show you how to deploy a very simple Python web app with very long tests. I'll also show you how to speed up those tests significantly using parallelism. In this post, I’ll show you how to deploy a very simple Python web app...
https://school.geekwall.in/p/rZdeFEjS/python-tests-run-10x-faster-by-using-continuous-integration-on-heroku
CC-MAIN-2020-40
refinedweb
1,496
69.62
Hi I wrote the code below for the purpose of wrapping text to fit within a given pixel width: Args: drawer: Instance of "ImageDraw.Draw()" text: string of long text to be wrapped font: instance of ImageFont (I use .truetype) containerWidth: number of pixels text lines have to fit into. Outputs described after code belo...
https://mail.python.org/pipermail/image-sig/2004-December/003064.html
CC-MAIN-2017-30
refinedweb
370
52.7
New 🙂_2<< Invoking “Add @return tag” quick fix will add the tag to PHPDoc along with expected return type: The described inspections can be a very good reminder to keep your code documentation up-to-date. And let’s be honest, that’s something we often forget to do 🙂 9 Responses to New PHPDoc inspections and quick fix...
https://blog.jetbrains.com/webide/2011/05/phpdoc-inspections/
CC-MAIN-2021-04
refinedweb
212
70.43
Summary So far I’ve written a lot of posts about Fluent NHibernate using MS SQL Server. I wanted to demonstrate how to connect to Oracle and what the differences were between SQL and Oracle. Getting the connection to work is probably the most difficult part. After that, the mappings are a bit different, but not complic...
http://blog.frankdecaire.com/2014/09/01/using-oracle-with-fluent-nhibernate/
CC-MAIN-2018-13
refinedweb
1,032
54.42
I have a Cyrus-IMAP server with altnamespace:yes and unixhierarchysep: yes. I want my sent messages to be stored on server, the INBOX.Sent being the most obvious choice. Setting this in Apple Mail was easy (Mailboxes>Use this folder for...>Sent). With Outlook 2007, however, I've run into a strange problem. The Outlook ...
http://serverfault.com/questions/361916/inbox-inbox-and-ms-outlook-2007
CC-MAIN-2015-27
refinedweb
486
77.23
How do I access a gui element? I've read the ui guide but I haven't found a solution to my problem. Given my pyui in my_gui.pyui: How can I access the ui elements in my separate my_ui.py file? For example, I want pressing the 'Small' button to set the text of the text field to 'this is small'. Right now I cannot make t...
https://forum.omz-software.com/topic/4294/how-do-i-access-a-gui-element/4
CC-MAIN-2020-45
refinedweb
803
76.93
Can anyone explain where the value for ADC_MAX_CODE came from (I want to use this for another function I am doing with the ADC that has different limits and I need to understand where this came from)? #define ADC_MAX_CODE (4095) … //Pot Reading is Scaled to return a value of -1.0 to 1.0 float TFC_ReadPot(uint8_t Channe...
https://community.nxp.com/t5/University-Programs/Demo-code-questions/m-p/289256/highlight/true
CC-MAIN-2020-50
refinedweb
222
65.83
NAME getrlimit, setrlimit, prlimit - get/set resource limits SYNOPSIS #include <sys/time.h> #include <sys/resource.h> #include <sys/resource.h> int getrlimit(int resource, struct rlimit *rlim); int setrlimit(int resource, const struct rlimit *rlim); int setrlimit(int resource, const struct rlimit *rlim); int prlimit(pi...
https://reposcope.com/man/en/3/vlimit
CC-MAIN-2019-51
refinedweb
293
50.12
This post was originally published on the New Bamboo blog, before New Bamboo joined thoughtbot in London. We are currently hiring at New Bamboo. As part of the process, we send candidates a code test to complete at their own leisure. I won’t reveal any details here, but it’s nothing special. Nevertheless, I have person...
https://thoughtbot.com/blog/don-t-inline-rescue-in-ruby
CC-MAIN-2019-47
refinedweb
626
62.48
. 1) What is the status of the Spring 2.0 final launch? What’s going on there? We have just updated our 2.0 release plan after an assessment of status in a number of key areas. The target date for Spring 2.0 final is now scheduled for September 26th, 2006. We will also announce another release candidate (RC4) this week...
http://www.infoq.com/articles/spring-2-update/
CC-MAIN-2014-15
refinedweb
1,891
56.45
Joy, frustration, excitement, madness, aha's, headaches, ... codito ergo sum!! Good to see the return of SmartPart! We found the previous version invaluable for quickly developing UI-intensive web parts. The deployment info for SmartPart was good, but I was wondering if you have thoughts for deploying the user controls...
http://weblogs.asp.net/jan/archive/2006/12/02/announcing-the-return-of-the-smartpart.aspx
crawl-002
refinedweb
1,816
66.74
Defensive programming is so groovy Copasetic tests verify every possible path through a method– sunny day and rainy scenarios; however, in the Age of Aquarius we’re lucky enough to have a test– consequently, one can scan a cornucopia of test suites to discover a false sense of security. You: This method has 100% code c...
http://thediscoblog.com/2008/02/18/defensive-programming-is-so-groovy/
crawl-001
refinedweb
825
64.81
Numbers which are not the sum of distinct squares You are encouraged to solve this task according to the task description, using any language you may know. Integer squares are the set of integers multiplied by themselves: 1 x 1 = 1, 2 × 2 = 4, 3 × 3 = 9, etc. ( 1, 4, 9, 16 ... ) Most positive integers can be generated ...
https://rosettacode.org/wiki/Numbers_which_are_not_the_sum_of_distinct_squares
CC-MAIN-2022-40
refinedweb
2,754
70.84
Hello Nicolas, Thank you, I can only speak on my behalf but I think its a very nice post. I have tried to get into haXe in the beginning and was thrilled but I was never able to get the companies I worked in to use haXe. I know that haXe has a lot of features that AS3 doesn't have. Particularly "using" is just plain aw...
http://mail-archives.apache.org/mod_mbox/incubator-flex-dev/201202.mbox/%3C4F44D30C.7010101@leichtgewicht.at%3E
CC-MAIN-2014-10
refinedweb
293
67.89
Django app for connecting to Iranian payment gateways. Project description What’s this? You can use this app to create payments in your django project via Iranian gateways. (Right now only Zarinpal and Saman are available but the rest are coming soon) How does it work? You ask the app for a new payment and it will give...
https://pypi.org/project/django-pardakht/
CC-MAIN-2021-39
refinedweb
431
64.91
table of contents NAME¶ tgamma, tgammaf, tgammal - true gamma function SYNOPSIS¶ #include <math.h> double tgamma(double x); float tgammaf(float x); long double tgammal(long double x); Link with -lm. tgamma(), tgammaf(), tgammal(): DESCRIPTION¶ These These functions first appeared in glibc in version 2.1. ATTRIBUTES¶ Fo...
https://manpages.debian.org/testing/manpages-dev/tgammaf.3.en.html
CC-MAIN-2022-05
refinedweb
134
66.44
I had some spare time now (not much to do at work...) so I used it to browse a little bit in the entropy code () If found the routine that logs the 'Repository is being updated' messages in the 'libraries/entropy.py' file - Code: Select all def handle_repository_lock(self, repo): # get database lock unlocked = self.is_...
http://forum.sabayon.org/viewtopic.php?f=76&t=13923&start=20
CC-MAIN-2013-20
refinedweb
296
55.84
Introduction: Python is an open source, interactive, object oriented programming language. It’s very easy to learn and an extremely powerful high level language. It runs on Windows, Linux, UNIX, Mac OSX and is free to use (even for commercial purpose) since it’s based on the open source license. It can be used to write...
http://resources.infosecinstitute.com/python-for-web-app-security-pros/
CC-MAIN-2014-42
refinedweb
1,611
58.11
(Buffers and working with rate, Working with streaming }") Flattening a stream of sequences Situation:], NotUsed] = someDataSource val flattened: Source[Message, NotUsed] = myData.mapConcat(identity)]]. The function limit or take should always be used in conjunction in order to guarantee stream boundedness, thus preve...
http://doc.akka.io/docs/akka/2.4/scala/stream/stream-cookbook.html
CC-MAIN-2017-13
refinedweb
719
58.58
How can I copy a Python string? I do this: a = 'hello' And now I just want an independent copy of a: import copy b = str(a) c = a[:] d = a + '' e = copy.copy(a) map( id, [ a,b,c,d,e ] ) Out[3]: [4365576160, 4365576160, 4365576160, 4365576160, 4365576160] Why do they all have the same memory address and how can I get a ...
https://python-decompiler.com/article/2014-07/how-can-i-copy-a-python-string
CC-MAIN-2019-47
refinedweb
295
72.46
Journal tools | Personal search form | My account | Bookmark | Search: ... clothing . Was christened prince charming. What reality really is dying alone in her. Out on to the of berwick and ... ... clothing . Of the table with loved has even the dvd to vcd ripper 1.03 serial . That the picture was of his ... ... . Is a...
http://www.ljseek.com/Netscape_s4Zp1.html
crawl-002
refinedweb
581
61.77
Raspberry Pi and Arduino: Building Reliable Systems With WatchDog Timers Introduction: Raspberry Pi and Arduino: Building Reliable Systems With WatchDog Timers Summary: In this Instructable we look at how to build more reliable computer systems using WatchDog timers. We show how to set up and use the Raspberry Pi and A...
http://www.instructables.com/id/Raspberry-Pi-and-Arduino-Building-Reliable-Systems/
CC-MAIN-2017-39
refinedweb
2,899
61.87
Complete roguelike tutorial using C++ and libtcod - part 1: setting up This article is the first part of a series heavily inspired by Jotaf's excellent "Complete roguelike tutorial using python + libtcod". It is intended for C++ beginners and people who want to learn how to use libtcod to create a simple roguelike vide...
http://www.roguebasin.com/index.php?title=Complete_roguelike_tutorial_using_C%2B%2B_and_libtcod_-_part_1:_setting_up&oldid=44616
CC-MAIN-2019-22
refinedweb
1,245
57.27
Provided by: shishi-doc_1.0.0-2_all NAME shishi_kdc_process - API function SYNOPSIS #include <shishi.h> int shishi_kdc_process(Shishi * handle, Shishi_asn1 kdcreq, Shishi_asn1 kdcrep, Shishi_key * key, int keyusage, Shishi_asn1 * enckdcreppart); ARGUMENTS Shishi * handle shishi handle as allocated by shishi_init(). Shi...
http://manpages.ubuntu.com/manpages/precise/man3/shishi_kdc_process.3.html
CC-MAIN-2020-29
refinedweb
176
50.02
- Advertisement Search the Community Showing results for tags 'C#'. Found 302 results 3D/2D talented artist (Maya, Zbrush, Adobe etc) looking for developers for a new survival game project Andrew Parkes posted a topic in Hobby Project ClassifiedsI. C# .NETFramework,Version=v3.5" were not found mike44 posted a topic in ...
https://www.gamedev.net/search/?tags=C%23&sortby=newest
CC-MAIN-2018-26
refinedweb
2,921
59.84
Opened 9 years ago Closed 9 years ago Last modified 9 years ago #11415 closed (wontfix) Django doesn't call delete() for relatively deleted objects. Description A simple example: class Link(models.Model): num = models.IntegerField('foo') def delete(self): super(Link, self).delete() print('doing some cleanup after killi...
https://code.djangoproject.com/ticket/11415
CC-MAIN-2018-17
refinedweb
199
66.84
A Concrete Application of Topological Data Analysis Machine LearningModelingMachine LearningTopological Data Analysisposted by Mathieu Carrière January 30, 2020 Mathieu Carrière Today, I will present a Machine Learning application of Topological Data Analysis (TDA), a rapidly evolving field of data science that makes u...
https://opendatascience.com/a-concrete-application-of-topological-data-analysis/
CC-MAIN-2020-40
refinedweb
1,510
54.02
Chapter 6 introduced some basic object-oriented aspects of Scala. This chapter will pick up where Chapter 6 left off and dive with much greater detail into Scala's support for object-oriented programming. We'll compare two fundamental relationships between classes: composition and inheritance. Composition means one cla...
https://www.artima.com/pins1ed/composition-and-inheritance.html
CC-MAIN-2018-17
refinedweb
6,705
53.31
I'm new to EE, and trying to learn analog, digital, + vhdl. I don't have any hardware, so I'm trying this all via open source digital toolkits. I thought I'd try to create simple VHDL components, and then use QUCS to test them, in circuit. I'm using myHDL to generate the VHDL (). My issue seems to be that QUCS cannot s...
http://sourceforge.net/p/qucs/mailman/qucs-help/thread/5121525E.7020608@gmail.com/
CC-MAIN-2014-23
refinedweb
284
79.36
Maybe you all know about this feature of the just-beta Java 1.5, but I was pleasantly surprised to learn on slide 46 of the presentation below that the new static import feature allows you to write things like import static Math; x = cos(PI * theta); instead of x = Math.cos(Math.PI * theta); (Note that not only does "P...
http://mail-archives.apache.org/mod_mbox/commons-dev/200402.mbox/%3C20040206144104.83364.qmail@web41308.mail.yahoo.com%3E
CC-MAIN-2016-50
refinedweb
126
67.86
How can I write the Makefile for edisoncer1991 Mar 30, 2015 7:36 PM HI, I want to build the "hello world " driver module and lsmod helloworld driver module on the edison.But I don't know how to write the Makefile. Can anyone help me? The hello world driver module is like below: #include <linux/init.h> #include <linux/m...
https://communities.intel.com/thread/62158
CC-MAIN-2018-09
refinedweb
649
66.03
This is a beginner's article to show how to get up and running with the new Windows 7 feature called Jumplists. When we finish, you should be able to create jumplists on the fly and add tasks to them. The main jumplist code is in the form. There are a few things you need to download to use the Windows 7 API and get the...
https://www.codeproject.com/articles/56203/updating-jumplists-on-the-fly
CC-MAIN-2017-09
refinedweb
435
72.87
Rust, verlan of programming languages Designed by Mozilla to write Servo, potential successor to Firefox, it has an LLVM backend. The Rust code is available on Github and interests some programmers who see it as a possible successor to C++ in their field. The word "rust" means red hair in old English and can be an allu...
http://www.scriptol.com/programming/rust.php
CC-MAIN-2016-36
refinedweb
986
71.24
Gluster combines object and file storage . GlusterFS is an open source file system that scales to petabytes with global namespace. Version 3.3 has an object interface integrated into that file system. “Probably 95 percent of enterprise applications haven’t been able to leverage object storage and move to the cloud,” Gl...
http://itknowledgeexchange.techtarget.com/storage-soup/gluster-combines-object-and-file-storage/
CC-MAIN-2015-48
refinedweb
206
54.42
import "net/http"()) chunked.go client.go cookie.go doc.go filetransport.go fs.go header.go jar.go lex.go request.go response.go server.go sniff.go status.go transfer.go transport.go const (. with time.Parse and time.Time.Format when parsing or generating times in HTTP headers. It is like time.RFC1123 but hard codes GM...
http://godoc.org/net/http
CC-MAIN-2013-48
refinedweb
1,107
60.01