text
stringlengths
20
1.01M
url
stringlengths
14
1.25k
dump
stringlengths
9
15
lang
stringclasses
4 values
source
stringclasses
4 values
jackd2 1.9.5~dfsg-17 source package in Ubuntu Changelog jackd2 (1.9.5~dfsg-17) unstable; urgency=low * Augment sigsegv.c patch to support SH4 CPUs (Closes: #588124) * Make RTPRIO handling more robust (allow users to delete audio.conf) jackd2 (1.9.5~dfsg-16) experimental; urgency=low * reupload to experimental jackd2 (1...
https://launchpad.net/ubuntu/+source/jackd2/1.9.5~dfsg-17
CC-MAIN-2019-09
en
refinedweb
Bracket Bracket is an extension of MonadError exposing the bracket operation, a generalized abstracted pattern of safe resource acquisition and release in the face of errors or interruption. Important note, throwing in release function is undefined since the behavior is left to the concrete implementations (ex. cats-ef...
https://typelevel.org/cats-effect/typeclasses/bracket.html
CC-MAIN-2019-09
en
refinedweb
Kleisli Kleisli enables composition of functions that return a monadic value, for instance an Option[Int] or a Either[String, List[Double]], without having functions take an Option or Either as a parameter, which can be strange and unwieldy. We may also have several functions which depend on some environment and want a...
https://typelevel.org/cats/datatypes/kleisli.html
CC-MAIN-2019-09
en
refinedweb
In this article, we are going to download the dataset that we are going to use for our model. This is article is the second part of the series about this amazing Segmentation Network used for the task of semantic segmentation. Furthermore, this Segmentation Network brings a novel approach to decouple the function of sp...
http://mc.ai/bisenet-for-real-time-segmentation-part-ii/
CC-MAIN-2019-09
en
refinedweb
“The introduction of new object-oriented programming features in PHP V5 has significantly raised the level of functionality in this programming language. Not only can you have private, protected, and public member variables and functions – just as you would in the Java,.” Going Dynamic with PHP v5 About The Author Thom...
https://www.osnews.com/story/13738/going-dynamic-with-php-v5/
CC-MAIN-2019-09
en
refinedweb
Hi, I wrote a java code to upload the files into the HCP namespace folder. I am also able to retrieve the objects from the folders using my java code. But I don't know how to get the list of contents in a HCP namespace folder using java. Is there any better way to query the list of contents of the HCP namespace folders...
https://community.hitachivantara.com/thread/14143-hi-i-wrote-a-java-code-to-upload-the-files-into-the-hcp-namespace-folder-i-am-also-able-to-retrieve-the-objects-from-the-folders-using-my-java-code-but-i-dont-know-how-to-get-the-list-of-contents-in-a-hcp-namespace-folder-using-java-is-there-any-bett
CC-MAIN-2019-09
en
refinedweb
Entity Framework Sentry has an integration with EntityFramework through the of the Sentry.EntityFramework NuGet package. Looking for EntityFramework Core? That integration is achieved through the Sentry.Extensions.Logging package. Installation Using package manager: Install-Package Sentry.EntityFramework -Version 1.0.0...
https://docs.sentry.io/platforms/dotnet/entityframework/
CC-MAIN-2019-09
en
refinedweb
Small library for shutting down and starting up local server Project description This library handles rather specific remote power management scenario. - Server can be woken up with wake-on-lan (WOL) - SSH access with public key authentication to the server (for shutting it down) - Server responds to ping (checking whe...
https://pypi.org/project/manage_server_power/
CC-MAIN-2019-04
en
refinedweb
US20060084410A1 - Flexible billing architecture - Google PatentsFlexible billing architecture Download PDF Info - Publication number - US20060084410A1US20060084410A1 US11254327 US25432705A US2006084410A1 US 20060084410 A1 US20060084410 A1 US 20060084410A1 US 11254327 US11254327 US 11254327 US 25432705 A US25432705 A US...
https://patents.google.com/patent/US20060084410A1/en
CC-MAIN-2019-04
en
refinedweb
FINRA has clarified that its Suitability Rule applies to broker dealers' assessment of EB-5 transactions, but that the broker can and should assess the immigration benefit among the economic interests of the investor. By letter dated August 26, 2013, FINRA issued guidance as to whether registered broker-dealers are req...
https://www.lexology.com/library/detail.aspx?g=21b00f24-d1d1-4d83-ac1d-434d010c2ec5
CC-MAIN-2019-04
en
refinedweb
LESENSE_TimeCtrlDesc_TypeDef Struct ReferenceEMLIB > LESENSE LESENSE timing control descriptor structure. Definition at line 548 of file em_lesense.h. #include < em_lesense.h> Field Documentation Set to true do delay the startup of AUXHFRCO until the system enters the excite phase. This will reduce the time AUXHFRCO is...
https://docs.silabs.com/mcu/5.4/efr32bg14/structLESENSE-TimeCtrlDesc-TypeDef
CC-MAIN-2019-04
en
refinedweb
Naming "To call things by incorrect names is to add to the world's misery." This page documents the naming rules for various things defined in EXPath specifications. The rules are organized by the nature of those things to be named. Namespaces A namespace is identified by a URI. The namespace associated to a specificat...
https://www.w3.org/community/expath/wiki/Naming
CC-MAIN-2019-04
en
refinedweb
read the columns of worksheet and set any data in the colums named with "Date" in the title to format "dd/mm/yyyy" By joeloyzaga, in AutoIt General Help and Support Recommended Posts Similar Content - By ahha I AnonymousX Hello, I'm trying to be able to switch back and forth between multiple excel spreadsheets and I ca...
https://www.autoitscript.com/forum/topic/166167-read-the-columns-of-worksheet-and-set-any-data-in-the-colums-named-with-date-in-the-title-to-format-ddmmyyyy/
CC-MAIN-2019-04
en
refinedweb
Usage¶ torchelastic requires you to implement a state object and a train_step function. For details on what these are refer to how torch elastic works. While going through the sections below, refer to the imagenet example for more complete implementation details. Implement state¶ The State object has two categories of ...
https://pytorch.org/elastic/0.1.0rc2/usage.html
CC-MAIN-2022-27
en
refinedweb
How to use authorization in Laravel: Gates, policies, roles and permissions In a previous entry, I mentioned the importance of hand-in-hand authorization and authentication. Now, let’s talk about the many ways that Laravel provides to apply authorization to your application. The Laravel documentation describes multiple...
https://resources.infosecinstitute.com/topic/how-to-use-authorization-in-laravel-gates-policies-roles-and-permissions/
CC-MAIN-2022-27
en
refinedweb
You already might have noticed, as part of vSphere 6.5, VMware introduced vCenter Server REST APIs. I really enjoyed playing around them using vCenter apiexplorer as well as Postman REST client. Recently, I wanted to code around these APIs using one of the programming languages and I am happy that I was able to do it u...
https://vthinkbeyondvm.com/tag/vcenter-server/
CC-MAIN-2022-27
en
refinedweb
This article aims to teach how to do Generalized LR parsing to parse highly ambiguous grammars. I've provided some experimental code which implements it. I wanted to avoid making the code complete and mature because that will involve adding a lot of complexity to it, and this way it's a bit easier to learn. There's not...
https://www.codeproject.com/Articles/5259825/GLR-Parsing-in-Csharp-How-to-Use-The-Most-Powerful
CC-MAIN-2022-27
en
refinedweb
QUrl toLocalFile I have a QUrl that I am creating from a string path. The path contains the # character in one of the folder names. The issue I am having is that when I do a .toLocalFile it stops at the # character. If I do a .toString it returns it fine. I also noticed that .toEncoded doesn't encode the # for some rea...
https://forum.qt.io/topic/56430/qurl-tolocalfile
CC-MAIN-2022-27
en
refinedweb
Today I learned: resetting the Beam in Space Center (This is something I posted on Slack, but I figured it might be useful to cross-post here for others.) I can’t get my space center “Beam” to show up. This was a problem for me in 4.1 (but earlier as well, maybe) and now is still a problem in 4.2. @ryan helpfully respo...
https://forum.robofont.com/topic/1034/today-i-learned-resetting-the-beam-in-space-center/1
CC-MAIN-2022-27
en
refinedweb
Pick guest CPU architecture based on host arch in libvirt driver¶ Implement new image meta property that allows for the selection of the correct QEMU binary, cpu architecture, and machine type for a guest architecture that is different than the host architecture; An x86_64 guest running on an AArch64 host, and vice ver...
https://specs.openstack.org/openstack/nova-specs/specs/yoga/implemented/pick-guest-arch-based-on-host-arch-in-libvirt-driver.html
CC-MAIN-2022-27
en
refinedweb
An implementation of extensibility hook is discovered using the Service Provider mechanism. If the service provider file required by the extension hook is present in the classpath in META-INF/services directory, then JAX-WS tool time or runtime (whatever is appropriate) picks up the implementation advertised by the ser...
http://weblogs.java.net/blog/arungupta/archive/2007/02/jaxws_seiwsdl_p.html
crawl-002
en
refinedweb
To page through data in a control that implements the IPageableItemContainer interface, DataPager control can be used. GridView has its own paging and does not implement IPageableItemContainer interface. To page through data in a control that implements the IPageableItemContainer interface, DataPager control can be use...
http://www.c-sharpcorner.com/UploadFile/nipuntomar/DataPagerGridView08012008123240PM/DataPagerGridView.aspx
crawl-002
en
refinedweb
> Maybe this is a FAO, but I'll give it a try anyway... > > I'm using the <xsl:attribute> to add new namspaces to my > definitions tag. The spec explicitly says you can't do this. Namespace declarations are not attributes in the XSLT data model. It works fine when I specify the namspace > like this: <xsl:attribute"" > ...
http://www.oxygenxml.com/archives/xsl-list/200207/msg01486.html
crawl-002
en
refinedweb
Feb. 13, 2004 GUEST COLUMN Tax Freeze? More like frostbite. By David Newby Less than six months after Wisconsin faced a massive budget shortfall resulting in many serious program cuts, several Republicans are pushing a radical plan to cap state and local revenues. Rep. Frank Lasee, among others, is trying to import a c...
http://www.wiscities.org/TABOR-Newby.htm
crawl-002
en
refinedweb
Java Supplants Scripting In the early days of the enterprise Java standard (what was called J2EE and is now called Java EE), many Web site designers employed server-side scripting to implement functionality. Available tools and software made it easy to develop and deploy this type of business logic, but they had two hu...
http://www.devx.com/Java/Article/33206/0
crawl-002
en
refinedweb
The JMX API includes the possibility to create "Dynamic MBeans", whose management interface is determined at run time. When might that be useful? Here's an example. In the JMX forum on the Sun Developer Network, Athar asks how to load a properties file in a dynamic MBean. I think that's an excellent question, because i...
http://weblogs.java.net/blog/emcmanus/archive/2006/11/a_real_example.html
crawl-002
en
refinedweb
Tuesday, July 29, 2008 posted @ Tuesday, July 29, 2008 12:56 PM | Feedback (0) | Filed Under [ OT Rants ] Tuesday, July 17, 2007 I'm an e-vangelist, apparantly... I envy all the e-experts here on GWB :-D your e-score: 78 your e-group: e-vangelist your e-ranking: 1040/9733 Check your own score at. posted @ Tuesday, July...
http://geekswithblogs.net/jannikanker/Default.aspx
crawl-002
en
refinedweb
Have you seen this unofficial Java API for Google Translator? So, I was thinking that it could be interesting to mix this stuff with Java Speech API (JSAPI). JSAPI was divided to support two things: speech recognizers and synthesizers. Speech synthesis is the process of generating human speech from written text for a s...
http://weblogs.java.net/blog/brunogh/archive/2008/11/playing_with_tr.html
crawl-002
en
refinedweb
I spent a couple of hours today looking at the problem we encountered yesterday with the xpath() function in BizTalk. We were attempting to use an XPath to extract the value of a nested element and assign it to a string variable. The nested element (<Direction>) was in the global (anonymous) namespace, but was a child ...
http://geekswithblogs.net/cyoung/archive/2006/12/12/100981.aspx
crawl-002
en
refinedweb
By: Kenneth A. Faw Abstract: This paper will provide the information needed to successfully guide individuals towards JBuilder certification. Since the Study Guide is broken into four main categories, we will do the same. The summary will also provide information about the Borland Partnership Programs at the date of th...
http://edn.embarcadero.com/article/26907
crawl-002
en
refinedweb
By: Lino Tadros Abstract: This article will explain the preferred method of installing .NET components into the C#Builder IDE using the Open Tools API. Because of a lack of documentation, we decided to open the assembly “Borland.Studio.ToolsAPI” ourselves and snoop around. We used Reflector, available from As you can s...
http://edn.embarcadero.com/article/30303
crawl-002
en
refinedweb
Dont be a borg, harvest ideas and let your creativity shine. It is now official from a post by great Scott Guthrie that jQuery is bundled with Asp.net MVC Beta.. To mark the marriage of jQuery, I have released a new version of FlickrXplorer that uses nothing but jQuery on the client. More info on the release can be fou...
http://weblogs.asp.net/mehfuzh/archive/2008/10/13/using-jquery-to-do-ajax-form-posts-in-asp-net-mvc.aspx
crawl-002
en
refinedweb
Today, I was out Googling for a good ATOM library to add to a project I am working on so I can support both RSS & ATOM. Thus far, I have been using the excellent ASP.NET RSS Toolkit, but I was disappointed to find very few .NET solutions for ATOM available in the open-source community. The ATOM.NET (& RSS.NET) librarie...
http://weblogs.asp.net/lhunt/archive/2007/03/29/rss-and-atom-libraries.aspx
crawl-002
en
refinedweb
Produce the highest quality screenshots with the least amount of effort! Use Window Clippings. The original draft of my latest security article for MSDN Magazine, App Lockdown, included sections covering web security. They were ultimately removed as they overlapped slightly with other articles already featured by MSDN ...
http://weblogs.asp.net/kennykerr/archive/2004/09/25/234250.aspx
crawl-002
en
refinedweb
11-25-2015 08:32 AM I would like to implement my own editing function for GMSC using java plugin. I want to see this function in the editing pane with default functions like move, split line etc. Which classes/methods should I implement/use? I have already tried to create action class like that public class MyEditActio...
https://community.hexagongeospatial.com/t5/Developer-Discussions/Java-plugin-custom-editing-function/m-p/1873/highlight/true
CC-MAIN-2020-16
en
refinedweb
It's easy to use the ADS1115 and ADS1015 ADC with CircuitPython and the Adafruit CircuitPython ADS1x15 module. This module allows you to easily write Python code that reads the analog input values. You can use this ADC with any CircuitPython microcontroller board or with a computer that has GPIO and Python thanks to Ad...
https://learn.adafruit.com/adafruit-4-channel-adc-breakouts/python-circuitpython
CC-MAIN-2020-16
en
refinedweb
From: Aleksey Gurtovoy (agurtovoy_at_[hidden]) Date: 2008-06-20 00:51:02 Hi Martin, > I stumbled across something very strange related to boost::mpl::for_each and numbered vectors and sets (as opposed to the variadic > forms). The program below contains a typelist with 21 (i.e. more than BOOST_MPL_LIMIT_SET_SIZE) class...
https://lists.boost.org/boost-users/2008/06/37335.php
CC-MAIN-2020-16
en
refinedweb
Hello everyone, welcome to this new article, where we are going to explore the React Native Netinfo Api. In this article we will try to make a simple Wifi Network Adapter, That gets the current network data in realtime. Our final result will look like this. It’s pretty straightforward, and every time the strength of th...
https://reactnativemaster.com/react-native-netinfo-example/
CC-MAIN-2020-16
en
refinedweb
then wrap in a Play Promise, and then map to your own result type. Below is an example of using our HelloActor with the ask pattern: import akka.actor.*; import play.mvc.*; import play.libs.F.*; import javax.inject.*; import static akka.pattern.Patterns.ask; @Singleton public class Application extends Controller { fi...
https://www.playframework.com/documentation/bg/2.4.x/JavaAkka
CC-MAIN-2020-16
en
refinedweb
background part of GUI.HorizontalSlider controls. The padding property is used to determine the size of the area the thumb can be dragged within. // Modifies only the horizontal slider style of the current GUISkin var hSliderValue : float = 0.0; var style : GUIStyle; function OnGUI () { GUI.skin.horizontalSlider = sty...
https://docs.unity3d.com/2017.1/Documentation/ScriptReference/GUISkin-horizontalSlider.html
CC-MAIN-2020-16
en
refinedweb
feedback 0.2.1 Feedback # A Flutter package for getting better feedback. It allows the user to give interactive feedback directly in the app. Get it on pub.dev! Getting Started # Just wrap your app in a BetterFeedback widget and supply an onFeedback function. The function gets called when the user submits his feedback....
https://pub.dev/packages/feedback
CC-MAIN-2020-16
en
refinedweb
We previously had a discussion about the fact that SVN_SLEEP_FOR_TIMESTAMPS was made conditional on SVN_DEBUG (activated by --enable-maintainer-mode). The consensus, from those who spoke up, was that this admittedly wasn't an ideal solution. Please see the patch below which always activates this code path and renames t...
https://svn.haxx.se/dev/archive-2007-12/0821.shtml
CC-MAIN-2020-16
en
refinedweb
Posted March 3 Hi there, I was wondering if there is a way to namespace "gsap" instance to avoid conflicts with other libraries that import gsap explicitly. Main reason behind this is because I develop WordPress themes, and so other plugins may include gsap library in different versions as well, so what I wanted is a c...
https://greensock.com/forums/topic/23211-namespace-gsap-build/?tab=comments
CC-MAIN-2020-16
en
refinedweb
Annotations your way in RESTEasy Annotations your way in RESTEasy Join the DZone community and get the full member experience.Join For Free Download Microservices for Java Developers: A hands-on introduction to frameworks and containers. Brought to you in partnership with Red Hat. I've been thinking about how to allow ...
https://dzone.com/articles/annotations-your-way-resteasy
CC-MAIN-2018-43
en
refinedweb
This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project. On Mon, Aug 05, 2013 at 06:25:44PM -0400, Rich Felker wrote: > Hi, > > [I'm resending this to linux-api instead of linux-kernel on the advice > of Joseph Myers on libc-alpha. Please see the link to the libc-alpha > thread at t...
https://sourceware.org/ml/libc-alpha/2013-08/msg00033.html
CC-MAIN-2018-43
en
refinedweb
Actuator: different techniques To control the organs and limbs of a robot, a series of technologies are being used. How to animate a robot? Piezoelectric properties are exploited by the electrostatic actuator. A ceramic rod lengthens in proportion to the voltage applied to the poles at both ends. This technique is used...
https://www.scriptol.com/robotics/personal/actuator.php
CC-MAIN-2018-43
en
refinedweb
Want to analyze the accuracy of your inventory? Using Extended Warehouse Management (EWM) on S/4 HANA? Keep reading and I’ll show you how! Step 1 – Where’s the Beef?!…I mean data. If you look in Eclipse or use the View Browser app in Fiori Launchpad, you’ll notice delivered ABAP CDS Views I_PHYSINVTRYDOCHEADER and I_PH...
https://blogs.sap.com/2017/08/22/inventory-analysis-with-extended-warehouse-management-in-s4-hana-with-abap-cds-views/
CC-MAIN-2018-43
en
refinedweb
A JavaScript WAT and monoidal folds We suppose all programming languages have the occasional watWe believe the origin of this use of the term is from this lightning talk by Gary Bernhardt., some function or behavior that is surprising and makes you think, “wait, what?” From time to time, one of these will go viral on T...
https://typeclasses.com/javascript/monoidal-folds
CC-MAIN-2018-43
en
refinedweb
I'm new to python and I'm having trouble trying to sort a list correctly. I have a map of strings->Word objects. A word object contains a list of all the places in a file where the word occurs. So in the Word class I have this method: def _cmp_(self,other): print'here' return other.num_occurences()-self.num_occurences(...
https://www.daniweb.com/programming/software-development/threads/151784/sorting-problem
CC-MAIN-2018-43
en
refinedweb
I recently found a situation where I needed to get the root element of a Silverlight control. Unfortunately, Silverlight controls only have a Parent member and not a Top or Root member. If your control is embedded in multiple controls, you cannot easily get the root and will probably end up writing some ugly casting co...
http://johnlivingstontech.blogspot.com/2009/11/silverlight-get-top-level-usercontrol.html
CC-MAIN-2018-30
en
refinedweb
MVVM - IOC Containers and MVVM By Laurent Bugnion | February 2013 Since the early days of object-oriented programming, developers have faced the issue of creating and retrieving instances of classes in applications and libraries. Various solutions have been proposed for this problem. For the past few years, dependency ...
https://msdn.microsoft.com/en-us/magazine/jj991965.aspx
CC-MAIN-2018-30
en
refinedweb
A bridge between UFOs and FontTools. Project description, which work exactly the same way: from defcon import Font from ufo2ft import compileOTF ufo = Font('MyFont-Regular.ufo') otf = compileOTF(ufo) otf.save('MyFont-Regular.otf') In most cases, the behavior of ufo2ft should match that of ufo2fdk, whose documentation i...
https://pypi.org/project/ufo2ft/
CC-MAIN-2018-30
en
refinedweb
Part 2: Layouts Some of the concepts in this section will be easier to understand if you have read the Blaze documentation. PurposePurpose In general layouts are a way of applying a structure to a site beyond what you would want to have in one particular template, allowing you to share components and reduce repetition....
https://docs.reactioncommerce.com/docs/next/plugin-layouts-3
CC-MAIN-2018-30
en
refinedweb
models are equivalent but express things differently.” This is about the distinction between Go channels and its cousin Erlang messages passing approach to communicating between processes. Implementing Go channels with Elixir processes and messages Before discovering that it has been done before, I wrote some simple E...
http://blog.plataformatec.com.br/2014/10/playing-with-elixir-and-go-concurrency-models/
CC-MAIN-2018-30
en
refinedweb
QVariant.canConvert inconsistencies Hi there, following minimized problem: @ #include <QtCore/QCoreApplication> #include <QVariant> #include <QDebug> #include <stdexcept> template <typename Type> Type get(QVariant& source) { if(source.canConvert<Type>()) return source.value<Type>(); else throw std::runtime_error("Inval...
https://forum.qt.io/topic/9458/qvariant-canconvert-inconsistencies
CC-MAIN-2018-39
en
refinedweb
Python Client Library This document describes Python library that wraps YouTrack REST API. Compatibility. Installation - Download the latest version of YouTrack Python Client library and unzip it. - Install Python Authenticating from youtrack.connection import Connection connection = Connection('', 'xxx', 'xxx') Get Is...
https://www.jetbrains.com/help/youtrack/standalone/7.0/Python-Client-Library.html
CC-MAIN-2018-39
en
refinedweb
Published 11 months ago by artmonger I'm passing two variables from the index page to the create page. The output inserts white-space into the characters of the variable if I concatenate the two variables in the controller. Other times, it only gives me the last character, or the first characters and cuts off the last ...
https://laracasts.com/discuss/channels/general-discussion/mysterious-string-phenomena
CC-MAIN-2018-39
en
refinedweb
Dependency injection with Guice Testable code with less boilerplate Gu. Guice 2.0 beta As I write this, the Guice team is working hard on Guice 2.0 and expects to release before the end of 2008. An early beta is posted on the Google Code download site (see Related topics).. The case for DI public class FrogMan { privat...
https://www.ibm.com/developerworks/java/library/j-guice/
CC-MAIN-2018-39
en
refinedweb
Introduction :-We have already done insert,update and delete operations with SQL Server. Now we learn "How to Insert data in Microsoft Access database ". These two database are Microsoft products so we have to know about its connectivity.These two are more compatible with .NET Framework. These are more reliable and sec...
http://www.msdotnet.co.in/2015/01/how-to-insert-data-in-microsoft-access.html
CC-MAIN-2019-26
en
refinedweb
Murl::Graph::MultiMaterial Class Reference The MultiMaterial node class. More... #include "murl_graph_multi_material.h" Inheritance diagram for Murl::Graph::MultiMaterial: Detailed Description The MultiMaterial node class. XML Elements - XML Graph Node Attributes: A material node ID to include at the given index N. See...
https://murlengine.com/api/en/class_murl_1_1_graph_1_1_multi_material.php
CC-MAIN-2019-26
en
refinedweb
TruWeb script structure This topic describes the TruWeb script structure. You write TruWeb scripts using the TruWeb JavaScript SDK. You can write standard JavaScript code as part of your script, or reuse any other pure (for example, third party) JavaScript file. You can use a variety of IDEs or text editors to build an...
https://admhelp.microfocus.com/truweb/en/latest/help/Content/TruWeb/TW-scripts.htm
CC-MAIN-2019-26
en
refinedweb
Unit Testing ASP.NET Web API 2 Download Completed Project This guidance and application demonstrate how to create simple unit tests for your Web API 2 application. This tutorial shows how to include a unit test project in your solution, and write test methods that check the returned values from a controller method. Thi...
https://docs.microsoft.com/en-us/aspnet/web-api/overview/testing-and-debugging/unit-testing-with-aspnet-web-api
CC-MAIN-2019-26
en
refinedweb
I'm trying to extract text between tags of a HTML page using a keyword. Here is an example. <div class="xyz">Title</div> <h4>Education</h4> <p>PhD, 2017, Subject,<br /> ABC University </p> r = requests.get(site) soup = BeautifulSoup(r.content, "lxml") for elems in soup(text=re.compile('PhD')): val = elems.find_parent('...
https://codedump.io/share/awmkx1a90VJ3/1/extracting-text-between-tags-using-a-particular-word
CC-MAIN-2019-26
en
refinedweb
Splitting Datasets into Training/Testing/Validating¶ This example shows how to split a single dataset into two datasets, one used for training and the other used for testing. Note that when splitting frames, H2O does not give an exact split. It’s designed to be efficient on big data using a probabilistic splitting meth...
http://docs.h2o.ai/h2o/latest-stable/h2o-docs/data-munging/splitting-datasets.html
CC-MAIN-2019-26
en
refinedweb
Here is my code. I'm not exactly sure if I need a counter for this to work. The answer should be 'iiii'. def eliminate_consonants(x): vowels= ['a','e','i','o','u'] vowels_found = 0 for char in x: if char == vowels: print(char) eliminate_consonants('mississippi') The line if char == vowels: is wrong. It has to be if cha...
http://databasefaq.com/index.php/answer/126196/python-python-3x-python-idle-vowel-print-vowels-in-string-python
CC-MAIN-2019-26
en
refinedweb
Keeping code compatible with Pythons 2 and 3¶ DIPY supports Python versions from 2.6 to 3.5. In order to maintain code that supports both Python 2 and Python 3 versions, please follow these instructions. There is useful advice here: - - - Future imports¶ For any modules with print statements, and for any modules where ...
http://nipy.org/dipy/devel/python3.html
CC-MAIN-2019-26
en
refinedweb
Is Go an Object Oriented language? The first technical article is dedicated to a slightly opinionated topic but an important one. Soon after you write your first Go program, you will start thinking about how to organise your code. Should I write a Function? Should I create a new Struct? Eventually it all comes to the s...
https://medium.com/gophersland/gopher-vs-object-oriented-golang-4fa62b88c701
CC-MAIN-2019-26
en
refinedweb
Contents 1 strong and enforceable labor standards and environmental commitments; groundbreaking rules to ensure fair compe- tition between State-owned enterprises and private compa- nies; commitments that will improve transparency and make it easier for small- and medium-sized businesses to export; a robust intellectua...
https://www.scribd.com/document/341399890/TPP-Detailed-Summary-of-US-Objectives
CC-MAIN-2019-26
en
refinedweb
How to: Write a parallel_for_each Loop This example shows how to use the concurrency::parallel_for_each algorithm to compute the count of prime numbers in a std::array object in parallel. Example> using namespace concurrency; using namespace std; // Calls the provided work function and returns the number of millisecond...
https://docs.microsoft.com/en-us/cpp/parallel/concrt/how-to-write-a-parallel-for-each-loop?view=vs-2017
CC-MAIN-2019-26
en
refinedweb
. Overview Fist thing first let’s create a Stream using fs2. Unlike Akka Streams that always require an actor system and a materializer, an fs2 stream can be created straight away: val stream = Stream(1, 2, 3, 4) An interesting thing to note is the type of the stream: fs2.Stream[fs2.Pure, Int] So an fs2 stream has 2 ty...
https://www.beyondthelines.net/programming/streaming-patterns-with-fs2/
CC-MAIN-2019-26
en
refinedweb
#include <Keypad.h>const byte ROWS = 4; // Four rowsconst byte COLS = 4; // Four columns// Define the Keymapchar keys[ROWS][COLS] = { {'1','2','3','A'}, {'4','5','6','B'}, {'7','8','9','C'}, {'*','0','#','D'},};// Connect keypad ROW0, ROW1, ROW2 and ROW3 to these Arduino pins.byte rowPins[ROWS] = { 6, 8, 7, 9 };// Conn...
http://forum.arduino.cc/index.php?topic=146106.msg1097667
CC-MAIN-2018-05
en
refinedweb
The repository for high quality TypeScript type definitions. Also see the definitelytyped.org website, although information in this README is more up-to-date.TypedTyped. First, fork this repository, install node, and run npm install. Edit an existing packageEdit an existing package cd types/my-package-to-edit - Make ch...
https://libraries.io/npm/@types%2Flodash/4.14.70
CC-MAIN-2018-05
en
refinedweb
1 /*2 * $Header: /home/cvs/jakarta-commons-sandbox/cli/src/java/org/apache/commons/cli/AlreadySelectedException.java,v 1.4 2002/06/06 09:37:26 jstrachan Exp $3 * $Revision: 1.4 $4 * $Date: 2002/06/06 09:37:26 $5 *6 * ====================================================================7 *8 * The Apache Software License,...
http://kickjava.com/src/org/apache/commons/cli/AlreadySelectedException.java.htm
CC-MAIN-2018-05
en
refinedweb
//************************************** // Name: Save Embedded Resource to File // Description:To save an Embedded Resource and save to file. This will take any embedded resource and save it to any filename you want. // By: Victor Boba (from psc cd) //************************************** ' Notes: ' The file that you...
http://planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=2268&lngWId=10
CC-MAIN-2018-05
en
refinedweb
Blocking Transitions Let's explore how to block transitions. We are going to make it so that if we change any user information when adding or editing a user, the application will block any transitions away until we confirm that we want to transition away. For example, imagine we change some info and then want to cancel...
https://scotch.io/courses/using-react-router-4/blocking-transitions
CC-MAIN-2018-05
en
refinedweb
Red Hat Bugzilla – Bug 241370 pread() always sets the offset=0 if gcc option -D_FILE_OFFSET_BITS=64 is set Last modified: 2016-11-24 09:58:52 EST Description of problem: If a C code is compiled with the -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 flag then the offset argument for pread() is passed as 0 or some garbage...
https://bugzilla.redhat.com/show_bug.cgi?id=241370
CC-MAIN-2017-17
en
refinedweb
Applies to: Windows XP Service Pack 3 Windows XP SP 3 Note: You should check for the latest version of the different files. Note: These are not scheduled to be included with a service pack. i.e. There is no Windows XP Service Pack 4 (SP4). Note: The last Windows XP SP3 hotfix was from July 2012. List of Windows XP rela...
https://blogs.technet.microsoft.com/yongrhee/2011/06/12/list-of-post-sp3-related-hotfixes-for-windows-xp-sp3/
CC-MAIN-2017-17
en
refinedweb
Earnie Boyd - 2013-04-23 - Description has changed: Diff: --- old +++ new @@ -8,7 +8,7 @@ #endif ~~~~~~ -That __GNUC_MINOR__ >= 4 should perhaps be __GNUC_MINOR__ == 4. Right +That \_\_GNUC_MINOR\_\_ >= 4 should perhaps be \_\_GNUC_MINOR\_\_ == 4. Right now a hypothetical gcc 3.5.0 would give the error message. Of cour...
https://sourceforge.net/p/mingw/bugs/1958/
CC-MAIN-2017-17
en
refinedweb
Converting a single channel PIL Image to a 1-D NumPy array and back is easy: import numpy import PIL # Convert Image to array img = PIL.Image.open("foo.jpg").convert("L") arr = numpy.array(img) # Convert array to Image img = PIL.Image.fromarray(arr) Tried with: Python 2.7.3 and Ubuntu 12.04 Advertisements One thought o...
https://codeyarns.com/2014/01/16/how-to-convert-between-numpy-array-and-pil-image/
CC-MAIN-2017-17
en
refinedweb
Tcl/Tk developers have constructed many interesting widget sets which extend Tk's basic functionality. A few of these--Tix, for example--are reasonably well known and accessible to Tkinter users. What about the rest? When a TkInter programmer sees a promising Tk extension, is it likely to do him or her any good? Briefl...
https://wiki.python.org/moin/How%20Tkinter%20can%20exploit%20Tcl/Tk%20extensions?highlight=Tk
CC-MAIN-2017-17
en
refinedweb
ncl_nggcog man page NGGCOG — Returns the latitudes and longitudes of a set of points approximating a circle at a given point on the surface of the globe. Synopsis CALL NGGCOG (CLAT,CLON,CRAD,ALAT,ALON,NPTS) C-Binding Synopsis #include <ncarg/ncargC.h> void c_nggcog(float clat, float clon, float crad, float *alat, float...
https://www.mankier.com/3/ncl_nggcog
CC-MAIN-2017-17
en
refinedweb
JBoss.orgCommunity Documentation 3.0.13.Final. Resteasy is bundled with JBoss AS 7. You may have the need to upgrade Resteasy in AS7. The Resteasy distribution comes with a zip file called resteasy-jboss-modules-3.0.13.Final.zip. Unzip this file while with the modules/ directory of the JBoss AS7 distribution. This will...
http://docs.jboss.org/resteasy/docs/3.0.13.Final/userguide/html_single/index.html
CC-MAIN-2017-17
en
refinedweb
csQuaternion Class Reference [Geometry utilities] Class for a quaternion. More... #include <csgeom/quaternion.h> Detailed Description Class for a quaternion. A SE3 rotation represented as a normalized quaternion - See also: - csDualQuaternion Definition at line 42 of file quaternion.h. Constructor & Destructor Document...
http://www.crystalspace3d.org/docs/online/new0/classcsQuaternion.html
CC-MAIN-2017-17
en
refinedweb
0 Hey guys, I think I have this mostly figured out but i'm still getting some errors, I'm not sure if it's a syntax thing or if I called out a variable wrong. For some reason eclipse is saying that my variable [B]average[/B] "may not have locally been declared" which doesn't make sense to me, because it is, or so I thi...
https://www.daniweb.com/programming/software-development/threads/185318/array-method-problem
CC-MAIN-2017-17
en
refinedweb
.2, you should use: #include <hwloc.h> #if HWLOC_API_VERSION >= 0x00010200 ... #endif One of the major changes in hwloc 1.1 hwloc_cpuset_alloc, you should use hwloc_bitmap_alloc instead and add the following code to one of your common headers: hwloc_cpuset_alloc hwloc_bitmap_alloc #include <hwloc.h> #if HWLOC_API_VERS...
https://www.open-mpi.org/projects/hwloc/doc/v1.2.2/faq.php
CC-MAIN-2017-17
en
refinedweb
A common scenario in android development is being able to add a custom activity and navigate to it. There are also several very popular libraries that requires this functionality. See for example the native YouTube SDKs. Here is a snippet from their documentation: A view for displaying YouTube videos. Using this View d...
https://www.nativescript.org/blog/static-binding-generator---what-is-it-good-for
CC-MAIN-2017-17
en
refinedweb
Many author do not include topics about returning array from a functions in their books or articles. It is because, in most of the cases, there is no need of array to be returned from a function. Since, on passing array by its name, the address of its first member is passed and any changes made on its formal arguments ...
http://www.programming-techniques.com/2011/08/returning-two-dimensional-array-from.html
CC-MAIN-2017-17
en
refinedweb
Mapping in each case. While Google does not provide specific mapping controls for Silverlight/WPF, it's still quite straightforward to integrate the browser version, once you know where to start. Overview Microsoft provide Bing mapping controls for Silverlight, Windows Phone 7, WPF, with a very similar API (and by very...
http://blog.scottlogic.com/2012/05/02/mapping-in-wpf-silverlight-and-wp7.html
CC-MAIN-2017-17
en
refinedweb
Building Collaboration Applications That Mix Web Services Hosted Content with P2P Protocols 1 - Evan Potter - 1 years ago - Views: Transcription 1 Building Collaboration Applications That Mix Web Services Hosted Content with P2P Protocols 1 Ken Birman, Jared Cantwell, Daniel Freedman, Qi Huang, Petko Nikolov, Krzysztof...
http://docplayer.net/1804788-Building-collaboration-applications-that-mix-web-services-hosted-content-with-p2p-protocols-1.html
CC-MAIN-2017-17
en
refinedweb
1 package org.odmg;2 3 4 5 /**6 7 * This exception is thrown when a call has been made to a method that8 9 * should not be called when a transaction is in progress.10 11 * @author David Jordan (as Java Editor of the Object Data Management Group)12 13 * @version ODMG 3.014 15 */16 17 18 19 public class TransactionInProg...
http://kickjava.com/src/org/odmg/TransactionInProgressException.java.htm
CC-MAIN-2017-17
en
refinedweb
So, I'm just starting to learn C++ and I'd like to start off by saying thank you to all those that created this site. It's been great and the guides are very helpful. :) During the course of trying out example code for arrays, I ran into an issue where the code doesn't terminate when expected. In fact, it just goes unt...
https://cboard.cprogramming.com/cplusplus-programming/136919-question-about-array-code-printable-thread.html
CC-MAIN-2017-17
en
refinedweb
Hi, this isn’t a specific fmod related question but I’ve seen that a few people on here are working on beat detection in some way. I’m just having some trouble getting what the general idea behind it is. I can understand why you would use the autocorrelation function which I have covered in maths which is helpful. My m...
https://www.fmod.org/questions/question/forum-7200/
CC-MAIN-2017-17
en
refinedweb
Fay is a proper subset of Haskell that compiles to JavaScript. Thus it is by definition a statically typed lazy pure functional language. If you want a more thorough introduction to Fay, please read Paul Callaghan’s Web Programming in Haskell and Oliver Charles’s 24 Days of Hackage: fay. The original intention of Fay i...
http://kseo.github.io/posts/2014-03-11-fay-with-nodejs.html
CC-MAIN-2017-17
en
refinedweb
CodePlexProject Hosting for Open Source Software Hi all, I am new to silverlight and a bit struggling in understanding this framework... :( Can someone please tell me how to use this framework to make the DataGridTextColumn bindable in a viewmodel way? Many thanks! Xin Hi Xin, Below is a sample code that shows how to m...
http://nroute.codeplex.com/discussions/78167
CC-MAIN-2017-17
en
refinedweb
UFDC Home | Help | RSS Group Title: TropSoils field research brief ;, 34 Title: Farmer and crop responses to different sources of fertilizers : : a farmer-managed study on home gardens CITATION THUMBNAILS PAGE IMAGE ZOOMABLE Full Citation STANDARD VIEW MARC VIEW Permanent Link: Material Information Title: Farmer and cr...
http://ufdc.ufl.edu/UF00080610/00001
CC-MAIN-2017-17
en
refinedweb
#include <iostream> #include <string> using namespace std; int main() { string names[4] = {"Anna" , "Jenny", "George" , "Michael"}; int score[4]; for(int i = 0; i < 3; i++) { cout << names[i] << ": "; cin >> score[i]; cin.ignore(); } //sort by score for ( int i = 0; i < 3; i++ ) { score[i]; for ( int j = 0; j < 3; j++ ...
https://www.daniweb.com/programming/software-development/threads/90543/what-i-have-so-far
CC-MAIN-2017-17
en
refinedweb
I have a palindrome set up in the system, and running fine. However, when I type "never odd or even" or "A Man, A Plan, A Canal, Panama", it didn't run properly as if these words in quotation marks are considered palindromes. Where is the loophole on my code re: palindromes esp more than one word //This palindrome proj...
https://www.daniweb.com/programming/software-development/threads/287985/determine-whether-is-palindrome-or-not
CC-MAIN-2017-17
en
refinedweb
Proposed features/camp site pitch Contents Tagging of individual pitches One might be interested in tagging individual pitches within a campground. Pitch means (in this context) the free space used to place 1 tent or 1 caravan.. This proposal builds on the earlier work in tagging individual pitches at Proposed features...
http://wiki.openstreetmap.org/wiki/Proposed_features/camp_site_pitch
CC-MAIN-2017-17
en
refinedweb
CodePlexProject Hosting for Open Source Software Hi, I am about to port my application from PRISM to nRoute and would like to know what the best approach is for implementing a wizard. The wizard will have one view model and multiple views. I am going to use the future desktop as a base. The wizard will not be in a popu...
http://nroute.codeplex.com/discussions/225598
CC-MAIN-2017-17
en
refinedweb
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Sidnei da Silva wrote: > On Thu, Jan 26, 2006 at 02:02:19PM +0000, Chris Withers wrote: > | Sidnei da Silva wrote: > | > > | >My original intention was to put the config file location in the > | >ZConfig schema, but that's *waaaay* too painful right now. > | > | What's the ...
https://www.mail-archive.com/zope3-dev@zope.org/msg03653.html
CC-MAIN-2017-17
en
refinedweb