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
Introduction: Simple Phone Stand and Charging Dock Welcome to this instructable. Today i am going to show you the design process of a simple phone stand and charging dock. This is a simple light weight phone dock and charging station Supplies 1. A 3D Printer 2. Some 3D Printer Filament (Any Color) 3. Some Adhesive (Opt...
https://www.instructables.com/Simple-Phone-Stand-and-Charging-Dock/
CC-MAIN-2021-43
refinedweb
488
81.43
Wow, this is my first entry. I feel enlightened already :) Well, it is yet another weekend for me without my car. It has been in the shop now for two weeks. Being trapped in my house forces me to concentrate on code even harder. Today I began working on some skeleton code for a simple filesystem for BSD. Right now it d...
http://www.advogato.org/person/harbourn/diary.html?start=0
CC-MAIN-2015-11
refinedweb
302
69.92
Introduction to Unity Scripting – Part 1 Scripting is an essential part of making even the simplest of games. These small collections of code work together to do all sorts of things. Version - C# 7.3, Unity 2019.2, Unity Scripting is an essential part of making even the simplest of games. These small collections of cod...
https://www.raywenderlich.com/4180726-introduction-to-unity-scripting-part-1
CC-MAIN-2021-49
refinedweb
5,629
72.05
Graph a Metric You can select metrics and create graphs of the data using the CloudWatch console. CloudWatch supports the following statistics on metrics: Average, Minimum, Maximum, Sum, and SampleCount. For more information, see Statistics. You can view your data at different granularities. For example, you can choose...
http://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph_a_metric.html
CC-MAIN-2017-04
refinedweb
311
74.08
Write a program that will determine whether a deparment store customer has exceeded the credit limit on a charge account(5000$). The customer gives you his/her account number, he/she has a beginning of the month balance, the program should total all the purchases by the customer for the month, total any credits and dis...
https://www.daniweb.com/programming/software-development/threads/274510/charge-account-program
CC-MAIN-2017-30
refinedweb
204
58.38
In this post post I show that you can combine some techniques from MVC controllers with the new "route-to-code" approach. I show how you can use MVC's automatic content negotiation feature to return XML from a route-to-code endpoint. What is route-to-code? "Route-to-code" is a term that's been used by the ASP.NET Core ...
https://andrewlock.net/using-action-results-and-content-negotiation-with-route-to-code/
CC-MAIN-2022-05
refinedweb
1,323
55.03
.” People’s most favorite platform for developing apps, React native involves handling texts through TextInput that uses the keyboard. To use TextInput, the keyboard should be popped up and occupy some space on the screen. However, you may face some issues with the keyboard while working on the TextInput. In this artic...
https://startxlabs.com/blog-category/ios/
CC-MAIN-2022-33
refinedweb
1,143
58.08
class Solution(object): def deleteNode(self, node): """ :type node: ListNode :rtype: void Do not return anything, modify node in-place instead. """ node.val = node.next.val node.next = node.next.next :levitate: @viakondratiuk Exactly same with yours. @ra1den Probably there are a lot of same solutions for this problem. ...
https://discuss.leetcode.com/topic/51706/python-2-liner
CC-MAIN-2017-47
refinedweb
240
75.5
address: ^[^@]+@([-\w]+\.)+[A-Za-z]{2,4}$Personally, I find it easier to read a pattern by dissecting it into components and then attempting to understand each of the components as they relate to the overall pattern. Having said that, this pattern breaks down to the following parts: - ^The caret character at the begin...
https://www.developer.com/net/cplus/article.php/10919_3497216_2/Using-Regular-Expressions-to-Parse-for-Email-Addresses.htm
CC-MAIN-2018-43
refinedweb
500
55.24
Python Command Overview Contents - 1 Python API Command Overview - 1.1 The Entire Command - 1.2 Breakdown - 1.3 User Facing Strings: Command Help Python API Command Overview This page will attempt to give some "boilerplate" code for creating a Python API command (with arguments) in MODO. There is much more you can do w...
https://modosdk.foundry.com/wiki/Python_Command_Overview
CC-MAIN-2020-10
refinedweb
2,133
63.59
I've made a program that prints out a list of numbers, each one with a greater number of steps (according to the Collatz Conjecture) needed to reach 1 than the previous: limit = 1000000000 maximum = 0 known = {} for num in xrange(2, limit): start_num = num steps = 0 while num != 1: if num < start_num: steps += known[nu...
https://codedump.io/share/8ZxpZ1VjBDxW/1/longest-collatz-or-hailstone-sequence-optimization---python-27
CC-MAIN-2017-43
refinedweb
370
60.18
JWT Auth with Vue, Vuex and Vue Router — Axios & Guards Vuex is the state management library for Vue apps. It provides a central store for globally storing the complete state of the application. It also ensures that data is accessed in certain way by all components. In this tutorial, you will see how you can use Vue.js...
https://www.techiediaries.com/vue-vuex-axios-auth/
CC-MAIN-2021-39
refinedweb
1,120
56.55
ExtUtils::H2PM - automatically generate perl modules to wrap C header files This module assists in generating wrappers around system functionallity, such as socket() types or ioctl() calls, where the only interesting features required are the values of some constants or layouts of structures normally only known to the ...
http://search.cpan.org/~pevans/ExtUtils-H2PM-0.09/lib/ExtUtils/H2PM.pm
CC-MAIN-2015-32
refinedweb
1,462
52.8
#include — Includes an external file for processing. It is sometimes convenient to have the orchestra arranged in a number of files, for example with each instrument in a separate file. This style. Note: Csound versions prior to 4.19 had a limit of 20 on the depth of included files and macros. Another suggested use of ...
http://www.csounds.com/manualOLPC/include.html
CC-MAIN-2016-18
refinedweb
244
75.3
Crashing after a couple of hours - Åke Forslund last edited by Hi I'm setting up a temperature sensor using the gPy device. My idea was to have it in deepsleep for ~30 minutes and then perform a measurement and go back to sleep. I've created a main.py that looks like this: from machine import Pin import time from onewi...
https://forum.pycom.io/topic/7172/crashing-after-a-couple-of-hours
CC-MAIN-2022-05
refinedweb
300
58.79
05 March 2008 04:30 [Source: ICIS news] By Jeremiah Chan SINGAPORE (ICIS news)--Fatty acid demand in Asia is coming off sharply due to volatility in upstream vegetable oil markets, producers and traders said on Wednesday. Feedstock crude palm oil (CPO) prices ended a record-breaking run on Tuesday with benchmark May-de...
http://www.icis.com/Articles/2008/03/05/9105827/asia-oleochemicals-suffer-on-volatile-cpo.html
CC-MAIN-2013-20
refinedweb
307
51.99
sphere_detail() Contents sphere_detail()# Controls the detail used to render a sphere by adjusting the number of vertices of the sphere mesh. Examples# def setup(): py5.size(100, 100, py5.P3D) def draw(): py5.background(200) py5.stroke(255, 50) py5.translate(50, 50, 0) py5.rotate_x(py5.mouse_y*0.05) py5.rotate_y(py5.mo...
https://py5.ixora.io/reference/sketch_sphere_detail.html
CC-MAIN-2022-40
refinedweb
254
55.54
Chatlog 2011-04-20 From RDF Working Group Wiki See panel, original RRSAgent log or preview nicely formatted version. Please justify/explain non-obvious edits to this page, in your "edit summary" text. 14:25:49 <RRSAgent> RRSAgent has joined #rdf-wg 14:25:49 <RRSAgent> logging to 14:25:51 <trackbot> RRSAgent, make logs ...
http://www.w3.org/2011/rdf-wg/wiki/index.php?title=Chatlog_2011-04-20&oldid=1010
CC-MAIN-2014-52
refinedweb
9,031
62.51
So getAsDOM works by serializing the element out to a string, then parsing that as a mini-document. There's a problem with this, though - it doesn't work if there are are namespaced attributes... If we originally had the "xsi" prefix declared at the top level (i.e. <Envelope>), and then ask for this header as DOM: <som...
http://mail-archives.apache.org/mod_mbox/axis-java-dev/200108.mbox/%3C17A15974548DD5118D2A00508B952D96060731@salsa.allaire.com%3E
CC-MAIN-2017-47
refinedweb
173
55.98
On Tue, Aug 03, 2004 at 01:34:08AM +0300, Asko Kauppi wrote: > > I was trying around and noticed this can be done: > > return ({ [0]="yes", [1]="no" })[ rc ] > > ..but this not (had tried before): > > return { [0]="yes", [1]="no" }[ rc ] > > Is there a syntactical reason, or is it just an implementation detail? You're ...
http://lua-users.org/lists/lua-l/2004-08/msg00010.html
crawl-001
refinedweb
109
71.85
Random image rotators everywhere After I came across this I decided that I should write something about the same thing but done in Nevow.After I came across this I decided that I should write something about the same thing but done in Nevow. First of all the task is to write a random image rotation implementation for j...
http://vvolonghi.blogspot.com/2005/12/random-image-rotators-everywhere.html
CC-MAIN-2016-22
refinedweb
230
55.24
Usually, but first we’ll cover the basic principles. Recall from Chapter 3 that a view function is simply a Python function that takes a Web request and returns a Web response. This response can be the HTML contents of a Web page, or a redirect, or a 404 error, or an XML document, or an image...or anything, really. Mor...
http://www.djangobook.com/en/2.0/chapter13.html
CC-MAIN-2016-26
refinedweb
1,206
58.58
context-free-art: Generate art from context-free grammars [ bsd3, graphics, library, program ] [ Propose Tags ] Create art via context free grammar production rules..Probabilistic import Data.List.NonEmpty -- let's define a Production rule a = Circle 1 -- this will produce an IO (Maybe Svg) from the blaze-svg package -...
https://hackage.haskell.org/package/context-free-art-0.3.0.0
CC-MAIN-2021-31
refinedweb
192
58.72
CryptExportKey (Windows CE 5.0) This function exports cryptographic keys from of a cryptographic service provider (CSP) in a secure manner. The caller passes to the CryptImportKey function a handle to the key to be exported and gets a key binary large object (BLOB). This key BLOB can be sent over a nonsecure transport ...
https://msdn.microsoft.com/en-us/library/ms938025.aspx
CC-MAIN-2015-32
refinedweb
576
57.06
Chatlog 2010-03-04 From RDFa Working Group Wiki See CommonScribe Control Panel, original RRSAgent log and preview nicely formatted version. 14:26:34 <RRSAgent> RRSAgent has joined #rdfa 14:26:34 <RRSAgent> logging to 14:26:36 <trackbot> RRSAgent, make logs world 14:26:36 <Zakim> Zakim has joined #rdfa 14:26:38 <trackbo...
http://www.w3.org/2010/02/rdfa/wiki/Chatlog_2010-03-04
CC-MAIN-2014-10
refinedweb
2,930
66.78
Technical Support On-Line Manuals RL-ARM User's Guide (MDK v4) #include <net_config.h> U8 *http_get_content_type (void); The http_get_content_type function returns a pointer to the Content-Type html header, which was received in the xml or any other type post. You can use this function to check for the content type, wh...
http://www.keil.com/support/man/docs/rlarm/rlarm_http_get_content_type.htm
CC-MAIN-2019-30
refinedweb
155
57.06
Getting What Key is Pressed on Keyboard Hey guys I have a simple question. I saw a post on the forum here that was related to this but unfortunately, the only answer on that post did not clarify enough for me. So what I need to ask is this: Say I ask for a user’s input in a text field, how do I make it so that instead ...
https://forum.omz-software.com/topic/4483/getting-what-key-is-pressed-on-keyboard
CC-MAIN-2018-13
refinedweb
178
64.34
Richard Branson Announces Virgin Oceanic Submarine samzenpus posted more than 3 years ago | from the 6-miles-down dept. It's the tripnaut! writes "Richard Branson has just revealed that he intends to build a vessel capable of exploring some of the deepest parts of the oceans around the world. The article further states...
http://beta.slashdot.org/story/150004
CC-MAIN-2014-42
refinedweb
4,889
79.3
On 5 Jan 2008, at 13:46, Archana wrote: > Hello , > I had previously send the fix for this bug, but i cant find it now, > so I am sending it again. > > > ASSERT(MUTEX_HELD(&mod_lock)); > > if ((fp = ctf_bufopen(&ctfsect, &symsect, &strsect, error)) == NULL) > + dprintf(?cannot open ctf_bufopen()?); > return (NULL); Adv...
https://www.mail-archive.com/request-sponsor@mail.opensolaris.org/msg01236.html
CC-MAIN-2016-44
refinedweb
205
55.17
Hints, tips and best practices on the use of BizTalk in the real world While testing the WCF-WSHttp receive adapter this week I ran in this very interesting, and rather obscurely worded error: The message with To '' cannot be processed at the receiver, due to an AddressFilter mismatch at the EndpointDispatcher. Check t...
http://blogs.msdn.com/nabeelp/archive/2008/03/07/obscure-error-addressfilter-mismatch-at-the-endpointdispatcher.aspx
crawl-002
refinedweb
655
56.79
view raw I'm doing a codewar where you need to find the sum of positive numbers in an array. I was able to find a solution except for when the test arrays are empty or all the elements are negative. How to I return 0 instead of nil? Here is my solution... def positive_sum(arr) arr.select {|x| x > 0}.reduce :+ end There...
https://codedump.io/share/St3VEszkvTmA/1/protect-against-nil-in-ruby
CC-MAIN-2017-22
refinedweb
140
76.72
Java doesn’t allow multiple inheritance for the fear of Deadly Diamond of Death. And to circumvent this Java introduced interfaces where in a class can extend only one other class, but implement multiple interfaces. These interfaces don’t contain any implementations. (This is going to change with Defender Methods in Ja...
http://www.javabeat.net/traits-scala/
CC-MAIN-2014-41
refinedweb
614
63.59
Aros/Developer/Docs/Libraries/BSDsocket Contents Introduction[edit] Amiga had a few attempts at internet access (TCP) and address (IP) stacks. AmiTCP (BSD 4.3) to Miami ( ) to Roadshow (OS4 and possibly AmigaOS (TM)). A few of these functions have macros for easier use (select, inet_ntoa, etc.), but you must use CloseS...
http://en.wikibooks.org/wiki/Aros/Developer/Docs/Libraries/BSDsocket
CC-MAIN-2014-52
refinedweb
2,326
50.63
Odoo Help Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps: CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc. How to avoid on_change recursion? I have four many2one fields from which only one can be populated at a time so I set on_change e...
https://www.odoo.com/forum/help-1/question/how-to-avoid-on-change-recursion-10842
CC-MAIN-2017-04
refinedweb
183
59.47
BATTLE FOR AUSTRALIA NEWSLETTER SEPTEMBER 2010 A Micro-Sleep can kill in Seconds! A uniquely Australian Independent organisation dedicated for over 80 years to caring for the families of deceased veterans and members of the Australian Defence Forces who lose their lives as a result of their service. A DONATION, GIFT OR...
https://www.yumpu.com/en/document/view/38330847/battle-for-australia-newsletter-september-2010
CC-MAIN-2020-05
refinedweb
23,126
58.92
By myfear via carlodaffara.conecta.it Published: Sep 03 2010 / 16:58 After all the talks about platform independence, portability, universality of HTML5, and so on – why Apps? why closed (or half-open) app stores, when theoretically the same thing can be obtained through a web page? I have a set of personal opinion on ...
http://www.dzone.com/links/web_versus_apps_what_is_missing_in_html5.html
crawl-003
refinedweb
179
51.78
Setting up resource message bundles in JSF to provide multilingal messages and captions is often overlooked when first creating an application. Leaving it till later in the project means you will have to go back and manually change the constants over to resource based values. Resource bundles JSF 1.2 were far from perf...
http://www.andygibson.net/blog/article/resource-bundles-in-jsf-2-0-applications/
CC-MAIN-2019-13
refinedweb
1,647
56.05
NAME mbuf - memory management in the kernel IPC subsystem SYNOPSIS #include <sys/param.h> #include <sys/systm.h> #include <sys/mbuf.h> Mbuf allocation macros MGET(struct mbuf *mbuf, int how, short type); MGETHDR(struct mbuf *mbuf, int how, short type); MCLGET(struct mbuf *mbuf, int how); MEXTADD(struct mbuf *mbuf, cadd...
http://manpages.ubuntu.com/manpages/hardy/man9/M_PREPEND.9.html
CC-MAIN-2013-20
refinedweb
766
62.98
How to convert in modern C++ (C++11/14/17) a double into a date time using the date.h library, when the double has been generated while exporting an Excel worksheet as a CSV file? For instance, the datetime appearing in Excel: 21/08/2017 11:54 has been converted by Excel into the CSV file as the double: 42968.495833333...
https://codedump.io/share/GLupgfHehmKS/1/how-to-convert-in-modern-c-a-double-into-a-datetime
CC-MAIN-2019-39
refinedweb
262
56.96
jGuru Forums Posted By: Suchot_Nimitraht Posted On: Saturday, December 29, 2001 05:58 AM Hello all I have some problem.Please help me about java 2D. In my project, I use BufferedImage class but i want to get a raw data of Image.How? ex. a image 32*24 pixel so i have 768 Pixels,right. How can i get this raw data of 768 ...
http://www.jguru.com/forums/view.jsp?EID=704943
CC-MAIN-2015-22
refinedweb
464
52.87
Fast Infoset and bnux performance results: oranges-to-apples? By sandoz on Oct 20, 2005 Wolfgang Hoschek presented, at the GridWorld/GGF15, performance results comparing the XOM-based parsing and serializing of XOM documents encoded using Fast Infoset (FI) and encoded using the bnux format. These results do not show FI...
https://blogs.oracle.com/sandoz/entry/fast_infoset_and_bnux_performance
CC-MAIN-2014-15
refinedweb
996
60.24
if __name__ == "__main__": block of code. However, if the module is also meant to possibly be used by itself, then this approach doesn't work and the testing code has to be put in a separate module. I wish it would be possible to write something like if __name__ == ''SomeNameChosenForTestingPurpose": inside this_module...
http://aroberge.blogspot.com/2006_02_01_archive.html
CC-MAIN-2014-15
refinedweb
192
52.29
Am Montag, den 09.07.2007, 00:11 +1000 schrieb René Dudfield: > I think the reason is that zope, and paste are not named for what they do. > > I mean, without knowing what's in them, zope and paste are kind of > abstract things for people. > > I mean if something was called zope.configurator vs configurator - > people ...
http://mail.python.org/pipermail/web-sig/2007-July/002735.html
CC-MAIN-2013-20
refinedweb
192
75.91
WebReference.com - Part 3 of Chapter 1: Professional XML Schemas, from Wrox Press Ltd (5/5) Professional XML Schemas Validating an Instance Document Now let's try validating an instance document against our simple schema: <?xml version = "1.0" encoding = "UTF-8"?> <Name xmlns: <firstName>John</firstName> <middleInitial...
http://www.webreference.com/authoring/languages/xml/schemas/chap1/3/5.html
CC-MAIN-2013-48
refinedweb
501
60.24
On 16 Apr, 03:36 pm, pje at telecommunity.com wrote: >At 03:46 AM 4/16/2009 +0000, glyph at divmod.com wrote: >>On 15 Apr, 09:11 pm, pje at telecommunity.com wrote: >. [snip clarifications] >Does that all make sense now? Yes. Thank you very much for the detailed explanation. It was more than I was due :-). >MAL's propo...
https://mail.python.org/pipermail/python-dev/2009-April/088838.html
CC-MAIN-2017-30
refinedweb
380
61.67
Hi guys, I am having some issues getting my code to compile that I am working on that deals with inline functions and inheritance. The code is supposed to create a squareShape class that inherits the attributes of the rectShape class. I made the main code simply attempt to instantiate a squareShape object with particul...
https://cboard.cprogramming.com/cplusplus-programming/49367-inline-functions-inheritance.html
CC-MAIN-2017-09
refinedweb
533
55.44
izer that automates the creation of new projects. npm init colyseus-app ./my-colyseus-app This interactive initializer takes care of our basic setup. While it’s also possible to use Colyseus with plain old JavaScript or Haxe, we’re going to stick with TypeScript. ? Which language you'd like to use? … ❯ TypeScript (reco...
https://blog.logrocket.com/building-a-multiplayer-game-with-colyseus-io/
CC-MAIN-2021-04
refinedweb
1,933
55.64
JavaRanch » Java Forums » Java » Threads and Synchronization Author Thread question Brian Spindler Greenhorn Joined: May 17, 2007 Posts: 29 posted Jun 16, 2007 09:09:00 0 Image you have a method doWork() that can take several minutes to complete, you want to spawn a bunch of these from your getWorkDone() method and wa...
http://www.coderanch.com/t/233842/threads/java/Thread
CC-MAIN-2014-35
refinedweb
824
64.71
Trend.bz combines a whole heap of the top internet trends into one location. Check out what’s hot on the internet right now including the top YouTube videos, the top Google searches, the top eBay items and more. Trend.bz – The top internet trends in one place Posted in Uncategorized. Comments Off on Trend.bz – The top ...
http://bx.com.au/blog/page/2/
CC-MAIN-2018-30
refinedweb
1,368
63.9
On Sun, Jul 21, 2019 at 3:00 PM Brian Bouterse <bbouters at redhat.com> wrote: > > > On Sun, Jul 21, 2019 at 6:23 AM Tatiana Tereshchenko <ttereshc at redhat.com> > wrote: > >> +1 to the idea of a repo_key. >> >> Should we also add the ability to apply custom validation of the content >> being added? >> Similar to a re...
https://listman.redhat.com/archives/pulp-dev/2019-July/003287.html
CC-MAIN-2022-40
refinedweb
1,577
70.63
This solution explains a socket approach to sending a message (broadcast message) to clients in the same VLAN (Virtual Lan). If broadcasting is needed for the whole LAN (over all VLANs) in the same local area network then you have to use Remoting instead of Sockets. The application consists of two programs "Clfrm" and ...
http://www.codeproject.com/Articles/21398/Broadcasting-Using-Socket-Oriented-Approach
CC-MAIN-2015-40
refinedweb
636
52.15
Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode. Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript). On 12/03/2017 at 01:17, xxxxxxxx wrote: I searched a bit and found som...
https://plugincafe.maxon.net/topic/10008/13474_get-softselection-data-in-python
CC-MAIN-2021-31
refinedweb
387
69.07
That's it... Jaime I guess, you are speaking about export: in your "def" file: //example EXPORTS ; Explicit exports can go here DllGetClassObject PRIVATE DllRegisterServer PRIVATE Dmitriy, MCSE No! if the subject of the question has the word "import" is about that what I was asking for. I am NOT doing a DLL so I DON'T ...
http://forums.codeguru.com/showthread.php?61271-How-to-import-a-function-from-a-DLL
CC-MAIN-2014-42
refinedweb
1,473
74.9
Does, I've created one Inbox and one Calendar wepbart as descibed here: using OWAInboxPart and OWACalendarPart (code below). When deploying them and placing them on the same page, only one of them will show anything. It looks like the last added webpart works, while the other won't. If any one of them is placed alone o...
http://www.dotnetspark.com/links/49524-moss-2007-email-integration-question-not.aspx
CC-MAIN-2017-43
refinedweb
267
61.53
An ESP2866 is never going to compete with an actual graphics card. But it has more than enough oomph to explore the fundamentals of 3D graphics. In this short tutorial we'll go through the basics of creating a 3D scene and displaying it on an OLED screen using MicroPython. This kind of mono wireframe 3D reminds me of e...
https://www.mfitzp.com/creating-a-3d-rotating-cube-with-micropython-and-oled-display/
CC-MAIN-2022-27
refinedweb
1,466
66.03
. My opinion is if you are going to do something like this to C#, you use prototypes like you have in Javascript, JScript.NET, etc. (I’m sure you know what I mean, in case someone reading this doesn’t) function MyClass_MyFunction() { } function MyClass() { } MyClass.prototype.MyFunction = MyClass_MyFunction; new MyClas...
https://blogs.msdn.microsoft.com/ericgu/2004/07/01/extending-existing-classes/
CC-MAIN-2018-22
refinedweb
1,590
57.1
Hi guys here is my assignment for a brief history. Project 9 Random Monoalphabet Cipher Random monoalphabet cipher. The Caesar cipher, which shifts all letters by a fixed amount, is ridiculously easy to crack - just try out all 25 possible keys. Here=s a better idea . For the key, don=t use numbers but words. Suppose t...
http://www.javaprogrammingforums.com/whats-wrong-my-code/28569-need-help-inputting-writing-external-data-file.html
CC-MAIN-2014-42
refinedweb
498
53.37
Animation. Install 1.- Unzip in Maya Script Path of your version, C:\Users\[username]\Documents\maya\[version]\scripts Example path in windows with Maya 2013, C:\Users\User\Documents\maya\2013-x64\scripts 2.- Open Script Editor, paste this text in a python console, and execute it. Or Create a python button in the shelf...
https://www.highend3d.com/maya/script/animation-manager-0-9-30-for-maya
CC-MAIN-2019-35
refinedweb
328
50.16
Hey everyone, I've got a problem with my program and don't really know how to fix it. The program is a simulation Game of Life and has these rules: - A new cell is born on an empty square if is surrounded by exactly three neighboring cells - A cell dies of overcrowding if it has four or more neighbors - A cell dies of ...
https://www.daniweb.com/programming/software-development/threads/178961/help-with-project-program
CC-MAIN-2017-39
refinedweb
500
53.07
If you’ve used C# for any length of time, you’ve used events. Most likely, you wrote something like this: public class MyCoolCSharpClass { public event EventHandler MyCoolEvent; } public class MyOtherClass { public void MyOtherMethod(MyCoolCSharpClass obj) { obj.MyCoolEvent += WhenTheEventFires; } private void WhenTheE...
https://blogs.interknowlogy.com/tag/discussion/
CC-MAIN-2021-39
refinedweb
1,064
57.71
Large Files And Sensitive Data¶ Some tests require data that are best not checked into source control. These data are typically either sensitive (e.g. cryptographic keys), large (e.g. large seed data), or both. Small Sensitive Data¶ Small pieces of sensitive data, like API keys, are best configured using config variabl...
http://docs.solanolabs.com/Setup/large-files-sensitive-data/
CC-MAIN-2017-26
refinedweb
935
50.57
Odoo Help Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps: CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc. Hi, Add a selection field to your model where the user can chose between HTML and PDF. Add a method that call your report based o...
https://www.odoo.com/forum/help-1/question/generate-report-in-pdf-and-html-109555
CC-MAIN-2017-30
refinedweb
190
52.56
I have bought a mechanical arm before some days. Its picture looks a little cute. There are two colors for consumers to choose, black and white. I chose black one. There are four servos for it. First one is to control its mechanical hand to catch something. The second one is to control height of its arm and hand. The t...
http://www.elecfreaks.com/8331.html
CC-MAIN-2017-17
refinedweb
996
68.36
But don do that. Im. /********************************************************************* * A simple C library file, with a single function, "message", * which is to be made available for use in Python programs. * There is nothing about Python here--this C function can be * called from a C program, as well as Python ...
https://flylib.com/books/en/2.723.1/the_swig_integration_code_generator.html
CC-MAIN-2018-22
refinedweb
1,631
64.81
Code. Collaborate. Organize. No Limits. Try it Today. Have you heard about the TypeScript? If ‘No’ then, TypeScript is a superset of JavaScript that combines type checking and static analysis, explicit interfaces, and best practices into a single language and compiler. It is an open source programming language develope...
http://www.codeproject.com/Articles/470129/TypeScript-Superset-of-JavaScript?msg=4393904
CC-MAIN-2014-23
refinedweb
673
65.01
Lab 13: Coroutines Due at 11:59pm on 08/04/2016. Starter Files Download lab13 Question 3 is in lab13.py. - Questions 4 through 10 are optional. It is recommended that you complete these problems on your own time. Starter code for these questions is in lab13_extra.py. Generators A generator function returns a special ty...
http://inst.eecs.berkeley.edu/~cs61a/su16/lab/lab13/
CC-MAIN-2018-17
refinedweb
1,605
67.65
Bruno Haible 2017-09-23 08:50:07 UTC ======================================================================= #include <locale.h> #include <monetary.h> #include <stdio.h> int main () { char buf[80]; printf ("currency = |%s|\n", localeconv()->currency_symbol); printf ("positive sign = |%s|\n", localeconv()->positive_sign...
http://bug-gnulib.gnu.narkive.com/DuMljq4U/strfmon-in-the-c-locale
CC-MAIN-2018-34
refinedweb
445
51.28
Recently, in one of my projects, I needed to build a simple user interface consisting of a series of bitmap buttons in a dialog. Something simple and probably easy to use. About the same time, I came across David Pizzolato's very nice article on skinned button at codeproject.com, that got me thinking. What came out of ...
http://www.codeproject.com/Articles/1177/CAtlBitmapButton-ATL-WTL-Ownerdraw-Superclassed-Bi?fid=2256&df=90&mpp=10&noise=1&prof=True&sort=Position&view=Expanded&spc=None
CC-MAIN-2013-20
refinedweb
589
50.94
I am trying to create a two dimensional array, which has either 1 or 0 randomly assigned to each coordinate. It works just fine until it gets to the coordinates [20][3]. After that it just throws out "segmentation fault 11". I am absolutely clueless how or why. Especially since I can create a matrix with 200 * 200 for ...
https://codedump.io/share/vNnEEhBTifhD/1/trying-to-access-array-element-in-loop-causes-segmentation-fault-why
CC-MAIN-2017-30
refinedweb
265
72.87
the database. The following references could be very helpful: - SwiftKuery library - Working with SQL in Swift using Swift-Kuery - Final Bookstore project you can clone from Github Let’s get started! Create a Swift projectYou can create a new Swift project using the Swift package manager by calling: $ swift package in...
https://developer.ibm.com/swift/2016/12/05/creating-a-bookstore-application-interface-to-sql/
CC-MAIN-2017-13
refinedweb
2,731
52.7
- Computer Vision with Raspberry Pi and the Camera Pi module Let’s see how to use the Camera Pi module, a quality photo video camera, purposely designed for Raspberry PI, to acquire the first knowledge concerning Computer Vision, to recognize colors and shapes. Camera Pi is an excellent add-on for Raspberry Pi, to tak...
http://www.open-electronics.org/computer-vision-with-raspberry-pi-and-the-camera-pi-module/
CC-MAIN-2017-22
refinedweb
3,353
51.99
I also blog frequently on the Yesod Web Framework blog, as well as the FP Complete blog. See a typo? Have a suggestion? Edit this page on Github I recently wrote an FP Complete blog post entitled ResourceT: A necessary evil. I had a line in that post I wanted to expand upon: I believe this is an area where the RAII (Re...
https://www.snoyman.com/blog/2018/10/raii-better-than-bracket-pattern
CC-MAIN-2019-09
refinedweb
743
55.27
static... doesn't have to be instantiated, lives in a static class, and can be called at any time by just the method name. static class classA { public static void dosomething() { //method that does something } } intance methods live in a class that must be referenced and constructed... public class classB { classB() {...
https://www.daniweb.com/programming/software-development/threads/196181/static-vs-instances
CC-MAIN-2016-50
refinedweb
192
68.36
Spin locks are a low-level synchronization mechanism suitable primarily for use on shared memory multiprocessors. When the calling thread requests a spin lock that is already held by another thread, the second thread spins in a loop to test if the lock has become available. When the lock is obtained, it should be held...
http://docs.oracle.com/cd/E26502_01/html/E35303/ggecq.html
CC-MAIN-2015-06
refinedweb
678
63.59
JavaScript/Operators From Wikibooks, the open-content textbooks collection [edit] Arithmetic Operators Javascript has the arithmetic operators +, -, *, /, and %. These operators function as the addition, subtraction, multiplication, division and modulus operators, and operate very similarly to it's negative counterpart...
http://en.wikibooks.org/wiki/JavaScript/Operators_and_Expressions
crawl-002
refinedweb
566
56.45
Hey Wix Team, Guys, I have a htttpfunction to delete the contents of a database after some date/time of its creation. I am using a query to initially find the items from two collections to delete and then WixData.Remove to delete the items that I wanted to delete. But I have two issues currently with my code: 1. WixDat...
https://www.wix.com/corvid/forum/community-discussion/how-to-apply-wixdataoptions-and-or-with-http-function-query
CC-MAIN-2020-05
refinedweb
497
59.3
From Clueless to Currying in Five Minutes In the past month I’ve grasped and forgot the finer points of currying functions a few times, so here’s a quick article that will cover the concept generally. Before we get into it, know that currying is used a lot in functional programming, and it relies on the concept of high...
https://s-satsangi.medium.com/on-currying-611f23cd3853
CC-MAIN-2022-40
refinedweb
1,056
61.97
Hi guys, > The problems is often that the text goes trough an extra charset > encodings/decodings when you try to examine it for debugging purposes, > and this can obliterate the traces of the root problem. To spot where > exactly the problem happens, print (e.g. log) the text on various phases > (e.g. when you get the...
http://mail-archives.us.apache.org/mod_mbox/velocity-user/200501.mbox/%3C376e3b1405011905057c30ba71@mail.gmail.com%3E
CC-MAIN-2019-22
refinedweb
207
50.02
I. Note: there’s no source code accompanying this article. It’s all rather trivial, really. Okay, let me briefly explain: say you’ve got a string and you want to remove its last character. What do you do? Well, the typical solution is to write s.Substring(0, s.Length-1) which is technically correct but feels like you’r...
https://www.codeproject.com/Articles/538561/Ranges-in-Csharp?msg=4501890
CC-MAIN-2017-26
refinedweb
1,343
65.42
RECOMMENDED: If you have Windows errors then we strongly recommend that you download and run this (Windows) Repair Tool. –map CollectMineralShards –agent. The error message "Windows Sockets registry entries required for network connectivity are missing" can be extremely frustrating. Here is how you fix it. Appscan Inte...
http://geotecx.com/window-socket-error/
CC-MAIN-2018-17
refinedweb
527
59.5
Forum:Huff the File Namespace From Uncyclopedia, the content-free encyclopedia Before you all groan "lol, what the fuck?", I've already read up on the issues surrounding the File namespace and, more importantly, the arguments for keeping it around. I don't intend for this to be another forum where extreme solutions are...
http://uncyclopedia.wikia.com/wiki/Forum:Huff_the_File_Namespace
CC-MAIN-2016-22
refinedweb
1,064
73.27
Create a Report with Landscape Pages This example shows how to create a report with landscape pages that are 11 inches wide and 8.5 inches high. Using landscape pages allows fitting content that is too wide to fit on a portrait page, such as side-by-side images depicted here. Import the DOM and Report API packages so t...
https://fr.mathworks.com/help/rptgen/ug/create-a-landscape-report.html
CC-MAIN-2022-33
refinedweb
509
58.99
Timeline … 09/29/11: - 21:16 Ticket #31462 (Samba3 Undefined symbols for architecture x86_64) created by - Everything goes fine, but then the compilation fails because of the arch … - 20:09 Ticket #30481 (Upgrade Transmission to 2.33) closed by - fixed: Fixed in r84708. - 20:09 Ticket #30307 (transmission 2.22 fails to...
https://trac.macports.org/timeline?from=2011-09-30T00%3A32%3A18-0700&precision=second
CC-MAIN-2016-07
refinedweb
5,993
57.4
C++ function call by value The call by value method of passing arguments to a function copies the actual value of an argument into the formal parameter of the function. In this case, changes made to the parameter inside the function have no effect on the argument. By default, C++ uses call by value x into y */ return; ...
http://www.tutorialspoint.com/cgi-bin/printversion.cgi?tutorial=cplusplus&file=cpp_function_call_by_value.htm
CC-MAIN-2014-15
refinedweb
146
51.55
Here I’ll go over a bunch more on Python. If you haven’t seen Part 1 of the Python How To Program Tutorial, read it first. In this article I’ll cover functions, exception handling and general file i/o. I’ve read your comments, and yes I will be providing a bunch of Python sample programs and videos. They may already be...
http://www.newthinktank.com/2010/08/python-how-to-functions-exceptions/
CC-MAIN-2020-24
refinedweb
886
71.95
Error - Struts Error Hi, I downloaded the roseindia first struts example... create the url for that action then "Struts Problem Report Struts has detected... ----------------------- RoseIndia.Net Struts 2 Tutorial RoseIndia.net Struts 2 error error The content of element type "struts" must match "(package|include|bean|...
http://roseindia.net/tutorialhelp/comment/87929
CC-MAIN-2014-10
refinedweb
457
53.47
> Further from my own message, attached is a slightly improved > version that expands the macros so that the user doesn't need > to know about them. Third time lucky! Both snippets of code I posted need one little change - the return from fetch-att should be "return (query, '')" rather than simply "return query" (pays ...
http://twistedmatrix.com/pipermail/twisted-python/2003-July/004924.html
CC-MAIN-2017-30
refinedweb
121
72.9
This is a known issue captured and the referenced BZ. Advertising Bottom line is to achieve multi-tenancy using the Kibana version provided by the EFK stack, each user essentially has a 'profile' where there dashboards and visualizations are stored. Their currently is no easy mechanism in the version we provide that wo...
https://www.mail-archive.com/users@lists.openshift.redhat.com/msg02464.html
CC-MAIN-2016-40
refinedweb
204
56.15
UART ifinite output - Vladimir Abramov last edited by Vladimir Abramov Hello trying to learn working with UART. According this article i connected TX and RX pins. Form ubuntu open two terminals and open ssh session from both. run cat /dev/ttyS1 in one and echo "test" > /dev/ttyS1 in other. But i see my "test" message o...
https://community.onion.io/topic/3057/uart-ifinite-output/
CC-MAIN-2020-29
refinedweb
131
60.31
import "golang.org/x/net/publicsuffix" Package publicsuffix provides a public suffix list based on data from. A public suffix is one under which Internet users can directly register names. var List cookiejar.PublicSuffixList = list{} List implements the cookiejar.PublicSuffixList interface by calling the PublicSuffix f...
https://godoc.org/golang.org/x/net/publicsuffix
CC-MAIN-2018-26
refinedweb
179
55.61
ALTQ(9) BSD Kernel Manual ALTQ(9) ALTQ - kernel interfaces for manipulating output queues on network inter- faces #include <sys/types.h> #include <sys/socket.h> #include <net/if.h> void IFQ_ENQUEUE(struct ifaltq *ifq, struct mbuf *m, struct altq_pktattr *pa, int err); void IFQ_DEQUEUE(struct ifaltq *ifq, struct mbuf *m...
http://www.mirbsd.org/htman/i386/man9/altq.htm
CC-MAIN-2015-14
refinedweb
1,348
57.16
>We're being clever and returning from IO not a Char, but a MyMonad Char >(mimp). Then, we run that, which either produces the answer we wanted, >or throws an error in MyMonad. Thanks. That did the trick! :-) Regards > >However, it's still rather cumbersome, so here's a function similar to >liftError that works for you...
http://www.haskell.org/pipermail/haskell-cafe/2005-July/010894.html
CC-MAIN-2014-41
refinedweb
143
55.95
C++ program to add two complex numbers. C++ programming code #include <iostream> using namespace std; class complex { public : int real, img; }; int main() { complex a, b, c; cout << "Enter a and b where a + ib is the first complex number."; cout << "\na = "; cin >> a.real; cout << "b = "; cin >> a.img; cout << "Enter ...
https://www.evidhya.com/subjects/cplusplus/program-to-add-two-complex-numbers
CC-MAIN-2021-31
refinedweb
114
87.72
Introduction: -. Namespaces A namespace contains types that you can use in your program. These types are: classes, structures, enumerations, delegates, and interfaces. Here is a list of most of the namespaces found in .NET Framework 4.5.: “If you specify that a method is an async method by using an Async or async modif...
https://www.codeguru.com/visual-basic/ten-basic-framework-functions-every-vb-developer-should-know/
CC-MAIN-2021-43
refinedweb
422
59.5
interesting and low-effort way to make CompCert more aggressive. Consider these functions: int foo (int x, int y) { return (x==y) || (x>y); }int bar (int x) { return (x>3) && (x>10); } Clearly foo() can be simplified to return “x≥y” and bar() can be simplified to return “x>10.” A random version of GCC emits: _foo: x...
https://blog.regehr.org/archives/496
CC-MAIN-2020-34
refinedweb
1,340
50.77
Code. Collaborate. Organize. No Limits. Try it Today. This article discusses how to extend ADO.NET TableAdapter functionality in Visual Basic .NET. TableAdapters were introduced in ADO.NET 2.0. Basically, a TableAdapter lets you connect to a database, run queries or stored procedures, return a new table or fill existin...
http://www.codeproject.com/Articles/17324/Extending-TableAdapters-for-Dynamic-SQL?fid=379264&df=90&mpp=10&sort=Position&spc=Relaxed&select=3910063&tid=4004684
CC-MAIN-2014-23
refinedweb
2,051
56.55
I have data streaming in the following format: from StringIO import StringIO data ="""\ ANI/IP sip:[email protected] sip:[email protected] sip:[email protected] """ import pandas as pd df = pd.read_table(StringIO(data),sep='\s+',dtype='str') What I would like to do is replace the column content with just the phone numb...
http://www.howtobuildsoftware.com/index.php/how-do/4rB/python-regex-pandas-replacing-pandas-column-with-a-subset-of-itself-through-regex
CC-MAIN-2019-13
refinedweb
127
69.79
template tricks Testing template rendering Test the rendering of a template.py template def renderTemplate(templatename,*args,**kw): '''quick way to test a template.py template''' import template if not "." in templatename: templatename = templatename + ".tmpl" obj = template.Template(open(templatename).read()) return ...
http://webpy.org/template_tricks
CC-MAIN-2014-15
refinedweb
268
56.45
Hola Amigo, I presume you are already familiar with the Actor Model i.e why you are looking for the lifecycle of an actor. So, let’s dive deeper into the Akka Actor Lifecycle. So, what happens when we create an actor and when it stops? The lifecycle of an actor starts automatically after its creation(instantiation). A ...
https://blog.knoldus.com/the-lifecycle-of-an-actor-in-akka/
CC-MAIN-2021-04
refinedweb
549
59.09
A while back when I first started with my company, the domain had already been set up using a "xxx.net" DNS name for the internal AD namespace. The shortname is just fine and I feel no need to change it but I have always hated how we used an internet DNS name for our internal AD. We are planning an AD upgrade from 2003...
http://serverfault.com/questions/231198/best-timing-for-windows-ad-domain-name-change
crawl-003
refinedweb
298
67.79