text
stringlengths
20
1.01M
url
stringlengths
14
1.25k
dump
stringlengths
9
15
lang
stringclasses
4 values
source
stringclasses
4 values
Basic Toggle Control For Basic PRO Compiler @ device PIC16F877 define osc 4 define adc_bits 8 main: trisb =$00 trisa =$ff adcon1 = 7 lamp var portb.0 sw1 var porta.0 lamp=0 while(1) if(!sw1) then pause 10 toggle lamp while(!sw1):wend endif pause 10 wend end ...Read more › Basic input-output For Basic PRO Compiler defin...
http://pic-microcontroller.com/tutorials/page/5/
CC-MAIN-2017-51
en
refinedweb
. December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.(java.lang.Object, int, java.lang.Object, int, int) It is not a classwork but a skill evaluation question which I did not do very well. So I would like to see differe...
https://www.experts-exchange.com/questions/20949711/how-to-implement-an-expandable-array.html
CC-MAIN-2017-51
en
refinedweb
. Then each class needs a constructor named as fit it there won’t be collision in the global namespace. RAII_CTOR macro is used to invoke an object constructor. The real work is done by the RAII_CTOR_WITH_LINE, that these don’t fit my macro requirements. Don’t worry, it is quite straightforward to hammer malloc/free an...
http://www.maxpagani.org/2010/03/
CC-MAIN-2017-51
en
refinedweb
I am facing the task of making a dynamical spreadsheet in Java that has a grid of cells and does operations between between them. I have to "put" all my cells in some kind of container and get an integer index for every cell. I could only think about an array into an array or maybe a JTable. I have to remind that later...
https://codedump.io/share/L7aI2JNYqw1m/1/dynamical-java-spreadsheettable
CC-MAIN-2017-51
en
refinedweb
I've been trying to fix this error for a while now, I could really use some help. C:\Users\Clayton\Documents\CH4P11.CPP(71) : error C2676: binary '>>' : 'class std::basic_ostream<char,struct std::char_traits<char> >' does not define this operator or a conversion to a type acceptable to the predefined operator code: #in...
https://www.daniweb.com/programming/software-development/threads/258232/error-c2676
CC-MAIN-2017-51
en
refinedweb
Visual C# IntelliSense Visual C# IntelliSense is available when coding in the editor, and while debugging in the Immediate Mode command window. Completion lists The IntelliSense completion lists in Visual C# contain tokens from List Members, Complete Word, and more. It provides quick access to: Members of a type or nam...
https://docs.microsoft.com/en-us/visualstudio/ide/visual-csharp-intellisense
CC-MAIN-2017-51
en
refinedweb
Free for PREMIUM members Submit Learn how to a build a cloud-first strategyRegister Now We value your feedback. Take our survey and automatically be enter to win anyone of the following: Yeti Cooler, Amazon eGift Card, and Movie eGift Card! public class serverz extends Frame implements Runnable You can then create a th...
https://www.experts-exchange.com/questions/20807618/extend-thread-and-frame.html
CC-MAIN-2017-51
en
refinedweb
sbt server reboot. inside the sbt shell Before we talk about the server, I want to take a quick detour. When I think of sbt, I mostly think of it in terms of task dependency graph and its parallel-processing engine. There's actually a sequential loop above that layer, that processes a command stored in State as a Seq[S...
http://eed3si9n.com/sbt-server-reboot
CC-MAIN-2017-51
en
refinedweb
There are many ways to start Gazebo, open world models and spawn robot models into the simulated environment. In this tutorial we cover the ROS-way of doing things: using rosrun and roslaunch. This includes storing your URDF files in ROS packages and keeping your various resource paths relative to your ROS workspace. r...
http://gazebosim.org/tutorials/?tut=ros_roslaunch
CC-MAIN-2017-51
en
refinedweb
Aspect-oriented programming (AOP) and the .NET Framework The article explores the details of utilizing the intrinsic features of the .NET Framework to implement an aspect-oriented programming model. There has been a lot of talk about Aspect Oriented Programming (AOP) and how this new programming paradigm revolutionize ...
http://searchwindevelopment.techtarget.com/tip/Aspect-oriented-programming-AOP-and-the-NET-Framework
CC-MAIN-2017-51
en
refinedweb
Posted 30 Mar 2015 Link to this post Posted 02 Apr 2015 Link to this post See What's Next in App Development. Register for TelerikNEXT. Posted 02 Jul 2015 Link to this post Hi, I am experiencing the same problem. Here is how I have defined my RadAsyncUpload <telerik:RadAsyncUpload <telerik:RadButton But it's failing fo...
http://www.telerik.com/forums/allowedfileextensions-case-insensitive
CC-MAIN-2017-13
en
refinedweb
I'd like to use Python and appscript to set a given Google tab as the foremost tab. I can acquire the tab thusly: from appscript import * chrome = app('Google Chrome') tab_title = 'New York Times' win_tabs = [] for win in chrome.windows.get(): win_tabs.append([]) tnames = map(lambda x: x.title(), win.tabs()) rel_t = [t...
https://codedump.io/share/5Xj48RdCWMTo/1/set-active-tab-in-chrome-and-bring-it-to-the-front
CC-MAIN-2017-13
en
refinedweb
Medgen-prime is a public fork of Invitae’s “medgen”, a toolkit and API into medgen-mysql. Medgen-prime improves upon medgen in the following main ways: * prevention of SQL-injection attacks * more fine-grained control over GeneDB * enhanced test framework Medgen-prime has been extensively tested in production enviromen...
https://pypi.org/project/medgen-prime/
CC-MAIN-2017-13
en
refinedweb
The new ASP.net Identity project has brought some useful code and interfaces for website security. To implement a custom system using the interfaces (instead of using the standard Entity Framework implementation included in the MVC 5 template) an IPasswordHasher IPasswordHasher namespace Microsoft.AspNet.Identity { pub...
https://codedump.io/share/ebmmwGxArGOk/1/aspnet-identity-password-hashing
CC-MAIN-2017-13
en
refinedweb
/* * Form.io.BufferedWriter; import java.io.Writer; /** * The <code>Formatter</code> object is used to format output as XML * indented with a configurable indent level. This is used to write * start and end tags, as well as attributes and values to the given * writer. The output is written directly to the stream with a...
http://simple.sourceforge.net/download/stream/report/cobertura/org.simpleframework.xml.stream.Formatter.html
CC-MAIN-2017-13
en
refinedweb
GameFromScratch.com This is part 3, the following are links for part one and part two in this series. Alright, we've installed the tools, got an editor up and going and now how to run the generated code, both on our computers and on device ( well… Android anyways… I don't currently have an iOS developer license from Ap...
http://www.gamefromscratch.com/post/2013/03/12/A-closer-look-at-the-Loom-game-engine-Part-Three-Hello-World%E2%80%A6-and-a-bit-more.aspx
CC-MAIN-2017-13
en
refinedweb
tag:blogger.com,1999:blog-45623293669432757832014-10-07T01:07:37.307+01:00Chronological ThoughtA collection of notes and musings on technical issues by David SavageDavid Savage & The Cloud (Part 2)This is the second blog entry in a series documenting the underlying points I made in my recent talk at the <a href="">OSGi...
http://feeds.feedburner.com/ChronologicalThought
CC-MAIN-2017-13
en
refinedweb
source: A weakness has been reported in Java implementations that may constitute unauthorized access by Java applets to floppy devices. This weakness appears to present a flaw in the Java security model. This issue was reported in Java Plug-in 1.4.x versions on Microsoft Windows operating systems, when run with Interne...
https://www.exploit-db.com/exploits/23270/
CC-MAIN-2017-39
en
refinedweb
Curiosity. Worker Role Requirements A standard C# worker roles requires three functions: OnStart, OnStop, and Run: public class PyWorkerRole : RoleEntryPoint { public override bool OnStart() { /* ... */ } public override void OnStop() { /* ... */ } public override void Run() { /* ... */ } } This can be mapped to a Pyth...
http://blog.jdhardy.ca/2010/01/ironpython-worker-roles-for-windows.html
CC-MAIN-2017-39
en
refinedweb
A Swift iOS 8 iOS application based on the Single View Application template. Enter CollectionDemo as the product name, choose Swift as the programming language and set the device menu to Universal. ViewController.swift file in the project navigator and pressing the keyboard delete key. When prompted, click the button t...
http://www.techotopia.com/index.php/A_Swift_iOS_8_Storyboard-based_Collection_View_Tutorial
CC-MAIN-2017-39
en
refinedweb
In python, how would I go about making a http request but not waiting for a response. I don't care about getting any data back, I just need to server to register a page request. Right now I use this code: urllib2.urlopen("COOL WEBSITE") What you want here is called Threading or Asynchronous. Threading: urllib2.urlopen(...
https://codedump.io/share/46C7XipFhwFz/1/python-amp-urllib2---request-webpage-but-don39t-wait-for-response
CC-MAIN-2017-39
en
refinedweb
I'm trying to use the News API in a python program, and for some reason I can't get a 200 response no matter what. I'm pretty unfamiliar with the requests library, so maybe I'm not doing something right, but here's what my code looks like: api = XXXXXXXXXX def get_json_response(apiKey, resource='google-news', sortBy='l...
https://codedump.io/share/9JrHiRef7Ap9/1/python-requests-for-newsapi-reponding-401-every-time
CC-MAIN-2017-39
en
refinedweb
SoComplexity.3coin3 man page SoComplexity —. Synopsis #include <Inventor/nodes/SoComplexity.h> Inherits SoNode. Public Types enum Type { OBJECT_SPACE = SoComplexityTypeElement::OBJECT_SPACE, SCREEN_SPACE = SoComplexityTypeElement::SCREEN_SPACE, BOUNDING_BOX = SoComplexityTypeElement::BOUNDING_BOX } Public Member Functi...
https://www.mankier.com/3/SoComplexity.3coin3
CC-MAIN-2017-39
en
refinedweb
Bummer! This is just a preview. You need to be signed in with a Basic account to view the entire video. Dependency Management8:44 with Chris Ramacciotti One of the main purposes of a build tool is dependency management. This video discusses how to add external libraries to your projects with Maven. - 0:00 A dependency ...
https://teamtreehouse.com/library/dependency-management
CC-MAIN-2017-39
en
refinedweb
Review this list to help avoid issues that frequently prevent apps from getting certified, or that might be identified during a spot check after the app is published. Note Be sure to review the Windows Store Policies to ensure your app meets all of the requirements listed there.. Ensure that your app doesn't crash with...
https://docs.microsoft.com/en-us/windows/uwp/publish/avoid-common-certification-failures
CC-MAIN-2017-39
en
refinedweb
0 Hello everyone.. Would anyone know why I can't do the below. I'm not the best programmer in the world so I'm wondering why the below won't work. I get an error 'A template declaration cannot appear in block scope' No doubt it's due to my lack of understanding of the topic. Thank you. #include <iostream> #include <cst...
https://www.daniweb.com/programming/software-development/threads/461923/templates-c
CC-MAIN-2017-39
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. Crouching Alchemist Hidden Panda (CALCHIPAN) What is it? A SQLAlchemy dialect which will consider a series of Pandas DataFrame objects as relational database tables, allowing th...
https://bitbucket.org/zzzeek/calchipan.git
CC-MAIN-2017-39
en
refinedweb
Symptom When trying to save a new Bank Account with Manage Bank Accounts there is the error: Activate function returned an entity which is still a draft instance - IsActiveEntity = false - The following problem occurred: HTTP request failed400,Bad Request,{"error":{"code":"SY/530","message":{"lang":"en","value":"An exc...
https://apps.support.sap.com/sap/support/knowledge/preview/en/2689860
CC-MAIN-2018-47
en
refinedweb
Ever needed to create an icon for your Windows Desktop project? Well, I did, and many times. Nowadays, we can find some nice Websites that provide easy ways to create a Windows Icon file from a PNG image. But, in the past, things were different. Some years ago, before the explosion of the mobile development world, find...
https://www.codeproject.com/Tips/1213799/Icon-Pro-Create-icons-for-Windows-Desktop
CC-MAIN-2018-47
en
refinedweb
Represents four segments that form a loop, and might be a tag. More... #include <Quad.h> Represents four segments that form a loop, and might be a tag. Definition at line 22 of file Quad.h. List of all members. Constructor. (x,y) are the optical center of the camera, which is needed to correctly compute the homography....
http://tekkotsu.org/dox/classAprilTags_1_1Quad.html
CC-MAIN-2018-47
en
refinedweb
Note: This method computes everything by hand, step by step. For most people, the new API for fuzzy systems will be preferable. The same problem is solved with the new API in this example. The ‘tipping problem’ is commonly used to illustrate the power of fuzzy logic principles to generate complex behavior from a compac...
https://pythonhosted.org/scikit-fuzzy/auto_examples/plot_tipping_problem.html
CC-MAIN-2018-47
en
refinedweb
Calculation of multinomial coefficients is often necessary in scientific and statistic computations. Look at this ball set: We could wonder how many different ways we can arrange these 10 balls in a row, regarding solely ball colors and not ball numbers. Thus, the following two arrangements would be considered equal an...
https://www.codeproject.com/Articles/695644/Multinomial-coefficients-with-overflow-control
CC-MAIN-2018-47
en
refinedweb
- Advertisement MatsenMember Content Count142 Joined Last visited Community Reputation132 Neutral About Matsen - RankMember Personal Information - InterestsDevOps Programming - Quote: The switch statement would still be needed upon construction of the array, but that would be it. I hope that makes more sense. Let me kn...
https://www.gamedev.net/profile/30845-matsen/?tab=node_profile_projects_ProjectUserProfile&page=1&sortby=project_rating_total&sortdirection=desc
CC-MAIN-2018-47
en
refinedweb
A Google revelation Quite a while ago I was intrigued with the ability of to provide text suggestions for search strings AS I WAS TYPING the string … When I traced this interaction, I noticed that on each keystroke the site was in the background firing an event which eventuated in a RESTful call to a server using AJAX....
https://blogs.sap.com/2011/04/07/deliver-dynamic-search-of-sap-data-into-a-website-using-restful-services/
CC-MAIN-2017-47
en
refinedweb
#include "ltwrappr.h" L_INT LAnnotation::SetRotateOptions(pRotateOptions, uFlags) Sets the rotation options for the annotation object. Use this function to set the rotate options of any annotation object, including the automation object. To use this function, declare a variable of type ANNROTATEOPTIONS, and pass the ad...
https://www.leadtools.com/help/leadtools/v19/main/clib/lannotation-setrotateoptions.html
CC-MAIN-2017-47
en
refinedweb
the internal representation of logging events. More... #include <log4c/defs.h> #include <log4c/buffer.h> #include <log4c/location_info.h> #include <sys/time.h> Go to the source code of this file. the internal representation of logging events. When a affirmative logging decision is made a log4c_logging_event instance is...
http://log4c.sourceforge.net/logging__event_8h.html
CC-MAIN-2017-47
en
refinedweb
0 Hi Everyone :-) I'm writing a small Python script that invokes the Linux shell and runs some BASH commands in it. My problem is, I can't seem to use the output and store it in a Python variable. Here's what i'm trying: import subprocess value = subprocess.call("ls -la", shell=True) print(variable) What happens is tha...
https://www.daniweb.com/programming/software-development/threads/281000/using-the-bash-output-in-python
CC-MAIN-2017-47
en
refinedweb
Hello, I'd like to know if it's possible to hide some content from user. My idea was to use something like the 'PermissionTag' for wiki pages. What I wish to have: I have restricted the permission to view content of my wiki to specific groups - since the NameSpace plugin doesn't come with great usability I use prefixes...
http://mail-archives.apache.org/mod_mbox/incubator-jspwiki-user/201207.mbox/%3C06080D44730F41428BAF2168FA8BDD80069D64CC@icsrv02.icongmbh.de%3E
CC-MAIN-2017-47
en
refinedweb
In my opinion regions are a bad idea (and this seems to be a fairly common opinion). Everyone has their own take on how members should be grouped. Someone else's logic is not the same as mine and therefore the benefit of grouping by an inconsistent means is flawed. A colleague also suggested grouping by logical program...
http://blog.rees.biz/2011/03/
CC-MAIN-2017-47
en
refinedweb
#include "request_properties.h" This class keeps track of the request properties of the client, which are for the most part learned from the UserAgent string and specific request headers that indicate what optimizations are supported; most properties are described in device_properties.h. It relies on DeviceProperties a...
https://www.modpagespeed.com/psol/classnet__instaweb_1_1RequestProperties.html
CC-MAIN-2017-47
en
refinedweb
PCAP_SETDIRECTION(3PCAP) PCAP_SETDIRECTION(3PCAP) pcap_setdirection - set the direction for which packets will be cap‐ tured #include <pcap/pcap.h> int pcap_setdirection(pcap_t *p, pcap_direction_t d); ``savefile'' is being read. pcap_setdirection() returns 0 on success and -1 on failure. If -1 is returned, pcap_geterr...
http://man7.org/linux/man-pages/man3/pcap_setdirection.3pcap.html
CC-MAIN-2017-47
en
refinedweb
DBMI Library (base) - strip strings. More... #include <grass/dbmi.h> Go to the source code of this file. DBMI Library (base) - strip strings. (C) 1999-2009, 2011 by the GRASS Development Team This program is free software under the GNU General Public License (>=v2). Read the file COPYING that comes with GRASS for detai...
http://grass.osgeo.org/programming7/strip_8c.html
CC-MAIN-2017-47
en
refinedweb
MooseX::Mangle - mangle the argument list or return values of your methods version 0.02 package Foo; use Moose; sub foo { "FOO" } sub bar { shift; join '-', @_ } package Foo::Sub; use Moose; use MooseX::Mangle; extends 'Foo'; mangle_return foo => sub { my $self = shift; my ($foo) = @_; return lc($foo) . 'BAR'; }; mangl...
http://search.cpan.org/dist/MooseX-Mangle/lib/MooseX/Mangle.pm
CC-MAIN-2017-30
en
refinedweb
The id of the author of a post receiving comments. The disqus.parent.* namespace is populated when an interaction is a reply to a comment. It contains details of the parent comment. Details of the comment itself are available in the disqus.* namespace. Note that if the post was created by an anonymous author the value ...
http://dev.datasift.com/docs/products/stream/features/sources/public-sources/disqus/disqus-parent-post-author-id
CC-MAIN-2017-30
en
refinedweb
Hi guys. I've been doing pretty good with my programming so its been awhile since my last post, but as the title suggests I am stuck on traversing my maze using recursion. I have a 2D array that is given a set value to represent my maze. My constructor creates a 2D array that is sized by given row and column values, an...
http://www.javaprogrammingforums.com/%20whats-wrong-my-code/24943-help-traversing-maze-recursively-printingthethread.html
CC-MAIN-2017-30
en
refinedweb
Memory Trainer in Python Introduction: Memory Trainer in Python This program starts of by creating a list of words. It then shuffles the list and asks you how many words you would like to get tested on and how many seconds you would like per word Then it checks your results and you get a score :) If anyone out there wa...
http://www.instructables.com/id/Memory-Trainer-in-Python/
CC-MAIN-2017-30
en
refinedweb
CV: QBvXdPmJxqpNVEha.0 Visual Studio 2015 RC fixed bugs and known issues This article lists the fixed bugs and known issues for the Microsoft Visual Studio 2015 Release Candidate (RC). detailsTo discover what is new in Visual Studio 2015 RC, see the Visual Studio RC release notes. Known issues Installation Before you i...
https://support.microsoft.com/en-us/help/3025133/visual-studio-2015-rc-fixed-bugs-and-known-issues
CC-MAIN-2017-30
en
refinedweb
A question that pops up for many DSP-ers working with IIR and FIR filters, I think, is how to look at a filter’s frequency and phase response. For many, maybe they’ve calculated filter coefficients with something like the biquad calculator on this site, or maybe they’ve used a MATLAB, Octave, Python (with the scipy lib...
http://www.earlevel.com/main/2016/12/01/evaluating-filter-frequency-response/
CC-MAIN-2017-30
en
refinedweb
I want to make this program that acts as a bank, how do I make sure the correct ID number must be entered with the correct pin and have it depending on the id you entered print hello then their name and prompt how much money they have in the bank. attempts = 0 store_id = [1057, 2736, 4659, 5691, 1234, 4321] store_name ...
https://codedump.io/share/h6U8YTCkwjRU/1/bank-atm-program-login
CC-MAIN-2017-30
en
refinedweb
Deploying Bokeh Apps ¶ import numpy as np import holoviews as hv hv.extension('bokeh') Purpose ¶ HoloViews is an incredible convenient way of working interactively and exploratively within a notebook or commandline context, however when you have implemented a polished interactive dashboard or some other complex interac...
http://holoviews.org/user_guide/Deploying_Bokeh_Apps.html
CC-MAIN-2017-30
en
refinedweb
AWS Partner Network (APN) Blog, I walk through best practices for architecting your AWS Marketplace SaaS Subscription across multiple AWS accounts. Let’s begin! Overview Calls to the SaaS Subscriptions APIs, ResolveCustomer and BatchMeterUsage, must be signed by credentials from your AWS Marketplace Seller account. Thi...
https://aws.amazon.com/it/blogs/apn/how-to-best-architect-your-aws-marketplace-saas-subscription-across-multiple-aws-accounts/
CC-MAIN-2017-51
en
refinedweb
New home! I am happy to announce that this project is becoming a part of something bigger and has a new home at. Intro This is a project to provide an Eclipse plugin for CoffeeScript, using Xtext. Development uses Xtext 2.1. It works as a regular Eclipse plugin (see Installation for details). Highlights include - synta...
https://bitbucket.org/adamschmideg/coffeescript-eclipse/src
CC-MAIN-2017-51
en
refinedweb
Patch against SWIG v2.0.2 This patch (against SWIG v2.0.2) is intended to address some small deficiencies in the Octave language module: 1) It's currently not possible to tell SWIG whether or not symbols should be loaded into the global namespace by default. In fact, it's not even possible to make the generated .oct mo...
https://sourceforge.net/p/swig/patches/262/
CC-MAIN-2017-51
en
refinedweb
Here is the code of extracting comments from the PDF file using the itext.This extracts the comments of each page one by one and print them on the console. /******************************************************************************/ package pdftest; import com.itextpdf.text.pdf.PdfArray; import com.itextpdf.text.pd...
http://vajahatalee.blogspot.com/2010/04/how-to-extract-comments-from-pdf-using.html
CC-MAIN-2017-51
en
refinedweb
xcb_ungrab_pointer man page xcb_ungrab_pointer — release the pointer Synopsis #include <xcb/xproto.h> Request function xcb_void_cookie_t xcb_ungrab_pointer(xcb_connection_t *conn, xcb_timestamp_t time); Request Arguments - conn The XCB connection to X11. - time Timestamp to avoid race conditions when running X over the...
https://www.mankier.com/3/xcb_ungrab_pointer
CC-MAIN-2017-51
en
refinedweb
If you have a map from something to large vectors, to insert into that map, you would first call value_type(). This would cause the large vector to be copied. When you call insert(), the large vector would be copied a second time. Here is a technique to get rid of one of the large vector copies: #include <iostream> #in...
http://cpptrivia.blogspot.com/2010/11/trick-to-reducing-copying-of-large.html
CC-MAIN-2017-51
en
refinedweb
Create a Moles TestLet's see some code for testing. Create a new C# Class project. Paste the following code in the Class1.cs file. This is the class and method we want to unit test. The method copies all files from SourceDirectory, to both DestinationDirectory and BackupDirectory. The method checks that each directory ...
http://thecurlybrace.blogspot.com/2011/05/how-to-mole-specific-type-instance.html
CC-MAIN-2017-51
en
refinedweb
allways get this warning, when i try to generate OTF of a font i am working on: [WARNING] [internal] Feature block seen before any language system statement. You should place languagesystem statements before any feature definition [/Users/andrejw/Library/Application Support/FontLab/Studio 5/Features/fontlab.fea 20] doe...
http://www.typophile.com/node/86114
CC-MAIN-2017-51
en
refinedweb
Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode. Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript). def fibo_print(a, b): i, j = 0, 1 while j < a: i, j = j, i+j while j <...
https://discuss.leetcode.com/topic/42558/given-the-integers-1-a-b-print-all-the-fibonacci-numbers-between-a-and-b-inclusive
CC-MAIN-2017-51
en
refinedweb
hey!I'm new to GUI programming and I'm using PySide (as 3ds Max and Maya use it). I'm having a little difficulty trying to get my head around connecting slots and signals. I can connect up single signals no problem but with more complicated signals, I start to struggle a little bit and the documentation (Signals and Sl...
http://tech-artists.org/t/pyside-connecting-multiple-signals-slots-help/9433
CC-MAIN-2017-51
en
refinedweb
I want to integrate flowjs or ng-flow to my Angular 2 application. I've installed the flowjs typings using npm install --save-dev @types/flowjs import { Flow } from 'flowjs'; /node_modules/@types/flowjs/index.d.ts' is not a module. I got this error before when creating my own modules and it was caused when there is not...
https://codedump.io/share/K8fvzE28k54j/1/using-flowjs-in-angular-2-typescript
CC-MAIN-2017-51
en
refinedweb
using VS 2005 and I don't know if the following method is valid for VS 2003. Try calling the Invalidate method of the control: dataGrid.Invalidate(); This method forces the control to redraw itself; But your suggestions don't work. I still have to click the grid to see the colored regions. So is there a way to simulat...
https://www.experts-exchange.com/questions/22753584/How-to-simulate-click-event-on-datagrid.html
CC-MAIN-2017-51
en
refinedweb
gdbbridge.py in native gdb fails I'm trying to use the qtcreator extensions in native gdb. According to this page I should be able to just add the appropriate commands to my .gdbinit and I should have the "pp" command available. I do get that command but it always fails. For example, which a break at line 128 in the be...
https://forum.qt.io/topic/81057/gdbbridge-py-in-native-gdb-fails
CC-MAIN-2017-51
en
refinedweb
Tell me what you think code-wise (not much of a designer as you might tell!) Feedback on Drum Machine Feedback on Drum Machine 0 ThamiMemel #2 very nice job i really loved the design it’s so smooth and lovely, i’m not that far yet in the curriculum so i can’t judge the code but common it’s working . You really don’t ne...
https://www.freecodecamp.org/forum/t/feedback-on-drum-machine/216647
CC-MAIN-2018-47
en
refinedweb
public class S3AccessControlList. An ACL is a list of grants. A grant consists of one grantee and one permission. ACLs only grant permissions; they do not deny them. For convenience, some commonly used Access Control Lists are defined in S3CannedACL. Note: Bucket and object ACLs are completely independent; an object do...
https://docs.aws.amazon.com/sdkfornet1/latest/apidocs/html/T_Amazon_S3_Model_S3AccessControlList.htm
CC-MAIN-2018-47
en
refinedweb
GIS Library - Comma string functions. More... #include <string.h> #include <grass/gis.h> Go to the source code of this file. GIS Library - Comma string functions. (C) 2001-2008 by the GRASS Development Team This program is free software under the GNU General Public License (>=v2). Read the file COPYING that comes with ...
https://grass.osgeo.org/programming6/commas_8c.html
CC-MAIN-2018-47
en
refinedweb
Python bindings for GNU Lightning JIT Project description Lyn provides Python bindings. The source code is on GitHub: Releases are uploaded to PyPI: “Lyn” is the Norwegian word for “lightning”. Warning This project is in early alpha! Many instructions have not been implemented yet, and tests are lacking for those that ...
https://pypi.org/project/lyn/
CC-MAIN-2018-47
en
refinedweb
I’ve been attempting to add a simple rjs ‘delete’ method to my project. However, no matter what I try, it simply doesn’t work. Even the easy, easy stuff seems broken. (Yes, <%= javascript_include_tag :defaults %> is being included in the template.) For example, from: VIEW: RJS Template Test - Dog - Cat - Mouse <%= link...
https://www.ruby-forum.com/t/rjs-not-working/51080
CC-MAIN-2018-47
en
refinedweb
I've got a problem with the following script: import arcpy, os infile = r"C:\temp4\ALK_Merge.shp" infileL = "infile_Layer" count = int(arcpy.GetCount_management(infile).getOutput(0)) x = 99 xC = count/x xC1 = xC + 2 for i in range(1, xC1): print i sPath = infile.split(".shp") print sPath xRange = i * 99 xRange1 = (i*99...
https://community.esri.com/thread/204826-problem-with-python-script-can-only-concatenate-list-not-str-to-list
CC-MAIN-2018-47
en
refinedweb
This page was generated from examples/ale_classification.ipynb. Accumulated Local Effects for classifying flowers¶ In this example we will explain the behaviour of classification models on the Iris dataset. It is recommended to first read the ALE regression example to familiarize yourself with how to interpret ALE plot...
https://docs.seldon.io/projects/alibi/en/latest/examples/ale_classification.html
CC-MAIN-2020-40
en
refinedweb
NLP Learning Series: Part 1 - Text Preprocessing Methods for Deep Learning Recently, - Find Insincere questions on Quora. A current ongoing competition on kaggle - Find fake reviews on websites - Will. $$\frac{\boldsymbol{x}^\top \boldsymbol{y}}{|\boldsymbol{x}| |\boldsymbol{y}|} \in [-1, 1].$$. # Some preprocesssing t...
https://mlwhiz.com/blog/2019/01/17/deeplearning_nlp_preprocess/
CC-MAIN-2020-40
en
refinedweb
DevDisasters What's proper etiquette for handling code snafus when working for -- literally -- a mom-and-pop company? Facing the fact that the money from his graduate research grant -- and only source of income -- was dangerously close to running out, Rumi found himself in a difficult position: How the heck would he ev...
https://visualstudiomagazine.com/articles/2014/05/01/adventures-in-nepotism.aspx
CC-MAIN-2020-40
en
refinedweb
First time here? Check out the FAQ!). One thing that is really strange to me, while performing the wget/iperf tests I am also doing tcpdump on the qr-* (qrouter) namespace. In the qrouter namespace of the network node I see the "seq" packets and on the qrouter of the compute I see the "ack" packets. mtu is already at 1...
https://ask.openstack.org/en/users/15421/mariusleu/?sort=recent
CC-MAIN-2020-40
en
refinedweb
Spring Boot TransactionOperations.withoutTransaction() I am trying to setup my own spring starter for my own security configuration which seems to work fine when running the application, but when i try to create mock mvc tests it won't load up my WebSecurityConfigurerAdapter when the following conditional is specified:...
https://gitter.im/spring-projects/spring-boot?at=5e1b171ca8aa5166ce22617f
CC-MAIN-2020-40
en
refinedweb
public class MainClass : NSObject { AppDelegate.GetInstance ().InvokeOnMainThread (delegate { AttachmentWebViewController AVC = new AttachmentWebViewController (); AppDelegate.GetInstance().NavController.PushViewController(AVC, true); AVC.showAttachment (attachment); }); } public partial class AttachmentWebViewControll...
https://forums.xamarin.com/discussion/comment/138123
CC-MAIN-2020-40
en
refinedweb
When you start builing serverless applications like Azure functions or Azure web jobs, one of the first things you will need to contend with is logging. Traditionally logging was simply achieved by appending rows to a text file that got stored on the same server your application was running on. Tools like log4net made ...
https://himynameistim.com/blog/page/2/
CC-MAIN-2020-40
en
refinedweb
shivang goyal2,003 Points Bummer: '/' with a name gave a non-200 response. Did you change the route and the function? why it's produce an error, i am stuck on it. from flask import Flask app = Flask(__name__) @app.route('/') @app.route('/<name>') def hello(name="jack"): return 'Hello {}'.formate(name) 1 Answer Jennifer...
https://teamtreehouse.com/community/bummer-with-a-name-gave-a-non200-response-did-you-change-the-route-and-the-function
CC-MAIN-2020-40
en
refinedweb
Once you add redux simple router (or redux router) to your project you have two places in your state that need to be kept in sync. import { combineReducers } from 'redux' import { routeReducer } from 'redux-simple-router' import tree from './tree' const rootReducer = combineReducers({ tree: tree, routing: routeReducer ...
https://cherta.website/redux-sagas-and-urls/
CC-MAIN-2020-40
en
refinedweb
Numerical Methods and Statistics Suggested Reading x = 2 print(x) 2 print(x * 4) 8 x = x + 2 print(x) 4 import math x = math.cos(43) print(x) 0.5551133015206257 a = 2 a = a * b b = 4 --------------------------------------------------------------------------- NameError Traceback (most recent call last) <ipython-input-5-...
https://nbviewer.jupyter.org/github/whitead/numerical_stats/blob/master/unit_3/lectures/lecture_1.ipynb
CC-MAIN-2020-40
en
refinedweb
Adding KML to the MapboxTileServer and Vue.js Client Google knows what I search for. I have all my mails stored on Google Servers. And when I was in China my phone was cut off of all Google services and... it couldn't resolve any of my contacts stored in Google Mail. That made me realize: I probably need a little bit o...
https://www.bytefish.de/blog/mapboxtileserver_kml.html
CC-MAIN-2020-40
en
refinedweb
Note: Starcounter 3.0.0 is currently in preview stage. This API might be changed in the future releases without backwards compatibility. The database schema in Starcounter is defined by C# classes with the [Database] attribute: using Starcounter.Nova;[Database]public abstract class Person{public abstract string FirstNa...
https://docs.starcounter.io/v/3.0.0-alpha-20190701/database-classes
CC-MAIN-2019-39
en
refinedweb
I've been cruising the reddit listings recently and without much searching I"! Now, I think it's fair to say: poppycock. But poppycock aside, the question remains: is jQuery still in 2017 (and as we join 2018) relevant and more importantly, is it worth a newcomer learning the library today? MY WORKSHOPMaster Next.js Ev...
https://remysharp.com/2017/12/15/is-jquery-still-relevant
CC-MAIN-2019-39
en
refinedweb
Three different ways of testing your Rails App. So here, I will try to compare three different ways to test the same feature, so you can decide which one is better for you. What are we going to test? Imagine that you are building a catalog that: - Shows all products sorted by name. - Show for each product the name, des...
https://medium.com/@bhserna/three-different-ways-of-testing-your-rails-app-d574890f900f?source=---------4------------------
CC-MAIN-2019-39
en
refinedweb
Now that we have a provider called contacts-service.ts and our app is freshly updated lets use ForceJS to query for the contacts to display on our Contacts page. Create a Query Like when we added our user query to the Home page to verify things were set up we will need to import ForceJs into the ContactsServiceProvider...
https://wipdeveloper.com/saleforce-mobile-sdk-ionic-query-contacts/
CC-MAIN-2019-39
en
refinedweb
). Available,.contrib.corestats.CoreStats': None, } Writing your own extension¶ Writing your own extension is easy. Each extension is a single Python class which doesn’t need to implement any particular method. The main entry point for a Scrapy extension (this also includes middlewares and pipelines) is the from_crawle...
http://doc.scrapy.org/en/0.18/topics/extensions.html
CC-MAIN-2019-39
en
refinedweb
Member since 10-22-2015 241 86 Kudos Received 20 Solutions 09-06-2016 06:05 PM 09-06-2016 06:05 PM For HDP 2.3 (Apache 1.1.2), ./hbase-common/src/main/java/org/apache/hadoop/hbase/HBaseConfiguration.java calls HeapMemorySizeUtil.checkForClusterFreeMemoryLimit(conf); There is no HBaseConfiguration.checkForClusterFreeMem...
https://community.cloudera.com/t5/user/v2/viewprofilepage/user-id/38211/page/3
CC-MAIN-2019-39
en
refinedweb
These are chat archives for FreeCodeCamp/DataScience discussion on how we can use statistical methods to measure and improve the efficacy of import pandas as pd import numpy as np import statsmodels.api as sm data= np.loadtxt('bostontrain.csv',delimiter=',') X=data[:,0:13] Y=data[:,13] X = sm.add_constant(X) est = sm.O...
https://gitter.im/FreeCodeCamp/DataScience/archives/2018/03/07?at=5a9ff859e4d1c63604d1ae3a
CC-MAIN-2019-39
en
refinedweb
On some particularly heavy sites, the user needs to see a visual cue temporarily to indicate that resources and assets are still loading before they taking in a finished site. There are different kinds of approaches to solving for this kind of UX, from spinners to skeleton screens. If we are using an out-of-the-box sol...
https://css-tricks.com/building-progress-ring-quickly/
CC-MAIN-2019-39
en
refinedweb
Or being able to An update — September 2017 A week or so ago, some students applied this concept to the idea of typosqatting (registering malicious packages with names similar to popular libraries). By getting a university to issue a security notice, they generated some interest, and finally resulted in some changes to...
https://hackernoon.com/building-a-botnet-on-pypi-be1ad280b8d6
CC-MAIN-2019-47
en
refinedweb
table of contents - buster 4.16-2 - buster-backports 5.02-1~bpo10+1 - testing 5.03-1 - unstable 5.03-1 NAME¶posix_openpt - open a pseudoterminal device SYNOPSIS¶ #include <stdlib.h> #include <fcntl.h> int posix_openpt(int flags); Feature Test Macro Requirements for glibc (see feature_test_macros(7)): posix_openpt(): _X...
https://manpages.debian.org/buster-backports/manpages-dev/posix_openpt.3.en.html
CC-MAIN-2019-47
en
refinedweb
Hi there. I have a working search input bar and it filters correctly based on value. My problem is when i go to other page and come back to the page where the search input bar is there, the last (history) search value is still there. Example: I search word "Work", then it search. When i leave the page and comeback the ...
https://www.wix.com/corvid/forum/community-discussion/search-input-bar-delete-the-value-history
CC-MAIN-2019-47
en
refinedweb
Provided by: alliance_5.0-20110203-4_amd64 NAME savelofig - save a logical figure on disk SYNOPSYS #include "mlu.h" void savelofig(ptfig) lofig_list ∗ptfig; PARAMETER ptfig Pointer to the lofig to be written on disk DESCRIPTION savelofig writes on disk the contents of the figure pointer to by ptfig. All the figure list...
http://manpages.ubuntu.com/manpages/precise/man3/savelofig.3.html
CC-MAIN-2019-47
en
refinedweb
Attribute Class Definition Used to register a class to the Objective-C runtime. [System.AttributeUsage(System.AttributeTargets.Class)] public sealed class RegisterAttribute : Attribute type RegisterAttribute = class inherit Attribute - Inheritance - - Attributes - Remarks While all classes derived from the NSObject cla...
https://docs.microsoft.com/en-us/dotnet/api/foundation.registerattribute?view=xamarin-mac-sdk-14
CC-MAIN-2019-47
en
refinedweb
; using System.Collections.Generic; class C { string ss = "aa"; public IEnumerable<int> GetIter () { yield return 1; yield return 2; // Set a breakpoint here yield return 3; } public static void Main() { foreach (var item in new C ().GetIter ()) { } } } Then go to watch window and add `ss'. Error Unknown identifier: ss...
https://xamarin.github.io/bugzilla-archives/45/4527/bug.html
CC-MAIN-2019-47
en
refinedweb
A proxy view model for JSON data sources. More... JsonListModel allows to transform your JSON data into a QML ListModel for usage with e.g. an AppListView. With Felgo, you develop apps using QML and JavaScript. This makes it easy to work with JSON data and REST APIs, as you can see with the examples of the Access a RES...
https://felgo.com/doc/felgo-jsonlistmodel/
CC-MAIN-2019-47
en
refinedweb
Chapter 23 Windows Services Windows Services are programs that can be started automatically at boot time without the need for anyone to log on to the machine. In this chapter, you learn: - The architecture of Windows Services, including the functionality of a service program, a service control program, and a service co...
https://www.oreilly.com/library/view/professional-c-2008/9780470191378/xhtml/Chapter23.html
CC-MAIN-2019-47
en
refinedweb
Understanding Kubernetes API - Part 3 : Deployments third post in the series which discusses about deployments API. You can access all the posts in the series here. Deployments API Deployment is a kubernetes abstraction that is responsible for running one or more replicas of a pod. Most of the time deployments are pref...
http://blog.madhukaraphatak.com/understanding-k8s-api-part-3/
CC-MAIN-2019-47
en
refinedweb
Boruvka’s algorithm for Minimum Spanning Tree in Python Hello coders, In this tutorial, we are going to study about Boruvka’s algorithm in Python. It is used to find the minimum spanning tree. First of all, let’s understand what is spanning tree, it means that all the vertices of the graph should be connected. It is kn...
https://www.codespeedy.com/boruvkas-algorithm-for-minimum-spanning-tree-in-python/
CC-MAIN-2020-50
en
refinedweb
* XYBarChart.java28 * 29 * Created on 8 luglio 2005, 17.5930 *31 */32 33 package it.businesslogic.ireport.chart;34 35 /**36 *37 * @author Administrator38 */39 public class XYBarChart extends Chart {40 41 /** Creates a new instance of PieChart */42 public XYBarChart() {43 44 setName("XY Bar");45 setChartImage(new javax...
http://kickjava.com/src/it/businesslogic/ireport/chart/XYBarChart.java.htm
CC-MAIN-2020-50
en
refinedweb
std::ranges::cend Returns a sentinel indicating the end of a const-qualified range. Let CT be - const std::remove_reference_t<T>& if the argument is a lvalue (i.e. Tis an lvalue reference type), - const T otherwise, a call to ranges::cend is expression-equivalent to ranges::end(static_cast<CT&&>(t)). If ranges::cend(e)...
https://en.cppreference.com/w/cpp/ranges/cend
CC-MAIN-2020-50
en
refinedweb