text stringlengths 20 1.01M | url stringlengths 14 1.25k | dump stringlengths 9 15 ⌀ | lang stringclasses 4
values | source stringclasses 4
values |
|---|---|---|---|---|
def Test():
print 't = ' + `t`
def test2():
print 'calling Test()'
Test()
I read in the file and want to execute test2().
So I do the following:
f = open('file','r')
a = f.read()
f.close()
a_c = compile(a,'<string>','exec')
local_ns = {}
global_ns = {}
exec(a_c,global_ns,local_ns)
Now if I dump local_ns, it shows 't', ... | http://www.python.org/search/hypermail/python-1993/0236.html | CC-MAIN-2013-48 | en | refinedweb |
Chapter Table of Contents
views/web2py_ajax.html
which looks like this:
{{ response.files.insert(0,URL('static','js/jquery.js')) response.files.insert(1,URL('static','css/calenadar.css')) response.files.insert(2,URL('static','js/calendar.js')) response.include_meta() response.include_files() }} <script type="text/javas... | http://www.web2py.com/books/default/chapter/29/11 | CC-MAIN-2013-48 | en | refinedweb |
#include <LOCA_Epetra_LowRankUpdateRowMatrix.H>
Inheritance diagram for LOCA::Epetra::LowRankUpdateRowMatrix:
This class implements the Epetra_RowMatrix interface for
where
is an Epetra_RowMatrix and
and
are Epetra_MultiVectors. It is derived from LOCA::Epetra::LowRankUpdateOp to implement the Epetra_Operator interface... | http://trilinos.sandia.gov/packages/docs/r7.0/packages/nox/doc/html/classLOCA_1_1Epetra_1_1LowRankUpdateRowMatrix.html | CC-MAIN-2013-48 | en | refinedweb |
Kevin Atkinson wrote: > I will not apply the patch as is as there are some changes I don't > approve of. That's ok, I expected as much:) > 1) > I will accept the changes to deal with the fact that the sun compiler > is to stupid to know that abort doesn't return as those are harmless. Well, yes CC is stupid, it doesn't... | http://lists.gnu.org/archive/html/aspell-devel/2004-01/msg00009.html | CC-MAIN-2013-48 | en | refinedweb |
Andrew Morton a écrit :> Andi Kleen <ak@muc.de> wrote:>> On Thursday 09 February 2006 19:04, Andrew Morton wrote:>>> Ashok Raj <ashok.raj@intel.com> wrote:>>>> The problem was with ACPI just simply looking at the namespace doesnt>>>> exactly give us an idea of how many processors are possible in this platform.>>> We ne... | http://lkml.org/lkml/2006/2/10/84 | CC-MAIN-2013-48 | en | refinedweb |
I’ve been meaning to attack this one since we first published the Clipboard Manager as a Plugin of the Month: working out how to display a preview image of the clipboard contents inside the Clipboard Manager palette. And then I happened to receive a request by email, yesterday, suggesting a couple of enhancements to th... | http://through-the-interface.typepad.com/through_the_interface/2010/10/previewing-the-contents-of-the-clipboard-in-an-autocad-palette-using-net.html | CC-MAIN-2013-48 | en | refinedweb |
Editor's note: Know a lot about this topic? Want to share your expertise? Participate in the IBM Lotus software wiki program today.
Introduction
This article explains how to integrate Adobe Flex with an IBM WebSphere Portal portlet. This article starts by building a Flex project using Adobe Flex Builder and then shows ... | http://www.ibm.com/developerworks/websphere/library/techarticles/0911_el-hadik/0911_el-hadik.html | CC-MAIN-2013-48 | en | refinedweb |
public class Resubmitted extends Object
org.apache.spark.scheduler.ShuffleMapTaskthat completed successfully earlier, but we lost the executor before the stage completed. This means Spark needs to reschedule the task to be re-executed on a different executor.
equals, getClass, hashCode, notify, notifyAll, toString, wai... | http://spark.apache.org/docs/latest/api/java/org/apache/spark/Resubmitted.html | CC-MAIN-2021-49 | en | refinedweb |
A considerable number of Scala developers are attracted by the promises of type safety and functional programming in Scala, as can be seen by the adoption of libraries like Cats and Shapeless. When building an HTTP API, the choices for a pure functional programming approach are limited. Finch is a good candidate to fil... | https://underscore.io/blog/posts/2017/01/24/finch-functional-web-development.html | CC-MAIN-2021-49 | en | refinedweb |
notcurses_stdplane - Man Page
Name
notcurses_stdplane — acquire the standard ncplane
Synopsis
#include <notcurses/notcurses.h>
struct ncplane* notcurses_stdplane(struct notcurses* nc);
const struct ncplane* notcurses_stdplane_const(const struct notcurses* nc);
static inline struct ncplane* notcurses_stddim_yx(struct no... | https://www.mankier.com/3/notcurses_stdplane | CC-MAIN-2021-49 | en | refinedweb |
Asked by:
Help Needed in Transaction
Question
- User1489758560 posted
<div>Hello,</div> <div> </div> <div>I am using asp.net core 2.2 and i would need to use the transaction scope. on my business layer i am using transaction scope as follows</div> <div>
TransactionOptions options = new TransactionOptions(); options.Iso... | https://social.msdn.microsoft.com/Forums/en-US/8e489114-7d86-4485-8e78-1b9eec0837ac/help-needed-in-transaction?forum=aspdotnetcore | CC-MAIN-2021-49 | en | refinedweb |
Study Guide: Regular Expressions
Instructions
This is a study guide with links to past lectures, assignments, and handouts, as well as additional practice problems to assist you in learning the concepts.
Assignments
Important: For solutions to these assignments once they have been released, find the links in the front ... | https://inst.eecs.berkeley.edu/~cs61a/su21/study-guide/regex/ | CC-MAIN-2021-49 | en | refinedweb |
/2012 at 15:17, xxxxxxxx wrote:
Hi, I cannot find any way to enable, disable (grey out) or even hide user controls for my plugin.
For example, I have a checkbox named "Automatic". When this is checked, I want a spline control to be either hidden, or greyed out.
I have come that far that I programmatically, without relo... | https://plugincafe.maxon.net/topic/6436/6907_enable--disable--hide-user-controls | CC-MAIN-2021-49 | en | refinedweb |
Aladin 10 - October 2017 - (Quick overview...)
Aladin 9 - November 2015 - (Quick overview...)
Aladin 8 - February 2014 - (Quick overview...)
Aladin 7.5 - July 2012).
Contributors:
Other direct or indirect contributions:
Softwares:
Courses & astronomical tutorials:
Repackaging:
Since Aladin v10, this data collection lis... | https://aladin.u-strasbg.fr/java/FAQ.htx | CC-MAIN-2021-49 | en | refinedweb |
In my previous article I talked about Unity and Visual Studio: using Visual Studio to edit and maintain your Unity code. In that article I talked about working with source code directly in your Unity project.
DLLs are another way to get code into your Unity project. I'm talking about C# code that has been compiled and ... | https://codecapers.com.au/unity-and-dlls/ | CC-MAIN-2021-49 | en | refinedweb |
Built-In Handlers
Telerik Testing Framework includes native support for HTML pop-ups for all supported browsers in addition to a dialog handling framework (under the Win32.Dialogs) namespace with built-in support to handle some of the common browser dialogs like JavaScript Alert, Upload dialog and Logon dialog. The fra... | https://docs.telerik.com/teststudio/testing-framework/write-tests-in-code/advanced-topics-wtc/html-popups-and-dialogs-wtc/built-in-handlers | CC-MAIN-2021-49 | en | refinedweb |
Trending Projects is available as a weekly newsletter please sign up at Stargazing.dev to ensure you never miss an issue.
1. Robot
A small functional and immutable Finite State Machine library. Using state machines for your components brings the declarative programming approach to application state.
Robot
Tests are loc... | https://practicaldev-herokuapp-com.global.ssl.fastly.net/iainfreestone/10-trending-projects-on-github-for-web-developers-15th-october-2021-58k3 | CC-MAIN-2021-49 | en | refinedweb |
We are given two numbers n and k. We need to find the count of arrays that can be formed using the n numbers whose sum is k.
The number of arrays of size N with sum K is $\dbinom{k - 1}{n - 1}$.
This a straightforward formula to find the number arrays that can be formed using n elements whose sum k. Let's see an exampl... | https://www.tutorialspoint.com/number-of-arrays-of-size-n-whose-elements-are-positive-integers-and-sum-is-k-in-cplusplus | CC-MAIN-2021-49 | en | refinedweb |
halloumi-ami-pipelines
Project description
Introduction
AMI Pipelines is a library for creating EC2 Image Builder pipelines with configurations on a given path. EC2 Image Builder pipelines are pipelines that can help create AMI images, based on 1 or more steps, called components, in a defined image recipe. These pipeli... | https://pypi.org/project/halloumi-ami-pipelines/ | CC-MAIN-2021-49 | en | refinedweb |
Introduction to AWT Components in Java
Java AWT, which is abbreviated as Abstract Window Toolkit, is nothing but a set of API’s used in order to develop Graphical User Interface or applications based on windows. AWT components in java are platform-dependent components that mean a display of components on a graphical us... | https://www.educba.com/awt-components-in-java/ | CC-MAIN-2021-49 | en | refinedweb |
#include <vcardhandler.h>
A virtual interface that helps requesting Jabber VCards.
Derive from this interface and register with the VCardManager. See VCardManager for info on how to fetch VCards.
Definition at line 36 of file vcardhandler.h.
Describes possible operation contexts.
Definition at line 42 of file vcardhand... | https://camaya.net/api/gloox-0.9.9.12/classgloox_1_1VCardHandler.html | CC-MAIN-2019-18 | en | refinedweb |
Inpainting [1] is the process of reconstructing lost or deteriorated parts of images and videos.
The reconstruction is supposed to be performed in fully automatic way by exploiting the information presented in non-damaged regions.
In this example, we show how the masked pixels get inpainted by inpainting algorithm base... | https://scikit-image.org/docs/stable/auto_examples/filters/plot_inpaint.html | CC-MAIN-2019-18 | en | refinedweb |
Search Criteria
Package Details: xapps-git 1.2.2.r0.gd957699-2
Dependencies (7)
- libgnomekbd
- git (git-git) (make)
- gobject-introspection (gobject-introspection-git) (make)
- meson (meson-git) (make)
- python-gobject (python-gobject-git) (make)
- python2-gobject (python2-gobject-git) (make)
- vala (vala-git, vala0.2... | https://aur.archlinux.org/packages/xapps-git/ | CC-MAIN-2019-18 | en | refinedweb |
Description.
Specifications
Product Reviews
Questions & Answers
Usage Statistics
Discussions tagged with this product
Redirecting Folder Redirection GPO
All,
I'm in the middle of an interforest migration from Domain A to Domain B, and Windows Server 2003 to Windows Server 2012R2.
robocopy /move don't move folders on fi... | https://community.spiceworks.com/products/17457-microsoft-robocopy/review/680612/flag | CC-MAIN-2019-18 | en | refinedweb |
Arduino Thermistor Theory, Calibration, and Experiment
Blog Post Index [read more about the difference between thermistor and thermocouple here]..
I will be using an NTC 3950 100k thermistor as mentioned above, and it will serve as the primary component used in this tutorial. Additionally, an Arduino board will be need... | https://makersportal.com/blog/2019/1/15/arduino-thermistor-theory-calibration-and-experiment | CC-MAIN-2019-18 | en | refinedweb |
Symfony 3.3.5 released
Symfony 3.3.5 has just been released. Here is a list of the most important changes:
- bug #23549 [PropertyInfo] conflict for phpdocumentor/reflection-docblock 3.2 (@xabbuh)
- bug #23513 [FrameworkBundle] Set default public directory on install assets (@yceruto)
- security #23507 [Security] valida... | https://symfony.com/blog/symfony-3-3-5-released | CC-MAIN-2019-18 | en | refinedweb |
A dart package for continuous color transition.
A simple usage example:
import 'package:color_transition/color_transition.dart'; colorTransition = new ColorTransition(callback: (currentColor){ print(currentColor); }).init();
currentColor: RGB color in
List<int>, defaults to
List<int> [255, 255, 255] (optional)
callback... | https://pub.dartlang.org/packages/color_transition | CC-MAIN-2019-18 | en | refinedweb |
Snowplow Python Tracker 0.4.0 released
We are happy to announce the release of the Snowplow Python Tracker version 0.4.0.
This version introduces the Subject class, which lets you keep track of multiple users at once, and several Emitter classes, which let you send events asynchronously, pass them to a Celery worker, o... | https://snowplowanalytics.com/blog/2014/06/10/snowplow-python-tracker-0.4.0-released/ | CC-MAIN-2019-18 | en | refinedweb |
NEW: Learning electronics? Ask your questions on the new Electronics Questions & Answers site hosted by CircuitLab.
Microcontroller Programming » error: unknown type name 'int16_t'
i have started fresh on my projects and duplicated my clean copy of the libnerdkits folder and dropped into my projects folder... i removed... | http://www.nerdkits.com/forum/thread/2609/ | CC-MAIN-2019-18 | en | refinedweb |
Code Generator (Sergen)
Sergen has some extra options that you may set through its configuration file (Serenity.CodeGenerator.config) in your solution directory.
Here is the full set of options:
public class GeneratorConfig { public List<Connection> Connections { get; set; } public string KDiff3Path { get; set; } publi... | https://volkanceylan.gitbooks.io/serenity-guide/sergen/code_generator_sergen.html | CC-MAIN-2019-18 | en | refinedweb |
})
This should work for you:
Var movies = _db.Movies.Orderby(c => c.Category).ThenBy(n => n.Name)
Background: Over the next month, I'll be giving three talks about or at least including
LINQ in the context of
C#. I'd like to know which topics are worth giving a fair amount of attention to, based on what people may fin... | http://boso.herokuapp.com/linq | CC-MAIN-2017-26 | en | refinedweb |
Testing demonstration program:
- Opens a connection to the URL
- Reads in the XML
- Formats the data
- Writes to?
Use readers and writers to encapsulate data.
With that in mind, you can split off
printURL()'s code-parsing and -formatting functions into a new
formatReader(Reader, Writer) method exclusively dedicated to ... | http://www.javaworld.com/article/2074444/testing-debugging/test-networked-code-the-easy-way.html | CC-MAIN-2017-26 | en | refinedweb |
NAME
Tickit::Widgets - load several Tickit::Widget classes at once
SYNOPSIS
use Tickit::Widgets qw( Static VBox HBox );
Equivalent to
use Tickit::Widget::Static; use Tickit::Widget::VBox; use Tickit::Widget::HBox;
DESCRIPTION
This module provides an
import utility to simplify code that uses many different Tickit::Widge... | https://metacpan.org/pod/Tickit::Widgets | CC-MAIN-2017-26 | en | refinedweb |
JavaFX applications are based on JavaFX's
Application class. Perhaps you are unfamiliar with this class and have questions about using
Application and on what this class offers your application code. This post attempts to answer these questions while exploring
Application.
Introducing Application
The
javafx.application... | http://www.javaworld.com/article/3057072/learn-java/exploring-javafxs-application-class.html | CC-MAIN-2017-26 | en | refinedweb |
Arduino based Human Interface Device
Part 1
Originally published at siliconrepublic.blogspot.com on August 5, 2010.
This summer I have been tinkering with my Arduino micro-controller and recently bought Wii Nunchuck in a quest to create a Wii Nunchuck based HID for playing games. Since the beginning of summer I have tr... | https://medium.com/@rajarshir/arduino-based-human-interface-device-701e85a570d4 | CC-MAIN-2017-26 | en | refinedweb |
How much precision does a float have? It depends on the float, and it depends on what you mean by precision. Typical reasonable answers range from 6-9 decimal digits, but it turns out that you can make a case for anything from zero to over one hundred digits.
In all cases in this article when I talk about precision, or... | https://randomascii.wordpress.com/2012/03/08/float-precisionfrom-zero-to-100-digits-2/ | CC-MAIN-2017-26 | en | refinedweb |
- ?
- SEE ALSO
NAME
Text::Xslate::Manual::Cookbook - How to cook Xslate templates
DESCRIPTION
The Xslate cookbook is a set of recipes showing Xslate features.
RECIPES
How to manage HTML forms
Managing HTML forms is an important issue for web applications. You're better off using modules that manage HTML forms rather th... | https://metacpan.org/pod/distribution/Text-Xslate/lib/Text/Xslate/Manual/Cookbook.pod | CC-MAIN-2017-26 | en | refinedweb |
I have to write a code that will print out the sum of all numbers between 1 and 100 that 7 and 5 go into evenly. I can't really think of how to write it. This is what I have but it doesn't work.
import java.io.*; public class work {public static input in = new input(); public static void main(String[] args) throws IOEx... | https://www.daniweb.com/programming/software-development/threads/384057/please-help-with-java-homework | CC-MAIN-2017-26 | en | refinedweb |
ANTLR Section Index | Page 6
What's an elegant way to check whether a node is a PLUS node and then to lift its children to the parent PLUS node?
I'm trying to flatten trees of the form: #(PLUS A #(PLUS B C) D) into #(PLUS A B C D). What's an elegant way to check whether a node is a PLUS node and then to lift its childr... | http://www.jguru.com/faq/java-tools/antlr?page=6 | CC-MAIN-2017-26 | en | refinedweb |
.
Scala.meta
Setup
Getting started with scalameta is quite straightforward. You only need to add a dependency in your
build.sbt:
libraryDependencies += "org.scalameta" %% "scalameta" % "1.7.0"
Then in your code all you have to do is
import scala.meta._
Macro setup
The setup to write a macro is slightly more involved. F... | http://www.beyondthelines.net/computing/generating-protobuf-formats-with-scala-meta-macros/ | CC-MAIN-2017-26 | en | refinedweb |
import sys from pyramid.interfaces import IExceptionViewClassifier from pyramid.interfaces import, exc: # WARNING: do not assign the result of sys.exc_info() to a # local var here, doing so will cause a leak attrs['exc_info'] = sys.exc_info() attrs['exception'] = exc # clear old generated request.response, if any; it m... | http://docs.pylonsproject.org/projects/pyramid/en/1.2-branch/_modules/pyramid/tweens.html | CC-MAIN-2014-52 | en | refinedweb |
Recently I’ve been working on a project to move our photo experience to store images on Amazon’s S3 service instead of the local server, in hopes to gain performance and move away from handling the maintenance static files tend to have.
There are many examples online of saving directly to Amazon and not using Django’s ... | http://blog.hardlycode.com/resizing-django-imagefield-with-remote-storage-2011-02/ | CC-MAIN-2014-52 | en | refinedweb |
XamlParseException Class
Represents the exception class for parser-specific exceptions from a WPF XAML parser. This exception is used in XAML API or WPF XAML parser operations from .NET Framework 3.0 and .NET Framework 3.5, or for specific use of the WPF XAML parser by calling System.Windows.Markup.XamlReader API.
Syst... | http://msdn.microsoft.com/en-us/library/system.windows.markup.xamlparseexception.aspx | CC-MAIN-2014-52 | en | refinedweb |
24 May 2010 23:43 [Source: ICIS news]
WASHINGTON (ICIS news)--US officials said on Monday they are not satisfied that BP has adequately examined oil dispersants that are less toxic than those now being used in the Gulf of Mexico spill and have ordered independent testing to find better alternatives.
Environmental Prote... | http://www.icis.com/Articles/2010/05/24/9362191/us-not-satisfied-with-bp-work-with-oil-dispersants.html | CC-MAIN-2014-52 | en | refinedweb |
02 April 2012 12:19 [Source: ICIS news]
LONDON (ICIS)--European polyethylene (PE) and polypropylene (PP) buyers are set to face further price hikes as producers look to cover higher costs and improve their margins in April, sources said on Monday.
PE and PP prices have increased steeply since the beginning of 2012, ris... | http://www.icis.com/Articles/2012/04/02/9546738/Europe-PE-PP-buyers-set-to-face-further-price-increases.html | CC-MAIN-2014-52 | en | refinedweb |
13 March 2006 15:49 [Source: ICIS news]
LONDON (ICIS news)--European acrylonitrile butadiene styrene (ABS) producers will be targeting price increases on March contracts of up to Euro50/tonne across all segments in an attempt to regain margins lost in February, suppliers said on Monday.
?xml:namespace>
Strong demand fr... | http://www.icis.com/Articles/2006/03/13/1048543/abs-suppliers-seek-mar-price-rises-of-up-to-euro50.html | CC-MAIN-2014-52 | en | refinedweb |
java.lang.Object
org.springframework.batch.core.repository.support.SimpleJobRepositoryorg.springframework.batch.core.repository.support.SimpleJobRepository
public class SimpleJobRepository
Implementation of
JobRepository that stores JobInstances,
JobExecutions, and StepExecutions using the injected DAOs.
JobRepository,... | http://docs.spring.io/spring-batch/1.0.x/apidocs/org/springframework/batch/core/repository/support/SimpleJobRepository.html | CC-MAIN-2014-52 | en | refinedweb |
31 December 2008 20:50 [Source: ICIS news]
(Adds LyondellBasell spokesperson comments)
HOUSTON (ICIS news)--Filing for Chapter 11 bankruptcy protection is one of the options being considered by LyondellBasell, a company spokesperson said on Wednesday.
“As we said publicly we are looking to restructure our debt and are ... | http://www.icis.com/Articles/2008/12/31/9181183/bankruptcy-protection-is-an-option-lyondellbasell.html | CC-MAIN-2014-52 | en | refinedweb |
itext pdf
itext pdf i am generating pdf using java
i want to do alignment in pdf using java but i found mostly left and right alignment in a row.
i want to divide single row in 4 parts then how can i do
itext pdf - Java Interview Questions
itext pdf sample program to modify the dimensions of image file in itext in java... | http://www.roseindia.net/tutorialhelp/comment/98508 | CC-MAIN-2014-52 | en | refinedweb |
I would also add that unless you have a particular need to embed this in
a specific Servlet, it might make more sense to add this thread to a
context listener handler.
For example, if I wanted to send out email to 1000 people (not Spam, of
course! ;-) and I initiated this from within a Servlet, in this case I'd
add a t... | http://mail-archives.apache.org/mod_mbox/tomcat-users/200311.mbox/%3C21c801c3a0c3$b909a5f0$0a00a8c0@jadzia%3E | CC-MAIN-2014-52 | en | refinedweb |
01 February 2010 22:35 [Source: ICIS news]
HOUSTON (ICIS news)--The US Chemical Safety Board (CSB) is seeking a 20.5% budget hike for the 2011 fiscal year to support the development of a regional office in or near Houston, the board said on Monday.
The Washington, DC-based group’s budget justification statement for the... | http://www.icis.com/Articles/2010/02/01/9330713/us-chem-safety-board-requests-funds-to-create-houston.html | CC-MAIN-2014-52 | en | refinedweb |
#include <RDxfPlugin.h>
This is typically used by an about dialog or debugging / developer tools.
Implements RPluginInterface.
Called immediately after the plugin has been loaded, directly after starting the application.
Implementations typically perform plugin initialization, registration of file importers, exporter, ... | http://www.qcad.org/doc/qcad/latest/developer/class_r_dxf_plugin.html | CC-MAIN-2014-52 | en | refinedweb |
Grzegorz Kossakowski wrote:
> Kamal pisze:
>> Hi,
>> I am responsible for JIRA issue 2211, including the associated patch.
>> I will be honest, I didn't really understand what I did.
>
> If your patch is a result of random typing then I'm truly impressed. ;-)
>
>> I knew enough to test it and make sure it worked, but t... | http://mail-archives.apache.org/mod_mbox/cocoon-dev/200806.mbox/%3C4856B857.3040607@mobilebox.pl%3E | CC-MAIN-2014-52 | en | refinedweb |
Common I/O Tasks
.NET Framework 3.0
The System.IO namespace provides several classes that allow for various actions, such as reading and writing, to be performed on files, directories, and streams. For more information, see File and Stream I/O.
Common File Tasks
Common Directory Tasks
See Also
ConceptsBasic File I/O
Co... | http://msdn.microsoft.com/en-US/library/ms404278(d=printer,v=vs.85).aspx | CC-MAIN-2014-52 | en | refinedweb |
22 February 2012 17:46 [Source: ICIS news]
LONDON (ICIS)--?xml:namespace>
December sales in housing and construction rose by 24.6% year on year, to €9.4bn ($12.5bn), the Statistisches Bundesamt said.
For the full 12 months of 2011, housing and construction sector sales rose by 12.5% year on year to €93.4bn.
In a separa... | http://www.icis.com/Articles/2012/02/22/9535031/germany-construction-sector-soars-but-central-bank-warns-investors.html | CC-MAIN-2014-52 | en | refinedweb |
startig with
/example will be handled by the
DispatcherServlet instance named
example. This is only the first step in setting up
Spring Web MVC. You
now need to configure the various beans used by the Spring Web MVC
framework (over and above the
DispatcherServlet
itself).
As detailed in Section 16 16 Section 16.3.3.14... | http://docs.spring.io/spring/docs/3.1.0.RC1/spring-framework-reference/html/mvc.html | CC-MAIN-2014-52 | en | refinedweb |
Vert.x Core Manual:
Maven (in your
pom.xml):
<dependency> <groupId>io.vertx</groupId> <artifactId>vertx-core</artifactId> <version>4.1.6</version> </dependency>
Gradle (in your
build.gradlefile):
dependencies { compile 'io.vertx:vertx-core:4.1.6' }
Let’s discuss the different concepts and features in core.
In the begin... | https://vertx.io/docs/4.1.6/vertx-core/java/ | CC-MAIN-2021-49 | en | refinedweb |
Change Color of selected segmentcontrol
Hey guys,
I’am quite new to pythonista and i already love it. Everything is well documented and there is a thread for everything you need in this Forum. Except for this special requirement. For my own App í´m trying to figure out how i can set the color of the selected segment.
D... | https://forum.omz-software.com/topic/6678/change-color-of-selected-segmentcontrol/? | CC-MAIN-2021-49 | en | refinedweb |
Public API for tf.initializers namespace.
Classes
class constant: Initializer that generates tensors with constant values.
class glorot_normal: The Glorot normal initializer, also called Xavier normal initializer.
class glorot_uniform: The Glorot uniform initializer, also called Xavier uniform initializer.
class identi... | https://www.tensorflow.org/versions/r1.15/api_docs/python/tf/initializers?hl=ja | CC-MAIN-2021-49 | en | refinedweb |
ECharts_study
There are many libraries for rendering visual icons. Because of the needs of the project, I learned Echarts. The full name is Apache ECharts
Many drawings will not be explained in detail in the basic preparation part, so beginners must see the basic preparation part
Besides, there are a lot of charts,
Wha... | https://programmer.help/blogs/619eae5ac6be3.html | CC-MAIN-2021-49 | en | refinedweb |
Installed Folsom services on a single node.
nova-compute/
I have turned off use_namespaces and Overlapping IPs to make the above configuration work like the traditional nova-network setup. I have configured metadata_host and metadata_port correctly in l3-agent.ini file.
In the console log, VM fails to access the metada... | https://answers.launchpad.net/neutron/+question/218237 | CC-MAIN-2021-49 | en | refinedweb |
Accessing Ozone from Spark
In CML, you can connect Spark to the Ozone object store with a script. The following example demonstrates how to do this.
This script, in Scala, counts the number of word occurrences in a text file. The key point in
this example is to use the following string to refer to the text file:
o3fs:/... | https://docs.cloudera.com/machine-learning/1.3.2/import-data/topics/ml-accessing-ozone-from-spark.html | CC-MAIN-2021-49 | en | refinedweb |
The ASP.NET MVC Pivot Table (Pivot Grid) ASP.NET MVC Pivot Table can be connected to an OLAP cube, and its result can be visualized in both tabular and graphical formats.
Binding the ASP.NET MVC ASP.NET MVC ASP.NET MVC ASP.NET MVC Pivot Table data to Excel, PDF, and CSV formats. You can also customize the exported docu... | https://www.syncfusion.com/aspnet-mvc-ui-controls/pivot-table | CC-MAIN-2021-49 | en | refinedweb |
We host a few applications that are used by other divisions of our business. Each division is a separate Active Directory forest/domain, thus different DNS namespaces. We are all connected via a private MAN. Each division uses a different method for sending DNS queries to our authoritative DNS servers. One uses a serve... | https://community.spiceworks.com/topic/924070-changing-dns-forwarder-forward-lookup-method | CC-MAIN-2021-49 | en | refinedweb |
Problem Statement
In the “Minimum Characters to be Added at Front to Make String Palindrome” problem we have given a string “s”. Write a program to find the minimum characters to be added at the front to make a string palindrome.
Input Format
The first and only one line containing a string “s”.
Output Format
The first ... | https://www.tutorialcup.com/interview/string/minimum-characters-to-be-added-at-front-to-make-string-palindrome.htm | CC-MAIN-2021-49 | en | refinedweb |
Executing JOINs
Implicit Joining
Mapped classes of related TaxJar objects are joined implicitly if there is a singular foreign key relationship. After importing the necessary objects, a relationship is established between your two mapped classes, as in the example below:
from sqlalchemy.ext.declarative import declarati... | https://cdn.cdata.com/help/JTG/py/pg_usageORMjoinspy.htm | CC-MAIN-2021-49 | en | refinedweb |
I’m pleased to announce that "Dash
pages/" preview is now available in Dash Labs
This new feature simplifies creating multi-page Dash apps. See the initial announcement and forum discussion. We moved this to Dash Labs to make it easier for you to try it out (
pip install dash-labs==1.0.0) and give feedback.
Background
... | https://community.plotly.com/t/dash-labs-1-0-0-dash-pages-an-easier-way-to-make-multi-page-apps/58249 | CC-MAIN-2021-49 | en | refinedweb |
Just discovered this and thought I would share
Ever site (web) within a site collection has a property called Author which is set to the account that created the site (Wether it be via the SharePoint UI, or the OM). To the best of my knowledge, this is not exposed in the UI. So for example, if I’m logged in a “John Doe... | https://blog.krichie.com/2008/07/24/wherefore-art-thou-author/?shared=email&msg=fail | CC-MAIN-2021-49 | en | refinedweb |
The GAVO STC Library¶
A library to process VO STC specifications¶
This library aims to ease processing specifications of space-time coordindates (STC) according to the IVOA STC data model with the XML and string serializations. Note that it is at this point an early beta at best. To change this, I welcome feedback, eve... | https://dachs-doc.readthedocs.io/stc.html | CC-MAIN-2020-29 | en | refinedweb |
.NET Core is a general purpose development platform maintained by Microsoft and the .NET community on GitHub. It is cross-platform, supporting Windows, macOS and Linux, and can be used in device, cloud, and embedded/IoT scenarios.
When you think of .NET Core the following should come to mind (flexible deployment, cross... | https://sodocumentation.net/dot-net/topic/9059/-net-core | CC-MAIN-2020-29 | en | refinedweb |
I wrote some articles about AWS Cloud Developer Kit earlier this year. I was attracted to CDK immediately upon hearing of it due to the ability to write infrastructure as code in TypeScript. I really like writing code in TypeScript and CDK seemed almost too good to be true.
Table of Contents
- A Missed Opportunity?
- L... | https://dev.to/elthrasher/aws-cdk-aws-lambda-nodejs-module-9ic | CC-MAIN-2020-29 | en | refinedweb |
Welcome to the quickstart guide for Optimizely's Full Stack C# C# SDK is distributed through NuGet.
For Windows, to install, run the command Install-Package Optimizely.SDK in the Package Manager Console:
Install-Package Optimizely.SDK
or with .net cli:
dotnet add package Optimizely.SDK
The package is on NuGet at. The f... | https://docs.developers.optimizely.com/full-stack/docs/c-sharp | CC-MAIN-2020-29 | en | refinedweb |
Welcome to the quickstart guide for Optimizely's Full Stack Java.8.
repositories { jcenter() } dependencies { compile 'com.optimizely.ab:core-api:3.3.0' compile 'com.optimizely.ab:core-httpclient-impl:3.3.
The following code example shows basic Java ADM (Automatic datafile management) usage:
import com.optimizely.ab.Op... | https://docs.developers.optimizely.com/full-stack/docs/java | CC-MAIN-2020-29 | en | refinedweb |
Contents
Meta
—
* still in an early stage
—
* still in an early stage
This is an old revision of the document!
When making a design decision based on principles, it is necessary to find those principles which fit to the given design problem. This means the designer has to figure out which aspects need consideration. Se... | http://www.principles-wiki.net/about:navigating_principle_languages?rev=1379277599 | CC-MAIN-2020-29 | en | refinedweb |
Reader for the coverage mapping data that is emitted by the frontend and stored in an object file. More...
#include "llvm/ProfileData/Coverage/CoverageMappingReader.h"
Reader for the coverage mapping data that is emitted by the frontend and stored in an object file.
Definition at line 159 of file CoverageMappingReader.... | https://llvm.org/doxygen/classllvm_1_1coverage_1_1BinaryCoverageReader.html | CC-MAIN-2020-29 | en | refinedweb |
Assaf,
I'm not following all of this. My main goal here is not to break the client
when a process is redeployed.
Lance
On 8/8/06, Assaf Arkin <arkin@intalio.com> wrote:
>
> The client breaks when the endpoint changes, or the messages/operations
> accepted by the endpoint change.
>
> Whenever you deploy a new version --... | http://mail-archives.us.apache.org/mod_mbox/ode-dev/200608.mbox/%3Ccbb700270608081619k67404c8cqba3a77b21e3469b3@mail.gmail.com%3E | CC-MAIN-2020-29 | en | refinedweb |
SumBasic algorithm for text summarization
Reading time: 30 minutes | Coding time: 10 minutes
SumBasic is an algorithm to generate multi-document text summaries. Basic idea is to utilize frequently occuring words in a document than the less frequent words so as to generate a summary that is more likely in human abstract... | https://iq.opengenus.org/sumbasic-algorithm-for-text-summarization/ | CC-MAIN-2020-29 | en | refinedweb |
I’ve got a model
UserGroup with many-to-many fields for managers and
class UserGroup(models.Model): managers = models.ManyToManyField(User) members = models.ManyToManyField(User) # Note: some stuff stripped out for brevity
I wanted every manager to be a member, too, automatically. So I added a custom
save() method:
cla... | https://reinout.vanrees.org/weblog/2011/11/29/many-to-many-field-save-method.html | CC-MAIN-2020-29 | en | refinedweb |
I'll preface this question with I'm new to C# and Xamarin, and working on my first Xamarin Forms app, targeting iOS and Android.
The app is using HttpClient to pass requests to an api, and the headers in the response return session cookies that are used to identify the current user. So once I've received an initial res... | https://forums.xamarin.com/discussion/comment/195587/ | CC-MAIN-2020-10 | en | refinedweb |
Internet of Things
Programming Projects
Build modern IoT solutions with the Raspberry Pi 3
and Python
Colin Dow
BIRMINGHAM - MUMBAI
Internet of Things Programming: Prachi Bisht
Content Development Editor: Deepti Thore
Technical Editor: Varsha Shivhare
Copy Editor: Safis Editing
Project Coordinator: Kinjal Bari
Proofrea... | https://ar.b-ok.org/book/3695529/6b4930 | CC-MAIN-2020-10 | en | refinedweb |
*/
#include "util_time.h"
#include <apr_atomic.h>
/* Number of characters needed to format the microsecond part of a timestamp.
struct exploded_time_cache_element {
apr_int64_t t;
apr_time_exp_t xt; /* First for alignment of copies */
apr_time_exp_t xt;
apr_uint32_t key;
apr_int64_t t_validate; /* please see comments i... | https://bz.apache.org/bugzilla/attachment.cgi?id=29803&action=diff | CC-MAIN-2020-10 | en | refinedweb |
fread()
Read elements of a given size from a stream
Synopsis:
#include <stdio.h> size_t fread( void* buf, size_t size, size_t num, FILE* fp );
Since:
BlackBerry 10.0.0
Arguments:
- buf
- A pointer to a buffer where the function can store the elements that it reads.
- size
- The size of each element to read.
- num
- The... | https://developer.blackberry.com/native/reference/core/com.qnx.doc.neutrino.lib_ref/topic/f/fread.html | CC-MAIN-2020-10 | en | refinedweb |
I am trying to access a rest API hosted on one of my company's servers. However, as it is a dev server the SSL certificate is self signed and so Unity refuses to accept the connection. I've tried to follow this answer in particular. Which gave me this code :
void GetRequest(string uri)
{
ServicePointManager.ServerCerti... | https://answers.unity.com/questions/1482409/how-to-accept-self-signed-certificate.html | CC-MAIN-2020-10 | en | refinedweb |
The.
Installing PyPubSub
You can install PyPubSub using pip.
Here’s how to do it:
pip install pypubsub
PyPubSub should install quite quickly. Once it’s done, let’s find out how to use it!
Using PyPubSub
Let’s take an example from my previous article on this topic and update it for using PyPubSub instead:
import wx from... | http://www.blog.pythonlibrary.org/2019/03/28/wxpython-4-and-pubsub/ | CC-MAIN-2020-10 | en | refinedweb |
ACS I think we didn’t get far from the mark
I would also like to take this chance to thank Southworks, our long-time partner on this kind of activities, for their great work on the ACS Exensions for Umbraco.
Once again, I’ll apply the technique I used yesterday for the ACS+WP7+OAuth2+OData lab post; I will paste here t... | https://docs.microsoft.com/en-us/archive/blogs/vbertocci/acs-extensions-for-umbraco-part-i-setup | CC-MAIN-2020-10 | en | refinedweb |
Class ToolBar
- java.lang.Object
- org.eclipse.swt.widgets.Widget
- org.eclipse.swt.widgets.Control
- org.eclipse.swt.widgets.Scrollable
- org.eclipse.swt.widgets.Composite
- org.eclipse.swt.widgets.ToolBar
public class ToolBar extends CompositeInstances of this class support the layout of selectable tool bar items.
Th... | https://help.eclipse.org/2019-12/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/ToolBar.html | CC-MAIN-2020-10 | en | refinedweb |
Hi
I’m trying to move my project from Fmod Ex to Unity. The code was worked fine in Ex, but not in Unity. The code looks like:
using UnityEngine; using System.Collections; using FMOD; public class _Oscillators : MonoBehaviour { FMOD.RESULT Fresult; FMOD.System Fsystem; FMOD.DSP Fdsp; FMOD.Channel Fchannel; FMOD.Channel... | https://www.fmod.org/questions/question/err_memory-not-enough-memory-or-resources/ | CC-MAIN-2018-05 | en | refinedweb |
ne_request_create, ne_request_dispatch, ne_request_destroy - low-level HTTP request handling
#include <ne_request.h> ne_request *ne_request_create(ne_session *session, const char *method, const char *path); int ne_request_dispatch(ne_request *req); void ne_request_destroy(ne_request *req);.
The ne_request_create functi... | http://huge-man-linux.net/man3/ne_request_create.html | CC-MAIN-2018-05 | en | refinedweb |
The EvtGenInterface class is the main class for the use of the EvtGen decay package with Herwig. More...
#include <EvtGenInterface.h>
The EvtGenInterface class is the main class for the use of the EvtGen decay package with Herwig.
Definition at line 40 of file EvtGenInterface.h.
Make a simple clone of this object.
Impl... | http://herwig.hepforge.org/doxygen/classHerwig_1_1EvtGenInterface.html | CC-MAIN-2018-05 | en | refinedweb |
1 /*2 Copyright (c) 2002,2003, Dennis M. Sosnoski.3 org.jibx.runtime.impl;30 31 import java.util.ArrayList ;32 33 /**34 * Holder used to collect forward references to a particular object. The35 * references are processed when the object is defined.36 *37 * @author Dennis M. Sosnoski38 * @version 1.039 */40 41 public cl... | http://kickjava.com/src/org/jibx/runtime/impl/BackFillHolder.java.htm | CC-MAIN-2018-05 | en | refinedweb |
This page is intended to be a repository of "gotchas", and other little quick fixes, that aren't rare but are just uncommon enough that you forget how you did it last time:) This page is NOT part of the official packaging guidelines.
Contents
- 1 Module version dependencies too much specific
- 2 Version contains unders... | https://fedoraproject.org/wiki/Perl/Tips | CC-MAIN-2018-05 | en | refinedweb |
This document lays out the feature and API set for the eighth annual release of the Eclipse Object Constraint Language (Eclipse OCL) Project, version 4.1.0.
The plan for 4.1 was to complete the prototyping of models and solutions to the UML alignment and many other issues in the OMG OCL 2.3.1 specification.
Considerabl... | http://www.eclipse.org/modeling/mdt/ocl/project-info/plan_kepler.xml | CC-MAIN-2015-40 | en | refinedweb |
utility environment for writing addons in C
This layer offers a way to write at least simple Node.js addons in C without all the horrible C++ goop you'd otherwise be expected to use. That goop still exists, but you don't have to write it. More importantly, you can write your module in a sane programming environment, av... | https://www.npmjs.com/package/v8plus | CC-MAIN-2015-40 | en | refinedweb |
Hello People of the java programming forums!
i am a big noob with java scripts and programming, but never the less have got my self in the deep end with this.
i intended to translate a java mobile game into english, i have managed to translate all but some images of menu icons, the files which contain the menu icons ar... | http://www.javaprogrammingforums.com/%20java-me-mobile-edition/4598-creating-bufferedimage-printingthethread.html | CC-MAIN-2015-40 | en | refinedweb |
Overview).
[ cos(theta) -sin(theta) 0 x-x*cos+y*sin ] [ sin(theta) cos(theta) 0 y-x*sin-y*cos ] [ 0 0 1 z ]
the code:
import javafx.scene.text.*; import javafx.scene.transform.*; Text { transforms: Rotate { angle: 30 } x: 10 y: 50 font: Font { size: 20 } content: "This is a test" }
produces:
Profile: common | http://docs.oracle.com/cd/E17802_01/javafx/javafx/1.3/docs/api/javafx.scene.transform/javafx.scene.transform.Rotate.html | CC-MAIN-2015-40 | en | refinedweb |
The WG Charter has been extended through July 31 (only the date has been changed in the revised Charter document). The IP clause of the Charter will probably be changed again (through an AC review) to reference the Current Patent Policy.
No changes requested - the posted version of the minutes is approved.
- Issue 205 ... | http://www.w3.org/2000/xp/Group/2/05/8-minutes.html | CC-MAIN-2015-40 | en | refinedweb |
Pipes.Text.IO
Synopsis
- fromHandle :: MonadIO m => Handle -> Producer Text m ()
- stdin :: MonadIO m => Producer Text m ()
- readFile :: MonadSafe m => FilePath -> Producer Text m ()
- toHandle :: MonadIO m => Handle -> Consumer' Text m r
- stdout :: MonadIO m => Consumer' Text m ()
- writeFile :: MonadSafe m => FileP... | https://hackage.haskell.org/package/pipes-text-0.0.0.12/docs/Pipes-Text-IO.html | CC-MAIN-2015-40 | en | refinedweb |
23 Nov 04:27 2012
How to design matrix on edgeR to study genotype x environmental interaction
Dear Daniela, I think you would be very well advised to seek out a statistical bioinformatician with whom you can collaborate on an ongoing basis. A GxE anova analysis would be statistically sophisticated even if you were anal... | http://permalink.gmane.org/gmane.science.biology.informatics.conductor/44917 | CC-MAIN-2015-40 | en | refinedweb |
Pushed to marcuspope/verbotenjs
Atlassian SourceTree is a free Git and Mercurial client for Windows.
Atlassian SourceTree is a free Git and Mercurial client for Mac.
_ __ __ __ _______ | | / /__ _____/ /_ ____ / /____ ____ / / ___/ | | / / _ \/ ___/ __ \/ __ \/ __/ _ \/ __ \__ / /\__ \ | |/ / __/ / / /_/ / /_/ / /_/ __... | https://bitbucket.org/marcuspope/verbotenjs | CC-MAIN-2015-40 | en | refinedweb |
ObjectSharp Blog
When working with Claims Based Authentication a lot of things are similar between the two different models, Active and Passive. However, there are a few cases where things differ… a lot. The biggest of course being how a Request for Security Token (RST) is authenticated. In a passive model the user is ... | http://blogs.objectsharp.com/?tag=/WCF | CC-MAIN-2015-40 | en | refinedweb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.