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 |
|---|---|---|---|---|---|
- ac: a profile in courage
Thu, 2011-04-28, 02:07
The subject is a reference to my wondering whether scalac had the
courage of its convictions with respect to the specification, as given here:
> A special rule concerns parameterless methods. If a paramterless
> method defined as def f: T = ...ordef f =
> ...overrides a... | http://www.scala-lang.org/old/node/9331 | CC-MAIN-2016-07 | refinedweb | 196 | 69.72 |
In today’s Programming Praxis exercise, our goal is to write three fucntions: FizzBuzz, a function to determine if a base 36 number is prime and one to split a list down the middle while going through the list only once. Let’s get started, shall we?
Some imports:
import Data.Foldable (toList) import Data.Numbers.Primes... | https://bonsaicode.wordpress.com/2011/04/26/programming-praxis-miscellanea/ | CC-MAIN-2017-30 | refinedweb | 366 | 81.12 |
Important: Please read the Qt Code of Conduct -
ListView and QML Object
Hello everyone,
so to put the context, I have this page QML of settings, then I have a page QML per settings in an other folder,
for now they are just put into a Column layout like this :
import QtQuick 2.13 import QtQuick.Controls 2.12 import QtQu... | https://forum.qt.io/topic/106119/listview-and-qml-object | CC-MAIN-2020-40 | refinedweb | 308 | 57.47 |
Detecting edges
Edge detection is one of the most popular techniques in Computer Vision. It is used as a preprocessing step in many applications. Let's look at how to use different edge detectors to detect edges in the input image.
How to do it…
- Create a new Python file, and import the following packages:
import sys ... | https://www.oreilly.com/library/view/python-real-world/9781787123212/ch09s03.html | CC-MAIN-2021-39 | refinedweb | 159 | 59.9 |
In the spirit of sharing more of the tech behind the scenes, and reasons why some things are the way they are, this post contains an overview of Unity’s serialization system. Understanding this system very well can have a big impact on the effectiveness of your development, and the performance of the things you make. H... | https://blogs.unity3d.com/kr/2014/06/24/serialization-in-unity/ | CC-MAIN-2020-34 | refinedweb | 6,413 | 61.77 |
11 August 2011 19:41 [Source: ICIS news]
(adds Canadian and Mexican shipment data)
?xml:namespace>
Canadian chemical railcar loadings for the week totalled 9,861, up from 9,598 in the same week a year earlier, the Association of American Railroads (AAR) said.
The previous week ended 30 July saw a year-on-year increase ... | http://www.icis.com/Articles/2011/08/11/9484614/canadian+weekly+chemical+railcar+traffic+rises+2.7.html | CC-MAIN-2013-20 | refinedweb | 183 | 56.05 |
I was working recently on a GoogleVR Cardboard project where they printed their own custom Cardboard headsets and bulk mailed them out to invited guests.
As you may or may not know, each Google cardboard physcial headset could be manufactured with different specifications but still obtain the “”Works with Google Cardbo... | http://talesfromtherift.com/googlevr-cardboard-set-default-viewer-profile/ | CC-MAIN-2018-17 | refinedweb | 691 | 70.63 |
Flash Player 10 and later, Adobe AIR 1.5 and
later
Using a shader as a blend mode is like
using other blend modes. The shader defines the appearance resulting
from two display objects being blended together visually. To use
a shader as a blend mode, assign your Shader object to the blendShader property
of the foregroun... | http://help.adobe.com/en_US/as3/dev/WSB19E965E-CCD2-4174-8077-8E5D0141A4A8.html | CC-MAIN-2013-48 | refinedweb | 784 | 51.44 |
curl_mime_free - free a mime handle
NAME
curl_mime_free - free a previously built mime structure
SYNOPSIS
#include <curl/curl.h>
void curl_mime_free(curl_mime *mime);
DESCRIPTION
curl_mime_free is used to clean up data previously built/appended with curl_mime_addpart and other mime-handling functions. This must be call... | https://curl.se/libcurl/c/curl_mime_free.html | CC-MAIN-2020-50 | refinedweb | 150 | 72.26 |
Find the item you want, right-mouse click on it, and select "Generate Management Class" to have Visual Studio generate a management class for you.
For instance, right-mouse clicking on My Computer in Server Explorer generates a class called ComputerSystem (in the namespace ROOT.CIMV2) with all sorts of read/write prope... | https://visualstudiomagazine.com/blogs/tool-tracker/2011/04/wbtip_new-classes-from-server-explorer.aspx | CC-MAIN-2019-13 | refinedweb | 334 | 62.07 |
How to: Create an XML Schema Set by Using the XML to Schema Wizard (Visual Basic)
You can use the XML to Schema Wizard to create an XML Schema set and include the set in your project. When you include an XML Schema set in a Visual Basic project, you enable XML IntelliSense for XML properties. That is, when you write co... | https://msdn.microsoft.com/en-us/library/cc442691(v=vs.100).aspx | CC-MAIN-2016-44 | refinedweb | 226 | 77.77 |
On Jun 26, 2006, at 5:24 AM, paul.newport@targetgroup.net wrote:
>
> Why don't you dynamically programmatically create something like an
>
> org.apache.commons.dbcp.BasicDataSource
>
>
> and then just cache the instance of that in a Map for use whenever
> you need it. That way your code is app server indpendent.
That w... | http://mail-archives.apache.org/mod_mbox/geronimo-user/200606.mbox/%3CA8E46720-B0EC-45AC-803D-D5D4892A975B@yahoo.com%3E | CC-MAIN-2016-44 | refinedweb | 193 | 59.64 |
Adding the tank model
For tank battles, we will be using a 3D model available for download from the App Hub website () in the Simple Animation CODE SAMPLE available at. Our first step will be to add the model to our content project in order to bring it into the game.
Time for action – adding the tank model
We can add t... | https://www.packtpub.com/books/content/xna-4-3dgetting-battle-tanks-game-world | CC-MAIN-2016-07 | refinedweb | 4,221 | 60.95 |
# All hail bug reports: how we reduced the analysis time of the user's project from 80 to 4 hours

People often see work in support as something negative. Today ... | https://habr.com/ru/post/588831/ | null | null | 2,712 | 51.75 |
.
Major works are often divided up into sections or movements and on recordings, these sections usually will have their own tracks.
The actual title of the movements are usually pretty non-descriptive such as “Allegro Moderato”, “Freilich” or something like that.
Anyway, you can see, record companies encode all this in... | https://thedataist.com/off-topic-why-i-simultaneously-love-and-hate-apple/ | CC-MAIN-2020-24 | refinedweb | 764 | 66.64 |
The Gogo Shell Command sample demonstrates adding a custom command to Liferay DXP’s Gogo shell environment. All Liferay DXP installations have a Gogo shell environment, which lets system administrators interact with Liferay DXP’s module framework on a local server machine.
This example adds a new custom Gogo shell comm... | https://help.liferay.com/hc/ja/articles/360017891852-Gogo-Shell-Command- | CC-MAIN-2022-40 | refinedweb | 366 | 51.04 |
Notes on Managed Debugging, ICorDebug, and random .NET stuff
C# doesn’t support inline IL. As an experiment, I wrote a post-compiler tool that allows primitive IL inlining for C# / VB.Net (or any .net language).
(My main goal here was I actually wanted to try out fxcop and needed some pet project to do it with - but th... | http://blogs.msdn.com/jmstall/archive/2005/02/21/377806.aspx | crawl-002 | refinedweb | 1,703 | 67.45 |
/* * _DTRACE_PTSS_H_ #define _DTRACE_PTSS_H_ #ifdef __cplusplus extern "C" { #endif /* * The pid provider needs a small per thread scratch space, * in the address space of the user task. This code is used to * manage that space. * * High level design: * * To avoid serialization, this is a (mostly) lockless allocator. ... | https://opensource.apple.com/source/xnu/xnu-2050.9.2/bsd/sys/dtrace_ptss.h.auto.html | CC-MAIN-2021-43 | refinedweb | 368 | 62.17 |
3 covers Views and ViewModels.
So far we’ve just been returning strings from controller actions. That’s a nice way to get an idea of how controllers work, but it’s not how you’d want to build a real web application. We are going to want a better way to generate HTML back to browsers visiting our site – one where we ca... | http://www.asp.net/mvc/overview/older-versions/mvc-music-store/mvc-music-store-part-3 | CC-MAIN-2015-48 | refinedweb | 2,944 | 62.48 |
I'm installing packages with "easy_install --user" but I can't import them from my WSGI app. Any ideas?
I'm installing packages with "easy_install --user" but I can't import them from my WSGI app. Any ideas?
That's a bug -- we have a fix almost ready to go, but it's tied up with some large infrastructural changes so wo... | https://www.pythonanywhere.com/forums/topic/20/ | CC-MAIN-2018-26 | refinedweb | 191 | 75.91 |
Greetings,
I just have to ask about something I have always wanted to learn how to do myself, when it comes to scripting.
I am not very experianced on writing scripts myself, but I have been working for along time whit plugin development, such as "Bukkit, for Minecraft"! Which brings me to my question..
When I scripted... | http://answers.unity3d.com/questions/319774/return-how-to-do-it.html | CC-MAIN-2016-30 | refinedweb | 2,617 | 71.75 |
Copying Files into Explorer
WEBINAR:
On-Demand
Building the Right Environment to Support AI, Machine Learning and Deep Learning
Following my previous article on copying filenames from explorer, I received many requests on how to copy the files into the explorer. I have/had the same request for a long time. After a lot ... | https://www.codeguru.com/cpp/w-p/clipboard/article.php/c2997/Copying-Files-into-Explorer.htm | CC-MAIN-2018-39 | refinedweb | 502 | 65.32 |
Feature #8563closed
Instance variable arguments
Added by sawa (Tsuyoshi Sawada) over 8 years ago. Updated about 4 years ago.
Description.
Related issues
Updated by nobu (Nobuyoshi Nakada) over 8 years ago
- Category set to syntax
- Status changed from Open to Assigned
- Assignee set to matz (Yukihiro Matsumoto)
- Targe... | https://bugs.ruby-lang.org/issues/8563?tab=properties | CC-MAIN-2022-05 | refinedweb | 944 | 52.9 |
Yo, back on Wednesday, September 08, 2010 Carl Eugen Hoyos was all like: > Reuben Martin <reuben.m <at> gmail.com> writes: > > > Comments, suggestions, code, flames all welcome. > > I am sure work on this is very welcome, I can't really comment on the details, > but here are a few cosmetic hints: > > Please split the s... | http://ffmpeg.org/pipermail/ffmpeg-devel/2010-September/100871.html | CC-MAIN-2016-36 | refinedweb | 303 | 64.24 |
.
Preview Activation for Older Repos
The current preview toolbar is enabled by default on all new Prismic repos. However, if you're on an older repo, you might be on older version of the toolbar. If your preview script src URL (described in Step 2, below).
The next step is to make sure that the preview ref is used when... | https://prismic.io/docs/technologies/previews-and-the-prismic-toolbar-ruby | CC-MAIN-2021-31 | refinedweb | 500 | 55.74 |
EIG:File Transfer
Contents
WORK IN PROGRESS
File Transfer Provider
This provider is able to transfer files through a variety of protocols. We have a simple client on GitHub that shows all that the provide can do. Here is where you describe what the provider can do, what problem it solves and how it does that. It needs ... | http://wiki.eclipse.org/EIG:File_Transfer | CC-MAIN-2016-26 | refinedweb | 159 | 51.34 |
.
Defining the chapters, you will find how to:
- Setup a Demo Project for our Tests
- Run the Tests for CI Pipeline [is the first way to run automated tests in a project, and a first barrier of your QA defence which contain Unit Testing coverage].
- Run any Tests for CD Pipeline [if the second way, which contains UI or... | https://azurefirst.com/preetham/3-ways-to-run-automated-tests-on-azure-devops-31h2 | CC-MAIN-2022-40 | refinedweb | 1,527 | 50.87 |
1 /*2 * @(#)Exchanger.java 1.6 06/09/203 *4 * Copyright 2006 Sun Microsystems, Inc. All rights reserved.5 * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.6 */7 8 package java.util.concurrent;9 import java.util.concurrent.atomic.*;10 import java.util.concurrent.locks.LockSupport ;11 12 /**13 * A synchron... | http://kickjava.com/src/java/util/concurrent/Exchanger.java.htm | CC-MAIN-2022-27 | refinedweb | 3,961 | 62.78 |
Getting Started with Vuex: a Beginner’s Guide
JavaScript
In single-page applications, the concept of state relates to any piece of data that can change. An example of state could be the details of a logged-in user, or data fetched from an API.
Handling state in single-page apps can be a tricky process. As an applicatio... | https://www.sitepoint.com/vuex-beginner-guide/ | CC-MAIN-2020-24 | refinedweb | 3,068 | 57.87 |
Politics: Harry, The Disastrous & The Unpalatable 281
nd writes: "Harry Browne has agreed to a roundtable discussion with everyone in a Kuro5hin Feature. He'll be responding to messages himself under his own account." It's been going on for a few days now, and is an amazing look at the future of political coverage. Ref... | https://slashdot.org/story/00/10/24/1545232/politics-harry-the-disastrous-the-unpalatable | CC-MAIN-2017-26 | refinedweb | 13,349 | 71.85 |
In this article, learn how to parse JSON data with Arduino for IoT, IIoT, and Home Automation projects. We’ll start by connecting our wifi-enabled chip (ESP8266) to the Internet and then pointing it to the URL where the JSON file is stored. Then, we’ll use the ArduinoJson library to parse the JSON file into readable va... | https://www.learnrobotics.org/blog/parse-json-data-arduino/ | CC-MAIN-2022-27 | refinedweb | 1,273 | 65.42 |
mtl (or its underlying transformers) package provides two types of
State monad;
Control.Monad.State.Strict and
Control.Monad.State.Lazy.
Control.Monad.State re-exports
Control.Monad.State.Lazy.
The difference between these two state monads does not matter in most cases, but it may cause unexpected surprises when infini... | http://kseo.github.io/posts/2016-12-28-lazy-vs-strict-state-monad.html | CC-MAIN-2017-17 | refinedweb | 382 | 60.92 |
I hope this is the correct area to ask this, if not I apologize!
I've been using the Raspberry Pi for a couple of weeks now and I'm getting the hang of it, however the bane of my existence has been my 74HC595 shift register. I understand the basics of how the Shift Register works, however I'm running into a problem act... | https://www.raspberrypi.org/forums/viewtopic.php?f=32&t=249969&p=1526156 | CC-MAIN-2020-50 | refinedweb | 353 | 57.98 |
I'm trying to get my regular expression to work but can't figure out what I'm doing wrong. I am trying to find any file that is NOT in a specific format. For example all files are dates that are in this format MM-DD-YY.pdf (ex. 05-13-17.pdf). I want to be able to find any files that are not written in that format.
I ca... | https://codedump.io/share/FTaWaKNNxJT9/1/python---regex---match-anything-except | CC-MAIN-2019-09 | refinedweb | 161 | 76.32 |
Perl: Control Structures, Regular Expressions, Files, and OO Programming
- This lecture is adapted from material originally written by Dr. Plank and later modified by various cs300 instructors
For/if/while
For, if and while clauses work like their C counterparts, except the body of the clause must be enclosed in curly ... | http://web.eecs.utk.edu/~bvz/cs465/notes/perl/perl2.html | CC-MAIN-2017-51 | refinedweb | 8,834 | 56.89 |
Let's use a simple program that illustrates the problem (in a file named gdbtest.cpp):
#include <cstdio>
inline void f1( int *p)
{
(*p)++; // Line 5
}
inline void f2( int * p)
{
std::printf("%p\n", p); // Line 10
f1(p);
}
int main()
{
int i;
f2(&i);
std::printf( "%d\n", i); // Line 19
f2(0);
std::printf( "%d\n", i);
f2... | http://drpaulcarter.blogspot.com/2009/03/finding-source-of-error-in-inlined.html | CC-MAIN-2017-22 | refinedweb | 574 | 77.16 |
The -use option appears to produce grossly incomplete information. For example, -use on the following produces a page for class JD that claims "No usage of jd.JD". In general there seems to be problems with finding uses in parameter types. package jd; public class JD { public static class Bar { public void foo(JD o) { ... | https://bugs.java.com/bugdatabase/view_bug.do?bug_id=4496290 | CC-MAIN-2018-05 | refinedweb | 262 | 65.62 |
I whole new world opens up when you start experimenting with the GPIO (General Purpose Input/Output) pins. By turning them on or off, and sending (or receiving) signals through them, you can interact with other devices and react to the surrounding environment.
A Brave New World (GPIO and Sensors)
One way to use the GPI... | https://grantwinney.com/hello-world-for-the-raspberry-pi-making-an-led-blink/ | CC-MAIN-2019-18 | refinedweb | 1,636 | 69.21 |
How to auto adjust images in imageJ?897927 Nov 3, 2011 3:04 PM
Hello,
I would like to know How can I adjust the contrast and brightness in imageJ using a Java application?
imageJ has
Best Regards,
I would like to know How can I adjust the contrast and brightness in imageJ using a Java application?
imageJ has
and inside... | https://community.oracle.com/thread/2308263?tstart=15 | CC-MAIN-2017-09 | refinedweb | 623 | 50.26 |
All the objects that are stored in a computer are ultimately converted into binary numbers which are sequences of 0s and 1s. Each digit in a binary number is stored on one bit of the computer memory. A bit is defined as the smallest unit of memory in a computer. In fact, computer manipulates a number by manipulating th... | http://ecomputernotes.com/what-is-c/operator/c-bitwise-operators | CC-MAIN-2018-17 | refinedweb | 1,727 | 60.35 |
Help Framework HOWTO
Introduction
This document has been reviewed for maemo 3.x.
Various services are available for software developed on the maemo platform. One of them is the Help Framework, a context based help system, which can be easily used in any application..
This document is a short guide for using the Help Fr... | http://maemo.org/development/documentation/manuals/3-x/howto_help_framework_bora/ | crawl-003 | refinedweb | 888 | 57.37 |
>>.
obligatory (Score:4, Funny)
programming language fans [github.com]
I never thought I'd see the day (Score:5, Funny)
Re: (Score:2)
But seriously, if you're using PHP and you start worrying about The Rules, you've thrown out your only reason for using PHP at all.
Re: (Score:3)
Re: (Score:2)
if you are using PHP and w... | https://developers.slashdot.org/story/11/02/24/221231/drupal-competes-as-a-framework-unofficially | CC-MAIN-2016-40 | refinedweb | 4,452 | 72.26 |
# OOX 2.0: Out of order execution made easy
As [Intel's Threading Building Blocks](https://www.threadingbuildingblocks.org/) (TBB) library is being refreshed using the new C++ standard, deprecating tbb::task interface, the need for a high-level tasking interface becomes more obvious. In this article, I’m proposing ano... | https://habr.com/ru/post/542908/ | null | null | 3,606 | 51.38 |
.
If you have developed applications with LINQ to SQL, you know that one of the features of these objects are that they are aware of the DataContext they were created in. This can have issues in ASP.NET if you do not cache the DataContext it belonged to, because each LINQ to SQL business object knows which context it w... | http://dotnetslackers.com/Community/blogs/bmains/archive/2008/07.aspx | crawl-003 | refinedweb | 1,469 | 54.02 |
bigml 4.1.3
An open source binding to BigML.io, the public BigML APIBigML Python Bindings
=====================
`BigML <https: bigml.`_ makes machine learning easy by taking care
of the details required to add data-driven decisions and predictive
power to your company. Unlike other machine learning services, BigML
crea... | https://pypi.python.org/pypi/bigml | CC-MAIN-2015-22 | refinedweb | 1,975 | 60.21 |
From: David Abrahams (dave_at_[hidden])
Date: 2004-07-18 21:47:49
"Robert Ramey" <ramey_at_[hidden]> writes:
> Dave Abrahams wrote:
>
>>Rene Rivera <grafik.list_at_[hidden]> writes:
>
>>> boost-root/boost/utf8_codecvt_facet.hpp is original.
>>> boost-root/boost/program_options/utf8_codecvt_facet.hpp + *.cpp
>>> is slig... | https://lists.boost.org/Archives/boost/2004/07/68428.php | CC-MAIN-2019-39 | refinedweb | 354 | 59.9 |
Python data manipulation made braindead
Project description
Python data manipulation made braindead.
Installation
pip install manipulator
Usage
manipulator mainly exposes three functions, get, update, and set. get retrieves data, update transforms it based on its form, and set transforms it by simply resetting. Transfo... | https://pypi.org/project/manipulator/ | CC-MAIN-2020-50 | refinedweb | 325 | 68.57 |
Inspecting Data
Makie provides a data inspection tool via
DataInspector(x) where x can be a figure, axis or scene. With it you get a floating tooltip with relevant information for various plots by hovering over one of its elements.
By default the inspector will be able to pick any plot other than
text and
volume based ... | https://makie.juliaplots.org/stable/documentation/inspector/ | CC-MAIN-2021-43 | refinedweb | 1,035 | 59.8 |
Most
Outline
Software/Tools used
- MCUXpresso IDE 10.2.1
- MXUXpresso SDK for i.MX RT1050-EVKB 2.4.0
- LittlevGL v5.1.0
- NXP i.MX RT1050-EVKB with LCD
💡 You can find the example project used in this tutorial in the Links section at the end of his article.
LittlevGL
LittlevGL is an open source GUI library, developed a... | https://mcuoneclipse.com/2018/08/12/tutorial-open-source-embedded-gui-library-littlevgl-with-i-mx-rt1050-evk/ | CC-MAIN-2019-43 | refinedweb | 2,037 | 57.4 |
The new version of the Silverlight Toolkit (December 2011) for Silverlight 5 is out and you can grab it here:
Update: Babylon Engine now uses Silverlight 5 Toolkit:
I had the pleasure of working on this version and I’m pleased to write this article to help you discover how the Toolkit enhances Silverlight 5 with the fo... | http://blogs.msdn.com/b/eternalcoding/archive/2011/12/10/silverlight-toolkit-september-2011-for-silverlight-5-what-s-new.aspx?PageIndex=1 | CC-MAIN-2014-52 | refinedweb | 1,087 | 57.4 |
Greg Ewing wrote: > Bruce the yield goes away (both the statement and expression form). This would be replaced by builtin functions. I would propose that the builtins take optional pipe arguments that would default to the current thread's pipein/pipeout. I would also propose that each thread be allowed multiple input a... | https://mail.python.org/pipermail/python-ideas/2009-February/003044.html | CC-MAIN-2014-15 | refinedweb | 856 | 63.39 |
Microsoft Corporation
April 2006
Applies to:
Visual Studio 2005
Visual Studio .NET 2003
Summary: Find out how to use the new project type, the Web application project, as an alternative to the Web site project model already available in Visual Studio 2005. (27 printed pages).
This paper describes Web application projec... | http://msdn.microsoft.com/en-us/library/aa730880%28VS.80%29.aspx | crawl-002 | refinedweb | 823 | 55.64 |
Solving software challenges - Synopsys Pesti Challenge 2016
I like mysteries and puzzles. They provide solid, exciting and interesting base for movies, books and recreational activities. And, at least in the software industry, they can be used in recruitment prescreening and/or candidate selection. This was also the ca... | http://tjjr.fi/posts/solving-software-challenges-synopsys-pesti-challenge-2016/ | CC-MAIN-2019-09 | refinedweb | 1,020 | 58.38 |
How can I draw text label over Sprite (new Unity 4.3) feature.
I have sprite hirarchy
Screen (base background sprite: order in layer = 0)
+--> Progress (progress bar bar sprite: order layer = 2)
+--> Text (progress bar text)
I have progress bar script (on LoadingProgress GameObject) which automatically takes Progress a... | https://answers.unity.com/questions/575342/how-to-draw-text-over-sprite.html | CC-MAIN-2019-39 | refinedweb | 692 | 55.03 |
SR300 - Frame Rate minimal valueDeanM Jun 26, 2017 4:04 AM
Hi
1. Re: SR300 - Frame Rate minimal valueMartyG Jun 26, 2017 5:20 AM (in response to DeanM)
2. Re: SR300 - Frame Rate minimal valueDeanM Jun 26, 2017 5:38 AM (in response to MartyG)
Hi Marty,
Thank you for a quick replay regarding this. I expected as much, jus... | https://communities.intel.com/message/483313 | CC-MAIN-2018-43 | refinedweb | 871 | 68.5 |
Application.
For many small and medium sized programs, it isn't too difficult to find and fix bugs based on reproducible information from users. As applications increase in size and complexity, the ability to figure out what is causing a bug becomes more difficult. On larger enterprise systems you need a way to track w... | http://www.codemag.com/article/0409081 | CC-MAIN-2018-26 | refinedweb | 2,721 | 55.54 |
(Technically speaking, this post doesn’t require Groovy. You could do the same thing in Java. Still, as usual, Groovy is easier.)
I’m teaching a Groovy course this week and having a great time doing it. One of the exercises I put together is to create a concordance, which is a map relating individual words to the lines... | https://kousenit.org/2008/03/20/using-groovy-to-determine-unicode-characters/ | CC-MAIN-2020-29 | refinedweb | 730 | 74.08 |
Three Little Hive UDFs: Part 1
By dan.mcclary on Apr 04, 2013
Introduction
In our ongoing series of posts explaining the in's and out's of Hive User Defined Functions, we're starting with the simplest case. Of the three little UDFs, today's entry built a straw house: simple, easy to put together, but limited in applica... | https://blogs.oracle.com/datawarehousing/entry/three_little_hive_udfs_part | CC-MAIN-2015-11 | refinedweb | 672 | 55.13 |
post I will show you how bundling and minifying works in ASP.NET MVC.
What is bundling and minifying?
Bundling helps you to download files of same type using one request instead of multiple requests. This way you can download styles and scripts using less requests than it takes to request all files separately. Minifyi... | https://dzone.com/articles/bundling-and-minifying-aspnet?mz=110215-high-perf | CC-MAIN-2016-07 | refinedweb | 858 | 67.45 |
Apache JMeter – Basic and Advance Tutorial
In this post, I have created a simple presentation which covers basic and advance concepts of Apache JMeter. Basically JMeter is very robust tool for Performance Testing. The main advantage of JMeter is its FREE, unlike costly tools available in the market.
But the major drawb... | http://qainsights.com/apache-jmeter-basic-and-advance-tutorial/ | CC-MAIN-2017-30 | refinedweb | 545 | 73.88 |
#include <hallo.h> * Joerg Schilling [Sun, Oct 29 2006, 02:49:32PM]: > Eduard Bloch <edi@gmx.de> wrote: > > > #include <hallo.h> > > * Joerg Schilling [Sun, Oct 29 2006, 10:51:58AM]: > > > Eduard Bloch <blade@master.debian.org> wrote: > > > > > > > > Let me repeat: > > > > > > > > > > In order to investigate on the cla... | https://lists.debian.org/cdwrite/2006/10/msg00112.html | CC-MAIN-2015-40 | refinedweb | 234 | 81.83 |
The function Generate_And_Display_Bill() has no formal parameters and returns a variable of type float. The function generates a random number between $0.01 and $99.99 and returns the value to main().
This is what I've created so far in my function declaration;
#include <iostream> #include <ctime> float Generate_And_Di... | https://www.daniweb.com/programming/software-development/threads/346376/random-bill-function | CC-MAIN-2017-34 | refinedweb | 141 | 67.15 |
The information in this chapter is only available if Physical Content Management has been enabled..
After a reservation request is made, an e-mail notification is sent to the administrator, who processes the request and starts the reservation fulfillment process in accordance with the applicable procedures in the organ... | http://docs.oracle.com/cd/E23943_01/doc.1111/e10733/c10_reservations.htm | CC-MAIN-2016-07 | refinedweb | 1,374 | 58.69 |
.
Example 6-1. procfs.c
/* procfs.c - create a "file" in /proc, which allows both input and output. */ #include <linux/kernel.h> /* We're doing kernel work */ #include <linux/module.h> /* Specifically, a module */ /* Necessary because we use]; /* We return 0 to indicate end of file, that we have * no more information. ... | http://www.tldp.org/LDP/lkmpg/2.4/html/c768.htm | CC-MAIN-2015-27 | refinedweb | 560 | 60.14 |
But if I want draw 5k roads i have to 10k lines instead 5k
But if I want draw 5k roads i have to 10k lines instead 5k
but instead draw 5000 lines I would have to draw 10k. But it seems there isn't better solution.
Hello,
I want to draw on QImage line that for example has black edge and green fill. I can draw very long ... | http://developer.nokia.com/community/discussion/search.php?s=41f8f8c3cf796ed040ec4ae03243b98c&searchid=2411217 | CC-MAIN-2014-23 | refinedweb | 768 | 76.52 |
App Engine applications can send email messages on behalf of the app's administrators, and on behalf of users with Google Accounts. Apps can receive email at various addresses. Apps send messages using the Mail service and receive messages in the form of HTTP requests initiated by App Engine and posted to the app.
- Se... | https://cloud.google.com/appengine/docs/python/mail/ | CC-MAIN-2015-22 | refinedweb | 591 | 55.95 |
InterSystems Open Exchange March 2021 Digest
✓ 431 published apps in total
✓ 650 downloads in March
✓ 1102 developers joined
IO Redirect in ObjectScript
Forms adapter for InterSystems IRIS RAD Studio
Caché ECP Server in Docker
A Python Extension for InterSystems Caché/IRIS.
Fast setup of ECP client / sever with almost ... | https://community.intersystems.com/post/intersystems-open-exchange-march-2021-digest | CC-MAIN-2021-21 | refinedweb | 1,348 | 53.98 |
On Fri, Aug 30, 2019 at 05:08:52PM +0200, Michal Privoznik wrote: > On 8/30/19 2:30 PM, Roman Kagan wrote: > > On Fri, Aug 30, 2019 at 10:09:06AM +0100, Daniel P. Berrangé wrote: > > > On Fri, Aug 30, 2019 at 08:44:03AM +0000, Nikolay Shirokovskiy wrote: > > > > Hi, all! > > > > > > > > We use an interesting approach w... | https://www.redhat.com/archives/libvir-list/2019-August/msg01442.html | CC-MAIN-2020-29 | refinedweb | 491 | 52.23 |
Issues List for xpath-functions
This document identifies the status of Last Call issues on XQuery 1.0 and XPath 2.0 Functions and Operators as of October 29, 2004.
The XQuery 1.0 and XPath 2.0 Functions and Operators has been defined jointly by the XML Query Working Group and the XSL Working Group (both part of the XML... | http://www.w3.org/2004/10/xpath-functions-issues.html | crawl-002 | refinedweb | 19,225 | 57.47 |
html tags - Struts
struts html tags creating horizontal scroll-bar in struts HTML Hello !
I have a servlet page and want to make login page in struts 1.1
What changes should I make for this?also write struts-config.xml...{
response.setContentType("text/html");
PrintWriter pw
Struts HTML Tags
to include the
following l... | http://www.roseindia.net/tutorialhelp/comment/61007 | CC-MAIN-2015-14 | refinedweb | 2,206 | 68.77 |
Content-type: text/html
audgen - generate an audit record
#include <sys/audit.h> audgen( int event, char *tokenp, char *argv[], char *userbuff, long *size);
The system call generates an audit record.
The argument event is an integer indicating the event type of the operation being audited (see The value of event must b... | http://backdrift.org/man/tru64/man2/audgen.2.html | CC-MAIN-2017-04 | refinedweb | 385 | 52.7 |
I event of the Base application to load a form without a problem. Maybe a bit of the code you are using or exactly what you are wanting to do or both. Also, where are your scripts located? Mine are currently embedded in the document.
First I have the global objects:
desktop = XSCRIPTCONTEXT.getDesktop() oComponent = de... | https://ask.libreoffice.org/t/how-to-execute-a-python-function-before-xscriptcontext-is-available/37669/8 | CC-MAIN-2021-49 | refinedweb | 798 | 67.55 |
There's a GR_REQUIRED_COMPONENTS CMake variable[e.g. 1]; add FILTER.
Best regards,
Marcus
[1] 15. Mai 2015 11:47:51 MESZ, schrieb Su Li <address@hidden>:Hi all,I found the problem.In my OOT block, I try to use mmse_fir_interpolator. Thus, in the my_block_impl.h file I use the following code to include the fir interpola... | https://lists.gnu.org/archive/html/discuss-gnuradio/2015-05/msg00171.html | CC-MAIN-2020-05 | refinedweb | 436 | 58.28 |
: August 2, 2007:00133 GLADES COUNTY EMOCT I Am Moore Haven, Fla. Thursday, August 2, 2007 vuiume 83, Number 6 At a Glance The 2008 election is just around the corner. All Glades County registered Democrats are encouraged to attend. The Glades DEC meets every month on second Tuesday at the library at 5:30 p.m. For more... | http://ufdc.ufl.edu/UF00028301/00133 | CC-MAIN-2019-09 | refinedweb | 39,665 | 74.29 |
-
If you missed the first part, go get caught up. Then join us for more DNS and hostname goodness. Last time, we got you up and running. This time, see how you can manage all the hostnames in your domain with just a few DNS tricks.
How to set up a home DNS server, part II
by Shannon Hughes
Welcome backIn the first par... | https://www.redhat.com/magazine/026dec06/features/dns/?intcmp=bcm_edmsept_007 | CC-MAIN-2014-10 | refinedweb | 1,842 | 60.21 |
So in the beginning, Im sure i can ditch #include <string>...
Im sure at the end, where i have a million cout's (42-69) that could be simplified (i feel like the inverse of the distributive property in math could be applied.
I want the ouput to look the same. this seems to work for me for numbers 99,999.00 and smaller.... | https://www.daniweb.com/programming/software-development/threads/383381/can-this-be-simplified-setw-x-parameters-i-hope-so | CC-MAIN-2018-30 | refinedweb | 423 | 64.95 |
This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.
On 09 Aug 2015 14:24, Zack Weinberg wrote: > Is an IFUNC's variant-selecting function called only once per process, > or every time? it's once-per-process. if it were every time, it'd defeat the point of the optimization. > If... | http://sourceware.org/ml/libc-alpha/2015-08/msg00310.html | CC-MAIN-2019-30 | refinedweb | 281 | 72.97 |
Just remember, the smaller of a number you pass to the method, the larger the image will be! (I accidentally created a 2.1GB file. You have been warned)Creates either a greyscale plaintext ASCII image, or, for added awesomeness, creates a String containing HTML, which when written to a file and viewed in a browser, con... | https://www.dreamincode.net/forums/topic/363938-Converting-an-Image-to-ASCII-Art-(with-color!)/ | CC-MAIN-2019-26 | refinedweb | 644 | 65.73 |
Which statement is true?
Select the one correct answer.
Objects can be explicitly destroyed using the keyword delete.
An object will be garbage collected immediately after it becomes unreachable.
If object obj1 is accessible from object obj2, and object obj2 is accessible from obj1, then obj1 and obj2 are not eligible ... | http://etutorials.org/Misc/programmers+guide+java+certification/Chapter+8.+Object+Lifetime/Review+Questions/ | CC-MAIN-2017-30 | refinedweb | 422 | 58.69 |
Nested Types
A nested type is a type that is a member of some other type. Nested types should be tightly coupled to their declaring type and must not be useful as a general purpose type. Nested types are confusing to some developers and should not be publicly visible unless there is a compelling reason to do so. In a w... | http://msdn.microsoft.com/en-us/library/ms229027(v=vs.100).aspx | CC-MAIN-2014-35 | refinedweb | 399 | 62.48 |
Details
Description
Take this Java class:
public class Dsl { public static void novarargs(java.util.List s) { System.out.println("novarargs ok"); } public static void varargs(Object... s) { System.out.println("varargs ok"); } }
Run it with Groovy:
this.metaClass.mixin(Dsl) Dsl.novarargs(["a", "b"]) novarargs(["a", "b"]... | https://issues.apache.org/jira/browse/GROOVY-3878 | CC-MAIN-2017-39 | refinedweb | 389 | 61.12 |
DirecTV's Secret War On Hackers 619
".
"For more information, visit."
Re)
Re:finally (Score:3)
but stealing tv is wrong
I am so sick of this attitude! It is not "stealing TV". When you steal something, the person that you stole it from no longer possesses it. An example of stealing TV would be smashing a shop window, g... | http://hardware.slashdot.org/story/01/01/25/1343218/directvs-secret-war-on-hackers | CC-MAIN-2014-52 | refinedweb | 8,485 | 68.7 |
The QIconSet class provides a set of differently styled and sized icons. More...
#include <qiconset.h>
List of all member functions.
Once a QIconSet is fed some pixmaps, it can generate smaller, larger, active and disabled pixmaps. Such pixmaps are used by QToolButton, QHeader, QPopupMenu, etc. to show an icon represen... | http://doc.trolltech.com/2.3/qiconset.html | crawl-002 | refinedweb | 862 | 64.91 |
The most common solution for this problem is using DP, BFS or Number theory. Here I will give a brief explanation of the DP solution. The solution is as following:
public int NumSquares(int n) { int[] DP = new int[n + 1]; for (int i = 1; i <= n; i++) { int min= int.MaxValue; for (int j = 1; j * j <= i; j++) { min= Math... | https://discuss.leetcode.com/topic/24159/explanation-of-the-dp-solution | CC-MAIN-2018-05 | refinedweb | 557 | 73.27 |
Introduction
This article of the series, “Diving into OOP,” will explain all about delegates in C#. This article focuses more on practical implementations and less on theory, and.”
Following is the list of all the other articles of the OOP series.
Delegates
A delegate is one of the most interesting features of C# progr... | http://www.c-sharpcorner.com/article/explore-delegates-in-c-sharp/ | CC-MAIN-2018-09 | refinedweb | 171 | 50.84 |
Important: Please read the Qt Code of Conduct -
Why the app theme did not change with the system
- Dylan Deng last edited by
I have specified the Material theme as "System" in qtquickcontrols2.conf, and the current macOS theme is set to dark mode. But when I compile and re-run the application, the title bar and window ... | https://forum.qt.io/topic/115815/why-the-app-theme-did-not-change-with-the-system/4 | CC-MAIN-2021-25 | refinedweb | 368 | 50.23 |
Quickstart¶
Eager to get started? This page gives a good introduction to Flask. It assumes you already have Flask installed. If you do not, head over to the Installation section.
A Minimal Application¶
A minimal Flask application looks something like this:
from flask import Flask app = Flask(__name__) @app.route('/') d... | https://flask.palletsprojects.com/en/1.0.x/quickstart/ | CC-MAIN-2020-16 | refinedweb | 723 | 60.11 |
I have some C++ code that has a structure something like this:
class Base1{}
class Base2{}
class Intermediate : Base1{}
class Intermediate : Base2{}
class Top : Base1::Intermediate, Base2::Intermediate{}
I have heard that gcc has issues with this multiple inheritance, because it does not handle the namespace/scope reso... | http://forums.devshed.com/programming-42/multiple-inheritance-naming-issues-gcc2-9x-63564.html | CC-MAIN-2017-34 | refinedweb | 101 | 55.58 |
You can subscribe to this list here.
Showing
1
results of 1
Feature Requests item #1560502, was opened at 2006-09-18 08:26
Message generated for change (Comment added) made by petli
You can respond by visiting:
Please note that this message will contain a full copy of the comment thread,
including the initial issue sub... | http://sourceforge.net/p/python-xlib/mailman/python-xlib-notifications/?viewmonth=200610&viewday=12 | CC-MAIN-2015-11 | refinedweb | 336 | 66.74 |
IRC log of erswad on 2002-06-26
Timestamps are in UTC.
08:13:54 [RRSAgent]
RRSAgent has joined #erswad
08:14:30 [maxf]
maxf has joined #erswad
08:15:51 [chaalsXXX]
In the room:
08:16:23 [chaalsXXX]
Charles McCathieNevile, Jim Ley, Nick Gibbins, Paul Shabajee, Jill Evans, Liddy Nevile,
08:16:48 [chaalsXXX]
Max Froumenti... | http://www.w3.org/2002/06/26-erswad-irc | CC-MAIN-2017-04 | refinedweb | 11,491 | 69.62 |
This might seems a naive post about sending email, especially when there are hundreds of posts out there. However, most of these posts don't show a complete or comprehensive example for the beginners on how to send email with more options. I'm sure when you search for the phrase "Sending email using C#" you will find a... | http://weblogs.asp.net/nawaf/archive/2007/12/07/sending-email-in-c-sync-async-multiple-recipients-attachments-etc.aspx | crawl-002 | refinedweb | 1,281 | 65.01 |
current position:Home>Untested Python code is not far from crashing
Untested Python code is not far from crashing
2022-01-31 07:51:16 【Nuggets translation program】
- Original address :Untested Python Code is Already Broken
- Original author :Matthew Hull
- The translation comes from : Nuggets translation plan
- Permane... | https://en.pythonmana.com/2022/01/202201310751094389.html | CC-MAIN-2022-27 | refinedweb | 2,054 | 70.84 |
A perfect tool to get you know users of your application. Read more....
Use structured logging e.g. use just a machine name for a log record's message and keep its localized version in a Bundle. Set the logger name to be below the namespace {org.netbeans.ui} in some meaningful subpackage.
The statistic on the server sh... | http://wiki.netbeans.org/wiki/index.php?title=DevFaqUIGestures&oldid=29876 | CC-MAIN-2019-51 | refinedweb | 125 | 69.68 |
Ask Ben: Using ColdFusion Components As Return Types, Argument Types, And Property Types
Hi Ben! I have been reading your blog for about four years now (since I first played with Skin Spider), and I finally have a question to ask. I have finally started playing with Coldfusion 9, and I must say I'm impressed thus far. ... | http://www.bennadel.com/blog/1795-ask-ben-using-coldfusion-components-as-return-types-argument-types-and-property-types.htm | CC-MAIN-2015-18 | refinedweb | 2,464 | 57.37 |
Java Exception - Handle Exceptions in Java
;
Exception in
Java
Learn about the Java Exceptions.... You will also learn how to create your own
exceptions in your Java program... about handling double exceptions in
Java. In Java double is used to store
Learn Java in a day
Learn Java in a day
...;
Variables
In this secti... | http://www.roseindia.net/tutorialhelp/comment/81537 | CC-MAIN-2014-52 | refinedweb | 2,583 | 56.25 |
Results 1 to 5 of 5
Strategies for Orientation/Repositioning
- Member Since
- Apr 15, 2012
- 5
With the code working, it's time to get the interface looking nice in all orientations.
Does anyone have any general advice about which way to go - and which ways not to go?
I'm assuming at the moment that I'm best putting gr... | http://www.mac-forums.com/ios-development/272448-strategies-orientation-repositioning.html?s=c3784ab85a0493fc53b89c16f412a6fc | CC-MAIN-2016-30 | refinedweb | 583 | 54.56 |
Time complexity: the time complexity of an algorithm is a function that qualitatively describes the running time of the algorithm. This is a function representing the length of the string of the input value of the algorithm. The time complexity is usually expressed by large O sign, excluding the low-order term and firs... | https://programmer.group/time-complexity.html | CC-MAIN-2022-40 | refinedweb | 756 | 64.38 |
#include <unistd.h>
char *getlogin(void);
int getlogin_r(char *name, size_t namesize);
The getlogin() function shall return a pointer to a string containing the user name associated by the login activity with the controlling terminal of the current process. If getlogin() returns a non-null pointer, then that pointer po... | http://www.makelinux.net/man/3posix/G/getlogin | CC-MAIN-2016-36 | refinedweb | 610 | 51.28 |
24 August 2010 17:04 [Source: ICIS news]
WASHINGTON (ICIS)--US sales of existing homes plummeted by more than 27% in July from June, national housing market officials said on Tuesday, falling to their lowest level since 1995 in an accelerating decline that is expected to last through September.
The sharp fall in sales ... | http://www.icis.com/Articles/2010/08/24/9387915/us-existing-home-sales-fall-27-in-july-slide-likely-to-continue.html | CC-MAIN-2013-20 | refinedweb | 536 | 51.89 |
BackgroundSn so that we can roll out new upgrades and quickly pull them from the server side if we notice a problem. Snappy devices even support rolling back upgrades on a single device, by using a dual-partition root file system. Phones generally don't support this due to lack of available space on the device.
Of cour... | http://voices.canonical.com/user/88/tag/python3/ | CC-MAIN-2015-18 | refinedweb | 3,394 | 73.17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.