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
This program is supposed to read 10 integers from an input file, save the largest and smallest integer to an outfile, and compute the even and odd integers and save the sums to an outfile. (The contents of the file named input.dat are: 45 23 12 8 -67 56 87 -33 50 15) I've created the two files input.dat and result.dat ...
https://www.daniweb.com/programming/software-development/threads/152490/read-from-file-problem-and-function-problem
CC-MAIN-2017-17
refinedweb
237
56.89
Could you please share your driver with us? thanksthanksmcauser wrote: ↑Fri Feb 23, 2018 3:53 pmIt's still a work in process, but complete enough for you to start experimenting. Various size panels, Black/White, Black/White/Red and Black/White/Yellow displays. I only own the 2.9" B/W display and i've got it working wit...
https://forum.micropython.org/viewtopic.php?t=3393&start=20
CC-MAIN-2020-24
refinedweb
512
79.97
After reading Steve Yegge’s Code’s Worst Enemy post I finally decided to give Rhino a whirl. I heard it mentioned here and there for a while now – mostly by Steve actually, but also by others. Actually others were mostly saying something among the lines “WTF is this Rhino shit Steve is talking about?”. In fact a while ...
http://www.terminally-incoherent.com/blog/2008/01/08/rhino-scripting-java-with-javascript/
crawl-003
refinedweb
1,568
73.27
In writing this article, I made use of code adapted from several sources. I provide references at the end, as well as further reading and ideas for incorporating Perlin noise into more complete applications. To use the sample files, or to follow these techniques, you'll need both Macromedia Director MX and Macromedia F...
http://www.adobe.com/devnet/director/articles/perlin_noise.html
crawl-002
refinedweb
1,682
51.18
This action might not be possible to undo. Are you sure you want to continue? ) Software Engineering II Fakhar Lodhi 1 Software Engineering-II (CS605) Lecture No. 1 Introduction to Software Engineering: • • • • • • • Programming Language Programming Language Design Software Design Techniques Tools Testing Maintenance D...
https://www.scribd.com/document/8746600/Software-Engineering-II
CC-MAIN-2017-04
refinedweb
42,066
53.41
How to configure the dashboard navigation¶ Oscar comes with a pre-configured dashboard navigation that gives you access to its individual pages. If you have your own dashboard app that you would like to show up in the dashboard navigation or want to arrange it differently, that’s very easy. All you have to do is overri...
https://django-oscar.readthedocs.io/en/latest/howto/how_to_configure_the_dashboard_navigation.html
CC-MAIN-2022-05
refinedweb
448
57.5
In this section, you will learn how to create a new directory. Description of code: This is a common task. The java.io.package provides various useful tools that has made the file handling easier. Programming has now became much easier. You can see in the given example, we have created an object of File class and speci...
http://www.roseindia.net/tutorial/java/core/files/filenewDirectory.html
CC-MAIN-2014-52
refinedweb
131
67.25
These are raw notes from subtitles, feel free to improve them! Turning sentences into trees Contents In which the instructor tells a story about the benefits of memoization. Welcome back! We're about to start unit 4, and one of the things we're going to cover is the suprising power you can get from just writing down so...
https://www.udacity.com/wiki/cs262/unit-4
CC-MAIN-2017-13
refinedweb
24,015
81.33
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jesse Noller wrote: > On Mon, Apr 6, 2009 at 12:28 PM, R. David Murray <rdmurray at bitdance.com> wrote: >> On Mon, 6 Apr 2009 at 12:00, Jesse Noller wrote: >>> On Mon, Apr 6, 2009 at 9:26 AM, Barry Warsaw <barry at python.org> wrote: >>>> -----BEGIN. >>>> >>>> Barry >>> Th...
https://mail.python.org/pipermail/python-dev/2009-April/088361.html
CC-MAIN-2017-34
refinedweb
294
75.2
> I'm considering building an application in Unity that is intended to run continually in the background (minimized or behind other windows). While I might be able to get away with purely sound notifications, I'd still like to have visual feedback that the user needs to look at the app. I have seen a few different solu...
https://answers.unity.com/questions/951754/producing-windows-notifications-in-unity.html
CC-MAIN-2019-22
refinedweb
357
60.55
Introduction: RaspberryPi Pulse Width Modulation Demonstration This instructable is a demonstration of the settings used to control the hardware Pulse Width Modulation (PWM) on a RaspberryPi. If you are just fading an LED the default settings are good enough, but if you are trying to control a servo, a stepping motor, ...
https://www.instructables.com/id/RaspberryPi-Pulse-Width-Modulation-Demonstration/
CC-MAIN-2020-05
refinedweb
2,134
74.19
Opened 11 years ago Closed 11 years ago #1202 closed enhancement (fixed) Allow "manage.py shell" to use IPython if present Description I cribbed the following from TurboGears. Their tg-admin.py shell command tried to import IPython and falls back to code.interact() if IPython isn't present. I prefer IPython for several...
https://code.djangoproject.com/ticket/1202
CC-MAIN-2016-50
refinedweb
173
68.36
Have you ever had to do something like this: string typeName = "MyDataType"; Type type = Type.GetType( typeName ); object o = someGenericClass<typeof(type)>(); If you have, then you have also discovered that this does not compile. The good news is this capability is possible in C#, but it's not obvious. This article is...
http://www.codeproject.com/KB/cs/ReflectGenerics.aspx
crawl-002
refinedweb
985
56.96
>>:: ... Solution: The working Yes/No control and EnterBox [ID:248] (7/17) in series: Python 101 - easygui and csv video tutorial by Ian Ozsvald, added 05/07 > have the working solution to the exercise from the previous episode. See my answer for talking to the user and writing some more logic. Created May 2007, runnin...
http://showmedo.com/videotutorials/video?name=910060
CC-MAIN-2014-42
refinedweb
677
72.66
Calculating all sorts of astronomical data including the phases of the moon is a piece of cake if you use the right tools. Combining the fantastic PyEphem package with the powers of Gnuplot and a suitable font will provide you with an actractive illustration of the path of the moon through the sky. Let us first have a ...
http://michelanders.blogspot.com/2011/01/moon-phases-with-pyephem.html
CC-MAIN-2017-22
refinedweb
894
65.93
python c4d animating On 28/07/2018 at 02:58, xxxxxxxx wrote: Dear friends, I'm trying to animate a complex spline (consisting in general of several subsplines). Somehow it doesn't work. Could you help me with this? Here is a piece of my code: import c4d from c4d import utils import os def main() : def myspline1(t) : if...
https://plugincafe.maxon.net/topic/10886/14333_python-c4d-animating
CC-MAIN-2019-13
refinedweb
2,546
52.56
Introduction to Web Services and Web Clients in InterSystems IRIS InterSystems IRIS supports SOAP 1.1 and 1.2 (Simple Object Access Protocol). This support is easy to use, efficient, and fully compatible with the SOAP specification. This support is built into InterSystems IRIS and is available on every platform support...
https://docs.intersystems.com/irisforhealthlatest/csp/docbook/DocBook.UI.Page.cls?KEY=GSOAP_INTRO
CC-MAIN-2021-10
refinedweb
2,043
55.84
Diversity initiative Update #2 A few days ago Symfony adopted a code of conduct and a process for enforcing it. While this was a major effort of the diversity initiative which took several months to complete, it should not change how we interact. The fundamental rules of how we treat each other already have now simply ...
https://symfony.com/blog/diversity-initiative-update-2?utm_source=Symfony%20Blog%20Feed&utm_medium=feed
CC-MAIN-2019-04
refinedweb
2,734
71.44
Can anyone tell me what I am doing wrong in this code? The output window allows me to input the string, but does not output whether or not it is a palindrom. There are no build errors Thanks in advance! Lauren #include <iostream> #include <deque> #include <string> #include <cctype> using namespace std; int main() { str...
https://www.daniweb.com/programming/software-development/threads/184980/simple-palindrome-program
CC-MAIN-2017-17
refinedweb
208
74.29
Hi, I posted earlier about buying VC++ .net 2003 standard. Well I installed it last night, and typed in some code that works in my free dev-c++ compiler. the code is as follows: #include <iostream> int main() { std::cout << "Hello.\n"; std::cout << "The product of 1250 and 8 is : " << 1250 * 8 << " "; return 0; } Now i...
http://forums.devshed.com/programming-42/confused-ms-vc-net-81208.html
CC-MAIN-2014-42
refinedweb
236
83.15
Wired-in and known-key things There are three categories of entities that GHC "knows about"; that is, information about them is baked into GHC's source code. - Wired-in things --- GHC knows everything about these - Known-key things - Orig RdrName things --- GHC knows which module it's defined in Wired-in things A Wired...
https://ghc.haskell.org/trac/ghc/wiki/Commentary/Compiler/WiredIn?version=7
CC-MAIN-2015-14
refinedweb
442
67.04
Hi folks I know this particular program has been posted in many other forums but it all involves many different things that I have no learned yet so I really can't use any of them.....plus it would make me look stupid to turn in something that I copied that includes code that is beyond my understanding.....and also pre...
https://www.daniweb.com/programming/software-development/threads/325458/need-help-with-my-2d-reservation-program
CC-MAIN-2017-51
refinedweb
770
56.55
This is a programming tutorial for beginner and intermediate programmers who want to learn what recursion is. The programming language used for the examples is Python, but you can probably follow along if you know programming in some other language such as PHP or JavaScript. There’s a lot more information about recursi...
http://inventwithpython.com/blog/2011/08/11/recursion-explained-with-the-flood-fill-algorithm-and-zombies-and-cats/?wpmp_switcher=desktop
CC-MAIN-2015-32
refinedweb
4,150
68.81
go to bug id or search bugs for New/Additional Comment: Description: ------------ class and method are lost when __METHOD__ called in closure. Test script: --------------- <?php namespace pdox\pal; class test { function test1() { var_dump(__METHOD__); // string(21) "pdox\pal\test::test1" $a = function() {return __METHO...
https://bugs.php.net/bug.php?id=80764&edit=1
CC-MAIN-2022-27
refinedweb
204
56.96
Camm, I'm sure the GCL socket code works for tcl/tk but I'm unable to get it working. The hard part about it is that when it fails it takes down the whole image (a C code problem rather than a Lisp problem). Since I link Axiom's socket code into the first GCL image I build I'm going to use that image instead and try ou...
http://lists.gnu.org/archive/html/axiom-developer/2004-04/msg00107.html
CC-MAIN-2017-30
refinedweb
148
79.19
#include "SDL.h" int SDL_SetGammaRamp(Uint16 *redtable, Uint16 *greentable, Uint16 *bluetable); Sets the gamma lookup tables for the display for each color component. Each table is an array of 256 Uint16 values, representing a mapping between the input and output for that channel. The input is the index into the array,...
http://www.syzdek.net/~syzdek/docs/man/.shtml/man3/SDL_SetGammaRamp.3.html
crawl-003
refinedweb
137
63.19
iOS Swift: function (user, context, callback) { //Define the name of the claim. Must look like a url: //Have 'http' or 'https' scheme and a hostname other than //'auth0.com', 'webtask.io' and 'webtask.run'. var claimName = ''; //Check if the email has the 'admin.com' domain and give the 'admin' role. //Otherwise, keep ...
https://auth0.com/docs/quickstart/native/ios-swift/05-authorization
CC-MAIN-2018-05
refinedweb
235
70.7
stat, lstat, fstat -- get file status Standard C Library (libc, -lc) #include <sys/types.h> #include <sys/stat.h> int stat(const char *path, struct stat *sb); int lstat(const char *path, struct stat *sb); int fstat(int fd, struct stat *sb); references. modification). returned; otherwise the value -1 is returned and the...
http://nixdoc.net/man-pages/FreeBSD/man2/stat.2.html
CC-MAIN-2019-43
refinedweb
199
73.37
An interface to an SSL certificate. More... #include <Wt/WSslCertificate.C> An interface to an SSL certificate. This class provides an interface to an X.509 certificate, as used by SSL (server and client cert). The certificates are usually obtained by calling methods of class WSslInfo. This class offers you an interfac...
http://www.webtoolkit.eu/wt/wt3/doc/reference/html/classWt_1_1WSslCertificate.html
CC-MAIN-2017-51
refinedweb
346
51.65
Every new project I do now is in C#, I come from a VB background with a little C++ and Java knowledge but mostly VB. I started using C# instead of VB.Net as I noticed more clients wanted C# developers and I wanted to become fully proficient in it. But I struggle to think why C# is better than VB to be honest, can anyon...
https://channel9.msdn.com/Forums/Coffeehouse/172848-Why-is-C-better
CC-MAIN-2015-48
refinedweb
1,355
76.01
A guy on my team dropped by to ask me how to do this, so I figured it’d be worth posting about. The situation in his case is that he had an object passed into a method he was writing and he wanted to check if it implemented a particular interface, something like: bool CheckForInterface(Type interfaceType, object object...
https://blogs.msdn.microsoft.com/jmanning/2008/02/03/does-this-object-subclass-x-or-implement-y/
CC-MAIN-2017-09
refinedweb
408
51.07
The actions performed in a jsp:useBean action are: 1. An attempt to locate an object based on the attribute values id and scope. The inspection is done synchronized per scope namespace to avoid non-deterministic behavior. 1. A scripting language variable of the specified type (if given) or class (if type is not given) ...
http://www.coderanch.com/t/281297/JSP/java/useBean-scope-bean
CC-MAIN-2014-10
refinedweb
229
56.96
1 /*2 * This file belongs to the XQuark distribution.3 * Copyright (C) 2003 XQuark Group.mapping;24 25 import java.util.Properties ;26 27 import org.xquark.jdbc.typing.DBMSConstants;28 29 /**30 * Provide access to the mapping compilation context allowing to use the same31 * generator code for multiple use. Some propert...
http://kickjava.com/src/org/xquark/mapping/CompilationContext.java.htm
CC-MAIN-2017-04
refinedweb
276
56.35
The final release of Silverlight 4 Tools for Visual Studio 2010 has recently shipped. Silverlight 4 Tools brings together Visual Studio 2010, Silverlight 4 and WCF RIA Services 1.0. This great combination of runtime and tooling makes it easier than ever to build LOB applications using Silverlight. In this walkthrough, ...
http://blogs.msdn.com/b/wpfsldesigner/archive/2010/05/24/building-a-simple-forms-application-using-the-silverlight-tools-for-visual-studio-2010-and-wcf-ria-services.aspx
CC-MAIN-2014-15
refinedweb
3,386
57
The title of this part of the chapter is not "Functions and Procedures in C++" because C++ doesn't have procedures like Delphi does. In C++, you can only create functions, but these can work like Delphi procedures if you make them return nothing. To make the function return nothing, all you have to do is tell it to ret...
https://flylib.com/books/en/1.228.1.46/1/
CC-MAIN-2019-51
refinedweb
3,215
57
Your message dated Sun, 20 Nov 2005 20:23:40 +0100 with message-id <87irunf7ib Oct 2002 20:48:00 +0000 >From deego@gnufans.redirectme.net Sat Oct 26 15:47:59 2002 Return-path: <deego@gnufans.redirectme.net> Received: from 24-197-159-102.charterga.net (computer) [24.197.159.102] by master.debian.org with esmtp (Exim 3.1...
https://lists.debian.org/debian-qa-packages/2005/11/msg00218.html
CC-MAIN-2017-13
refinedweb
522
62.04
In this section we have listed the tutorials on Rose India website. We have... sections by topics on our website. You can find the best tutorials here at Rose India website. Index | Ask Questions | Site Map Web Services index Query Language (SQL) Tutorials VisualFoxPro Tutorials Which is the good website for struts 2 t...
http://www.roseindia.net/tutorialhelp/comment/83507
CC-MAIN-2015-14
refinedweb
2,098
54.12
Just an observation, I'm not sure of the intended audience for millis(), but I needed better resolution and overflow detection, and wanted to keep on processing without sitting around counting individual clock cycles or sorting out timers and their restrictions and interactions. So I've been working on something like t...
http://forum.arduino.cc/index.php?topic=46175.30
CC-MAIN-2017-43
refinedweb
426
60.45
Support for https has been part of WCF RIA Services for a while now, but most of the early posts we did have been lost. In celebration of the V1 release, I’m resurrecting a guide on using https. In short, you have two options using https. On one hand, you can expose your application only on https. This is the simple bu...
https://blogs.msdn.microsoft.com/kylemc/2010/05/26/ria-services-using-https/
CC-MAIN-2016-30
refinedweb
401
57.57
How to add an element with a namespace prefix (Part 2)Geraud Dec 12, 2013 9:23 PM Hi all, I previously asked a question about adding an attribute with a namespace prefix to an element that already exists and that declares the namespace prefix here: I received an answer that works, but now I am stumped again when I have...
https://community.oracle.com/message/11301249?tstart=0
CC-MAIN-2017-26
refinedweb
659
66.57
Much of the work on migrations so far has been laying a good bit of groundwork, but now everything is starting to come together into a working whole. The most important thing to land this week is Operations - the things which migrations will be structured around. Here's an example of what a migration would look like: f...
http://www.aeracode.org/2013/5/30/what-operation/
CC-MAIN-2016-50
refinedweb
860
56.49
{-# LANGUAGE MultiParamTypeClasses, GeneralizedNewtypeDeriving, DeriveDataTypeable, ScopedTypeVariables #-} module Development.Shake.Files( (?>>), (*>>) ) where import Control.DeepSeq import Control.Monad import Control.Monad.IO.Class import Data.Binary import Data.Hashable import Data.Maybe import Data.Typeable import...
http://hackage.haskell.org/package/shake-0.3.6/docs/src/Development-Shake-Files.html
CC-MAIN-2015-11
refinedweb
386
62.95
Introduction or Why You Should Try a Bot (you may skip it if you already know what to do with your bot) Note: the code samples may be displayed improperly because of markdown. I recommend to continue reading the original article on our blog to make sure all the examples are displayed properly. Bots are everywhere. It s...
https://hackernoon.com/how-to-create-and-deploy-a-telegram-bot-2addd8aec6b4
CC-MAIN-2019-35
refinedweb
2,104
56.25
Q: Is there a way to generate POV-Ray source files automatically from a VPython program? A: Yes, there is a VPython module that will do this. povexport2001-11-23.zip Q: Is there a way to capture VPython graphical output as a movie? A: There is no built-in feature to do this. In the contributed programs is a program by ...
http://vpython.org/FAQ.html
crawl-001
refinedweb
1,577
72.05
If you're wanting to make multiple requests against a server (scraping pages, calling an API, whatever) then you may want to re-use connections rather than establishing a new one for each request (incurring the overhead of a TCP 3-way and SSL handshake each time). The requests module has support for this in it's Sessio...
http://snippets.bentasker.co.uk/page-2106171530-Use-HTTP-Keep-alives-with-the-Python-Requests-module-Python3.html
CC-MAIN-2022-05
refinedweb
107
66.44
Java has many built in functions when it comes to manipulating strings. One of the most common problems that you will encounter if you are learning Java in school is that your instructor will have a problem with regards to reversing a word. If the word can still be read even it is being reversed is called a Palindrome....
https://caveofprogramming.com/guest-posts/java-string-manipulation-palindrome-reverse-order.html
CC-MAIN-2018-09
refinedweb
258
69.31
Why You Should Consider Tapestry 5 Why You Should Consider Tapestry 5 Join the DZone community and get the full member experience.Join For Free Download Microservices for Java Developers: A hands-on introduction to frameworks and containers. Brought to you in partnership with Red Hat. - Create custom components easily ...
https://dzone.com/articles/why-you-should-consider-tapest
CC-MAIN-2018-22
refinedweb
2,061
54.12
CodePlexProject Hosting for Open Source Software Not sure if you are aware of this issue... but when binding to RegionName in xaml the Unity throws unresolved exception. I was able to re-produce this in VisualCompostion/TopDownUIComposition code drop 5 sample. In this sample the desktop version is using the binding to ...
http://compositewpf.codeplex.com/discussions/39973
CC-MAIN-2017-39
refinedweb
402
53.92
Hello! I finally decided to post a return-into-libc overflow exploit. This method has been discussed on linux-kernel list a few months ago (special thanks to Pavel Machek), but there was still no exploit. I'll start by speaking about the fix, you can find the exploits (local only) below. [ I recommend that you read the...
http://seclists.org/bugtraq/1997/Aug/0063.html
crawl-002
refinedweb
1,760
68.2
Caching Ajax Requests in IE Have you ever had a problem with ajax requests caching in Internet Explorer. I have, and recently I came across a nicer solution than I have traditionally used. In the past, I have used a unique parameter on the url to keep IE from caching previous requests to the same url, like so: $.ajax({...
https://jaketrent.com/post/caching-ajax-requests-ie/
CC-MAIN-2018-30
refinedweb
227
56.35
The C preprocessor is a useful tool that allows programmers to work around the limitations of C. It was so abused to do clever and un-maintainable things that C++ programmers now avoid it, and in fact, it has been left out of more modern languages like C#. If you really wanted to, you could put a separate preprocessor ...
https://www.codeproject.com/articles/10049/a-macro-preprocessor-in-c?fid=169808&df=90&mpp=10&sort=position&spc=none&select=1381277&tid=1080960
CC-MAIN-2016-50
refinedweb
997
56.86
Introduction Python has a built-in Sqlite3 module named sqlite3. This module allows you to create, connect, and modify SQLite 3 databases. To learn more about SQLite3 and how to use it in general, check out my SQLite3 Tutorial and my other sqlite tutorials. Python is SQLAlchemy and Django's ORM. Install The sqlite3 pac...
https://www.devdungeon.com/content/python-sqlite3-tutorial
CC-MAIN-2022-40
refinedweb
1,421
58.18
the latest ? RasPI support in 1.0.119 is unknown. Hi Darek, It looks like you're using a ras pi? maybe a ras pi 2 ? I think it's probably best if you try the latest QA release (built from trunk). The latest release is here: More info about the QA testing & stuff is here: Maybe you can test it out and let us know if it...
http://myrobotlab.org/content/i-cant-install-webgui-services
CC-MAIN-2018-26
refinedweb
1,562
68.16
Shyjumon, Your message is all very interesting. But you sent your message to the bug-coreutils mailing list. We don't maintain gcc here and neither is this a C language mentoring forum. It would be better if you asked your question in a better forum for the topic. You probably wanted the address@hidden mailing list for...
http://lists.gnu.org/archive/html/bug-coreutils/2005-12/msg00272.html
CC-MAIN-2017-30
refinedweb
284
66.13
[ ] Jonathan Gray commented on HBASE-2175: -------------------------------------- JD, punt to 0.92? > Investigate .META. slowdowns when more than 1 store files > --------------------------------------------------------- > > Key: HBASE-2175 > URL: > Project: HBase > Issue Type: Bug > Reporter: Jean-Daniel Cryans > Fix F...
http://mail-archives.apache.org/mod_mbox/hbase-issues/201010.mbox/%3C23171416.557431286313633378.JavaMail.jira@thor%3E
CC-MAIN-2017-51
refinedweb
243
74.69
Categories (Core :: CSS Parsing and Computation, defect) Tracking () mozilla0.9.2 People (Reporter: hyatt, Assigned: hyatt) References Details (7 keywords, Whiteboard: [Hixie-P1]) Attachments (14 files) Cc:ing some people to bring this newly added bug to their attention. Status: NEW → ASSIGNED Target Milestone: --- → m...
https://bugzilla.mozilla.org/show_bug.cgi?id=78695
CC-MAIN-2022-05
refinedweb
9,588
73.07
09-07-2009 07:52 PM I have on my machine a folder full of mathscript commands and functions. This folder is beginning to get quite large and I'd like to be able to clean it up a bit by grouping the files into sub-folders. For example, I'd like to create the following folders; C:\MatrixXTools C:\MatrixXTools\StringTools...
http://forums.ni.com/t5/MATRIXx/Can-I-search-the-current-set-path-in-a-script/td-p/979542
CC-MAIN-2013-20
refinedweb
602
72.66
from IPython.display import display, Image, HTML This short primer on Python is designed to provide a rapid "on-ramp" to enable computer programmers who are already familiar with concepts and constructs in other programming languages learn enough about Python to facilitate the effective use of open-source and proprieta...
http://nbviewer.jupyter.org/github/gumption/Python_for_Data_Science/blob/master/Python_for_Data_Science_all.ipynb
CC-MAIN-2016-44
refinedweb
17,974
51.78
# Build tools in machine learning projects, an overview I was wondering about machine learning/data science project structure/workflow and was reading different opinions on the subject. And when people start to talk about workflow they want their workflows to be reproducible. There are a lot of posts out there that su...
https://habr.com/ru/post/451962/
null
null
3,536
51.04
In this post we will learn how to use the ast module to extract docstrings from Python files. Simply put, ast is a module present in the standard library that can parse Python syntax. Its whole purpose is to read Python code and to break it down into its syntactic components. Let’s explore this concept by analyzing a s...
http://gabrielelanaro.github.io/blog/2014/12/12/extract-docstrings.html
CC-MAIN-2021-43
refinedweb
811
58.99
programm programm WAP to Multiplication of matrix in the way if we have the 3...]; System.out.println("Enter elements for matrix A : "); for (int i=0 ; i < A.length ; i++) for (int j=0 ; j < A[i].length ; j++){ A[i][j] = input.nextInt Servlets Servlets when i am compiling the follow program it gives the error.so help m...
http://www.roseindia.net/tutorialhelp/comment/21984
CC-MAIN-2014-42
refinedweb
2,362
67.65
Games - Migrating from XNA to DirectX This article covers the entire process of converting an existing Windows Phone 7.5 2D game written in XNA to Windows Phone 8 and DirectX. Note: This article was a winner in the Windows Phone 8 Wiki Competition 2012Q4. Windows Phone 8 Introduction On Windows Phone 7.x developers ca...
http://developer.nokia.com/community/wiki/Windows_Phone_8_Games_-_Migrating_from_XNA_to_DirectX
CC-MAIN-2014-52
refinedweb
7,771
56.76
30, 2005 This article was contributed by Jake Edge.. Anonymity relies on there being a large number of nodes participating in the network, forwarding traffic for each other. The GNUnet protocol attempts to make all traffic look the same, whether it is satisfying a request for information that resides locally or forwar...
http://lwn.net/Articles/162190/
crawl-002
refinedweb
1,192
57.1
As of C-Kermit version: 7.0.196 This file created: 8 February 2000 This file last updated: Wed Aug 13 12:44:43 2008 Authors:.: FILE WRITE switches are: Here's an example in which we copy a text file line by line: file open /read \%c oofa.txt ; Open input file if fail exit 1 Can't open input file ; Check that it's open ...
http://www.columbia.edu/~kermit/ckermit70.html
crawl-002
refinedweb
32,093
60.65
#include <MemoryFree.h>void setup() { Serial.begin(9600);}void loop() { int n = 0; while(n <=100) { int u = 20*n; int v = 30*n; String str = String(n) + ", " + String(u) + ", " + String(v) + ", " + String(freeMemory()); Serial.println(str); delay(500); n++; } Serial.println("Done"); } 0, 0, 0, 17401, 20, 30, 17382, 40,...
http://forum.arduino.cc/index.php?topic=115552.msg869706
CC-MAIN-2015-32
refinedweb
226
73.92
The rise of Flash Video and Web 2.0 over the past few years has also sparked an increase in the use of video as a communication tool. Along with this increased awareness there has also been a corresponding increase in the use of web cams that are either hard wired into the computer or sold as separate add ons. In this ...
https://code.tutsplus.com/tutorials/detect-intruders-using-the-camera-object-in-flash-cs4--active-2302
CC-MAIN-2018-26
refinedweb
1,747
71.44
Related You bring your web app in a - GitHub repo - App Platform handles deployments and builds - DNS, HTTPS, CDN, DDoS Mitigation, Vertical Scaling, Horizontal Scaling, and more. Question Problem with setup of subdomains in flask Hi I am trying to setup flask blueprints with subdomains. However it doesnt work. i have ...
https://www.digitalocean.com/community/questions/problem-with-setup-of-subdomains-in-flask
CC-MAIN-2021-04
refinedweb
176
59.6
I have hit the following roadblocks during development using .Net with DB2: error 2019: Member Mapping specified is not valid. The type 'Edm.BooleanNullable=False,DefaultValue=' is not compatible with 'DB2.smallintNullable=False,DefaultValue=' This is a problem with IBM choosing not to have a Boolean type in DB2. I thi...
https://www.ibm.com/developerworks/community/forums/html/topic?id=77777777-0000-0000-0000-000014931944
CC-MAIN-2016-07
refinedweb
1,523
62.58
Logon, Browsing, and Resource Sharing: The Basics This chapter describes how to configure and use the Windows 95 logon process, network browsing, and peer resource sharing capabilities. This section summarizes key Windows 95 features that you can use to make network logon, resource browsing, and peer resource sharing e...
https://technet.microsoft.com/en-us/library/cc751090(d=printer).aspx
CC-MAIN-2016-18
refinedweb
11,164
50.26
Joshua, Are you aware that there already exists an importscrubber project at sourceforge () which includes an Ant task, which is documented on the Ant external links page ()? You may want to consider a new name for your project. As Steve said, we can't bundle every task with Ant, it just won't scale. There is a variety...
http://mail-archives.apache.org/mod_mbox/ant-dev/200212.mbox/%3C3DEA13B3.9020200@cortexebusiness.com.au%3E
CC-MAIN-2017-04
refinedweb
315
71.44
I use the example(interest,it is in the website of),and I check the source code of it,when I use javac to compile it,it show that no javax.ejb.CreateException found.I install jdk1.4.and the document about the example just mention jdk is a must,no other must be used,But really it same some more is need.And I seach in th...
https://developer.jboss.org/thread/53639
CC-MAIN-2018-39
refinedweb
109
54.49
Background: We had a specific requirement to capture specific column updates for a sensitive transaction table, although this blog doesn’t go into the specifics of the requirement, I hope going through the process of adding the database trigger and recording the changes in the requested structure will highlight some us...
https://blogs.sap.com/2015/04/17/using-hana-database-triggers-to-capture-selected-column-updates/
CC-MAIN-2017-43
refinedweb
1,661
61.36
Red Hat Bugzilla – Bug 1247973 httpie: ImportError: cannot import name is_windows Last modified: 2016-02-16 20:56:30 EST Description of problem: # rpm -ql httpie | grep /bin/ /usr/bin/http # http Traceback (most recent call last): File "/usr/bin/http", line 9, in <module> load_entry_point('httpie==0.8.0', 'console_scri...
https://bugzilla.redhat.com/show_bug.cgi?id=1247973
CC-MAIN-2018-13
refinedweb
486
70.9
kube-rclonekube-rclone IntroductionIntroduction PrerequisitesPrerequisites - rclone config that has the cloud storage drive defined This can be created by running rclone config which will take you through an interactive configuration session to generate the rclone.conf file. SetupSetup The setup guide will help you get...
https://javascript.ctolib.com/zee-ahmed-kube-rclone.html
CC-MAIN-2019-35
refinedweb
341
65.73
In this tutorial, we are going to write a program that finds the n-th number in the series 1, 11, 55, 239, 991... If you clearly observe the series, you will find that the n-th number is 4n-2n-1n > 0 Let's see the code. #include <bits/stdc++.h> using namespace std; int getNthTerm(int n) { int num = pow(4, n) - pow(2, n...
https://www.tutorialspoint.com/n-th-term-in-the-series-1-11-55-239-991-in-cplusplus
CC-MAIN-2021-43
refinedweb
109
71.99
Cloud Functions (2nd Gen) is Google’s Serverless Functions as a Service Platform. 2nd Generation is now built on top of the excellent Google Cloud Run as a base. Think of Google Cloud Run as a Serverless environment for running containers which respond to events(http being the most basic, all sorts of other events via ...
https://www.javacodegeeks.com/2022/07/google-cloud-functions-2nd-gen-java-sample.html
CC-MAIN-2022-40
refinedweb
585
55.07
Preprocessor Directives In C - Online Article The preprocessor is a program that is invoked by the compiler to process code before compilation. Commands for that program, known as directives, are lines of the source file beginning with the character #, which distinguishes them from lines of source program text. The eff...
http://www.getgyan.com/show/2503/Preprocessor_Directives_in_C
CC-MAIN-2018-30
refinedweb
1,873
54.22
I have a set of images with metadata including time stamps and odometry data from a data set. I want to convert this time series of images into a rosbag so I can easily plug it out of the code I'll write and switch in real time data after testing. By the tutorial, the process of programmatically saving data to a rosbag...
https://codedump.io/share/en2NkSQ3ene3/1/python-converting-image-time-series-to-ros-bag
CC-MAIN-2017-09
refinedweb
334
60.21
Note: This tutorial is an excerpt from the Scala Cookbook, 2nd Edition. As you can tell from one look at the Scaladoc for the collections classes, Scala has a powerful type system. However, unless you’re the creator of a library, you can go a long way in Scala without having to go too far down into the depths of Scala ...
https://alvinalexander.com/scala/scala-3-variance-explained-generic-type-parameters/
CC-MAIN-2021-43
refinedweb
2,477
52.83
... Proposed DSpace Java Style Guide (work-in-progress - not yet approved) Bolded rules are a change from our current Style Guide. - 4-space indents for Java, and 2-space indents for XML. NO TABS ALLOWED. - Only exception is throws clause, which should be indented 8 spaces if on a new line K&R style braces required. Br...
https://wiki.duraspace.org/pages/diffpagesbyversion.action?pageId=90967266&selectedPageVersions=8&selectedPageVersions=7
CC-MAIN-2019-04
refinedweb
110
69.79
Angular: How to support IE11 In this article I will show you the steps I took to support Internet Explorer 11 with Angular. The first half of this will quickly show the steps you need to take, and the second half will break these steps down in more detail for anyone wishing to learn more. At the end I’ll add some addit...
https://medium.com/javascript-in-plain-english/angular-how-to-support-ie11-d3b8c3d3494e?source=---------2------------------
CC-MAIN-2020-10
refinedweb
1,077
63.09
DateTime::Format::Builder::Parser - Parser creation version 0.81 my $class = 'DateTime::Format::Builder::Parser'; my $parser = $class->create_single_parser( %specs ); This is a utility class for DateTime::Format::Builder that handles creation of parsers. It is to here that Builder delegates most of its responsibilities...
http://search.cpan.org/dist/DateTime-Format-Builder/lib/DateTime/Format/Builder/Parser.pm
CC-MAIN-2016-26
refinedweb
1,218
57.27
Maxim DS1077 EconOscillator/Divider Library Maxim DS1077 EconOscillator/Divider This class wraps the functions of the DS1077 oscillator into a usable class for mBed. The oscillator uses I2C to communicate with the host MCU. This oscillator output a square wave, so if you're looking for a sine wave - this isn't it. Be s...
https://developer.mbed.org/users/sophtware/code/DS1077/
CC-MAIN-2016-36
refinedweb
300
63.05
Opened 8 years ago Last modified 21 months ago #10609 assigned New feature Permissions on admin actions Description Often one would not want an option to appear in the actions select box in the changelist. For instance, you may not want a user who can't delete to see "delete_selected". I propose that we enable the admi...
https://code.djangoproject.com/ticket/10609
CC-MAIN-2017-04
refinedweb
1,252
52.8
How VPN Pivoting Works (with Source Code)October 14, 2014 A VPN pivot is a virtual network interface that gives you layer-2 access to your target’s network. Rapid7’s Metasploit Pro was the first pen testing product with this feature. Core Impact has this capability too. In September 2012, I built a VPN pivoting feature...
https://blog.cobaltstrike.com/2014/10/14/how-vpn-pivoting-works-with-source-code/
CC-MAIN-2017-22
refinedweb
1,731
66.74
Wraps a python function and uses it as a TensorFlow op. View aliases Compat aliases for migration See Migration guide for more details. tf.compat.v1.numpy_function tf.numpy_function( func, inp, Tout, name=None ) Used in the notebooks Given a python function func wrap this function as an operation in a TensorFlow functi...
https://www.tensorflow.org/versions/r2.2/api_docs/python/tf/numpy_function
CC-MAIN-2020-16
refinedweb
334
53.47
ar this example is easy to understand but other View Tutorial By: richa at 2009-09-08 13:52:37 2. Try this import java.net.*; View Tutorial By: Asad at 2014-02-13 05:55:26 3. Does memmove care if the source is bytes and the d View Tutorial By: Paul at 2012-07-20 11:59:32 4. 510 1020 2040 4080 816 View Tutorial By: sky ...
http://java-samples.com/showcomment.php?commentid=35238
CC-MAIN-2019-04
refinedweb
184
78.75
I'm after a simple hash function that would take an integer within a range of base two and (randomly) hash to another integer within that range without collisions. This is going to be used to construct a permutation and preferably from a seed value. So just offsetting the integer and modulating won't work. Anyone know ...
https://codedump.io/share/zwLvZ53bIJ9P/1/minimal-perfect-hashing-of-integers-in-base-two-range
CC-MAIN-2017-13
refinedweb
424
54.8
The method I found most appealing in dealing with hierarchical structures is a tree. I think is pretty straightforward and easy to implement and customize. First we need a class that defines the nodes of the tree. class Node: def __init__(self, name): self.children_list = [] self.name_str = name def add_child(self, nod...
https://kodekitchen.wordpress.com/2016/02/23/hierarchical-structures-in-python-i-e-folders/
CC-MAIN-2018-22
refinedweb
273
75.61
Home | Online Demos | Downloads | Buy Now | Support | About Us | News | Careers | Contact Us Important In Version 5 of PDFOne .NET, a new SaveAsImage()method was introduced, which internally use this code. You do not have to go through the metafile-creation process. In an earlier article, we learned how to export PDF d...
https://www.gnostice.com/nl_article.asp?id=201&t=How_To_Convert_PDF_To_Image_Formats_In_.NET
CC-MAIN-2018-05
refinedweb
272
61.53
24 September 2009 15:00 [Source: ICIS news] TORONTO (ICIS news)--German business confidence has reached its highest level in the past 12 months as the outlook continues to improve, the country’s Ifo economic research institute said on Thursday, citing its latest business climate survey for September. The institute’s If...
http://www.icis.com/Articles/2009/09/24/9250152/german-business-confidence-at-one-year-high-ifo-institute.html
CC-MAIN-2014-35
refinedweb
284
50.36
As you may or may not know, part of your duties as an American citizen includes forking over approximately 30-40% of your hard earned paycheck to Uncle Sam. Ouch! All employees are required to fill out the W-4 form when beginning a new job; how you complete this form determines the amount of federal income tax to have ...
https://issuu.com/sfacareers/docs/filling-out-w-4?mode=window&backgroundColor=%23222222
CC-MAIN-2018-13
refinedweb
528
72.66
Frenzy or Famine: The Future of RSS in Podcasting Podcasting just wouldn’t be podcasting without the RSS feed. But while this flat text file is fundamental to podcasting today, is it powerful enough to power podcasting in the future? I’m expanding my thoughts from my quick-hits list 10 future podcast predictions that f...
https://evoterra.medium.com/frenzy-or-famine-the-future-of-rss-in-podcasting-d27fe458902f
CC-MAIN-2021-10
refinedweb
1,315
72.26
Keyword::Simple - define new keywords in pure Perl package Some::Module; use Keyword::Simple; sub import { # create keyword 'provided', expand it to 'if' at parse time Keyword::Simple::define 'provided', sub { my ($ref) = @_; substr($$ref, 0, 0) = 'if'; # inject 'if' at beginning of parse buffer }; } sub unimport { # l...
http://search.cpan.org/~mauke/Keyword-Simple-0.03/lib/Keyword/Simple.pm
CC-MAIN-2018-09
refinedweb
353
65.22
If you find a new problem, send it to us at corepython (at) yahoo.com. Each errata item follows the format below... submit yours using the same format so that we can upload it faster to this page. Send in any comments, suggestions, and general feedback. Page(s) :: Section (may also have Figure, Table, or Example number...
http://cpp.wesc.webfactional.com/cpp3ev2/errata.htm
CC-MAIN-2017-22
refinedweb
1,002
66.33
pgzero 1.1 A zero-boilerplate 2D games framework A zero-boilerplate games programming framework for Python 3, based on Pygame. Some examples Pygame Zero consists of a runner pgzrun that will run a Pygame Zero script with a full game loop and a range of useful builtins. Here’s some of the neat stuff you can do. Note tha...
https://pypi.python.org/pypi/pgzero/
CC-MAIN-2017-13
refinedweb
234
69.58
Hi *, here are two small code snippets which can be used in a 64 bit program to obtain dynamically the addresses of loaded DLLs. This technique can be used as a replacement of the LoadLibrary function. Some explanation to the asm file: The process environment block (PEB) is part of every running PE file in memory. It c...
http://www.rohitab.com/discuss/topic/45310-obtain-dll-addresses-from-the-peb-of-a-64-bit-process/?forceDownload=1&_k=880ea6a14ea49e853634fbdc5015a024
CC-MAIN-2019-51
refinedweb
566
56.05
Net::XMPP - XMPP Perl Library Net::XMPP provides a Perl user with access to the Extensible Messaging and Presence Protocol (XMPP). For more information about XMPP visit: Net::XMPP is a convenient tool to use for any perl script that would like to utilize the XMPP Instant Messaging protocol. While not a client in and of...
http://search.cpan.org/~hacker/Net-XMPP-1.02/lib/Net/XMPP.pm
CC-MAIN-2017-47
refinedweb
364
62.98
Sending data (LoRa MAC) between two LoPy's - gertjanvanhethof Pybytes Beta I have two LoPy's. One I set as LoRa Sender and second as receiver. I used the sample code from the pycom.io website: I changed the sending part to: (Somehow the rendering of this page is not well, so indent is gone below). while(True): s.send('...
https://forum.pycom.io/topic/125/sending-data-lora-mac-between-two-lopy-s
CC-MAIN-2017-34
refinedweb
661
60.01
. ADO provides an object-oriented programming interface for accessing a data source using the OLEDB data provider. It is the succesor to DAO and RDO object models and combines the best features DAO and RDO. Programming OLEDB in C++ is easy. However, for languages like Visual Basic, that do not support pointers and othe...
http://www.codeproject.com/KB/database/atl_ado.aspx
crawl-002
refinedweb
1,017
55.24