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 |
|---|---|---|---|---|---|
Getting current date-time information is very different for different systems and programming languages. We will look at this simple but big issue for the vast majority of operating systems and programming languages.
Linux/FreeBSD/Unix
We can date information from the GUI panel clock but we will look for the command li... | https://www.poftut.com/how-to-print-current-date-and-time-in-linux-and-windows-from-command-line/ | CC-MAIN-2020-34 | refinedweb | 318 | 61.36 |
Be Social by running SocialSite on Tomcat
Sometime ago, I saw an announcement of the first release of SocialSite. Basically it is a Java implementation to add social features to your existing website. Check out Arun Gupta's blog on the usage of SocialSite. I thought of trying it out and it works fine on Glassfish. Out ... | http://blogs.sun.com/insidemyhead/ | crawl-002 | refinedweb | 4,330 | 63.39 |
Groovy, a dynamic language for the JVM, has built-in support for REST. The RESTClient class is an extension of HTTPBuilder, designed specifically for making REST calls easier (for example, by having convenience methods for GET, POST, etc.).
Issuing GET Requests
Given RESTClient, it's pretty easy:
import groovyx.net.htt... | http://rest.elkstein.org/2008/02/using-rest-in-groovy.html | CC-MAIN-2022-27 | refinedweb | 172 | 60.41 |
Home » Support » Index of All Documentation » How-Tos » How-Tos for Web Development »
Wing IDE is an integrated development environment that can be used to write, test, and debug Python code that is run by the mod_python module for the Apache web server.
This document assumes mod_python is installed and Apache is confi... | http://www.wingware.com/doc/howtos/mod_python | CC-MAIN-2014-41 | refinedweb | 609 | 54.73 |
#include <stdint.h>
#include "libavutil/pixfmt.h"
#include "avcodec.h"
Go to the source code of this file.
Definition in file internal.h.
Maximum size in bytes of extradata.
This value was chosen such that every bit of the buffer is addressable by a 32-bit signed integer as used by get_bits.
Definition at line 120 of f... | http://ffmpeg.org/doxygen/0.10/libavcodec_2internal_8h.html | CC-MAIN-2019-22 | refinedweb | 284 | 55.2 |
Check boxes
Posted on March 1st, 2001
WEBINAR: On-demand webcast
How to Boost Database Development Productivity on Linux, Docker, and Kubernetes with Microsoft SQL Server 2017 REGISTER >
A check box provides a way to make a single on-off choice; it consists of a tiny box and a label. The box typically holds a little ‘x... | https://www.codeguru.com/java/tij/tij0140.shtml | CC-MAIN-2017-51 | refinedweb | 348 | 64.41 |
import "compress/gzip"
Package gzip implements reading and writing of gzip format compressed files, as specified in RFC 1952.) }
Output:
Name: a-new-hope.txt Comment: an epic space opera by George Lucas ModTime: 1977-05-25 00:00:00 +0000 UTC A long time ago in a galaxy far, far away...
const ( NoCompression = flate.NoC... | https://godoc.org/compress/gzip | CC-MAIN-2020-29 | refinedweb | 629 | 59.19 |
Custom Datatype SPARQL Indexes900576 Mar 13, 2012 3:53 PM
Hello,
This content has been marked as final. Show 8 replies
1. Re: Custom Datatype SPARQL IndexesMatperry-Oracle Mar 14, 2012 8:14 AM (in response to 900576)Hi Michael,
Lexical values for RDF terms are stored in the MDSYS.RDF_VALUE$ table, and (for typed litera... | https://community.oracle.com/thread/2361582?tstart=45 | CC-MAIN-2015-14 | refinedweb | 1,540 | 53.31 |
05 August 2009 15:46 [Source: ICIS news]
By Julia Meehan
LONDON (ICIS news)--European caprolactam sellers are to seek August price increases due to higher benzene costs and a tight supply situation, producers said on Wednesday.
“We have just started our discussions and [the August caprolactam contract price] will be a ... | http://www.icis.com/Articles/2009/08/05/9237724/europe-caprolactam-sellers-seek-august-price-hikes.html | CC-MAIN-2013-20 | refinedweb | 568 | 53.55 |
Criteria Query with Left Outer Join
In Grails app development, when using criteria queries, we often find cases for Outer joins. Lets take an example. We have two domain classes with us:
class Blog { String title String content static hasMany = [comments: Comment] static constraints = { } }
and
class Comment { String t... | https://www.tothenew.com/blog/criteria-query-with-left-outer-join/ | CC-MAIN-2019-51 | refinedweb | 312 | 60.61 |
Lot many times an application is required to do many time consuming operations at start-up. Sometimes you need to read data from a database, sometimes you may need to retrieve some data from a web service. When this happens, it's often useful to display a "Splash Screen" to the user, with a company logo or something, ... | http://mrbool.com/how-to-make-a-splash-screen-in-csharp/26598 | CC-MAIN-2015-32 | refinedweb | 1,108 | 65.83 |
The engine is simply a translator Just like we can interact with somebody who doesn’t know our language. And this special translator is called the engine to understands what they mean. Almost everyone that has worked with Javascript has to stimulate with the V8 engine. The shape of the JS engine. And most people know t... | https://jobayerdev.medium.com/?source=post_internal_links---------6---------------------------- | CC-MAIN-2021-25 | refinedweb | 958 | 66.03 |
Hi,
I have a txt file where ive split up the text using a delimiter and printed the results. I been trying to make it so the java will read the file and where a delimiter is missing it wil output the result separtely as invalid. any help/pointers in the right direction greatly appreciated. heres my code:
import java.io... | http://www.javaprogrammingforums.com/%20whats-wrong-my-code/12986-need-help-validating-results-printingthethread.html | CC-MAIN-2014-52 | refinedweb | 234 | 61.63 |
Use Vue.js Data Binding Options for Reactive Applications
Vue.js is known as a “progressive framework for building user interfaces”. There’s a lot to unpack in this simple statement. It’s easy to get started with Vue.js, with a minimal feature set, and then layer in more of the framework as you need it.
Unike React, it... | https://developer.okta.com/blog/2019/07/18/vuejs-data-binding-options | CC-MAIN-2022-21 | refinedweb | 3,653 | 66.44 |
menu_pattern(3) UNIX Programmer's Manual menu_pattern(3)
menu_pattern - get and set a menu's pattern buffer
#include <menu.h> int set_menu_pattern(MENU *menu, const char *pattern); char *menu_pattern(const MENU *menu);
Every menu has an associated pattern match buffer. As input events that are printable ASCII character... | http://mirbsd.mirsolutions.de/htman/sparc/man3/menu_pattern.htm | crawl-003 | refinedweb | 105 | 50.94 |
My 2AA battery sensor
Don't know if it's too obviuos but I haven't seen many basic designs so I thought I'd share mine. I have 10+ of these with runtime 6-8 months with very good results.
Worth to note is that this "basic" design is based on a normal 3.3V 8MHz Arduino Pro Mini with just the voltage regulator and power ... | https://forum.mysensors.org/topic/486/my-2aa-battery-sensor/23 | CC-MAIN-2019-22 | refinedweb | 8,222 | 59.09 |
import "github.com/go-errors/errors"
Package errors provides errors that have stack-traces.
This is particularly useful when you want to understand the state of execution when an error was returned unexpectedly.
It provides the type *Error which implements the standard golang error interface, so you can use this librar... | https://godoc.org/github.com/go-errors/errors | CC-MAIN-2018-51 | refinedweb | 440 | 57.47 |
public class RmiBookModelImpl extends UnicastRemoteObject implements BookModel { private ArrayList observers = new ArrayList(10); public void addObserver(BookView bv) throws RemoteException{ synchronized(observers){ observers.add(bv); } } public void update(int recNo, String [] data) throws RecordNotFoundException, Rem... | http://www.coderanch.com/t/184484/java-developer-SCJD/certification/MVC-design-RMI-reasonable | CC-MAIN-2014-42 | refinedweb | 572 | 65.22 |
QtCharts app won't run (The program has unexpectedly finished.)
I use Qt 5.7 and get the QtCharts examples up and running just fine. But when I try to build a simple app to display
chart, it's just not running (with the message "The program has unexpectedly finished."). I believe I have setup everything
to use QtCharts... | https://forum.qt.io/topic/71563/qtcharts-app-won-t-run-the-program-has-unexpectedly-finished | CC-MAIN-2018-39 | refinedweb | 151 | 80.28 |
Small library for scraping electricity usage information from Helsingin Energia website
Project description
This small script fetches per-hour electricity usage from Helsingin Energia (Helen) website. This is unofficial implementation which may break at any time, if Helen changes their website or implements any additio... | https://pypi.org/project/helen_electricity_usage/ | CC-MAIN-2019-22 | refinedweb | 200 | 51.04 |
Jeroen Frijters wrote:
Dalibor Topic wrote:The problem is illustrated by this example from kaffe's regression test suite:import java.io.File; public class FileTest { public static void exists(File f) { String type = "File"; if (f.isDirectory()) { type = "Directory"; } System.out.print(type + " \"" + f.getPath() ); if (... | http://lists.gnu.org/archive/html/classpath-patches/2004-08/msg00079.html | CC-MAIN-2016-30 | refinedweb | 180 | 66.64 |
()
A little unorthodox, but you can monkey-patch sys.stdin:
# We're going to monkey-patch stdin
import sys
from cStringIO import StringIO
old = sys.stdin
sys.stdin = StringIO('hello')
# Now read from stdin
result = raw_input('foo')
# And replace the regular stdin
sys.stdin = old
This will work as if you typed 'hello' a... | http://www.w3hello.com/questions/Getting-file-input-into-Python-script-for-praw-script | CC-MAIN-2018-17 | refinedweb | 893 | 57.87 |
1 – Introduction
Recently i worked on one of the HYPE topic of the moment called ChatBot or interactive agent.
So i decided to realise this serie of posts, to share this experience by using a practical end-to-end scenario.
I will use SAP Cloud Platform and especially HANA MDC as Back-End technology that expose data thr... | https://blogs.sap.com/2017/11/29/building-chatbot-using-sap-cloud-platform-part-1/ | CC-MAIN-2018-26 | refinedweb | 1,489 | 60.21 |
Red Hat Bugzilla – Bug 787242
Unexpected failure (permission denied) on attempt to change scheduling class to SCHED_FIFO.
Last modified: 2013-04-30 19:51:00 EDT
Created attachment 559323 [details]
Reproducer
Description of problem:
A program attempts to change its scheduling class to SCHED_FIFO. Program has CAP_SYS_NIC... | https://bugzilla.redhat.com/show_bug.cgi?id=787242 | CC-MAIN-2018-26 | refinedweb | 270 | 53.78 |
Installing and Configuring HoloViews ¶
HoloViews and its required dependencies Numpy and Param are pure Python packages, and can thus be installed on any platform that has Python 2.7 or Python3.
That said, HoloViews is designed to work closely with many other libraries, which can make installation and configuration mor... | http://holoviews.org/user_guide/Installing_and_Configuring.html | CC-MAIN-2017-30 | refinedweb | 209 | 57.87 |
.
[edit] Example
#include <stdio.h> #include <locale.h> #include <string.h> #include <uchar16_t c16; char *ptr = str, *end = str + strlen(str); int rc; while(rc = mbrtoc16(&c16, ptr, end - ptr, &state)) { printf("Next UTF-16 char: %#x obtained from ", c16); if(rc == -3) puts("earlier surrogate pair"); else if(rc > 0) {... | http://en.cppreference.com/w/c/string/multibyte/mbrtoc16 | CC-MAIN-2016-30 | refinedweb | 159 | 61.6 |
Template talk:Sex/Archive1
From RationalWiki
This is an archive page, last updated 8 November 2016. Please do not make edits to this page.
12/13[edit]
Seems to be something wrong with this template - sometimes it displays 12 entries, sometimes 13. My limited Wiki skillz are insufficient to locate the problem, though. -... | https://rationalwiki.org/wiki/Template_talk:Sex/Archive1 | CC-MAIN-2020-29 | refinedweb | 540 | 71.75 |
Gunicorn not using right settings file Django?
In my
wsgi.py I am conditionally setting
DJANGO_SETTINGS_MODULE to two different files(local and production).
On the server I have set "PROD" variable in
/etc/profile
if "PROD" in os.environ: os.environ.setdefault("DJANGO_SETTINGS_MODULE", "myproject.settings") else: os.en... | http://codegur.com/48249084/gunicorn-not-using-right-settings-file-django | CC-MAIN-2018-05 | refinedweb | 1,314 | 54.42 |
Web Components are a set of APIs that allow you to create custom HTML tags and use them alongside standard tags. They provide many advantages such as portability across projects, encapsulation of state, and access to a shadow DOM. Web Components are also functionally independent from frontend frameworks. You can use yo... | https://medium.com/@liam.john.mcmains | CC-MAIN-2021-25 | refinedweb | 126 | 57.98 |
When you run the following code using VPython's VIdle on Windows, an interactive window pops up where you can rotate the scene by holding down the right mouse button:
from visual import *Does anyone know a different way to draw and interact with 3D vectors?
floor = box(pos=(0,0,0), length=4, width=4,
height=0.01, color... | http://baoilleach.blogspot.com/2011/01/debugging-vectors-in-3d.html | CC-MAIN-2016-36 | refinedweb | 158 | 72.16 |
> -----Original Message-----
> From: Martin Sebor [mailto:msebor@gmail.com] On Behalf Of Martin Sebor
> Sent: Tuesday, July 01, 2008 11:08 PM
> To: dev@stdcxx.apache.org
> Subject: Re: Tuple status
>
> Eric Lemings wrote:
> >
> > I got this problem fixed with my latest change.
> >
> > The tuple test suite needs to be b... | http://mail-archives.apache.org/mod_mbox/incubator-stdcxx-dev/200807.mbox/%3CCFFDD219128FD94FB4F92B99F52D0A4901DB0612@exchmail01.Blue.Roguewave.Com%3E | CC-MAIN-2016-30 | refinedweb | 1,037 | 62.07 |
I'm fairly new to the C++ world (did some C work in the past years ago) so I'm a little rusty on some things :) I've got a small table in a database and I'm trying to grab some date information out of a UNIX EPOCH time stamp (all seconds). I've tried tackling this with time.h but I can't seem to find anything in time.h... | https://www.daniweb.com/programming/software-development/threads/141151/mysql-result-set-and-time-h | CC-MAIN-2017-34 | refinedweb | 374 | 80.82 |
Hi,
My app don't have changes in native part, some days ago, my Android Environment deployed to my Google Nexus S works fine, after some web resources updated or settings changed (i.e. server port), now my Android app don't work, at app launch from emulator, I get an error 'The connection to the server was unsuccessful... | https://www.ibm.com/developerworks/community/forums/html/topic?id=77777777-0000-0000-0000-000014845589 | CC-MAIN-2015-27 | refinedweb | 807 | 54.52 |
-- 14 January 1999 -- Leading the Web to its full potential, the World Wide Web Consortium (W3C) today. A W3C Recommendation indicates that a specification is stable, contributes to Web interoperability and has been reviewed by W3C Membership who are in favor of its adoption by the industry..
The design of "Namespaces... | http://www.w3.org/Press/1999/XML-Namespaces-REC | CC-MAIN-2015-22 | refinedweb | 419 | 51.48 |
I need to make a program that calculates the area of a circle but I have to use an int, char, and float. No matter what I do though I can't get the second and third variables to output meaningful values, only the first. This is what I have written down so far.
I'm not sure what to do and I've been working on this for h... | http://cboard.cprogramming.com/c-programming/138558-multivariable-problem-seems-so-simple-but-i-cant-figure-out-printable-thread.html | CC-MAIN-2014-41 | refinedweb | 242 | 72.56 |
I had hear about a method to run a method like an executable, with the arguments being passed in from the commandline. Apparently, Ruby has this with the Rake project. Well, Python has it with Shovel. Only the instructions didn't work for me on windows, so I had to create a batch script to call
shovel correctly.
So her... | http://snipplr.com/view/66267/getting-shovel-to-work-in-windows-so-python-methods-can-be-run-like-individual-executables/ | CC-MAIN-2014-15 | refinedweb | 314 | 56.35 |
Announces 'Google Tax'
Yeah, fair comment. It occurred to me after I wrote that that I could have better stated it that individuals have a duty to pay their taxes.
UK Announces 'Google Tax'
As the parent poster stated: "in EXCHANGE", or in other words you're paying for it. You can't rebut an statement if you've only b... | http://beta.slashdot.org/~Des+Herriott | CC-MAIN-2014-52 | refinedweb | 2,459 | 59.03 |
Command Query separation is nothing new. It's yet another attempt to manage impedance mismatch between how your application uses data and how the underlying store manages data so that transactional updates can be served with equal agility as read-only queries. Bertrand Meyer made this distinction long back when he ment... | http://debasishg.blogspot.com/2011/01/cqrs-with-akka-actors-and-functional.html?showComment=1385300579017 | CC-MAIN-2017-43 | refinedweb | 1,857 | 54.42 |
I am struggling to put best practises into action, converting an existing file for Cypress testing into a more appropriate format for exporting and importing.
support-file.js
export const1 = () => cy.get('#someId1'); export const2 = () => cy.get('#someId2'); export const3 = () => cy.get('#someId3'); export function myF... | https://cmsdk.com/node-js/converting-cypress-file-into-a-more-appropriate-format-for-exporting.html | CC-MAIN-2019-22 | refinedweb | 336 | 50.53 |
FiPy unable to import LTE library
- markopraakli last edited by markopraakli
Hello
I tried to use this example of my brand new FiPy:
But after "from network import LTE" I got an error:
import socket
import ssl
from network import LTE
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: c... | https://forum.pycom.io/topic/2295/fipy-unable-to-import-lte-library | CC-MAIN-2022-21 | refinedweb | 310 | 63.53 |
![if !IE]> <![endif]>
Communicating Using Sockets
The Windows Sockets API is based on the BSD Sockets API, so many of the calls are very similar. There are some minor differences in setup. The most obvious differences are the requirements for header files. Listing 6.31 shows the steps necessary to include the networkin... | https://www.brainkart.com/article/Communicating-Using-Sockets_9484/ | CC-MAIN-2019-51 | refinedweb | 1,259 | 62.17 |
Stefan Sperling wrote on Wed, Jun 01, 2011 at 01:22:40 +0200:
> On Wed, Jun 01, 2011 at 01:15:56AM +0200, Johan Corveleyn wrote:
> > [[[
> > The usual namespace rules apply: only names that begin with "SVN_"
> > and don't contain double underscores are considered part of the public
> > API. Everything else is not offic... | http://svn.haxx.se/dev/archive-2011-06/0006.shtml | CC-MAIN-2016-22 | refinedweb | 137 | 67.28 |
Recently Browsing 0 members
No registered users viewing this page.
Similar Content
- By Chimp
(This example uses a "flash" animation and therefore needs the "flash player" to work. Since "flash player" is discontinued and no longer present on many systems, this script may not work. I have therefore prepared a new scrip... | https://www.autoitscript.com/forum/topic/186422-who-is-who-a-little-dragdrop-game/ | CC-MAIN-2022-05 | refinedweb | 482 | 50.94 |
"Kir Kolyshkin" <kir@swsoft.com> writes:> Eric,>> Could you please hold off the horses a bit and wait till Pavel Emelyanov> returns? It means next Monday; he's currently at a conference whose organisers> don't provide internet access.When we decided to go top down (i.e. user interface first) instead ofbottom up with th... | https://lkml.org/lkml/2007/10/26/493 | CC-MAIN-2016-07 | refinedweb | 521 | 62.27 |
slideshow movie has stopped loading all images and stallsWildtypitch Jun 4, 2009 6:26 AM
I made a basic slideshow that loads and plays photos with comments from an xml file. I've just uploaded some new photo's and edited the xml to include them but now flash stops while loading the series of photo's and just stalls. Re... | https://forums.adobe.com/thread/442719 | CC-MAIN-2019-04 | refinedweb | 1,111 | 53.27 |
1.835 23 Dec 2014 * Silence more compiler warnings 1.834 11 Dec 2014 * Makefile.PL: version check is missing a zero RT #100844 1.833 9 Dec 2014 * More Silence compiler warnings * 1.832 breaks bleadperl C89 build RT #100812 1.832 8 Dec 2014 * Silence compiler warnings * C++ change from blead 1.831 15 November 2013 * C99... | https://metacpan.org/changes/distribution/DB_File | CC-MAIN-2015-35 | refinedweb | 2,248 | 71 |
Sharing limited resources
Posted on March 1st, 2001
You can think of a single-threaded program as one lonely entity moving around through your problem space and doing one thing at a time. Because there’s only one entity, you never have to think about the problem of two entities trying to use the same resource at the sa... | http://www.codeguru.com/java/tij/tij0156.shtml | CC-MAIN-2016-22 | refinedweb | 2,905 | 60.95 |
Salai4,389 Points
Compiler error on "Challenge Task 4 of 4". JAVA Data Sctructures
I got this error and I can't find the syntax error in BlogPost.Java Class.
./com/example/BlogPost.java:3: error: '{' expected public class BlogPost() ^ 1 error
Bummer! There is a compiler error. Please click on preview to view your synt... | https://teamtreehouse.com/community/compiler-error-on-challenge-task-4-of-4-java-data-sctructures | CC-MAIN-2022-27 | refinedweb | 117 | 61.33 |
Common definition between mysql server & client. More...
#include <stdbool.h>
#include "my_command.h"
#include "my_io.h"
#include <mysql/udf_registration_types.h>
Go to the source code of this file.
Common definition between mysql server & client.
field is a autoincrement field
Intern: Used by sql_yacc..
field is an en... | https://dev.mysql.com/doc/dev/mysql-server/8.0.3/mysql__com_8h.html | CC-MAIN-2018-51 | refinedweb | 207 | 73.74 |
Type-safe events
This is some code I wrote a while ago. It is (mostly) based upon Data Types a la Carte, a great pearl by Wouter Swierstra. It uses some ideas discussed in this paper to create a type-safe, extensible event-based framework in Haskell.
This blogpost is written in Literate Haskell, meaning you should be a... | http://jaspervdj.be/posts/2011-10-16-type-safe-events.html | CC-MAIN-2014-15 | refinedweb | 803 | 59.06 |
Created on 2008-04-24 19:51 by CharlesMerriam, last changed 2008-04-26 10:55 by vsajip.
About same as problem in 2.4 Issue1470422 closed without a test case on
MacOS X/Python 2.4.
Also same as
and so on back for years.
What happens:
chasm@chasm-laptop:~/py$ cat x.py
import logging
logging.basicConfig(level=logging.DEBU... | http://bugs.python.org/issue2684 | crawl-002 | refinedweb | 438 | 63.15 |
Java Enumeration
AdsTutorials
An Enumeration is an object that provides you element one at a time. This is passed through using a collection, usually of unknown size. The element is to be traversed only once at a time. you can't change the object or value in the collection,as Enumeration is read only and has forward fa... | https://www.roseindia.net/java/beginners/java-enumeration-exception.shtml | CC-MAIN-2017-43 | refinedweb | 172 | 60.95 |
0
I have another string dilemma. I am asked to write a program that counts the number of words in a sentence entered by the user. This is what I have right now, although I don't think that it is anywhere near being correct:
import string def main(): print "This program calculates the number of words in a sentence" prin... | https://www.daniweb.com/programming/software-development/threads/72128/word-count-issues | CC-MAIN-2018-39 | refinedweb | 115 | 73.17 |
I consider the difference between builtin and def'ed functions to be
something of an implementation wart -- one that I would like to see
someday removed if sensibly possible. How is a beginner to know that
the parameter names used in the docs and help() responses are not really
parameter names?
In the meanwhile, I thin... | https://bugs.python.org/msg65820 | CC-MAIN-2019-26 | refinedweb | 128 | 55.17 |
Hey Thomas, thanks for the response. I fixed my problem but I can tell
everyone how just for future reference. I am using Cloudscape 10.0 and
Torque 3.1.1. The problem was addressed in the wiki and here was the answer
Jorge Ortega gave: "Another error may be at the OM generation. The database
name was not specifed in t... | http://mail-archives.apache.org/mod_mbox/db-torque-user/200503.mbox/%3CBAY12-DAV22C202BE54770DFCE94DEE7510@phx.gbl%3E | CC-MAIN-2018-30 | refinedweb | 648 | 60.31 |
JabChapter 10
From WikiContent
Pointers for Further Development
The previous two chapters have demonstrated how Jabber can be used to build applications and solutions in many functional areas. They expanded upon and indeed went beyond the theme of instant messaging (IM) to employ the fundamental features of contextual ... | http://commons.oreilly.com/wiki/index.php/JabChapter_10 | CC-MAIN-2014-42 | refinedweb | 16,886 | 51.58 |
Overview
Introducing QuickTime for Java
Initializing Quicktime and Displaying an Image
Summary
Further Exploration
Overview
In
this first module, we will learn the basics of QuickTime for Java, such
as initializing QuickTime for Java, creating a window with a QTCanvas,
and drawing an image centered within the window. (... | http://developer.apple.com/quicktime/qtjava/qtjtutorial/Module1.html | crawl-001 | refinedweb | 2,841 | 63.09 |
The.
Comments for this entry are closed. If you'd like to share your thoughts on this entry with me, please contact me directly.
I think Timbo has a minor point in that there aren’t (I assume) as many HTML parsers as XHTML parsers. And it’s not about scraping your own data, it’s about letting others scrape it. With tha... | http://www.b-list.org/weblog/2008/jun/21/xhtml/ | crawl-002 | refinedweb | 1,990 | 73.07 |
If you have ever worked on a Computer Vision project, you might know that using augmentations to diversify the dataset is the best practice. On this page, we will:
Let’s jump in.
As you might know, every image can be viewed as a matrix of pixels, with each pixel containing some specific information, for example, color ... | https://hasty.ai/docs/mp-wiki/augmentations/horizontal-flip | CC-MAIN-2022-40 | refinedweb | 201 | 55.95 |
Created on 2010-02-15 19:07 by JT.Johnson, last changed 2015-02-06 18:47 by BreamoreBoy.
I am running Python 2.6.4 on Windows Vista and when I try to get any command line arguments via sys.argv, it only contains sys.argv[0], but nothing else. Even if I supply several parameters. The only third-parts modules I am using ... | https://bugs.python.org/issue7936 | CC-MAIN-2018-05 | refinedweb | 2,329 | 69.38 |
Carey Brown wrote:Change line 102 to
calculation = Math.round((converted - 32.0)*(5.0/9.0));
Campbell Ritchie wrote:I didn’t read the whole code, but I can see a serious design error in it. You ought not to be calculating anything inside a frame class. You ought to have a temperature converter class which does the calc... | http://www.coderanch.com/t/587597/java/java/temperature-converter-program-display-negative | CC-MAIN-2014-35 | refinedweb | 650 | 58.99 |
Declaring local variables without using them immediately may unnecessarily increase their scope. This decreases legibility, and increases the likelihood of error.
There are two common cases where a local variable is assigned some default initial
value (typically
null, 0, false, or an empty
String):
tryblock, and are th... | http://javapractices.com/topic/TopicAction.do;jsessionid=4D0FE8213FBC2C17B7BA3A279E6C354F?Id=126 | CC-MAIN-2018-26 | refinedweb | 483 | 50.23 |
Part 2, Chapter 4
Linux Installation and Package Management (Topic 2.2)
Many resources describe Linux installation.[1] Despite its title, however, this section's Topic and Objectives do not provide an overview for the installation of any particular Linux distribution. Rather, they focus on four installation topics and ... | http://www.oreilly.com/catalog/lpicertnut/chapter/p2_ch04.html | crawl-001 | refinedweb | 6,799 | 57.27 |
Creating a Java Class with Variable (Program Statement+Concepts+Sample Programs+Output)
PROGRAM STATEMENT
Create a Java class called Student with the following details as variables within it.
(i) USN
(ii) Name
(iii) Branch
(iv) Phone
Write a Java program to create nStudent objects and print the USN, Name, Branch, and P... | https://www.rabinsxp.com/java/creating-java-class-variable-program-statementconceptssample-programsoutput/ | CC-MAIN-2018-51 | refinedweb | 604 | 51.95 |
WikiClone wiki
qatrackplus / admin / calculated
Tests with Calculated Results
There are currently three test types that allow you to calculate test results using snippets of Python code. These tests include Composite, String Composite & Upload.
Composite Tests_0<<
and second a slightly more complicated multi-line snipp... | https://bitbucket.org/tohccmedphys/qatrackplus/wiki/admin/calculated.md | CC-MAIN-2020-29 | refinedweb | 486 | 51.28 |
Last edited by defragster; 09-22-2019 at 10:03 AM.
Not sure if you saw the @manitou's post #71 where there are a couple of quick fixes for the PIT issue.
Just compiled @KurtE's async sketch with 1.8.10/1.48B1 without the redef PROGMEM error.
Just for ref haven't tested uncanny on 240x240 st7789's but they should work w... | https://forum.pjrc.com/threads/57015-ST7789_t3-(part-of-ST7735-library)-support-for-displays-without-CS-pin?s=ae039c251cc264ec5c6b4ceba041b267&p=216624&viewfull=1 | CC-MAIN-2019-47 | refinedweb | 1,912 | 69.11 |
Just a little example that uses the Object Model to create a null and a ObjectToCluster constraint for each selected component (point, edge, polygon, …).
Note line 13. I can use CollectionItem.SubElements to get the indices of the selected components.
from win32com.client import constants as C si = Application log = si... | https://xsisupport.com/2012/03/17/python-example-constraining-nulls-to-components/ | CC-MAIN-2018-51 | refinedweb | 466 | 60.92 |
In this tutorial, we will cover how we can leverage Appwrite’s Cloud functions feature to execute certain tasks when certain events take place in the server. You can find a complete list of available system events here.
In this example, we will demonstrate how we can integrate with a third-party storage provider like D... | https://practicaldev-herokuapp-com.global.ssl.fastly.net/appwrite/create-an-appwrite-file-backup-function-using-the-dropbox-api-2pfo | CC-MAIN-2021-43 | refinedweb | 1,404 | 58.99 |
Hi, My name is Rose and I work in an IT dept of a school. I am trying to set up a Java class for a teacher. I am very beginner to this programming. I have a program for a GUI-based temperature conversion program which I am trying to run in JCreator. I have checked the syntax and all seems ok. But I keep getting the sam... | http://forums.devx.com/showthread.php?138363-well-a-very-wierd-problem&goto=nextnewest | CC-MAIN-2014-10 | refinedweb | 208 | 69.07 |
menu_driver(3x) menu_driver(3x)
menu_driver - command-processing loop of the menu system
#include <menu.h> int menu_driver(MENU *menu, int c);
Once a menu has been posted (displayed), you should funnel input events to it through menu_driver. This routine has three major input cases: o The input is a form navigation req... | https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blob_plain;f=doc/html/man/menu_driver.3x.html;hb=cef50b3afcd58166f3541b701c97bce538844c76 | CC-MAIN-2021-21 | refinedweb | 390 | 57.67 |
Benchmarking calling Oracle Machine Learning using REST
Over the past year I’ve been presenting, blogging and sharing my experiences of using REST to expose Oracle Machine Learning models to developers in other languages, for example Python.
One of the questions I’ve been asked is, Does it scale?
Although I’ve used it ... | https://oralytics.com/2020/03/02/bench-marking-calling-oracle-machine-learning-using-rest/ | CC-MAIN-2021-17 | refinedweb | 789 | 58.21 |
PDF and Java
HTML continues to be the leading format for creating Web content for various reasons including its relative simplicity. For many types of content, HTML offers a sufficient set of tags for an effective presentation. There are, however, document types, that are too rich for HTML. Documents where positioning ... | http://www.developer.com/tech/article.php/626501/PDF-and-Java.htm | CC-MAIN-2013-20 | refinedweb | 1,359 | 56.35 |
Re: [soaplite] Multiple return values to Java
Expand Messages
- Hi, stevetrans140!
--- stevetrans140 <stevie__k@...> wrote:
> I have written my server in SOAP::Lite and client in Java. Howsimply return list
> would
> I be able to return multiple values to my Java client, and/or a 2-d
> array?
return (1,2,3);
for multip... | https://groups.yahoo.com/neo/groups/soaplite/conversations/topics/1604?o=0&var=1&p=1 | CC-MAIN-2017-39 | refinedweb | 121 | 64.1 |
Good Day all,
I am struggling to launch my fabfile within my Python script. I have looked at similar posts on Stack Overflow regarding this but they don't solve my problem... Or maybe they do but I am not understanding them...Not sure.
My script writes to the fab file depending on what the user wants to run on the remo... | https://codedump.io/share/PfHN58k0YbGw/1/how-to-call-my-fabfile-within-my-python-script | CC-MAIN-2018-26 | refinedweb | 143 | 70.29 |
Different Ways of Creating a List of Objects in C#
Different Ways of Creating a List of Objects in C#
In this post, we look at all the different approaches available to create a list of objects in C#. Do you know of any more?
Join the DZone community and get the full member experience.Join For Free
Jumpstart your Angul... | https://dzone.com/articles/different-ways-of-creating-list-of-objects-in-c | CC-MAIN-2018-47 | refinedweb | 334 | 75.3 |
There is no straight way to reverse a string in Java. reverse() method is not included in String class as String is immutable. We use reverse() method of StringBuffer class to reverse a string. In the following code, string palindrome is checked with string reverse.
public class Demo { public static void main(String ar... | https://way2java.com/java-general/java-string-reverse/ | CC-MAIN-2022-33 | refinedweb | 251 | 67.55 |
Regular expression - capture a character when "escaped", split otherwise
Recently Browsing 0 members
No registered users viewing this page.
Similar Content
- By nend
This is a program that I made to help my self learn better regular expressions.
There are a lot of other programs/website with the similar functions.
- By... | https://www.autoitscript.com/forum/topic/193563-regular-expression-capture-a-character-when-escaped-split-otherwise/?tab=comments#comment-1388746 | CC-MAIN-2021-49 | refinedweb | 278 | 50.63 |
Components
Label
Label is a themed version of the native label element that can be paired with other form components like Input, Textarea, Radio and Checkbox.
Form inputs must always have a label. Ideally, this label is visual, but in all cases, the label must be accessible to technology like screen readers. The easies... | https://seeds.sproutsocial.com/components/label/ | CC-MAIN-2020-45 | refinedweb | 112 | 52.9 |
.
Content playing in full screen mode
When Stage.fullScreenSourceRect is defined
If Stage.fullScreenSourceRect is defined, the width and height of Stage are fixed. Thus, when the screen orientation changes, the interchanged width and height ratio of the screen become mismatched with that of the Stage.
The four figures ... | http://blogs.adobe.com/flashplayer/2014/09/guide-for-supporting-screen-orientation-with-full-screen-flash-player-content.html | CC-MAIN-2018-51 | refinedweb | 704 | 60.01 |
A base class reference-counting view of some image data. More...
#include <vcl_iosfwd.h>
#include <vcl_string.h>
#include <vcl_cassert.h>
#include <vcl_cstddef.h>
#include <vil/vil_pixel_format.h>
#include <vil/vil_smart_ptr.h>
Go to the source code of this file.
A base class reference-counting view of some image data.... | http://public.kitware.com/vxl/doc/release/contrib/mul/vil3d/html/vil3d__image__view__base_8h.html | crawl-003 | refinedweb | 147 | 54.29 |
My institute offers students results, library services, and data server services on their LAN by providing the IP addresses of the machines holding the respective data. However as time passes these IP addresses change.
So I want to establish a mechanism where students could access these services through names instead o... | http://serverfault.com/questions/259164/how-to-setup-local-domain-name-servers-for-an-institute-lan | CC-MAIN-2015-18 | refinedweb | 339 | 69.31 |
Tim Wilson wrote: > > I'm still a little intimidated by the OOP > features that Python offers. I should probably just bit the bullet and dig > in and learn it. For starts, you might try thinking of a class instance as a Python dictionary. For instance the dictionary: # make a dictionary aFoo = {} # fill dictionary with... | https://mail.python.org/pipermail/tutor/1999-March/000080.html | CC-MAIN-2018-05 | refinedweb | 992 | 71.14 |
Computer Science Archive: Questions from August 25, 2008
- Anonymous askedGiven a 16-bit parallel output port attached with the FALCON-A CPUas shown in the figure below. The... Show moreGiven a 16-bit parallel output port attached with the FALCON-A CPUas shown in the figure below. The port is mapped onto address DEhof ... | http://www.chegg.com/homework-help/questions-and-answers/computer-science-archive-2008-august-25 | CC-MAIN-2014-41 | refinedweb | 1,175 | 56.05 |
#include <MemoryFree.h>void setup() { Serial.begin(9600);}void loop() { int n = 0; while(n <=100) { int u = 20*n; int v = 30*n; String str = String(n) + ", " + String(u) + ", " + String(v) + ", " + String(freeMemory()); Serial.println(str); delay(500); n++; } Serial.println("Done"); }
1.Is there a library to download t... | http://forum.arduino.cc/index.php?topic=126541.0;prev_next=prev | CC-MAIN-2016-50 | refinedweb | 252 | 62.14 |
Problem with building opencv_contrib. Cannot find file face.hpp.
I want to use FaceRecognizer class. As far as I know, it's not present in OpenCV 3.* versions, so I need to build opencv_contrib repository to be able to use it in my projects.
Unfortunately something went wrong, I've built it, but I still can't find
face... | https://answers.opencv.org/question/121310/problem-with-building-opencv_contrib-cannot-find-file-facehpp/ | CC-MAIN-2019-39 | refinedweb | 478 | 77.13 |
RPC::ExtDirect::Event - Asynchronous server-to-client events
use RPC::ExtDirect; use RPC::ExtDirect::Event; sub foo : ExtDirect(pollHandler) { my ($class) = @_; # Do something good, collect results in $good_data my $good_data = { ... }; # Do something bad, collect results in $bad_data my $bad_data = [ ... ]; # Return t... | http://search.cpan.org/~tokarev/RPC-ExtDirect-3.21/lib/RPC/ExtDirect/Event.pod | CC-MAIN-2015-32 | refinedweb | 282 | 55.64 |
Hi,
I need some help making a program that outputs change in the least amount of dollars and coins. Here is what I have so far but it doesnt work correctly and I don't know why. Thanks.
Code:#include <iostream> using namespace std; int main() { double charged, given, difference; cout << "Enter amount charged:\n"; cin >... | http://cboard.cprogramming.com/cplusplus-programming/99262-make-change-program-help.html | CC-MAIN-2013-48 | refinedweb | 126 | 78.59 |
You can subscribe to this list here.
Showing
3
results of 3
Hello,
I am using Player 3.0.2 and Stage 4.1.1. I am having problem in running the
bigbob code (.cc file) from jennifer owen's tutorial. I have made necessary
changes for the rangerproxy everywhere in cfg and world file according to
stage 4.1.1. My cfg file is... | http://sourceforge.net/p/playerstage/mailman/playerstage-users/?viewmonth=201305&viewday=23 | CC-MAIN-2014-23 | refinedweb | 1,096 | 64 |
Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
On 13/02/2013 at 02:10, xxxxxxxx wrote:
Sorry for super-basic question... | https://plugincafe.maxon.net/topic/6943/7807_basic-plugin-creation | CC-MAIN-2021-31 | refinedweb | 1,699 | 73.88 |
Parrameter server in C++ publisher?
How do i provide command line parameter for publisher written in c++. I tried similar to what i did with python publisher but it doesn't work. I used getparam in c++.
#include "ros/ros.h" #include "performance_tests/SuperAwesome.h" #include <sstream> int main(int argc, char **argv) {... | https://answers.ros.org/question/311349/parrameter-server-in-c-publisher/ | CC-MAIN-2021-04 | refinedweb | 232 | 58.58 |
view raw
I feel like I'm way overthinking this problem, but here goes anyway...
I have a hash table with M slots in its internal array. I need to insert N elements into the hash table. Assuming that I have a hash function that randomly inserts am element into a slot with equal probability for each slot, what's the expe... | https://codedump.io/share/M0d3DMvFUBKt/1/expected-number-of-hash-collisions | CC-MAIN-2017-22 | refinedweb | 177 | 61.67 |
This logging module has seven classes: CLog, CFuncLog,
IStoreLog, CWinLog, CFileLog,
CAutoCritic, CLogSimpleLock.
CLog
CFuncLog
IStoreLog
CWinLog
CFileLog
CAutoCritic
CLogSimpleLock
The main class of the Logging module is the CLog class and in
most cases it must be a singleton in the application. Being a Singleton is n... | http://www.codeproject.com/Articles/1877/Advanced-Logging-for-all-kind-of-applications?fid=3347&df=90&mpp=25&sort=Position&spc=Relaxed&tid=427382 | CC-MAIN-2015-27 | refinedweb | 1,168 | 65.62 |
Better.
Before proceeding too far into this process, you should download and test the CSS friendly adapter set; they provide a good reference while building your own adapters.
The main purpose of using control adapters is to alter how the built-in controls are rendered. Using these adapters requires 2 things: an adapte... | http://www.sitepoint.com/better-markup-with-control-adapters/ | CC-MAIN-2014-35 | refinedweb | 438 | 61.67 |
Painel
Arch
User documentation
Outdated translations are marked like this.
Descrição
This tool allows you to build all kinds of panel-like elements, typically for panel constructions like the WikiHouse project, but also for all kinds of objects that are based on a flat profile.
The above image shows a series of panel o... | https://wiki.freecadweb.org/Arch_Panel/pt-br | CC-MAIN-2021-49 | refinedweb | 482 | 51.89 |
Buffer size for spark video playerrajdeeprath Apr 12, 2010 11:29 PM
is there any way to control the buffer length in spark videoplayer component ?
1. Re: Buffer size for spark video playerbringrags Apr 13, 2010 8:28 AM (in response to rajdeeprath)
No, there currently isn't.
2. Re: Buffer size for spark video playerrfri... | https://forums.adobe.com/message/2739908 | CC-MAIN-2016-44 | refinedweb | 296 | 61.97 |
It looks like you're new here. If you want to get involved, click one of these buttons!
I was going through a code and I found a class declared like this
public class Tree {
private Node root;
public Tree(T rootData) { root = new Node<T>(); root.data = rootData; root.children = new ArrayList<Node<T>>(); }
What does mea... | http://programmersheaven.com/discussion/435047/class-declaration | CC-MAIN-2015-27 | refinedweb | 195 | 76.62 |
The.
Thanks –
Dean Hachamovitch
General Manager, Internet Explorer
P.S. If you’re a developer, or service provider, or IT professional, how do you prepare for the final release of new software? Leave a comment – we’d like to know.
Ok, I’m on board, glad to finally hear the plan. Thanks for the honesty.
Now, between IE8... | https://blogs.msdn.microsoft.com/ie/2008/11/19/ie8-whats-after-beta-2/ | CC-MAIN-2017-43 | refinedweb | 27,526 | 71.24 |
Authors: Yury Kashnitskiy and Maxim Keremet. Translated and edited by Artem Trunov, and Aditya Soni. This material is subject to the terms and conditions of the Creative Commons CC BY-NC-SA 4.0 license. Free use is permitted for any non-commercial purpose.
Prior to working on the assignment, you'd better check out the ... | https://nbviewer.jupyter.org/github/Yorko/mlcourse.ai/blob/master/jupyter_english/assignments_spring2019/assignment1_USA_flights_EDA.ipynb?flush_cache=true | CC-MAIN-2019-13 | refinedweb | 1,434 | 61.43 |
Hosein Ahmadi
- Total activity 10
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 0
- Subscriptions 5
Hosein Ahmadi created a post,
Cannot recognize view after change default view engine!Hi,I replace default razor view engine in my asp.net mvc 4.5 project. ViewLocationFormats is dynamic... | https://resharper-support.jetbrains.com/hc/en-us/profiles/2122983125-Hosein-Ahmadi | CC-MAIN-2020-24 | refinedweb | 228 | 51.85 |
In our last tutorial on REST API Best Practices, we designed and implemented a very simple RESTful mailing list API. However our API (and the data) was open to public, anyone could read / add / delete subscribers from our mailing list. In serious projects, we definitely do not want that to happen. In this post, we will... | http://polyglot.ninja/securing-rest-apis-basic-http-authentication-python-flask/ | CC-MAIN-2018-43 | refinedweb | 1,133 | 65.93 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.