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
Routes In any web framework, "routes" are one of the core elements of what happens on a website. Certainly rendering content when a user hits a particular URL is a majority of what happens in web development. Reaction uses the React Router package for routing. To get started with routing in Reaction, here are two impor...
https://docs.reactioncommerce.com/docs/1.16.0/plugin-routes-6
CC-MAIN-2019-35
refinedweb
699
62.68
I started python -m SimpleHTTPServer on one computer on lan and used wget to download php files from it to another. As far as i see, they seem to be downloaded correctly - i got php sources instead of html layout. Why? Is this because this server doesn't execute php? When i was downloading i was worried that i'll downl...
http://serverfault.com/questions/59677/downloading-php-files-from-python-simple-http-server
crawl-003
refinedweb
205
63.59
In this article, I am going to show you how to use an Excel workbook as your data source and fetch data based on your SQL query. In my first step, I will show you how to write a query using SQL syntax and next, I will show you how to fetch and bind data in your DataGrid. DataGrid When I started reading an Excel workboo...
http://www.codeproject.com/Articles/19801/Fetching-Data-from-Microsoft-Excel-using-SQL?msg=2171457
CC-MAIN-2016-30
refinedweb
668
64.41
Ctrl+P A collection of curated extensions for discerning React developers. Food Truck icon by @reverentgeek Food Truck icon by @reverentgeek Only the cleanest, freshest set of React snippets in the market. Everything you need with no snippet bloat. Created by one of the nicest guys on the planet. All the best ES6 snipp...
https://marketplace.visualstudio.com/items?itemName=burkeholland.react-food-truck
CC-MAIN-2021-17
refinedweb
291
69.38
No unread comment. SQL statement after execution of above query After the execution of line number 18, the SQL statement will look like the following until the end: IQueryable Code SQL statement after execution of the preceding query After the execution of line number 22, the SQL statement will look like: But after the...
http://www.c-sharpcorner.com/UploadFile/a20beb/ienumerable-vs-iqueryable-in-linq/
CC-MAIN-2018-05
refinedweb
211
54.32
Create Related Attributes - (Calculations??)DanielleW Mar 21, 2012 5:10 AM Hello, Is it possible to create fields that are related. I would like to add some kind of Risk Matrix into our Change process, but can't work out how you can calculate the outcome. So for example a user would select Business Impact = Low and the...
https://community.ivanti.com/thread/18776
CC-MAIN-2018-09
refinedweb
1,178
65.73
This article presents a DataGrid control which is built with no MFC. It can be used in SDK or MFC Win32 applications. This source code is also compiled with GNU compiler and has shown to be stable. You can find various grid controls all over the Internet, some free and some not. Also, there is an article by Chris Maund...
http://www.codeproject.com/Articles/10935/DataGrid-Control?fid=197093&df=90&mpp=25&noise=3&prof=True&sort=Position&view=Normal&spc=Relaxed&fr=26
CC-MAIN-2016-26
refinedweb
356
57.47
EF6 Onwards Only - The features, APIs, etc. discussed in this page were introduced in Entity Framework 6. If you are using an earlier version, some or all of the information does not apply. EF6 introduced support for asynchronous query and save using the async and await keywords that were introduced in .NET 4.5. While ...
https://msdn.microsoft.com/en-us/data/jj819165
CC-MAIN-2016-30
refinedweb
862
58.79
The distance between the Earth and Mars depends on their relative positions in their orbits and varies quite a bit over time. This post will show how to compute the approximate distance over time. We’re primarily interested in Earth and Mars, though this shows how to calculate the distance between any two planets. The ...
http://www.johndcook.com/blog/category/science/
CC-MAIN-2015-48
refinedweb
664
74.29
A tool that convert ASS/SSA subtitle to SRT format Project description asstosrt is a tool which can convert Advanced SubStation Alpha (ASS/SSA) subtitle files to SubRip (SRT) files. Many old devices only support SubRip. Usage Install asstosrt. # pip install asstosrt chardet is suggested, which provide auto charset dete...
https://pypi.org/project/asstosrt/
CC-MAIN-2022-27
refinedweb
199
50.12
] by - Merge pull request #1611 from thusoy/patch-1 Fix broken sphinx reference … - 13:10 Changeset [751dc0a]] by - Fixed #19298 -- Added MultiValueField.deepcopy Thanks nick.phillips … - 10:42 LittleEasyImprovements edited by - (diff) - 10:17 Changeset [d5d0e03]] by - Fixed #20978 -- Made deletion.SET_NULL more friend...
https://code.djangoproject.com/timeline?from=2013-09-10T06%3A52%3A13-07%3A00&precision=second
CC-MAIN-2014-10
refinedweb
484
55.95
Roll your own IRC bot From HaskellWiki Revision as of 00:04, 5 October 2006 to a Haskell program. We first connect to the server, then set the buffering on the socket off. Once we've got a socket, we can then just read and print any data we receive.Put this code in the module join a channel, and start listening for com...
http://www.haskell.org/haskellwiki/index.php?title=Roll_your_own_IRC_bot&diff=6492&oldid=6477
CC-MAIN-2014-42
refinedweb
167
70.23
This project is meant for those who want to use a basic analog stick from an Arduino parts kit as a sensor to detect items like car keys or other weighted objects that can dangle from the analog stick. While this project does not aim to give full analog control to the Raspberry Pi, this will be enough to get an introdu...
https://www.instructables.com/id/Using-an-Analog-Stick-As-an-IoT-Key-Holder/
CC-MAIN-2019-43
refinedweb
1,826
71.14
Saturday, May 28, 2011 stackoverflow - 20k rep Four months after crossing the 10k milestone, I've now achieved a reputation of 20k on stackoverflow! The following table shows some interesting stats on my time at SO: As I mentioned in my previous post,. It's hard juggling work and stackoverflow. The only times I get to ...
https://fahdshariff.blogspot.com/2011/05/
CC-MAIN-2019-43
refinedweb
349
50.57
In article <address@hidden>, address@hidden (Kim F. Storm) writes: > Kenichi Handa <address@hidden> writes: >> When a font-related attribute of the default face is >> changed, set_font_frame_param (xfaces.c) is called. So, >> perhaps calling it or simulating what it does is the right >> thing. > Well, the Fmodify_frame...
http://lists.gnu.org/archive/html/emacs-devel/2006-05/msg00460.html
CC-MAIN-2016-26
refinedweb
254
67.35
Coffeehouse Thread10 posts Forum Read Only This forum has been made read only by the site admins. No new threads or comments can be added. when are we going to see how things are for Orcas? Back to Forum: Coffeehouse Conversation locked This conversation has been locked by the site admins. No new comments can be made. ...
https://channel9.msdn.com/Forums/Coffeehouse/186943-when-are-we-going-to-see-how-things-are-for-Orcas
CC-MAIN-2018-09
refinedweb
494
71.61
public class Foo : IFoo { public List<string> TmpFields = new List<string>(); public List<string> GroupFields; public Foo() { Loaded = true; Query = ""; } : } After the WTF?!?! caused by the public members, and one being initialized while the other is not, I was pulling my hair out trying to figure out where the hell L...
http://www.dreamincode.net/forums/topic/379428-and-the-nightmare-continues/
CC-MAIN-2017-47
refinedweb
146
59.94
ext3 or ReiserFS? Hans Reiser Says Red Hat's Move Is Understandable Red Hat's Decision is Conservative, Not Radical Red Hat's decision to employ ext3 as the default filesystem in its upcoming release has sparked considerable interest among technically savvy Linux users. But it is not the only, nor in many ways the best...
http://www.linuxplanet.com/linuxplanet/reports/3726/1/
CC-MAIN-2017-43
refinedweb
1,120
57.71
SYSPAGE_ENTRY() Return an entry from the system page Synopsis: #include <sys/syspage.h> #define SYSPAGE_ENTRY( entry )... Since: BlackBerry 10.0.0 Arguments: - entry - The entry to get; see below. Library: libc Use the -l c option to qcc to link against this library. This library is usually included automatically. Desc...
https://developer.blackberry.com/native/reference/core/com.qnx.doc.neutrino.lib_ref/topic/s/syspage_entry.html
CC-MAIN-2019-35
refinedweb
120
54.79
A skeleton version of the programs will appear in your cs35/labs/07 directory when you run update35. The program handin35 will only submit files in this directory. I encourage you to work with a partner on this lab and the entire project. This lab is the second part of a larger project to build a web browser with a sea...
https://web.cs.swarthmore.edu/~adanner/cs35/f10/lab7.php
CC-MAIN-2022-33
refinedweb
631
60.65
Version history Version 2.3.0, released 2021-09-06 - Commit ac367e2: feat: Regenerate all APIs to support self-signed JWTs Version 2.2.0, released 2021-05-26 No API surface changes; just dependency updates. Version 2.1.0, released 2020-11-11 - 9e2dd7a: - feat: added support for span kind - Clients can now specify the s...
https://cloud.google.com/dotnet/docs/reference/Google.Cloud.Trace.V2/latest/history
CC-MAIN-2022-05
refinedweb
187
57.27
DHCP Address Reservation I was wondering whether this config would work or not. I have a printer that needs to be configured with a static IP address and it can't be done on the printer itself but instead via DHCP address reservation. This is what I configured on my router which acts as a DHCP server for a small office...
https://supportforums.cisco.com/discussion/9967451/dhcp-address-reservation
CC-MAIN-2017-34
refinedweb
245
75.71
RAM problem in script execution Hi experts! I wrote the next code. In 1-2 hours of execution time the RAM of my laptop (8gb) is filled and the sistem crash: from scipy.stats import uniform import numpy as np cant_de_cadenas=[400,600,700,800] os.makedirs('directory') np.savetxt(here 'cant_de_cadenas' is saved as .csv in...
https://ask.sagemath.org/question/10462/ram-problem-in-script-execution/
CC-MAIN-2020-40
refinedweb
452
59.5
This notebook is an element of the risk-engineering.org courseware. It can be distributed under the terms of the Creative Commons Attribution-ShareAlike licence. Author: Eric Marsden [email protected] This notebook contains an introduction to use of Python, SciPy, SymPy and the SALib library for sensitivity analysis. I...
https://nbviewer.jupyter.org/urls/risk-engineering.org/static/sensitivity-analysis.ipynb
CC-MAIN-2018-26
refinedweb
1,010
51.24
There are couple of ways in which you can use "import" statement. (a) Use a specific class name in "import" statement: import myPackage.myClass; // myPackage-Package, myClass-Class import myPackage.*; // import all the classes The second approach is simple, because it imports all the classes in the specified package. T...
http://www.devx.com/tips/Tip/14254
CC-MAIN-2017-26
refinedweb
142
58.99
Custom controls in a Formview Discussion in 'ASP .Net Building Controls' started by Victor: - 768 - Chris - May 19, 2007 Custom Controls: Import a custom namespace and use its functions withinuser, Jul 18, 2007, in forum: ASP .Net - Replies: - 1 - Views: - 531 - Kevin Spencer - Jul 19, 2007 databound custom controls vs...
http://www.thecodingforums.com/threads/custom-controls-in-a-formview.758744/
CC-MAIN-2016-07
refinedweb
120
68.6
The purpose of this document is to describe the reasoning behind the inclusion of the typename keyword in standard C++, and explain where, when, and how it can and can't be used. Note: This page is correct (AFAIK) for C++98/03. The rules have been loosened in C++11. Table of contents - A secondary use - The real reason...
http://pages.cs.wisc.edu/~driscoll/typename.html
CC-MAIN-2018-09
refinedweb
1,665
60.65
To deploy a DeepSee solution, the docs recommend that you define a namespace on the reporting (mirror) server, and "define mappings to access the application data, application code, DeepSee cube definitions, and DeepSee data on this server". () This implies that for an ideal deployment architecture, globals should be s...
https://community.intersystems.com/post/ds-deployment-architecture-which-globals-should-be-mapped-where
CC-MAIN-2019-26
refinedweb
107
58.62
Java code for authenticating into SMTP server with Auth and TLS turned on.. By apanicker on Sep 07, 2006 After a long search I came across this sample Java code for sending email into an SMTP server which required authentication and secure (TLS) connection. Hence I thought, I will re-publish it. I found this piece of c...
https://blogs.oracle.com/apanicker/entry/java_code_for_smtp_server
CC-MAIN-2015-22
refinedweb
607
60.31
An 8x8 grid of virtual LEDs implemented in Pygame. Project description The ledgrid module contains a single LEDGrid class which aims to be as identical as possible to the public interface of the Raspberry Pi Sense HAT library, such that it is useful in mocking up software for it and other such devices. Many existing Se...
https://pypi.org/project/ledgrid/0.2/
CC-MAIN-2018-34
refinedweb
237
64.3
I've been writing a simple tic-tac-toe game to get a grounding in Python and AI (minimax algorithm). I've got something working but I'm stuck on the AI part. I *think* that I understand the theory of minimax in this case...given the current game state...you run through every possible outcome...if you hit a leaf that re...
http://www.gamedev.net/topic/647870-asking-for-tic-tac-toe-ai-help/?k=880ea6a14ea49e853634fbdc5015a024&setlanguage=1&langurlbits=topic/647870-asking-for-tic-tac-toe-ai-help/&langid=1
CC-MAIN-2014-10
refinedweb
850
58.11
Traceback (most recent call last):So..? File "/usr/bin/econnman-bin", line 18, in <module> import efl.evas as evas ImportError: /usr/lib/libemile.so.1: undefined symbol: SSLv3_server_method During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/bin/econnman-bin...
https://classicforum.manjaro.org/index.php?action=printpage;topic=32002.0
CC-MAIN-2019-51
refinedweb
2,208
68.06
Instant Messaging with ExtJs Bajet $250-750 USD Hi everybody, I'm looking for an Extjs developer who have a good experience with this tool in order to make a very simple instant messaging. This apps is for a french community website, but we will communicate with my poor english ;-) and you can develop in english, i wil...
https://www.my.freelancer.com/projects/php-xml/instant-messaging-with-extjs/
CC-MAIN-2018-05
refinedweb
211
62.48
#. Beginning with SQL Server 2005, the components required to develop basic CLR database objects are installed with SQL Server.(out string text) { SqlContext.Pipe.Send("Hello world!" + Environment.NewLine); text = "Hello world!"; } } This simple program contains a single static method on a public class. This method use...
http://msdn.microsoft.com/en-us/library/ms131052(v=sql.105).aspx
CC-MAIN-2014-15
refinedweb
165
59.9
0 Hi all, bit of a c++ newbie and hoping you might be able to help me with a problem. I'm trying to calculate the elapsed time between two dates using difftime, however I keep getting an elapsed time of 0. Can anyone see where I'm going wrong? Any help greatfully recieved! Cheers. #include <iostream> #include <time.h> ...
https://www.daniweb.com/programming/software-development/threads/313702/c-difftime-problem
CC-MAIN-2017-34
refinedweb
138
50.36
#include <stdio.h> int fseek(FILE *stream, long offset, int whence); int fseeko(FILE *stream, off_t offset, int whence); The fseek() function sets the file-position indicator for the stream pointed to by stream. The fseeko() function is identical to fseek() except for the type of offset. The new position, measured in b...
https://docs.oracle.com/cd/E36784_01/html/E36874/fseeko-3c.html
CC-MAIN-2018-09
refinedweb
618
58.82
Alarm::Concurrent - Allow multiple, concurrent alarms. This module is an attempt to enhance Perl's built-in alarm/ $SIG{ALRM} functionality. This function, and its associated signal handler, allow you to arrange for your program to receive a SIGALRM signal, which you can then catch and deal with appropriately. Unfortun...
http://search.cpan.org/dist/libalarm/lib/Alarm/Concurrent.pm
CC-MAIN-2018-05
refinedweb
990
71.75
Get configuration-defined string values #include <unistd.h> size_t confstr( int name, char * buf, size_t len ); libc Use the -l c option to qcc to link against this library. This library is usually included automatically. The confstr() functions lets applications get or. To find out the length of a configuration-define...
https://www.qnx.com/developers/docs/6.4.1/neutrino/lib_ref/c/confstr.html
CC-MAIN-2019-22
refinedweb
121
56.96
import "github.com/SteelPangolin/go-genderize" Package genderize provides a client for the Genderize.io web service. Gender string constants. Version of this library. Used to form the default user agent string. Client for the Genderize API. NewClient constructs a Genderize client from a Config. Get gender info for name...
https://godoc.org/github.com/SteelPangolin/go-genderize
CC-MAIN-2018-26
refinedweb
285
62.54
Re: Asynchronous Sockets and the I/O Completion Port Model From: Steve Lutz (slutzNOSPAM_at_comcast.net) Date: 03/22/04 - Next message: Mohamoss: "RE: pls help: Datagrid Problem" - Previous message: SS: "Re: Web browser control in Win form..." - In reply to: Paul Ingles: "Asynchronous Sockets and the I/O Completion Por...
http://www.tech-archive.net/Archive/DotNet/microsoft.public.dotnet.languages.csharp/2004-03/5737.html
crawl-002
refinedweb
763
58.72
note in the middle of the page says "...you can download the complete ActionScript libraries from" when in fact some libraries come straight from Macromedia. Therefore, the following HAS BEEN ADDED to the end of the note: "However, some library files, such as RecordSet.as and DataGlue.as must be downloaded from Macrom...
http://www.oreilly.com/catalog/errata.csp?isbn=9780596004903
CC-MAIN-2016-30
refinedweb
430
52.56
Trouble to create a list without duplicates edited May 19 in OpenSesame Hey guys, Maybe I made a very naive mistake but when I try to create a list without duplicates It doesn't work and I can't figure it out why... While the same piece of code works perfectly in a Python interpretor. There is my code : import random f...
https://forum.cogsci.nl/discussion/7205/trouble-to-create-a-list-without-duplicates
CC-MAIN-2021-25
refinedweb
223
84.78
Type: Posts; User: mgau0047 I have 2 lists one for JuniorStudents and one for SeniorStudents. In the JuniorStudents I have a method for promoting a juniorstudent to a seniorStudent. I am first deleting the juniorstudent and... I have a program which contains JuniorStudents and SeniorStudents. I've made seperate classes...
http://forums.codeguru.com/search.php?s=eabb4f3d6ab62225c7bd56930b60dfc9&searchid=2753545
CC-MAIN-2014-15
refinedweb
624
76.52
On Thu, 2018-02-22 at 07:54 +0100, Niels Möller wrote: > ni...@lysator.liu.se (Niels Möller) writes: > > > > 2. Delete the old aes_* interface, in favor of aes128_, aes192_* > > > and > > > aes256_*. > > > > I've now made a branch for this, delete-old-aes. > > And it seems building gnutls with this branch fails, see > ...
https://www.mail-archive.com/nettle-bugs@lists.lysator.liu.se/msg01855.html
CC-MAIN-2018-13
refinedweb
220
66.84
QDomAttr The QDomAttr class represents one attribute of a QDomElement. More... #include <QDomAttr> Note: All functions in this class are reentrant. Public Functions Detailed Description The QDomAttr class represents one attribute of a QDomElement. set with setValue(). The node this attribute is attached to (if any) is ...
https://developer.blackberry.com/native/reference/cascades/qdomattr.html
CC-MAIN-2014-15
refinedweb
120
52.15
On Friday 18 July 2008, Evgeniy Polyakov wrote:> Hi.>> On Fri, Jul 18, 2008 at 08:04:44PM +0300, Octavian Purdila (opurdila@ixiacom.com) wrote:> > Suppose we have 20 packets in the socket queue and the pipe is empty and> > the application calls splice(sock, pipe, 17, flags=0).> >> > Then, tcp_splice_read will be called...
https://lkml.org/lkml/2008/7/18/379
CC-MAIN-2014-10
refinedweb
254
66.23
Hi. In this series of posts, we will describe how a Haskell web application can be developed using reflex-platform. reflex-platform offers reflex and reflex-dom packages. reflex package is the Haskell implementation of Functional reactive programming (FRP). reflex-dom library contains a large number of functions, class...
https://typeable.io/blog/2021-03-15-reflex-1.html
CC-MAIN-2022-05
refinedweb
2,580
53.71
The creator of Vapor, a web framework for Swift, explains why you should consider using Swift for your next server-side project. You will learn about what makes Swift a great server-side language, what you can create, and how to deploy your first Swift web app. Introduction Two years ago I was working at a startup here...
https://academy.realm.io/posts/try-swift-nyc-tanner-nelson-server-side-swift-using-vapor/
CC-MAIN-2018-13
refinedweb
2,739
72.16
[Today's post is contributed by The Configuration Manager Writing Team] Have you noticed that the Configuration Manager documentation on TechNet now supports community content? If you scroll down to the bottom of a topic, you'll see the community content area where you can add your own information that relates to that ...
http://blogs.technet.com/b/configmgrteam/archive/2009/03.aspx
crawl-003
refinedweb
3,221
51.78
Collection of common interactive command line user interfaces, based on Inquirer.js Project description A collection of common interactive command line user interfaces. Table of Contents Goal and Philosophy ``whaaaaat`` strives to be an easily embeddable and beautiful command line interface for Python. ``whaaaaat`` wan...
https://pypi.org/project/whaaaaat/
CC-MAIN-2022-21
refinedweb
1,101
55.84
C Program to Check Whether a Number is Palindrome or Not This program takes an integer from user and that integer is reversed. If the reversed integer is equal to the integer entered by user then, that number is a palindrome if not that number is not a palindrome. C Program to Check Palindrome Number /* C program to ch...
https://www.studypool.com/discuss/5302/pallindrome?free
CC-MAIN-2017-26
refinedweb
350
54.32
05-21-2019 03:32 PM Hello, I am trying to pass three data points from instruments in LabVIEW within a while loop to a Python script which will compute one output, and pass that output back to LabVIEW in real time. Since it is in a loop, I need this to be as efficient as possible. I have seen a lot about LabPython, but ...
https://forums.ni.com/t5/LabVIEW/Passing-Data-to-Python-and-Receiving-Back-Outcome-from-Python-in/m-p/3929144?profile.language=en
CC-MAIN-2021-31
refinedweb
917
78.18
Prevent neck and back pain by monitoring your sitting posture with Walabot’s distance sensor and an Android app. Things used in this project Hardware components - Walabot - Raspberry Pi 3 Model B Why I built Posture Pal Millions= def set(): global distance distance = request.args.get(‘distance’) return jsonify(distance...
https://projects-raspberry.com/posture-pal-with-walabot/
CC-MAIN-2019-22
refinedweb
158
59.4
I'm just trying to learn (re-learn) and I wan't to create a 2-dimensional grid of objects... Hey everyone! Long story short, I've dabbled in programming for many many years. I was most proficient with Blitzmax and a BASIC variant for PalmOS back in the day but I was never super serious. For example, I conceptually unde...
https://forum.omz-software.com/topic/3188/i-m-just-trying-to-learn-re-learn-and-i-wan-t-to-create-a-2-dimensional-grid-of-objects/1
CC-MAIN-2021-49
refinedweb
1,781
68.5
Why use hitchstory instead of a unit testing framework? NOTE: This argument is a work in progress and there are still several things that need amending / adding. This is not an argument against the following: - Testing in general - Test driven development - Low level testing (of classes and methods or otherwise) - Prop...
https://hitchdev.com/hitchstory/why-not/unit-test/
CC-MAIN-2019-09
refinedweb
526
53.51
Introduction If you ask any industry expert, what language should you learn for big data, they would definitely suggest you to start with Scala. Scala has gained a lot of recognition for itself and is used by the large number of companies. Scala and Spark are being used at Facebook, Pinterest, NetFlix, Conviva, TripAdv...
https://www.analyticsvidhya.com/blog/2017/01/scala/
CC-MAIN-2018-17
refinedweb
5,076
57.16
Python: Raise Timeout exception in the event of times out of request Python Requests: Exercise-6 with Solution Write a Python code to send a request to a web page and stop waiting for a response after a given number of seconds. In the event of times out of request, raise Timeout exception. Sample Solution: Python Code:...
https://www.w3resource.com/python-exercises/requests/python-request-exercise-6.php
CC-MAIN-2021-21
refinedweb
204
53.78
Hello everyone, I'm trying to pass an argument i receive from the command line in a main class to another class where i've created an array. The argument will designate how big the array should be. If you can't already tell I'm brand new to Java and I'm experiencing some frustration in trying to overcome what should be...
http://www.javaprogrammingforums.com/%20object-oriented-programming/1617-passing-information-between-classes-printingthethread.html
CC-MAIN-2013-48
refinedweb
238
57.57
Query SQLAlchemy models with MongoDB syntax. Project description Query SQLAlchemy models using MongoDB style syntax. Why? The need arose for me to be able to pass complex database filters from client side JavaScript to a Python server. I started building some JSON style syntax to do so, then realized such a thing alrea...
https://pypi.org/project/MQLAlchemy/
CC-MAIN-2019-43
refinedweb
440
65.12
PoreMapper: Python package for mapping molecular pores A quick and easy way to make blobs and pores Why? I work mostly with metal-organic cages and, in that field, the pore is often visualised with a software called VOIDOO (see here), which makes very pretty images. I wanted to recreate that, quickly (just for visualis...
https://andrewtarzia.github.io/posts/2021/11/poremapper-post/
CC-MAIN-2022-27
refinedweb
887
61.87
Convert map object to numpy array in python 3 In Python 2 I could do the following: import numpy as np f = lambda x: x**2 seq = map(f, xrange(5)) seq = np.array(seq) print seq # prints: [ 0 1 4 9 16] In Python 3 it does not work anymore: import numpy as np f = lambda x: x**2 seq = map(f, range(5)) seq = np.array(seq) ...
https://prodevsblog.com/questions/149665/convert-map-object-to-numpy-array-in-python-3/
CC-MAIN-2020-40
refinedweb
126
74.12
CodeGuru Forums > Visual C++ & C++ Programming > Visual C++ Programming > Whoa, whoa, whoa ... PDA Click to See Complete Forum and Search --> : Whoa, whoa, whoa ... grannnn March 28th, 1999, 07:00 PM Good day guys!, I'm quite surprised by the number of responses for my "little brain exercise". I hope you won't get into...
http://forums.codeguru.com/archive/index.php/t-44881.html
crawl-003
refinedweb
501
72.76
Agenda See also: IRC log <mnot> Scribe: hugo <mnot> Scribe: Hugo Haas <mnot> ScribeNick: hugo Jonathan: I sent a new proposal for i064 Mark: we'll take this up in this call Jonathan: I sent a couple of issues that are not on the issues list Mark: one is on the issues list, and the other one was a typo and it was dispat...
http://www.w3.org/2005/10/10-ws-addr-minutes.html
CC-MAIN-2015-11
refinedweb
1,919
67.99
Download and Install Bukkit - Create a folder for Bukkit, anywhere it doesn't matter - Head over to and download the latest version of Bukkit, note that if you want to use the latest version of Minecraft, you might need to download the Beta Build and save the .jar file to the folder. - Rename the downloaded .jar file f...
https://www.stuffaboutcode.com/2013/06/programming-minecraft-with-bukkit.html
CC-MAIN-2019-35
refinedweb
488
81.53
I'm new to MVC and trying to figure out it works. I'm just experimenting with simple projects, and there are somethings that are unclear. Let's say I want to load an image depending on value (true or false from a checkbutton) from my controller. I have no problem with recieving the value from my view but how would I go...
https://codedump.io/share/Zxjq8RIpzkoI/1/how-would-one-go-about-to-create-or-display-an-image-from-mvc-controller
CC-MAIN-2017-04
refinedweb
224
76.62
Oh, just to clarify, I meant that I've looked at and believe its a more feasible model to start with, rather than trying a complete W3C server side XForms implementation. The weaknesses of were that it's been stalled quite some time ago at a stage, where it was bound to strictly HTML and doesn't seem to make obvious th...
http://mail-archives.apache.org/mod_mbox/cocoon-dev/200202.mbox/%3C85BCB1287CF1D41197570090279A6A0D03952D58@ES02-AUS.bmc.com%3E
CC-MAIN-2016-30
refinedweb
1,023
55.34
Introduction to Stream Control Transmission Protocol). Listing 1. echo_client.c #define USE_SCTP #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #ifdef USE_SCTP #include <netinet/sctp.h> #endif #define SIZE 1024 char buf[SIZE]; char *msg ...
http://www.linuxjournal.com/article/9748?page=0,1&quicktabs_1=0
CC-MAIN-2017-47
refinedweb
167
51.04
Start playback. #include <mmplayer/mmplayerclient.h> int mm_player_play( mmplayer_hdl_t *hdl ) Start playback. This function changes the player status to STATUS_PLAYING. This status setting remains in effect until you pause or stop playback, or the end of the tracksession is reached and repeating is disabled. The track...
http://www.qnx.com/developers/docs/6.6.0.update/com.qnx.doc.mm_player/topic/mmp_api/mm_player_play.html
CC-MAIN-2018-13
refinedweb
122
56.25
In this section, we will discuss about java classes and its structure. First of all learn: what is a class in java and then move on to its structural details. Class: In the object oriented approach, a class defines a set of properties (variables) and methods. Through methods certain functionality is achieved. Methods a...
http://www.roseindia.net/java/learn-java-in-a-day/class.shtml
CC-MAIN-2015-18
refinedweb
267
56.55
Skip navigation links java.lang.Object oracle.javatools.util.Holder<T> public class Holder<T> A mutable holder class modeled on the JAX-WS 2.0 Holder class that simply provides a common way of providing an in/out parameter without the need to resort to untidy one length array parameters. This can also be applied to cas...
http://docs.oracle.com/cd/E35521_01/apirefs.111230/e17493/oracle/javatools/util/Holder.html
CC-MAIN-2016-50
refinedweb
167
58.18
24 July 2008 13:44 [Source: ICIS news] (adds detail in paragraphs 4-6) LONDON (ICIS news)--An initial monthly Europe butadiene (BD) contract for August has been settled down €15/tonne ($23/tonne) from July at €1,270/tonne on the back of a fall in naphtha costs and some relief in supply, said a buyer and seller on Thurs...
http://www.icis.com/Articles/2008/07/24/9142912/initial-europe-august-bd-at-1270tonne.html
CC-MAIN-2013-20
refinedweb
169
71.04
Get the highlights in your inbox every week. Put platforms in a Python game with Pygame Put platforms in a Python game with Pygame In part six of this series on building a Python game from scratch, create some platforms for your characters to travel. Subscribe now This is part 6 A platformer game needs platforms. In Py...
https://opensource.com/article/18/7/put-platforms-python-game?sc_cid=70160000001273HAAQ
CC-MAIN-2020-05
refinedweb
2,984
71.75
When Java came to life in 1995, the web went from an endless series of hyperlinks to a platform that delivered live content. Which is exactly why Java is on more than a billion computers in the world today. And it's cuz of those billion computers that we keep innovating in JDK 7 for the desktop and Java EE for the ente...
http://blogs.sun.com/amyo/
crawl-002
refinedweb
3,345
61.97
Automatic vehicle spawn and rotation Hi all, I am a phd student in computer vision and machine learning. Our group is collecting car images for research. The data should be like this : images of a stationary car from different viewpoints (maybe 20 viewpoints) are a group of data, which means within one group the car is...
https://forums.gta5-mods.com/topic/5940/automatic-vehicle-spawn-and-rotation
CC-MAIN-2020-50
refinedweb
1,626
62.48
Hi I was wonder if anyone could help with this problem I am receiving. My program is suppose to read in any character frequencies from a file, even spaces and /n. My problem is that is reading an extra character that I can figure out. I had inputed a text file that aab no spaces and no new lines. It would out put as Th...
https://www.daniweb.com/programming/software-development/threads/185789/reading-in-character-frequences-help
CC-MAIN-2017-34
refinedweb
233
70.53
Next up, we're going to start using our example numbers data. We want to create image arrays out of our numbers data, saving them, so that we can reference them later for pattern recognition. For this, we're going to create a "createExamples" function: def createExamples(): numberArrayExamples = open('numArEx.txt','a')...
https://pythonprogramming.net/saving-image-data/
CC-MAIN-2019-26
refinedweb
313
57.37
I am a newbie to Python as well as the programming world. After a bit of research for the past 2 days am now able to successfully SSH into the Cisco router and execute set of commands. However my original goal is to print the resultant output to a text file. Checked lots of posts by forum members which helped me in con...
https://codedump.io/share/iHrBK1HrEjhJ/1/print-ssh-output-from-cisco-router-to-a-text-file
CC-MAIN-2016-44
refinedweb
252
71.95
minitest/test,spec,mock,benchmark. FEATURES/PROBLEMS:! Incredibly small and fast runner, but no bells and whistles. Written by squishy human beings. Software can never be perfect. We will all eventually die." For matchers support check out: Benchmarks Add benchmarks to your tests. # optionally run benchmarks, good for ...
https://www.rubydoc.info/gems/minitest/5.11.3
CC-MAIN-2019-39
refinedweb
1,875
59.6
Help! I'm currently drafting SRFI-105, curly-infix-expressions: and "trying to please everyone" (ha!). Can you tell me if the most recent draft is something guile could live with? In particular, since SRFI-105 is a reader modification, some comments indicated a strong desire for a simple marker like #!fold-case and #!n...
https://lists.gnu.org/archive/html/guile-devel/2012-09/msg00017.html
CC-MAIN-2021-43
refinedweb
334
60.92
Swift Enumeration in Swift language automatically receive the same access level for individual cases of an enumeration. Consider for example to access the students name and marks secured in three subjects enumeration name is declared as student and the members present in enum class are name which belongs to string data...
https://issuu.com/acevedolpruhtpjen/docs/quick_is_a_effective_and_user-frien/237
CC-MAIN-2018-34
refinedweb
264
52.6
Our next decision theory post is going to be on how to rephrase hypothesis testing in terms of Bayesian decision theory. We already saw in our last statistical oddities post that -values can cause some problems if you are not careful. This oddity makes the situation even worse. We’ll show that if you use a classical nu...
https://hilbertthm90.wordpress.com/2014/03/26/statistical-oddities-5-sequential-testing/
CC-MAIN-2016-18
refinedweb
1,045
61.36
Components Modal Modals are used to overlay content above an interface. They are intended to capture the user’s attention in order to inform or shift focus to a pertinent task. Always specify a appElementSelector property to trap keyboard focus in the modal and hide the rest of the app content temporarily. import { Mod...
https://seeds.sproutsocial.com/components/modal/
CC-MAIN-2020-45
refinedweb
375
53.81
Keep your lists sorted on every insert Python is a language that provides you the tools of efficiency. The bisect module has a series of functions that work with a bisecttion algorithm. An inserting function in this grouping is the insort function which will insert an element into a sequence in the right spot according...
https://til.hashrocket.com/posts/bnhmjyccir-keep-your-lists-sorted-on-every-insert
CC-MAIN-2019-18
refinedweb
185
76.35
Convert result of matches from regex into list of string How can I convert the list of match result from regex into List<string>? I have this function but it always generate an exception, Unable to cast object of type 'System.Text.RegularExpressions.Match' to type 'System.Text.RegularExpressions.CaptureCollection'. pub...
http://thetopsites.net/article/60109650.shtml
CC-MAIN-2021-04
refinedweb
1,128
59.3
Numeric Haskell: A Repa Tutorial From HaskellWiki Revision as of 03:34, 17 May 2011 Repa is a Haskell library for high performance, regular, multi-dimensional parallel arrays. All numeric data is stored unboxed and functions written with the Repa combinators are automatically parallel (provided you supply "+RTS -N" on ...
https://wiki.haskell.org/index.php?title=Numeric_Haskell:_A_Repa_Tutorial&diff=prev&oldid=40004
CC-MAIN-2015-48
refinedweb
2,780
67.15
Convert HTML to PDF using Python Want to share your content on python-bloggers? click here. In this tutorial we will explore how to convert HTML files to PDF using Python. Table of Contents - Introduction - Sample file - Convert HTML file to PDF using Python - Convert Webpage to PDF using Python - Conclusion Introducti...
https://python-bloggers.com/2022/06/convert-html-to-pdf-using-python/
CC-MAIN-2022-40
refinedweb
638
64.3
This article by David Saltares Márquez and Alberto Cejas Sánchez, the authors of Libgdx Cross-platform Game Development Cookbook, describes how we can generate a distance field font and render it in Libgdx. As a bitmap font is scaled up, it becomes blurry due to linear interpolation. It is possible to tell the underlyi...
https://hub.packtpub.com/scaling-friendly-font-rendering-distance-fields/
CC-MAIN-2019-39
refinedweb
1,489
57.47
Usage¶ First demonstration¶ A code sample tells more than thousand words: import dryscrape import sys if 'linux' in sys.platform: # start xvfb in case no X is running. Make sure xvfb # is installed, otherwise this won't work! dryscrape.start_xvfb() search_term = 'dryscrape' # set up a web scraping session sess = dryscr...
https://dryscrape.readthedocs.io/en/latest/usage.html
CC-MAIN-2018-43
refinedweb
166
68.97
CORBA Programming/Concepts Object Definition[edit] A CORBA object is defined using the CORBA IDL programming language. CORBA IDL is pure definitions language, like, for example, UML. You only define the external interface and then choose an implementation language to actually implement your object. There are many imple...
https://en.wikibooks.org/wiki/CORBA_Programming/Concepts
CC-MAIN-2016-30
refinedweb
221
54.63
Getting Started with Servlets - Getting Started with Servlets - The Anatomy of a Servlet - Sending a Response to the Browser - The HttpServlet Class - Choosing Between Java Server Pages and Servlets Getting Started with Servlets In This Chapter: A "Hello World" Servlet The Anatomy of a Servlet Sending a Response to the...
http://www.informit.com/articles/article.aspx?p=160309&amp;seqNum=2
CC-MAIN-2018-26
refinedweb
1,176
69.62
Asked by: Help with C# Syntax Question I haven't written C# for a while. I am getting the following error and all the "=" are turning red in the Visual Studio editor in all the code that's BOLD. This is sample code from HL7 message writer. I think this is older C# syntax that needs to be updated. It's using .NET 2.0 fr...
https://social.msdn.microsoft.com/Forums/en-US/a0a72d5b-2976-4c4d-a535-5ec9ab1dbc09/help-with-c-syntax?forum=csharpgeneral
CC-MAIN-2020-50
refinedweb
506
68.77
Hello, I am developing an App for Project 2013 using OAuth for the connection and CSOM to access data of the project Instance. I have been able to get the Resources and Assignments of the project open by the user but haven't been able to get a timespan of each assignment (How many hours each Resource is assigned per da...
https://social.technet.microsoft.com/Forums/en-US/05a4657a-a72e-419c-ac99-235bd8ef391c/timespan-in-csom?forum=projectserver2010general
CC-MAIN-2020-45
refinedweb
227
82.44
This preview shows pages 1–5. Sign up to view the full content. 1.00/1.001 Quiz 2 1/12 Fall 2004 1.00/1.001 Introduction to Computers and Engineering Problem Solving Quiz 2 / November 5, 2004 Name: Email Address: TA: Section: Question Points Question 1 / 10 Question 2 / 30 Question 3 / 30 Question 4 / 30 Extra Credit /...
https://www.coursehero.com/file/6588387/fall04quiz2sol/
CC-MAIN-2017-17
refinedweb
501
50.84
Integrating mod_python with TurboGears .8a1 Thanks to Jamie's wonderful mpcp script, this could not have been easier. As always, this is what worked for me. YMMV. And $TG_MP = [your turbogears project directory]. Go grab the mpcp.py from and put it into $TG_MP. Or, if you use setuptools/easy_install, you can do 'easy_i...
http://trac.turbogears.org/wiki/ModPythonIntegration?version=8
CC-MAIN-2019-30
refinedweb
294
62.34
TreeCache.getKeys() returns null sometimesElias Ross Apr 7, 2006 12:50 AM See JBCACHE-535 Manik asked me: Which corresponding unit test contradicts the TreeCache.getKeys() contract?[sp] The test org/jboss/cache/optimistic/NodeInterceptorGetKeysTest.java contradicts the documentation in two places: //assert we can see t...
https://developer.jboss.org/thread/97084
CC-MAIN-2019-09
refinedweb
551
64
jndi name of ejb in earKeith Naas Dec 4, 2006 3:08 PM EJBs deployed from an EAR are put under the EAR's jndi namespace. For instance if the ear file is "my-ear.ear", and there is a Local Session Bean with the name of "MySessionBean", it will be bound to "my-ear/MySessionBean". In order for Seam to lookup this EJB, it r...
https://developer.jboss.org/thread/133459
CC-MAIN-2019-09
refinedweb
371
70.84
Anonymous Types in Visual Basic Alexandre Moura, Visual Basic QAMicrosoft Corporation April 2008. (6 printed pages). In Visual Basic 2008 the declaration of a new instance changed to allow not specifying a type as long as members are assigned to in a curly brackets delimited list, thus creating an anonymous typed insta...
http://msdn.microsoft.com/en-us/library/cc468406(v=vs.90).aspx
CC-MAIN-2014-42
refinedweb
1,556
62.07
Creating a Web API in ASP.NET Core RESTful services are quite common and popular these days. If you ever developed modern service-based applications using ASP.NET Web Forms and ASP.NET MVC, chances are you used a Web API to create REST services. No wonder ASP.NET Core also allows you to create a Web API. This article d...
https://www.codeguru.com/csharp/.net/net_asp/creating-a-web-api-in-asp.net-core.html
CC-MAIN-2019-35
refinedweb
2,895
51.55
On Friday 27 May 2005 04:11, Chris Wedgwood wrote:>> mine was :-)Yes, it took some time to me to go working on this and getting the time to explain it clearly.> >> is UML I wonder if we could do save a couple of bytes & cycles for> everyone else by doing something like #ifdef CONFIG_IRQ_HAS_RELEASE,> #endif around that...
http://lkml.org/lkml/2005/5/28/37
CC-MAIN-2015-32
refinedweb
228
63.73
0 Greetings! I've been messing around with a bit of code for a while now and I've got it compiling etc etc. The only problem is with perfecting the quicksort function (probably trivial, but then I'm not very skilled). From the output file, it seems to 'sort of' sort the string arrays that are fed in. I suspect the prob...
https://www.daniweb.com/programming/software-development/threads/246666/assistance-needed-for-perfection-of-quicksort
CC-MAIN-2018-17
refinedweb
309
63.53