text stringlengths 20 1.01M | url stringlengths 14 1.25k | dump stringlengths 9 15 ⌀ | lang stringclasses 4
values | source stringclasses 4
values |
|---|---|---|---|---|
On Wed, Aug 09, 2017 at 08:03:05PM +0200, Nicolas Morey-Chaisemartin wrote:
> >> -#if LIBCURL_VERSION_NUM >= 0x071700 > >> -/* Use CURLOPT_KEYPASSWD as is */ > >> -#elif LIBCURL_VERSION_NUM >= 0x070903 > >> -#define CURLOPT_KEYPASSWD CURLOPT_SSLKEYPASSWD > >> -#else > >> -#define CURLOPT_KEYPASSWD CURLOPT_SSLCERTPASSWD... | https://www.mail-archive.com/git@vger.kernel.org/msg127853.html | CC-MAIN-2017-34 | en | refinedweb |
Put subdomains to work and build dynamic multi-tennant applications.
Single domain web sites are so boring. Custom subdomains are a great way to provide customization for customers of SaaS products and to differentiate content without resorting to long URL paths. Implementing subdomain support in a web application isn’... | https://wellfire.co/learn/multi-tennancy-in-django-using-subdomains/ | CC-MAIN-2017-34 | en | refinedweb |
Parchment is Quill's document model. It is a parallel tree structure to the DOM tree, and provides functionality useful for content editors, like Quill. A Parchment tree is made up of Blots, which mirror a DOM node counterpart. Blots can provide structure, formatting, and/or content. Attributors can also provide lightw... | https://www.npmjs.com/package/parchment | CC-MAIN-2017-34 | en | refinedweb |
CompletionStage of the
ask and the mailbox of the actor will not be filled with more messages than the given
parallelism of the
mapAsync stage.
- Scala)
- Java); from
mapAsync.
-..
Integrating with External Services
Stream transformations and side effects involving external non-stream based services can be performed w... | http://doc.akka.io/docs/akka/snapshot/java/stream/stream-integrations.html | CC-MAIN-2017-34 | en | refinedweb |
Chatlog 2012-02-02
From Provenance WG Wiki
See original RRSAgent log or preview nicely formatted version.
Please justify/explain all edits to this page, in your "edit summary" text.
08:14:33 <RRSAgent> RRSAgent has joined #prov 08:14:33 <RRSAgent> logging to 08:14:35 <trackbot> RRSAgent, make logs world 08:14:35 <Zakim... | http://www.w3.org/2011/prov/wiki/Chatlog_2012-02-02 | CC-MAIN-2015-27 | en | refinedweb |
Using Inherited Permissions with Access-Based Enumeration
Published: October 22, 2009
Updated: October 16, 2013
Applies To: Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2.
Advantages and limitations of inherited permissions
There are two primary benefits to using inherited permissions to control wh... | https://technet.microsoft.com/en-us/library/dd834874.aspx | CC-MAIN-2015-27 | en | refinedweb |
--- a +++ b/index.html @@ -0,0 +1,53 @@ +<html> +<title>CodeHelper</title> +<body> +<h1>The CodeHelper plugin</h1> +Written by Shlomy Reinstein, November 2010. +<h2>Introduction</h2> +<p> +The CodeHelper plugin provides a dockable window that shows either a static call +tree of a selected function, or a reference tree ... | http://sourceforge.net/p/jedit/CodeHelper/ci/592ce80b4743c85bf1f03afe1b4f568bc386ded3/tree/index.html?diff=b10acf5c6b18368ed8a79a5bab989048780fa8b2 | CC-MAIN-2015-27 | en | refinedweb |
On Monday 19 May 2003 11:50, Wannheden, Knut wrote:
> P.
Nothing is impossible..., but it is difficult to have meaning-free URIs and to
support (as in ignore) other URIs.
I would like ant to ignore other namespaces so that it is a civilized member
of the xml community.
For example the following specifies which processo... | http://mail-archives.apache.org/mod_mbox/ant-dev/200305.mbox/%3C200305191355.39003.peter.reilly@corvil.com%3E | CC-MAIN-2015-27 | en | refinedweb |
-- Copyright (C) 2006.Hopefully ( Hopefully, PatchInfoAnd, piap, n2pia, patchInfoAndPatch, conscientiously, hopefully, info, hopefullyM, createHashed, extractHash, actually, unavailable ) where import System.IO.Unsafe ( unsafeInterleaveIO ) import Darcs.SignalHandler ( catchNonSignal ) import Printer ( Doc, renderStrin... | http://hackage.haskell.org/package/darcs-2.4.1/docs/src/Darcs-Hopefully.html | CC-MAIN-2015-27 | en | refinedweb |
> Given that log4j.dtd has an impact on the interaction among
> log4* projects, should we rename log4j.dtd to a more neutral
> name and move it to Logging Services?
Do you also intend to make the dtd itself more neutral, for example do you
propose changing the namespace?
If you change the namespace it becomes a differe... | http://mail-archives.apache.org/mod_mbox/logging-general/200405.mbox/%3C487B2B5FD092D411977400D0B73EB0A23B756B@titan.neoworks.co.uk%3E | CC-MAIN-2015-27 | en | refinedweb |
public class ScriptStatementFailedException extends ScriptException
ScriptUtilsif a statement in an SQL script failed when executing it against the target database. ScriptStatementFailedException(String stmt, int stmtNumber, EncodedResource resource, Throwable cause)
ScriptStatementFailedException.
stmt- the actual SQL... | http://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/jdbc/datasource/init/ScriptStatementFailedException.html | CC-MAIN-2015-27 | en | refinedweb |
Hello developers --
Coming down to the final tweaks on an application and we've started to import data... lots of data... and the process, while fast, could be better [4000-5000 records / minute with over 10,000,000 to process]. Hoping that you all can offer up some suggestions on what to optimize.
The import consists ... | http://community.sitepoint.com/t/managing-large-data-volumes-with-php-mysql/91501 | CC-MAIN-2015-27 | en | refinedweb |
Returning paged results from repositories using PagedResult<T>
During.
Repositories and classes.
PagedResult<T>.
NHibernate: ListOrdersForCustomer()
Here is my NHibernate implementation for IOrderRepository. Okay, it is partial implementation here but you understand my point. Basically what I do in ListOrdersForCustome... | http://weblogs.asp.net/gunnarpeipman/returning-paged-results-from-repositories-using-pagedresult-lt-t-gt | CC-MAIN-2015-27 | en | refinedweb |
This experienced professionals who end up not knowing where to apply each of these types of lists. In fact they are all very similar, after all they implement the same interface (List). They all possess the same methods but not the same implementations of those methods. It is mainly in the performance that we can see t... | http://www.javabeat.net/difference-arraylist-vector-linkedlist-java/ | CC-MAIN-2015-27 | en | refinedweb |
A Kick-Start to SAX with C++, Part 1
This series of articles is not a complete tutorial on SAX, but rather a kick-start. Familiarity with XML is required. In this first article, you will see what SAX is, how is it supported with the Microsoft XML Parser (MSXML), and how can you create a simple SAX application.
What Is ... | http://www.codeguru.com/cpp/data/mfc_database/xml/article.php/c11517/A-KickStart-to-SAX-with-C-Part-1.htm | CC-MAIN-2015-27 | en | refinedweb |
Opened 7 years ago
Closed 6 years ago
Last modified 4 years ago
#9576 closed (wontfix)
django.contrib.admin.widgets.AdminDateWidget.Media.js missing core.js
Description
Steps To Reproduce:
from django.contrib import admin w = admin.widgets.AdminDateWidget() w.media.render_js()
Expected:
got js/core.js:
[u'<script type=... | https://code.djangoproject.com/ticket/9576 | CC-MAIN-2015-27 | en | refinedweb |
NAME
pthread_key_create, pthread_key_delete, pthread_setspecific, pthread_getspecific - management of thread-specific data
SYNOPSIS
#include <pthread.h> int pthread_key_create(pthread_key_t *key, void (*destr_function) (void *)); int pthread_key_delete(pthread_key_t key); int pthread_setspecific(pthread_key_t key, cons... | http://manpages.ubuntu.com/manpages/karmic/man3/pthread_key_create.3.html | CC-MAIN-2015-27 | en | refinedweb |
This chapter provides an overview of direct integrations and describes the procedure for implementing direct integrations.
This chapter includes the following sections:
Section 10.1, "Understanding Direct Integrations"
Section 10.2, "Using the Application Business Flow Design Pattern for Direct Integrations"
Section 10... | http://docs.oracle.com/cd/E28280_01/doc.1111/e17364/directintegration.htm | CC-MAIN-2015-27 | en | refinedweb |
If.ext.sqlalchemy import SQLAlchemy db = SQLAlchemy() def create_app(): app = Flask(__name__) db.init_app(app) return app
What it does it preparing the application to work with SQLAlchemy. However that does not now bind the SQLAlchemy object to your application. Why doesn’t it do that? Because there might be more than ... | http://pythonhosted.org/Flask-SQLAlchemy/contexts.html | CC-MAIN-2015-27 | en | refinedweb |
Geolocation API
Variable: geolocation
Type: Geolocation
The Geolocation API represents an object able to programmatically obtain the position of the device.
import { geolocation } from "geolocation"; geolocation.getCurrentPosition(function(position) { console.log(position.coords.latitude + ", " + position.coords.longit... | https://dev.fitbit.com/build/reference/device-api/geolocation/ | CC-MAIN-2022-21 | en | refinedweb |
hey,
I have a product model with some properties.
I use a python function inside the model to generate the catalog number of the product (
customer_catalog_gen).
it looks like this:
def catalog_part(self, *args, **kwargs): return ''.join(utils.catalog_representation[self.category_index]) def customer_catalog_gen(self, ... | https://forum.djangoproject.com/t/use-python-function-in-annotate/5015 | CC-MAIN-2022-21 | en | refinedweb |
Covid19 spreading in a networking model (part II)
The original Jupyter notebook can be found here.
Introduction
This notebook is the second part of our analysis of how air traffic may have contributed to spread the Covid19 virus. In the previous part, we did a visual analysis of the OpenFlights dataset and showed how t... | https://jmtirado.net/covid19-spreading-in-a-networking-model-part-ii/ | CC-MAIN-2022-21 | en | refinedweb |
Write before:
Then record your Spring learning journey. If you don't understand it, it is recommended to read it first Previous blog posts , detailed codes can be found in My Gitee warehouse SSM learning Clone download learn to use!
1.9 AOP
1.9.1 AOP introduction
1.9.1.1 concept
It is the acronym of Aspect Oriented Pro... | https://programmer.help/blogs/619a210b59517.html | CC-MAIN-2022-21 | en | refinedweb |
v2: BFS to find gems, avoiding dead ends (detected by Kosaraju) solution in Clear category for Inertia by Phil15
# Tested on a 100x100 grid too! Too long on a 100x200 grid, I interrupted.
from typing import Tuple, Iterable
GEM, ROUGH, ICE, ROCK, MINE = '$. X*'
MOVES = {'NW': (-1, -1), 'N': (-1, 0), 'NE': (-1, 1),
'W': ... | https://py.checkio.org/mission/inertia/publications/Phil15/python-3/v2-bfs-to-find-gems-avoiding-dead-ends-detected-by-kosaraju/share/fb3bfc910006760baa71e443da86f1a0/ | CC-MAIN-2022-21 | en | refinedweb |
No project description provided
Project description
flirpy is a Python library to interact with FLIR thermal imaging cameras and images. If you use flirpy for a research or other publishable application, please cite it using the Zenodo DOI.
It aims to be a one-stop-shop to:
- Interact and query cameras via serial
- Cap... | https://pypi.org/project/flirpy/ | CC-MAIN-2022-21 | en | refinedweb |
Angular 2 Interview Questions and Answers
To survive in the modern industry and to earn a very good salary, learning only JavaScript programming language is not sufficient, you must move on to learning JavaScript Frameworks also i.e., Angular. It doesn’t matter if you are thinking to start your career in software devel... | https://www.bestinterviewquestion.com/angular-2-interview-questions | CC-MAIN-2022-21 | en | refinedweb |
morris6, mansaxel and 11 Guests are viewing this topic.
LMAO I am tempted at the moment Enjoyment = Zero so far. Just disappointment. Decided “no more bloody heathkits” lol Postage to US is $22
I’ll sleep on it and let you know when I’ve had my morning coffee
$25 on slAmazonGlue a giant "Edison" blub on it and sell it ... | https://www.eevblog.com/forum/testgear/test-equipment-anonymous-(tea)-group-therapy-thread/36050/ | CC-MAIN-2019-43 | en | refinedweb |
More Servlets and JavaServer Pages
Marty Hall
Publisher: Prentice Hall PTR
First Edition December 01, 2001
ISBN: 0-13-067614-4, 752 pages
More Servlets and JavaServer Pages shows developers how to
use the latest advances in servlet and JSP technology. A
companion to the worldwide bestseller Core Servlets and
JavaServer... | https://www.techylib.com/en/view/milklivereddeep/more_servlets_and_javaserver_pages | CC-MAIN-2019-43 | en | refinedweb |
Technical Support
On-Line Manuals
CARM User's Guide
Discontinued
#include <string.h>
int strcspn (
const char *src, /* source string */
const char *set); /* characters to find */
The strcspn function searches the src
string for any of the characters in the set
string.
The strcspn function returns the index of the first... | http://www.keil.com/support/man/docs/ca/ca_strcspn.htm | CC-MAIN-2019-43 | en | refinedweb |
Closed Bug 513063 Opened 10 years ago Closed 10 years ago
Avoid bit twiddling on double values
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
People
(Reporter: gal, Assigned: gal)
Details
(Whiteboard: fixed-in-tracemonkey)
Attachments
(2 files)
The attached patch performs DOUBLE_IS_INT and friends directly ... | https://bugzilla.mozilla.org/show_bug.cgi?id=513063 | CC-MAIN-2019-43 | en | refinedweb |
Considerations when Using the Windows Runtime API
You can use nearly every element of the Windows Runtime API in JavaScript. However, there are some aspects of the JavaScript representation of Windows Runtime elements that you should keep in mind.
Important
For information about creating Windows Runtime components in C... | https://docs.microsoft.com/en-us/microsoft-edge/windows-runtime/considerations-when-using-the-windows-runtime-api?redirectedfrom=MSDN | CC-MAIN-2019-43 | en | refinedweb |
Spring + Hibernate + EhCache Caching
Spring + Hibernate + EhCache Caching
Look at an example Spring Boot project to help you understand how to use Spring, Hibernate, and EhCache caching features.
Join the DZone community and get the full member experience.Join For Free
In this post, we are going to demonstrate the Spri... | https://dzone.com/articles/spring-hibernate-ehcache-caching | CC-MAIN-2019-43 | en | refinedweb |
"Timed out waiting for thing ... to become ACTIVE" causes tempest-dsvm-* failures
Bug Description
Separate out bug from:
https:/
Logstash query from elastic-recheck:
message:"Details: Timed out waiting for thing" AND message:"to become ACTIVE"
http://
seems to also cause gate-tempest-
http://
This is currently the 2nd ... | https://bugs.launchpad.net/nova/+bug/1254890 | CC-MAIN-2019-43 | en | refinedweb |
You are likely familiar with the Doppler effect. You might have experienced it as a change in pitch of a car horn, ambulance siren or train whistle as the car/ambulance/train moved past you. In scientific terms, this change in pitch is described as a shift in the frequency of the sound.
The equation for the observed so... | https://nbviewer.jupyter.org/urls/www.numfys.net/media/notebooks/doppler_effect1.ipynb | CC-MAIN-2019-43 | en | refinedweb |
The community
magazine for
the Isle of Wight
Issue 38 December 2012
We wish all our readers
a merry Christmas
and a happy 2013
Inside:
Council arrangements for the
festive season
The Island’s Olympic legacy
The co munity
magazine for the
Isle of Wight
Issue 34
December 20 1
We wish a l
our readers
a me ry
Christmas
Als... | https://www.yumpu.com/en/document/view/24376046/download-december-2012-edition-isle-of-wight-council | CC-MAIN-2019-43 | en | refinedweb |
Exmqttc
Elixir wrapper for the emqttc library.
emqttc must currently be installed manually as it is not available on hex (yet).
Installation
The package can be installed by adding
exmqttc and
emqttc to your list of dependencies in
mix.exs:
def deps do [{:exmqttc, "~> 0.5"}, {:emqttc, github: "emqtt/emqttc"}] end
Usage
... | https://hexdocs.pm/exmqttc/readme.html | CC-MAIN-2019-43 | en | refinedweb |
This page provides examples on how to use the TensorFlow Lite converter using the Python API in TensorFlow 2.0.
Python API
The Python API for converting TensorFlow models to TensorFlow Lite in TensorFlow
2.0 is
tf.lite.TFLiteConverter.
TFLiteConverter provides the following
classmethods to convert a model based on the ... | https://tensorflow.google.cn/lite/convert/python_api | CC-MAIN-2019-43 | en | refinedweb |
First time here? Check out the FAQ!
@niles -- Thanks again for your efforts. I filed the ticked (#10949).
Spec means the same thing in Sage that it does everywhere else. It's just that
Spec just doesn't check to see whether its input is a prime ideal: it relies on SchemeTopologicalPoint_prime_ideal: You can tell this b... | https://ask.sagemath.org/users/298/weaam/?sort=recent | CC-MAIN-2019-43 | en | refinedweb |
Voronoi Module¶
Overview
Details
The
freud.voronoi module contains tools to characterize Voronoi cells
of a system.
- class
freud.voronoi.
Voronoi(box, buff)¶
Compute the Voronoi tessellation of a 2D or 3D system using qhull. This uses
scipy.spatial.Voronoi, accounting for periodic boundary conditions.
Module author: B... | https://freud.readthedocs.io/en/stable/voronoi.html | CC-MAIN-2019-43 | en | refinedweb |
When do you use Django CBVs or FBVs?
Do I use function-based views, class-based views or generic CBVs?
It’s no big deal.
Right now, there’s three major (built-in) ways to write a view in Django. Either you:
- write a simple function
- write a class which inherits from the View class or
- choose one of the dozen-or-so g... | https://vsupalov.com/django-cbv-vs-fbv-beginner/ | CC-MAIN-2019-43 | en | refinedweb |
public class AbstractAmazonKinesisVideoPutMedia extends Object implements AmazonKinesisVideoPutMedia
{@link AmazonKinesisVideoPutMedia}. Convenient method forms pass through to the corresponding overload that takes a request object, which throws an
UnsupportedOperationException.
equals, getClass, hashCode, notify, noti... | https://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/services/kinesisvideo/AbstractAmazonKinesisVideoPutMedia.html | CC-MAIN-2019-04 | en | refinedweb |
Part 1. Binary Search Tree Class
Design your own BinarySearchTree class to create a binary tree that can hold values of integer data type. The class should have member functions for inserting, finding, deleting, displaying pre-, in-order, and post-order traversals. Demonstrate the class with a driver program.
Create sp... | https://www.dreamincode.net/forums/topic/344672-binary-search-trees-specification-implementation-and-driver-files/ | CC-MAIN-2019-04 | en | refinedweb |
I have following code:
public class LoadProperty
{
public static final String property_file_location = System.getProperty("app.vmargs.propertyfile");
public static final String application-startup_mode = System.getProperty("app.vmargs.startupmode");
}
It reads from 'VM arguments' and assigns to variables.
Since static ... | http://www.dlxedu.com/askdetail/3/e1425044fa59627a278d0966eae5556d.html | CC-MAIN-2019-04 | en | refinedweb |
Dataframe is a two dimensional data structure, where data is stored in a tabular format, in the form of rows and columns.
It can be visualized as an SQL data table or an excel sheet representation. A column in a dataframe can be deleted using different methods.
We will see the ‘del’ operator that takes the name of the ... | https://www.tutorialspoint.com/how-can-a-column-of-a-dataframe-be-deleted-in-python | CC-MAIN-2022-21 | en | refinedweb |
skia
/
external
/
github.com
/
KhronosGroup
/
EGL-Registry
/
a5b9dcd34b196bbeb0d61495b48a552015968bfc
/
.
/
extensions
/
NV
/
EGL_NV_sync.txt
blob: 0bf007754cc7b1921e41fc296a00be0f6065f54a [
file
] [
log
] [
blame
]
Name
NV_sync
Name Strings
EGL_NV_sync
Contributors
Gary King
Gregory Prisament
Acorn Pooley
Jon Leech
Co... | https://skia.googlesource.com/external/github.com/KhronosGroup/EGL-Registry/+/a5b9dcd34b196bbeb0d61495b48a552015968bfc/extensions/NV/EGL_NV_sync.txt | CC-MAIN-2022-21 | en | refinedweb |
dialog client authentication plugin with examples More...
#include "my_config.h"
#include <mysql.h>
#include <mysql/client_plugin.h>
#include <mysql/plugin_auth.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "my_compiler.h"
#include <dlfcn.h>
dialog client authentication plug... | https://dev.mysql.com/doc/dev/mysql-server/latest/dialog_8cc.html | CC-MAIN-2022-21 | en | refinedweb |
LineServices
One of the key technologies behind the high-quality display of mathematical text in OfficeMath applications like Word, PowerPoint, and OneNote is a special component called LineServices along with its sibling Page/TableServices (PTS). In addition to handling math display, various versions of LineServices a... | https://devblogs.microsoft.com/math-in-office/lineservices/ | CC-MAIN-2022-21 | en | refinedweb |
RowCellCustomDrawEventArgs Class
Provides data for the GridView.CustomDrawCell, CardView.CustomDrawCardField, CardView.CustomDrawCardFieldCaption, and CardView.CustomDrawCardFieldValue events.
Namespace: DevExpress.XtraGrid.Views.Base
Assembly: DevExpress.XtraGrid.v19.1.dll
Declaration
public class RowCellCustomDrawEve... | https://docs.devexpress.com/WindowsForms/DevExpress.XtraGrid.Views.Base.RowCellCustomDrawEventArgs?v=19.1 | CC-MAIN-2022-21 | en | refinedweb |
🚩 FastImage
FastImage:
- Flickering.
- Cache misses.
- Low performance loading from cache.
- Low performance in general.
FastImage is an
Image replacement that solves these issues.
FastImage is a wrapper around
SDWebImage (iOS)
and
Glide (Android).
Features
- [x] Aggressively cache images.
- [x] Add authorization head... | https://www.npmtrends.com/react-native-fast-image | CC-MAIN-2022-21 | en | refinedweb |
Have you ever worked on an application with one huge CSS file and found that when you changed a style rule in one place, something unexpected happened somewhere else? I had this problem a lot in my early days of front end development. It was frustrating! So what can you do to stop this from happening?
You need to scope... | https://practicaldev-herokuapp-com.global.ssl.fastly.net/whitep4nth3r/what-is-bem-in-css-43c7 | CC-MAIN-2022-21 | en | refinedweb |
extract
Description
The
extract directive is used as a building block for Custom Directives to extract data from the
RequestContext
RequestContext and provide it to the inner route. It is a special case for extracting one value of the more general textract directive that can be used to extract more than one value.
See ... | https://doc.akka.io/docs/akka-http/10.1/routing-dsl/directives/basic-directives/extract.html | CC-MAIN-2022-21 | en | refinedweb |
This is the third and the last blog post regarding ASP.NET MVC Architecture.
NugetPackage
Previous Posts
ASP.NET MVC Architecture (Part I): Structurize your project with areas and services in ASP.NET MVC
ASP.NET MVC Architecture (Part II): Creating a business logic in ASP.NET MVC
Lets go
In the first two posts I handle... | https://offering.solutions/blog/articles/2014/07/01/asp.net-mvc-generic-repositories-and-unitofwork/ | CC-MAIN-2022-21 | en | refinedweb |
Program Arcade GamesWith Python And Pygame
Chapter 19: Recursion.
(Source:)
Recursion is an object or process that is defined in terms of itself. Mathematical patterns such as factorials and the Fibonacci series are recursive. Documents that can contain other documents, which themselves can contain other documents, are... | http://programarcadegames.com/index.php?chapter=recursion&lang=nl | CC-MAIN-2019-18 | en | refinedweb |
QML Syntax Basics
QML is a multi-paradigm language that enables objects to be defined in terms of their attributes and how they relate and respond to changes in other objects. In contrast to purely imperative code, where changes in attributes and behavior are expressed through a series of statements that are processed ... | https://doc.qt.io/archives/qt-5.10/qtqml-syntax-basics.html | CC-MAIN-2019-18 | en | refinedweb |
Learn to Use ITensor
Make a 2D Hamiltonian for DMRG
You can use the AutoMPO helper class to make 2D Hamiltonians much in the same way you make 1D Hamiltonians: by looping over all of the bonds and adding the interactions on these bonds to the AutoMPO.
To help with the logic of 2D lattices, we have included some code in... | http://itensor.org/docs.cgi?page=formulas/2d_dmrg | CC-MAIN-2019-18 | en | refinedweb |
Prism for Xamarin Forms Part II: Basic Navigation and Dependency Injection
Prism for Xamarin Forms Part II: Basic Navigation and Dependency Injection
Part 2 of the series shows how Prism enables navigation in an MVVM app.
Join the DZone community and get the full member experience.Join For Free
In the previous post, we... | https://dzone.com/articles/prism-for-xamarin-forms-part-2-basic-navigation-an?fromrel=true | CC-MAIN-2019-18 | en | refinedweb |
Program Arcade GamesWith Python And Pygame
Chapter. Now this specialized hardware support is no longer needed, but we still use the term “sprite.”
13.1 Basic Sprites and Collisions
Let's step through an example program that uses sprites.
This example shows how to create a screen of black blocks, and collect
them using ... | http://programarcadegames.com/index.php?chapter=introduction_to_sprites&lang=ru | CC-MAIN-2019-18 | en | refinedweb |
A!
To use this plugin, add
firebase_core as a dependency in your pubspec.yaml file.
See the
example directory for a complete sample app using Firebase Core.
example/README.md
Demonstrates how to use the firebase_core plugin.
For help getting started with Flutter, view our online documentation.
Add this to your package'... | https://dart-pub.mirrors.sjtug.sjtu.edu.cn/packages/firebase_core | CC-MAIN-2019-18 | en | refinedweb |
Construct a region boundary RAG with the
rag_boundary function. The
function
skimage.future.graph.rag_boundary() takes an
edge_map argument, which gives the significance of a feature (such as
edges) being present at each pixel. In a region boundary RAG, the edge weight
between two regions is the average value of the co... | https://scikit-image.org/docs/stable/auto_examples/segmentation/plot_rag_boundary.html | CC-MAIN-2019-18 | en | refinedweb |
Identity.isLoggedIn triggers loginEric Nelson Mar 13, 2008 9:42 PM
By default, it seems that Identity.isLoggedIn() triggers a quietLogin (by calling isLoggedIn(true)).
This is a problem for applications that need to conditionally display components on a page where a user is allowed to login when there is a count of num... | https://developer.jboss.org/thread/180927 | CC-MAIN-2019-18 | en | refinedweb |
import keras keras.__version__
Using TensorFlow backend.
'2.0.8'
This notebook contains the code samples found in Chapter 3, Section 6 of Deep Learning with Python. Note that the original text features far more content, in particular further explanations and figures: in this notebook, you will only find source code and... | https://nbviewer.jupyter.org/github/fchollet/deep-learning-with-python-notebooks/blob/master/3.7-predicting-house-prices.ipynb | CC-MAIN-2019-18 | en | refinedweb |
This date. In the time between those two dates users can vote among different choices. A poll can also be locked by an administrator before the end date has been reached. In this case, a lock date will be set.
@Entity public class Poll { @Id @GeneratedValue private long id; private DateTime startDate; private DateTime ... | https://www.mscharhag.com/java/specification-pattern-in-java-jpa | CC-MAIN-2019-18 | en | refinedweb |
XML::Compile::Translate - create an XML data parser
XML::Compile::Translate is extended by XML::Compile::Translate::Reader XML::Compile::Translate::Template XML::Compile::Translate::Writer
# for internal use only my $code = XML::Compile::Translate->compile(...);
This module converts a schema type definition into a code... | http://search.cpan.org/~markov/XML-Compile-1.34/lib/XML/Compile/Translate.pod | CC-MAIN-2017-09 | en | refinedweb |
VisualAge seems to ignore changes my Customizer makes. What can I do?
Created May 3, 2012
Scott StanchfieldFor example, if you had
VisualAge does not listen to your Customizer. It simply saves the values of each property before the edit and checks them after the edit.
If the properties of the bean being customized don'... | http://www.jguru.com/faq/view.jsp?EID=823 | CC-MAIN-2017-09 | en | refinedweb |
I'm trying to work with the below code:
import javax.servlet.*;
import javax.servlet.http.*;
import java.io.*;
import javax.mail.*;
import javax.mail.internet.*; // important
import javax.mail.event.*; // important
import java.net.*;
import java.util.*;
public class servletmail extends HttpServlet {
public void doPost(... | https://codedump.io/share/ezuaexeDg9QV/1/how-do-i-configure-a-mail-server-for-use-with-javamail | CC-MAIN-2017-09 | en | refinedweb |
module's author claims the set of exported symbols cannot be used in an unsafe way. (There is a corresponding
-XUntrustworthyoption to enable the language extension but negate
-XTrustworthy.)
The presence of any of the
-XSafe,
-XTrustworthy, or
-XUntrustworthy options introduces a small extension to the syntax of impo... | https://ghc.haskell.org/trac/ghc/wiki/SafeHaskell?version=26 | CC-MAIN-2017-09 | en | refinedweb |
Contents xxiii
Exam Objectives
xxix
- Exam 101 Objectives
xxix
- Exam 102 Objectives
xxxv
AL
Introduction
RI
Assessment Test
Exploring Linux Command-Line Tools
PY
RI
GH
TE
D
1
CO
Chapter
Exam 101
MA
Part I
TE
Answers to the Assessment Test
xli xlviii
1 3 4 4 5 12 12 13 14 15 15 17 18 19 19 21 25 28 30 32 32 33 35 37 38... | https://issuu.com/wiley_publishing/docs/lpic-1 | CC-MAIN-2017-09 | en | refinedweb |
When Machine Readable Data Still Causes “Issues” – Wrangling Dates…
With changes to the FOI Act brought about the Protection of Freedoms Act, FOI will allow requests to be made for data in a machine readable form. In this post, I’ll give asn example of a dataset that is, arguably, released in a machine readable way – a... | https://blog.ouseful.info/2012/11/27/when-machine-readable-data-still-causes-issues-wrangling-dates/?orderby=ID&order=ASC | CC-MAIN-2017-09 | en | refinedweb |
The Evolution of Morality
Abstract
Here, in textbook style, is a concise biological account of the evolution of morality. It addresses morality on three levels: moral outcomes (behavioral genetics), moral motivation or intent (psychology and neurology), and moral systems (sociality). The rationale for teaching this mat... | http://link.springer.com/article/10.1007%2Fs12052-009-0167-7 | CC-MAIN-2017-09 | en | refinedweb |
I am writing a c script to parallelize pi approximation with OpenMp. I think my code works fine with a convincing output. I am running it with 4 threads now. What I am not sure is that if this code is vulnerable to race condition? and if it is, how do I coordinate the thread action in this code ?
the code looks as foll... | https://codedump.io/share/wmFUnHNREakF/1/parallelization-for-monte-carlo-pi-approximation | CC-MAIN-2017-09 | en | refinedweb |
Prime String
January 10, 2017
My first version of the program prebuilt the prime string to some large length and simply indexed into that string. That worked, but I was dissatisfied because it required a large amount of storage, and inevitably fails when a too-large n is requested. But it did make a nice way to check r... | https://programmingpraxis.com/2017/01/10/prime-string/2/ | CC-MAIN-2017-09 | en | refinedweb |
This manual page is part of the POSIX Programmers Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux.
Name
Synopsis
Description
Return Value
Errors
Examples
Getting an IPC Key
Saving ... | http://manpages.sgvulcan.com/ftok.3p.php | CC-MAIN-2017-09 | en | refinedweb |
We know that, by default, an ASP.NET Web Service returns data in XML format. Processing XML data over wire always involves some overhead. These days, another format called JSON is very popular in overcoming some of these issues. In .NET 3.5 onwards, Microsoft provides this functionality inbuilt in ASP.NET 3.5, but a lo... | https://www.codeproject.com/articles/45275/create-a-json-webservice-in-asp-net-2-0-with-a-jqu?fid=1552976&df=90&mpp=10&sort=position&spc=none&select=3678794&tid=3289078 | CC-MAIN-2017-09 | en | refinedweb |
<?xml version="1.0" encoding="UTF-8"?> <response> <lst name="responseHeader"> <int name="status">503</int> <int name="QTime">1492</int> </lst> <lst name="error"> <str name="msg">Error opening new searcher. exceeded limit of maxWarmingSearchers=2, try again later.</str> <int name="code">503</int> </lst> </response>
Inve... | https://dzone.com/articles/enabling-solr-autocommit | CC-MAIN-2017-09 | en | refinedweb |
Capturing image using QML Camera and uploading to Facebook
This article demonstrates how to capture an image using the QML Camera Element and share it to Facebook.
Note: This is an entry in the PureView Imaging Competition 2012Q2
Introduction
This article explains how to use QML Camera element to capture an image and t... | http://developer.nokia.com/community/wiki/Capturing_Image_using_QML_Camera_and_Uploading_to_Facebook | CC-MAIN-2014-10 | en | refinedweb |
03 September 2008 23:59 [Source: ICIS news]
LONDON (ICIS news)--The majority of European paraffin wax players confirmed increases of €80-100/tonne ($116-145/tonne) for September on severe market tightness, despite some buyer unrest at rising prices, players said on Wednesday.?xml:namespace>
Consequently, 52-54°C grade ... | http://www.icis.com/Articles/2008/09/03/9153969/europe-september-paraffin-wax-rises-80-100t.html | CC-MAIN-2014-10 | en | refinedweb |
20 May 2008 18:23 [Source: ICIS news]
SING ?xml:namespace>
Nora. M Nash, director of corporate social responsibility for Sisters of St Francis of Philadelphia, one of the eight investors who filed the complaint against Dow Chemicals with the SEC, said:
“We are concerned that Dow Chemical’s Investment in
Sanford Lewis,... | http://www.icis.com/Articles/2008/05/20/1104207/Dow-responds-to-Bhopal-related-SEC-complaint.html | CC-MAIN-2014-10 | en | refinedweb |
Here's the position paper for the XML-SIG's Developer's Day session. The issues I'd most like to see resolved are: * Should we switch to 4DOM? Or should I seriously start pushing on implementing DOM Level 2? Attendees are encouraged to look at 4DOM's code, so they can form some opinions of its quality. * Are there any ... | https://mail.python.org/pipermail/xml-sig/2000-January/001823.html | CC-MAIN-2014-10 | en | refinedweb |
System.Windows.Forms Namespace
.NET Framework 1.1
The System.Windows.Forms namespace contains classes for creating Windows-based applications that take full advantage of the rich user interface features available in the Microsoft Windows operating system.
The classes in this namespace can be grouped into the following ... | http://msdn.microsoft.com/en-US/library/system.windows.forms(v=vs.71).aspx | CC-MAIN-2014-10 | en | refinedweb |
I've just been reviewing a really useful PR () from Pierre Haessig which speeds up the drawing of non-visible artists by bringing the following line to the top of the LineArtist's draw method:
if self.get_visible() is False:
return
This *does* fix the problem (and will fix the problem for all other artists if applied i... | http://sourceforge.net/p/matplotlib/mailman/attachment/50B3A305.6010008@stsci.edu/1/ | CC-MAIN-2014-10 | en | refinedweb |
User:DiZ/Contributions
From Uncyclopedia, the content-free encyclopedia
< User:DiZ(Redirected from User:DiZ/bibliography)
Here it is, a thorough and complete list of my sins -- erm, my accomplishments. A specific list of my blasphemies - I mean, contributions can be seen here: Special:Contributions/DiZ.
edit Creations
... | http://uncyclopedia.wikia.com/wiki/User:DiZ/bibliography | CC-MAIN-2014-10 | en | refinedweb |
Install and configure wine to Play latest windows games in Linux
In this post i will show you how to install latest windows applications and games using wine in Linux. When you install wine the first time, wine will work but not all windows application and games will work properly because most of them need a special co... | http://www.unixmen.com/install-and-configure-wine-to-play-latest-windows-games-in-linux-ubuntu-linuxmint-fedora/ | CC-MAIN-2014-10 | en | refinedweb |
Anthony Tuininga wrote: > cursor.setdefaulttype(databaseType, type) > connection.setdefaulttype(databaseType, type) > > What this method would do is specify that whenever > an item that is represented on the database by the > given database type is to be retrieved, the specified > [Python] type should be used instead o... | https://mail.python.org/pipermail/db-sig/2007-April/004960.html | CC-MAIN-2014-10 | en | refinedweb |
KTextEditor
#include <texthintinterface.h>
Detailed Description
Text hint interface showing tool tips under the mouse for the View.
Introduction
The text hint interface provides a way to show tool tips for text located under the mouse. Possible applications include showing a value of a variable when debugging an applic... | http://api.kde.org/4.x-api/kdelibs-apidocs/interfaces/ktexteditor/html/classKTextEditor_1_1TextHintInterface.html | CC-MAIN-2014-10 | en | refinedweb |
operator delete, operator delete[]
Deallocates storage previously allocated by a matching operator new. These deallocation functions are called by delete-expressions and by new-expressions to deallocate memory after destructing (or failing to construct) objects with dynamic storage duration. They may also be called usi... | http://en.cppreference.com/w/cpp/memory/new/operator_delete | CC-MAIN-2014-10 | en | refinedweb |
Sub-task
Bug
- [GEOS-3534] - DescribeFeatureType leaks memory
- [GEOS-3701] - java.lang.ClassCastException throwed by org.geoserver.config.util.XStreamPersister while saving a layer with "java.lang.Short" bondary values
- [GEOS-3755] - REST Api fails on layernames containing space
- [GEOS-3793] - Company's address is n... | http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=10311&version=16507 | CC-MAIN-2014-10 | en | refinedweb |
More on Custom Ant Tasks
This article is a continuation of the article " Introduction to Custom Ant Tasks." Reading through the previous article is highly recommended because I am just going to pick up where I left off last time. For this reason, my examples in this article will start numbering at five (5). I am assumi... | http://www.developer.com/lang/article.php/3636196/More-on-Custom-Ant-Tasks.htm | CC-MAIN-2014-10 | en | refinedweb |
01 August 2008 17:41 [Source: ICIS news]
NEW DELHI (ICIS news)--India has granted environmental clearance to Gujarat State Fertilizers & Chemicals’ proposal to transform a standby ammonia plant into a methanol plant at a cost of Indian rupees (Rs) 2.59bn ($61m), a company official said on Friday.
The company would reva... | http://www.icis.com/Articles/2008/08/01/9145058/gsfc-gets-environmental-nod-for-methanol-switch.html | CC-MAIN-2014-10 | en | refinedweb |
.
The Flex Framework provides two sets of containers: MX and Spark. The
introduction of the Spark architecture to the Flex 4 SDK offers a level of
abstraction between containers and layouts not available in the MX
architecture. An MX container internally manages the size and position of
its children based on specified ... | http://www.oreillynet.com/lpt/a/7601 | CC-MAIN-2014-10 | en | refinedweb |
Ada Programming/Object Orientation
Contents
- 1 Object orientation in Ada
- 1.1 The simplest object: the Singleton
- 1.2 Primitive operations
- 1.3 Derived types
- 1.4 Type extensions
- 1.5 Overriding
- 1.6 Polymorphism, class-wide programming and dynamic dispatching
- 1.7 Creating Objects
- 1.8 More details on primiti... | https://en.wikibooks.org/wiki/Ada_Programming/Object_Orientation | CC-MAIN-2014-10 | en | refinedweb |
22 May 2012 10:56 [Source: ICIS news]
LONDON (ICIS)--The global economy is gaining momentum but the recovery is fragile and could be derailed by the eurozone debt crisis, the Organisation for Co-operation and Development (OECD) said in its latest economic outlook report on Tuesday.
GDP growth across the OECD member nat... | http://www.icis.com/Articles/2012/05/22/9561989/global-economy-improving-but-threatened-by-eurozone-crisis.html | CC-MAIN-2014-10 | en | refinedweb |
This article is taken from the book Windows PowerShell in Action, Second Edition. The author discusses creating variables, variable syntax, working with cmdlets, and a new variable notation called splatting.
PowerShell variables aren't declared; they're just created as needed on first assignment. There also isn't reall... | http://www.dotnetspark.com/MkTKK/SoNpS/kb/kb/kb/3790-working-with-powershell-variables.aspx | CC-MAIN-2014-10 | en | refinedweb |
03 April 2012 12:57 [Source: ICIS news]
By Yu Guo and Ong Sheau Ling
DUBAI (ICIS)--The Gulf Cooperation Council (GCC) region's polymer conversion sector will maintain an annual growth rate of 9-10% up to 2016, GPCA general secretary Abdulwahab Al-Sadoun told ICIS on Tuesday.
The actual growth rate may be higher given t... | http://www.icis.com/Articles/2012/04/03/9547470/gulfs-conversion-sector-to-grow-annually-by-9-10-until-2016.html | CC-MAIN-2014-10 | en | refinedweb |
Details
- Type:
Sub-task
- Status: Open
- Priority:
Minor
- Resolution: Unresolved
- Affects Version/s: 2.1.8
-
- Component/s: Infrastructure
- Labels:None
Description
actual implemention of MultiResourceItemReader does not permit usage with step scope, to get it working the getCurrentResource needs to be added to an i... | https://jira.springsource.org/browse/BATCH-1831 | CC-MAIN-2014-10 | en | refinedweb |
OPENAT2(2) Linux Programmer's Manual OPENAT2(2)
openat2 - open and possibly create a file (extended)
#include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <openat2.h> int openat2(int dirfd, const char *pathname, struct open_how *how, size_t size); Note: There is no glibc wrapper for this system call;... | https://www.man7.org/linux/man-pages/man2/openat2.2.html | CC-MAIN-2020-29 | en | refinedweb |
got a Vodafone phone last week installed the sim card but wanted to give my friend my number but have got rid of the packaging what can i do
Call your friend so your number shows up on his caller ID?
On an iPhone you can find it in the Settings menu under Phone.
Behodar: On an iPhone you can find it in the Settings men... | https://www.geekzone.co.nz/forums.asp?forumid=40&topicid=268583 | CC-MAIN-2020-29 | en | refinedweb |
Hello Python forums,
I started working with Python recently and picked up a book. The book stated discussing using the ctypes module in python which is slick because it's exactly what I need to be learning.
I started trying to test my knowledge by implementing a simple, singly linked list in python using ctypes
from ct... | https://www.daniweb.com/programming/software-development/threads/273666/python-and-ctypes-an-exercise | CC-MAIN-2020-29 | en | refinedweb |
A default argument is a default value provided for a function parameter. If the user does not supply an explicit argument for a parameter with a default argument, the default value will be used. If the user does supply an argument for the parameter, the user-supplied argument is used.
Because the user can choose whethe... | https://www.learncpp.com/cpp-tutorial/77-default-arguments/ | CC-MAIN-2020-29 | en | refinedweb |
TabPy NLP ProcessingRaymond Rashid Mar 21, 2018 12:33 PM
Tableau community,
I'm working on an NLP project. I've done all the work in python, but trying to leverage the visual ability in Tableau.
However I get an error, "Unexpected number of results returned by SCRIPT function. Function expected 42 values; 112 values we... | https://community.tableau.com/message/745818 | CC-MAIN-2018-30 | en | refinedweb |
Qt Weekly is back from vacation with a post from a guest blogger (*applause*). In this post, Lorenz Haas tells us how to link Qt classes in custom documentation that is generated by using Doxygen.
By mid-2008, Sebastian Pipping introduced doxygen2qthelp for generating Qt Compressed Help files (*.qch) via Doxygen. Alrea... | https://blog.qt.io/blog/2014/08/13/qt-weekly-17-linking-qt-classes-in-documentation-generated-with-doxygen/ | CC-MAIN-2018-30 | en | refinedweb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.