text stringlengths 20 1.01M | url stringlengths 14 1.25k | dump stringlengths 9 15 ⌀ | lang stringclasses 4
values | source stringclasses 4
values |
|---|---|---|---|---|
This guide shows how to create an sample (Hello World type) Android JNI Application. Using Eclipse and Sequoyah, you can do everything inside the Eclipse IDE (there’s no need to run annoying command lines from Console or DOS prompt).
You should do the previous guide first in order to follow this guide. There is a bit o... | http://permadi.com/blog/2011/09/creating-your-first-android-jnindk-project-in-eclipse-with-sequoyah/ | CC-MAIN-2015-22 | en | refinedweb |
An alternative API for performant streaming XML processing: XSE (Xml Streaming Events)
Note: this entry has moved.
As a followup to my previous posts (
part I and
part II), I have been thinking if there's a way to completely avoid the
cost intrinsically associated with XPath, that is, the need to load a complete
XML do... | http://weblogs.asp.net/cazzu/XseIntro | CC-MAIN-2015-22 | en | refinedweb |
Hello,
we built an app with der Viewer Builder yesterday. Our folios were shown in the development app correctly.
Then we made one update yesterday in the afternoon and tomorrow after installing the new folio builder panel (not the folio producer tools).
We get correctly updated folios in the Content Viewer on the iPad... | https://forums.adobe.com/message/4340792?tstart=0 | CC-MAIN-2015-22 | en | refinedweb |
Implement game leaderboard using Redis
This is the Third Post in The Redis Series.
Part One: Install Redis inside Ubuntu VM
Part Two: Redis Persistence by Example
Part Three: Implement game leaderboard using Redis 👈
Part Four: Implement Job Queue using Redis
Part Five: Building REST API backed by Redis
Part Six: Build... | https://mohewedy.medium.com/implement-game-scoring-using-redis-75660f739760?source=post_internal_links---------1---------------------------- | CC-MAIN-2021-49 | en | refinedweb |
As a novice web developer, you’ve built your portfolio app and shared your code on GitHub. Perhaps, you’re hoping to attract technical recruiters to land your first programming job. Many coding bootcamp graduates are likely doing the same thing. To differentiate yourself from the crowd and boost your chances of getting... | https://realpython.com/django-hosting-on-heroku/ | CC-MAIN-2021-49 | en | refinedweb |
Gyoku
Gyoku translates Ruby Hashes to XML.
Gyoku.xml(:find_user => { :id => 123, "v1:Key" => "api" }) # => "<findUser><id>123</id><v1:Key>api</v1:Key></findUser>"
Installation
Gyoku is available through Rubygems and can be installed via:
$ gem install gyoku
or add it to your Gemfile like this:
gem 'gyoku', '~> 1.0'
Has... | https://www.rubydoc.info/gems/gyoku/1.3.1 | CC-MAIN-2021-49 | en | refinedweb |
The star(*) operator unpacks the sequence/collection into positional arguments. So if you have a tuple and want to pass the items of that tuple as arguments for each position as they are there in the tuple, instead of indexing each element individually, you could just use the * operator.
def multiply(a, b): return a * ... | https://www.tutorialspoint.com/How-does-the-operator-work-on-a-tuple-in-Python | CC-MAIN-2021-49 | en | refinedweb |
AWS Compute Blog
Resume AWS Step Functions from Any State
Update March, 5 2021 – Disclaimer: This blog precedes the introduction of map state to the Amazon States Language and requires modifications to work with the map state.
This post is written by Aaron Friedman, Partner Solutions Architect and Yash Pant, Solutions ... | https://aws.amazon.com/blogs/compute/resume-aws-step-functions-from-any-state/ | CC-MAIN-2021-49 | en | refinedweb |
table of contents
NAME¶
nvme — NVM Express
core driver
SYNOPSIS¶) or nda(4) to expose NVM Express namespaces as disk devices which can be partitioned. Note that in NVM Express terms, a namespace is roughly equivalent to a SCSI LUN.
DESCRIPTION¶
The
nvme driver provides support for NVM
Express (NVMe) controllers, such a... | https://manpages.debian.org/bullseye/freebsd-manpages/nvme.4freebsd.en.html | CC-MAIN-2021-49 | en | refinedweb |
You can upgrade your Cloud Data Fusion instances and batch pipelines to the latest platform and plugin versions to obtain the latest features, bug fixes, and performance improvements. The upgrade process involves instance and pipeline downtime (see Before you start).
Before you start
Plan a scheduled downtime for the u... | https://cloud.google.com/data-fusion/docs/how-to/upgrading | CC-MAIN-2021-49 | en | refinedweb |
What’s new in Windows Forms in .NET 6.0
Igor
We continue to support and innovate in Windows Forms runtime. Let’s recap what we’ve done in .NET 6.0.
Accessibility improvements and fixes
Making Windows Forms applications more accessible to more users is one of the big goals for the team. Building on the momentum we gaine... | https://devblogs.microsoft.com/dotnet/whats-new-in-windows-forms-in-net-6-0/ | CC-MAIN-2021-49 | en | refinedweb |
Solution for Why I can’t change font in Label, but in Button i can (Tkinter.ttk)
is Given Below:
Well, as in topic, why I can’t change font in Label using ttkbootstrap, but in Buttons everything works fine?
And second question, is there some documentation that lists all of the things that I can change in ttk stylesheet... | https://codeutility.org/why-i-cant-change-font-in-label-but-in-button-i-can-tkinter-ttk/ | CC-MAIN-2021-49 | en | refinedweb |
PROBLEM LINK
Contest
Author: Adithi Narayan
Tester: Hareesh
Editorialist: Adithi Narayan
DIFFICULTY
Easy
PREREQUISITES
BFS
PROBLEM
Given a grid where each cell holds a direction [T,L,D,R], find the path from top left to bottom right given that you can either move in the direction specified in the cell or pay a penalty ... | https://discuss.codechef.com/t/chaat7-editorial/95548 | CC-MAIN-2021-49 | en | refinedweb |
Layout callback in custom view classes
@omz, I know you are busy, but I have sort of mentioned this before, but not as a topic on its own. But the layout callback method when you create a custom class that inherits from ui.View, gets 2 callbacks when a view loads. I normally have to make another class member and store ... | https://forum.omz-software.com/topic/2094/layout-callback-in-custom-view-classes/? | CC-MAIN-2021-49 | en | refinedweb |
Introduction
In the previous episode of the Building Minicli series, we have refactored the initial version of
minicli to support commands defined in classes, with an architecture that uses Command Controllers.
In this new guide, we are going to implement Command Namespaces to organize Controllers and create a standard... | https://dev.to/erikaheidi/building-minicli-autoloading-command-namespaces-3ljm | CC-MAIN-2021-49 | en | refinedweb |
2018-03-05
Announcing Dotty 0.6.0 and 0.7.0-RC1
Today, we are excited to release Dotty versions 0.6.0 and 0.7.0-RC1. These releases serve as a technology preview that demonstrates new language features and the compiler supporting them.
If you’re not familiar with Dotty, it's a platform to try out new language concepts ... | http://dotty.epfl.ch/blog/2018/03/05/seventh-dotty-milestone-release.html | CC-MAIN-2019-04 | en | refinedweb |
Prefetch normal module requests, causing them to be resolved and built before the first
import or
require of that module occurs. Using this plugin can boost performance. Try to profile the build first to determine clever prefetching points.
new webpack.PrefetchPlugin([context], request);
context: An absolute path to a ... | https://webpack.js.org/plugins/prefetch-plugin/ | CC-MAIN-2019-04 | en | refinedweb |
An Overview and Example of Android Event Handling
Much has been covered in the previous chapters relating to the design of user interfaces fo Android applications. An area that has yet to be covered, however, involves the way in which a user’s interaction with the user interface triggers the underlying activity to perf... | https://www.techotopia.com/index.php?title=An_Overview_and_Example_of_Android_Event_Handling&oldid=29532 | CC-MAIN-2019-04 | en | refinedweb |
You have now learned the fundamental structure of methods, but there are still many other features you have to learn. For example, take the code below that was shown in lesson 1 (What is Programming).
public static String toBaseN(int num, int base) { String newNum = ""; while (num > 0) { int result = num % base; newNum... | https://teamscode.com/learn/ap-computer-science/advanced-methods/ | CC-MAIN-2019-04 | en | refinedweb |
Plugins grant unlimited opportunity to perform customizations within the webpack build system. This allows you to create custom asset types, perform unique build modifications, or even enhance the webpack runtime while using middleware. The following are some features of webpack that become useful while writing plugins... | https://webpack.js.org/contribute/plugin-patterns/ | CC-MAIN-2019-04 | en | refinedweb |
sw/source/filter/xml/xmltbli.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 7749e10198dc1ca49f39955a706209da65a818c4 Author: Stephan Bergmann <sberg...@redhat.com> Date: Fri Feb 9 09:32:06 2018 +0100 ...and Clang is not affected at all (It wouldn't really hurt to have the line enabled for ... | https://www.mail-archive.com/libreoffice@lists.freedesktop.org/msg208774.html | CC-MAIN-2019-04 | en | refinedweb |
(setq initial-frame-alist '((top . 0) (left . 0) (width . 120) (height . 80)))
How to Use Emacs, an Excellent Clojure Editor
On your journey to Clojure mastery, your editor will be your closest ally. I highly recommend working with Emacs, but you can, of course, use any editor you want. If you don’t follow the thorough... | https://www.braveclojure.com/basic-emacs/ | CC-MAIN-2019-04 | en | refinedweb |
A.
To use this plugin, add
system_setting as a dependency in your pubspec.yaml file.
For iOS,
SettingTarget will not have any effect. It will always go to app setting.
import 'package:flutter/material.dart'; import 'packages:system_setting/system_setting.dart'; void main() => runApp(MaterialApp( home: Scaffold( body: C... | https://pub.dartlang.org/packages/system_setting | CC-MAIN-2019-04 | en | refinedweb |
How to Calculate Levenshtein Distance in Java?
Last modified: November 3, 2018
1. Introduction
In this article, we describe the Levenshtein distance, alternatively known as the Edit distance. The algorithm explained here was devised by a Russian scientist, Vladimir Levenshtein, in 1965.
We’ll provide an iterative and a... | https://www.baeldung.com/java-levenshtein-distance | CC-MAIN-2019-04 | en | refinedweb |
The deductibility of a deceased individual’s losses from investments in oil and gas partnerships, and the Tax Department’s ability to assess income tax after the three-year statute of limitations has closed, is the subject of an interesting recent decision by a New York State Administrative Law Judge. The decision addr... | https://www.lexology.com/library/detail.aspx?g=f168d1ca-6439-45bb-aee3-9165b8f7aac9 | CC-MAIN-2019-04 | en | refinedweb |
import vtk
import numpy as np
from itertools import product as itprod
vertices = np.array(list(itprod([0, 1], repeat=3)))
print vertices.shape[0] //8 vertices
print vertices.shape[1] //3 coordinates x-y-z
array = vtk.vtkFloatArray()
array.SetNumberOfComponents(vertices.shape[1])
array.SetNumberOfTuples(vertices.shape[0... | https://codedump.io/share/WwUDV8XvIAXe/1/vtkpython-vtkfloatarray-setters-for-tuple-and-component-don39t-commute | CC-MAIN-2017-13 | en | refinedweb |
Stephen Toub: Task-Based Asynchrony with Async
.
Actual format may change based on video formats available and browser capability. VB.netters berate Microsoft
with now.
mmm.
Yes
Unsafe? No
I think Extension Custom Operators would be interesting.
These custom operator have no precedence, so you need to use ( )'s accompl... | https://channel9.msdn.com/Shows/Going+Deep/Lucian-Wischik-Inside-VBNET-Async?format=flash | CC-MAIN-2017-13 | en | refinedweb |
Probability Density Functions (PDFs) describe probability of observing some continuous random variable in some region of space. For one dimensional random variable X, recall that PDF f(x) follows the properties that
Probability that variable takes values between
Probability that variable takes values exactly equal to
E... | http://www.edupristine.com/blog/density-estimation-using-histograms | CC-MAIN-2017-13 | en | refinedweb |
The following form allows you to view linux man pages.
#include <math.h>
double tan(double x);
float tanf(float x);
long double tanl(long double x);
Link with -l radi-
ans..
Multithreading (see pthreads(7))
The tan(), tanf(), and tanl() functions are thread-safe.
C99, POSIX.1-2001. The variant returning double also con... | http://www.linuxguruz.com/man-pages/tanl/ | CC-MAIN-2017-13 | en | refinedweb |
Red Hat Bugzilla – Bug 23221
up2date fails on run, AttributeError: Up2dateConfig (wrong config is read)
Last modified: 2015-01-07 18:42:41 EST
up2date consistently fails to run on RH 62.
up2date version:
Name : up2date Relocations: (not relocateable)
Version : 2.1.7 Vendor: Red Hat, Inc.
Release : 0.6.x Build Date: Thu... | https://bugzilla.redhat.com/show_bug.cgi?id=23221 | CC-MAIN-2017-13 | en | refinedweb |
MooseX::Role::Restricted - (DEPRECATED) Restrict which sub are exported by a role
package MyApp::MyRole; use MooseX::Role::Restricted; sub method1 { ... } sub _private1 { ... } sub _method2 :Public { ... } sub private2 :Private { ... }
This module is no longer supported. I suggest looking at namespace::autoclean as an ... | http://search.cpan.org/~gbarr/MooseX-Role-Restricted-1.03/lib/MooseX/Role/Restricted.pm | CC-MAIN-2017-13 | en | refinedweb |
The RDF data model [7] represents information as sets of statements, which can be visualized as node-and-arc-labeled directed graphs. The data model is designed for the integrated representation of information that originates from multiple sources, is heterogeneously structured, and is represented using different schema... | http://academlib.com/20519/_computer_science/data_model | CC-MAIN-2017-13 | en | refinedweb |
fredrikj.net / blog /
Hypergeometric 2F1, incomplete beta, exponential integrals
June 11, 2009
One of the classes of functions I’m currently looking to improve in mpmath is the hypergeometric functions; particularly 1F1 (equivalently the incomplete gamma function) and the Gauss hypergeometric function 2F1.
For example,... | http://fredrikj.net/blog/2009/06/hypergeometric-2f1-incomplete-beta-exponential-integrals/ | CC-MAIN-2017-13 | en | refinedweb |
ldns_dnssec_zone, ldns_dnssec_name, ldns_dnssec_rrs, ldns_dnssec_rrsets-
#include <stdint.h> #include <stdbool.h> #include <ldns/ldns.h> ldns_dnssec_zone();; /** * Set to true if this name is glue * (as marked by ldns_dnssec_zone_mark_glue()) */;_dnssec_zone_new, ldns_dnssec_name_new, ldns_dnssec_rrs_new, ldns_dnssec_r... | http://huge-man-linux.net/man3/ldns_dnssec_zone.html | CC-MAIN-2017-13 | en | refinedweb |
View Complete Post,
I want to fetch data from mysql database to asp.net dropdown control. How can I do this.
I can fetch data from ms sql server to asp.net page. Please help me to fetch data from mysql database.
i have a dropdownbox and a gridview
what I want is to have a list item which populates all data in a gridvie... | http://www.dotnetspark.com/links/21650-linq-problem-fetching-data.aspx | CC-MAIN-2017-13 | en | refinedweb |
This documentation is archived and is not being maintained.
list::front
Visual Studio 2008
Returns a reference to the first element in a list.
If the return value of front is assigned to a const_reference, the list object cannot be modified. If the return value of front is assigned to a reference, the list object can b... | https://msdn.microsoft.com/en-us/library/a5e17kyc(v=vs.90) | CC-MAIN-2017-13 | en | refinedweb |
This is your resource to discuss support topics with your peers, and learn from each other.
01-26-2011 02:16 PM
that might be it. try creating a new project using Flex Mobile Project instead and just try the swipe down on it and then push it into the playbook simulator.
also were you able to test on the simulator with ... | https://supportforums.blackberry.com/t5/Adobe-AIR-Development/Swipe-Down-Event/m-p/757287 | CC-MAIN-2017-13 | en | refinedweb |
Pádraig Brady <address@hidden> writes: > Jim Meyering wrote: >> Pádraig Brady wrote: >> >>> Jim Meyering wrote: >>>> Eric Blake wrote: >>>>> According to Pádraig Brady on 10/5/2009 3:53 PM: >>>>>>>>> This is a new test, but FC5 is soooo old, >>>>>>>>> that I'm not sure it's worth worrying about. >>>>>>>> March 2006? >>... | http://lists.gnu.org/archive/html/bug-gnulib/2009-10/msg00081.html | CC-MAIN-2014-52 | en | refinedweb |
Strategy methodology of Adaptive Object Modeling. Strategy methodology maintains that the operations and business rules or code flow of a class should be held as a collection of properties, as opposed to single method calls, which can changed at runtime. A Strategy pattern is a set of algorithms. So a Strategy pattern... | http://www.codeproject.com/Articles/10089/Refactoring-to-Adaptive-Object-Modeling-Strategy-P?msg=1855623 | CC-MAIN-2014-52 | en | refinedweb |
11 May 2007 17:01 [Source: ICIS news]
LONDON (ICIS news)--The International Energy Agency (IEA) has renewed its call on OPEC to increase oil output before the summer to avoid a sharp decline in global oil stocks.
?xml:namespace>
In its monthly oil market report, the Paris-based IEA estimated total OPEC production for A... | http://www.icis.com/Articles/2007/05/11/9028233/iea-calls-on-opec-to-help-build-up-stocks.html | CC-MAIN-2014-52 | en | refinedweb |
Hi All,
I am new in lucene!
I am trying to do my own nalyzer (myAnalyzer) in lucene. I worte it and I
compile it, then i add myAnlayzer.class to the folder
\org\apache\lucene\analysis and then i create new jar files which
contains myAnalyzer and the other files, then i imported myanalyzer in
IndexFile.java successfully... | http://mail-archives.apache.org/mod_mbox/lucene-java-user/200807.mbox/%3C18360568.post@talk.nabble.com%3E | CC-MAIN-2014-52 | en | refinedweb |
.
Microlog - a Log4j-based tool for Java ME
Introduction
When we are "logging" codes, we can insert statements into the code and get some useful output information during runtime, such as malfunction code and unexpected errors and behaviors. Examples of logging are trace statements, dumping of structures and the famili... | http://developer.nokia.com/community/wiki/Microlog_-_a_Log4j-based_tool_for_Java_ME | CC-MAIN-2014-52 | en | refinedweb |
UPDATED LINK: (tl;dr)
Our friends over in the ASP.NET team are working on a very nice, lightweight web-browser eventing technology called SignalR. SignalR allows server-pushed events into the browser with a variety of transport options and a very simple programming model. You can get it via NuGet and/or see growing and... | http://vasters.com/clemensv/CommentView,guid,e8d14433-f773-4a19-91c0-138a9770a7c8.aspx | CC-MAIN-2014-52 | en | refinedweb |
It's recommended practice to change the mouse cursor to
an hourglass wait cursor to inform the user that the program is
working on something. This is easy enough to do when the programmer
knows in advance that something is going to take a while.
However, there are often circumstances where you can't predict
how long so... | http://www.codeproject.com/Articles/1699/Auto-Wait-Cursor?msg=260041 | CC-MAIN-2014-52 | en | refinedweb |
John Simmons / outlaw programmer wrote:the code in that file merely kicks things off for a game.
The report of my death was an exaggeration - Mark Twain
Simply Elegant Designs JimmyRopes DesignsThink inside the box! ProActive Secure Systems
I'm on-line therefore I am.
JimmyRopes
public class Naerling : Lazy<Person>{
pu... | http://www.codeproject.com/Lounge.aspx?msg=4390117 | CC-MAIN-2014-52 | en | refinedweb |
29 December 2009 12:00 [Source: ICIS news]
By Florian Neuhof
LONDON (ICIS news)--The European biodiesel industry is no stranger in the hallways of bureaucratic power in ?xml:namespace>
In March 2009, lobbying by the European Biodiesel Board (EBB) led to the implementation of punitive import tariff on biodiesel coming i... | http://www.icis.com/Articles/2009/12/29/9321855/OUTLOOK-10-Bloated-biodiesel-industry-on-EU-life-support.html | CC-MAIN-2014-52 | en | refinedweb |
On Fri, Sep 03, 2010 at 07:29:26AM +0900, YONETANI Tomokazu wrote: > On Thu, Sep 02, 2010 at 06:27:57PM +0000, Pratyush Kshirsagar wrote: > > diff --git a/sys/vm/vm_map.c b/sys/vm/vm_map.c > > index a326037..4eb9026 100644 > > --- a/sys/vm/vm_map.c > > +++ b/sys/vm/vm_map.c > > @@ -3657,3 +3657,20 @@ DB_SHOW_COMMAND(pr... | http://leaf.dragonflybsd.org/mailarchive/kernel/2010-09/msg00011.html | CC-MAIN-2014-52 | en | refinedweb |
For a web application that allows multiple users to edit data, there is the risk that two users may be editing the same data at the same time. In this tutorial we'll implement optimistic concurrency control to handle this risk.
Introduction. Without any concurrency policy in place, when two users are simultaneously edi... | http://www.asp.net/web-forms/overview/data-access/editing,-inserting,-and-deleting-data/implementing-optimistic-concurrency-cs | CC-MAIN-2014-52 | en | refinedweb |
module Language.HERMIT.Primitive.Fold ( externals , foldR , stashFoldR ) where import GhcPlugins hiding (empty) import Control.Applicative import Control.Monad import Data.List (intercalate) import qualified Data.Map as Map import Language.HERMIT.Monad import Language.HERMIT.Context import Language.HERMIT.External impo... | http://hackage.haskell.org/package/hermit-0.1.2.0/docs/src/Language-HERMIT-Primitive-Fold.html | CC-MAIN-2014-52 | en | refinedweb |
/*
This file is part of [aconnect] library.
Author: Artem Kustikov (kustikoff[at]tut.by)
version: 0.1
This code is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any
damages arising from the use of this code.
Permission is granted to anyone to use this code fo... | http://www.codeproject.com/script/Articles/ViewDownloads.aspx?aid=26556&zep=ahttplib%2Faconnect%2Fserver_settings.hpp&rzp=%2FKB%2Fcpp%2Fahttpserver%2F%2Fahttpserver_src.zip | CC-MAIN-2014-52 | en | refinedweb |
Why notify/notifyAll() method doesnt invoke a waiting thread quickly?????
sajjad ahmad
Ranch Hand
Joined: Jan 23, 2003
Posts: 78
posted
Apr 22, 2007 10:03:00
0
I am currently working on a socket based IM server, I get messages from multiple clients simultaneously and put them into queues, for each queue in my server I... | http://www.coderanch.com/t/233764/threads/java/notify-notifyAll-method-doesnt-invoke | CC-MAIN-2014-52 | en | refinedweb |
.
Data validation using Fluent Validation in Windows Phone
This article explains how to validate data in Windows Phone 8 using the Fluent Validation library.
Windows Phone 8
Introduction
Data validation is required almost everywhere an app takes data input. There are many approaches for Sliverlight/WPF and most of them... | http://developer.nokia.com/community/wiki/Data_validation_using_Fluent_Validation_in_Windows_Phone | CC-MAIN-2014-52 | en | refinedweb |
This chapter describes how to manage the Oracle9iAS Containers for J2EE (OC4J) JAAS Provider in Java2 Platform, Standard Edition (J2SE) and Java2 Platform, Enterprise Edition (J2EE) environments.
This chapter contains these topics:
Managing the JAAS provider in the J2SE and J2EE environments involves creating and manag... | http://docs.oracle.com/cd/A97329_03/web.902/a95879/jaas_man.htm | CC-MAIN-2014-52 | en | refinedweb |
I was writing up a little game kit, when i ran into a little problem. When you enter a command, it skips past all the if/else statements, and defaults to the final else statement.
import java.util.*; //used to make imput work class Text_Game_Kit { //main method, where the game takes place public static void main(String... | http://www.javaprogrammingforums.com/whats-wrong-my-code/37914-bad-output.html | CC-MAIN-2014-52 | en | refinedweb |
On Fri, Nov 19, 2010 at 12:37 PM, Alex Karasulu <akarasulu@apache.org> wrote:
>
>
> On Fri, Nov 19, 2010 at 12:29 PM, Kiran Ayyagari <kayyagari@apache.org>
> wrote:
>>
>> On Fri, Nov 19, 2010 at 12:14 PM, Alex Karasulu <akarasulu@apache.org>
>> wrote:
>> > Hi Emmanuel, Antione,
>> >
>> > On Fri, Nov 19, 2010 at 11:41 A... | http://mail-archives.apache.org/mod_mbox/directory-dev/201011.mbox/%3CAANLkTi=8Xt0PS2BJiKCkV4c2G2tj0h4=MGTorfwobtt7@mail.gmail.com%3E | CC-MAIN-2014-52 | en | refinedweb |
after about 8 years of C and bourne, i finally decided to learn a descent language. and by learn, i mean learn from the beginning, as a baby. making things clean, trying to forget crappy things i made in the past. So, i decided to choose vala for testing my fresh baby brain. This first post on vala is be the beginning ... | http://www.advogato.org/person/groom/diary.html?start=49 | CC-MAIN-2014-52 | en | refinedweb |
02 September 2008 10:23 [Source: ICIS news]
LONDON (ICIS news)--NYMEX light sweet crude futures plummeted by almost $10.00/bbl on Tuesday to take the front month October contract close to $105.50/bbl after reports Hurricane Gustav had caused minimal damage to oil facilities in the US Gulf.
?xml:namespace>
By 09:16 GMT,... | http://www.icis.com/Articles/2008/09/02/9153259/us-crude-plummets-10bbl-as-gustav-passes.html | CC-MAIN-2014-52 | en | refinedweb |
In this tutorial, we will go over several ways that you can use to subset a dataframe. If you are importing data into Python then you must be aware of Data Frames. A DataFrame is a two-dimensional data structure, i.e., data is aligned in a tabular fashion in rows and columns.
Subsetting a data frame is the process of s... | https://www.askpython.com/python/examples/subset-a-dataframe | CC-MAIN-2021-31 | en | refinedweb |
We can refresh a webpage using Selenium webdriver in Python. This can be done with the help of the refresh method. First of all, we have to launch the application with the get method.
Once a web page is loaded completely, we can then refresh the page with the help of the refresh method. This way the existing page gets ... | https://www.tutorialspoint.com/how-to-refresh-a-webpage-using-python-selenium-webdriver | CC-MAIN-2021-31 | en | refinedweb |
CURLOPT_PROXYUSERPWD explained
NAME
CURLOPT_PROXYUSERPWD - user name and password to use for proxy authentication
SYNOPSIS
#include <curl/curl.h>
CURLcode curl_easy_setopt(CURL *handle, CURLOPT_PROXYUSERPWD, char *userpwd);
DESCRIPTION is used - beware.)
Use CURLOPT_PROXYAUTH to specify the authentication method.
The a... | https://curl.haxx.se/libcurl/c/CURLOPT_PROXYUSERPWD.html | CC-MAIN-2018-43 | en | refinedweb |
SystemParametersInfoA function
Retrieves or sets the value of one of the system-wide parameters. This function can also update the user profile while setting a parameter.
Syntax
BOOL SystemParametersInfoA( UINT uiAction, UINT uiParam, PVOID pvParam, UINT fWinIni );
Parameters
uiAction
Type: UINT
The system-wide paramet... | https://docs.microsoft.com/en-us/windows/desktop/api/winuser/nf-winuser-systemparametersinfoa | CC-MAIN-2018-43 | en | refinedweb |
Heap Sort:
Heap sort is a comparison based sorting technique based on Binary Heap data structure. It is similar to selection sort where we first find the maximum element and place the maximum element at the end. We repeat the same process for remaining element.
Binary Heap:
Let us first define a Complete Binary Tree. A... | https://proprogramming.org/heap-sort-in-c/ | CC-MAIN-2018-43 | en | refinedweb |
Talk:Date specification
- if there are real ambiguities in the previous version of the document please point out which precisely
- fixed numbers of digits etc can't be enforced. If you don't know on which day of 1761 a road was opened it would be wrong to enter a fake day/month just to simplify parsing. Hence relying o... | https://wiki.openstreetmap.org/wiki/Talk:Date_specification | CC-MAIN-2018-43 | en | refinedweb |
What's new for Visual Basic
This topic lists key feature names for each version of Visual Basic, with detailed descriptions of the new and enhanced features in the latest versions of the language.
Current version
Visual Basic 15.5 / Visual Studio 2017 Version 15.5
For new features, see Visual Basic 15.5
Previous versio... | https://docs.microsoft.com/en-us/dotnet/visual-basic/getting-started/whats-new | CC-MAIN-2018-43 | en | refinedweb |
i have to create a city application that prompts the user for a series of city names and then displays the number of city names entered and then the name of the city with the most characters in uppercase letters.
how come it always output the last name entered ?
import java.util.Scanner; public class Cities { public st... | https://www.daniweb.com/programming/software-development/threads/398821/string-problem | CC-MAIN-2018-43 | en | refinedweb |
Ballerina Services in Serverless World
Ballerina Services in Serverless World
Learn how to run Ballerina Services in a serverless capacity in conjunction with Amazon AWS.
Join the DZone community and get the full member experience.Join For Free
Insight into the right steps to take for migrating workloads to public clou... | https://dzone.com/articles/ballerina-services-in-serverless-world | CC-MAIN-2018-43 | en | refinedweb |
sandbox/Antoonvh/testpoisson.c
Convergence of the Poisson solver in 1D
On this page we try to find some of the convergence properties of the Basilisk poisson solver. The used solver is of the ‘multi-grid’ type and untilizes an iterative scheme to arrive at an converged solution. By default the solver iterates untill th... | http://basilisk.fr/sandbox/Antoonvh/testpoisson.c | CC-MAIN-2018-43 | en | refinedweb |
Maths › Approximation › Regression ›
Linear
Calculates the linear regression parameters and evaluates the regression line at arbitrary abscissasController: CodeCogs
Interface
C++
HTML
Class LinearLinear regression is a method to best fit a linear equation (straight line) of the form
Example 1
- The following example di... | http://www.codecogs.com/library/maths/approximation/regression/linear.php | CC-MAIN-2018-43 | en | refinedweb |
.
Let’s consider the following sample code where three different types are defined –
Apple,
Banana and
Pear. Each of these classes implement a common interface
IFruit and the view model exposes a collection of fruits that a
ListBox in the view binds to. The details of the currently selected fruit are displayed in a
Con... | https://blog.magnusmontin.net/2017/03/25/uwp-implicit-data-template/ | CC-MAIN-2018-43 | en | refinedweb |
The psychological effects of centrality bias: an experimental analysis
- 357 Downloads
Abstract
This paper examines the psychological mechanisms that are activated by centrality bias in the context of subjective performance evaluation. Centrality bias refers to compressed evaluations of subordinates, implying that the ... | https://link.springer.com/article/10.1007/s11573-018-0908-6 | CC-MAIN-2018-43 | en | refinedweb |
@.;-)
markzz commented on 2015-05-28 23:35
Found new location for the archive. Updated package to 1.1.8-11.
markzz commented on 2015-05-28 22:21
And do you know of another location to get the tar archive... If not, this is not repairable.
rawa commented on 2015-05-28 22:03
Url to not working.
Returns:
No Such Resource
... | https://aur.archlinux.org/packages/fluxgui/?comments=all | CC-MAIN-2016-30 | en | refinedweb |
a WSDL interface from within JDeveloper by simply running a wizard.
Logical Connection Names
All adapters, whether these are used to connect to an FTP server or access an MQ-Series queue, use logical connection names or JNDI names that must be specified at design time. At runtime, the adapter framework uses these JNDI... | https://technology.amis.nl/2007/08/17/using-ant-to-inspect-connection-properties-in-wsdl-files-that-are-generated-by-oracle-soa-suite-adapters/ | CC-MAIN-2016-30 | en | refinedweb |
Hello everyone, I am so close to achieving my goal with this program. I just can't seam to figure out where the for loop goes wrong and "mis-counts" the amount of consonants and vowels. Also, in the else...if statement if anyone has advise to make it so it excludes all characters (like !, -, ...etc) besides vowels that... | http://www.javaprogrammingforums.com/whats-wrong-my-code/7653-counting-vowels-consonants-string.html | CC-MAIN-2016-30 | en | refinedweb |
Now that it is needed since web2py exports already in CSV but you can do define
def export_xml(rows): idx=range(len(rows.colnames)) colnames=[item.replace('.','_') for item in rows.colnames] records=[] for row in rows.response: records.append(TAG['record'](*[TAG[colnames[i]](row[i]) for i in idx])) return str(TAG['reco... | http://www.web2py.com/AlterEgo/default/show/74 | CC-MAIN-2016-30 | en | refinedweb |
On Thu, 2003-07-31 at 13:42, Glenn Sieb wrote: > Jim Breton said: > > I have set up the above on a FreeBSD 4.7 system with the intention of > > being able to host per-virtual-domain mailing lists. > > Yay! Another FBSD user! :) > > > I want to be able to have: > > > > list01 at domain1.com > > and > > list01 at domain2... | https://mail.python.org/pipermail/mailman-users/2003-July/030743.html | CC-MAIN-2016-30 | en | refinedweb |
There is an open source program called MSWordView that is able to
convert a MS Word 97 table into HTML. I tried version 0.7.4 of abiword
and it does not handle tables well (if at all). I have a friend who
could end his dual boot days if he had a piece of software on Linux that
could import and export tables in MS Word ... | http://www.abisource.com/mailinglists/abiword-user/99/August/0013.html | CC-MAIN-2016-30 | en | refinedweb |
Microsoft .NET Framework 3.0 Programming Model
Microsoft .NET Framework 3.0, the managed programming model for Microsoft® Windows®, includes the .NET Framework 2.0, Windows Presentation Foundation, Windows Communication Foundation, and Windows Workflow Foundation.
The documentation, samples, and tools provided in this ... | https://msdn.microsoft.com/en-us/library/ms687300.aspx | CC-MAIN-2016-30 | en | refinedweb |
In this tutorial, we're going to write a very simple GTK application that loads and displays an image file. You will learn how to:
Write a basic GTK user interface in Python
Deal with events by connecting signals to signal handlers
Lay out GTK user interfaces using containers
Load and display image files
You'll need th... | https://developer.gnome.org/gnome-devel-demos/stable/image-viewer.py.html.en | CC-MAIN-2016-30 | en | refinedweb |
Scenario Marker Support
The Scenario class is a free download on the MSDN Code Gallery Web site. By using Scenario, you can mark the exact beginning and ending points of a section of code that you want to profile. Concurrency Visualizer displays these markers in Threads View, Cores View, and CPU Utilization View. To di... | https://msdn.microsoft.com/en-us/library/dd984115(v=vs.100).aspx | CC-MAIN-2016-30 | en | refinedweb |
I regularly have to work with XML files which are presented without line breaks which makes tracking down errors much harder than it needs to be. eg
<:
one,two,three,four,five
six,seven,eight,nine,ten
becomes
one,two ,three,four,five
six,seven,eight,nine,ten
Any ideas as to how I could do this?
Cheers,Mick
Hi Mick,
I u... | https://forum.sublimetext.com/t/formatting-data/1544/3 | CC-MAIN-2016-30 | en | refinedweb |
John. I'd like to thank my family for their continuous support. Elena Renard and Joakim Erdfelt for their many contributions to the book. Ruel Loehr. Jason. and the teammates during my time at Softgal. Emmanuel Venisse and John Tolentino. Stephane Nicoll. Allan Ramirez. Felipe Leme. Also. Thanks also to all the people... | https://pt.scribd.com/doc/37780726/BetterBuildsWithMaven-1-0-2 | CC-MAIN-2016-30 | en | refinedweb |
public class ServerCloneException extends CloneNotSupportedException
ServerCloneExceptionis thrown if a remote exception occurs during the cloning of a
UnicastRemoteObject.
As of release 1.4, this exception has been retrofitted to conform to
the general purpose exception-chaining mechanism. The "nested
ServerCloneExcep... | http://docs.oracle.com/javase/7/docs/api/java/rmi/server/ServerCloneException.html | CC-MAIN-2016-30 | en | refinedweb |
Can someone tell me if the following is actually possible, and if it is then
perhaps someone could point me to some code that explains how to do it, if
possible in really simple baby steps. Assume i have next to no knowledge of
tomcat or developing in the java platform at all (the reason being I am new
to this but have... | http://mail-archives.apache.org/mod_mbox/jackrabbit-users/200908.mbox/%3C25101779.post@talk.nabble.com%3E | CC-MAIN-2016-30 | en | refinedweb |
Hi all, I'm new at Python, and I've got a few questions.. First I'll explain what i'm trying to do: I'm writing a win32 application that needs a script interpreter to extend functionality (duh). I want the program to be only 1 binary, so I have to link it into the executable, I read the FAQ about the module importing p... | https://mail.python.org/pipermail/python-list/2000-November/050866.html | CC-MAIN-2016-30 | en | refinedweb |
plone.jsonapi.routes 0.2
Plone JSON API -- Routes
plone.jsonapi.routes
Table of Contents
Introduction
This is an add-on package for plone.jsonapi.core which provides some basic URLs for Plone standard contents (and more).
Motivation
The routes package is built on top of the plone.jsonapi.core package to allow Plone dev... | https://pypi.python.org/pypi/plone.jsonapi.routes/0.2 | CC-MAIN-2016-30 | en | refinedweb |
Easier Immutable Objects in C# and VB
- |
-
-
-
-
-
-
-
Read later
My Reading List
A common pain point in .NET programming is the amount of boilerplate code necessary to implement immutable objects. Unlike a normal class, and immutable class requires that each property have an explicitly defined backing store. And of c... | https://www.infoq.com/news/2014/08/Record-Class | CC-MAIN-2016-30 | en | refinedweb |
Ok, well I attempted another exercise in the book. It was to 'Write a program that reads in a sequence of positive numbers and prints out the total and average value. The end of the sequence should be signalled by entering -1'.
This is what I came up with:
Only when I enter -1 it messes up and says an error log is bein... | http://cboard.cprogramming.com/cplusplus-programming/78098-another-problem-printable-thread.html | CC-MAIN-2016-30 | en | refinedweb |
Looks like interesting work. How does this differ from the already existing Time library?
Was looking at your code, alvarojusten, saw the function to represent the day of week as a string. Don't know if you noticed, but all the clock does in increment the day of the week by one (rolling from 7 to 1) every time it hits ... | http://forum.arduino.cc/index.php?topic=59256.msg496464 | CC-MAIN-2016-30 | en | refinedweb |
Details
- Type:
Improvement
- Status: Closed
- Priority:
Minor
- Resolution: Fixed
- Affects Version/s: 4.7
-
- Component/s: modules/analysis
-
- Lucene Fields:New, Patch Available
Description
Add a TokenFilter that strips characters after an apostrophe (including the apostrophe itself).
Activity
- All
- Work Log
- His... | https://issues.apache.org/jira/browse/LUCENE-5482 | CC-MAIN-2016-30 | en | refinedweb |
Re: volatile Info
- From: crisgoogle <crisgoogle@xxxxxxxxx>
- Date: Fri, 6 Aug 2010 14:24:27 -0700 (PDT)
On Aug 6, 12:22 pm, Keith Thompson <ks...@xxxxxxx> wrote:.
First off, I totally agree that this is all rather academic unless
you actually own a DS9K.
And I can't quite put my finger on what I'm trying to get at her... | http://coding.derkeiler.com/Archive/C_CPP/comp.lang.c/2010-08/msg00455.html | CC-MAIN-2016-30 | en | refinedweb |
suported..
Examples
GVariant *value1, *value2, *value3, *value4; value1 = g_variant_new ("y", 200); value2 = g_variant_new ("b", TRUE); value3 = g_variant_new ("d", 37.5): value4 = g_variant_new ("x", G_GINT64_CONSTANT (998877665544332211)); { gdouble floating; gboolean truth; gint64 bignum; g_variant_get (value1, "y"... | http://developer.gnome.org/glib/unstable/gvariant-format-strings.html | crawl-003 | en | refinedweb |
Paul Haeberli
Silicon Graphics Computer Systems
paulhaeberli@yahoo.com].
And this function will read a long value from the file:
static long getlong(inf) FILE *inf; { unsigned char buf[4]; fread(buf,4,1,inf); return (buf[0]<<24)+(buf[1]<<16)+(buf[2]<<8)+(buf[3]<<0); }
If the image is not run length encoded, this is the... | http://www.talisman.org/~erlkonig/misc/sgi-image-file-format-spec.html | crawl-003 | en | refinedweb |
#include <openssl/ssl.h>
void SSL_CTX_set_tmp_dh_callback(SSL_CTX *ctx,
DH *(*tmp_dh_callback)(SSL *ssl, int is_export, int keylength));
long SSL_CTX_set_tmp_dh(SSL_CTX *ctx, DH *dh);
void SSL_set_tmp_dh_callback(SSL_CTX *ctx,
DH *(*tmp_dh_callback)(SSL *ssl, int is_export, int keylength));
long SSL_set_tmp_dh(SSL *ssl... | http://www.syzdek.net/~syzdek/docs/man/.shtml/man3/SSL_CTX_set_tmp_dh_callback.3.html | crawl-003 | en | refinedweb |
This "software driver" implements the communication protocol for interfacing a SICK LMS 2XX laser scanners through a standard RS232 serial port (or a USB2SERIAL converter).
The serial port is opened upon the first call to "doProcess" or "initialize", so you must call "loadConfig" before this, or manually call "setSeria... | http://reference.mrpt.org/stable/classmrpt_1_1hwdrivers_1_1_c_sick_laser_serial.html | crawl-003 | en | refinedweb |
1 Background
=============
Android applications are executed in a sandbox environment, to ensure that no
application can access sensitive information held by another, without adequate
privileges. For example, Opera Mobile holds sensitive information such as
cookies, cache and history, and this cannot be accessed by thi... | http://www.linuxrocket.net/14953-Advisory_Opera_Mobile_Cache_Poisoning_XAS.htm | crawl-003 | en | refinedweb |
#include <openssl/ssl.h>
int SSL_pending(const SSL *ssl);
SSL_pending() returns the number of bytes which are available inside
ssl for immediate read.
Data are received in blocks from the peer. Therefore data can be
buffered inside ssl and are ready for immediate retrieval with
SSL_read(3).
The number of bytes pending ... | http://www.syzdek.net/~syzdek/docs/man/.shtml/man3/SSL_pending.3.html | crawl-003 | en | refinedweb |
#include <openssl/ssl.h>
SSL *SSL_new(SSL_CTX *ctx);.
The following return values can occur:
NULL
The creation of a new SSL structure failed. Check the error stack
to find out the reason.
Pointer to an SSL structure
The return value points to an allocated SSL structure.
SSL_free(3), SSL_clear(3), SSL_CTX_set_options(3)... | http://www.syzdek.net/~syzdek/docs/man/.shtml/man3/SSL_new.3.html | crawl-003 | en | refinedweb |
>>?"
No it isn't. Now let's get back to work. (Score:1, Interesting)
Codeplex was created to undermine the open source and more particularly the free software movement. Well, they launched their Tet offensive and it was massively funded, but it failed.
They'll have to try something else.
Re: (Score:3, Insightful)
Yep, ... | http://news.slashdot.org/story/10/06/23/1351230/is-the-codeplex-foundation-truly-independent-now | crawl-003 | en | refinedweb |
>>.
Give it 28 years (Score:5, Insightful)
Re: (Score:2, Interesting)
Re: (Score:3, Interesting)
Especially when the 32-bit time_t overflows. The good news is that most 64-bit OSes already uses a 64-bit time_t, but there still is the issue of truncation to 32-bit.
Shouldn't the 32 bit time_t expire in 2106 [wolframalph... | http://tech.slashdot.org/story/10/01/01/024210/Raise-a-Glass-mdash-Time2-Turns-40-Tonight | crawl-003 | en | refinedweb |
QtMultimediaKit provides a set of APIs that allow the developer to play, record and manage a collection of media content. It is dependent on the QtMultimedia module. QtMultimediaKit is the recommended API to build multimedia applications using Qt. The Phonon API is no longer recommended.
Unlike the other APIs in QtMobi... | http://doc.troll.no/qtmobility-1.2/multimedia.html | crawl-003 | en | refinedweb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.