text stringlengths 20 1.01M | url stringlengths 14 1.25k | dump stringlengths 9 15 ⌀ | lang stringclasses 4
values | source stringclasses 4
values |
|---|---|---|---|---|
10 replies on
1 page.
Most recent reply:
Apr 19, 2008 4:03 AM
by
Andy Chou
Disclaimer you will probably ignore:
I'm a software architect not a product manager, which means I write code and not marketing messages. My responses shouldn't be taken as any sort of official word from Macromedia. I'm just talking engineer-to-... | http://www.artima.com/forums/flat.jsp?forum=106&thread=22035&start=0 | CC-MAIN-2014-15 | en | refinedweb |
csPoly2D Class Reference
[Geometry utilities]
The following class represents a general 2D polygon. More...
#include <csgeom/poly2d.h>
Detailed Description
The following class represents a general 2D polygon.
Definition at line 40 of file poly2d.h.
Constructor & Destructor Documentation
Make a new empty polygon.
Copy co... | http://www.crystalspace3d.org/docs/online/api-1.4.1/classcsPoly2D.html | CC-MAIN-2014-15 | en | refinedweb |
A JavaFX Text Editor: Part 1
Recently, I've been building a specialized file editor with JavaFX 2.x for my day job. While I can't share all the details of that project here, I can share the key findings I've made along the way. I've built a scaled-down editor app that illustrates a lot of what makes JavaFX awesome for ... | http://www.drdobbs.com/cpp/decoupling-c-header-files/cpp/a-javafx-text-editor-part-1/240142297 | CC-MAIN-2014-15 | en | refinedweb |
« Return to documentation listing
#include <mpi.h>
int MPI_Grequest_complete(MPI_Request request)
INCLUDE ’mpif.h’
MPI_GREQUEST_COMPLETE(REQUEST, IERROR)
INTEGER REQUEST, IERROR
#include <mpi.h>
void MPI::Grequest::Complete()
MPI imposes no restrictions on the code executed by the callback
functions." semantics). It sh... | http://www.open-mpi.org/doc/current/man3/MPI_Grequest_complete.3.php | CC-MAIN-2014-15 | en | refinedweb |
in reply to
Simple modification to SVG
SVG is an XML application.
Choose a module that can manipulate XML files and perform the necessary changes.
The module you pick may be dependent on what you're familiar with.
I'd probably choose XML::LibXML because that's what I'm familiar with.
You can search CPAN for modules in ... | http://www.perlmonks.org/index.pl/jacques?node_id=1052286 | CC-MAIN-2014-15 | en | refinedweb |
SeqIO
Revision as of 11:42, 1 March 2013
This page describes Bio.SeqIO, the standard Sequence Input/Output interface for BioPython 1.43 and later. For implementation details, see the SeqIO development page.
There is a whole chapter in the Tutorial (PDF) on Bio.SeqIO, and although there is some overlap it is well worth ... | http://biopython.org/w/index.php?title=SeqIO&diff=3755&oldid=2967 | CC-MAIN-2014-15 | en | refinedweb |
Learn C the Hard Way (Zed A Shaw).
The Gnu C Tutorial
Hacking: The Art of Exploitation
Today I stumbled across an excellent series of lectures by Jerry Cain.
This link points at the third one, in which he describes using pointers to do a little swap function. I thought I'd have a go at coding it and came up with this.
... | https://lb.raspberrypi.org/forums/viewtopic.php?f=33&t=7461&p=92398 | CC-MAIN-2020-16 | en | refinedweb |
US20030187761A1 - Method and system for storing and processing high-frequency data - Google PatentsMethod and system for storing and processing high-frequency data Download PDF
Info
- Publication number
- US20030187761A1US20030187761A1 US10/046,907 US4690702A US2003187761A1 US 20030187761 A1 US20030187761 A1 US 2003018... | https://patents.google.com/patent/US20030187761A1/en | CC-MAIN-2020-16 | en | refinedweb |
:
Changes 2.06:
* In main(), when parsing form input fails, the CGI script exits without
producing any output whatsoever. Wouldn't it be better to actually
emit an error status, instead of expecting the server to do something
sane with a script that produces no output?
* In mpRead(), a check is done to insure the reque... | https://pkgsrc.se/www/cgic | CC-MAIN-2020-16 | en | refinedweb |
What is Workbox SW?
The
workbox-sw module provides an extremely easy way to get up and running
with the Workbox modules, simplifies the loading of the Workbox modules, and
offers some simple helper methods.
You can use
workbox-sw via our CDN or you use it with a set of workbox files
on your own server.
Using Workbox SW... | https://developers.google.com/web/tools/workbox/modules/workbox-sw?hl=pt-br | CC-MAIN-2020-16 | en | refinedweb |
Our application will associate sites with tags (many to many relationship), like delicious does, but in a much simplified manner. For instance, delicious keeps tracks of which user gave which tag to which URL. We will only associate sites with tags. But it will be very easy to add this functionality later.
We’ll quicks... | http://www.thesamet.com/blog/2006/11/17/tutorial-how-to-implement-tagging-with-turbogears-and-sqlalchemy/ | CC-MAIN-2020-16 | en | refinedweb |
GraphQL: Understanding Spring Data JPA/Spring Boot
GraphQL: Understanding Spring Data JPA/Spring Boot
Let's understand Spring Data JPA and Spring Boot with a practical example.
Join the DZone community and get the full member experience.Join For Free
GraphQL is a query language for APIs. Generally, while making REST en... | https://dzone.com/articles/graphql-understanding-with-springdatajpaspringboot | CC-MAIN-2020-16 | en | refinedweb |
This part of the series will show how to verify our applications with code-level as well as system-level integration tests.
(Code-level) integration tests
The term integration test is sometimes used differently in different contexts. What I’m referring to, following the Wikipedia definition, are tests that verify the i... | https://www.javacodegeeks.com/2019/09/efficient-enterprise-testing-integration-tests-3-6.html | CC-MAIN-2020-16 | en | refinedweb |
SQLite
The Mono.Data.SqliteClient assembly contains an ADO.NET data provider for the SQLite embeddable database engine (both version 2 and version 3).
SQLite has a notable oddity: table cell data does not retain what kind of data it was. Everything is stored as either a long, double, string, or blob. And in SQLite vers... | https://www.mono-project.com/docs/database-access/providers/sqlite/ | CC-MAIN-2020-16 | en | refinedweb |
import "crawshaw.io/sqlite"
Package sqlite provides a Go interface to SQLite 3.
The semantics of this package are deliberately close to the SQLite3 C API, so it is helpful to be familiar with.
An SQLite connection is represented by a *sqlite.Conn. Connections cannot be used concurrently. A typical Go program will creat... | https://godoc.org/crawshaw.io/sqlite | CC-MAIN-2020-16 | en | refinedweb |
to realize such a setup.
Installing and setting up the L3 agent
OpenStack offers different models to operate a virtual router. The model that we discuss in this post is sometimes called a “legacy router”, and is realized by a router running on one of the controller hosts, which implies that the routing functionality i... | https://leftasexercise.com/2020/03/16/building-virtual-routers-with-openstack/ | CC-MAIN-2020-16 | en | refinedweb |
Send Props to Children in React
In React, you’re always making components. Sometimes components are standalone. Other times, you’ll have components that can nest children components. Sometimes you’ll want to send properties to the children components from the parent as often as a doting parent wants to send packages to... | https://jaketrent.com/post/send-props-to-children-react/ | CC-MAIN-2017-43 | en | refinedweb |
Settings ReSharper | Options | Code Inspection | Settings In this page of ReSharper options, you can specify your preferences for code inspection. ItemDescription General Enable code analysis Select this check box to enable design-time code inspection. Color identifiers This option lets you enable or disable ReSharper ... | https://www.jetbrains.com/help/resharper/Reference__Options__Code_Inspection__Settings.html | CC-MAIN-2017-43 | en | refinedweb |
This document outlines the steps to create, define, and use an extension for some of the APIs supported by Khronos. It is currently focused on OpenGL, OpenGL ES, GLX, and EGL. Some discussion of OpenVG and WGL is also included.
When initially creating an extension, take the following steps:
Specifications for extension... | https://www.khronos.org/registry/OpenGL/docs/rules.html | CC-MAIN-2017-43 | en | refinedweb |
[ Return to Articles | Show Comments | Submit Comment ]
Created at 14:57 Sep 19, 2017 by greg.ercolano
Last modified at 14:59 Sep 19, 2017
If you have an FLTK Windows GUI application (built with /subsystem:windows), you can create a DOS style window and redirect stdout/stderr to it at runtime.
This shows a pretty simpl... | http://www.fltk.org/articles.php?L1549 | CC-MAIN-2017-43 | en | refinedweb |
QuantLib_FixedRateBondForward man page
FixedRateBondForward — Forward contract on a fixed-rate bond
Synopsis
#include <ql/instruments/fixedratebondforward.hpp>
Inherits Forward.
Public Member Functions
Constructors >())
Calculations
Real forwardPrice () const
(dirty) forward bond price
Real cleanForwardPrice () const
(... | https://www.mankier.com/3/QuantLib_FixedRateBondForward | CC-MAIN-2017-43 | en | refinedweb |
Odoo Help
Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
How to solve this error from raise Warning: NameError: global name '_' is not defined
Hi, when i click on a button to check the F... | https://www.odoo.com/forum/help-1/question/how-to-solve-this-error-from-raise-warning-nameerror-global-name-is-not-defined-98884 | CC-MAIN-2017-43 | en | refinedweb |
Blokkal::FileEngine Class ReferenceProvides access to icon data of various objects. More...
#include <blokkalfileengine.h>
Inheritance diagram for Blokkal::FileEngine:
Detailed DescriptionProvides access to icon data of various objects.
This class provides access to icon data for tool tips and similar uses. Resources a... | http://blokkal.sourceforge.net/docs/0.1.0/classBlokkal_1_1FileEngine.html | CC-MAIN-2017-43 | en | refinedweb |
In this section you will read about how to convert a string to date. Here you will read how the specified string into date format can be convert into java.util.Date. Java string to date convert explains the conversion of Java string written into the specified format to a Java date object. Java provides two types of Dat... | http://roseindia.net/java/java-conversion/java-string-to-date.shtml | CC-MAIN-2015-22 | en | refinedweb |
first for an object, class is set to true, to direct the ObjectDataSource to not call Dispose on the instance.
<%@ Import namespace="Samples.AspNet.CS" %> <%@ Page language="c#" %> . | https://msdn.microsoft.com/en-US/library/system.web.ui.webcontrols.objectdatasourcedisposingeventhandler(v=vs.80).aspx | CC-MAIN-2015-22 | en | refinedweb |
Spring and Spring MVC is one of the most popular Java framework and most of new Java projects uses Spring these days. Java programmer often ask questions like which books is good to learn Spring MVC or What is the best book to learn Spring framework etc. Actually, there are many books to learn Spring and Spring MVC but... | http://javarevisited.blogspot.com/2013/03/5-good-books-to-learn-spring-framework-mvc-java-programmer.html?showComment=1380521703581 | CC-MAIN-2015-22 | en | refinedweb |
Difference between revisions of "Funtoo Filesystem Guide, Part 1"
Latest revision as of 01:13, January 2, 2015
Journaling and ReiserFS
Next in series: Funtoo Filesystem Guide, Part 2
Support Funtoo and help us grow! Donate $15 per month and get a free SSD-based Funtoo Virtual Container.
Looking for people interested in... | http://www.funtoo.org/index.php?title=Funtoo_Linux&diff=next&oldid=8167 | CC-MAIN-2015-22 | en | refinedweb |
This section contains the following topics:
Peeking Using the Sealing Server
Peeking Using the IRM Java API sealing server supports both peeking and validated peek (where the digital signature of the sealed content is validated). In both cases the sealed content is uploaded to the sealing server, the content is examine... | http://docs.oracle.com/cd/E23943_01/user.1111/e12326/isvsealedcontentexamples003.htm | CC-MAIN-2015-22 | en | refinedweb |
Net::hostent - by-name interface to Perl's built-in gethost*() functions
use Net::hostent;.
You may also import all the structure fields directly into your namespace as regular variables using the :FIELDS import tag. (Note that this still overrides your core functions.) Access these fields as variables named with a pre... | http://search.cpan.org/~rjbs/perl-5.18.0-RC1/lib/Net/hostent.pm | CC-MAIN-2015-22 | en | refinedweb |
Saudi Arabia Objects To Proposed
.gay gTLD, Among Others
459 'strings,' of which 911 came from North America and 675 from Europe.."
Hmmm... (Score:5, Funny)
Interesting the
.gay thing, considering how infamous Saudi Party Boys are...
Re: (Score:3)
"Interesting the
.gay thing, considering how infamous Saudi Party Boys a... | http://tech.slashdot.org/story/12/08/15/1857212/saudi-arabia-objects-to-proposed-gay-gtld-among-others | CC-MAIN-2015-22 | en | refinedweb |
28 December 2011 06:12 [Source: ICIS news]
By Dolly Wu
SHANGHAI (ICIS)--?xml:namespace>
Hong Kong’s Kingboard is planning to bring on line a 320,000 tonnes/year phenol/acetone unit in
During 2013-2015 period
China’s imports are expected to continue growing in 2012 on firm demand and volumes are estimated to reach 750,0... | http://www.icis.com/Articles/2011/12/28/9519297/outlook-12-chinas-phenol-supply-to-grow-on-new-plants-in-2012.html | CC-MAIN-2015-22 | en | refinedweb |
02 March 2012 10:08 [Source: ICIS news]
By James Dennis
?xml:namespace>
At 09:35 GMT, April Brent crude on
April NYMEX light sweet crude futures (WTI) were trading at $107.96/bbl, down 88 cents/bbl on the previous close. Earlier the
Crude prices had surged on Thursday with April ICE Brent futures climbing to an intrada... | http://www.icis.com/Articles/2012/03/02/9537612/crude-falls-off-highs-as-saudi-supply-worries-ease.html | CC-MAIN-2015-22 | en | refinedweb |
Host name resolution
Updated: January 21, 2005
Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2
Host name resolution
Host name resolution means successfully mapping. You can assign multiple host names to the same host.
Windows Sockets (Winsock) programs... | https://technet.microsoft.com/en-us/library/cc739738(d=printer,v=ws.10).aspx | CC-MAIN-2015-22 | en | refinedweb |
Using JMX and J2SE 5.0 to Securely Manage Web Applications
JMX (Java Management Extensions) supplies tools for managing
local and remote applications, system objects, devices, and more.
This article will explain how to remotely manage a web application
using JMX (JSR
160). It will explain the code needed inside of the ... | https://today.java.net/pub/a/today/2005/11/15/using-jmx-to-manage-web-applications.html?page=2 | CC-MAIN-2015-22 | en | refinedweb |
Credit to functions related to the Luhn credit card […]
I came up with two versions of my intermediate Luhn sum function: one that
creates a list and modifies it in-place, and another that uses iterators
instead. My solution is available on github.
Just numbers; just one recursive branch / two vectors.
First I missed t... | http://programmingpraxis.com/2011/04/08/credit-card-validation/?like=1&source=post_flair&_wpnonce=81d32a40f7 | CC-MAIN-2015-22 | en | refinedweb |
SMILA/Project Concepts/Blackboard Service Concept
Contents
Description
Design a service to ease management of SMILA records during workflow processing.
Discussion
When to persist data into the a storage.
User:G.schmidt.brox.de: Several month ago we have had a discussion, how to persist information into the search index... | http://wiki.eclipse.org/index.php?title=SMILA/Project_Concepts/Blackboard_Service_Concept&redirect=no | CC-MAIN-2015-22 | en | refinedweb |
Split fasta file
(Difference between revisions)
Revision as of 08:30, 17 April 2009
Problem
PLAN is a free online service for BLAST based sequence annotation provided by the Noble institute. At present the people that run PLAN limit user's queries to 1000 records. This recipe shows how to split a fasta file containing ... | http://www.biopython.org/w/index.php?title=Split_fasta_file&diff=prev&oldid=2596 | CC-MAIN-2015-22 | en | refinedweb |
Issue Links
- depends upon
-
-
- is related to
-
-
-
-
-
LUCENE-1421 Ability to group search results by field
- Closed
Activity
- All
- Work Log
- History
- Activity
- Transitions
Remplacing HashDocSet by BitDocSet for hasMoreResult for better performances
This looks good. Someone with better lucene chops should look ... | https://issues.apache.org/jira/browse/SOLR-236?page=com.atlassian.jira.plugin.ext.subversion:subversion-commits-tabpanel | CC-MAIN-2015-22 | en | refinedweb |
PageAdapter Class
Adapts a Web page for a specific browser and provides the base class from which all page adapters inherit, directly or indirectly.
System.Web.UI.Adapters.ControlAdapter
System.Web.UI.Adapters.PageAdapter
Namespace: System.Web.UI.AdaptersNamespace: System.Web.UI.Adapters
Assembly: System.Web (in System... | https://msdn.microsoft.com/en-us/library/system.web.ui.adapters.pageadapter.aspx | CC-MAIN-2015-22 | en | refinedweb |
I'm pretty sure
new throwing an exception is platform-independent. Following that, you can install an exception handler with the effect of doing what you are suggesting (writing to file). Although, I think you would be hard pressed to find a system today that doesn't already transparently support this with virtual memo... | https://www.daniweb.com/software-development/cpp/threads/414483/checking-memory-bounds | CC-MAIN-2015-22 | en | refinedweb |
Manages the displaying of the Milky Way. More...
#include <MilkyWay.hpp>
Manages the displaying of the Milky Way.
Draw the Milky Way.
Reimplemented from StelModule.
Used to determine the order in which the various modules are drawn.
Reimplemented from StelModule.
Get the color used for rendering the milky way.
Gets whe... | http://stellarium.org/doc/0.11.4/classMilkyWay.html | CC-MAIN-2015-22 | en | refinedweb |
14 November 2012 15:48 [Source: ICIS news]
BERLIN (ICIS)--The chemical industry is so far not catering to a shifting marketplace, due to a fundamental misunderstanding of demographics in a changing world, a leading consultant said on Wednesday.
Speaking at the 11th World Aromatics & Derivatives Conference in ?xml:names... | http://www.icis.com/Articles/2012/11/14/9614142/chems-industry-must-respond-to-changing-demographics-hodges.html | CC-MAIN-2015-22 | en | refinedweb |
Contents
Macros function called macro_MacroName(macro, arg1, arg2, ...), which is the entry-point.
the first argument macro is an instance of class Macro, and also evaluates to a string of the macroname,
- arguments arg1, arg2, ... are the arguments given by the user, but special rules apply, see below.
You can access ... | http://wiki.apache.org/logging-log4cxx/HelpOnMacros?action=show&redirect=AideDesMacros | CC-MAIN-2015-22 | en | refinedweb |
#include "test.h" void tst_sig(fork_flag, handler, cleanup) char *fork_flag; int (*handler)(); void (*cleanup)();
Tst_sig is used by UNICOS test case programs to set up signal handling functions for unexpected signals. This provides test cases with a graceful means of exiting following an unexpected interruption by a s... | http://www.makelinux.net/man/3/T/tst_sig | CC-MAIN-2015-22 | en | refinedweb |
NAME
PRANG::Graph::Meta::Element - metaclass metarole for XML elements
SYNOPSIS
use PRANG::Graph; has_element 'somechild' => is => "rw", isa => "Some::Type", xml_required => 0, ; # equivalent alternative - plays well with others! has 'somechild' => is => "rw", traits => [qw/PRANG::Element/], isa => "Some::Type", xml_re... | https://metacpan.org/pod/PRANG::Graph::Meta::Element | CC-MAIN-2015-22 | en | refinedweb |
Difference between revisions of "Password length & complexity"
Revision as of 14:42, 28 January 2011
Status
Under review
Introduction
A password is something that a user knows similar to a personal identification number (PIN) we use for our bank's ATM card. Coupled with user identification, it force.
- Maximum length. ... | https://www.owasp.org/index.php?title=Password_length_%26_complexity&diff=102459&oldid=16434 | CC-MAIN-2015-22 | en | refinedweb |
std::div, std::ldiv, std::lldiv
Computes both the quotient and the remainder of the division of the numerator
x by the denominator
y
[edit] Parameters
[edit] Return value
If both the remainder and the quotient can be represented as objects of the corresponding type (int, long, long long, std::imaxdiv_t, respectively), ... | http://en.cppreference.com/w/cpp/numeric/math/div | CC-MAIN-2015-22 | en | refinedweb |
Hi all,
The CacheMinFileSize and CacheMaxFileSize directives in mod_disk_cache
are currently set per server, which seems to be historical from the
time before mod_cache could be added as a normal handler /
specifically placed filter. This stops an administrator applying a
cache size policy per directory or location.
Th... | http://mail-archives.apache.org/mod_mbox/httpd-dev/201009.mbox/%3C918D5A0D-A7B0-4069-B817-7C9CC409BC62@sharp.fm%3E | CC-MAIN-2015-22 | en | refinedweb |
javaw -jar KeyGuard.jar
Please be advised that KeyGuard is suitable only for the purpose of maintaining a Key-Store of personal Certificates that are created by the user and are therefore vouched by the user. KeyGuard currently re-writes the Key-Store file every time you save your changes to the Key-Store, this means t... | http://www.codeproject.com/Articles/9689/KeyGuard-JAR-Signing-Utility?msg=1073448 | CC-MAIN-2015-22 | en | refinedweb |
On Tue, 25 Jan 2005 16:46:54 -0600, Serge Hallyn <serue us ibm com> wrote: > On Tue, 2005-01-25 at 15:25 -0600, Timothy R. Chavez wrote: > > Any accesses on that inode, > > in that namespace (presumably the only access we care about), by an > > audited syscall will be noted and sent to userspace. Isn't that > > suffici... | https://www.redhat.com/archives/linux-audit/2005-January/msg00241.html | CC-MAIN-2015-22 | en | refinedweb |
#include <iostream.h>
#include <stdlib.h>
int main()
{
int j;
char k[4]= "123";
j = static_cast<int>( k[0]);
cout<<j<<endl;
system("PAUSE");
return 0;
}
I am writing a program where i receive a string with numbers in it. My program has to validate those numbers. I try to cast the numbers to an intiger for easier valida... | http://cboard.cprogramming.com/cplusplus-programming/5941-problem-casting.html | CC-MAIN-2015-22 | en | refinedweb |
#include <coherence/lang/ThreadLocalReference.hpp>
Inherits Object, and Reference.
List of all members.
A single native thread-local is used to manage all ThreadLocalReferences, which means that users are free to allocate any number of ThreadLocalReferences.
The memory associated with a thread's ThreadLocals is automat... | http://docs.oracle.com/cd/E15357_01/coh.360/e18813/classcoherence_1_1lang_1_1_thread_local_reference.html | CC-MAIN-2015-22 | en | refinedweb |
Deploy an application to Cloud Run for Anthos
Learn how to use the Google Cloud console to deploy a prebuilt sample container to run as a Cloud Run for Anthos service.
Before you begin
You must have access to the Google Cloud project and Anthos cluster where Cloud Run for Anthos is installed. For details, see Cloud Run... | https://cloud.google.com/anthos/run/docs/deploy-application?hl=el | CC-MAIN-2022-40 | en | refinedweb |
I saw that lots of people have Problems uploading a file in a test Environment with Selenium WebDriver. I use the selenium WebDriver and java, and had the same problem. I finally have found a solution, so i will post it here hoping that it helps someone else.
When i need to upload a file in a test, i click with Webdriv... | https://itecnote.com/tecnote/java-one-solution-for-file-upload-using-java-robot-api-with-selenium-webdriver-by-java/ | CC-MAIN-2022-40 | en | refinedweb |
I have read quite a few posts that are similar to this but none seem to make sense to me.
I am trying to configure a Celery PeriodicTask to fire every 5 seconds but I'm getting hung up on a Celery configuration issue (I think)
comm/tasks.py
import datetime from celery.decorators import periodic_task @periodic_task def ... | https://itecnote.com/tecnote/python-celery-received-unregistered-task-of-type/ | CC-MAIN-2022-40 | en | refinedweb |
How can I set a default set of colors for plots made with matplotlib? I can set a particular color map like this
import numpy as np import matplotlib.pyplot as plt fig=plt.figure(i) ax=plt.gca() colormap = plt.get_cmap('jet') ax.set_color_cycle([colormap(k) for k in np.linspace(0, 1, 10)])
but is there some way to set ... | https://itecnote.com/tecnote/python-how-to-set-the-default-color-cycle-for-all-subplots-with-matplotlib/ | CC-MAIN-2022-40 | en | refinedweb |
I have a project that is supposed to run on different (at least 2) databse backends, so users can choose (currently between MSSQL and SQLite). I've just started learning NHibernate, following the tutorial on nhibernate.info.
Now, my current Architecture looks like this:
MyProject.DAL
Contains NewsItem and INewsItemRepo... | https://itecnote.com/tecnote/r-nhibernate-and-multiple-database-backends-architecture/ | CC-MAIN-2022-40 | en | refinedweb |
One of most interesting aspects of writing code for mobile devices are sensors. Desktop and laptop computers don’t normally come with thermometers, gyroscopes, geomagnetic field detectors or ambient air pressure sensors. But all that changed with mobile devices, such as Android.
Mobile computers don’t sit on a desk and... | https://www.developer.com/mobile/android/how-to-build-mobile-apps-with-android-sensors/ | CC-MAIN-2022-40 | en | refinedweb |
elephant ear plant skin irritation treatment
slg games android
us art supply 14quot high
xml xsd validator
unified access gateway
yupoo gucci
mullen van contract
hdwificampro video mode
w203 horn fuse location
kids underwear
murder gone cold
redis stream commands
all bitcoin private keys
spoofbox promo code
amorepacifi... | https://cs-advert.pl/1562/08/2006.html | CC-MAIN-2022-40 | en | refinedweb |
Getting scheduled query information and monitor the query
After you create a scheduled query you can access information about it in the
scheduled_queries table of the Hive information schema. You can also
use the information schema to monitor scheduled query execution.
- Query the information schema to get information ... | https://docs.cloudera.com/cdp-private-cloud-base/7.1.8/using-hiveql/topics/hive_access_schedule.html | CC-MAIN-2022-40 | en | refinedweb |
rise of Linux container use in commercial environments, the adoption of container technologies has gained momentum in technical and scientific computing, commonly referred to as high-performance computing (HPC). Containers can help solve many HPC problems, but the mainstream container engines didn't quite tick all the... | https://www.redhat.com/en/blog/podman-paves-road-running-containerized-hpc-applications-exascale-supercomputers?source=bloglisting&page=1 | CC-MAIN-2022-40 | en | refinedweb |
Consider a sample json which looks like this:
{ "a" : ["b", "c"], "b" : ["a", "c"], "c" : ["a", "b"] }This content can be represented as a "Map<List<String>>" type in Java.
So now, if I were to use straight Java to convert the string to the appropriate type, the code would look like this:
Map<String, List<String>> resu... | http://www.java-allandsundry.com/2021/03/jackon-kotlin-extension-and-reified.html | CC-MAIN-2022-40 | en | refinedweb |
This is a sample from my This Week In React newsletter. Subscribe for more!
React-Redux v8 alpha.0 was just announced by Mark Erikson.
The library is now fully rewritten in TypeScript.
More importantly, React-Redux v8 is adopting a new React 18 hook
useSyncExternalStore (replacing
useMutableSource).
This hook allows Re... | https://dev.to/sebastienlorber/react-18-milestone-react-redux-adopts-usesyncexternalstore-102b | CC-MAIN-2022-40 | en | refinedweb |
Algorithm Fourth Edition: 1.1.27 binomial distribution, from 10 to 10 billion@ TOC
Recursive method to realize binomial distribution operation, O(2^N)
The recursive algorithm is relatively simple. It is very suitable for small parameters.
But the problem is also obvious. N * k > 100 is very slow at the beginning. When ... | https://programmer.group/1.1.27-binomial-distribution-from-10-to-10-billion.html | CC-MAIN-2022-40 | en | refinedweb |
7 TextField enhancement suggestion
Hello,
I have TextField enhancement suggestion for Vaadin 7.
Vaadin is mainly for LOB database application. Right?
Columns in database is defined as "Varchar(10)", "Numeric(10,2)", "Integer", etc..
I want TextField with mode for entering Integer - allowing only numbers.
I want TextFi... | https://vaadin.com/forum/thread/1373501/vaadin-7-textfield-enhancement-suggestion | CC-MAIN-2022-40 | en | refinedweb |
Next() call not being delayed
I have an indicator with a period of 12 being initialized in my strategy.
I am compressing 60 minutes into hour long bars.
Based off of what I read on the wiki - the first next() call should not occur until 12 hours have passed in the data, correct? Yet my next() call is being triggered wi... | https://community.backtrader.com/topic/438/next-call-not-being-delayed/3 | CC-MAIN-2022-40 | en | refinedweb |
You are viewing the documentation for the 2.2.x release series. The latest stable release series is 2.8 by following these steps:
- Implement
play.Plugin(see this for an example).
- This plugin should be available in the application either through pulling in it from a maven repository and referencing it
as an app depen... | https://www.playframework.com/documentation/2.2.x/JavaPlugins | CC-MAIN-2022-40 | en | refinedweb |
I have a base "fishnet" polygon grid. I attempted to create a model that iterates over each cell in that base fishnet grid and subdivide that cell with the Create Fishnet tool into a new feature class.
I expected that I simply would need to set the output from my iterate feature iterator as the 'Template Extent' parame... | https://community.esri.com/t5/geoprocessing-questions/how-to-use-an-iterator-to-set-the-template-extent/td-p/71452?attachment-id=41861 | CC-MAIN-2022-40 | en | refinedweb |
Scala DSL for money-related operationsScala DSL for money-related operations
This Domain-Specific Language (DSL) lets you perform operations among different currencies, by transparently doing all internal conversions. The conversion map is injected implicitly by the client code.
Using MoneyUsing Money
As a first step y... | https://index-dev.scala-lang.org/lambdista/money | CC-MAIN-2022-40 | en | refinedweb |
React and React Native finally feel the same
If you're a developer of both React and React Native apps, it can be tough to switch between platforms because they feel so different. And in many ways React Native feels relatively... well, backwards.
Despite great improvements in DX (Developer Experience) for web developme... | https://legendapp.com/dev/react-and-native/ | CC-MAIN-2022-40 | en | refinedweb |
import ROOT
Welcome to JupyROOT 6.07/07
%jsroot on
h = ROOT.TH1F("myHisto","My Histo;X axis;Y axis",64, -4, 4)
Time to create a random generator and fill our histogram:
rndmGenerator = ROOT.TRandom3() for i in xrange(1000): rndm = rndmGenerator.Gaus() h.Fill(rndm)
c = ROOT.TCanvas() h.Draw() c.Draw()
We'll try now to b... | https://nbviewer.org/github/dpiparo/swanExamples/blob/master/notebooks/Simple_ROOTbook_py.ipynb | CC-MAIN-2022-40 | en | refinedweb |
This is another resource that I’ve created for the Kwarqs FIRST Robotics team this season that I’ve found useful, and hopefully others will find it useful as well.
This particular program is stupidly simple, but really nice to have around in case you think your driver station is being screwy, or you want to verify that... | http://www.virtualroadside.com/blog/index.php/2009/03/08/frc-driver-station-test-program/ | CC-MAIN-2022-40 | en | refinedweb |
Hello all,
first, I use this code to get total dos with respect to mp id.
import numpy as np
from pymatgen.ext.matproj import MPRester
mpr = MPRester()
dos = mpr.get_dos_by_material_id(“mp-134”)
total_density = sum(dos.densities.values())
using this code, I can get energy versus DOS data.
but I do not know, how should ... | https://matsci.org/t/element-partial-density-of-states/2573 | CC-MAIN-2022-40 | en | refinedweb |
Follow me on Twitter at @tim_deschryver | Subscribe to the Newsletter | Originally published on timdeschryver.dev..
$ npm install --save-dev eslint @typescript-eslint/parser @typescript-eslint/eslint-plugin.
- export class Rule extends Lint.Rules.TypedRule {} + + import { ESLintUtils } from '@typescript-eslint/experime... | https://practicaldev-herokuapp-com.global.ssl.fastly.net/timdeschryver/migrating-a-tslint-rule-to-eslint-with-typescript-eslint-31fg | CC-MAIN-2022-40 | en | refinedweb |
Android Mobile Browser - Omega-XXXX.local
- Jon Gordon
I have a web server set up on my Omega2+ that acts as a user interface which is reachable by the omega-xxxx.local domain on Windows(with bonjour installed)/Mac/iOS when connected to the Omega2+'s WIFI Access Point.
As some of you may know, this does not seem to wor... | http://community.onion.io/topic/3430/android-mobile-browser-omega-xxxx-local/?page=1 | CC-MAIN-2019-35 | en | refinedweb |
Templates (C++)
The latest version of this topic can be found at Templates (C++).
Templates are the basis for generic programming in C++. As a strongly-typed language, C++ requires all variables to have a specific type, either explicitly declared by the programmer or deduced by the compiler. However, many data structur... | https://docs.microsoft.com/en-us/previous-versions/y097fkab(v%3Dvs.140) | CC-MAIN-2019-35 | en | refinedweb |
Uploading code without restarting the board
Is there a way to update code on the board without restarting it?
the VS code plugin is uploading the files and resetting it.
This is a frustrating process to test code.
I know I can run 1 file, but i have several code files and not only 1
I wish I could just copy files to th... | https://forum.pycom.io/topic/4011/uploading-code-without-restarting-the-board | CC-MAIN-2019-35 | en | refinedweb |
when running oncotator
Hi,
I installed Oncotator v1.8.0.0 on RHEL.
I am getting following error when running the command oncotator -h
Traceback (most recent call last):
File "/usr/bin/oncotator", line 9, in
load_entry_point('Oncotator==v1.8.0.0', 'console_scripts', 'oncotator')()
File "/usr/lib/python2.6/site-packages... | https://gatkforums.broadinstitute.org/gatk/discussion/6943/error-when-running-oncotator | CC-MAIN-2019-35 | en | refinedweb |
sudo apt-get dist-upgrade (This will update all your Raspbian packages and may take up to an hour).
RasPiO® GPIO Reference Aids
Our sister site RasPiO has three really useful reference products for Raspberry Pi GPIO work...
Interesting… Is there any way to set it up so that you’re waiting to see if either button A _or... | https://raspi.tv/2013/how-to-use-interrupts-with-python-on-the-raspberry-pi-and-rpi-gpio?replytocom=53824 | CC-MAIN-2019-35 | en | refinedweb |
Investment Banking: How to Calculate Internal Rate of Return
Rates of return are central concepts in the investment banking world. Investors often compare their performance to that of other investors, other investments and stock indexes by comparing rates of return. In the private equity world, rates of return are calc... | https://www.dummies.com/personal-finance/investing/investment-banking/investment-banking-how-to-calculate-internal-rate-of-return/ | CC-MAIN-2019-35 | en | refinedweb |
Siri Shortcuts Tutorial in iOS 12
In this iOS 12 tutorial, you’ll learn how to build Siri Shortcuts for your app to surface in Spotlight as well as command Siri with your voice.
Version
- Swift 4.2, iOS 12, Xcode 10
If you’ve had an iPhone for any length of time, you’ve likely interacted with Siri. When Siri was first ... | https://www.raywenderlich.com/6462-siri-shortcuts-tutorial-in-ios-12 | CC-MAIN-2019-35 | en | refinedweb |
graphql_parser
Parses GraphQL queries and schemas.
This library is merely a parser/visitor. Any sort of actual GraphQL API functionality must be implemented by you, or by a third-party package.
Angel framework
users should consider
package:angel_graphql
as a dead-simple way to add GraphQL functionality to their servers... | https://pub.dev/documentation/graphql_parser/latest/ | CC-MAIN-2019-35 | en | refinedweb |
This is CLI based lib which will help to ask question's.
example/main.dart
import 'package:pk_prompter/pk_prompter.dart'; void main(List<String> args) { final prompter = Prompter(); final String question1 = 'Which color do you want?'; final options1 = [ Option('I want red', '#F00'), Option('I want blue', '#00F'), Optio... | https://pub.dev/packages/pk_prompter | CC-MAIN-2019-35 | en | refinedweb |
Source code for gino.engine
import asyncio import collections import functools import sys import time from sqlalchemy.engine import Engine, Connection from sqlalchemy.sql import schema from .transaction import GinoTransaction if sys.version_info >= (3, 7): # noinspection PyPackageRequirements,PyUnresolvedReferences fro... | http://gino.fantix.pro/en/v0.7.7/_modules/gino/engine.html | CC-MAIN-2019-35 | en | refinedweb |
Introduction, and large ones. All of these experiences were related to an XML based CDM. This blog consists of three parts. This blogpost contains part I: Standards & Guidelines. The next blogpost, part two, is about XML Namespace Standards and the last blogpost contains part three about Dependency Management & Interfa... | https://technology.amis.nl/2017/03/29/cdm-development-and-runtime-experiences-part1/ | CC-MAIN-2019-35 | en | refinedweb |
figured it out myself
So i am trying to make a character movement system that looks cool and i've run into a major problem. I have this 2D top-down character that consists of three sprites: head, body and legs. The head rotates towards the mouse using the atan2 function, the legs rotate if the angle between the head an... | https://answers.unity.com/questions/1581347/2d-top-down-multiple-sprite-rotation.html | CC-MAIN-2019-35 | en | refinedweb |
AndroidX replaces the original support library APIs with packages in the
androidx namespace. Only the package and Maven artifact names changed; class,
method, and field names did not change.
Prerequisites
Before you migrate, bring your app up to date. We recommend updating your project to use the final version of the s... | https://developer.android.com/jetpack/androidx/migrate?hl=ru | CC-MAIN-2019-35 | en | refinedweb |
Explain BLE Example Code
Hi,
I am trying to connect the WiPy via BLE to an Android application, and I am at the stage where I am trying to understand how BLE works currently.
I was looking at the example advertising and connection code that is here:
Can someone explain to me how the code here works. My comments are how... | https://forum.pycom.io/topic/2389/explain-ble-example-code/ | CC-MAIN-2019-35 | en | refinedweb |
This article demonstrates how to quickly build a plug-in
architecture with ASP.NET MVC 3 and how to build new plugins for your
application. It also shows how to create your views as embedded resources into the plugins and how .NET
4.0 features can help with discovering the new plug-ins from the host
application.
Second... | https://www.codeproject.com/Articles/358360/NET-4-0-ASP-NET-MVC-3-plug-in-architecture-with-e?msg=4505354 | CC-MAIN-2019-35 | en | refinedweb |
python-unitypack
A library to deserialize Unity3D Assets and AssetBundles files (*.unity3d).
How Unity packs assets
Most extractors for Unity3D files (such asDisunity) deal with the format as a "file store", treating it as one would treat a zip. This is not how the format actually works.
Unity files are binary-packed, ... | http://www.shellsec.com/news/5816.html | CC-MAIN-2017-22 | en | refinedweb |
SD_JOURNAL_PRINT(3) sd_journal_print SD_JOURNAL_PRINT(3)
sd_journal_print, sd_journal_printv, sd_journal_send, sd_journal_sendv, sd_journal_perror, SD_JOURNAL_SUPPRESS_LOCATION - Submit log entries to the journal
#include <systemd);
sd_journal_print() may be used to submit simple, plain text log entries to the system j... | http://man7.org/linux/man-pages/man3/sd_journal_send.3.html | CC-MAIN-2017-22 | en | refinedweb |
Tk_DoWhenIdle, Tk_CancelIdleCall - invoke a procedure when there are no pending events
#include <tk.h>
Tk_DoWhenIdle(proc, clientData)
Tk_CancelIdleCall(proc, clientData)
Procedure to invoke.
Arbitrary one-word value to pass to proc.
Tk_DoWhenIdle arranges for proc to be invoked when the application becomes idle. The a... | http://search.cpan.org/~srezic/Tk-804.032/pod/pTk/DoWhenIdle.pod | CC-MAIN-2017-22 | en | refinedweb |
view raw
Python and
wc
with open("commedia.pfc", "w") as f:
t = ''.join(chr(int(b, base=2)) for b in chunks(compressed, 8))
print(len(t))
f.write(t)
Output : 318885
$> wc commedia.pfc
2181 12282 461491 commedia.pfc
"""
Implementation of prefix-free compression and decompression.
"""
import doctest
from itertools import... | https://codedump.io/share/YPzkNNZwaLkq/1/why-do-python-and-wc-disagree-on-byte-count | CC-MAIN-2017-22 | en | refinedweb |
In an earlier article I covered how to generate Excel reports on the fly using the Interop.Excel Namespace.
This is a really handy technique that also gives you full control over the minutia of the document you are creating. However the catch in using this technique is that you will need to update the configuration of ... | https://jwcooney.com/2012/09/20/configuring-a-web-server-to-allow-excel-file-creation-via-the-interop-excel-namespace/ | CC-MAIN-2017-22 | en | refinedweb |
This package extends the default Plone portlets framework to allow for the assignment of portlets on a per-view basis.
Sometimes it may really be useful to have a different portlet assigned to standalone views which are not necessary coupled to any content objects. You may think that in this case it is possible to crea... | https://pypi.org/project/collective.viewportletmanager/ | CC-MAIN-2017-22 | en | refinedweb |
The above equation is pretty easy to solve, it just means that x is any value that when you divide by 2, gives a remainder of 1. x is all odd numbers. The more formal answer is:
That reads as “x is equivalent to 1 plus 2 times any integer”. x has infinitely many solutions, so long as they fit that constraint.
That’s ea... | http://blog.demofox.org/2015/09/15/solving-nested-modulus-equations/ | CC-MAIN-2017-22 | en | refinedweb |
hi, im trying to create a jbutton where the button will allow the user to redo the program again. this program is to roll two dice and have the sum added up and list the frequencies of the sum of 2-12 poppoing out in 36000 rolls. i have gotten the program itself completed... but i do not know how to implement a jbutton... | http://forums.devx.com/showthread.php?139936-Creating-a-JButton&p=413949 | CC-MAIN-2017-22 | en | refinedweb |
gnutls_certificate_get_ours - return the raw certificate sent in the last handshake
#include <gnutls/gnutls.h> const gnutls_datum_t * gnutls_certificate_get_ours(gnutls_session_t session);
gnutls_session_t session is a gnutls session
Get the certificate as sent to the peer, in the last handshake. These certificates are... | http://huge-man-linux.net/man3/gnutls_certificate_get_ours.html | CC-MAIN-2017-22 | en | refinedweb |
view raw
I am trying to get a spectrum analyzer program example working but it is having problems finding the module. Here is the error I'm getting
Traceback (most recent call last):
File "C:\Users\user\Documents\Programs\Python_program_example.py", line 10, in <module>
rsa300 = ctypes.WinDLL("C:\\Tektronix\\RSA306 API... | https://codedump.io/share/bP5kttNXMWlZ/1/issues-using-ctypeswindll | CC-MAIN-2017-22 | en | refinedweb |
Salt should remain backwards compatible, though sometimes, this backwards compatibility needs to be broken because a specific feature and/or solution is no longer necessary or required. At first one might think, let me change this code, it seems that it's not used anywhere else so it should be safe to remove. Then, onc... | https://docs.saltstack.com/en/latest/topics/development/deprecations.html | CC-MAIN-2017-22 | en | refinedweb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.