text
stringlengths
20
1.01M
url
stringlengths
14
1.25k
dump
stringlengths
9
15
lang
stringclasses
4 values
source
stringclasses
4 values
I honestly could not figure this one out for the life of me. I thought the “solution” would help me figure out what it was asking for, but it seems that most people in the forums used the “converting the integer into a string” method. can someone explain the solution’s method instead? .)” def digit_sum(x): total = 0 wh...
https://discuss.codecademy.com/t/digit-sum-alternate-solution/353040
CC-MAIN-2018-43
en
refinedweb
I cant get the output to display the average, high, and low. Any hints? /*. Use the following screen shots as a guide. */ #include <iostream> using namespace std; int main() { double scores[75]; int counter = -1; do { counter++; cout << "Please enter a score (enter -1 to stop): "; cin >> scores[counter]; } while (score...
https://www.daniweb.com/programming/software-development/threads/160191/one-dimensional-arrays-of-integers-problem
CC-MAIN-2018-43
en
refinedweb
Dear community, Could you point me to some documentation or explain how to incorporate a date range filter into an HCI search query. I've got this, but need a date range in there e.g. last 24 hours. { "indexName": "ECMReport", "facetRequests": [ { "fieldName": "HCI_namespace" } ] } Hedde Hi Hedde, In the queryString it...
https://community.hitachivantara.com/thread/12398-hci-query-api-date-range-filter
CC-MAIN-2018-43
en
refinedweb
These are chat archives for orbitjs/orbit.js Storeautomatically when the ember-orbit addon is present. Unfortunately, ember addons include ember-data by default so we can’t expose it as service:store. It seems like the pragmatic way forwards for now is to expose it as service:orbitStore. Any thoughts? // where topology...
https://gitter.im/orbitjs/orbit.js/archives/2016/01/07
CC-MAIN-2018-43
en
refinedweb
We saw the use of the javax.xml.transform package and two of its subpackages in the output( ) method of Example 19-2. There it was used to perform an "identity transform," converting a DOM tree into the corresponding XML file. But transforming the format of an XML document is not the only purpose of these packages. The...
http://books.gigatux.nl/mirror/javaexamples/0596006209_jenut3-chp-19-sect-3.html
CC-MAIN-2018-43
en
refinedweb
[ ] Pepijn Noltes edited comment on CELIX-77 at 10/15/13 7:20 PM: -------------------------------------------------------------- Added md5 sum for the config_admin patch for grant identification was (Author: pnoltes): md5 sum for the config_admin patch to identify it for the grant. > Configuration Admin Implementation ...
http://mail-archives.apache.org/mod_mbox/celix-commits/201310.mbox/%3CJIRA.12663037.1376135759862.67920.1381864962298@arcas%3E
CC-MAIN-2018-43
en
refinedweb
I am having an issue getting directions to return when using ModelBuilder or through a network service with ArcGIS server. In 10.1 desktop the directions work fine, and return in the directions window. Also, The model that I made works in 10, and without the directions it works in 10.1. When the directions are set to n...
https://community.esri.com/thread/52299-directions-in-101-not-working-with-modelbuilder-or-in-anbsp-network-service
CC-MAIN-2018-43
en
refinedweb
Response Caching Middleware in ASP.NET Core By Luke Latham and John Luo View or download ASP.NET Core 2.1 sample code (how to download) This article explains how to configure Response Caching Middleware in an ASP.NET Core app. The middleware determines when responses are cacheable, stores responses, and serves response...
https://docs.microsoft.com/en-us/aspnet/core/performance/caching/middleware?view=aspnetcore-2.1
CC-MAIN-2018-43
en
refinedweb
When writing a script, you don't always get it right the first time. That was a worthwhile lesson that our engineering team recently learned. Every month when Microsoft releases security updates, our engineering team must automate their installation. Generally, this is a simple task of running the patch executable with...
https://www.itprotoday.com/devops-and-software-development/don-t-expect-get-it-right-first-time
CC-MAIN-2018-43
en
refinedweb
This notebook originally appeared as a post on the blog Pythonic Perambulations. The content is MIT licensed. I just got home from my sixth PyCon, and it was wonderful as usual. If you weren't able to attend—or even if you were—you'll find a wealth of entertaining and informative talks on the PyCon 2017 YouTube channel...
http://nbviewer.jupyter.org/url/jakevdp.github.io/downloads/notebooks/DictVersion.ipynb
CC-MAIN-2018-30
en
refinedweb
2017-01-13 07:41 AM Hello All I know that snapmirrors are different in CDOT and since our NetApp expert who usually does these has moved on to a different company I am now have to do them. But alas here is my issue. SVM-QA-02 has two different volumes on different aggerates HMG_DB and HMG_DG. I need to snapmirror from ...
https://community.netapp.com/t5/Data-ONTAP-Discussions/Snapmirror-in-CDOT/td-p/126978
CC-MAIN-2018-30
en
refinedweb
Encrypting an Amazon S3 Bucket Object on the Server Using AWS KMS The following example uses the PutObject method to add the object myItem to the bucket myBucket with server-side encryption set to AWS KMS. Note that this differs from Setting Default Server-Side Encryption for an Amazon S3 Bucket, is in that case, the o...
https://docs.aws.amazon.com/sdk-for-go/v1/developer-guide/s3-example-server-side-encryption-with-kms.html
CC-MAIN-2018-30
en
refinedweb
This page shows how to migrate data stored in a ThirdPartyResource (TPR) to a CustomResourceDefinition (CRD). Kubernetes does not automatically migrate existing TPRs. This is due to API changes introduced as part of graduating to beta under a new name and API group. Instead, both TPR and CRD are available and operate i...
https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/migrate-third-party-resource/
CC-MAIN-2018-30
en
refinedweb
If/Else Part of TutorialFundamentals Description Simple (yet effective) flow control. Example import std.stdio; void main() { int anInteger; if (anInteger == 0) writef("It's zero!"); else writef("It's not zero!"); } Output It's zero! More Information In D, all variable declarations that do not have a specific initializ...
http://dsource.org/projects/tutorials/wiki/IfElseExample/D2
CC-MAIN-2018-30
en
refinedweb
Copy pixel data from one buffer to another #include <screen/screen.h> int screen_blit(screen_context_t ctx, screen_buffer_t dst, screen_buffer_t src, const int *attribs) Function Type: Delayed Execution This function requests pixels from one buffer be copied to another. The operation isn't executed until an API functio...
http://www.qnx.com/developers/docs/7.0.0/com.qnx.doc.screen/topic/screen_blit.html
CC-MAIN-2018-51
en
refinedweb
- FUNCTIONS def distance_from_zero (num): return distance_from_zero if type(num) == int or type(num) == float: return abs(num) elif type (num): return abs(num) else: return 'nope' Oops, try again. Your function seems to fail on input -10 when it returned '' instead of '10' I have coded everything correctly but it is co...
https://discuss.codecademy.com/t/19-review-built-in-functions-please-help/73059
CC-MAIN-2018-51
en
refinedweb
I do like the way I can treat lists in Python. It does any recursion solution to look easy and clean. For instance the typical problem of getting all the permutations of elements in a list, in Python looks like: def permutation_recursion(numbers,sol): if not numbers: print "this is a permutation", sol for i in range(le...
http://www.dlxedu.com/askdetail/3/b9854e1159808402be6910900f6effc9.html
CC-MAIN-2018-51
en
refinedweb
CURLOPT_NOSIGNAL explained NAME CURLOPT_NOSIGNAL - skip all signal handling SYNOPSIS #include <curl/curl.h> CURLcode curl_easy_setopt(CURL *handle, CURLOPT_NOSIGNAL, long onoff); DESCRIPTION If. In addition, using CURLAUTH_NTLM_WB authentication could cause a SIGCHLD signal to be raised. DEFAULT AVAILABILITY RETURN VAL...
https://curl.haxx.se/libcurl/c/CURLOPT_NOSIGNAL.html
CC-MAIN-2018-51
en
refinedweb
Is this an XML file? I'm guessing that your text file contains XML markup tags. Maybe it's something else, though, like for mailing lists and form letters. In Word online help I looked up "importing xml files" and got a bunch of hits. Here are instructions from one of them: 1. Place the insertion point where you want t...
https://www.techrepublic.com/forums/discussions/using-vb-to-generate-word-letters-from-txt-files/
CC-MAIN-2018-51
en
refinedweb
import "github.com/syncthing/syncthing/lib/signature" Package signature provides simple methods to create and verify signatures in PEM format. GenerateKeys returns a new key pair, with the private and public key encoded in PEM format. Sign computes the hash of data and signs it with the private key, returning a signatu...
https://godoc.org/github.com/syncthing/syncthing/lib/signature
CC-MAIN-2018-51
en
refinedweb
Luca Grulla 2015-10-23T06:11:07+00:00 Luca Grulla Evolutionary Architecture and Microservices: a real world example 2015-07-01T00:00:00+00:00 <p><a href="">Microservices</a> have received a lot of attention over the last few years. As an architectural style it delivers a lof of benefits compared to a <a href="">Monolit...
https://feeds.feedburner.com/lucagrulla
CC-MAIN-2018-51
en
refinedweb
Standard 2D-View provider. More... #include <CViewProviderGuiComp.h> Standard 2D-View provider. It allows setting of display calibration and supports i2d::ICalibrationProvider to get it. Definition at line 22 of file CViewProviderGuiComp.h. Definition at line 29 of file CViewProviderGuiComp.h. Definition at line 30 of ...
http://ilena.org/TechnicalDocs/Acf/classiqt2d_1_1_c_view_provider_gui_comp.html
CC-MAIN-2018-51
en
refinedweb
curl / libcurl / API / curl_easy_setopt / CURLOPT_MAXFILESIZE_LARGE CURLOPT_MAXFILESIZE_LARGE explained NAME CURLOPT_MAXFILESIZE_LARGE - maximum file size allowed to download SYNOPSIS #include <curl/curl.h> CURLcode curl_easy_setopt(CURL *handle, CURLOPT_MAXFILESIZE_LARGE, curl_off_t size); DESCRIPTION Pass a curl_off_...
https://curl.haxx.se/libcurl/c/CURLOPT_MAXFILESIZE_LARGE.html
CC-MAIN-2018-51
en
refinedweb
Laravel Enum Package Laravel Enum is a package by Ben Sampson that adds support for creating enums in PHP and includes a generator for Laravel. Here’s an example of what an Enum class looks like using this package: <?php namespace App\Enums; use BenSampo\Enum\Enum; final class UserType extends Enum { const Administrato...
https://laravel-news.com/laravel-enum-package
CC-MAIN-2019-13
en
refinedweb
–> Click the link to the right to download the associated configuration files for this lab article Introduction XML is widely used in software systems for persistent data, exchanging data between a web service and client, and in configuration files. A misconfigured XML parser can leave a critical flaw in an application...
https://resources.infosecinstitute.com/xml-vulnerabilities-still-attractive-targets-attackers/
CC-MAIN-2019-13
en
refinedweb
Scala Supertypes to Typeclasses After a few months of writing about Cats, it is great to take a small break. This pause isn’t to start anything new, but to build foundations for the upcoming posts. If you are looking to learn about those scary FP words, you will need to understand what is below. Chances are, if you are...
https://medium.com/@pvinchon/scala-generics-and-type-classes-3495bc059d1f
CC-MAIN-2019-13
en
refinedweb
2011-02-23 15:34:53 8 Comments I have logging function as follows. logging.basicConfig( filename = fileName, format = "%(levelname) -10s %(asctime)s %(message)s", level = logging.DEBUG ) def printinfo(string): if DEBUG: logging.info(string) def printerror(string): if DEBUG: logging.error(string) print string I need to ...
https://tutel.me/c/programming/questions/5093075/how+can+i+log+current+line+and+stack+info+with+python
CC-MAIN-2019-13
en
refinedweb
I apologize in advance if this is the wrong forum to be posing this question. I'd post to IBM's "developerWorks" forum, but it's currently in read-only mode until April 15, 2013. JBoss AS version: 7.1.1.Final Filenet Content Engine (CE) version: 5.1 fix pack 002 Environment: Microsoft Windows using Active Directory Ser...
https://developer.jboss.org/message/808083?tstart=0
CC-MAIN-2019-13
en
refinedweb
1 /* crypto/asn1/a_dup.c */ #include "cryptlib.h" 61 #include <openssl/asn1.h> 62 63 #ifndef NO_OLD_ASN1 64 65 void *ASN1_dup(i2d_of_void *i2d, d2i_of_void *d2i, void *x) 66 { 67 unsigned char *b, *p; 68 const unsigned char *p2; 69 int i; 70 char *ret; 71 72 if (x == NULL) 73 return (NULL); 74 75 i = i2d(x, NULL); 76 b...
https://fossies.org/linux/openssl/crypto/asn1/a_dup.c
CC-MAIN-2019-13
en
refinedweb
(For9 - 05 May 2018 21:04:58 GMT9 - 05 May 2018 21:04:58 GMT9 - 05 May 2018 21:04:58 GMT This is a listing of all documented functions in the PDL distribution. Alphabetical Listing of PDL Functions EOD $onldc = $PDL::onlinedoc; # new PDL::Doc ('/tmp/pdlhash.dbtxt'); $db = $onldc->ensuredb; while (my ($key,$val) = each ...
https://metacpan.org/search?q=dist%3APDL
CC-MAIN-2018-30
en
refinedweb
activating SHIELD after BOOST is not able to affect BOOST your X,Y values are not able neither to be the same like your opponent nor to even be in 400 units from him - u both have radius of 400, so your radiuses are summed up Can someone help me How can I calculate the nextCheckpointAngle in Gold league? Look up a trig...
http://forum.codingame.com/t/coders-strike-back-puzzle-discussion/1833?page=7
CC-MAIN-2018-30
en
refinedweb
The following help documentation for Flex 4 does not appear to be valid when running under AIR (Flex 4.1). Changes to these entries in the style sheet appear to have no effect. Is this a known issue, and/or is there a workaround? I want all of the drag cursors to be mapped to the standard arrow cursor, and want to hand...
https://forums.adobe.com/thread/754792
CC-MAIN-2018-30
en
refinedweb
The day is 09.11.2015 and for all intents and purposes, it seems to be a fairly routine and run of the mill day. But on this inconspicuous day, was the release of SAP Netweaver 7.40 SPS 13. This SPS stack release comprises many new features to the BW platform and is considered a feature release. There has been posts de...
https://blogs.sap.com/2016/02/23/sap-bpc-embedded-consolidation/
CC-MAIN-2018-43
en
refinedweb
Pass onCurrentIndexChanged Event to an object in Page1 Hello everybody, as explain in "Custom Qlabel show Videocamera on different thread", I made a QtQuick Control application where a QThread is used for displaying camera frames, for not overloading the GUI thread. The application has two pages at the moment, and I pa...
https://forum.qt.io/topic/87039/pass-oncurrentindexchanged-event-to-an-object-in-page1
CC-MAIN-2018-43
en
refinedweb
Visual Basic is quite easy. It gets a lot of flack for being so easy. It makes learning the concepts of programming very simple. I used to be a programming trainer and used the BASIC language as the first stepping stone into the world of software development, and it has worked. It has worked for me, technically. Let me...
https://www.codeguru.com/vb/gen/vb_misc/algorithms/visual-basic-basics-modules-scope-and-accessibility-modifiers.html
CC-MAIN-2018-43
en
refinedweb
Portal Federation with WebLogic Portal WRSP: Advanced IPC Techniques Abstracting WSRP IPC Session Management For a small project, having the listener manage the session object directly is both an adequate and acceptable solution. In the case of larger projects (where there will be more developers and/or more IPC over W...
https://www.developer.com/lang/article.php/10924_3749366_2/Portal-Federation-with-WebLogic-Portal-WRSP-Advanced-IPC-Techniques.htm
CC-MAIN-2018-43
en
refinedweb
Can anyone help me. I have been bangin my head on this one for two days. variable number may not have been initialized. code to enter single digit number and return largest of ten. code is as follows. // Java packages import javax.swing.JOptionPane; public class Counter { // main method begins execution of Java applica...
https://www.daniweb.com/programming/software-development/threads/13376/error-variable-might-not-have-been-initialized
CC-MAIN-2018-43
en
refinedweb
Visual Studio 2015 Preview was recently released along with .NET 4.6 and contains many new and exciting features like support for cross platform development in C++, an open-source .NET compiler platform, Cordova Tooling, ASP.NET 5, IDE enhancements for Web development and much more. You can download Visual Studio 2015...
https://www.dotnetcurry.com/visualstudio/1059/debugging-visual-studio-2015
CC-MAIN-2018-43
en
refinedweb
Create entity placeholder objects in a HAM #include <ha/ham.h> ham_entity_t *ham_entity( const char *ename, int nd, unsigned flags); ham_entity_t *ham_entity_node( const char *ename, const char *nodename, unsigned flags); libham These functions are used to create placeholders for entity objects in a HAM. The ham_entity...
http://www.qnx.com/developers/docs/6.6.0_anm11_wf10/com.qnx.doc.ham/topic/hamapi/ham_entity.html
CC-MAIN-2018-43
en
refinedweb
DataBinding Databinding for the RadDataBar control involves the correlation between the business logic/data, and the visualization of the control. The DataBinding involves the following three properties: ItemsSource (a property of RadStackedDataBar and RadStacked100Databar): Gets or sets the data source used to generat...
https://docs.telerik.com/devtools/silverlight/controls/raddatabar/databinding
CC-MAIN-2018-43
en
refinedweb
ISSN 2203-5249 RESEARCH PAPER SERIES, 2017-18 23 MAY 2018 Budget Review 2018-19 Research Branch Contents The Budget as a whole Overview ...................................................................................................................... 3 Education School education and early learning ....................
https://parlinfo.aph.gov.au/parlInfo/search/display/display.w3p;query=Id:%22library/prspub/5982057%22;src1=sm1
CC-MAIN-2018-43
en
refinedweb
An Attribute directive changes the appearance or behavior of a DOM element. Try the . There are three kinds of directives in Angular: Components are the most common of the three directives. You saw a component for the first time in the QuickStart guide. Structural Directives change the structure of the view. Two exampl...
http://docs.w3cub.com/angular/guide/attribute-directives/
CC-MAIN-2018-43
en
refinedweb
Composing Futures with Akka Composing Futures with Akka Join the DZone community and get the full member experience.Join For Free How do you break a Monolith into Microservices at Scale? This ebook shows strategies and techniques for building scalable and resilient microservices. Composing Futures provides a way to do ...
https://dzone.com/articles/composing-futures-akka
CC-MAIN-2018-43
en
refinedweb
Nested Property Index Overview An index can be defined on a nested property to improve performance of nested queries - this is highly recommended. Nested properties indexing uses an additional [SpaceIndex] attribute - Path. The SpaceIndex.Path Attribute The Path attribute represents the path of the property within the ...
https://docs.gigaspaces.com/xap/11.0/dev-dotnet/indexing-nested-properties.html
CC-MAIN-2019-30
en
refinedweb
How to make Launch Screen only portrait not support other orientations I need set launch screen only portrait but in other view controller that can support all orientation.Firstly, I try this method: IOS 8 iPad make only Launch Screen portrait only but it can't make other view controllers that support all orientations....
http://quabr.com/56659750/how-to-make-launch-screen-only-portrait-not-support-other-orientations
CC-MAIN-2019-30
en
refinedweb
Is there a script to delete all children of an object? Need this fast…thanks Is there a script to delete all children of an object? Need this fast…thanks import bge cont=bge.logic.getCurrentController() own=cont.owner() if object.children!=None: for objects in children: objects.endObject() import bge cont=bge.logic.get...
https://blenderartists.org/t/delete-children/614577
CC-MAIN-2019-30
en
refinedweb
ThemeManager ThemeManager is a most lightweight, powerful, convenient and easiest way to manage your app themes, and also support change text(e.g. language) or other configurations dynamically too. Installing ThemeManager ThemeManager supports CocoaPods and Carthage. ThemeManager is written in Swift. Github Repo You ca...
https://swiftpack.co/package/azone/ThemeManager
CC-MAIN-2019-30
en
refinedweb
#include <termios.h> int tcgetattr(int fildes, struct termios *termios_p); int tcsetattr(int fildes, int optional_actions, const struct termios *termios_p); int tcsendbreak(int fildes, int duration); int tcdrain(int fildes); int tcflush(int fildes, int queue_selector); int tcflow(int fildes, int action); speed_t cfgeto...
http://osr507doc.xinuos.com/en/man/html.S/termios.S.html
CC-MAIN-2019-30
en
refinedweb
#include <CGAL/Filtered_predicate.h> Filtered_predicate is an adaptor for predicate function objects that allows one to produce efficient and exact predicates. It is used to build CGAL::Filtered_kernel<CK> and can be used for other predicates too. EP is the exact but supposedly slow predicate that is able to evaluate t...
https://doc.cgal.org/4.7/Kernel_23/classCGAL_1_1Filtered__predicate.html
CC-MAIN-2019-30
en
refinedweb
import "github.com/sqp/godock/services/NetActivity" Package NetActivity is a monitoring, upload and download applet for Cairo-Dock. Improvements since original DropToShare version: Not using temp files. Many new upload sites. Code simple and maintainable (400 lines for 18 backends). Dependencies: xsel or xclip command ...
https://godoc.org/github.com/sqp/godock/services/NetActivity
CC-MAIN-2019-30
en
refinedweb
import "k8s.io/kubernetes/pkg/kubectl/explain" explain.go field_lookup.go fields_printer.go fields_printer_builder.go formatter.go model_printer.go recursive_fields_printer.go typename.go GetTypeName returns the type of a schema. LookupSchemaForField looks for the schema of a given path in a base schema. func PrintMode...
https://godoc.org/k8s.io/kubernetes/pkg/kubectl/explain
CC-MAIN-2019-30
en
refinedweb
public class ArgumentCaptor<T> extends Object Mockito verifies argument values in natural java style: by using an equals() method. This is also the recommended way of matching arguments because it makes tests clean & simple. In some situations though, it is helpful to assert on certain arguments after the actual verifi...
https://static.javadoc.io/org.mockito/mockito-core/3.0.0/org/mockito/ArgumentCaptor.html
CC-MAIN-2019-30
en
refinedweb
Bug#621851: [Pkg-utopia-maintainers] Bug#621851: network-manager: seems to trouble braille display Am 12.04.2011 15:42, schrieb Michael Biebl: forwarded 621851 thanks Am 12.04.2011 15:11, schrieb Sébastien Hinderer: I'm resending this because I'm not sure whether it reached somebody or not... It did. I've forwarded you...
https://www.mail-archive.com/search?l=debian-bugs-dist%40lists.debian.org&q=date:20110413&o=newest
CC-MAIN-2019-30
en
refinedweb
#include <sys/ddi.h> #include <sys/sunddi.h> int ddi_dma_addr_setup(dev_info_t *dip, struct as *as, caddr_t addr, size_t len, uint_t flags, int (*waitfp) (caddr_t), caddr_t arg, ddi_dma_lim_t * lim, ddi_dma_handle_t *handlep); This interface is obsolete. ddi_dma_addr_bind_handle(9F) should be used instead. A pointer to...
https://docs.oracle.com/cd/E36784_01/html/E36886/ddi-dma-addr-setup-9f.html
CC-MAIN-2019-30
en
refinedweb
URL: <> Summary: KBHIT(1) should return immediately. It takes 8+ hours instead: Project: GNU Octave Submitted by: deego Submitted on: Sat 08 Dec 2018 03:27:20 AM UTC Category: Octave Function Severity: 3 - Normal Priority: 5 - Normal Item Group: Unexpected Error Status: None Assigned to: None Originator Name: deego Ori...
https://lists.gnu.org/archive/html/octave-bug-tracker/2018-12/msg00117.html
CC-MAIN-2019-30
en
refinedweb
How to deploy NFT tokens on TomoChain Create your unique ERC721 tokens (ie: CryptoKitties) on TomoChain! This article will explain: - What is a Non-Fungible Token (NFT) - Use-cases of NFT - How-to step-by-step deploy a NFT token on TomoChain What is a Non-Fungible Token (NFT)? Fungible tokens are all equal and intercha...
https://medium.com/tomochain/how-to-deploy-nft-tokens-on-tomochain-fe476a68594d?source=collection_home---4------2-----------------------
CC-MAIN-2019-30
en
refinedweb
Switching Angular Services at Runtime A while ago I've already written a blogpost on how to inject a different Angular service implementation based on a runtime value. With that approach, the selected service was initialized at startup and remained the same for the entire application lifetime. In response to that blogp...
http://www.damirscorner.com/blog/posts/20190510-SwitchingAngularServicesAtRuntime.html
CC-MAIN-2019-30
en
refinedweb
Computational Methods in Bayesian Analysis in Python Monte Carlo simulations, Markov chains, Gibbs sampling illustrated in Plotly About the author: This notebook was forked from this project. The original author is Chris Fonnesbeck, Assistant Professor of Biostatistics. You can follow Chris on Twitter @fonnesbeck. Intr...
https://plot.ly/ipython-notebooks/computational-bayesian-analysis/
CC-MAIN-2018-05
en
refinedweb
Hello! I have a question in regards to malloc/calloc and free in C. What I'm unsure about is the "depth" (for lack of a better word) that free operates to. I know that sounds strange so let this example hopefully explain what I mean: #include <stdlib.h> int main () { int length = 10; char **list = (char **) malloc(size...
https://www.daniweb.com/programming/software-development/threads/248945/the-extent-of-free-on-malloc-calloc
CC-MAIN-2018-05
en
refinedweb
This notebook demonstrates how to do a simple differential expression analysis on a gene expression dataset. We use false discovery rates to provide interpretable results when conducting an analysis that involves large scale multiple hypothesis testing. The data set we analyze here contains measurements of the expressi...
http://nbviewer.jupyter.org/urls/umich.box.com/shared/static/7kh8amlez7bx3qlqa6aa.ipynb
CC-MAIN-2018-05
en
refinedweb
View Complete Post Hello everyone, sorry if the following appears like a total newbie question, but I'm taking my first college course using MS SQL Server & SSIS, so please bear with me :) I'm currently working on an assignment and face a couple (maybe mundane) problems: This month we look at tools for enhancing the LI...
http://www.dotnetspark.com/links/40251-removing-tabs-etc-from-derived-col-transform.aspx
CC-MAIN-2018-05
en
refinedweb
I have a complex data structure that I'm trying to process. Explanation of the data structure: I have a dictionary of classes. The key is a name. The value is a class reference. The class contains two lists of dictionaries. Here's a simple example of my data structure: import scipy.stats class employee_salaries(object)...
http://www.howtobuildsoftware.com/index.php/how-do/bOx/python-list-dictionary-recursion-python-runtimeerror-maximum-recursion-depth-exceeded-in-cmp
CC-MAIN-2018-05
en
refinedweb
This document contains the C++ core language issues for which the Committee (J16 + WG21) has decided that no action is required, that is, issues with status "NAD" ("Not A Defect"), "dup" (duplicate), "concepts,"4606.. Bullet 13.3 of _N4567_. According to 1.10 [intro.multithread] paragraph 24,] Some programmers find thi...
http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_closed.html
CC-MAIN-2018-05
en
refinedweb
std::reverse not supported? Hi all, I'm new to c++ and Qt. I am, and have been a C# VS dev since, well, before it was released and was a Java guy before that. Now that you know who I am, here's my issue I'm having: I have a solution that was developed in VS. Within that solution is a vectorUtil.h file. In that file is ...
https://forum.qt.io/topic/82801/std-reverse-not-supported
CC-MAIN-2018-05
en
refinedweb
Hi Benji > Betreff: Re: AW: [Zope3-dev] Why do we restrict our egg testing? Advertising [...] > Second, why would you include all of the zope.* eggs if that > particular package doesn't depend on them? That's the point which I don't understand that nobody is seeing: Not my egg depends on other packages. Other package d...
https://www.mail-archive.com/zope3-dev@zope.org/msg09679.html
CC-MAIN-2018-05
en
refinedweb
Now, let's say you have to do some analysis on layers inside the group layers, you can loop the layers as follows: import arcpy mxdPath = r"c:\temp\mapDoc.mxd" mxd = arcpy.mapping.MapDocument(mxdPath) layers = arcpy.mapping.ListLayers() for layer in layers: if layer.isGroupLayer: for subLayer in layer: print "This laye...
https://anothergisblog.blogspot.com/2011/07/arcpy-looking-inside-group-layers.html
CC-MAIN-2018-05
en
refinedweb
Problem I want to implement an algorithm from an unpublished paper by my supervisor and as part of that, I need to construct a covariance matrix C using some rules given in the paper. I'm coming from Matlab and wanted to take this opportunity to finally learn Python, hence my question: How do I do this in the most effi...
https://codedump.io/share/H7DVoTauFMDb/1/building-a-covariance-matrix-in-python
CC-MAIN-2018-05
en
refinedweb
General Transform General Transform General Transform Class Definition Provides generalized transformation support for objects. GeneralTransform is a base class that's in the hierarchy of practical transform classes such as TranslateTransform. public : class GeneralTransform : DependencyObject, IGeneralTransform, IGene...
https://docs.microsoft.com/en-us/uwp/api/Windows.UI.Xaml.Media.GeneralTransform
CC-MAIN-2018-05
en
refinedweb
Each record in the Medicare payment database summarizes a single type of service provided by a single provider. Each provider belongs to a "provider type" category. There are around 2700 different service types and around 80 different provider types. A provider of a given type can engage in various services. In this no...
http://nbviewer.jupyter.org/urls/umich.box.com/shared/static/xhqqcz70rwcorbz4mgqtay6x7qwycpv5.ipynb
CC-MAIN-2018-05
en
refinedweb
As a developer, think of a 'with' statement as a try/finally pattern def opening(filename): f = open(filename) try: yield f finally: f.close() This can now be viewed as: with f = opening(filename): #...read data from f... This makes writing code easier to understand, and you don't have to always remember to delete the ...
https://anothergisblog.blogspot.com/2011/06/advanced-extending-search-cursor-object.html
CC-MAIN-2018-05
en
refinedweb
In this article I share some source code for a Java class that reads and writes to a remote socket. I’m not going to describe this much today, but I put the source code for this Java together from a number of other sources on the internet. In short, it uses a Java Socket to connect to a port on a remote server, sends a...
http://alvinalexander.com/blog/post/java/java-class-writes-reads-remote-socket
CC-MAIN-2017-17
en
refinedweb
Shuttleworth Says Snappy Won't Replace .deb Linux Package Files In Ubuntu 15.10 232 darthcamaro writes: Mark Shuttleworth, BDFL of Ubuntu is clearing the air about how Ubuntu will make use of .deb packages even in an era where it is moving to its own Snappy ('snaps') format of rapid updates. Fundamentally it's a chicke...
https://news.slashdot.org/story/15/09/06/196249/shuttleworth-says-snappy-wont-replace-deb-linux-package-files-in-ubuntu-1510
CC-MAIN-2017-17
en
refinedweb
JavaScript Testing: Unit vs Functional vs Integration TestsBy Eric Elliott More from this author. Here are some simple unit test examples from real projects using Tape: // Ensure that the initial state of the "hello" reducer gets set correctly import test from 'tape'; import hello from 'store/reducers/hello'; test('......
https://www.sitepoint.com/javascript-testing-unit-functional-integration/?utm_source=javascriptweekly&utm_medium=email
CC-MAIN-2017-17
en
refinedweb
On Sun, Sep 27, 2009 at 07:39:04PM +0100, Russell King - ARM Linux wrote:> On Sun, Sep 27, 2009 at 08:27:07PM +0200, Sam Ravnborg wrote:> > On Sun, Sep 27, 2009 at 05:41:16PM +0100, Russell King - ARM Linux wrote:> > > Sam,> > > > > > Any idea how to solve this:> > > > > > WARNING: arch/arm/kernel/built-in.o(.text+0x1e...
http://lkml.org/lkml/2009/9/27/142
CC-MAIN-2017-17
en
refinedweb
This forum Forum: help Monitor Forum | Start New Thread Nested Flat Threaded Ultimate Show 25 Show 50 Show 75 Show 100 SSL, DataTables, and bytea transfers [ reply ] By: Dan Sherwin on 2008-01-15 02:38 [forum:1003022] Im utilizing Npgsql 1.0.0, and I have a simple table with 3 cols. 2 text fields, and one bytea. When I...
http://pgfoundry.org/forum/forum.php?max_rows=50&style=nested&offset=2533&forum_id=519
CC-MAIN-2017-17
en
refinedweb
#include <configfile.h> List of all members. This class is used to load settings from a configuration text file. Ths file is dividing into sections, with section having a set of key/value fields. Example file format is as follows: # This is a comment section_name ( key1 0 key2 "foo" key3 ["foo" "bar"] ) Standard constr...
http://playerstage.sourceforge.net/doc/Player-1.6.5/player-html/classConfigFile.php
CC-MAIN-2017-17
en
refinedweb
If you are a Haskell convert from Lisp, JavaScript or any other dynamic programming language, you might miss eval function of those languages. eval lets us load code dynamically and execute it on the fly. It is commonly used to provide user-defined plugins and is a very handy tool for software extension. Dynamic evalua...
http://kseo.github.io/posts/2017-01-19-fun-with-hint.html
CC-MAIN-2017-17
en
refinedweb
Edit Article wikiHow to Turn Your Ec2 Based Windows Server Into a Dc Setting up a single virtual Windows machine on EC2 may be a trivial process, but setting it up as a real DC and connecting multiple virtual machines to it is another story. This how to provides the basis for setting up a proper DC on EC2. Steps - 1Lau...
http://www.wikihow.com/Turn-Your-Ec2-Based-Windows-Server-Into-a-Dc
CC-MAIN-2017-17
en
refinedweb
Use Dart 1.9 for native support for async/await/sync/async/yield.** A prototype (and in progress) implementation of async/await in Dart, via CPS translation. This transformer is useful for trying async/await with dart2js. The Dart VM natively supports async and await. If you are writing Dart code that runs only in the ...
https://chromium.googlesource.com/external/github.com/dart-lang/async_await/
CC-MAIN-2017-17
en
refinedweb
The python 3.3 documentation tells me that direct access to a property descriptor should be possible, although I'm skeptical of its syntax x.__get__(a) class MyDescriptor(object): """Descriptor""" def __get__(self, instance, owner): print "hello" return 42 class Owner(object): x = MyDescriptor() def do_direct_access(se...
https://codedump.io/share/oDcg0iRLYwfJ/1/descriptors-and-direct-access-python-reference
CC-MAIN-2017-43
en
refinedweb
I am trying to grab the version number from a string via python regex... Given filename: facter-1.6.2.tar.gz When, inside the loop: import re version = re.split('(.*\d\.\d\.\d)',sfile) print version Two logical problems: 1) Since you want only the 1.6.2 portion, you don't want to capture the .* part before the first \d...
https://codedump.io/share/smOx3jwPCIlh/1/python-regex-recompile-match-string
CC-MAIN-2017-43
en
refinedweb
Urho3D::JSONValue Class Reference Public Member Functions | Static Public Member Functions | Static Public Attributes | Private Attributes | List of all members Urho3D::JSONValue Class Reference JSON value class. More... #include <Urho3D/Resource/JSONValue.h> Collaboration diagram for Urho3D::JSONValue: Detailed Descri...
https://urho3d.github.io/documentation/HEAD/class_urho3_d_1_1_j_s_o_n_value.html
CC-MAIN-2017-43
en
refinedweb
Django (1.5) Modelform is supposed to handle many-to-many fields. In my case, I was editing the Django User model with Django groups. Everything seemed to be working correctly. The correct group associations were automatically showing up in the many-to-many widget. The problem was the new associations were not being sa...
https://snakeycode.wordpress.com/2013/09/24/django-modelform-with-many-to-many/
CC-MAIN-2017-43
en
refinedweb
Vultr Driver Documentation¶ Vultr was built by the same team that created Choopa.com and GameServers.com, has tackled hosting solutions, delivering industry leading performance and reliability while building out one highly available worldwide network. Read more at: Instantiating the driver¶ from libcloud.dns.types impo...
https://libcloud.readthedocs.io/en/latest/dns/drivers/vultr.html
CC-MAIN-2017-43
en
refinedweb
I need to implement a DLL that will take the parameter passed (SessionNumber) and add it to a web address, and then launch the default browser using that address. I'm having problems getting it to work correctly. Currently, I have: namespace WebsiteLaunch { public class LaunchSite { public LaunchSite(ref string Session...
https://www.daniweb.com/programming/software-development/threads/341230/dll-to-launch-website
CC-MAIN-2017-43
en
refinedweb
Traceback --- error seen when trying to capture and store image using shutil Hi I have used the below code to capture and store an Image img = Screen( import shutil shutil. import os.path shutil. And this is the error i get TypeError ( coercing to Unicode: need string, org.sikuli. [error] --- Traceback --- error source...
https://answers.launchpad.net/sikuli/+question/655742
CC-MAIN-2017-43
en
refinedweb
. So, the patch has to look like what is below. I've decided to use the internal set/clear API, because itallow to ignore the default state of control line (all the troubleswith TIOCM_OUT2/TIOCM_OUT1 on various platforms), so it's definitely awin. I'm not too sure about locking. I guess the spinlock inuart_update_mctrl...
http://lkml.org/lkml/2003/4/8/132
CC-MAIN-2017-43
en
refinedweb
[ ] Andrew Purtell commented on HBASE-2392: --------------------------------------- I think it's ok for 0.20.4. 3.3.0 only has an issue with nc. Does any HBase user monitor ZK with nc? I think it unlikely. The four letter stat commands work fine otherwise. > upgrade to ZooKeeper 3.3.0 > -------------------------- > > K...
http://mail-archives.apache.org/mod_mbox/hbase-issues/201004.mbox/%3C1571960859.751271989110869.JavaMail.jira@brutus.apache.org%3E
CC-MAIN-2017-43
en
refinedweb
- Author: - jedie - Posted: - August 14, 2008 - Language: - Python - Version: - .96 - forms filefield - Score: - 2 (after 6 ratings) A simple FileField with a addition file extension whitelist. Raised ValidationError("Not allowed filetype!") if a filename contains a extension witch is not in the whitelist. This will th...
https://djangosnippets.org/snippets/977/
CC-MAIN-2017-43
en
refinedweb
If you're using React, you've likely come across build tools such as Webpack, Grunt, or Gulp. These tools are very cool, but at the same time can act as a barrier to entry because of the configuration necessary to use them. There is an easier way to bundle and build our projects: Parcel.js. I'm going to show you how to...
https://dev.to/iam_timsmith/parceljs-who-says-bundling-needs-to-be-difficult-4ocm
CC-MAIN-2018-51
en
refinedweb
My previous post, Sequelize CRUD 101, covered the very basics of CRUD using the Node ORM, Sequelize. This post will cover two intermediate sets of concepts: - Querying multiple columns using a query object. - Creating, updating and deleting multiple records. You'll benefit from having an SQL database running locally (p...
https://lorenstewart.me/2016/10/16/sequelize-crud-102/
CC-MAIN-2018-51
en
refinedweb
~/.emacs to set it: ;; set default line wrap len: (setq default-fill-column 120) ~/.emacs to activate): ;; NRT indentation style for C++ and such (defun my-c-mode-common-hook () (local-set-key "\C-h" 'backward-delete-char) ;; this will make sure spaces are used instead of tabs (setq tab-width 4 indent-tabs-mode nil) (s...
http://nrtkit.net/documentation/pm_ProgrammingGuidelines.html
CC-MAIN-2018-51
en
refinedweb
Can anyone verify that in SA 11.0.1 running on W2K8 x64 can make external function call to .Net C# dll? I am getting object reference error on the call into the dll. Dll has simple static function to return 1. Dll was compiled using csc /t:library /out:my.dll /platform:x64 The setup I have works if using SA 11.0.1 on W...
https://sqlanywhere-forum.sap.com/questions/5648/w2k8-x64-and-external-clr-function-calls
CC-MAIN-2018-51
en
refinedweb
Ok, I'm gonna explain this as best I can. I am trying to make an if/else statement in python that basically informs the user if they put in the right age based on raw input, but I keep getting an error in terms of my if statement. Can I get some help? from datetime import datetime now = datetime.now() print '%s/%s/%s %...
http://www.howtobuildsoftware.com/index.php/how-do/bFg/python-if-statement-if-else-problems-in-python
CC-MAIN-2018-51
en
refinedweb
Derek Richardson wrote: I believe that that will not guarantee a *universally* unique id, but only an id unique within that ZODB. Am I wrong?The RFC prescribes a specific algorithm for generating universally unique IDs.The RFC prescribes a specific algorithm for generating universally unique IDs. Of course, they are on...
https://www.mail-archive.com/zope3-users@zope.org/msg05553.html
CC-MAIN-2018-51
en
refinedweb
Overview Atlassian Sourcetree is a free Git and Mercurial client for Windows. Atlassian Sourcetree is a free Git and Mercurial client for Mac. REWORK This is a python task scheduling and execution tool, which needs only python and Postgres to work (using sqlalchemy). Principles. Basic usage Setting up a database You ne...
https://bitbucket.org/pythonian/rework/
CC-MAIN-2018-51
en
refinedweb
I have a shortcut I am going to be deploying to all of our end user workstations. It is currently configured to open an IE window in a maximized screen (using the shortcut properties) and open a specific URL. This particular web application is very sensitive to screen resolution. If IE opens in a non-maximized screen i...
https://community.spiceworks.com/topic/501886-can-i-force-ie-into-a-friendly-kiosk-mode
CC-MAIN-2018-51
en
refinedweb
Hi, I recently developed a program which has source and header files in vc++! what I want to do is convert the same in C#. I got the idea of source files but how to import/use header files in C#(I want seperate file for class creation/ data initialization like header files)? help me! - 3 Contributors - forum4 Replies -...
https://www.daniweb.com/programming/software-development/threads/412965/how-to-use-header-h-files-in-c
CC-MAIN-2018-51
en
refinedweb
Defining an Enum Let’s look at a situation we might want to express in code and see why enums are useful and more appropriate than structs in this case. Say we need to work with IP addresses. Currently, two major standards are used for IP addresses: version four and version six. These are the only possibilities for an ...
https://doc.rust-lang.org/book/ch06-01-defining-an-enum.html
CC-MAIN-2018-51
en
refinedweb
Thanks Andrew. As very correctly suggested by you i already have the code in backing bean to clear the backing bean properties. But the problem is when i move back and forth (i.e. navigate) from Current page to Other pages and come back to Current page, i want the backing bean associated with the current page to be re-...
http://mail-archives.apache.org/mod_mbox/myfaces-users/200706.mbox/%3C11113434.post@talk.nabble.com%3E
CC-MAIN-2018-51
en
refinedweb