text stringlengths 20 1.01M | url stringlengths 14 1.25k | dump stringlengths 9 15 ⌀ | lang stringclasses 4
values | source stringclasses 4
values |
|---|---|---|---|---|
people = {}
def add
puts "Enter the name of the person you would like to add in the database."
name = gets.chomp.to_s
if people[name].nil?
puts "What is #{name}'s age?"
age = gets.chomp.to_i
people[name] = age.to_i
end
puts "Would you like to add?"
choice = gets.chomp
if choice == "yes"
add
end
end
Global variables sho... | https://codedump.io/share/WMlJC6QER3ua/1/how-do-i-call-a-variable-to-a-method-in-ruby-not-rails | CC-MAIN-2017-13 | 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.
[V8] Need help to understand old api computed field
Hi ! Here is an old api code from the sale_margin module:
class sale_order(os... | https://www.odoo.com/forum/help-1/question/v8-need-help-to-understand-old-api-computed-field-105091 | CC-MAIN-2017-13 | en | refinedweb |
- : BreakIterator
The
java.text.BreakIterator class is used to find character, word and sentence boundaries
across different languages. Since different languages use different character, word and sentence boundaries,
it is not enough just to search for space, comma, fullstop, semicolon, colon etc. You need a foolproof
... | http://tutorials.jenkov.com/java-internationalization/breakiterator.html | CC-MAIN-2017-13 | en | refinedweb |
[Date Index] [Thread Index] [Author Index]
Re: factoring
On Dec 30, 10:09 am, r_poetic <radford.scha... at mms.gov> wrote: > Hello, > an easy question: > > why does Factor[xy-xz+y^2-yz] fail to return (x+y)(y-z), and what > command would do that? > > Thanks! Hi you have to put a space between variables. x y means x tim... | http://forums.wolfram.com/mathgroup/archive/2010/Dec/msg00770.html | CC-MAIN-2017-13 | en | refinedweb |
Generic integer x, y vector. More...
#include <math/gzmath.hh>
Generic integer x, y vector.
Constructor.
Constructor.
Copy constructor.
Copy constructor for ignition math.
Destructor.
Return the cross product of this vector and _pt.
Calc distance to the given point.
Convert this vector to ignition::math::Vector2i.
See ... | http://gazebosim.org/api/dev/classgazebo_1_1math_1_1Vector2i.html | CC-MAIN-2018-34 | en | refinedweb |
accessible
Skip over Site Identifier
Skip over Generic Navigation
Skip over Search
Skip over Site Explorer
Site ExplorerSite Explorer
Posts: 19
Rating:
(3)
import from Process Automation User Connection, Talk to Other Process UsersRon Martinez posted on 10/18/06:I have heard that Siemen's is no longer obsoleting the AP... | https://support.industry.siemens.com/tf/ww/en/posts/acm-16-meg/5705?page=0&pageSize=10 | CC-MAIN-2018-34 | en | refinedweb |
Record the location of an inclusion directive, such as an
#include or
#import statement.
More...
#include "clang/Lex/PreprocessingRecord.h"
Record the location of an inclusion directive, such as an
#include or
#import statement.
Definition at line 208 of file PreprocessingRecord.h.
The kind of inclusion directives know... | http://clang.llvm.org/doxygen/classclang_1_1InclusionDirective.html | CC-MAIN-2018-34 | en | refinedweb |
Shows protein backbone structures in compact graphical form using Ramachandran numbers
Project description
Contents
1 Introduction
This tool provides easily readable “pictures” of protein conformations, ensembles, and trajectories saved as either a combined protein databank (PDB) structure file, or a directory of such ... | https://pypi.org/project/backmap/0.2.6/ | CC-MAIN-2018-34 | en | refinedweb |
Before call either previously defined auxiliary constructor or primary constructor in the first line of its body. Hence every auxiliary constructor invokes directly or indirectly to a primary constructor.
we can call the primary constructor or other auxiliary constructor using this.
Here is an example,
See the above co... | https://blog.knoldus.com/auxiliary-constructor-in-scala?shared=email&msg=fail | CC-MAIN-2018-34 | en | refinedweb |
It's not the same without you
Join the community to find out what other Atlassian users are discussing, debating and creating.
Hi
I'm trying to automatically add Request Participants to Service Desk ticket on creation.
I tried both SIL script and Groovy script in post function but nothing worked. The idea is I have 3 c... | https://community.atlassian.com/t5/Jira-questions/Automatically-add-request-participants-on-SD-ticket-creation/qaq-p/89008 | CC-MAIN-2018-34 | en | refinedweb |
Down below is my code. It says that 9 returned True when it should've returned false. If I add an exception and say that if x == 9 return False, it goes until 15 and says the same thing. It returns True when it should've been False. I can't see how it's coming up with that. When it does 9%3 is it not getting 0?? It doe... | https://discuss.codecademy.com/t/6-is-prime/41389 | CC-MAIN-2018-34 | en | refinedweb |
#include <deal.II/hp/mapping_collection.h>
This class implements a collection of mapping objects in the same way as the hp::FECollection implements a collection of finite element classes.
It implements the concepts stated in the hp Collections module described in the doxygen documentation.
Although it is recommended to... | https://dealii.org/8.5.0/doxygen/deal.II/classhp_1_1MappingCollection.html | CC-MAIN-2018-34 | en | refinedweb |
:
$ mkdir yourappsfolder $ touch yourappsfolder/__init__.py
2. Create a python module with the same 'app-label' as the Oscar app:
Ex: Customising oscar.apps.catalogue app
$ mkdir yourappsfolder/catalogue $ touch yourappsfolder/catalogue/__init__.py
3. If the Oscar app has a models.py, then you have to create a models.p... | https://micropyramid.com/blog/how-to-customize-django-oscar-models-views-and-urls/ | CC-MAIN-2018-34 | en | refinedweb |
Important: Please read the Qt Code of Conduct -
Apple Silicon
The pyside2 code cannot run on Apple Silicon, the process exists, but no window will pop up.!
alt text
Code Like This:
import sys
from PyQt5.QtWidgets import QApplication, QWidget
if name == 'main':
app = QApplication(sys.argv)
w = QWidget()
w.setWindowTitle... | https://forum.qt.io/topic/121810/apple-silicon | CC-MAIN-2021-10 | en | refinedweb |
A bootloader on a microcontroller is a very useful thing. It allows me to update the firmware in the field if necessary. There are many ways to use and make a bootloader (see “Serial Bootloader for the Freedom Board with Processor Expert“). But such a bootloader needs some space in FLASH, plus it needs to be programmed... | https://mcuoneclipse.com/2017/07/12/getting-started-rom-bootloader-on-the-nxp-frdm-kl03z-board/ | CC-MAIN-2021-10 | en | refinedweb |
Relay.RootContainer is a React component that attempts to fulfill the data required in order to render an instance of
Component for a given
route.
Props
ComponentRelay container that defines fragments and the view to render.
routeRoute that defines the query roots.
forceFetchWhether to send a server request regardless ... | https://docs.w3cub.com/relay/api-reference-relay-root-container | CC-MAIN-2021-10 | en | refinedweb |
You are browsing the documentation for Symfony 3.4 which is not maintained anymore.
Consider upgrading your projects to Symfony 5.2.
The and Observer design patterns EventDispatcher features as an independent component in any PHP application. Read the Events and Event Listeners article to learn about how to use it in S... | https://symfony.com/doc/3.4/components/event_dispatcher.html | CC-MAIN-2021-10 | en | refinedweb |
Handle Thomson Reuters Web of Science™ export files
Project description
wosfile
wosfile is a Python package designed to read and handle data exported from Thomson Reuters Web of Science™. It supports both tab-delimited files and so-called ‘plain text’ files.
The point of wosfile is to read export files from WoS and giv... | https://pypi.org/project/wosfile/ | CC-MAIN-2021-10 | en | refinedweb |
[WARNING: this post has no business value whatsoever, and that is by design. Please do not take any of this post as something you’d do in your applications. I got a new toy and I am just goofing around with it :-)]
If you’ve been reading this blog through the years, you know I am a big fan of gadgets and in general any... | https://blogs.msdn.microsoft.com/vbertocci/2012/12/09/fun-with-blink1-and-claims-unboxing-and-identity-providers-synesthesia/ | CC-MAIN-2017-22 | en | refinedweb |
CodePlexProject Hosting for Open Source Software
Hi
I'm writing a module that needs to know the list of available roles. At the moment I reference the Orchard.Roles\bin\Orchard.Roles.dll in my project so that I can access IRepository<RoleRecord> in the driver and then package the roles up into the view
model.
Is it a b... | https://orchard.codeplex.com/discussions/229193 | CC-MAIN-2017-22 | en | refinedweb |
;20 21 import java.util.Comparator ;22 23 /**24 *25 * @author Martin Matula26 */27 public class AnonClassTestClass {28 public void test() {29 Object comparator = new Comparator () {30 public int compare(Object o1, Object o2) {31 return 0;32 }33 34 public boolean equals(Object o) {35 return o == this;36 }37 38 public in... | http://kickjava.com/src/org/netbeans/test/codegen/AnonClassTestClass.java.htm | CC-MAIN-2017-22 | en | refinedweb |
CENTRAL INTELLIGENCE AGENCY washingTon 2b. o. c.
OFFICE OF THEECTOK (VNTELUGENCEt
f'OH: Deputy Under Secretary of State for Economic Affairs
Hbtes on US-Polish Trade Talks
The Polish
import require-
for the perion enrougn Juneas:
lA million metric tons to cover domestic consumption deficit
illion metric tons to mee^ th... | http://www.faqs.org/cia/docs/101/0001111298/TECHNICAL-NOTES-ON-US-POLISH-TRADE-TALKS.html | CC-MAIN-2017-22 | en | refinedweb |
Today as the first day of the 21 year of my life! I wanted to show you how to connect Arduino to sensors, fetch data and show 'em on 16x2 LCD - as an example you can get your room's
temperature and light density and view them on lcd.
Step 1: What You Need?
1. Smile :-)
2. Arduino Board (here I used UNO but feel free to... | http://www.instructables.com/id/Arduino-Room-Status/ | CC-MAIN-2017-22 | en | refinedweb |
IBM Announcements on Chip Design/Nanocommunications 111
mr was one of the folks who wrote about some IBM scientists who have discovered a way to transport information on the atomic scale that uses the wave nature of electrons instead of conventional wiring. The new phenomenon, called the "quantum mirage" effect, may en... | https://slashdot.org/story/00/02/06/2052259/ibm-announcements-on-chip-designnanocommunications | CC-MAIN-2017-22 | en | refinedweb |
Defining a new extension point
Just as Hudson core defines a set of extension points, your plugin can define new extension points so that other plugins can contribute implementations. This page shows how to do that.
First, you define your contract in terms of an abstract class (you can do this in interfaces, too, but t... | http://wiki.eclipse.org/index.php?title=Defining_a_new_extension_point&oldid=343494 | CC-MAIN-2017-22 | en | refinedweb |
Today, two more subtly incorrect myths about C#.
As you probably know, C# requires all local variables to be explicitly assigned before they are read, but assumes that all class instance field variables are initially assigned to default values. An explanation of why that is that I sometimes hear is “the compiler can ea... | https://blogs.msdn.microsoft.com/ericlippert/2009/10/12/absence-of-evidence-is-not-evidence-of-absence/ | CC-MAIN-2017-22 | en | refinedweb |
view raw
I was making a function that returns the longest string value from a list. My code works when there is only one string with the most characters. I tried to make it print all of the longest strings if there were more than one, and I do not want them to be repeated. When I run this, it only returns 'hello', whil... | https://codedump.io/share/RqOZcv4dT2Pk/1/longest-strings-from-list | CC-MAIN-2017-22 | en | refinedweb |
Previous page: TableFixture Next page: SummaryFixture Parent page: Basic FIT fixtures
ImportImport fixture can be used to tell FitNesse where to look for fixture classes. After you import a namespace or package you do not have to write fully-qualified fixture class names any more, making the tables more readable.
Table... | http://fitnesse.org/FitNesse.FullReferenceGuide.UserGuide.FixtureGallery.BasicFitFixtures.ImportFixture | CC-MAIN-2017-22 | en | refinedweb |
TULSA, Okla.--(BUSINESS WIRE)--Unit Corporation (NYSE: UNT) today reported results for the fourth quarter of 2012. Those results included a previously announced non-cash ceiling test write down of $167.7 million ($104.5 million after tax, or $2.17 per diluted share). Because of the ceiling test write down, Unit incurre... | http://www.businesswire.com/news/home/20130219005804/en/Unit-Corporation-Reports-2012-Fourth-Quarter-Year | CC-MAIN-2017-22 | en | refinedweb |
Daniel Robertson
At Yammer we run a full suite of tests against our Android application dozens—sometimes hundreds—of times per day. Our goal is to have a feedback loop so fast that our developers are made aware of any breaking changes they’ve made near instantaneously.
Third party libraries that rely on static function... | http://engineeringjobs4u.co.uk/mock-away-android-application-dependencies-yammer-engineering-medium | CC-MAIN-2018-51 | en | refinedweb |
Opened 11 years ago
Last modified 8 years ago
#1913 new Feature Requests
Null deleter for shared_ptr
Description
As raised in this () message on the boost-users mailing list, it would be very nice if the smart pointer library contained a null deleter object so it could be used for stack/static objects. To save the user... | https://svn.boost.org/trac10/ticket/1913 | CC-MAIN-2018-51 | en | refinedweb |
Enable/disable use of epsv
#include <curl/curl.h>
CURLcode curl_easy_setopt(CURL *handle, CURLOPT_FTP_USE_EPSV, long epsv);
Pass epsv as a long. If the value is 1, it tells curl to use the EPSV command when doing passive FTP downloads (which it.
1
FTP
TODO
Along with FTP
Returns CURLE_OK if FTP is supported, and CURLE_... | https://www.carta.tech/man-pages/man3/CURLOPT_FTP_USE_EPSV.3.html | CC-MAIN-2018-51 | en | refinedweb |
Migrating to Pulumi from Terraform
HashiCorp Terraform provides a custom DSL called Hashicorp Configuration Language (HCL) to describe and provision infrastructure resources on Terraform providers.
Pulumi enables you to describe the same infrastructure resources as real code, providing huge productivity gains, and has ... | https://www.pulumi.com/terraform/ | CC-MAIN-2018-51 | en | refinedweb |
NE
W
!
Learn how to program the easy and fun way
LEARN
HOW TO…
WorldMags.net
WorldMags.net
WorldMags.net
Learn how to program the easy and fun way
WorldMags.net
uk Phone +44 ( 0 )1225 442244 Fax +44 ( 0 )1225 732275 All contents copyright © 2016 Future Publishing Limited or published under licence. Online enquiries: ww... | https://www.scribd.com/document/345403750/Coding-Made-Simple-2016-pdf | CC-MAIN-2018-51 | en | refinedweb |
Due by 11:59pm on Tuesday, 9/17.
Instructions. We have provided a hw2.py starter file for the questions below. See the online submission instructions.
Readings. Section 1.6 of the online text.
Several doctests refer to the square function, which we define as:
def square(x): """Return x squared.""" return x * x """ "***... | http://www-inst.eecs.berkeley.edu/~cs61a/fa13/hw/hw2.html | CC-MAIN-2018-51 | en | refinedweb |
Hi,
I am creating an app that search through a large json (250 000 rows), stored locally. Each page is pretty much the same on each page. I made a service, and import the json file in every page. I always need the full json file. However it takes couple of seconds to charge a page. How to avoid it and charge it only on... | https://forum.ionicframework.com/t/how-to-handle-a-large-json-without-re-loading-it-for-each-page/52662 | CC-MAIN-2018-51 | en | refinedweb |
Enable data upload
#include <curl/curl.h>
CURLcode curl_easy_setopt(CURL *handle, CURLOPT_UPLOAD, long upload);
The long parameter upload set to 1 tells the library to prepare for and perform an upload. The CURLOPT_READDATA(3) and CURLOPT_INFILESIZE(3) or CURLOPT_INFILESIZE_LARGE(3)(3) as usual.
If you use PUT to a HTT... | https://www.carta.tech/man-pages/man3/CURLOPT_UPLOAD.3.html | CC-MAIN-2018-51 | en | refinedweb |
®
Simulations Featuring
Petrofac
Webinar Q&A
This document summarizes the responses to questions posed before and during the webinar. Additional
questions should be directed to AspenTech Support.
Questions Submitted Prior to the Event:
Q: Please show the fundamental equations used to compute the overall coefficient.
A:... | https://www.scribd.com/document/244383697/11-4477-Petrofac-Webinar | CC-MAIN-2018-51 | en | refinedweb |
Interesting. Im actually building something similar.
A fullblown SQL implementation is bit overkill for my particular usecase
and the query API is the final piece to the puzzle. But ill definitely have
a look for some inspiration.
Thanks!
On Fri, Jun 28, 2013 at 3:55 AM, James Taylor <jtaylor@salesforce.com>wrote:
> Hi... | http://mail-archives.apache.org/mod_mbox/hbase-user/201306.mbox/%3CCADSBNAjAWgQkt2xinwL9Tcb=K3MRs9h_92_iZKyG9bU6k+QQ6Q@mail.gmail.com%3E | CC-MAIN-2018-51 | en | refinedweb |
Current Version:
Linux Kernel - 3.80
Synopsis
#include <stdio.h> extern FILE *stdin; extern FILE *stdout; extern FILE *stderr;
Description.
Conforming To
Notes
Colophon
License & Copyright
From dholland@burgundy.eecs.harvard.edu Tue Mar 24 18:08:15 1998 This man page was written in 1998 by David A. Holland Polished a b... | https://community.spiceworks.com/linux/man/3/stdin | CC-MAIN-2018-51 | en | refinedweb |
Other Factory Notes¶
other notes:
The following works:extern "C" void Af(void); void (*Af_fp)(void) = &Af; For those that want a self-contained preprocessor macro to encapsulate this:#if defined(_WIN32) # if defined(_WIN64) # define FORCE_UNDEFINED_SYMBOL(x) __pragma(comment (linker, "/export:" #x)) # else # define FOR... | https://cdcvs.fnal.gov/redmine/projects/g4/wiki/Other_Factory_Notes | CC-MAIN-2021-21 | en | refinedweb |
I require the m4 preprocessor macro command, but it has just gone missing from both the gold and plat* nodes in the Intel DevCloud. The CMake "find_program (M4EXISTS m4)" no longer works.
Can you please reinstall it?
Link Copied
Hi Davis,
Thanks for reaching out to us.
Could you please tell the node in which you tried ... | https://community.intel.com/t5/Intel-DevCloud/m4-macro-preprocessor-has-gone-missing/td-p/1128261 | CC-MAIN-2021-21 | en | refinedweb |
PlatformNotSupportedException using .NET Speech Recognition
So I am trying to recognize voices in C #, I am using System.Speech.Recognition and I have searched the internet trying a few snippets of code for some basic speech recognition, the best one I found was this:
using System; using System.Text; using System.Windo... | https://daily-blog.netlify.app/questions/1892947/index.html | CC-MAIN-2021-21 | en | refinedweb |
import Koa from "koa"; import Router from "koa-router"; import request from "supertest"; const app = new Koa(); const router = new Router(); const client = request.agent(app.listen(3000)); router .get("/", async (ctx, next) => { try { let cv = ctx.cookies.get('temp'); if (cv) { The console.log(cv)// the second request ... | https://ddcode.net/2019/04/20/why-cant-i-store-cookie-after-setting-content-type-to-image-jpeg/ | CC-MAIN-2021-21 | en | refinedweb |
Matplotlib: custom projection for hemisphere / wedge
I am looking at custom projection in matplotlib gallery - I am trying to change it should only plot the southern hemisphere. I adjusted the required [-pi / 2, pi / 2] limits to [-pi / 2.0]. Now I am looking at:
def _gen_axes_patch(self): """ Override this method to d... | https://daily-blog.netlify.app/questions/1891945/index.html | CC-MAIN-2021-21 | en | refinedweb |
Can't reach instances by floating IPs; can ping router
Hi,
I have an interesting problem I've not encountered before. I have recently created a new OpenStack environment that is functional in every respect but networking. I can instantiate instances and associate floating IPs, but when I attempt to
ping or
ssh, I recei... | https://ask.openstack.org/en/question/110749/cant-reach-instances-by-floating-ips-can-ping-router/?answer=120415 | CC-MAIN-2021-21 | en | refinedweb |
Filter Elements in a NumPy Array
- Filter Elements Using the
fromiter()Method in NumPy
- Filter Elements Using Boolean Mask Slicing Method in NumPy
- Filter Elements Using the
where()Method in NumPy
Often, we need values from an array in a specific, usually in either an ascending or descending order. Sometimes, we also... | https://www.delftstack.com/howto/numpy/numpy-filter-elements-in-array/ | CC-MAIN-2021-21 | en | refinedweb |
asn1_find_structure_from_oid - API function
#include <libtasn1.h> const char * asn1_find_structure_from_oid(ASN1_TYPE definitions, const char * oidValue);
ASN1_TYPE definitions ASN1 definitions const char * oidValue value of the OID to search (e.g. "1.2.3.4").
Search the structure that is defined just after an OID defi... | http://huge-man-linux.net/man3/asn1_find_structure_from_oid.html | CC-MAIN-2021-21 | en | refinedweb |
I installed the ncsdk 1.12 version on a fresh RPi model 3 with Raspbian stretch.
I could run /ncappzoo/apps/hello_ncs_py with no issue.I could run /ncappzoo/apps/hello_ncs_py with no issue.
When I am running the following script:
from mvnc import mvncapi as mvnc # grab a list of all NCS devices plugged in to USB print(... | https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Having-issues-with-loading-a-graph-onto-the-NCS/td-p/659534 | CC-MAIN-2021-21 | en | refinedweb |
So, I've just unveiled my new open-source UI library called Isotope. It's fast, lightweight, modular and overall - I think it's pretty good.
Anyway, if you're interested in trying something new and fresh, maybe consider giving Isotope a try? You can go straight up to the docs or bear with me, as we're going to make a s... | https://dev.to/areknawo/making-a-todo-app-in-isotope-pm | CC-MAIN-2021-21 | en | refinedweb |
Hamburger menu icons for React, with CSS-driven transitions. Created to be as elegant and performant as possible. This means no JavaScript animations, no transitions on non-cheap properties and a small size.
npm install hamburger-react
When using one hamburger, ~1.5 KB will be added to your bundle (min + gzip).
Visit t... | https://awesomeopensource.com/project/luukdv/hamburger-react | CC-MAIN-2021-21 | en | refinedweb |
In the VB.NET code below, A.B. is reported as a redundant qualifier, when it clearly is not.
-TC
Class A
Public Shared B As Object
End Class
Class B
End Class
Public Class C
Dim D As Object = A.B.ToString
End Class
In the VB.NET code below, A.B. is reported as a redundant qualifier, when it clearly is not.
A follow-up:... | https://resharper-support.jetbrains.com/hc/en-us/community/posts/206651645--Qualifier-is-redundant-False-Positive?page=1 | CC-MAIN-2021-21 | en | refinedweb |
If we have two unrelated sequences of DNA, how long would we expect the longest common substring of the two sequences to be? Since DNA sequences come from a very small alphabet, just four letters, any two sequences of moderate length will have some common substring, but how long should we expect it to be?
Motivating pr... | https://www.johndcook.com/blog/2020/04/18/expected-length-of-longest-common-dna-substrings/ | CC-MAIN-2021-21 | en | refinedweb |
Hi All,
I know many threads are there for this query, but I am not able to find the exact solution to my problem.
I want to pull the files which starts with A5_Work_Orders_* from SFTP server and I want to pull them from /5060/A5toSAP folder on SFTP server.
In the directory I have given as ~/5060/A5SAP/
in the filename ... | https://answers.sap.com/questions/10561582/sftp-sender-channel-configuration-query.html | CC-MAIN-2021-21 | en | refinedweb |
MXRT1050 FlexSPI module have LUT which support up to 16 sequences which is equivalent to 16 Flash commands.
Many NOR Flash chips today support much more than 16 commands.
1. Is there a way to support NOR Flash devices with more than 16 flash commands ?
2. Is there a way to work with FlexSPI module without the LUT ?
Hi ... | https://community.nxp.com/t5/i-MX-RT/Usage-of-FlexSPI-LUT-in-i-MXRT/m-p/1209113/highlight/true | CC-MAIN-2021-21 | en | refinedweb |
Solved! Go to Solution.>
Your mock-response should be a groovy script. There you can read in your file (filename based on the submitted ordernumber) and then you have to set an internal variable like this:
def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );
def holder = groovyUtils.getXmlHolder(moc... | https://community.smartbear.com/t5/SoapUI-Open-Source/How-to-get-soap-mock-response-from-external-file/m-p/110919/highlight/true | CC-MAIN-2021-21 | en | refinedweb |
The Unity MLAPI (Mid level API) is a framework that simplifies building networked games in Unity. It offers low level access to core networking while at the same time providing high level abstractions. The MLAPI aims to remove the repetitive tasks and reduces the network code dramatically, no matter how many of the mod... | https://unitylist.com/p/1414/com.Unity-.multiplayer-.mlapi | CC-MAIN-2021-21 | en | refinedweb |
Versions used
- Rails(5.2+)
- Google Maps API (v3)
In this tutorial, I’ll be teaching you how to strictly integrate a static google map into your rails project. I will also show you how to change the color of the marker and how to add more if need be. This tutorial will assume you have some previous background informat... | https://brodrick-george.medium.com/how-to-integrate-a-google-static-map-api-in-your-rails-project-80be28b99e0c?source=post_internal_links---------7---------------------------- | CC-MAIN-2021-21 | en | refinedweb |
INET6
Internet protocol version 6 family
Synopsis:
#include <netinet/in.h> struct sockaddr_in6 { uint8_t sin6_len; sa_family_t sin6_family; in_port_t sin6_port; uint32_t sin6_flowinfo; struct in6_addr sin6_addr; uint32_t sin6_scope_id; };
Description:
Protocols
The INET6 family consists of the:
- IPv6 network protocol
... | https://developer.blackberry.com/playbook/native/reference/com.qnx.doc.neutrino.lib_ref/topic/i/inet6_proto.html | CC-MAIN-2021-21 | en | refinedweb |
Now that we have Cocos2d-x installed and configured and our project created, we are going to take a look at basic graphics operations. This tutorial assumes you ran through the prior part and created a project already. I am going to assume you have a working AppDelegate, so I will only focus on creating a new scene obj... | https://gamefromscratch.com/cocos2d-x-tutorial-series-basic-sprites-positioning-parenting-and-coordinate-systems/ | CC-MAIN-2021-21 | en | refinedweb |
Generates FilterBankEvents containing raw camera images with interleaved pixels (YUVYUVYUV... instead of YYY...UUU...VVV...).
More...
#include <InterleavedYUVGenerator.h>
Generates FilterBankEvents containing raw camera images with interleaved pixels (YUVYUVYUV... instead of YYY...UUU...VVV...)..
List of all members.
c... | http://tekkotsu.org/dox/classInterleavedYUVGenerator.html | CC-MAIN-2018-34 | en | refinedweb |
unable to evaluate symlinks in Dockerfile
When I input
docker build -t tutum/apache-php .
in docker, it will output the error
unable to prepare context: unable to evaluate symlinks in Dockerfile path: GetFileAttributesEx C:\User\gao\Dockerfile: The system cannot find the file specified.
What does this mean? Any advice ... | http://dockerdaily.com/unable-to-evaluate-symlinks-in-dockerfile/ | CC-MAIN-2018-34 | en | refinedweb |
Plotting only specific points using matplotlib's imshow
import numpy as np import matplotlib.pyplot as plt N = 101 x = np.linspace(-1,1,N); ones = np.ones_like(x) coords = np.outer(ones,x) #x coords coords = np.concatenate([[coords], [coords.T]]) ourShape = np.zeros([N,N]) ourShape[np.square(coords[0,:,:]) + np.square(... | http://quabr.com/48758000/plotting-only-specific-points-using-matplotlibs-imshow | CC-MAIN-2018-34 | en | refinedweb |
Quick settings is undoubtedly one of the most popular feature in Android devices. It provides a convenient way to quickly change the device settings or key actions directly from the notification panel.
Like required or frequently used, and should not be used as shortcuts to launching an app.
Android Quick Settings Tile... | https://www.stacktips.com/tutorials/android/quick-settings-tile-api-example-in-android-n | CC-MAIN-2018-34 | en | refinedweb |
This
Recommendations when using Query Bands with the .Net Data Provider for Teradata
Query Band Overview
A brief overview of the purpose of Query Bands.
Connection Level
Discussion of Connection Level Query Bands.
Transaction Level
Discussion of Transaction Level Query Bands.
Trusted Sessions
Discussion of Trusted Sess... | http://community.teradata.com/t5/Blog/Query-Bands-in-the-Net-Data-Provider-for-Teradata-13-01-00-00/ba-p/65988 | CC-MAIN-2018-34 | en | refinedweb |
Red Hat Bugzilla – Bug 25731
strcpy breaks with -O2 -fno-inline
Last modified: 2016-11-24 09:53:58 EST
$ cat foo.c
#include <string.h>
int main(void)
{
char foo[4];
strcpy(foo, "foo");
return 0;
}
$ gcc -O2 -fno-inline foo.c
/tmp/ccLwrlUH.o: In function `main':
/tmp/ccLwrlUH.o(.text+0x5c): undefined reference to `__str... | https://bugzilla.redhat.com/show_bug.cgi?id=25731 | CC-MAIN-2018-34 | en | refinedweb |
Updates Archives
Monthly updates for September 2019
Azure Sphere Preview—Update 19.09 is now available for evaluation
The Azure Sphere Preview 19.09 feature release is now available via the retail evaluation feed. The retail evaluation is meant for backwards compatibility testing. Use the retail evaluation feed to veri... | https://azure.microsoft.com/en-us/updates/2019/09/?status=inpreview | CC-MAIN-2020-34 | en | refinedweb |
A library for situated automated negotiations
Project description
A python library for managing autonomous negotiation agents in simulation environments. The name negmas stands for either NEGotiation MultiAgent System or NEGotiations Managed by Agent Simulations (your pick).
Introduction
This package was designed to he... | https://pypi.org/project/negmas/0.1.2/ | CC-MAIN-2020-34 | en | refinedweb |
Riena Getting Started with Wiring
{{#eclipseproject:rt.riena}}
Please read Riena Getting Started with injecting services and extensions first before you continue reading this page. A basic understanding of Riena's injection mechanism is necessary for understanding Riena's wiring mechanism.
Use case: Why Wiring?
In Ecli... | https://wiki.eclipse.org/Riena_Getting_Started_with_Wiring | CC-MAIN-2020-34 | en | refinedweb |
WebKit+SVG does not support filterRes attribute
Created attachment 43422 [details]
Implementation of filterRes
This is the implementation of filterRes. It scales the intermediate images used by the filter and it's effects to set the quality of a filter. It scales the values of any filter effect if needed too. According... | https://bugs.webkit.org/show_bug.cgi?id=6021 | CC-MAIN-2020-34 | en | refinedweb |
== == The answer to your question depends upon the law in your state. If an individual files for bankruptcy most assets of the individual may be sold or otherwise disposed of in a Chapter 7 bankruptcy in to partially satisfy the debts of the individual. While an interest in an LLC is an asset of the individual, many st... | https://www.answers.com/Q/If_you_have_an_LLC_and_file_chapter_7_can_they_take_your_part_of_the_LLC | CC-MAIN-2020-34 | en | refinedweb |
Associates the given data with the specified beacon. Attachment data must contain two parts:
- A namespaced type.
- The actual attachment data itself.
namespacesendpoint, while the type can be a string of any characters except for the forward slash (
/) up to 100 characters in length.
Attachment data can be up to 1024 ... | https://developers.google.cn/beacons/proximity/reference/rest/v1beta1/beacons.attachments/create | CC-MAIN-2020-34 | en | refinedweb |
Sessions are used to retain the state in your app. A session is represented by an instance of a
Session class. Together with an instance of a
Json object it can be used to enable client-server communication and synchronization using JSON patch.
A new session is created by calling the constructor on
Session class. To se... | https://docs.starcounter.io/v/2.3.2/guides/blendable-web-apps/sessions | CC-MAIN-2020-34 | en | refinedweb |
Introduction
Very often we face situations when an Expert Advisor successfully operates with one brokerage company and is not profitable or even lossmaking on the other one. The reasons may be different. Different brokerage companies have different settings:
- Quotes. They slightly differ because of two factors - diffe... | https://www.mql5.com/en/articles/1476 | CC-MAIN-2020-34 | en | refinedweb |
Often your application will require some kind of recurring task that should happen at a specific time of the week, every minute, or every few months. These tasks can be things like:
Reading XML from a directory and importing it into a remote database
Checking if a customer is still a subscriber in Stripe and updating y... | https://docs.masoniteproject.com/useful-features/task-scheduling | CC-MAIN-2020-34 | en | refinedweb |
Code Map improvements in Visual Studio 2015 CTP6
February 23, 2015
Code Maps, previously known as Directed Graph Documents, are a great way to visualize the relationships and interdependencies between the components of your applications. They make it much easier to understand the architecture of your (or, even more use... | https://blogs.msdn.microsoft.com/devops/2015/02/23/code-map-improvements-in-visual-studio-2015-ctp6/ | CC-MAIN-2017-26 | en | refinedweb |
So we thought we knew money
- Regina Blake
- 1 years ago
- Views:
Transcription
1 So we thought we knew money Ying Hu Sam Peng Here at Custom House Global Foreign Exchange, we have built and are continuing to evolve a system that processes online foreign exchange transactions. Currency, money, rate and markup are terms... | http://docplayer.net/1767239-So-we-thought-we-knew-money.html | CC-MAIN-2017-26 | en | refinedweb |
I am just an idiot, but thats my opinion. For those with MSPGCC compilers, we have a more difficult time finding code examples, and many of the code examples given either don’ explain very well (cryptic Coding, un-commented code) or they are for the CCS or IAR, and they dont use the same syntax as the MSPGCC compiler. ... | http://justinstech.org/index.php/category/programing/page/2/ | CC-MAIN-2017-26 | en | refinedweb |
Red Hat Bugzilla – Full Text Bug Listing
Description of problem:
There should be nls support in help2man (1.40.12-1).
Otherwise, help2man --locale en_US.UTF-8 throws
"help2man: no locale support (Locale::gettext required)"
Version-Release number of selected component (if applicable):
help2man.noarch 1.40.12-1.fc17 @upd... | https://bugzilla.redhat.com/show_bug.cgi?format=multiple&id=873493 | CC-MAIN-2017-26 | en | refinedweb |
How is it possible that files can contain null bytes in operating systems written in a language with null-terminating strings (namely, C)?
For example, if I run this shell code:
$ printf "Hello\00, World!" > test.txt
$ xxd test.txt
0000000: 4865 6c6c 6f00 2c20 576f 726c 6421 Hello., World!
test.txt
Hello
Hello\00, Worl... | https://codedump.io/share/wCq99xuZwZP5/1/how-can-a-file-contain-null-bytes | CC-MAIN-2017-26 | en | refinedweb |
This notebook is a mental note about issues coming up when trying to estimate a panel with one and two-ways fixed effects. Any comments, suggestions or ideas are more than welcome.
You can access the notebook in two flavours:
Last, the notebook relies on two functions I provide in a separate Python file in order not to... | http://nbviewer.jupyter.org/gist/darribas/7805381/panel_FE.ipynb | CC-MAIN-2017-26 | en | refinedweb |
Schema Validation¶
Some data types in Treeherder will have JSON Schema files in the form of YAML. You can use these files to validate your data prior to submission to be sure it is in the right format.
You can find all our data schemas in the schemas folder.
To validate your file against a
yml file, you can use somethi... | http://treeherder.readthedocs.io/data_validation.html | CC-MAIN-2017-26 | en | refinedweb |
This action might not be possible to undo. Are you sure you want to continue?
Python Programming
PDF generated using the open source mwlib toolkit. See for more information. PDF generated at: Sun, 18 Jul 2010 13:13:10 UTC
Contents
Articles
Learning Python
Python
Concepts
Python
Python
Article Sources and Contributors I... | https://www.scribd.com/doc/60725528/Python-Programming | CC-MAIN-2017-26 | en | refinedweb |
Code Style¶
Python imports¶
isort enforces the following Python global import order:
from __future__ import ...
- Python standard library
- Third party modules
- Local project imports (absolutely specified)
- Local project imports (relative path, eg:
from .models import Credentials)
In addition:
Each group should be se... | http://treeherder.readthedocs.io/code_style.html | CC-MAIN-2017-26 | en | refinedweb |
This extension allows you to use a standard interface for GeoCoding APIs. As well as to auto generate a Yahoo or Google map of the GeoCoded location.
Currently supported APIs are Google, GeoCoder.us, and Yahoo.
protected/extensions
Register for an API Key
Google key:
Yahoo key:
See the following code examples:
Standalo... | http://www.yiiframework.com/extension/geocoder/ | CC-MAIN-2017-26 | en | refinedweb |
#include <TeamBalancer.h>
Automatically handles transmission and resolution of team selection, including team switching and balancing.
Usage: TODO
If ID_TEAM_BALANCER_REQUESTED_TEAM_CHANGE_PENDING is returned after a call to RequestSpecificTeam(), the request will stay in memory on the host and execute when available, ... | http://www.jenkinssoftware.com/raknet/manual/Doxygen/classRakNet_1_1TeamBalancer.html | CC-MAIN-2020-05 | en | refinedweb |
A string that represents the current object.
object.ToString is the major formatting method in the .NET Framework. It converts an object to its string representation so that it is suitable for display. (For information about formatting support in the .NET Framework, see Formatting Types.)
The default implementation of ... | http://docs.go-mono.com/monodoc.ashx?link=M%3ASystem.Object.ToString | CC-MAIN-2020-05 | en | refinedweb |
Add Tilo example Change-Id: Idc3b0311891363630aa8ffc3667b2b8889f1ef36
This repository contains recipes for Fuchsia.
A recipe is a Python script that runs a series of commands, using the recipe engine framework from the LUCI project. We use recipes to automatically check out, build, and test Fuchsia in continuous integr... | https://fuchsia.googlesource.com/infra/recipes/+/refs/heads/sandbox/kjharland/tilo | CC-MAIN-2020-05 | en | refinedweb |
uuid_type 1.0.1-beta
UUID type for Dart 2 #
This package provides implementation of Universally Unique Identifier (UUID) for Dart, and supports generation, parsing and formatting of UUIDs.
Features:
- [x] Creates UUID from string and byte-array, as well as GUID and URN strings
- [x] Provides access to variant, version ... | https://pub.dev/packages/uuid_type | CC-MAIN-2020-05 | en | refinedweb |
bus_stop 0.0.2
Bus Stop 🚍🚏 #
A simple Flutter widget that listens to Event Buses.
Learn more about event buses.
Getting Started 🚀 #
Install #
dependencies: bus_stop: "^0.0.2"
Import #
import 'package:bus_stop/bus_stop.dart';
Usage 🕹 #
Bus Stop can show a SnackBar and/or change the child Widget based whether the eve... | https://pub.dev/packages/bus_stop | CC-MAIN-2020-05 | en | refinedweb |
trace
Percentile
Interactive Tracing and Debugging of Calls to a Function or Method
A.
- Keywords
- programming, debugging
Usage
trace(what, tracer, exit, at, print, signature, where = topenv(parent.frame()), edit = FALSE) untrace(what, signature = NULL, where = topenv(parent.frame()))
tracingState(on = NULL) .doTrace(... | https://www.rdocumentation.org/packages/base/versions/3.6.2/topics/trace | CC-MAIN-2020-05 | en | refinedweb |
User Defined Functions¶
Ibis provides a mechanism for writing custom scalar and aggregate functions, with varying levels of support for different backends. UDFs/UDAFs are a complex topic.
This section of the documentation will discuss some of the backend specific details of user defined functions.
Warning
The UDF API i... | https://docs.ibis-project.org/udf.html | CC-MAIN-2020-05 | en | refinedweb |
Adding for summing an array, which may be surprising if you haven’t thought about this before. This post will look at Kahan’s algorithm, one of the first non-obvious algorithms for summing a list of floating point numbers.
We will sum a list of numbers a couple ways using C’s
float type, a 32-bit integer. Some might ob... | https://www.johndcook.com/blog/2019/11/05/kahan/ | CC-MAIN-2020-05 | en | refinedweb |
to print the argument values in case of an exception (which is most of the time the only case where you want the values to be traced...)
import inspect def fn(x): try: print(1/0) except: frames = inspect.trace() argvalues = inspect.getargvalues(frames[0][0]) print("Argvalues: ", inspect.formatargvalues(*argvalues)) ra... | http://www.javamonamour.org/2015/03/ | CC-MAIN-2020-05 | en | refinedweb |
What the Singleton Pattern Costs You
What the Singleton Pattern Costs You
Singletons increase coupling, lower testability, and reduce your ability to reason about the code. All of this works towards creating unbreakable assumptions about it.
Join the DZone community and get the full member experience.Join For Free
Do y... | https://dzone.com/articles/what-the-singleton-pattern-costs-you | CC-MAIN-2020-05 | en | refinedweb |
#include <stdlib.h>size_t mbstowcs(wchar_t *out, const char *in, size_t size);
The mbstowcs( ) function converts the multibyte string pointed to by in into a wide-character string and puts that result in the array pointed to by out. Only size number of bytes will be stored in out.
In C99, out and in are qualified by re... | https://flylib.com/books/en/3.13.1.328/1/ | CC-MAIN-2020-05 | en | refinedweb |
Reason
The .NET Framework doesn’t correctly determine the ISO 8601 compliant number of a week within a year, as outlined in. This is a problem when working within the EU especially, as most countries here use ISO 8601 week numbers.
Although there are a lot of code samples to be found on e.g. Stack Overflow solving the ... | https://reasoncodeexample.com/2013/12/08/iso-8601-compliant-week-numbers/ | CC-MAIN-2020-05 | en | refinedweb |
Now that we have a data source and a service to interact with this data source, it's time to start working on the routes and components that will consume this data. Add a routes.ts file to the app folder with the following configuration:
import { Routes } from '@angular/router';import { HomeComponent } from './home/hom... | https://www.oreilly.com/library/view/typescript-2x-for/9781786460554/f6dfcd6e-1586-4388-bdcd-51cd52c2caf4.xhtml | CC-MAIN-2020-05 | en | refinedweb |
HTML export: icons are exported with an absolute path to zim ressource directory instead of being copied when exporting a single page
Bug Description
Hello,
I run a local version of Zim. By "local", I mean that I did not installed Zim through a distribution package but instead I start zim.py directly from the sources d... | https://bugs.launchpad.net/zim/+bug/893633 | CC-MAIN-2017-43 | en | refinedweb |
cliar 1.1.6
Cliar lets you create powerful commandline interfaces from regular Python classes. Using type hints, you can add validation and on-the-fly parsing.
Create CLIs from Python classes. Make them powerful with type hints.
Cliar is a Python tool that helps you create commandline interfaces:
from cliar import CLI ... | https://pypi.python.org/pypi/cliar/ | CC-MAIN-2017-43 | en | refinedweb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.