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 |
|---|---|---|---|---|---|
Get information about traceparser
#include <sys/traceparser.h> void * traceparser_get_info ( struct traceparser_state * stateptr, info_modes_t infomodes, unsigned * len );
The traceparser_get_info() function gets information related to the state of the traceparser. You can use this function if you're creating your own ... | http://www.qnx.com/developers/docs/6.6.0.update/com.qnx.doc.neutrino.lib_ref/topic/t/traceparser_get_info.html | CC-MAIN-2018-13 | refinedweb | 195 | 56.86 |
I made a code which gather datas from files and I want to put them in a database using pyodbc in python and SQL server express 2019.
Here is my code :
import pyodbc conn = pyodbc.connect('Driver={SQL SERVER};' 'Server=<my server>;' 'Database=<my database>;' 'Trusted_Connection=yes;' cursor=conn.cursor() sql=""" INSERT ... | https://askpythonquestions.com/2021/06/11/insert-data-in-a-database-using-pyodbc/ | CC-MAIN-2021-31 | refinedweb | 147 | 64.91 |
In an effort to resume previous work [A, B, C, D] on developing a crystal oven for radio frequency transmitter / receiver stabilization purposes, the first step for me was to create a device to accurately measure and log temperature. I did this with common, cheap components, and the output is saved to the computer (ove... | https://www.swharden.com/wp/2013-06-10-precision-temperature-measurement/ | CC-MAIN-2020-10 | refinedweb | 1,084 | 65.52 |
Just wondering if you felt like reading the intro threads, and HOW TO POST CODE anytime whilst waiting for an answer.
Code isn't make much sense either. You define factorial as a function but then you multiply 1 and 0 to it like a variable!
And Please help doesn't state the problem. Your code is obviously flawed but we... | https://www.daniweb.com/programming/software-development/threads/208284/please-can-any1-help-fix-this | CC-MAIN-2016-50 | refinedweb | 285 | 68.7 |
oleg at pobox.com writes: > >. I just noticed that the Haskell wiki[1] claims that Data.Foldable generalizes MonadMinus (aka MonadSplit). [1] <> It's true that you can define msplit in terms of foldr, e.g.: msplit :: (Foldable m, MonadPlus m) => m a -> m (Maybe (a, m a)) msplit a = foldr sk (return Nothing) a where sk ... | http://www.haskell.org/pipermail/haskell-cafe/2007-July/028037.html | CC-MAIN-2014-15 | refinedweb | 133 | 72.66 |
18 January 2011 17:46 [Source: ICIS news]
By John Richardson
?xml:namespace>
PERTHeconomic context, skyscrapers,” he wrote.
What was amazing was the tone of the article and the fact that it was published in an official newspaper – and also because Yu was formerly a member of the monetary committee of the People’s Bank ... | http://www.icis.com/Articles/2011/01/18/9427103/insight-chinas-push-for-domestic-consumption-worries-chem.html | CC-MAIN-2014-35 | refinedweb | 219 | 50.26 |
ZoomulatorMember
Content count68
Joined
Last visited
Community Reputation273 Neutral
About Zoomulator
- RankMember
OpenGL NVidia and ATI standard inconsistencies?
Zoomulator posted a topic in Graphics and GPU ProgrammingI've got some troubles making my (C++) OpenGL project to work on ATI cards. I've only got NVidia car... | https://www.gamedev.net/profile/168167-zoomulator/ | CC-MAIN-2018-05 | refinedweb | 3,640 | 63.29 |
Your answer is one click away!
I am using drop wizard with swagger to document my rest api. I begin with adding annotations to my existing resource classes to generate the document. But now I have a post request where i am required to post custom model such as parameters below.
public class Parameters { private final S... | http://www.devsplanet.com/question/35269655 | CC-MAIN-2017-22 | refinedweb | 198 | 62.68 |
From: Brian Barrett (brbarret_at_[hidden])
Date: 2006-02-14 08:48:49
On Feb 13, 2006, at 12:29 PM, Xiaoning (David) Yang wrote:
> I'm installing OpenMPI on a solaris system and got the following error
> message when running make:
>
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95/../../../../
> include/g++-3/s
> tl_c... | https://www.open-mpi.org/community/lists/users/2006/02/0654.php | CC-MAIN-2016-07 | refinedweb | 206 | 57.3 |
JDIC, Netbeans, Browser class
Hello all,
I am new to jdic. I've downloaded the jdic-0.9.5-bin-cross-platform.zip. I've extracted it. I've added the jar file to the libraries of my project in netbeans.
import org.jdesktop.jdic.browser.*;
The import statements work. But inside the folder there is no browserEngineManager ... | https://www.java.net/node/684708 | CC-MAIN-2014-10 | refinedweb | 180 | 77.33 |
I am trying to learn Java
I dont understand why this code won't work.
It won't output "Hello World" from test() function.
What am I doing wrong?
public class Main {
public test(args) {
System.out.println(args);
}
public static void main(String[] args) {
test('Hello World');
}
}
Firstly:
public test(args) { System.out.p... | https://codedump.io/share/Vhi2idS1fSBY/1/java-beginner-quothello-worldquot | CC-MAIN-2016-44 | refinedweb | 401 | 71.95 |
See:
Description
Java library for Wavelets.
This package was designed with Alain Béliveau and Mohamed Jardak in the winter of 1998 (at the École Polytechnique de Montréal). The idea was to provide a wavelet package that could equally well handle numerical analysis and signal processing. This is made possible by an exte... | http://www.jwork.org/jhepwork/api_extra/jsci/maths/wavelet/package-summary.html | crawl-003 | refinedweb | 910 | 58.28 |
Available items
The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:
=======
.. image:: :target:
.. image:: :target:
Arachne provides a wrapper around your scrapy
Spiderobject to run them through a flask app. All yo... | https://xscode.com/kirankoduru/arachne | CC-MAIN-2020-45 | refinedweb | 174 | 61.93 |
Flutter plugin for Razorpay SDK.:
This plugin is available on Pub:
Add this to
dependencies in your app's
pubspec.yml
razorpay_flutter: 1.1.0
Note for Android: Make sure that the minimum API level for your app is 19 or higher.
Note for iOS: Make sure that the minimum deployment target for your app is iOS 10.0 or higher... | https://pub.dev/packages/razorpay_flutter | CC-MAIN-2019-30 | refinedweb | 302 | 52.56 |
#include <ConnPolicy.hpp>
A connection policy object describes how a given connection should behave. Various parameters are available:
the locking policy: LOCKED, LOCK_FREE or UNSYNC. This defines how locking is done in the connection. For now, only three policies are available. LOCKED uses mutexes, LOCK_FREE uses a lo... | http://docs.ros.org/en/groovy/api/rtt/html/classRTT_1_1ConnPolicy.html | CC-MAIN-2021-10 | refinedweb | 513 | 51.55 |
High-performance webpack config for front-end delivery
Using the best webpack optimizations to serve your app up to 7× faster has never been easier. (more…)Read more »
In 2017, setting up an environment for a modern web app can be heinous. With the rise of precompiled languages and javascript package… Read more
Using t... | https://fullstackfeed.com/easy-single-page-net-core-application-with-webpack-and-react-in-vs-2015/ | CC-MAIN-2018-17 | refinedweb | 227 | 63.29 |
TestedExtension
@Incubating interface TestedExtension
Common extension properties for the Android Application. Library and Dynamic Feature Plugins that relate to testing
Only the Android Gradle Plugin should create instances of this interface.
Summary
Public methods
testFixtures
abstract fun testFixtures(action: TestFi... | https://developer.android.com/reference/tools/gradle-api/7.1/com/android/build/api/dsl/TestedExtension?hl=uk | CC-MAIN-2022-40 | refinedweb | 349 | 52.09 |
Patrick de Kruijf wrote:Hello,
I'm staring at a code I copied from a reader I got from my school, I understand most of it but I can't figure out what the usage is of this. .
What does this. do?
public class Stock {
private String name;
private int amount;
private double value;
public (String name, int amount, int value... | http://www.coderanch.com/t/508942/java/java/usage | CC-MAIN-2015-40 | refinedweb | 345 | 77.33 |
As rahulkar mentioned in his tutorial, LED control seems to be the "Hello World" of electronics. It's easy to set up, you learn a lot about how electronics work, and in the end, you've got a nifty little piece of hardware to show off to your friends - and it's pretty cool!
This tutorial will be bare-basics, the idea be... | https://www.instructables.com/id/Using-a-RPi-to-Control-an-RGB-LED/ | CC-MAIN-2019-13 | refinedweb | 2,945 | 69.92 |
saving xml to a String variable
saving xml to a String variable
Hello guys,
I'm writing my first project in Ext GWT and I've got the following
problem:
I want to load XML file and save it to a local String variable.
Code:
public class XmlFile { String temp; public void greetServer() { RequestBuilder requestBuilder = ne... | http://www.sencha.com/forum/showthread.php?83167-saving-xml-to-a-String-variable | CC-MAIN-2015-14 | refinedweb | 252 | 58.48 |
Python Client for Keen IO
Project description
This is the official Python Client for the Keen IO API. The Keen IO API lets developers build analytics features directly into their apps.
This is still under active development. Stay tuned for improvements!
Installation
Use pip to install!
pip install keen
This client is k... | https://pypi.org/project/keen/ | CC-MAIN-2021-04 | refinedweb | 2,525 | 50.53 |
/* Communication between reload.c and reload1.c. Copyright (C) 1987, 91-95, 97, PROTO ((enum machine_mode, enum reg_class, int)); /* See reload.c and reload1.c for comments on these variables. */ /* Maximum number of reloads we can need. */ #define MAX_RELOADS (2 * MAX_RECOG_OPERANDS * (MAX_REGS_PER_ADDRESS + 1)) exter... | http://opensource.apple.com/source/gcc/gcc-926/gcc/reload.h | CC-MAIN-2016-30 | refinedweb | 928 | 54.63 |
Copyright © 2002 W3C® (MIT, INRIA, Keio), All Rights Reserved. W3C liability, trademark, document use, and software licensing rules apply.. The latest status of this series of documents is maintained at the W3C.
This specification from the W3C CC/PP Working Group is a Last Call Working Draft of the W3C. UAProf drafting... | http://www.w3.org/TR/2002/WD-CCPP-struct-vocab-20021108/ | CC-MAIN-2016-44 | refinedweb | 3,405 | 51.18 |
One of the first challenges developers new to JavaScript who are
building large applications will have to face is how to go about
organizing their code. Most start by embedding hundreds of lines of code
between a <script> tag which works but quickly turns
into a mess. The difficultly is that JavaScript doesn’t offer an... | http://css.dzone.com/articles/javascript-modules | CC-MAIN-2014-41 | refinedweb | 1,630 | 61.56 |
So far we deal with the Exceptions as below. As you see in the following code snippet, we are catching the exception and displaying the error message.
using System; namespace demo1 { class Program { static void Main(string[] args) { int number = 24; try { int rem = number % 0; Console.WriteLine(rem); } catch (DivideByZ... | https://debugmode.net/2014/11/18/exception-filters-in-c-sharp-6-0/ | CC-MAIN-2019-18 | refinedweb | 439 | 56.96 |
Xml driven mp3 music free jobs
Gravação de guia vocal (IVR) em formato wav e mp3 Idioma: português (Portugal)
Amadeus XML API Development in PHP
I NEED AN XML LINE FEED ATTACHED TO MY WORDPRESS WEBSITE DETAILS ATTACHED I HAVE AN EXAMPLE TOO
..
Por favor, Cadastre-se ou Faça Login para ver os detalhes.
We are need Free ... | https://www.br.freelancer.com/work/xml-driven-mp3-music-free/ | CC-MAIN-2018-43 | refinedweb | 398 | 62.07 |
NAME
tan, tanf, tanl − tangent function
SYNOPSIS
#include <math.h>
double
tan(double x);
float tanf(float x);
long double tanl(long double x);
Link with −l
These functions return the tangent of x, where x is given in radians..
ATTRIBUTES
For an explanation of the terms used in this section, see attributes(7).
.
SEE ALS... | https://man.cx/tan(3) | CC-MAIN-2017-47 | refinedweb | 106 | 72.97 |
So - machina.js is a JavaScript library for building flexible finite state machines, and postal.js is a JavaScript message bus library. "machina.postal" is two things:
<script src="mail.machine.js"><script>in their project?
When you include machina.postal.js in your project, it hooks into the "newFsm" event that gets f... | https://www.npmjs.com/package/machina.postal | CC-MAIN-2017-17 | refinedweb | 774 | 56.96 |
Introduction
This article is the first in a short series in which I intend to explain how CPython [1] implements and uses symbol tables in its quest to compile Python source code into bytecode. In this part I will explain what a symbol table is and show how the general concepts apply to Python. In the second part I wil... | http://eli.thegreenplace.net/2010/09/18/python-internals-symbol-tables-part-1/ | CC-MAIN-2016-26 | refinedweb | 1,649 | 58.32 |
Summary
This tool converts a map document into a KML file containing a translation of Esri geometries and symbology. This file is compressed using ZIP compression, will have a .kmz extension, and can be read by any KML client including Explorer for ArcGIS, map has scale-dependent layer.
To output every layer as a separ... | http://desktop.arcgis.com/en/arcmap/latest/tools/conversion-toolbox/map-to-kml.htm | CC-MAIN-2019-35 | refinedweb | 284 | 50.84 |
information — “as estab’d,” one politely jots in the margin.
Much repetition, though, comes under the more elementary heading of Two Words Where One Will Do, and here’s a collection of easily disposed of redundancies. Some of these may strike you as obvious — though their obviousness doesn’t stop them from showing up ... | https://forge.medium.com/close-proximity-end-result-and-more-redundant-words-to-delete-from-your-writing-3258be693a3d | CC-MAIN-2021-25 | refinedweb | 1,415 | 63.8 |
How to Integrate Firebase Into Your App
William is a Software Engineer at Lawrence Livermore Lab by day and a Senior Instructor for Hackbright’s Intro to Programming course by night. He developed a passion for teaching while earning his Bachelor’s and Master’s degrees in Computer Science from Mississippi State Universi... | https://hackbrightacademy.com/blog/heating-firebase-tutorial-integrate-firebase-app/ | CC-MAIN-2017-09 | refinedweb | 1,098 | 63.8 |
Introduction: Arduino Infinity Mirror (Bluetooth & Sound Reactive)
I created an Infinity Mirror for a school project with Arduino which you can control with your phone or tablet by using Bluetooth. The mirror also has a built-in microphone which detects sound/music and reacts accordingly by generating eye-catching ligh... | http://www.instructables.com/id/Arduino-Infinity-Mirror-Bluetooth-Sound-Reactive/ | CC-MAIN-2018-30 | refinedweb | 3,437 | 71.55 |
On Sat, 15 Nov 2008 11:17:07 -0800, rurpy wrote: >>> * Can I create an object that has a value that >>> is the same as int(3) without somehow using an int(3) object in its >>> construction? [...] >> Yes: mpz(3) where mpz is multi-precision int class with same set of >> possible values as Python ints. > > The argument t... | https://mail.python.org/pipermail/python-list/2008-November/512652.html | CC-MAIN-2014-10 | refinedweb | 2,496 | 64.3 |
Getting Started with Couchbase and Spark on Apache Zeppelin
Author Laurent Doguin walks us through how easy it is to integrate analytics newcomer Apache Zeppelin with Couchbase and Spark from scratch.
Join the DZone community and get the full member experience.Join For Free
While I was at JDays in Göteborg, I attended ... | https://dzone.com/articles/getting-started-with-couchbase-and-spark-on-apache | CC-MAIN-2020-45 | refinedweb | 953 | 65.83 |
WinDbg Preview 1.0.1812.12001 and new extensibility interfaces
Hi everyone and happy holidays!
We've got a more extension focused release this time around, with a new C++ header, a new data model extension focusing around enabling easier JavaScript extensions, and a bunch of new samples!
Feel free to leave any question... | https://docs.microsoft.com/en-us/archive/blogs/windbg/windbg-preview-1-0-1812-12001-and-new-extensibility-interfaces | CC-MAIN-2020-24 | refinedweb | 590 | 51.28 |
First solution in Clear category for I Love Python! by tntC4stl3
def i_love_python():
"""
Let's explain why do we love Python.
"""
essay = """I love Python because it's really easy to learn, you can learn
Python in few days then write a tool to solve specific problems like craw
web site, download pictures and so on. An... | https://py.checkio.org/mission/i-love-python/publications/tntC4stl3/python-3/first/share/0ce0f47b2890ddcf9d41ba6787dd8d11/ | CC-MAIN-2021-17 | refinedweb | 148 | 70.23 |
Robocode/Graphical Debugging
This page will explain how to perform graphical debugging with Robocode using the
onPaint method.
Classic Debugging
One classic way of debugging code is to use
System.out.println() statements in your code and read the output in the console. This classic way of debugging is excellent in most... | http://robowiki.net/wiki/Robocode/Graphical_Debugging | CC-MAIN-2016-18 | refinedweb | 966 | 58.82 |
A common use case to display data when developing mobile apps with React Native is in the form of a list.
Two common ways exist in React Native to create lists:
ScrollView and
FlatList. Each of these components from the framework's API has its strength.
In this tutorial, let us explore different props provided by
FlatL... | https://blog.jscrambler.com/add-a-search-bar-using-hooks-and-flatlist-in-react-native | CC-MAIN-2022-27 | refinedweb | 1,719 | 55.95 |
Michael Paquier <michael.paqu...@gmail.com> writes: > On Thu, Mar 31, 2016 at 2:14 PM, Michael Paquier > <michael.paqu...@gmail.com> wrote: >> On Wed, Mar 30, 2016 at 1:01 PM, Robbie Harwood <rharw...@redhat.com> wrote: >>> A new version of my GSSAPI encryption patchset is available, both in >>> this email and on my gi... | https://www.mail-archive.com/pgsql-hackers@postgresql.org/msg283356.html | CC-MAIN-2018-34 | refinedweb | 1,140 | 65.42 |
Ngl.draw_colormap
Draws the current color map and advances the frame.
Prototype
Ngl.draw_colormap(wks)
Argumentswks
The identifier returned from calling Ngl.open_wks.
Return valueNone
Description
This procedure draws the current color map assigned to the given workstation and advances the frame. The colors are drawn as... | http://www.pyngl.ucar.edu/Functions/Ngl.draw_colormap.shtml | crawl-001 | refinedweb | 155 | 60.01 |
New to Rails, but learning a ton.
I'm using Paper Trail to save versions of my database, focusing on one sum that I want to maintain with each update. The sum is called "xoi_qb".
Within my model, I have defined the data I want to save like this:
def get_xoi_qb
xoi_qb = []
self.versions.each do |version|
unless version.... | https://codedump.io/share/2Km6WwsMBOLH/1/adding-time-and-date-to-papertrail-data | CC-MAIN-2016-50 | refinedweb | 211 | 71 |
wikitools Python module for interacting with a MediaWiki wiki using the MediaWiki API. Designed for MediaWiki version 1.14 and higher, should work on 1.13, older versions may have bugs. The edit-API must be enabled on the site to use editing features. This is still a beta release and may have bugs, especially when deal... | http://linux.softpedia.com/get/Programming/Libraries/wikitools-45287.shtml | CC-MAIN-2013-20 | refinedweb | 132 | 55.74 |
This is a long node dealing with various thoughts about building robust
software and an idea I am working on to get around some annoying problems with
testing. Specifically, unit tests don't check that different components work together, but
integration tests often miss where an actual problem lies. What follows is
som... | http://www.perlmonks.org/index.pl?node_id=270259 | CC-MAIN-2016-26 | refinedweb | 2,289 | 69.41 |
This is the sixth part of the series where we continue on our pursuit to build a machine translation application. In this post we embark on a transformation process where in we transform our prototype into a production grade code..( This post)
- Building the Machine Translation application -From Prototype to Production... | https://bayesianquest.com/category/classification-problems/ | CC-MAIN-2020-50 | refinedweb | 4,844 | 55.24 |
NAME
ieee80211_input, ieee80211_decap, ieee80211_recv_mgmt - software 802.11 stack input functions
SYNOPSIS
#include <net80211/ieee80211_var.h> #include <net80211/ieee80211_proto.h> void ieee80211_input(struct ifnet *ifp, struct mbuf *m, struct ieee80211_node *ni, int rssi, u_int32_t rstamp); struct mbuf * ieee80211_de... | http://manpages.ubuntu.com/manpages/karmic/man9/ieee80211_input.9freebsd.html | CC-MAIN-2013-48 | refinedweb | 235 | 68.36 |
The Euclidean algorithm (also called Euclid's algorithm) is an extremely efficient algorithm to determine the greatest common divisor (GCD) of two integers. It is described in Euclid's Elements. The algorithm does not require factoring.
Given two natural numbers a and b, first check if b is zero. If yes, then the GCD i... | http://encyclopedia.kids.net.au/page/eu/Euclidean_algorithm | CC-MAIN-2020-29 | refinedweb | 476 | 60.45 |
Hello, Rails newbie… trying to understand the right way to do
things…
In my app users can create a Book ( I have that working)
What I want to happen is when a user creates a book, a record is added
to the BookCharacters Table, something like (id, book.id, user.id,
characterdescription.string.)
When the book is created,... | https://www.ruby-forum.com/t/understanding-rails-controllers-models/195163 | CC-MAIN-2022-21 | refinedweb | 140 | 65.32 |
truncate, ftruncate - Change file length
#include <unistd.h>
int truncate(
const char *path,
off_t length ); int ftruncate(
int filedes,
off_t length );
Interfaces documented on this reference page conform to
industry standards as follows:
ftruncate(), truncate(): XSH4.2, XSH5.0
Refer to the standards(5) reference page... | http://nixdoc.net/man-pages/Tru64/man2/truncate.2.html | CC-MAIN-2020-05 | refinedweb | 716 | 63.09 |
.
[...] Praxis – 145 Puzzle By Remco Niemeijer In today’s Programming Praxis exercise we have to solve a math puzzle. The provided solution is 15 lines, not [...]
My Haskell solution (see for a version with comments):
From the name of the post, I expected this was the shortest solution.
But here’s a real solution using... | http://programmingpraxis.com/2010/04/20/145-puzzle/?like=1&_wpnonce=2fbededf31 | CC-MAIN-2014-15 | refinedweb | 681 | 65.09 |
The Rails 5 release is almost upon us, and it’s jammed packed with upgrades and new features. The one I’m most excited about is the Rails::API gem integration.
Rails::API and Rails 5
As a newcomer to Rails, I’m very excited for the soon-to-be released Rails 5. The main reason is that this might be the version I’ll be w... | https://www.cookieshq.co.uk/posts/how-to-use-the-new-rails-5-api-feature | CC-MAIN-2022-21 | refinedweb | 998 | 63.9 |
GitWeb
Get Gentoo!
gentoo.org sites
gentoo.org
Wiki
Bugs
Forums
Packages
Planet
Archives
Sources
Infra Status
Gentoo Repository
Repositories
Projects
Developer Overlays
User Overlays
Data
Websites
index
:
sites/projects/council.git
master
projects.gentoo.org/council/
Gentoo Council <council@gentoo.org>
summary
refs
log... | https://sources.gentoo.org/sites/projects/council.git/commit/?id=00d405e8a1795b648fdc984bc50534f29bf99d35 | CC-MAIN-2021-21 | refinedweb | 10,389 | 74.12 |
The .NET Architecture
This article is a sample chapter from .NET Security Programming, written by Donis Marshall and published by Wiley.
.NET security is not an island of technology, but a slice of a larger entity called the .NET Framework. Basic understanding of the .NET Framework is required before attempting .NET se... | https://www.codeguru.com/csharp/sample_chapter/article.php/c8245/The-NET-Architecture.htm | CC-MAIN-2018-51 | refinedweb | 3,144 | 52.15 |
#region lets you specify a block of code that you can expand or collapse when using the outlining feature of the Visual Studio Code Editor. In longer code files, it is convenient to be able to collapse or hide one or more regions so that you can focus on the part of the file that you are currently working on. The follo... | http://msdn.microsoft.com/en-us/library/9a1ybwek.aspx | crawl-002 | refinedweb | 120 | 55.58 |
Step 6: Create and Deploy a Lambda Package (VSK Fire TV)
VSK Cloudside Integration
Now that you have your Fire TV app uploaded, you need to create a Lambda function with capabilities to pass the directives received from Alexa along to your app. A sample Lambda function that provides a starting point for implementing a ... | https://www.developer.amazon.com/docs/video-skills-fire-tv-apps/create-and-deploy-lambda-package.html | CC-MAIN-2021-39 | refinedweb | 965 | 62.48 |
Call me old fashioned
Call me old fashioned but I really like Nicholas Wirth's Modula-2 and was disappointed it never became more popular.
Modula-2's concept of separating the definition modules from the execution modules made it easy to utilize inheritance, etc and extend/reuse libraries.
Threads, messages, etc were ... | http://www.linuxjournal.com/content/programmer%E2%80%99s-discussion-procedural-vs-oo?page=1&quicktabs_1=1 | CC-MAIN-2016-26 | refinedweb | 5,959 | 62.58 |
[spoiler title=”Lesson Video”]
Direct Download of Video (For mobile / offline viewing)(right click > save target as)
[/spoiler]
[spoiler title=”Lesson Source Code”]
#include <iostream> #include <string> using namespace std; int main(){ //1. Showing how to iterate through a loop again //2. Show how to determine the size... | http://beginnerscpp.com/lesson-15-arrays-in-action/ | CC-MAIN-2019-13 | refinedweb | 865 | 76.35 |
Hey everyone. I am trying to write a program using Newtons Method. I know there is no code here, but that's my problem... I don't know where to start. I know the method is similar to bisection so if anyone could explain either to me or just help me get started, please let me know. Here is my problem:
I am trying to wri... | https://cboard.cprogramming.com/cplusplus-programming/134649-newtons-method.html | CC-MAIN-2017-26 | refinedweb | 353 | 83.96 |
#include <itkStructHashFunction.h>
List of all members.
This regards the input key as a string of bytes, and applies a hash function similar to one that has been used in perl. If the data in the input key has pointers to other classes, then the function will be hashing on the value of the pointer itself, not on the dat... | http://www.itk.org/Doxygen36/html/classitk_1_1StructHashFunction.html | crawl-003 | refinedweb | 120 | 66.94 |
...one of the most highly
regarded and expertly designed C++ library projects in the
world. — Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Sometimes trivial logging doesn't provide enough flexibility. For example, one may want a more sophisticated logic of log processing, rather than simply printing it on ... | https://www.boost.org/doc/libs/1_55_0/libs/log/doc/html/log/tutorial/sinks.html | CC-MAIN-2018-30 | refinedweb | 836 | 50.67 |
Eric Schrock's Weblog Reflections on OS integration 2010-12-08T14:35:41+00:00 Apache Roller SES Sensors and Indicators eschrock 2008-08-07T08:32:39+00:00 2008-08-07T15:32:39+00:00 <p>Last week, Rob Johnston and I coordinated two putbacks to Solaris to further the cause of Solaris platform integration, this time focusin... | http://blogs.oracle.com/eschrock/feed/entries/atom?cat=%2FOpenSolaris | CC-MAIN-2016-26 | refinedweb | 13,194 | 61.36 |
Hacking / Customizing a Kobo Touch ebook reader: Part II, Python
I wrote last week about tweaking a Kobo e-reader's sqlite database by hand.
But who wants to remember all the table names and type out those queries? I sure don't. So I wrote a Python wrapper that makes it much easier to interact with the Kobo databases.
... | http://shallowsky.com/blog/tags/ebook/ | CC-MAIN-2016-22 | refinedweb | 260 | 65.12 |
In this series I've been looking at the Microsoft.FeatureManagement library (which is now open source on GitHub 🎉). This provides a thin layer over the .NET Core configuration system for adding feature flags to your application. But this library is new, and the feature flag concept is not - so what were people using p... | https://andrewlock.net/alternatives-to-microsoft-featuremanagement/ | CC-MAIN-2021-31 | refinedweb | 1,766 | 53.41 |
Hi Costas,
yes, GIO16 and RST connected. I see in the Serial monitor that ESP resets but the communication was lost: “Your ESP8266 is not in network”.
Hi Costas,
yes, GIO16 and RST connected. I see in the Serial monitor that ESP resets but the communication was lost: “Your ESP8266 is not in network”.
If the ESP is asle... | https://community.blynk.cc/t/esp-deep-sleep/5622/8 | CC-MAIN-2020-34 | refinedweb | 1,668 | 51.65 |
[this message, which originated from tng-technical@samba-tng.org,
is cross-posted from apr dev and samba tech. the relevance
to apr dev is the issues / justification of creating an
apr NamedPipe interface - exactly mirroring the NT NamedPipe one
_not_ the unix namedpipe one. luke]
On Wed, Jun 20, 2001 at 09:28:31AM +01... | http://mail-archives.apache.org/mod_mbox/apr-dev/200106.mbox/%3C20010620145514.C17055@angua.rince.de%3E | CC-MAIN-2015-22 | refinedweb | 794 | 62.17 |
Android Ported To C# 351
New submitter."
Software Apocolypse... (Score:5, Funny)
....this still won't save you from the Oracle software apocalypse [slashdot.org].
Re:Software Apocolypse... (Score:5, Funny)
Re: (Score:3)
But how will economists make accurate predictions without the source?
Can I run Android or iOS on my... | http://developers.slashdot.org/story/12/05/01/2146232/android-ported-to-c?sdsrc=nextbtmprev | CC-MAIN-2014-10 | refinedweb | 4,655 | 73.37 |
Alexey Dobriyan <adobriyan@gmail.com> writes:> I don't have a lot of opinion on this bug. I checked patchset to fix known> reproducer, timeout is obviously taken out of air and not nice.As for timeout. The logic is that mark_mounts_for_expiry is just anaging mechanism, and if something is actually in use it is not aged... | http://lkml.org/lkml/2009/3/30/517 | CC-MAIN-2015-06 | refinedweb | 153 | 67.25 |
29 September 2010 23:59 [Source: ICIS news]
?xml:namespace>
The September pre-discounted caprolactam contract price settled at €2,220-2,256/tonne FD (free delivered) NWE (northwest
“We have closed our contacts and an increase of €40/tonne represents a good average. I wouldn’t say the market is tight but it’s balanced,”... | http://www.icis.com/Articles/2010/09/29/9397083/europe-sept-caprolactam-up-40tonne-on-benzene-tight-supply.html | CC-MAIN-2013-20 | refinedweb | 320 | 56.39 |
Traffic Collision 2
3D action driving game3.80 / 5.00 2,083 Views
Hero Agency
Manage and train heroes to build up a world-renowned adventure agency!3.76 / 5.00 18,298 Views
Hello, fellow Newgrounders. I was hoping someone would be able to help me with a current issue in my game development.
So, basically, I have two cl... | http://www.newgrounds.com/bbs/topic/1306186 | CC-MAIN-2016-44 | refinedweb | 681 | 65.22 |
which
array example - Java Beginners
solution, since the fundamental problem is that an array isn't really a good idea... get and set methods for an array property - it exposes too much of the inner... i cannot solve this example
Some Notes on Java Programming Environments
Appendix 2:
Some Notes on Java Programming Env... | http://www.roseindia.net/tutorialhelp/comment/4143 | CC-MAIN-2013-48 | refinedweb | 2,621 | 66.23 |
Read this overview to learn how to make your models smaller via pruning. Pruning Machine Learning Models in TensorFlow
In a previous article, we reviewed some of the pre-eminent literature on pruning neural networks. We learned that pruning is a model optimization technique that involves eliminating unnecessary values ... | https://morioh.com/p/e3e521d3bd44 | CC-MAIN-2021-10 | refinedweb | 548 | 52.29 |
Generate .NET XML Documentation With NDoc
Systems documentation is one of those tasks that often suffers during the completion of a project. It’s frequently pushed to the end of the development cycle, if it appears at all, in order to minimize redundant work.
However, with XML Documentation support in C# and VB.NET, an... | http://www.sitepoint.com/dot-net-xml-documentation-ndoc/ | CC-MAIN-2014-23 | refinedweb | 1,190 | 66.33 |
Django’s template system comes with a wide variety of built-in tags and filters designed to address the presentation logic needs of your application. You can extend the template engine by defining custom tags and filters using Python, and then make them available to your templates using the {% load %} tag.
Custom templ... | https://micropyramid.com/blog/inclusion-tags/ | CC-MAIN-2018-34 | refinedweb | 377 | 64.41 |
This program shows how to compile and link the new Matlab mexw32 files using Visual Studio 2005. Matlab 7.1 changed its mex file format to .mexw32 from .dll. All new versions, MATLAB 7.1 (R14SP3), MATLAB 7.2 (R2006a), MATLAB 7.3 (R2006b), and MATLAB 7.4 (R2007a), compile mexw32 files. Previously compiled mex .dlls must... | http://www.codeproject.com/Articles/19565/Matlab-7-1-and-Visual-Studio-2005?fid=437721&df=90&mpp=10&sort=Position&spc=None&tid=3257389 | CC-MAIN-2016-30 | refinedweb | 670 | 67.86 |
Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo
You can subscribe to this list here.
Showing
1
results of 1
Hi,
I just finished tracking down a very annoying bug. It turned out that
I had changed one of my objects to use an instancemethod (e.g.
class O:
def __init_... | http://sourceforge.net/p/spyce/mailman/spyce-users/?viewmonth=200512&viewday=28 | CC-MAIN-2015-14 | refinedweb | 157 | 79.7 |
Kate
#include <kateregexpsearch.h>
Detailed Description
Object to help to search for regexp.
This should be NO QObject, it is created to often! I measured that, if you create it 20k times to replace for example " " in a document, that takes seconds on a modern machine!
Definition at line 40 of file kateregexpsearch.h.
... | https://api.kde.org/4.14-api/applications-apidocs/kate/part/html/classKateRegExpSearch.html | CC-MAIN-2020-05 | refinedweb | 261 | 61.22 |
Hi Coli,
Thank you very much for your reply.
I am researching the hadoop2.0 code, I find there are below code in
FSEditLogLoader.loadEditRecords method.
<code>
if (op.hasTransactionId()) {
if (op.getTransactionId() > expectedTxId) {
MetaRecoveryContext.editLogLoaderPrompt("There appears " +
"to be a gap in the edit log... | http://mail-archives.apache.org/mod_mbox/hadoop-user/201211.mbox/%3CCABbGW3ywawZBA4+s=7ss8BPX1kJ_SCbSZVb3ouhZWu0_qt10kg@mail.gmail.com%3E | CC-MAIN-2014-10 | refinedweb | 279 | 61.83 |
awt in java
awt in java using awt in java gui programming how to false the maximization property of a frame
Line Drawing - Swing AWT
Line Drawing How to Draw Line using Java Swings in Graph chart...) {
System.out.println("Line draw example using java Swing");
JFrame frame = new... using java Swing
import javax.swing.*;... | http://www.roseindia.net/tutorialhelp/comment/40885 | CC-MAIN-2015-18 | refinedweb | 1,420 | 61.77 |
I am trying to use TypeScript in an existing NW.js + JS project.
Since I am new to NW.js, I naively assumed it works out of the box after installing the nw.gui typings.
It doesn't (as TypeScript does not recognize the global
nw
import * as nw from 'nw.gui';
Cannot find module 'nw.gui'
Workaround which lets me use the g... | https://codedump.io/share/bnxSaYhaJLBg/1/nwjs--typescript-cannot-find-module-39nwgui39 | CC-MAIN-2018-09 | refinedweb | 101 | 86.5 |
In the previous installment in my quest to make monads a little more approachable, I covered the maybe monad and how it can apply as a general design pattern for dealing with lookups that may or may not succeed. We covered how as a functional design pattern, we can use these monads to easily compose functions together ... | http://codebetter.com/matthewpodwysocki/2009/02/20/much-ado-about-monads-list-edition/ | crawl-003 | refinedweb | 1,559 | 67.79 |
Hello all! I have solved this exercise but I feel like my code is kinda clunky.
I am hoping to get some critics to help me refine it.
I am here to learn and would love to know:
-Is there a more efficient way I could have codded this?
-Is there a totally different way of solving this you may have taken?
-Does what I ha... | https://discuss.codecademy.com/t/7-reverse-id-like-to-refine-this-code/53209 | CC-MAIN-2018-26 | refinedweb | 106 | 84.27 |
The Kubernetes Networking Model
The Kubernetes Networking Model
Kubernetes is used in business operations for a variety of reasons now, and various networking models make it even more useful.
Join the DZone community and get the full member experience.Join For Free
Discover a centralized approach to monitor your virtua... | https://dzone.com/articles/the-kubernetes-networking-model?utm_medium=feed&utm_source=feedpress.me&utm_campaign=Feed%3A+dzone | CC-MAIN-2018-47 | refinedweb | 1,053 | 52.8 |
Forum:What's in your watchlist?
From Uncyclopedia, the content-free encyclopedia
I just reached the 1000-page mark on my watchlist, and for some reason I'm interested in hearing what kinds of pages other users have on their watchlists. So answer the following - it's like one of those annoying email forwards except ther... | http://uncyclopedia.wikia.com/wiki/Forum:What's_in_your_watchlist%3F?t=20070712103402 | CC-MAIN-2014-42 | refinedweb | 2,383 | 65.73 |
Overwrite data in an object by reading from its JSON representation.
This is similar to JsonUtility.FromJsonOverwrite, but it supports any engine object. The fields available are the same as are accessible via the SerializedObject API, or as found in the YAML-serialized form of the object.
Note that using this method w... | https://docs.unity3d.com/ru/2020.2/ScriptReference/EditorJsonUtility.FromJsonOverwrite.html | CC-MAIN-2021-25 | refinedweb | 208 | 55.03 |
Resize a View that is already presented
I am presenting a view as a popover. I want to resize the popover and add a tableview. The problem is not adding a tableview but how to go about resizing a view that is already being presented? Any work around or ideas. I would include code but I really haven’t got any! Hee Hee
@... | https://forum.omz-software.com/topic/6343/resize-a-view-that-is-already-presented/9 | CC-MAIN-2021-49 | refinedweb | 636 | 69.68 |
Hi, Uh, odd: with qemu, the program just fails. Natively, it loops getting SIGFPEs and not making progress. With Xen, I was getting another panic which was because Xen doesn't provide the interrupt, it's now fixed and behaves like native. The mileage probably vary according to the CPU... Could you add a printf in the S... | https://lists.debian.org/debian-hurd/2007/10/msg00051.html | CC-MAIN-2014-15 | refinedweb | 162 | 70.8 |
django-last-seen
Keep trak of when a user has been last seen on a website. The last seen time is kept on the database
The app is ready for django 1.5, it uses the AUTH_USER_MODEL setting to get the user model,
Installation
- Install with pip install django-last-seen" or add "last_seen" directory to your Python path.
- ... | https://bitbucket.org/ferranp/django-last-seen | CC-MAIN-2014-15 | refinedweb | 269 | 58.28 |
Enumerators (iterators)
Posted on March 1st, 2001
In any collection class, you must have a way to put things in and a way to get things out. After all, that’s the primary job of a collection – to hold things. In the Vector, addElement( ) is the way that you insert objects, and elementAt( ) is one way to get things out.... | https://www.codeguru.com/java/tij/tij0089.shtml | CC-MAIN-2019-35 | refinedweb | 972 | 55.13 |
One of the things I find annoying when using
import in my JS code is the fact that you need to refer to other local files using (relative) paths. Like so:
// Without resolve.alias 😭 import Modal from '../../../components/objects/modal/modal';
Having a background in PHP – where you have include paths and autoloaders – ... | https://www.bram.us/2017/10/12/easier-imports-with-webpacks-resolve-alias/ | CC-MAIN-2020-40 | refinedweb | 203 | 65.62 |
[Martin Li has provided today's post]
The task sequence (TS) feature was introduced in Configuration Manger 2007 to enable Operating System deployment scenarios. As a good "side effect", it also provides a convenient mechanism for administrators to perform a series of arbitrary tasks on selected client computers, with ... | https://blogs.technet.microsoft.com/configurationmgr/2011/01/18/task-sequence-editor-too-many-steps-issue-and-solution/ | CC-MAIN-2018-30 | refinedweb | 497 | 53.1 |
Rocky Series Release Notes¶
7.0.4-29¶
New Features¶
This makes getting a root_execution_id available to the jinja execution object. Before this it was only possible to get that through filtering and querying the executions search.
Added HTTPProxyToWSGI middleware in front of the Mistral API. The purpose of this middlew... | https://docs.openstack.org/releasenotes/mistral/rocky.html | CC-MAIN-2019-35 | refinedweb | 1,951 | 54.52 |
I have a domain (Task) and a controller (TaskController) in my Grails 2.3.7 project.
Task.groovy
class Task { String name String description static constraints = { name() description() } String toString() { "${name}" } }
TaskController.groovy
class TaskController { def scaffold = true def index() { } }
After adding a t... | https://tausiq.wordpress.com/category/grails/ | CC-MAIN-2017-39 | refinedweb | 133 | 65.73 |
Create graphs with
gram then share them on ObservableHQ.
Gram makes writing graphs as easy as
(a)-->(b)<--(c). But then what? Well, graphs are eminently visual data structures. Naturally, we should visualize them with d3.js. There's a convenient integration called d3-gram which we'll exercise on ObservableHQ.
Observe a... | https://practicaldev-herokuapp-com.global.ssl.fastly.net/neo4j/observable-graphs-306o | CC-MAIN-2022-40 | refinedweb | 516 | 64.3 |
3D Printing For Everyone 183
mmacx writes "Technology Review has up an article about Shapeways, a new online rapid-prototyping service that allows users to upload digital designs which." We've been talking about 3D printing for years.
My first order (Score:3, Funny)
A life-size statue of CowboyNeal.
My guess? Dildos (S... | https://hardware.slashdot.org/story/08/08/01/1344232/3d-printing-for-everyone?sdsrc=nextbtmprev | CC-MAIN-2017-04 | refinedweb | 5,491 | 72.05 |
fall conference 2012 t h u r s d a y 2 5 a n d f r i d a y 2 6 october
b u siness models i n and for technology transfer
Ly o n , F r a nce
association of european science and technology transfer professionals
introduction
Dear colleagues, ASTP is very pleased that this year our fall conference will be held in Lyon, th... | https://issuu.com/astp/docs/fc_2012_lyon | CC-MAIN-2019-04 | refinedweb | 2,650 | 52.49 |
Wiki
SCons / BugParty / IrcLog2009-04-29
17:10:22 * bdbaddog (n=chatzill@adsl-71-142-86-81.dsl.pltn13.pacbell.net) has joined #scons 17:18:36 * Jason_at_intel (n=chatzill@bementil-116.illinois.prairieinet.net) has joined #scons 17:27:26 <bdbaddog> Hi Jason 17:27:43 * garyo-home (n=chatzill@209-6-158-38.c3-0.smr-ubr1.sb... | https://bitbucket.org/scons/scons/wiki/BugParty/IrcLog2009-04-29?action=fullsearch&value=linkto%3A%22BugParty%2FIrcLog2009-04-29%22&context=180 | CC-MAIN-2015-27 | refinedweb | 3,506 | 80.92 |
It's Containers All the Way Down
It's Containers All the Way Down
In this post, I will attempt to cover the fundamentals of Bare Metal Systems, Virtual Systems, and Container Systems. Read on for the full break down.
Join the DZone community and get the full member experience.Join For Free
In this post, I will attempt ... | https://dzone.com/articles/its-containers-all-the-way-down | CC-MAIN-2019-35 | refinedweb | 456 | 51.18 |
Climb To A Prime
June 13, 2017
The central action of the program is to bring down powers and calculate the next number in the chain; we use
flatten and
uniq-c from the Standard Prelude:
(define (bring-down-powers fs) (string->number (apply string-append (map number->string (filter (lambda (n) (not (= n 1))) (flatten (u... | https://programmingpraxis.com/2017/06/13/climb-to-a-prime/2/ | CC-MAIN-2018-13 | refinedweb | 512 | 74.12 |
User Name:
Published: 02 Oct 2009
By: Dino Esposito
In a previous DotNetSlackers article I explored preconditions. In this article, I'll focus on another aspects of Code Contracts - postconditions. Before going any further, though, let me briefly summarize some of the design choices the team made to expose the Code Con... | http://dotnetslackers.com/articles/net/Code-Contracts-Preview-PostConditions.aspx | crawl-003 | refinedweb | 1,549 | 62.48 |
I'm trying to create a SparkContext in an Intellij 14 Scala Worksheet.
here are my dependencies
name := "LearnSpark"
version := "1.0" scalaVersion := "2.11.7" // for working with Spark API libraryDependencies += "org.apache.spark" %% "spark-core" % "1.4.0"
Here is the code i run in the worksheet
import org.apache.spark... | https://intellij-support.jetbrains.com/hc/en-us/community/posts/205995259-How-to-setup-Intellij-14-Scala-Worksheet-to-run-Spark?page=1 | CC-MAIN-2020-10 | refinedweb | 741 | 65.73 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.