text
stringlengths
20
1.01M
url
stringlengths
14
1.25k
dump
stringlengths
9
15
⌀
lang
stringclasses
4 values
source
stringclasses
4 values
Hello! First sorry for the long mail! :-) I started another attemp to get the Linux kernel working correctly on the AmigaOne with it's famous (and buggy) ArticiaS northbridge. There were a lot of people that tried this before, but I think all of them didn't address the real problem. The problem is that the ArticiaS nor...
https://lists.debian.org/debian-powerpc/2005/11/msg00785.html
CC-MAIN-2019-39
en
refinedweb
To find where a class, interface, method, or field is used in your project, you use the Find Usages command. From NetBeans 8.1 you can also find where they are used in the dependencies of your project. To get the results from your project's dependencies, NetBeans indexes the binary version of these dependencies. Search...
http://wiki.netbeans.org/CompiledDependencies
CC-MAIN-2019-39
en
refinedweb
I'm trying to add an ssh key in Virtual Machines. I generated a key with git bash on Windows, and pasted the generated public key into the prompt. I can't seem to get this to work, it always pops up an alert saying 400 Bad Request. Answer by Matt Mallett (241) | Mar 13, 2015 at 10:31 AM I was able to work around this b...
https://developer.ibm.com/answers/questions/179017/$%7BrevisionUrl%7D/
CC-MAIN-2019-39
en
refinedweb
💬 Gas Sensor This thread contains comments for the article "Gas Sensor" posted on MySensors.org. Just a note for any Domoticz users who may try this sketch - it presents in the log, but is not available under 'Devices' to be added UNTIL it gets a reading > 0. My solution to that was to go put the node over the gas hob...
https://forum.mysensors.org/topic/4813/gas-sensor/
CC-MAIN-2019-39
en
refinedweb
Google Assistant on your test device. - You'll need a Node.js environment to write your app. For installing Node.js and npm, Node Version Manager is recommended. 1. Support device discovery A local execution path is established once: mDNS UPnP UDP. The following snippet shows an example SYNC response with otherDeviceI...
https://developers.google.com/actions/smarthome/develop/local
CC-MAIN-2019-39
en
refinedweb
std::unordered_multimap<Key,T,Hash,KeyEqual,Allocator>::equal_range From cppreference.com < cpp | container | unordered multimap. [edit] Example Run this code #include <iostream> #include <unordered_map> int main() { std::unordered_multimap<int,char> map = {{1,'a'},{1,'b'},{1,'d'},{2,'b'}}; auto range = map.equal_range...
https://en.cppreference.com/w/cpp/container/unordered_multimap/equal_range
CC-MAIN-2019-39
en
refinedweb
EMF for pure OSGiEMF for pure OSGi EMF is one of the most powerful MDSD tools. It unfortunatelly comes with strong ties to Eclipse and the Equinox framework, because it uses Extension Points. EMF can also can be used in Java SE and other OSGi frameworks, but it usually requires a lot of manual, to register EPackages, R...
https://gitlab.com/gecko.io/geckoEMF/wikis/home
CC-MAIN-2019-39
en
refinedweb
Derek Molloy is arguably the best source for BB tutorials. His libraries are well designed too. Here's an instruciblo on how to use his GPIO lib with CCS. The goal - in the theme of my previous BB blogs: build a linux executable for the BB on your laptop in CCS and debug it from there. I will not build the library from...
https://www.element14.com/community/community/designcenter/single-board-computers/next-gen_beaglebone/blog/2019/06/07/beaglebone-develop-and-debug-with-derek-molloys-gpio-lib-with-code-composer-studio
CC-MAIN-2019-39
en
refinedweb
kefir.js 839 Kefir.js drag example - drag end 1560 Ignore/cancel/interrupt streams in Functional reactive programming? « 1 » Hot Questions C++ Object & Javascript Object life cycle mis-synchronization Convert Java ENUM to XML Prompt file download with XMLHttpRequest UITapGestureRecognizer only working for items visibl...
http://www.brokencontrollers.com/tags/kefirdotjs/page1.shtml
CC-MAIN-2019-39
en
refinedweb
'0' coerced to True sqlite boolean value since 1.1 Use case: insert using rows (i.e. string tuples) from CSV import sqlalchemy as sa import sqlalchemy.ext.declarative class Spam(sa.ext.declarative.declarative_base()): __tablename__ = 'spam' id = sa.Column(sa.Integer, primary_key=True) spam = sa.Column(sa.Boolean) engin...
https://bitbucket.org/zzzeek/sqlalchemy/issues/4102/0-coerced-to-true-sqlite-boolean-value
CC-MAIN-2018-13
en
refinedweb
- .16 Recursion The apps we’ve discussed thus far are generally structured as methods that call one another in a disciplined, hierarchical manner. For some problems, however, it’s useful to have a method call itself. A recursive method is a method that calls itself, either directly or indirectly through another method....
http://www.informit.com/articles/article.aspx?p=2731935&seqNum=16
CC-MAIN-2018-13
en
refinedweb
I have a separate thread that "heartbeats" the servers to check their status. When I need to change servers I trigger the following code situated on the DataStore object.I have a separate thread that "heartbeats" the servers to check their status. When I need to change servers I trigger the following code situated on t...
https://www.experts-exchange.com/questions/28960915/c-pass-object-by-reference-wrapped-TCP-socket.html
CC-MAIN-2018-13
en
refinedweb
Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended. One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community. import subprocess import os def mdb_repair(mdb_path, msaccess='C:/Program Files/Microsoft ...
https://www.experts-exchange.com/questions/28974050/How-To-Loop-Python.html
CC-MAIN-2018-13
en
refinedweb
Plugin for Rewtiting External Links Description Rewrite external link location, for example, to hide referers for private sites.; i. Example - copy redirector/rediretor.html at accessible point. $ cp redirector/rediretor.html /var/www/ - edit conf/trac.ini for enable the plugin: [components] ExtLinkRewriter.* = enabled...
https://trac-hacks.org/wiki/ExtLinkRewriterPlugin?version=1
CC-MAIN-2018-13
en
refinedweb
Odoo Help Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps: CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc. Pycalverter - Python Calendar Converter. Any one know how to implement this tool? py . Please check the above two links. Hi, Copy...
https://www.odoo.com/forum/help-1/question/pycalverter-python-calendar-converter-any-one-know-how-to-implement-this-tool-50471
CC-MAIN-2018-13
en
refinedweb
I'll present my counterpoints to Tom and then shut up. If folks want the --package option, as long as the warnings are in place, I won't fight any more (just squirm a little). Tom wrote: > > First of all, this goes against JAX-RPC. > > This is an extension switch that in no way breaks JAX-RPC. By default we do > everyt...
http://mail-archives.apache.org/mod_mbox/axis-java-dev/200112.mbox/%3COF23FCEF60.C300CF0A-ON86256B18.0057D21A@raleigh.ibm.com%20%3E
CC-MAIN-2018-13
en
refinedweb
I up. - Getting the bits - You can download the latest RichTextEditor bits from the Source Code tab of the CodePlex project. - Unzip the files to a local directory and open the solution using Visual Studio. - The RichTextEditor.dll will be located in the bin directory of the RichTextEditor project. - You can also previ...
https://blogs.msdn.microsoft.com/kirti/2007/11/10/rich-text-editor-is-here/
CC-MAIN-2018-13
en
refinedweb
Hi. I have a "Entry" Custom Renderer (called "MyEntry"). I would like to pass a parameter to MyEntry constructor. For example I would like to pass an integer: MyEntry entry = new MyEntry(5); How can I create the Renderer so it can accept parameters in input? Is it possible? This is your MyEntry class in the shared code...
https://forums.xamarin.com/discussion/56550/custom-renderer-and-parameters
CC-MAIN-2018-13
en
refinedweb
Ævar Arnfjörð Bjarmason 2017-05-08 10:38:03 UTC intprops.h, which depends on verify.h, which is GPLv3, not LGPL like the rest of the regex module. I'm using the equivalent of the patch at the end of this E-Mail to import the engine into a GPLv2 only project, but this seems like a general bug in gnulib. $ git diff -U2 d...
http://bug-gnulib.gnu.narkive.com/f9kvorgs/the-regex-module-brings-in-gplv3-code-even-with-lgpl
CC-MAIN-2018-13
en
refinedweb
Result map service When publishing a geoprocessing service, you can choose to view the result of your task as a map (in addition to any other results of your task). The map is created on the server using ArcMap for transport back to the client as an image (a .jpeg, for example). The symbology, labeling, transparency, a...
http://enterprise.arcgis.com/en/server/latest/publish-services/windows/essential-vocabulary-for-geoprocessing-services.htm
CC-MAIN-2018-13
en
refinedweb
Check whether a given audio device is kept alive by the system. #include <audio/audio_manager_device.h> int audio_manager_is_device_kept_alive(audio_manager_device_t dev, bool *keep_alive) The type of the audio device to check against. true if the specified audio device is kept alive, false otherwise. The audio_manager...
http://www.qnx.com/developers/docs/6.6.0.update/com.qnx.doc.audiomanager.lib_ref/topic/audio_manager_is_device_kept_alive.html
CC-MAIN-2018-13
en
refinedweb
Search for media nodes with metadata properties matching a search string. #include <mmplayer/mmplayerclient.h> int mm_player_search( mmplayer_hdl_t *hdl, const int media_source_id, const char *filter, const char *search_term, const int offset, int *limit, mmp_ms_node_t **media_nodes ) Search the media source identified...
http://www.qnx.com/developers/docs/6.6.0.update/com.qnx.doc.mm_player/topic/mmp_api/mm_player_search.html
CC-MAIN-2018-13
en
refinedweb
Load metric information for the given font #include <photon/Pf.h> int PfLoadMetrics( const char *font ); #include <font_api.h> int PfLoadMetricsCx( struct _Pf_ctrl * context, const char * font ); These functions load metric information for the given font from the font server into memory and link this font into a list o...
https://www.qnx.com/developers/docs/6.4.1/photon/lib_ref/pf/pfloadmetrics.html
CC-MAIN-2018-13
en
refinedweb
android.media.midi Provides classes for sending and receiving messages using the standard MIDI event protocol over USB, Bluetooth LE, and virtual (inter-app) transports. Overview The Android MIDI package allows users to: - Connect a MIDI keyboard to Android to play a synthesizer or drive music apps. - Connect alternati...
https://developer.android.com/reference/android/media/midi/package-summary.html?hl=ja
CC-MAIN-2018-13
en
refinedweb
I'm working on a project that is supposed to parse through a text file (about the length of a book or small dictionary) and print out the index. The program does not need to keep track of the frequency of the word. The data structure I'm using is a binary search tree and an avl tree. I have two tree because the user ha...
https://www.daniweb.com/programming/software-development/threads/112891/avl-tree-and-bst-tree
CC-MAIN-2018-13
en
refinedweb
Python wrapper around libclustalo This is just a simple Python wrapper around Clustal Omega (), used internally at Benchling but casually open source, if it helps anybody. Also available via: pip install clustalo Requires libclustalo installed, version 1.2.0. On Linux, it’s recommended you build and install it yourself...
https://pypi.org/project/clustalo/
CC-MAIN-2017-26
en
refinedweb
Red Hat Bugzilla – Bug 132732 python files in /var/mailman/pythonlib & /var/mailman/MailMan wrong type Last modified: 2007-11-30 17:10:49 EST From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040904 Firefox/0.9.3 Description of problem: The python files in /var/mailman/pythonlib ...
https://bugzilla.redhat.com/show_bug.cgi?id=132732
CC-MAIN-2017-26
en
refinedweb
MonoTouch.UIKit.UIFontFeature Class Represents a single typographic or font layout feature. See Also: UIFontFeature Syntax public class UIFontFeature : INativeObject Remarks The UIFontFeature represents a specific typographic or font layout feature set to a particular value. These objects are both strongly typed and im...
https://developer.xamarin.com/api/type/MonoTouch.UIKit.UIFontFeature/
CC-MAIN-2017-26
en
refinedweb
We all know not to serve static media (images, CSS, Javascript, etc.) in production directly from Django. Thankfully, Django gives us some nice settings like MEDIA_URL and MEDIA_ROOT to make serving them a lot less painless. Lately, however, I’ve come to realize that these settings shouldn’t really apply to all static ...
https://lincolnloop.com/blog/2008/nov/13/static-media-and-django/
CC-MAIN-2017-26
en
refinedweb
On Tue, 2004-01-06 at 18:03, Mike Mestnik wrote: > > I think I am using journalling, as it's a laptop it's more likely to > suddenly loose power. What! My laptop comes with a _built-in_ _UPS_ - only _one_ of the guys in the office with a _desktop_ machine can boast that one, _his_ UPS only runs for 40 minutes or so any...
https://lists.debian.org/debian-laptop/2004/01/msg00063.html
CC-MAIN-2017-26
en
refinedweb
Hi I'm receiving the following error when I attempt to run my stateless session EJB: java.lang.NoSuchMethodError: java.lang.NoSuchMethodException: create and Exception in thread "main" java.lang.NoSuchMethodError: method create(); not found It says that it can't find my create method however, the code for my home inter...
http://www.theserverside.com/discussions/thread/3259.html
CC-MAIN-2017-26
en
refinedweb
I have searched these forums and have seen multiple threads on the Weather Structure C++ program. I don't believe they have been resolved. I am tasked with the following: Write a program that uses a structure to store the following weather data for a particular month: Total Rainfall High Temperature Low Temperature Ave...
https://www.daniweb.com/programming/software-development/threads/395877/weather-structure-program
CC-MAIN-2017-26
en
refinedweb
ApplicationSessionExpiryFilter never gets calledveena pandit Sep 20, 2013 1:41 PM I have configured a Filter in the web.xml and I have a filter class. It doesn't seem to be getting called. I have a page just for the timeout. public class ApplicationSessionExpiry { String requestedSession = ((HttpServletRequest)request)...
https://community.oracle.com/message/11199241
CC-MAIN-2017-26
en
refinedweb
Red Hat Bugzilla – Bug 886808 geo-rep: select() returning EBADF not handled correctly Last modified: 2013-07-24 13:31:46 EDT +++ This bug was initially created as a clone of Bug #880308 +++ Created attachment 652074 [details] geo-replication log containing the error Description of problem: The georep_debug.log contains...
https://bugzilla.redhat.com/show_bug.cgi?id=886808
CC-MAIN-2017-26
en
refinedweb
Summary of Chapter 28. Location and maps - PDF for offline use - - Related Articles: - - Related Samples: - - Related Links: - Let us know how you feel about this Translation Quality 0/250 last updated: 2016-10 Xamarin.Forms supports a Map element that derives from View. Because of the special platform requirements inv...
https://developer.xamarin.com/guides/xamarin-forms/creating-mobile-apps-xamarin-forms/summaries/chapter28/
CC-MAIN-2017-26
en
refinedweb
gnutls_certificate_set_flags(3) gnutls gnutls_certificate_set_flags(3) gnutls_certificate_set_flags - API function #include <gnutls/gnutls.h> void gnutls_certificate_set_flags(gnutls_certificate_credentials_t res, unsigned int flags); gnutls_certificate_credentials_t res is a gnutls_certificate_credentials_t type unsig...
http://man7.org/linux/man-pages/man3/gnutls_certificate_set_flags.3.html
CC-MAIN-2017-26
en
refinedweb
Odoo Help Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps: CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc. Additionnal several fields in opportunity menu Hi, In opportunity menu : I created three new fields : licence, support and develo...
https://www.odoo.com/forum/help-1/question/additionnal-several-fields-in-opportunity-menu-15345
CC-MAIN-2017-26
en
refinedweb
How to Create Both a Paid and Lite Version of an iPhone App There are a ton of different ways you can monetize your app, and the most straightforward way is to make it paid. Unfortunately, a large number of users are not willing to purchase an app without trying it first. One way to solve this problem on the App Store ...
https://www.raywenderlich.com/68613/create-paid-lite-version-iphone-app
CC-MAIN-2017-26
en
refinedweb
In this post we want to explore another way to refresh our app UI called Android Shake to Refresh. We all know the pull-to-refresh pattern that is implemented in several app. Even this pattern is very useful, we can use another pattern to refresh our UI, based on smartphone sensors, we can call it Android Shake to refr...
https://www.survivingwithandroid.com/2014/04/android-shake-to-refresh-tutorial-2.html
CC-MAIN-2017-26
en
refinedweb
Because IBM Bluemix is based on Cloud Foundry, I am using the Cloud Foundry-related tools (mainly "cf") to interact with Bluemix. A first challenge is that a Python runtime is not built into Bluemix/Cloud Foundry and I have to tell it to prepare the runtime for me. It is called "Bring Your Own Community". When you clic...
http://blog.4loeser.net/2014_06_01_archive.html
CC-MAIN-2017-26
en
refinedweb
Using a TreeView If, however, you choose to use a TreeView control to display the data you select, you will find that there is no convenient interface that you can use to keep your code from changing. For each node you want to create, you create an instance of the TreeNode class and add the root TreeNode collection to ...
http://www.dotnetspark.com/kb/384-using-treeview.aspx
CC-MAIN-2017-26
en
refinedweb
This article is dedicated for beginners who would like to know more about Model-View-ViewModel (MVVM) design pattern and why MVVM has to be used. Why use MVVM? In traditional UI development – developer used to create a View using window or user control or page and then write all logical code (Event handling, initializa...
https://blogs.msdn.microsoft.com/msgulfcommunity/2013/03/13/understanding-the-basics-of-mvvm-design-pattern/
CC-MAIN-2017-26
en
refinedweb
In computing, Virtual Network Computing (VNC) is a graphical desktop sharing system that uses the Remote Framebuffer (RFB) protocol to remotely control another computer. It transmits keyboard and mouse events from one computer to another, and relays graphical screen updates back in the other direction over a network. R...
https://www.toptal.com/java/implementing-remote-framebuffer-server-java
CC-MAIN-2017-26
en
refinedweb
[ ] Knut Anders Hatlen commented on DERBY-4443: ------------------------------------------- It looks like the rollback exception is stripped off by this piece of code in StandardException.unexpectedUserException(): // Look for simple wrappers for 3.0.1 - will be cleaned up in main if (ferry != null) { if (ferry.isSimpl...
http://mail-archives.apache.org/mod_mbox/db-derby-dev/201104.mbox/%3C420720009.32187.1301915945761.JavaMail.tomcat@hel.zones.apache.org%3E
CC-MAIN-2017-26
en
refinedweb
So I have a simple dice program that lets the user make bets. If their current money pool is larger than the money pool in highscores.txt it will write the new score to the file. The program works as intended except for the high scores. When I try to write the new score to the file, it writes a huge piece of code which...
https://www.daniweb.com/programming/software-development/threads/128351/weird-file-write-problem
CC-MAIN-2017-26
en
refinedweb
QuantLib_OneFactorGaussianStudentCopula man page OneFactorGaussianStudentCopula — One-factor Gaussian-Student t-Copula. Synopsis #include <ql/experimental/credit/onefactorstudentcopula.hpp> Inherits OneFactorCopula. Public Member Functions OneFactorGaussianStudentCopula (const Handle< Quote > &correlation, int nz, Real...
https://www.mankier.com/3/QuantLib_OneFactorGaussianStudentCopula
CC-MAIN-2017-26
en
refinedweb
This is a short snippet to solve the LCG on Polictf’17. The basic idea is to reduce the problem to . This problem is quite easy to solve. The basic idea is to view the problem as the latter and correct the discrepancies ( ). So, for instance, if we sample then these values contain the implicit discrepancies. By perform...
https://grocid.net/2017/07/09/polictf-2017-lucky-consecutive-guessing/
CC-MAIN-2018-05
en
refinedweb
thestienMember Content count46 Joined Last visited Community Reputation102 Neutral About thestien - RankMember Repositioning circles on collision thestien replied to CryoGenesis's topic in For Beginners Unity - Assets and tools to get started thestien replied to jefferytitan's topic in For Beginnershi jefferytitan, hav...
https://www.gamedev.net/profile/196461-thestien/?tab=friends
CC-MAIN-2018-05
en
refinedweb
I searched the threads for help, but I'm not sure my terminology is correct. I'm a C++ hobbyist, and have a question about maintaining a list of objects, created dynamically at run time, and how to interact with those objects. I'd like to maybe use a vector, and some pointers, but I can't get it together. This is my fi...
https://cboard.cprogramming.com/cplusplus-programming/138440-keeping-dynamic-object-list-referencing-them.html
CC-MAIN-2018-05
en
refinedweb
}); This sets up overloaded operators for the namespace with the computed name $namespace. Note that you cannot use "main" instead of "tmp", because the main namespace seems to be too read-only for this kind of hack (you'd get the error "Modification of read-only value attempted") In Section Seekers of Perl Wisdom
http://www.perlmonks.org/?node_id=790795;displaytype=print
CC-MAIN-2018-05
en
refinedweb
Raspberry Pi MCP9808 Temperature Sensor Python Tutorial Introduction: Raspberry Pi MCP9808 Temperature Sensor Python Tutorial MCP9808 is a highly accurate digital temperature sensor ±0.5°C I2C mini module. They are embodied with user- programmable registers that facilitate temperature sensing applications. The MCP9808 ...
http://www.instructables.com/id/Raspberry-Pi-MCP9808-Temperature-Sensor-Python-Tut/
CC-MAIN-2018-05
en
refinedweb
Summary Adds a diagram rule to the rule list specified on a diagram template to automatically collapse all contents related to containers during diagram building. The containers with the contents to be collapsed are identified using a SQL query based on their attributes. Learn more about the collapsing of allows you to...
https://pro.arcgis.com/en/pro-app/tool-reference/utility-networks/add-collapse-container-by-attribute-rule.htm
CC-MAIN-2019-09
en
refinedweb
Today we continue with the IMAP/S of LFCS, by configuring Dovecot. Dovecot is an open source IMAP / POP3 server written with security in mind. It can be installed on CentOS via the dovecot package. Inside the /etc/dovecot.conf file you have to add / edit some settings: The above also include the secure versions of IMAP...
http://chousensha.github.io/blog/2018/02/19/lfcs-prep-configure-an-imap-service/
CC-MAIN-2019-09
en
refinedweb
We use this equation from IPython.display import Image Image(filename='files/6.1.jpg') Here is the video of the result - there's something not quite working yet. #!/usr/bin/env python from numpy import * from numpy.random import randint import pygame import sys import random import numpy as np """ Code for visualizatio...
http://fab.cba.mit.edu/classes/864.17/people/Yada.Pruksachatkun/Homework/Week6.html
CC-MAIN-2019-09
en
refinedweb
/* * Copyright (c) 2000 David Flanagan. All rights reserved. * This code is from the book Java Examples in a Nutshell, 2nd Edition. * It is provided AS-IS, WITHOUT ANY WARRANTY either expressed or implied. * You may study, use, and modify it for any non-commercial purpose. * You may distribute it non-commercially as lo...
https://www.cs.kent.ac.uk/people/staff/dat/miranda/javasieve.html
CC-MAIN-2019-09
en
refinedweb
Evolution-data-server provides the various backend components for the Evolution integrated mail/PIM suite, including the Berkeley database backend and the libical calendar components. WWW: make generate-plist Dependency line: evolution-data-server>0:databases/evolution-data-server To install the port: cd /usr/ports/dat...
https://www.freshports.org/databases/evolution-data-server
CC-MAIN-2019-09
en
refinedweb
For some reason my quaternions and vector3s for my picking up and holding items script aern't working. Would you guys please be so kind as to help me with fixing this? My declarations: private Vector3 CharVec; private Vector3 KnifeVec; private Vector3 CleaverVec; private Vector3 BreadKnifeVec; private Quaternion CharQu...
https://answers.unity.com/questions/1353626/vector3-and-quaternion-problems.html
CC-MAIN-2019-09
en
refinedweb
Start MATLAB engine session #include "engine.h" Engine *engOpen(const char *startcmd); #include "engine.h" mwPointer engOpen(startcmd) character*(*) startcmd startcmd String to start the MATLAB® process. On Windows® systems, the startcmd string must be NULL. Pointer to an engine handle, or NULL if the open fails.: Crea...
https://nl.mathworks.com/help/matlab/apiref/engopen.html
CC-MAIN-2019-09
en
refinedweb
Hi, i just want to show the activity indicator, run my method and hide the activity indicator clicking a button. Should be very simple, shouldn't it? But it does not Show the activity indicator. Need to use async/await, but don't know exactly how... XAML: <ActivityIndicator x: .cs: ` private bool _isBusy; public bool I...
https://forums.xamarin.com/discussion/138354/simple-activity-indicator
CC-MAIN-2019-09
en
refinedweb
ACTION-52: Relay comments as constructed today to the SemWeb EO IG editors of "Cool URIs..." Relay comments as constructed today to the SemWeb EO IG editors of "Cool URIs..." - State: - closed - Person: - Norman Walsh - Due on: - September 26, 2007 - Created on: - September 19, 2007 - Associated Issue: - HttpRedirectio...
http://www.w3.org/2001/tag/group/track/actions/52
CC-MAIN-2019-09
en
refinedweb
On the Github page it says: It's performant, because thanks to Scala macros the check-enabled-idiom is applied and the following code is generated: if (logger.isDebugEnabled) logger.debug(s"Some $expensive message!") def debug(message: => String)(implicit mc: MarkerContext): Unit = { if (isDebugEnabled) { mc.marker mat...
https://codedump.io/share/552UEJhWBw9G/1/how-exactly-is-typesafe39s-scala-logging-more-performant-than-other-logging-frameworks
CC-MAIN-2019-09
en
refinedweb
oop in python - What's the difference between a method and a function? Can someone provide a simple explanation of methods vs. functions in OOP context?. As you can see you can call a function anywhere but if you want to call a method either you have to pass a new object of the same type as the class the method is decl...
http://code.i-harness.com/en/q/25fd9
CC-MAIN-2019-09
en
refinedweb
This is an old copy of the Python FAQ. The information here may be outdated. The most common problem is that the registered signal handler is declared with the wrong argument list. It is called as handler(signum, frame) so it should be declared with two arguments: def handler(signum, frame): ... CATEGORY: library rende...
http://effbot.org/pyfaq/why-don-t-my-signal-handlers-work.htm
CC-MAIN-2019-09
en
refinedweb
I am a newbie starting with Neo4j and Python. I am trying to get some data populated into Neo4j using the Python driver. I was wondering if it is possible to pass a Python dictionary as a Literal map described in Neo4j documentation. This would be enable me to set app node properties at once. The properties vary from n...
https://codedump.io/share/vvNEHjHVs5V5/1/can-a-python-dictionary-be-passed-as-neo4j-literal-maps
CC-MAIN-2018-09
en
refinedweb
[solved] Unable to deploy Qt Quick 2 application on Mac OS X 10.8.2 Hello guys! I have problems during Qt Quick 2 application deployment on Mac OS X 10.8.2 (using macdeployqt). I created test Qt Quick 2 project and as result I have bundle. When I'm trying to deploy my app using macdeployqt it breaks my app and I'm not ...
https://forum.qt.io/topic/25378/solved-unable-to-deploy-qt-quick-2-application-on-mac-os-x-10-8-2
CC-MAIN-2018-09
en
refinedweb
Input Validation: Do not accept a number less than one for the number of floors. Do not accept a number less than 10 for the number of rooms on a floor. I am getting one error code. Here is what I got! import java.util.Scanner; public class HotelOccupancy { Floor[] floor; HotelOccupancy() // the error appears here and ...
http://www.dreamincode.net/forums/topic/104447-one-error-on-hotel-occupancy-program/
CC-MAIN-2018-09
en
refinedweb
If the File.deleteOnExit method is invoked on a File object, and one or more instances of FileInputStream, FileOutputStream, or RandomAccessFile are open on the file at the time the VM exits, then the file will not be deleted. This occurs only on win32, which does not allow a file to be deleted until all streams on it ...
https://bugs.java.com/bugdatabase/view_bug.do?bug_id=4171239
CC-MAIN-2018-09
en
refinedweb
With the release of Scala 2.11 it became fully JSR-223 compliant scripting language for Java. JSR-223 is the community request to allow scripting language to have an interface to Java and to allow Java to use the scripting language inside of applications. In Java 8 the Nashorn scripting engine was released as a native ...
https://henning.kropponline.de/2016/04/17/scripting-scala-jsr-223/
CC-MAIN-2018-09
en
refinedweb
We recommend using Visual Studio 2017 This documentation is archived and is not being maintained. C6509 Visual Studio 2005 warning C6509: invalid annotation: 'return' cannot be referenced from a precondition This warning indicates that the return [expression] statement cannot be used in a precondition. The return state...
https://msdn.microsoft.com/en-US/library/ms182103(v=vs.80).aspx
CC-MAIN-2018-09
en
refinedweb
I have this: public class myProgram{ public static void main(String[] args){ System.out.println("Hello everyone!"); } } class myInherit extends myProgram{ // Anything } class myInstance{ public static myProgram theInstance; public static getInstance(){ myInstance.theInstance = new myProgram(); } } ---------------------...
http://forums.devx.com/showthread.php?140000-Look-and-Feel&goto=nextoldest
CC-MAIN-2018-09
en
refinedweb
Getting Started with Programmatically Customizing a SharePoint Web Site in Visual Studio Visual Studio 2005 integrated development environment (IDE) offers the premier environment for customizing Web sites based on Windows SharePoint Services. You can create, for example, Windows applications, console applications, or ...
https://msdn.microsoft.com/en-us/library/ms479423.aspx
CC-MAIN-2018-09
en
refinedweb
JavaScript lightweight delivery artifact creator. This module is available as node module, command line interface and grunt plugin. This module is used to create delivery artifacts (meaning combined JavaScript and CSS files). The input for the delivery artifacts are delivery.yaml files that contain a description of the...
https://www.npmjs.com/package/delivery-packer
CC-MAIN-2018-09
en
refinedweb
This post is based on the text of my GolangUK keynote delivered on the 18th of August 2016. A recording of the talk is available on YouTube. This post has been translated into Simplified Chinese by Haohao Tian. Thanks Haohao! How many Go programmers are there in the world? How many Go programmers are there in the world...
https://dave.cheney.net/2016/08
CC-MAIN-2018-09
en
refinedweb
Have you ever opened public data and been greeted by a date field with a value like 1419490800000? If it is not obvious to you that the number represents December 25, 2014 then you are not alone. The date has been returned to you in milliseconds since January 1, 1970 at 00:00:00. It might be difficult for you and me to...
https://paulcrickard.wordpress.com/2015/01/13/handling-dates-in-open-data-with-javascript-and-python/
CC-MAIN-2018-09
en
refinedweb
Now Updated for Arduino 1.6.6 November 2015 ! 'Put 'sp 'It should be cool enough ') I am not sure if I cmpletely follow you. Are you saying you can connect to the Video in RCA plug OR to S-video? Yes, you can do both (but only one at a time.) First build the RCA plug video circuit, and then build the RCA to S-Video ad...
http://www.instructables.com/id/MRETV-Video-Stereo-Sound-and-much-more-from-a-s/
CC-MAIN-2017-43
en
refinedweb
Details - Type: Bug - Status: Closed - Priority: Major - Resolution: Fixed - Affects Version/s: 1.5.5 - Fix Version/s: 1.6-beta-1, 1.5.7 - Component/s: None - Labels:None Description From GROOVY-1875: def s = '12' s.value = 'ABCD' println s ==> AB The 'value' field is a private final variable in class java.lang.String....
https://issues.apache.org/jira/browse/GROOVY-2774
CC-MAIN-2017-43
en
refinedweb
Writing an Ionic Native Wrapper Ionic Native makes it very convenient to use Cordova plugins from Ionic applications. Although Ionic Native provides an impressive collection of wrappers for many Cordova plugins, there are still Cordova plugins out there without a corresponding plugin. In such cases you will need to eit...
http://www.damirscorner.com/blog/posts/20170908-WritingAnIonicNativeWrapper.html
CC-MAIN-2017-43
en
refinedweb
i have the following, but why does this not hide the label for book comment? I get the error 'textfield' is not defined: from django.db import models from django.forms import ModelForm, Textarea class Booklog(models.Model): Author = models.ForeignKey(Author) Book_comment = models.TextField() Bookcomment_date = models.D...
https://codedump.io/share/ZSIEqXIBNzow/1/django-how-to-hideoverwrite-default-label-with-modelform
CC-MAIN-2017-43
en
refinedweb
I'm trying to write a Tic Tac Toe game but I'm stuck at the computer AI. Basically for the computer move I need a random generator to pick a number and insert it into a 2D array. The parts that I'm stuck at is writing a code so that computer doesn't pick a number that has been taken either by player X or has been previ...
https://www.daniweb.com/programming/software-development/threads/295891/tic-tac-toe-help-with-code
CC-MAIN-2017-43
en
refinedweb
The first part of this blog series contains a small introduction to the MQTT(*) concept. This part will highlight a demo scenario where temperature data is received – asynchronously – from a device. The device data is offered in JSON format and contains the temperature, the sensor ID and a timestamp. Obviously, this da...
https://blogs.sap.com/2016/08/26/experience-iot-using-sap-process-orchestration-part-ii/
CC-MAIN-2017-43
en
refinedweb
I was browsing the source code of this gem and I found a use of content_tag that confuses me a lot. def render(view) view.content_tag(name, attributes[:content], attributes.except(:content)) end Most commonly, content_tag is called in the context of a view - so, you don't need to call view.content_tag because the view ...
https://codedump.io/share/P9cqf811MQPo/1/rails-contenttag-method
CC-MAIN-2017-43
en
refinedweb
. import os import re import time import sys import dns.resolver from threading import Thread class dnsRecord(Thread): def __init__ (self,url): Thread.__init__(self) self.url = url def run(self): answer = dns.resolver.query(self.url,'A') for a in answer: print "%s resolves to: %s\n" % (self.url,a) print time.ctime() ur...
https://www.experts-exchange.com/questions/28595675/asynchronous-dns-lookup.html
CC-MAIN-2017-43
en
refinedweb
I am trying to use expect expect import subprocess expect = """ /usr/bin/expect <<EOF spawn ssh some_machine ls expect eof puts "$expect_out(buffer)" """ output = subprocess.check_output(expect, shell=True) print(output) b'spawn ssh some_machine ls\r\n116029\r\nArchive\r\n\r\n(buffer)\n' ls expect_out(buffer) puts expe...
https://codedump.io/share/fowF2cRJquek/1/using-expect-to-get-output-from-ssh
CC-MAIN-2017-43
en
refinedweb
I created a map with Google Maps that has symbols on it : I would like to put this map in my android application, is there a way to do so? everything I saw online was to create a map and add markers, but if I already have a map how can I put it? You can make a WebView in your Layout, and just load the url in it. public...
https://codedump.io/share/v45CuCXGdw6u/1/how-can-i-put-a-map-that-was-created-in-google-maps-in-my-application
CC-MAIN-2017-43
en
refinedweb
Template:ROOT/Exercises/Compiled ROOT Macros Exercise[edit] Use the script you've written before and modify it so it can be run as compiled macro via ACLiC. - Make sure that both, calling with and without parameter, will still work. - Can your script still be interpreted by CINT after you've changed it? - How is the pe...
https://en.wikibooks.org/wiki/Template:ROOT/Exercises/Compiled_ROOT_Macros
CC-MAIN-2018-13
en
refinedweb
Generic interfaceDownload PDF Info - Publication number - US20050093840A1US20050093840A1 US10986779 US98677904A US2005093840A1 US 20050093840 A1 US20050093840 A1 US 20050093840A1 US 10986779 US10986779 US 10986779 US 98677904 A US98677904 A US 98677904A US 2005093840 A1 US2005093840 A1 US 2005093840A1 - Authority - US ...
https://patents.google.com/patent/US20050093840
CC-MAIN-2018-13
en
refinedweb
Flash CS4 Resources Using Flash ActionScript 3.0 and Components ActionScript 2.0 and Components Adobe AIR Flash Lite Extending Flash Defining a Matrix object for use with a gradient The graphics object can also draw strokes and fills with gradients rather than solid colors. A gradient stroke is created with the lineGra...
https://help.adobe.com/en_US/ActionScript/3.0_ProgrammingAS3/WS5b3ccc516d4fbf351e63e3d118a9b90204-7dd7.html
CC-MAIN-2018-13
en
refinedweb
Here is what I found on the Meltdown and Spectre Bug info so far. Please feel free to add. Please do your research and confirm with your vendor(s) before taking action. This post is for informational purposes only. Article on Meltdown and Spectre bug VMware article: Microsoft article about speculative side-channel exec...
https://supportforums.cisco.com/t5/security-blogs/bg-p/4561-blogs-security
CC-MAIN-2018-13
en
refinedweb
Visualization for joints. More... #include <rendering/rendering.hh> Visualization for joints. Constructor. Destructor. Push a message for a child of this visual which hasn't been loaded yet. Attach a vertex of a line to the position of the visual. Attach a mesh to this visual by name. Attach a renerable object to the v...
http://gazebosim.org/api/dev/classgazebo_1_1rendering_1_1JointVisual.html
CC-MAIN-2018-13
en
refinedweb
From ARM NEON to Intel SSE- the automatic porting solution, tips and tricks By victoria-zhislina (Intel), published on December 12, 2012. 29 commentsTop Luo, Chongyang said on Mar 16,2018 Hi victoria, Really appreciating your efforts on this great thing. But, may I konw how you do the extensive correctness tests for th...
https://software.intel.com/en-us/blogs/2012/12/12/from-arm-neon-to-intel-mmxsse-automatic-porting-solution-tips-and-tricks
CC-MAIN-2018-13
en
refinedweb
Modding a silicone cat lamp to have a nicer rainbow fade. First I wrote some simple C programs that made sure that all the connections to the LEDs worked and a little program that displayed one color when the sensor value is low and another when it is high. I already put parts of different concern in separate C files f...
https://hackaday.io/project/27415-blinkencat
CC-MAIN-2018-13
en
refinedweb
SeductionsOfScala Thursday, July 23, 15The online version contains more material. You can also find this talk and the code used formany of the examples at github.com/deanwampler/Presentations/tree/master/SeductionsOfScala.Copyright © 2010-2015, Dean Wampler. Some Rights Reserved - All use of the photographsand image ba...
https://www.yumpu.com/en/document/view/52341061/seductionsofscala
CC-MAIN-2018-13
en
refinedweb
Path Field Limits Syntax #include <stdlib.h> Remarks These constants define the maximum length for the path and for the individual fields within the path. Note The C Runtime supports path lengths up to 32768 characters in length, but it is up to the operating system, specifically the file system, to support these longe...
https://docs.microsoft.com/en-us/cpp/c-runtime-library/path-field-limits?view=vs-2017
CC-MAIN-2019-18
en
refinedweb
Drawing circle with Pygame is just like drawing a rectangle which I have shown you in the previous post. Let draw a circle on the screen this time with the pygame.draw.circle method. This method takes in the screen surface argument, a tuple consists of the RGB color value for the circle, the tuple consists of the posit...
http://gamingdirectional.com/blog/tag/how-to-draw-circle-with-pygame/
CC-MAIN-2019-18
en
refinedweb
Once we have our Device ID and know which broker we want to use, it's easy to connect to it. We begin by defining an MQTT client variable for our application: private MqttClient mqttClient = null; We then create the corresponding MqttClient object (defined in the Waher.Networking.MQTT namespace). Creating the object wi...
https://www.oreilly.com/library/view/mastering-internet-of/9781788397483/b65d0a3f-348c-4d10-a897-b52eca63d396.xhtml
CC-MAIN-2019-18
en
refinedweb
You can loop through lists and dictionaries using the for keyword. For example, do this to go through a list: for animal in animals echo animalendfor And here's you iterating through a dictionary: for animal in keys(animal_names) echo 'This ' . animal . '''s name is ' . animal_names[animal]endfor You can also access bo...
https://www.oreilly.com/library/view/mastering-vim/9781789341096/15133c81-82ca-4b6a-8ba4-53101326f6f9.xhtml
CC-MAIN-2019-18
en
refinedweb
2.3. Automatic Differentiation¶ In machine learning, we train models, updating them successively so that they get better and better as they see more and more data. Usually, getting better means minimizing a loss function, a score that answers the question “how bad is our model?” With neural networks, we typically choos...
http://d2l.ai/chapter_crashcourse/autograd.html
CC-MAIN-2019-18
en
refinedweb
§Actions, Controllers and Results §What is an Action? Most of the requests received by a Play application are handled by an Action. A play.api.mvc.Action is basically a (play.api.mvc.Request => play.api.mvc.Result) function that handles a request and generates a result to be sent to the client. def. The first simplest ...
https://www.playframework.com/documentation/2.6.1/ScalaActions
CC-MAIN-2019-18
en
refinedweb
This is a short post about how these programming languages compare with each other when it comes to declaring functions with optional parameters and default values. Feel free to leave alternatives in other languages in the comments. Python. The good. Python is my favorite. Use your parameters in any order and define th...
https://guidogarcia.net/blog/2014/01/18/function-parameters-python-java-javascript/
CC-MAIN-2019-18
en
refinedweb
I have two long dates value.. It is based on long values First you need to get your timestamps in to Date() objects, which is simple using the constructor. Then you can use the below function to calculate the difference in days: var date1 = new Date(1433097000000); var date2 = new Date(1434479400000); function daydiff(...
http://databasefaq.com/index.php/answer/186/javascript-jquery-date-how-to-find-the-days-b-w-two-long-date-values
CC-MAIN-2019-18
en
refinedweb