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 |
|---|---|---|---|---|---|
This document is a collection of some examples and tips for using redis, the open-source data structure server. It is intended primarily for developers, and deliberately omits some topics that will be important in any redis deployment, like security and backups.
Some Uses for Redis Data Types
You may have heard of Redi... | https://developer.mozilla.org/en-US/docs/Mozilla/Redis_Tips | CC-MAIN-2016-36 | refinedweb | 3,064 | 73.37 |
Applicative functor
From HaskellWiki Usage
4 Applicative transfomers
From the Monad Transformer Library we are used to have two flavours of every monad:A base monad like
In the transformers package we even have only monad transformersexcept the
So where are applicative transformers? The answer is, that we do not need s... | https://wiki.haskell.org/index.php?title=Applicative_functor&oldid=29065 | CC-MAIN-2015-22 | refinedweb | 239 | 56.18 |
Operating systems, development tools, and professional services
for connected embedded systems
for connected embedded systems
strcoll()
Compare two strings, using the locale's collating sequence
Synopsis:
#include <string.h> int strcoll( const char* s1, const char* s2 );
Arguments:
- s1, s2
- The strings that you want ... | http://www.qnx.com/developers/docs/6.3.2/neutrino/lib_ref/s/strcoll.html | crawl-003 | refinedweb | 167 | 50.53 |
In some of our recent Windows Phone events, I’ve been using an example “application” (i.e. it’s a demo, not a whole app) to try and talk about an approach to structure code such that a reasonable percentage of it is portable across both Windows 8 and Windows Phone 8 and with that portable code packaged into .NET portab... | http://mtaulty.com/CommunityServer/blogs/mike_taultys_blog/archive/2013/06/19/windows-8-and-prism-migrating-a-simple-example.aspx | CC-MAIN-2015-06 | refinedweb | 2,182 | 53.44 |
Rich:tree and drag and drop how-toFab Mars Feb 8, 2008 5:00 AM
I had to develop a drag'n'drop tree with folders and documents like you can find in Thunderbird for example.
The builtin drag'n'drop feature of the rich:tree is truly excellent, and the developer's guide explains a lot.
However I could never know how to mak... | https://developer.jboss.org/thread/9270 | CC-MAIN-2018-26 | refinedweb | 582 | 65.93 |
On 12/19/2012 11:21 AM, Daniel P. Berrange wrote:
On Wed, Dec 19, 2012 at 11:14:15AM +0100, Viktor Mihajlovski wrote: I think Eric means that on non-GCC this code: # if BROKEN_GCC_WLOGICALOP # pragma GCC diagnostic ignored "-Wlogical-op" # endif will cause the compiler to complain "Unknown pragma GCC diagnostic..." sin... | https://www.redhat.com/archives/libvir-list/2012-December/msg01196.html | CC-MAIN-2015-18 | refinedweb | 133 | 65.12 |
A Closer Look at XAML
A Closer Look at XAML
Join the DZone community and get the full member experience.Join For Free
I’ve seen people writing code rather in the XAML page than in the C# code page. Things seem to be easier, faster.
So I figured, it might be time to take a closer look.
XAML (Extensible Application Marku... | https://dzone.com/articles/closer-look-xaml | CC-MAIN-2018-22 | refinedweb | 401 | 61.16 |
I'm not sure, but I think you're trying to create a dynamic client which
is unfortunately not working for you. Hopefully someone else can answer
your specific question on this, but in the meantime, you might wish to
try the more traditional route of getting the WSDL and XSD's on your
machine locally, running wsdl2java ... | http://mail-archives.apache.org/mod_mbox/cxf-users/200803.mbox/%3C1206251232.10432.6.camel@gmazza-desktop%3E | CC-MAIN-2017-51 | refinedweb | 260 | 64 |
Eclipse Community Forums - RDF feed Eclipse Community Forums Re: Proposing Termination of the EDT Project. <![CDATA[translated using Google Translate: a year has passed and nothing has happened ... It would appear that, by reading posts by Tim Wilson, has stopped supporting edt when ibm has stopped paying for the proje... | http://www.eclipse.org/forums/feed.php?mode=m&l=1&basic=1&frm=190&n=10 | CC-MAIN-2016-26 | refinedweb | 733 | 63.59 |
How to: Raise Base Class Events in Derived Classes (C# Programming Guide)
The following simple example shows the standard way to declare events in a base class so that they can also be raised from derived classes. This pattern is used extensively in Windows Forms classes in the .NET Framework base class library.
When y... | http://msdn.microsoft.com/en-US/library/hy3sefw3(v=vs.80).aspx | CC-MAIN-2014-49 | refinedweb | 609 | 56.86 |
Is is possible to include a chart in a Word document, reading data from a mail merge origin?
I’ve tried to insert a Microsoft Graph object that reads data from a Word table, and filling that table with
merge fields, but graph data don’t get updated during MailMerge.Execute.
I suppose I could use merge events to process... | https://forum.aspose.com/t/mail-merge-and-charts/106831 | CC-MAIN-2021-04 | refinedweb | 173 | 73.17 |
It looks like that error is a WSAEPROVIDERFAILEDINIT error. From the link:
Service provider failed to initialize.
The requested service provider could not be loaded or initialized. This
error is returned if either a service provider's DLL could not be loaded
(LoadLibrary failed) or the provider's WSPStartup or NSPStart... | http://www.w3hello.com/questions/-compilation-error-while-converting-to-asp-net- | CC-MAIN-2018-17 | refinedweb | 2,130 | 65.42 |
The very first fully working version of
PythonMethod is ready.
After installing it, you can create Python Methods.
These can have any parameter list that a Python function could have, and contain regular Python code.
Right now, you can't import and there are no builtins, so you're pretty much restricted to manipulating... | http://old.zope.org/Members/4am/pm0-0-1/newsitem_view | CC-MAIN-2014-42 | refinedweb | 133 | 65.42 |
Hello,
I've got a problem with installing pyrosetta. I have already built it.
When trying to install it, the following error occurs :
Traceback (most recent call last):
File "pyrosetta_toolkit.py", line 16, in
from rosetta import *
ImportError: No module named rosetta
What should I do? Where can I find that module name... | https://rosettacommons.org/node/3352 | CC-MAIN-2021-43 | refinedweb | 714 | 68.97 |
Re: [9fans] Announcing: rootless post kernel load startup
- From: iru.muzgo@xxxxxxxxx (Iruata Souza)
- Date: Sun, 3 Jan 2010 02:29:46 GMT
On Sat, Jan 2, 2010 at 1:56 PM, mycroftiv 9gridchan
<mycroftiv@xxxxxxxxxxxxxxxxxxxx> wrote:
More recent work - available on sources in
contrib/mycroftiv/rootlessboot as both patches ... | http://newsgroups.derkeiler.com/Archive/Comp/comp.os.plan9/2010-01/msg00027.html | CC-MAIN-2013-20 | refinedweb | 1,121 | 51.28 |
Hello,
As a maintainer of graphics/opencv-core,/graphics/opencv-core/work/opencv-3.4.1/modules/core/src/parallel.cpp:92:14: fatal error: 'tbb/tbb_stddef.h' file not found
#include "tbb/tbb_stddef.h"
^~~~~~~~~~~~~~~~~~
1 warning.
Sorry, full run URL is the following:
Created attachment 221773 [details]
Patch to disable ... | https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252785 | CC-MAIN-2021-21 | refinedweb | 255 | 51.14 |
yeah me too, but the binaires produced are correct, I tested both shared and static libs.
Search Criteria
Package Details: mingw-w64-libxml2 2.9.4-1
Dependencies (5)
Required by (14)
- mingw-w64-evince-light
- mingw-w64-graphicsmagick (requires mingw-w64-libxml2) (optional)
- mingw-w64-graphicsmagick (make)
- mingw-w64... | https://aur.archlinux.org/packages/mingw-w64-libxml2/ | CC-MAIN-2017-22 | refinedweb | 480 | 57.47 |
Revision history for XML-Grammar-Fiction. 0.9.2 Sat 28 Jul 11:27:22 IDT 2012 * Add List::MoreUtils to the dependencies. - Some build failures at: - 0.9.1 Fri 27 Jul 21:40:10 IDT 2012 * Update the link to the repository in META.yml/META.json. 0.9.0 Fri 27 Jul 09:20:42 IDT 2012 * Add t/style-trailing-space.t to check for... | https://bitbucket.org/shlomif/fiction-xml/raw/7451df9e9dd6c03b6e0f95f23dee5b764f9ca223/perl/modules/XML-Grammar-Fiction/Changes | CC-MAIN-2015-48 | refinedweb | 1,683 | 60.92 |
Annoying “unable to find a medium containing a live file system” in UbuntuPosted: October 27, 2011 Filed under: Linux Leave a comment
Sometimes you may get this message when installing Ubuntu. And it’s not very helpful, the install just dies.
Assuming you created the installer appropriately (usb, live cd, whatever), on... | https://monoinfinito.wordpress.com/2011/10/ | CC-MAIN-2019-04 | refinedweb | 1,402 | 56.59 |
eduardo.padoan at gmail.com wrote: > I'm reading about "high order messages" in Ruby by Nat Pryce, and > thinking if it could be util and if so, if it could be done in Python. Nice sunday afternoon exercise. Yes, you can do this in python. This is based on a relatively naive translation of the ruby version: class Highe... | http://mail.python.org/pipermail/python-list/2005-October/347336.html | crawl-001 | refinedweb | 632 | 50.94 |
We are getting close to the end of this initial series of posts on getting IPython to work with Docker and OpenShift. In the last post we finally got everything working in plain Docker when a random user ID was used and consequently also under OpenShift.
Although we covered various issues and had to make changes to the... | http://blog.dscpl.com.au/2015/12/issues-with-running-as-pid-1-in-docker.html | CC-MAIN-2017-30 | refinedweb | 3,794 | 56.18 |
On Fri, Aug 9, 2019 at 5:06 AM Richard Musil risa2000x@gmail.com wrote:
I am not sure `(str(o),)` is what I want. For a comparison here are three examples:
json:orig = {"val": 0.6441726684570313} json:pyth = {'val': 0.6441726684570312} json:seri = {"val": 0.6441726684570312} dson:orig = {"val": 0.6441726684570313} dson... | https://mail.python.org/archives/list/python-ideas@python.org/message/Y52HNBVQR2RLITKJ3TVSF32C6H73POQQ/ | CC-MAIN-2022-05 | refinedweb | 235 | 70.19 |
without requiring strict 'vars'
Reply-To: perl6-language-strict@perl.org
This and other RFCs are available on the web at
=head1 TITLE
Yet another lexical variable proposal: lexical variables made default
without requiring strict 'vars'
=head1 VERSION
Maintainer: J. David Blackstone <jdavidb@dfw.net>
Date: 15 Aug 2000
V... | http://grokbase.com/t/perl/perl6-language-strict/008fjj8e13/rfc-106-v1-yet-another-lexical-variable-proposal-lexical-variables-made-default | CC-MAIN-2017-09 | refinedweb | 470 | 53.92 |
I have a java library in jar form which can be used to extract data from files(excel,xml etc). As its in java, it can be used only in java applications. But i need the same library to be used for python projects as well.
I have tried py4j etc which takes the objects from jvm. But the library is not an executable and wo... | https://codedump.io/share/PphB7jprG6KL/1/use-java-library-from-python-python-wrapper-for-java-library | CC-MAIN-2017-34 | refinedweb | 251 | 72.46 |
Uibook—a tool for visual testing of React components with media queries
Vitaly Rizo
・6 min read
TL;DR: Uibook — a simple tool for visual testing of React components with real media queries.
Hi! My name is Vitalii Rizo, I'm a front-end developer at Amplifr. I'm going to tell you about Uibook and how it can help you.
Why... | https://practicaldev-herokuapp-com.global.ssl.fastly.net/amplifr/uibook-a-tool-for-visual-testing-of-react-components-with-media-queries-2a3o | CC-MAIN-2019-30 | refinedweb | 1,519 | 56.96 |
Introduction to Caching in Hibernate
To match up with the pace of fast moving world, hibernate came with an innovative way to fetch the data from database quickier via simple technique of caching. We encounter caching often in respect to internet browsers where we find data stored in cache and thus helps in loading the... | https://www.educba.com/caching-in-hibernate/?source=leftnav | CC-MAIN-2020-50 | refinedweb | 1,070 | 56.55 |
This page tells you how to compile GDC from sources and also install compiled Tango sources.
It's designed to be mostly copy&paste.
For MacOS users: A patched Apple GCC is desirable to get better support (unversial binaries etc.) instead of patching the ordinary GCC as it is shown here. Prebuild packages are available.... | http://dsource.org/projects/tango/wiki/GdcInstallation | crawl-002 | refinedweb | 731 | 61.63 |
Opened 3 years ago
Closed 3 years ago
Last modified 3 years ago
#11344 closed bug (duplicate)
Rule "and/build" not firing
Description
For this function
isprime_1 :: Int -> Bool isprime_1 n = n >= 2 && ( and $ map (\t -> 0 < mod n t) $ [2 .. truncate $ sqrt $ fromIntegral n] )
rule "and/build" is not firing with ghc-7.1... | https://ghc.haskell.org/trac/ghc/ticket/11344 | CC-MAIN-2018-43 | refinedweb | 214 | 80.92 |
Quick reference for the pyboard¶
The below pinout is for PYBv1.1. You can also view pinouts for other versions of the pyboard: PYBv1.0 or PYBLITEv1.0-AC or PYBLITEv1.0.
Below is a quick reference for the pyboard. If it is your first time working with this board please consider reading the following sections first:
Gene... | http://docs.micropython.org/en/latest/pyboard/quickref.html | CC-MAIN-2022-21 | refinedweb | 803 | 61.93 |
WOCinTech Chat. Modified by Opensource.com. CC BY-SA 4.0
Java is a great programming language, but sometimes I want a Java-like language that's just a bit more flexible and compact. That's when I opt for Groovy.
In a recent article, I reviewed some of the differences between creating and initializing maps in Groovy and... | https://opensource.com/article/22/6/maps-groovy-vs-java | CC-MAIN-2022-27 | refinedweb | 3,183 | 56.96 |
Opened 4 years ago
Closed 3 years ago
Last modified 3 years ago
#6663 enhancement closed fixed (fixed)
Allow CertificateOptions to set acceptable SSL ciphers
Description
This is pretty important: we need to expose PyOpenSSL’s
set_cipher_list to
CertificateOptions so users can configure their acceptable SSL ciphers. zoo... | https://twistedmatrix.com/trac/ticket/6663 | CC-MAIN-2017-09 | refinedweb | 9,203 | 62.98 |
injected model = null - without typo, it is mapped, not in constructor!
Hey there,
I know its a really common question and I know all the problems
most developers have with robotlegs injections.
and I also know the solutions. But now I dont know what to do.
I have a small class like this.
public class VehicleSpeed exte... | http://robotlegs.tenderapp.com/discussions/questions/7338-injected-model-null-without-typo-it-is-mapped-not-in-constructor | CC-MAIN-2020-29 | refinedweb | 1,790 | 66.23 |
I have this struct that has a constructor to initialize the values of its members. It doesn't seem to work, because when I output the values of it's members I get garbage. please tell me what is wrong with my code
Code:#include <iostream> using namespace std; typedef unsigned char u8; typedef unsigned short u16; typede... | http://cboard.cprogramming.com/cplusplus-programming/49826-struct-constructor-woes.html | CC-MAIN-2015-48 | refinedweb | 190 | 52.91 |
Syntax Rules
This chapter describes the basic rules of ObjectScript syntax on InterSystems IRIS® data platform.
Case Sensitivity
Some parts of ObjectScript are case-sensitive while others are not. Generally speaking, the user-definable parts of ObjectScript are case-sensitive while keywords are not:
Case-sensitive: var... | https://docs.intersystems.com/irislatest/csp/docbook/Doc.View.cls?KEY=GCOS_SYNTAX&ADJUST=1 | CC-MAIN-2021-49 | refinedweb | 4,629 | 54.02 |
"Run" and "Upload" buttons gone after deep sleep wake up in Atom
I'm using PyMakr (1.4.2) in Atom (1.30.0) and am having problems with some disappearing buttons after a deep sleep wake up.
Normally device (Pytrack with WiPy3) connects to Atom no problem and I see all the buttons:
When I run this code:
from pytrack impo... | https://forum.pycom.io/topic/3756/run-and-upload-buttons-gone-after-deep-sleep-wake-up-in-atom/3 | CC-MAIN-2019-30 | refinedweb | 158 | 75.2 |
One new feature in Windows Vista that makes a number of visual effects possible is the Desktop Window Manager. The DWM works through composition. Rather than rendering directly to the screen, applications render to their own off-screen bitmap. The DWM then takes all of these bitmaps and composites them to render to the... | https://blogs.msdn.microsoft.com/cjacks/2006/10/22/understanding-painting-behavior-differences-in-windows-vista-desktop-composition/ | CC-MAIN-2017-51 | refinedweb | 676 | 51.38 |
977. Square of ordered array
simple single \color{#00AF9B} {simple} simple
Give you an integer array nums sorted in non decreasing order, and return a new array composed of the square of each number. It is also required to sort in non decreasing order.
Example 1:
Input: nums = [-4,-1,0,3,10] Output:[0,1,9,16,100] Expla... | https://programmer.help/blogs/leetcode-learning-plan-algorithm-introduction-c-day-2-double-pointer.html | CC-MAIN-2021-49 | refinedweb | 2,265 | 59.64 |
LC Responses/AR1
[Draft Response for LC Comment 66:] AR1
Dear Alan,
Thank you for your message
<>
on the OWL 2 Web Ontology Language last call drafts.
The Syntax document as of the date of your message stated
IRIs belonging to the rdf, rdfs, xsd, and owl namespaces constitute the reserved vocabulary of OWL 2. As descri... | https://www.w3.org/2007/OWL/wiki/LC_Responses/AR1 | CC-MAIN-2016-30 | refinedweb | 113 | 51.52 |
Hey Timo,
when I try to access the array in the case class via the SQL syntax, I get
back an error that the syntax is invalid. Here is an example of the case
class structure:
case class Envelope(name: String, entity: Product)
case class Product(name: String, items: List[Item])
case class Item(attr1: String, attr2: Stri... | http://mail-archives.apache.org/mod_mbox/flink-user/201711.mbox/%3C1511427728877-0.post@n4.nabble.com%3E | CC-MAIN-2020-29 | refinedweb | 203 | 61.46 |
Enumerating Disk Space on a Computer
Microsoft® Windows® 2000 Scripting Guide
You can use the Win32_LogicalDisk class to enumerate the available disk space on any computer in your organization.
Scripting Steps
Listing 10.6 contains a script that enumerates the free space on all the hard disk drives on a computer. To ca... | https://technet.microsoft.com/en-us/library/ee176670.aspx | CC-MAIN-2018-17 | refinedweb | 195 | 63.7 |
standard example of an event is a user’s selection of a button on a graphical user interface; this action may trigger a number of methods to ‘handle’ it
Events provide a way for a class or object to notify other classes or objects when something of interest happens. The class that sends (or raises) the event is called... | https://ecomputernotes.com/csharp/advanced-csharp/events | CC-MAIN-2022-21 | refinedweb | 526 | 58.89 |
Introduction to MongoDb with .NET part 1: background
March 14, 2016 2 Comments
Introduction
MongoDb is the most popular NoSql database out there at the time of writing this post. It’s used by a wide range companies as a data store. Large and small, well-established and freshly started organisations have all embraced th... | https://dotnetcodr.com/2016/03/14/introduction-to-mongodb-with-net-part-1-background/ | CC-MAIN-2021-49 | refinedweb | 1,365 | 62.88 |
the machine: the, though: and writing bindings, it's defined by the order of processing "world" values! You can arbitrarily reorder the isn't included in the IO chain, is translated just to the 'let' statement inside the 'do' sequence. And as you now should understand, placement of this 'let' doesn't have any impact o... | http://wiki.haskell.org/index.php?title=IO_inside&direction=next&oldid=4634 | CC-MAIN-2021-17 | refinedweb | 891 | 59.94 |
Only: if 750: ahead 751: then 752: begin 753: until 754: again 755: cs-pick 756:: else 767: while 768: repeat 769: 770: Counted loop words constitute a separate group of words: 771: 772: ?do 773: do 774: for 775: loop 776: s+loop 777: +loop 778: next 779: leave 780: ?leave 781: unloop 782: program (@code{LOOP} etc. com... | http://www.complang.tuwien.ac.at/cvsweb/cgi-bin/cvsweb/gforth/Attic/gforth.ds?sortby=log;f=h;only_with_tag=MAIN;ln=1;rev=1.2 | CC-MAIN-2021-17 | refinedweb | 3,898 | 59.94 |
Get location of an annotationtyerlv123 Apr 3, 2012 12:13 PM
I am looking at getting the location/coordinates of an annotation and printing them.
I can get the annotation and appear to even get the coordinates but can't print them.
This is what i am trying:
ASFixedRect box;
PDAnnotGetRect(annot, &box);
ptr = (char *) &b... | https://forums.adobe.com/message/4312972 | CC-MAIN-2016-40 | refinedweb | 1,022 | 52.7 |
Purpose
In This document we can see step by step process how to configure file to file flat file pass through scenario with file content conversion.
Recently i have face this type of requriment and did not find any document in SCN, so thought to documenting the steps which can be useful to others.
In my requirement i h... | https://blogs.sap.com/2016/09/29/file-content-conversion-in-file-to-file-pass-through-scenario/ | CC-MAIN-2018-17 | refinedweb | 111 | 65.83 |
Post in this thread if you are 100% completely stuck AND you’ve done your best to find a solution on your own. DO NOT post in this thread without doing your absolute best to get unstuck. Search Google, search this forum, read in the books and only then post here. Thanks. <3
harvard lecture video is not there
Hi, not su... | https://forum.ivanontech.com/t/i-am-completely-stuck/3076 | CC-MAIN-2020-24 | refinedweb | 1,369 | 70.94 |
Creating Rhino Commands Using Python
This guide demonstrates how to create Rhino commands from Python scripts.
Overview
It is possible, if a little convoluted, to create “real” Rhino commands from Python scripts. Below is outlined the procedure on Rhino for Windows, with a couple of comments about where the files need ... | http://developer.rhino3d.com/guides/rhinopython/creating-rhino-commands-using-python/ | CC-MAIN-2017-51 | refinedweb | 1,106 | 60.65 |
![if !(IE 9)]> <![endif]>
I".
My name is Andrey Karpov, and I do an unusual job - I analyze the program code of various applications, with the help of static analyzers, and write descriptions of the errors and defects I find. I do this for pragmatic and mercenary reasons, because what I do is the way our company advert... | https://www.viva64.com/en/b/0260/ | CC-MAIN-2019-09 | refinedweb | 371 | 58.69 |
I am currently working on a program that will take in files of text and organize every words into it's own value paired with how many times it occurs. I have been playing with this idea for quite some time and cannot get past the basic implementation. I am very new to using MAP and SET, I understand SET will only hold ... | https://codedump.io/share/bHXDwK2A5ENd/1/using-stl-map-amp-set-for-reocurring-words | CC-MAIN-2018-09 | refinedweb | 433 | 50.6 |
Like is a set of experimental extensions and additional functionality meant to augment the F# library: for example, modules enabling F# applications to be source-level-compatible with the OCaml programming language.
Learning more about
FSharp.Core.dll will enable you to get the
most out of your F# projects. We’ve cover... | https://www.safaribooksonline.com/library/view/programming-f/9780596802080/apas04.html | CC-MAIN-2016-44 | refinedweb | 198 | 53.21 |
Write to arbitrary data sinks
Structured Streaming APIs provide two ways to write the output of a streaming query to data sources that do not have an existing streaming sink:
foreachBatch() and
foreach().
Reuse existing batch data sources with
foreachBatch()
streamingDF.writeStream.foreachBatch(...) allows you to speci... | https://docs.databricks.com/spark/latest/structured-streaming/foreach.html | CC-MAIN-2021-43 | refinedweb | 673 | 54.12 |
Just realized I prob should've posted this in the General Discussion board.... sorry.
Type: Posts; User: KingFlippyNips
Just realized I prob should've posted this in the General Discussion board.... sorry.
The title say it all... I've been going through the practice problems and I was wondering if there was a solution ... | https://cboard.cprogramming.com/search.php?s=2c69b4c7a7abc3e1665af470b4aaa849&searchid=4920527 | CC-MAIN-2020-24 | refinedweb | 704 | 74.59 |
04 June 2008 18:53 [Source: ICIS news]
HOUSTON (ICIS news)--Extreme market circumstances prompted US Group II paraffinic base oils producer Chevron to step out with two hikes for posted prices just days apart, buyers said on Wednesday.
“Chevron is the only company to have ever adjusted postings twice within one week in... | http://www.icis.com/Articles/2008/06/04/9129689/extreme-market-vexes-us-base-oil-buyers.html | CC-MAIN-2014-10 | refinedweb | 380 | 64.3 |
In this chapter, we will focus on the model part of MVC. We will define and implement a model in our application, TopQuiz.
Create a Model
In our TopQuiz application, our data consists of:
The user's first name
The user's current score
The list of questions to display
The list of possible answers for each question
The r... | https://openclassrooms.com/en/courses/4661936-develop-your-first-android-application/4679231-define-your-first-model | CC-MAIN-2021-21 | refinedweb | 905 | 63.39 |
You can subscribe to this list here.
Showing
3
results of 3
Hi.
The reversed class -> module, inner class -> proxie approach is very nice
but I see the following problems:
1) with inner classes we have hard coupling => potential unwanted memory
leakage.
2)
[Finn]
.
The name clash issue technically is not only related t... | http://sourceforge.net/p/jython/mailman/jython-dev/?viewmonth=200011&viewday=21 | CC-MAIN-2015-32 | refinedweb | 1,751 | 63.7 |
Description
Are you curious about the 78 mysterious cards of the Tarot Deck? Ever seen one of the richly symbolic images and wondered what it meant or where to begin? The Tarot is a journey and everyone begins somewhere, this workshop is a great place to start. You will learn the classic Celtic Cross Spread, the highly... | https://www.eventbrite.com/e/intro-to-tarot-cards-tickets-55932968013?aff=erelexpmlt | CC-MAIN-2019-09 | refinedweb | 185 | 63.29 |
Hi all
We are looking to deploy a new file server which will hold our non critical data which is based outside of our primary file server.
What we would like to do is create volumes below 3TB but present them as one share to staff. This is in case we choose to replicate the VM to Azure we don't go above the 4TB volume ... | https://community.spiceworks.com/topic/2139747-multiple-local-folders-shared-as-one-share | CC-MAIN-2018-26 | refinedweb | 599 | 73.27 |
Scripting Python boxes¶
Python¶
This script is in Python.
As in any usual Python script, you can import any Python module and use any Python function. To know how to do so, see the section: How to import python module in a script box.
For further details about Python, see the official website:.
Default script¶
By defau... | http://doc.aldebaran.com/2-4/software/choregraphe/objects/python_script.html | CC-MAIN-2019-13 | refinedweb | 1,473 | 52.49 |
#include <wx/dataview.h>
Base class with abstract API for wxDataViewIndexListModel and wxDataViewVirtualListModel.
Destructor.
Compare method that sorts the items by their index.
Reimplemented from wxDataViewModel.
Override this to indicate that the row has special font attributes.
This only affects the wxDataViewTextR... | https://docs.wxwidgets.org/trunk/classwx_data_view_list_model.html | CC-MAIN-2021-49 | refinedweb | 115 | 54.79 |
In a world where video games are so important to so many people, communication and community around games are vital. Discord offers both of those and more in one well-designed package. In this tutorial, you’ll learn how to make a Discord bot in Python so that you can make the most of this fantastic platform.
What Is Di... | https://btechgeeks.com/how-to-make-a-discord-bot-python/ | CC-MAIN-2021-31 | refinedweb | 2,856 | 64.1 |
C# Reflection Refresher
WEBINAR:
On-Demand
How to Boost Database Development Productivity on Linux, Docker, and Kubernetes with Microsoft SQL Server 2017
One of the things that makes .NET such a powerful platform is the ability to interrogate language constructs. The "reflection" subsystem is available in the base clas... | https://www.codeguru.com/columns/dotnet/c-reflection-refresher.html | CC-MAIN-2018-05 | refinedweb | 718 | 67.04 |
This article demonstrates a simple use of bit fields as flags for Windows forms. Bit fields allow packaging of data into simple structures, and they are particularly useful when bandwidth, memory or data storage is at a premium. This might not appear to be an issue with modern day equipment or every day applications, b... | http://www.codeproject.com/script/Articles/View.aspx?aid=6792 | CC-MAIN-2014-35 | refinedweb | 1,813 | 65.15 |
Class
Part of TutorialFundamentals
Description
A class is a similiar idea to a struct, but allows more abstract designs.
Example
import std.stdio; class Television { void pressPowerButton() { if(m_turnedOn) writefln("It was on, but now you turned it off."); else writefln("Now, it's turned on (channel %d).", m_channel);... | http://dsource.org/projects/tutorials/wiki/ClassExample/D1 | CC-MAIN-2018-30 | refinedweb | 181 | 52.56 |
When you’re building an API backed by Lambda functions, you may find yourself implementing similar logic across multiple functions.
In order to minimise code duplication, you might decide to separate out these shared pieces of logic into their own modules and invoke them where appropriate inside your handler. While thi... | https://serverlessfirst.com/lambda-middleware/ | CC-MAIN-2021-04 | refinedweb | 425 | 54.93 |
A new EAP build of ReSharper Ultimate 10.1 is now available for download. We continue to stabilize and improve the upcoming 10.1 release, and here is what we have added this week:
ReSharper
Dedicated action for reformatting code
In early versions of ReSharper, ‘Reformat Code’ was the only code style feature and it prou... | https://blog.jetbrains.com/dotnet/2016/03/09/resharper-ultimate-10-1-eap-5/ | CC-MAIN-2019-51 | refinedweb | 1,167 | 65.52 |
This isn't an excerpt from my soon-to-be-released QuickTime for Java book, though now I wish it was.
You see, the thing is, a lot of us in the QTJ world had long assumed that the streaming APIs in QTJ were broken, and I didn't want to commit to covering something that was broken. OK, I went ahead and did so by covering... | http://www.onjava.com/pub/a/onjava/2005/01/12/strmng_qtj.html?page=1 | CC-MAIN-2014-52 | refinedweb | 2,192 | 54.02 |
Opened 23 months ago
Closed 22 months ago
#22354 closed Bug (invalid)
ModelForm has_changed on ChoiceFields reports always True if an initial argument is given
Description
example model + form:
class Host(models.Model): DM=0 PP=1 KIND_CHOICES = ( (DM, 'native mpio'), (PP, 'PowerPath'), ) mpio = models.IntegerField(choi... | https://code.djangoproject.com/ticket/22354 | CC-MAIN-2016-07 | refinedweb | 309 | 56.96 |
Neutron doesn't update floatingip with multiple L3 agent Icehouse
Hello,
I recently created a five node OpenStack cloud using Packstack. I am using the neutrons OVS agent with GRE tunnels. My goal is to setup two floating ip address pools. In order to accomplish this, we followed this documentation here (...) .
The pro... | https://ask.openstack.org/en/question/34112/neutron-doesnt-update-floatingip-with-multiple-l3-agent-icehouse/ | CC-MAIN-2016-30 | refinedweb | 343 | 74.9 |
In this post, we will learn how to perform feature-based image alignment using OpenCV. We will share code in both C++ and Python.
We will demonstrate the steps by way of an example in which we will align a photo of a form taken using a mobile phone to a template of the form. The technique we will use is often called “f... | https://learnopencv.com/image-alignment-feature-based-using-opencv-c-python/ | CC-MAIN-2021-04 | refinedweb | 2,300 | 57.37 |
<p>hi here is my code in struts i want to validate my form fields but it couldn't work can you fix what mistakes i have done</p>... be
added to your projects ApplicationResources.properties
file or you can - Struts
and do run on server. whole project i have run?or any particular...struts hi,
i have formbean class,act... | http://roseindia.net/tutorialhelp/comment/3635 | CC-MAIN-2014-42 | refinedweb | 985 | 68.16 |
30 October 2006 16:39 [Source: ICIS news]
By Nigel Davis
LONDON (ICIS news)--The Stern Review on climate change, released on Monday, presents a bleak picture of an economic future devastated by higher average global temperatures. At the same time, however, it pinpoints opportunities for minimising the impact of increas... | http://www.icis.com/Articles/2006/10/30/1102072/insight-the-challenge-of-tackling-climate-change.html | CC-MAIN-2015-06 | refinedweb | 332 | 59.13 |
b, |arg*r-e
| is between 1 and
r (typically between 1 and 2), but for the exponent
e returned by std::frexp, |arg*2-e
| is between 0.5 and 1.
Example
Compares different floating-point decomposition functions
#include <iostream> #include <cmath> #include <limits> int main() { double f = 123.45; std::cout << "Given the n... | http://en.cppreference.com/mwiki/index.php?title=cpp/numeric/math/ilogb&oldid=62853 | CC-MAIN-2014-52 | refinedweb | 149 | 50.73 |
last three years, the parallel ATA drives that most of us use have
continued to be driven by the old IDE driver subsystem. Some of this code
dates back to the beginning of Linux; since then it has been maintained by
a substantial list of people, a number of whom are widely held to have been
driven insane by the experi... | http://lwn.net/Articles/198344/ | crawl-002 | refinedweb | 955 | 64.54 |
Hi guys,
This exercise goes as follows:
- Write a function that counts the number of occurences of a pair of letters in a string and another that does the same in a zero-terminated array of char(a C-style string). For example, the pair "ab" appears twice in "xabaacbaxabb".
Now, I found the following solution to the C-s... | https://www.daniweb.com/programming/software-development/threads/64404/comparing-two-letters-in-one-string-with-another-char-string | CC-MAIN-2021-17 | refinedweb | 213 | 60.24 |
table of contents
NAME¶
sigpending, rt_sigpending - examine pending signals
SYNOPSIS¶
#include <signal.h>
int sigpending(sigset_t *set);
sigpending(): _POSIX_C_SOURCE
DESCRIPTION¶
sigpending() returns the set of signals that are pending for delivery to the calling thread (i.e., the signals which have been raised while ... | https://manpages.debian.org/bullseye/manpages-dev/sigpending.2.en.html | CC-MAIN-2022-21 | refinedweb | 173 | 58.48 |
AOL-Yahoo-MSN Messaging Unified... in the Workplace Only 235
bakreule writes "Microsoft, AOL and Yahoo! are teaming up to link their separate instant messaging services for use in the workplace, 'the first major step by the industry leaders to enable computer users to communicate with one another no matter which of the... | https://slashdot.org/story/04/07/15/1157241/aol-yahoo-msn-messaging-unified-in-the-workplace-only | CC-MAIN-2016-50 | refinedweb | 4,439 | 71.85 |
iOS 12 malfunction
Hello!
First of all is the first time i am writing in this forum. I want to say this app is incredible and thanks to everyone here because this site was so util for me.
I am using this app for a year now and never I had any problems but yesterday I updated my iPad (2017 version) and script that uses ... | https://forum.omz-software.com/topic/5081/ios-12-malfunction | CC-MAIN-2021-49 | refinedweb | 1,545 | 53.98 |
boxes;
import React, { Component } from "react"; import { View, Text } from "react-native"; class App extends Component { render() { return ( <View style={{ flexDirection: "row", height: 100, padding: 20 }} > <View style={{ backgroundColor: "blue", flex: 0.3 }} /> <View style={{ backgroundColor: "red", flex: 0.5 }} />... | https://reactnative.dev/docs/view | CC-MAIN-2020-45 | refinedweb | 164 | 50.12 |
Logger: simple, convinient and thread safe logger for Qt applications
How about logging size ? I searched in several Qt based logging libs ( QxtLogger, log4qt ..... ) didn't find any functions in it, related to the size of log functionality. So it will be very usefull to see this functionality !
I don't understand the ... | https://forum.qt.io/topic/2598/logger-simple-convinient-and-thread-safe-logger-for-qt-applications/43 | CC-MAIN-2019-35 | refinedweb | 824 | 64.71 |
Oct 09, 2008 06:37 AM
Normally we review new books, but occasionally an older book is just too good to ignore. Richard Blum's C# Network Programming is one such book. Focusing on low-level network programming, this book is just as applicable today as it was when .NET 1.0 was new. And though titled "C#", this book is a... | http://www.infoq.com/news/2008/10/Review-Network-Programming | crawl-002 | refinedweb | 358 | 65.73 |
Opened 3 years ago
Closed 3 years ago
#19468 closed Bug (fixed)
django doesn't encode request.path correctly in python3
Description
when I visit urls which contain non ascii charecters (like persian or arabic)
request.path is not right
this i my urls.py
from django.conf.urls import patterns, include, url from django.ht... | https://code.djangoproject.com/ticket/19468?cversion=0&cnum_hist=14 | CC-MAIN-2016-22 | refinedweb | 2,584 | 63.7 |
In the first article of this introductory series on Swift, we talked about Swift's philosophy, took a first look at its syntax, and highlighted a few key differences with Objective-C. In this article, we continue our exploration of Swift's syntax. You'll also learn about optionals and see how memory management works in... | https://code.tutsplus.com/tutorials/an-introduction-to-swift-part-2--cms-21484 | CC-MAIN-2019-35 | refinedweb | 3,548 | 63.9 |
Arduino RTC Tutorial: Using DS1307 RTC with Arduino
Do you want to maintain hours, minutes, and seconds, as well as, day, month, and year information for your Arduino Project? Well then using an RTC (Real Time Clock), will be for you!
Through this blog, you will learn how to use the DS1307 RTC module with your Arduino ... | https://www.seeedstudio.com/blog/2019/11/19/arduino-tutorial-using-ds1307-rtc-with-arduino/ | CC-MAIN-2020-34 | refinedweb | 1,168 | 65.73 |
Hi,
I'm trying to create a custom Android listview implementation and want to render the Xamarin Forms ViewCells.
So in the GetView method of ListAdapter I use "Platform.CreateRenderer(view);" to try and render the viewcell. For some reason this is working only when ViewCell only has one element in it (e.g. a button). ... | https://forums.xamarin.com/discussion/60538/using-a-custom-listview-adapter-with-xamarin-forms-viewcell | CC-MAIN-2020-16 | refinedweb | 636 | 63.39 |
had a chance last week to spend some time with Kodi Foster, head of brand initiatives for Outbrain. Kodi and I were in Austin for SXSW and started talking about the content revolution in marketing, or the idea that more brands are embracing a journalistic approach to reaching their audiences. Basically, digital market... | https://www-304.ibm.com/connections/blogs/socialbusiness/entry/content_changes_everything_thoughts_from_sxsw?lang=en_us | CC-MAIN-2016-07 | refinedweb | 263 | 58.21 |
Saturday 8 September 2012
In a Stack Overflow question a few months ago, a petitioner wanted to remove all the matches of a number of regexes. The complication was that the regexes could overlap.
Simply using re.sub() on each pattern in turn wouldn’t work, because the overlapping matches wouldn’t be fully matched once ... | https://nedbatchelder.com/blog/201209/removing_overlapping_regex_matches.html | CC-MAIN-2018-13 | refinedweb | 870 | 79.09 |
The ideas from BinaryAge 2017-03-20T22:14:00+00:00 <![CDATA[SIP and installing BinaryAge apps]]> 2017-03-19T00:00:00+00:00 jduff.github.com:/sip-and-installing-total-apps <p><img src="" class="intro-icon"/><img src="" class="intro-icon"/></p> <h4>From El Capitan to here</h4> <p>In 2015 we realised that System Integrity... | http://feeds.feedburner.com/binaryage-blog | CC-MAIN-2017-26 | refinedweb | 27,690 | 57.57 |
CodePlexProject Hosting for Open Source Software
I spent a few hours getting this to work, so I wanted to share my experience on how I got it working for other's benefit. And if the PTVS devs want to chime in on how this can be improved, that would be great also.
This is how I got PTVS working with Mayapy and Pymel. Th... | https://pytools.codeplex.com/discussions/276754 | CC-MAIN-2017-26 | refinedweb | 351 | 67.25 |
Unmanaged Code, Screenshots and IronPython
IronPython & Windows Forms, Part X
Note
This is part of a series of tutorials on using IronPython with Windows Forms.
Follow my exploration of living a spiritual life and finding the kingdom at Unpolished Musings.
Screenshots from IronPython
This is an example from work that I... | http://www.voidspace.org.uk/ironpython/winforms/part10.shtml | CC-MAIN-2017-04 | refinedweb | 856 | 73.58 |
Get all GMSMarker from mapview and remove all marker without using mapview.clear()
I have drawn path with marker in google map. So the path is static but marker needs to change their positions. How can I remove all markers without using
mapview.clear(), because it will clear my path also from the map.
Any solution?
1 a... | http://quabr.com/46685598/get-all-gmsmarker-from-mapview-and-remove-all-marker-without-using-mapview-clear | CC-MAIN-2017-47 | refinedweb | 882 | 68.36 |
Introduction to XML
XML: It’s just text!
Welcome to the kickoff of SitePoint’s XML week! This week a few of us will be doing our best to dissolve the hype surrounding XML, showing you how it works and how you can use it to enhance your Website in ways you may never have imagined.
Ask Web builder: "What is XML?" and you... | http://www.sitepoint.com/introduction-xml/ | CC-MAIN-2015-22 | refinedweb | 5,455 | 69.01 |
For the past couple of years, the SVG community has investigated new ways of leveraging the XML basis of SVG to mix and match namespaces in an SVG document. Among the main focuses, user-interface work emerged as a primary use-case for the usage of custom XML markup inline in an SVG document. Rendering Custom Content (R... | http://www.ibm.com/developerworks/xml/library/x-svgxf2/ | crawl-003 | refinedweb | 3,496 | 57.91 |
I've written a simple temperature converter in Python, but I get some pretty weird errors. When I choose option f when running the program in the Python interpreter, and enter a temperature value I get this error:
Traceback (most recent call last):
File "temp_convert.py", line 23, in <module>
File "temp_convert.py", li... | http://www.dreamincode.net/forums/topic/235262-having-trouble-with-the-temperature-converter-i-am-writing-getting-so/ | CC-MAIN-2018-05 | refinedweb | 322 | 67.15 |
Adds a string value to an attribute in an entry.
#include "slapi-plugin.h" int slapi_entry_add_string (Slapi_Entry *e, const char *type, const char *value);
This function takes the following parameters:
Entry to which you want to add a string value.
Attribute to which you want to add a string value.
String value you wa... | http://docs.oracle.com/cd/E19693-01/819-0996/aaifs/index.html | CC-MAIN-2013-48 | refinedweb | 139 | 67.25 |
Mark Brown wrote:
> Hi Eric,
>
> I don't know if there is a development plan per se except for a number of Jira issues
(one for each section of the TR). Your suggestion to make the extensions available in namespace
std sounds like a fine idea to me.
The issue is
and all its subtasks. And correct, there is no "master pl... | http://mail-archives.apache.org/mod_mbox/stdcxx-dev/200704.mbox/%3C461D5C2E.6090500@roguewave.com%3E | CC-MAIN-2017-34 | refinedweb | 466 | 69.52 |
Android Lint: how to ignore missing translation warnings in a specific file
Is it possible to translate some strings, but not all, in a separate resource file without Lint complaining about MissingTranslation?
For example: my app’s strings are all in res/values/strings.xml. One of the strings is
<string name="postal_co... | http://babe.ilandroid.com/android-lint-how-to-ignore-missing-translation-warnings-in-a-specific-file.html | CC-MAIN-2018-26 | refinedweb | 549 | 52.9 |
Space Automation: Using External Libraries
One of the best things about the Space Automation DSL is that it’s based on Kotlin script. This means not only that you can use pure Kotlin inside your build scripts but also that you can reference any external .jar libraries. For this purpose, Kotlin script provides the
@file... | https://blog.jetbrains.com/space/2020/10/20/space-automation-using-external-libraries/ | CC-MAIN-2020-50 | refinedweb | 663 | 50.43 |
Hi all,
I’m in the processing of refactoring Puppet[1]'s networking, which
currently uses xmlrpc over https but I’m moving to REST, and I’m
hoping to be able to rely largely on existing code for the new work.
The weird situation with Puppet is that I’m only interested in
computer-computer communication and in most case... | https://www.ruby-forum.com/t/easy-rest-server-w-o-views-or-controllers/111009 | CC-MAIN-2018-47 | refinedweb | 394 | 61.6 |
Timing Code
At some time in the development of an application, it becomes necessary to optimize it. And to see if the optimization is working, it is necessary to time it. Using a stopwatch is crude, inaccurate, and is a little silly since computers have accurate clocks. Let's use that built in clock. The first way is t... | https://wiki.dlang.org/Timing_Code | CC-MAIN-2019-09 | refinedweb | 630 | 64.2 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.