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 |
|---|---|---|---|---|---|
JSORB - Javascript Object Request Broker
use JSORB; use JSORB::Server::Simple; use JSORB::Dispatcher::Path; use JSORB::Reflector::Package; use JSORB::Client::Compiler::Javascript; # create some code to expose over RPC { package Math::Simple; use Moose; sub add { $_[0] + $_[1] } } # Set up a simple JSORB server JSORB::S... | http://search.cpan.org/dist/JSORB/lib/JSORB.pm | CC-MAIN-2016-50 | refinedweb | 439 | 53.24 |
Stuck with Android LWUIT port. Someone help me please.
Hi fellow developers,
I should start by saying that I am new to Android development, but I have already around six months experience developing with LWUIT for JME MIDP 2.0. The application I have been working in is about to be ported into Android and I thought it w... | https://www.java.net/forum/topic/mobile-embedded/lwuit/stuck-android-lwuit-port-someone-help-me-please-0 | CC-MAIN-2015-11 | refinedweb | 1,097 | 57.77 |
Structured Exception Handling (SEH) Buffer Overflow
Easy File Sharing FTP Server 3.5
On a beautiful Sunday evening, I was laying down in my bedroom watching the latest music video from my all time favourite Indonesian band.
The video depicts the band playing field hockey in a parking lot before having a show at that sa... | https://fahrishih.medium.com/structured-exception-handling-seh-buffer-overflow-e809cb7d0e5d?source=post_internal_links---------1------------------------------- | CC-MAIN-2022-05 | refinedweb | 1,223 | 74.08 |
.
Although there are versions of Visual Studio Code available for Linux and Mac OS X, the ComponentOne server-side data access assemblies depend on the full .NET Framework. Therefore, the steps in this tutorial will only work on a Windows machine. Windows 10 is assumed, although earlier versions should also work with t... | https://www.grapecity.com/en/blogs/using-asp-net-core-mvc-web-api-render-ssas-cubes-part-2/ | CC-MAIN-2017-43 | refinedweb | 1,306 | 57.77 |
.x
Version 8.1 Features Not Supported in Version 10.x
Scenarios Not Supported by Upgrade
Many of the changes from the version 8.1 to the version 10.x project model are intended to align the model with broadly used Eclipse and Java conventions. If you've used other Eclipse-based IDEs, version 10.x of Workshop should fee... | http://docs.oracle.com/cd/E15051_01/wlw/docs103/guide/upgrading/conChangesDuringUpgrade.html | CC-MAIN-2014-35 | refinedweb | 2,168 | 51.65 |
On Thu, Apr 05, 2007 at 02:47:21PM +0100, Joel Reymont wrote: > Here's the output from -ddump-splices (thanks Saizan for the tip). > > It's returning a1 instead of a0. > > ghci -fth -e '$( _derive_print_instance makeFunParser '"''"'Foo )' > baz.hs -ddump-splices > baz.hs:1:0: > baz.hs:1:0: Splicing declarations > deriv... | http://www.haskell.org/pipermail/haskell-cafe/2007-April/024158.html | CC-MAIN-2014-23 | refinedweb | 315 | 74.49 |
#include <stdlib.h> #include <iostream> #include <cstring> #include <string> /*) { sql::Driver *driver; sql::Connection *con; sql::Statement *stmt; sql::ResultSet *res; /* Create a connection */ driver = get_driver_instance(); con = driver->connect("tcp://127.0.0.1:3306", "root", "dddd"); con->setSchema("Filter"); stmt... | https://www.daniweb.com/programming/software-development/threads/356765/c-sql-select-statement | CC-MAIN-2019-04 | refinedweb | 154 | 60.95 |
A few weeks back I created an incredibly practical and not silly at all application that went through your device's contact list and "fixed" those contacts that didn't have a proper picture. The "fix" was to simply give them a random cat picture. That seems totally sensible, right?
I was thinking about this during the ... | https://www.raymondcamden.com/2017/01/18/all-my-friends-are-superheroes/ | CC-MAIN-2018-17 | refinedweb | 913 | 55.54 |
Free "1000 Java Tips" eBook is here! It is huge collection of big and small Java
programming articles and tips. Please take your copy here.
Take your copy of free "Java Technology Screensaver"!.
JavaFAQ Home » Java Notes by Fred Swartz
A standard approach to shuffling the elements of an array is to write some
code as d... | http://www.javafaq.nu/java-article719.html | CC-MAIN-2015-14 | refinedweb | 216 | 50.73 |
You're using JSX every days without a clue how React does his magic ? Ever wondered why we do have to wrap our elements in a parent ? (JSX expressions must have one parent element. 🤯🤯🤯)
Well, this article is for you. I'll do my very best to explain it to you, as I understood it. Keep in mind that's nobody is perfect... | https://dev.to/spartakyste/how-does-react-work-under-the-hood-jsx-wise-44pd | CC-MAIN-2020-45 | refinedweb | 1,426 | 67.04 |
One thing that has always pinched me is the long URLs that I used to see in several of my projects. Due to better manageability, I used to have several folders, i.e. folder hierarchy for maintainability of my application. But the thing that I didn't ever like was the full physical path of pages in URLs. There are other... | http://www.codeproject.com/Articles/77199/URL-Routing-with-ASP-NET-4-0?fid=1570365&df=90&mpp=10&sort=Position&spc=None&select=4342171&tid=4423344 | CC-MAIN-2015-35 | refinedweb | 1,104 | 57.47 |
hi, i have make a complete toolchain works using cygwin on win2000, targeting to powerpc, thanks for your kindly help.:-) >Liu Wensheng wrote: >> >> i use a cygwin1.3.5 on win2000 to build a toolchain for powerpc target. >> on host i use : > > My opinion has always been that RedHat has a much better and much more >Unix... | https://sourceware.org/pipermail/crossgcc/2001-December/007578.html | CC-MAIN-2021-21 | refinedweb | 1,176 | 67.86 |
Hi all, this is my first post on the forum and I hope I can get some help with my problem.
I need to make a program to extract the last word from a sentence. I managed to extract the last character, but I have no idea how to get a word.
Any help is appreciated!Any help is appreciated!Code:#include <iostream> #include <... | http://cboard.cprogramming.com/cplusplus-programming/111395-extract-word.html | CC-MAIN-2014-52 | refinedweb | 101 | 76.62 |
Continuing yesterday's theme of marshaling directives, today I'll talk about UnmanagedType.Struct, another poorly-named (and therefore confusing) enumeration value. If you pretend that it's called "UnmanagedType.Variant," it should make more sense.
This marshaling directive is only valid for parameters/fields/return ty... | http://blogs.msdn.com/b/adam_nathan/archive/2003/04/24/56642.aspx?Redirected=true&t=UnmanagedType.Struct%20and%20VARIANT%20marshaling | CC-MAIN-2015-14 | refinedweb | 490 | 51.55 |
Nativescript's Open Source Functional Testing Framework
Nativescript's Open Source Functional Testing Framework
The 2.5 release of NativeScript brought a functional testing framework to the project. Now over 2 years old, it's been rewritten due to changes in iOS/Android.
Join the DZone community and get the full member... | https://dzone.com/articles/nativescripts-open-source-functional-testing-frame?fromrel=true | CC-MAIN-2019-51 | refinedweb | 693 | 58.89 |
--- Begin Message ---
- To: Alan Cox <alan@cymru.net>
- Subject: Re: Future of Linux
- From: BadlandZ <rob@current.nu>
- Date: Wed, 11 Nov 1998 20:42:46 -0600
- Message-id: <364A4B26.58EF8EF5@current.nu>
- References: <199811112002.UAA19629@snowcrash.cymru.net>Alan Cox wrote: > > > What else will the lsb cover? Or has ... | https://lists.debian.org/lsb-discuss/1998/11/msg00006.html | CC-MAIN-2016-44 | refinedweb | 573 | 72.26 |
Zones
A zone is a contiguous portion of the DNS namespace. It contains a series of records stored on a DNS server. Each zone is anchored at a specific domain node. However, zones are not domains. A DNS domain is a branch of the namespace, whereas a zone is a portion of the DNS namespace generally stored in a file, and ... | https://technet.microsoft.com/en-us/library/cc958980.aspx | CC-MAIN-2015-27 | refinedweb | 426 | 59.7 |
In the last article we looked at HTTP messages and saw examples of the text commands and codes that flow from the client to the server and back in an HTTP transaction. But, how does the information in these messages move through the network? When are the network connections opened? When are the connections closed? Thes... | http://code.tutsplus.com/tutorials/http-succinctly-http-connections--net-33707 | CC-MAIN-2014-10 | refinedweb | 2,692 | 53.51 |
Timeline.7.xstable/1.8.x by
- Fixed #21582 -- Corrected URL namespace example. Thanks oubiga for …
- 17:51 Changeset [929cead]stable/1.7.xstable/1.8.x by
- Switched setup.py to setuptools.
- 16:01 Ticket #21685 (admin_doc/model_index.html should use application names) created by
- Currently, the template uses app_label... | https://code.djangoproject.com/timeline?from=2013-12-26T13%3A07%3A09-08%3A00&precision=second | CC-MAIN-2015-11 | refinedweb | 365 | 56.93 |
Discover Functional JavaScript was named one of the best new Functional Programming books by BookAuthority!
Pure functions produce the same output value, given the same input. They have no side-effects, and are easier to read, understand and test.
Given all this, I would like to create a store that hides the state but ... | https://www.freecodecamp.org/news/how-to-create-a-store-using-pure-functions-2c19b678552f/ | CC-MAIN-2021-31 | refinedweb | 328 | 67.86 |
The 1.2 schema managed to sneak into the 2.0.x releases - but nothing is
actually referencing it. Until you get to 2.1.x (trunk) all of the
programs still refer to 1.1.
So, we should probably figure out whether or not we need to jump up to
1.3 or if we can stay on 1.2.
And, this would make a good opportunity to find ou... | http://mail-archives.apache.org/mod_mbox/geronimo-dev/200711.mbox/%3C47431BDF.6080306@jnwd.net%3E | CC-MAIN-2015-18 | refinedweb | 262 | 51.24 |
package require html namespace eval scgi { proc listen {port} { socket -server [namespace code connect] $port } proc connect {sock ip port} { fconfigure $sock -blocking 0 -translation {binary crlf} fileevent $sock readable [namespace code [list read_length $sock {}]] } proc read_length {sock data} { append data [read $... | http://wiki.tcl.tk/19670 | CC-MAIN-2016-18 | refinedweb | 680 | 63.63 |
Hi.. Here is a program about determining the total number of green-necked vulture eggs counted by all conservationists in the conservation district.
The program in fact works correctly but there is a line which i am not being able to understand its use in the program and it is the line "cin >> next".
Hope to get some e... | https://www.daniweb.com/programming/software-development/threads/316510/what-is-the-meaning-of-the-function-cin-next | CC-MAIN-2017-30 | refinedweb | 279 | 53.71 |
import simplejson as json
# Returns empty file -> no results (wrong):
get_open = os.popen( binary_path + ' -q "' + __resource__ + '/top250.php"', "r" )
# Returns content that was requested (right):
get_open = os.popen( binary_path + ' -q ' + __resource__ + '/top250.php', "r" )
krish_2k4 Wrote:this seems to have stopped... | http://forum.xbmc.org/printthread.php?tid=107331&page=11 | CC-MAIN-2013-20 | refinedweb | 269 | 75.4 |
RodneyShag + 22 comments
Java solution - more efficient than Editorial solution
import java.util.Scanner; public class Solution { public static void main(String [] args) { Scanner scan = new Scanner(System.in); int L = scan.nextInt(); int R = scan.nextInt(); scan.close(); int xored = L ^ R; int significantBit = 31 - In... | https://www.hackerrank.com/challenges/maximizing-xor/forum | CC-MAIN-2019-43 | refinedweb | 2,307 | 71.34 |
Links to original questionsTotal time limit: 1000ms memory limit: 65536kB description
You buy a box of n apples, and it's unfortunate to buy a bug in the box. A bug can eat an apple every x hour, assuming that the bug won't eat before you eat an apple, then you've a number of full apples.
Sample outputSample output
10 ... | https://www.dowemo.com/article/47363/15:-apple-and-bugs | CC-MAIN-2018-30 | refinedweb | 115 | 67.08 |
HTML and CSS Reference
In-Depth Information
Getting SVG on Your Page
SVG is an XML-based markup language that provides support for a number of vector primitives, including text,
rectangles, circles, ellipses, and arbitrary paths. These primitives can use different strokes and fills, including
pattern and gradient fills... | http://what-when-how.com/Tutorial/topic-497t64c3d5/HTML5-Mobile-Game-Development-267.html | CC-MAIN-2017-47 | refinedweb | 501 | 57.1 |
Interprets communication between the client and the IRC server. More...
#include <ircnetworkadapter.h>
Interprets communication between the client and the IRC server.
Definition at line 27 of file ircnetworkadapter.h.
Gets adapter type for this adapter instance.
Implements IRCAdapterBase.
Definition at line 37 of file ... | http://doomseeker.drdteam.org/docs/doomseeker_1.0/classIRCNetworkAdapter.php | CC-MAIN-2019-43 | refinedweb | 502 | 60.61 |
Does anyone know if anything been added to the API that allows a plugin to grab the current path triggered from a sidebar folder right click context menu entry?
I'd like to be able to right click a folder and "Open Command Window Here" type thing.
Windows only
Make a new folder in your plugin directory, create a new fi... | https://forum.sublimetext.com/t/open-command-window-here/2643/7 | CC-MAIN-2016-44 | refinedweb | 494 | 66.33 |
font_awesome_flutter 10.1.0
font_awesome_flutter: ^10.1.0 copied to clipboard
font_awesome_flutter #
The Font Awesome Icon pack available as set of Flutter Icons.
Based on Font Awesome 6.1.0. Includes all free icons:
- Regular
- Solid
- Brands
Installation #
In the
dependencies: section of your
pubspec.yaml, add the fo... | https://pub.flutter-io.cn/packages/font_awesome_flutter | CC-MAIN-2022-33 | refinedweb | 1,095 | 58.28 |
KMG Textures
Contents
About KMG files
There are many image file formats out there.
First of all the image data may be encoded in various ways. For example the pixel format could be RGB565 or ARGB4444. Furthermore the image data may be paletted, twiddled or compressed.
The image may also come with mipmaps (smaller versi... | https://dcemulation.org/index.php?title=KMG_Textures&%3Bdiff=prev&%3Boldid=3673 | CC-MAIN-2019-26 | refinedweb | 1,104 | 67.35 |
- Author:
- gsf0
- Posted:
- August 14, 2009
- Language:
- Python
- Version:
- 1.1
- regex match nav
- Score:
- -1 (after 1 ratings)
A filter that re.matches a regex against a value. Useful for nav bars as follows:
{% if location.path|match:"/$" %} class="current"{% endif %}
For
location.path see my location context_pr... | https://djangosnippets.org/snippets/1686/ | CC-MAIN-2016-36 | refinedweb | 108 | 56.66 |
SOLVED - Browser does not work on android
- Alexorleon last edited by Alexorleon
Hello!
Please help. The following examples do not work on android:
Android armeabi-v7a (GCC 4.9, Qt 5.4.1) on linux OpenSUSE, produces errors:
Project ERROR: Unknown module(s) in QT: webengine
Project ERROR: Unknown module(s) in QT: webeng... | https://forum.qt.io/topic/54600/solved-browser-does-not-work-on-android | CC-MAIN-2019-43 | refinedweb | 161 | 71.61 |
Hi y’all,
I’m hoping I placed this post in the correct place. For my first arduino project I’m driving a NEMA17 stepper motor with the TMC2100 “silent stepper” driver. I’m using a 12v 2250 milliampere adapter to power the driver and put a 47 microfarad capacitor between the + and - alas I just noticed it is 10V. The Ar... | https://forum.arduino.cc/t/flashing-micro-board-power-light/622845/12 | CC-MAIN-2021-43 | refinedweb | 613 | 58.42 |
ncl_reset man page
RESET — The "super" version of RESET zeroes the internal integer array used to detect crowded lines; other versions do nothing.
Synopsis
CALL RESET
C-Binding Synopsis
#include <ncarg/ncargC.h>
void c_reset()
Usage
The "super" version of the Dashline utility attempts to cull crowded lines from the out... | https://www.mankier.com/3/ncl_reset | CC-MAIN-2017-39 | refinedweb | 427 | 54.76 |
Pip install from a notebook¶
Links:
notebook, html,
python, slides, GitHub
How to install a module from a notebook.
from jyquickhelper import add_notebook_menu add_notebook_menu()
Update or install a module from the notebook¶
Running
pip install from the command line requires to be in the
right folder. And sometimes, s... | http://www.xavierdupre.fr/app/ensae_projects/helpsphinx/notebooks/chsh_pip_install.html | CC-MAIN-2021-10 | refinedweb | 154 | 51.75 |
Today’s websites are evolving into web apps:
As a result there is a lot of code on the client side!
A big code base needs to be organized. Module systems offer the option to split your code base into modules.
There are multiple standards for how to define dependencies and export values:
<script>-tag style (without a mo... | http://docs.w3cub.com/webpack~1/motivation/ | CC-MAIN-2018-43 | refinedweb | 535 | 59.5 |
The Structure of OCaml Programs
Now we're going to take some time out to take a high-level look at some
real OCaml programs. I want to teach you about local and global
definitions, when to use
;; vs.
;, modules, nested functions, and
references. For this we're going to look at a lot of OCaml concepts
which won't yet ma... | https://ocaml.org/learn/tutorials/structure_of_ocaml_programs.html | CC-MAIN-2017-30 | refinedweb | 3,143 | 64.61 |
This is an excerpt from the Scala Cookbook (partially modified for the internet). This is Recipe 4.6, “How to override default accessors and mutators in Scala classes.”
Problem
You want to override the getter or setter methods that Scala generates for you.
Solution
This is a bit of a trick problem, because you can’t ov... | https://alvinalexander.com/scala/how-to-override-default-accessors-mutators-scala-classes | CC-MAIN-2017-39 | refinedweb | 1,037 | 60.35 |
mode, it is configure in the configuration file.
Whats the problem?
We came to the question that suppose we have provided a WP7 application to one of our client. And that application consumes some WCF service. Suppose the service endpoint address is changed, now how can the client configure the endpoint address on his... | https://ovaismehboob.com/2011/06/07/consuming-wcf-service-in-wp7/?replytocom=3112 | CC-MAIN-2020-05 | refinedweb | 7,155 | 67.35 |
Adding SVGs to PDFs With Python and ReportLab
Adding SVGs to PDFs With Python and ReportLab
Adding graphics into PDFs programmatically has never been easier! Read on to check out how to do it using Python in this post!
Join the DZone community and get the full member experience.Join For Free.
You can use svglib to read... | https://dzone.com/articles/adding-svgs-to-pdfs-with-python-and-reportlab | CC-MAIN-2019-22 | refinedweb | 1,660 | 67.76 |
Matthew Dillon wrote: > commit 48e7b118aed5eb70d42bdbf2ca5a938ef1f371b6 > Author: Matthew Dillon <dillon@apollo.backplane.com> > Date: Sat Dec 5 11:45:34 2009 -0800 > > network - Move socket from netmsg ext to netmsg header, add port to socket + + /* + * Do implied connect if not yet connected. Any data sent + * with t... | https://www.dragonflybsd.org/mailarchive/commits/2009-12/msg00058.html | CC-MAIN-2018-13 | refinedweb | 180 | 58.82 |
05 March 2010 23:59 [Source: ICIS news]
LONDON (ICIS news)--The first-quarter European polymethyl methacrylate (PMMA) contract price has rolled over from the fourth quarter of 2009, as suppliers favoured volume over price, market sources said on Friday.
A major producer said that compared with fourth-quarter prices, it... | http://www.icis.com/Articles/2010/03/05/9340183/europe-first-quarter-pmma-rolls-over-at-2.60-2.75kg.html | CC-MAIN-2014-52 | refinedweb | 383 | 59.74 |
AccessModifier
13 May 2003.
C++ Choice
Probably the most influential set of access modifiers started with C++, which has three.
- public: Any class can access the features
- protected: Any subclass can access the feature
- private: No other class can access the feature
A class can also give access to another class or m... | https://martinfowler.com/bliki/AccessModifier.html | CC-MAIN-2021-04 | refinedweb | 619 | 57.91 |
/* History.h -- the names of functions that you can call in history. */ /* Copyright (C) 1989, 1992 Free Software Foundation, Inc. This file contains the GNU History Library (the Library), a set of routines for managing the text of previously typed lines.ndef _HISTORY_H_ #define _HISTORY_H_ #ifdef __cplusplus extern "C... | http://opensource.apple.com/source/gdb/gdb-1344/src/readline/history.h | CC-MAIN-2014-52 | refinedweb | 1,218 | 50.23 |
I’ve been considering a redesign for my art league’s website for a long time and finally got started. The goals include 1) making it more colorful, 2) adding some visually interesting hover effects to the items in the Quick Links sidebar, 3) finding a better way to spotlight our “artist of the Month”, and 4) laying the... | http://css-tricks.com/forums/topic/possible-redesign-critique-wanted/ | CC-MAIN-2013-48 | refinedweb | 722 | 80.21 |
Frequently Asked Questions
General
Can CXF run with JDK 1.8/Java 8?
Yes. CXF supports Java 8. The latest 3.x version is built using JDK 1.8.
Can CXF run with JDK 1.7/Java 7?
Yes. CXF supports Java 7. Since Java 7 contains the 2.2.x versions of both JAXB and JAX-WS API jars, using CXF with Java 7 is much easier than wit... | https://cwiki.apache.org/confluence/display/CXF/FAQ | CC-MAIN-2017-34 | refinedweb | 1,725 | 66.54 |
Webpack is the best module bundler I've ever used. Just this week I used it to reduce the JS footprint of an app from 906KB to 87KB for mobile visitors. An 800KB difference!
Webpack's core premise is that you can
require('./foo') your JavaScripts. That sea of
<script> tags or concatenated code and variables injected in... | https://swizec.com/blog/webpack-lazy-loading-on-rails-with-cdn-support/ | CC-MAIN-2022-27 | refinedweb | 1,006 | 68.16 |
Pokémon (ポケモン Pokemon , English pronunciation: /ˈpoʊkeɪmɒn/[1]; often simplified as "Pokemon"[2]) is a media franchise published.[3] Pokémon properties have since been merchandised into anime, manga, trading cards, toys, books, and other media. The franchise celebrated its tenth anniversary on February 27, 2005, and as... | http://www.answers.com/topic/pok-mon | crawl-002 | refinedweb | 1,621 | 54.32 |
Microsoft Starts Legal Fight Over Lindows Name 670
actappan writes: "Whether or not Lindows is real, this article on CNET News.com indicates that Microsoft intends to sue them into oblivion. Looks like supression remains the best way to promote innovation." cyberlawyer adds: "Some of you may remember that MS originally... | http://slashdot.org/story/01/12/20/237217/microsoft-starts-legal-fight-over-lindows-name?sbsrc=thisday | CC-MAIN-2013-48 | refinedweb | 3,846 | 74.19 |
What is Java?
Java is a programming language and a computing platform developed by Sun Microsystems (present-day Oracle) in 1995 which was spearheaded by James Gosling. Java is a ‘high-level class-based object-oriented programming language’ that is used in a distributed environment. Java is easily readable and understa... | https://www.fita.in/java-tutorial/ | CC-MAIN-2021-21 | refinedweb | 16,790 | 51.99 |
Basics
This tutorial shows you how to create, compile, and run a Native Client web application. The Native Client module you will create as part of the web app will be written in C++.
A Native Client web app consists of at least three entities:
- The HTML web page (*.html). The page can also contain JavaScript code and... | https://developers.google.com/native-client/pepper16/devguide/tutorial | CC-MAIN-2014-15 | refinedweb | 1,899 | 64.41 |
In this post, I am going to show why I think the internal keyword, when put on class members, is a code smell and suggest better alternatives.
What is the internal keyword?
In C# the internal keyword can be used on a class or its members. It is one of the C# access modifiers. Internal types or members are accessible on... | https://www.freecodecamp.org/news/is-the-c-internal-keyword-a-code-smell/ | CC-MAIN-2020-45 | refinedweb | 1,079 | 63.09 |
Launched in February 2004, Facebook is the world's largest social network, with more than 900 million users using the site to share content with their connected friends. Facebook Platform, launched in May 2007, enables third parties to write applications that integrate with Facebook. The platform initially supported a ... | http://www.ibm.com/developerworks/library/j-fb-gae/index.html | CC-MAIN-2015-06 | refinedweb | 2,546 | 54.93 |
Using Arrows for Dependency Handling
What is this about
Arrows are, like Monads or Monoids, a mathematical concept that can be used in the Haskell programming language. This post analyzes and explains a certain use case for Arrows, namely dependency tracking. But let’s begin with a quite unrelated quote from Jimi Hendr... | https://jaspervdj.be/posts/2010-03-26-arrows-dependencies.html | CC-MAIN-2016-30 | refinedweb | 904 | 56.05 |
Hello,Following is a simple example that works when the dl library isn't involvedat link time, but fails when it is.Here are relevant versions:Linux pile.franz.com 2.0.34 #1 Fri May 8 16:05:57 EDT 1998 i586 unknown/lib/libc-2.0.7.so/lib/libc.so.6/lib/ld.so.1.9.5Here's how to reproduce the problem:1. Make a file called ... | http://lkml.org/lkml/1998/9/24/4 | CC-MAIN-2017-13 | refinedweb | 282 | 69.48 |
Almost there - if you save 2 receipts on the same day they will overwrite.
In the "first" Rename Finder Items put the date *before* the filename.
Add a second Rename Finder and put the "Seconds from 12M" *after* the filename.
Now you will have DATE-title-SECONDS so you can save many receipts without overwriting, even i... | http://hints.macworld.com/article.php?story=2007020700285547 | CC-MAIN-2015-48 | refinedweb | 1,037 | 73.37 |
Pattern SynonymsPattern Synonyms
Most language entities in Haskell can be named so that they can be abbreviated instead of written out in full. This proposal provides the same power for patterns. See the implementation page for implementation details.
Tickets should include
PatternSynonyms in their Keywords to appear i... | https://gitlab.haskell.org/ghc/ghc/wikis/pattern-synonyms?version=46 | CC-MAIN-2019-13 | refinedweb | 599 | 51.99 |
by Peter Daukintis
The cinema screen used for the presentations at the Fulham Vue Cinema.
This was the client-based tech day:
Windows 7
The Windows 7 Code Pack provides a managed wrapper around the COM-based interfaces provided for many of the Windows 7 differentiating client application features. These include jump li... | https://peted.azurewebsites.net/microsoft-uk-tech-days-day-4/ | CC-MAIN-2018-13 | refinedweb | 382 | 56.25 |
When an application has an unhandled exception or a system routine calls abort (e.g. strcpy_s with a buffer size too small) the system is left to deal with the mess. Usually part of the process is displaying a crash dialog to the user notifying them that the application has unexpectedly terminated, creating a crash dum... | http://www.zachburlingame.com/2011/04/silently-terminate-on-abortunhandled-exception-in-windows/ | CC-MAIN-2017-17 | refinedweb | 449 | 53.31 |
I am a Python newb and I am working on a project to automate a very time consuming project. I am using openpyxl to access a .xlsx to extract information that will eventually be converted into distance and direction bearings to be used with arcpy/arcgis, meaning I am using Python 2.7. I can access the data and make the ... | https://codedump.io/share/oAjKY9ELnCjg/1/using-python-and-openpyxl-to-loop-through-a-xlsx-but-loop-only-save-the-last-row39s-data | CC-MAIN-2017-17 | refinedweb | 357 | 70.84 |
HTML Tidy was initially developed as a tool to clean up HTML, but it is an XML tool, too. This hack shows you how to use HTML Tidy to make your HTML into XHTML.
HTML Tidy was initially developed at the W3C by Dave Raggett (). Essentially, it's an open source HTML parser with the stated purpose of cleaning up and pretty... | https://etutorials.org/XML/xml+hacks/Chapter+2.+Creating+XML+Documents/Hack+22+Convert+an+HTML+Document+to+XHTML+with+HTML+Tidy/ | CC-MAIN-2021-31 | refinedweb | 331 | 74.59 |
A Simple Example: Google Guice Inversion of Control (IoC)
By Jason Tee and Cameron McKenzie
TheServerSide.com
A Pretty Darned Simple IoC Example with Google Guice
Watch this Google Guice Tutorial as a Video CBT
Tutorial 1: Getting Started with Google Guice: Environment Setup and
Configuration
Tutorial 2 (This One): The... | http://www.theserverside.com/tutorial/A-Simple-Example-Google-Guice-Inversion-of-Control-IoC | CC-MAIN-2016-22 | refinedweb | 546 | 60.35 |
I.
Enter round three,
wherein the author fumbled around for other windows the
monitor blank timeout message could be posted to,
and eventually
the author found that
posting the message to the mysterious window.)
If you look more carefully at what the author stumbled
across, you'll see that the "solution" is actually an... | https://blogs.msdn.microsoft.com/oldnewthing/20060613-05/?p=30893 | CC-MAIN-2018-26 | refinedweb | 6,902 | 61.87 |
The msvcr71.dll is needed to run python 2.4 programs.
This dll is not part of older windows releases
(Windows98). Py2exe copies the file python24.dll to the
dist folder, it should also copy msvcr71.dll to the
dist folder.
Nobody/Anonymous
2005-01-12
Logged In: NO
Indeed - as a MS knowledgebase article (;en-us;326922) n... | http://sourceforge.net/p/py2exe/bugs/66/ | CC-MAIN-2014-15 | refinedweb | 305 | 63.39 |
In my task list for spe, a large item has been how to tie it into the current code base - you might have seen me reference it as translating data path to guid. To do that, I've had to understand what the current code is doing and the limitations in that code. I've also had to question exactly what it is we want done.
T... | http://blogs.sun.com/tdh/entry/understanding_layout_creation_to_understand | crawl-002 | refinedweb | 1,602 | 62.58 |
Fun with encryption and randomness
One way to look at how good encryption is to check how much the encrypted data lacks patterns (looks like random noise). An interesting way to check for patterns in a file is to convert it to a picture and look at it. I got the idea for this from spectra. The tool for converting data ... | http://rsmith.home.xs4all.nl/howto/fun-with-encryption-and-randomness.html | CC-MAIN-2017-17 | refinedweb | 1,148 | 65.93 |
How on the screen, and there are two ways to do so: puts() and printf().
puts()
Puts probably stands for put string, where a string is a bit of text you put to the screen. Regardless, here's how it works:
puts("Greetings, human!");
The text to display — the string — is enclosed in the function's parentheses. Furthermor... | http://www.dummies.com/how-to/content/how-to-display-text-onscreen-in-c-with-puts-and-pr.navId-323181.html | CC-MAIN-2015-27 | refinedweb | 383 | 76.01 |
Declaring Member Variables
Member variables in a class are also called
fields or
instance variables. The member variables are used to keep the state of the created object. Member variable are declared in the same way as normal variables, the same rules and conventions apply.
Field declaration are composed of three comp... | https://java-book.peruzal.com/class/declaring_member_variables.html | CC-MAIN-2018-22 | refinedweb | 327 | 50.97 |
Directory Node structure. More...
#include <fiff_dir_node.h>
Directory Node structure.
Replaces _fiffDirNode struct fiffDirNodeRec,*fiffDirNode
Definition at line 75 of file fiff_dir_node.h.
Const shared pointer type for FiffDirNode.
Definition at line 78 of file fiff_dir_node.h.
Shared pointer type for FiffDirNode.
De... | https://mne-cpp.github.io/doxygen-api/a02451.html | CC-MAIN-2022-27 | refinedweb | 385 | 55.2 |
Python library to transform objects into positional flat string lines
Project description
pyflat
The pyflat package aims to provide easy serialization of Python objects into positional fixed-width strings. These kind of structures are useful when integrating with old system which depends on positional flat files.
Quick... | https://pypi.org/project/pyflat/ | CC-MAIN-2021-10 | refinedweb | 120 | 61.87 |
Just another simple developer's thoughts!
Assume for a moment that you need to monitor a specific folder and its subfolders for incoming files such as a FTP transfer and you wanted to accomplish such a task without an type of action from the system administrator. To accomplish this I will employ the FileSystemWatcher C... | http://aspadvice.com/blogs/sswafford/archive/2006/10/14/Monitor-a-specified-file-location-for-changes.aspx | crawl-002 | refinedweb | 835 | 58.28 |
mbrlen - get number of bytes in a character (restartable)
Synopsis
Description
Return Value
Errors
Examples
Application Usage
Rationale
Future Directions
See Also
#include <wchar.h>
size_t mbrlen(const char *restrict s, size_t n,
mbstate_t *restrict ps);
If s is not a null pointer, mbrlen() shall determine the number o... | http://www.squarebox.co.uk/cgi-squarebox/manServer/usr/share/man/man3p/mbrlen.3p | crawl-003 | refinedweb | 125 | 51.18 |
Archived - Game Development with Unity* and Intel® RealSense™ Camera
By Biswanger, Gregor, published on May 28, 2015
The Intel® RealSense™ SDK has been discontinued. No ongoing support or updates will be available.
Interactive games all have some functionality that game developers must implement: game objects should ad... | https://software.intel.com/en-us/articles/game-development-with-unity-and-intel-realsense-3d-camera | CC-MAIN-2019-43 | refinedweb | 3,485 | 57.87 |
.net programmatically in - Create Excel (.XLS and .XLSX) file from C#
How can I create an Excel Spreadsheet with C# without requiring Excel to be installed on the machine that's running the code?
And what about using Open XML SDK 2.0 for Microsoft Office?
A few benefits:
- Doesn't require Office installed
- Made by Mic... | http://code.i-harness.com/en/q/24ddd | CC-MAIN-2019-09 | refinedweb | 721 | 58.08 |
MCP23008-RK (community library)
Summary
Particle driver for 8-port I2C GPIO Expander MCP23008
Example Build Testing
Device OS Version:
This table is generated from an automated build. Success only indicates that the code compiled successfully.
Library Read Me
This content is provided by the library maintainer and has n... | https://docs.particle.io/cards/libraries/m/MCP23008-RK/ | CC-MAIN-2021-21 | refinedweb | 732 | 65.73 |
My ten year old has learnt quite a lot of java and wants a few BEGINNER projects. Any ideas?
Okay...
Get your (son/daughter?) to write a control component.
It should have the following buttons; Stop, Rewind (or Previous), Play/Pause, Fast Forward (or Next), Record.
It should have a display panel above the buttons to di... | http://www.daniweb.com/community-center/threads/412452/any-projects-for-the-java-beginner | CC-MAIN-2013-48 | refinedweb | 867 | 67.35 |
Support »
Pololu Jrk USB Motor Controller User’s Guide
View document on multiple pages.
You can also view this document as a printable PDF.
- 1. Overview
-
- 2. Contacting Pololu
- 3. Configuring the Motor Controller
-
- 4. Using the Serial Interface
-
- 5. Setting Up Your System
- 6. Writing PC Software to Control the... | https://www.pololu.com/docs/0J38/all | CC-MAIN-2018-26 | refinedweb | 6,760 | 60.65 |
Conventions for writing code in the notebook.
Project description
pidgin is a collection of IPython magics for creating computable essays.
if __name__ == '__main__': %load_ext pidgin
Markdown Mode
%pidgin markdown
--- With `pidgin.markdown`, code cells accept markdown. Any indented code blocks are executed. foo = 42 pr... | https://pypi.org/project/pidgin/ | CC-MAIN-2019-47 | refinedweb | 416 | 56.76 |
table of contents
<command>...
-e, --event= - 'name' : User defined event name. Single quotes (') may be used to
escape symbols in the name from parsing by shell and tool
like this: name=\'CPU_CLK_UNHALTED.THREAD:cmask=0x1\'..
When processing a '.c' file, perf searches an installed LLVM to compile it into an object fil... | https://manpages.debian.org/experimental/linux-perf-5.3/perf_5.3-record.1.en.html | CC-MAIN-2022-21 | refinedweb | 568 | 56.45 |
Jake Mauve wrote:Hello all ! I have a small problem with the repaint() method.
I have a graphical component consisting of about 6 filled rectangles and 3 filled ovals, each with a random color. Which is why I'd like to have it 'repaint itself' every X units of time.
I tried by entering
long time=7000;
repaint(time);
af... | http://www.coderanch.com/t/559868/GUI/java/graphics | CC-MAIN-2014-15 | refinedweb | 360 | 68.5 |
Where?"
Rollin' with your homies
pdr answers (13 votes): I think you'd be surprised how often operator overloads are implemented in some form. But they're not commonly used in a lot of communities. Why use
~ to concatenate to an array? Why not use
<< like Ruby does? Because the programmers you work with are probably no... | http://arstechnica.com/information-technology/2013/05/why-arent-user-defined-operators-more-common/ | CC-MAIN-2014-41 | refinedweb | 795 | 55.03 |
I am using the Sublime text 3 dev version now. Its awesome!
The question I have is that how can i know that which of my packages is running while I am editing? Obviously I dont want my python plug-in running in the background while i am coding in php or html.
If this question is dumb, sorry about that.
But I still want... | https://forum.sublimetext.com/t/how-to-know-which-package-is-running-in-my-sublime-text-3/30324 | CC-MAIN-2018-22 | refinedweb | 425 | 76.72 |
Implicits
The Implicit Modifier.
Example Monoid } }
Implicit Parameters
An implicit parameter list
(implicit $p_1$,$\ldots$,$p_n$) of a method marks the parameters $p_1 , \ldots , p_n$ as
implicit. A method or constructor can have only one implicit parameter
list, and it must be the last parameter list given. of type $... | https://www.scala-lang.org/files/archive/spec/2.12/07-implicits.html | CC-MAIN-2020-16 | refinedweb | 1,536 | 53.31 |
servlets
servlets hi i am using servlets i have a problem in doing an application.
in my application i have html form, in which i have to insert on date value, this date value is retrieved as a request parameter in my servlet
there is are requirement of sending data appended to a query string in the URL... on the amoun... | http://www.roseindia.net/tutorialhelp/comment/99712 | CC-MAIN-2014-42 | refinedweb | 1,287 | 64.2 |
Introducing the Task Parallel Library Techniques for distributing tasks across multiple computers have been around for decades. Unfortunately those techniques have mostly been cumbersome, requiring lots of skill and patience to code correctly. They also had a fair amount of overhead, so a net performance gain occurred ... | http://www.devx.com/dotnet/Article/39204/0/page/2 | CC-MAIN-2015-48 | refinedweb | 1,188 | 65.12 |
2020/12/16
DataFrame API Preview now Available!Brian Hulette [@BrianHulette]
&
Robert Bradshaw
We’re excited to announce that a preview of the Beam Python SDK’s new DataFrame
API is now available in Beam
2.26.0. Much like
SqlTransform
(Java,
Python),
the DataFrame API gives Beam users a way to express complex
relationa... | https://beam.apache.org/blog/dataframe-api-preview-available/ | CC-MAIN-2021-31 | refinedweb | 1,021 | 56.15 |
How to Test Everything
[This post also appears on Dustin's github blog].
I recently had a Membase user point out a sequence of operations that led to an undesirable state. I’ve got a lot of really good engine tests I’ve written, but not this case:
The bug is pretty straightforward – expiry is lazy and it turns out I’m ... | https://blog.couchbase.com/how-test-everything | CC-MAIN-2014-10 | refinedweb | 741 | 57.3 |
Hey everyone, I'm pretty new with Java and am preparing for a class I'm taking later this summer. I've been doing a lot of self study and have been attempting to get as far as I can in some Java books by myself. Right now I'm working on a carpet calculator problem and I'm a bit stuck. I'm attempting to create a RoomDim... | http://www.javaprogrammingforums.com/object-oriented-programming/16264-trouble-using-aggregate-classes.html | CC-MAIN-2015-32 | refinedweb | 226 | 53.44 |
#include <stdio.h>
#include <windows.h>
#include "portpriv.h"
#include "hyportpg.h"
Determine if DLPAR (i.e.
the ability to change number of CPUs and amount of memory dynamically) is enabled on this platform.
Determine the maximum number of CPUs on this platform.
Determine the character used to separate entries on the ... | http://harmony.apache.org/externals/vm_doc/html/hysysinfo_8c.html | CC-MAIN-2013-48 | refinedweb | 301 | 52.76 |
Sublime Text is simple but powerful source code editor with a Python application programming interface. It natively supports many programming languages and markup languages, and its functionality can be extended by users with plugins, themes and packages, typically community-built and maintained under free-software lic... | https://riptutorial.com/sublimetext | CC-MAIN-2019-22 | refinedweb | 529 | 53.71 |
FileInfo.OpenWrite Method ()
Creates a write-only FileStream.
Assembly: mscorlib (in mscorlib.dll)
Return ValueType: System.IO.FileStream
A write-only unshared FileStream object for a new or existing file.
The OpenWrite method opens a file if one already exists for the file path, or creates a new file if one does not e... | https://msdn.microsoft.com/en-us/library/system.io.fileinfo.openwrite.aspx | CC-MAIN-2017-09 | refinedweb | 283 | 71.61 |
I’m stretching the limits of what these software platforms were designed to to, but I’m impressed such a haphazard hacked-together code as this produces fast, functional results. The code below is the simplest case code I could create which would graph the audio spectrum of the microphone input (or a WAV file or other ... | http://www.swharden.com/blog/2010-03-05-realtime-fft-graph-of-audio-wav-file-or-microphone-input-with-python-scipy-and-wckgraph/ | CC-MAIN-2014-41 | refinedweb | 1,101 | 61.97 |
x:Name Directive
Uniquely identifies XAML-defined elements in a XAML namescope. XAML namescopes and their uniqueness models can be applied to the instantiated objects, when frameworks provide APIs or implement behaviors that access the XAML-created object graph at run time.
XAML Attribute Usage
<object x:Name="XAMLName... | https://docs.microsoft.com/en-us/dotnet/framework/xaml-services/x-name-directive | CC-MAIN-2018-05 | refinedweb | 1,176 | 50.16 |
Track
----
New Paradigms? Object-Oriented Code? No problem: let's do Drupal 8!
Object Oriented Programming (Course 1)Login or register to track your progress!
OOP (Course 2): Services, Dependency Injection and ContainersLogin or register to track your progress!
OOP (course 3): Inheritance, Abstract Classes, Interfaces ... | https://symfonycasts.com/tracks/drupal | CC-MAIN-2022-33 | refinedweb | 294 | 65.42 |
Okay,!
Do nothing
Make no accomodation for this particular buggy protocol implementation. People who are running that particular implementation will get incomplete directory listings. Publish a Knowledge Base article describing the problem and directing customers to contact the vendor for an updated driver.
Advantages:... | https://blogs.msdn.microsoft.com/oldnewthing/20060330-31/?p=31723 | CC-MAIN-2018-05 | refinedweb | 28,391 | 69.62 |
Discover Lightning Web Components
Learning Objectives
After completing this unit, you’ll be able to:
- Explain the Lightning Web Components programming model.
- List the benefits of using Lightning web components.
- Find what you need to get started developing Lightning web components.
An Open Door to Programming with ... | https://trailhead.salesforce.com/en/content/learn/modules/lightning-web-components-basics/discover-lightning-web-components | CC-MAIN-2021-21 | refinedweb | 1,240 | 58.08 |
Hello,
I am using the elektron platform's category=data/symbology, endpoint=convert and I am also using python3's urllib for making GET/POST request.
I can use the following GET method for converting symbols (which means my headers, auth, etc are all good):
However when I tried to use the POST method and construct the ... | https://community.developers.refinitiv.com/questions/40544/urlencode-list-universe-in-datasymbologyconvert.html | CC-MAIN-2019-51 | refinedweb | 591 | 52.15 |
Sounds like a well-thought-out plan to me.
If we're going through and changing Guava, it may also be worthwhile to
try to eliminate the use of Guava in our "public API". While the shaded
guava eliminates classpath compatibility issues, Guava could (at any
point) drop a class that we're using in our API and still break ... | http://mail-archives.apache.org/mod_mbox/phoenix-dev/202006.mbox/%3C6191ba33-bda3-aa19-ab86-055270369346@apache.org%3E | CC-MAIN-2021-31 | refinedweb | 735 | 62.98 |
Hi,
I am a very new programmer ( 1 month and counting). I am presented with a problem from a tutorial I recieved online and I have no idea how to even start with it. My only assumption is to use array's, but I am not sure how the function protypes are to work and what not. Also, its just plain complicated! (to me at le... | http://cboard.cprogramming.com/cplusplus-programming/13802-dire-need-help-lots-printable-thread.html | CC-MAIN-2015-14 | refinedweb | 461 | 72.97 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.