text
stringlengths
20
1.01M
url
stringlengths
14
1.25k
dump
stringlengths
9
15
lang
stringclasses
4 values
source
stringclasses
4 values
[01 - programmatic menus in Gatsby] January 20, 2019 by alex christie Programmatically generating menus is a difficult concept at first because it seems simple enough just to hard code your menu into a component. However, making a reusable and data agnostic menu component is really easy and can travel with you from pro...
https://www.inadequatefutures.com/blog/01-programmatic-menu/
CC-MAIN-2020-24
en
refinedweb
Return variables with Flask bluepaperbirds ・2 min read Python can be used for web development, Flask is a Python web framework based on WSGI. Flask lets you build web apps with Python (what is Flask). You can use Flask to build single page apps, a blog, web apps and many more things. Some people use it to build a user ...
https://practicaldev-herokuapp-com.global.ssl.fastly.net/bluepaperbirds/return-variables-with-flask-m34
CC-MAIN-2020-24
en
refinedweb
Visual Studio “14” CTP Today,++: - Generalized lambda capture: You can assign the result of evaluating an expression to a variable in the capture clause of a lambda. This allows an instance of a move-only type to be captured by value. - User-defined literals in the language and standard library: You can append numeric ...
https://devblogs.microsoft.com/cppblog/visual-studio-14-ctp/
CC-MAIN-2020-24
en
refinedweb
Early on, I was working on the problem of rendering a virtual forest based on real LiDAR data in order to do things like a detailed, vegetation included, viewshed. There are other things we can do with this data, including discovering the boundary of the canopy (and thus find canopy gaps) and rendering a vegetation sur...
https://smathermather.com/2009/11/11/rendering-a-vegetation-surface-model-using-povray/
CC-MAIN-2020-24
en
refinedweb
from IPython.display import display import spot spot.setup(show_default='.bans') This notebook demonstrates how to use the decompose_scc() function to split an automaton in up to three automata capturing different behaviors. This is based on the paper Strength-based decomposition of the property Büchi automaton for fas...
https://spot.lrde.epita.fr/ipynb/decompose.html
CC-MAIN-2020-24
en
refinedweb
Searduino is made to ease and speed up developing code for the Arduino boards. In short, with Searduino you get With Searduino you can use your favorite Editor to develop your program. Write plain C code and compile it either for any of the Arduino boards or for your local computer. Autobuild and test your code with no...
http://download-mirror.savannah.gnu.org/releases/searduino/manual/searduino-manual.html
CC-MAIN-2020-29
en
refinedweb
. Citation format van Gent, P. (2016). Emotion Recognition Using Facial Landmarks, Python, DLib and OpenCV. A tech blog about fun things with Python and embedded electronics. Retrieved from: IE users: I’ve gotten several reports that sometimes the code blocks don’t display correctly or at all on Internet Explorer. Plea...
http://www.paulvangent.com/2016/08/05/emotion-recognition-using-facial-landmarks/?replytocom=619
CC-MAIN-2020-29
en
refinedweb
fabs function in C : The fabs function is defined in math.h header file. It is used to find out the absolute value of a number. fabs takes one double number as argument and returns the absolute value of that number. In this tutorial , we will show you how to use fabs function in C with examples. Syntax of fabs : The sy...
https://www.codevscolor.com/c-fabs-function/
CC-MAIN-2020-29
en
refinedweb
Execute non-techies to reuse what the techies have been using server side without having to involve 1) the techies, 2) the overhead of logging in to the server, or worse 3) the business users perform PowerShell commands server side (..and therefore running the risk of executing something incorrectly and/or making a sec...
http://jeffmurr.com/blog/?p=142&replytocom=3102
CC-MAIN-2020-29
en
refinedweb
public class FlutterEngineCache extends Object FlutterEngineinstances identified by Strings. The ID of a given FlutterEngine can be whatever String is desired. FlutterEngineCache is useful for storing pre-warmed FlutterEngine instances. FlutterActivity and FlutterFragment use the FlutterEngineCache singleton internally...
https://api.flutter.dev/javadoc/io/flutter/embedding/engine/FlutterEngineCache.html
CC-MAIN-2020-29
en
refinedweb
Before starting to create a new Visual C++ application project Win32 Smart Device Project. 4. Specify a name and a location for the application and then click OK. Uncheck the Create directory for solution box. 5. In the Welcome to Win32 Smart Device Project Wizard, select Next. 6. In Platforms window, select Toradex_CE...
https://developer.toradex.cn/knowledge-base/create-a-new-vcpp-project
CC-MAIN-2020-29
en
refinedweb
I have working with rich text editor in SharePoint and needed to read the plain text to put in title of a list item. Here is the code I came up with to solve. You can also use this in ASP.NET but you need to use HtmlDecode . using System.Text; using System.Text.RegularExpressions; using System.Web;
http://blog.techamit.com/2012/10/
CC-MAIN-2020-29
en
refinedweb
N = 47 K = 7 def F(c): a = c & -c b = a + c return (((b ^ c) >> 2)//a) | b def getSet(s): a = [] k = 1 while s != 0: if (s & 1) == 1: a.append(k) k += 1 s >>= 1 return a def getSubSet(s, set): a = [] k = 0 while s != 0: if (s & 1) == 1: a.append(set[k]) k += 1 s >>= 1 return a S = sum def hasProp(set): if (set[1] < K):...
http://pelangchallenge.blogspot.com/2016/02/problem-103-something-happened.html
CC-MAIN-2020-29
en
refinedweb
I’ve spent a good portion of my professional career working with WordPress, and I’ve come to learn a couple of things: Popularity breeds contempt, and to dismiss something based solely on the critiques of others is a missed opportunity. WordPress and I started out great, but as time went on we became more and more dist...
https://css-tricks.com/timber-and-twig-reignited-my-love-for-wordpress/
CC-MAIN-2020-29
en
refinedweb
Hi Yury, This is really cool. Some notes on a first read: 1. Excellent work on optimizing dict, that seems valuable independent of the rest of the details here. 2. The text doesn't mention async generators at all. I assume they also have an agi_isolated_execution_context flag that can be set, to enable @asyncontextmana...
https://mail.python.org/pipermail/python-ideas/2017-August/046736.html
CC-MAIN-2020-29
en
refinedweb
Weblogic Server Administration Tutorial weblogic server administration tutorial from svr technologies by 12+ years experienced faculty. 30+ Tutorial videos & 100+ interview questions and answers. You, Will, Learn in Weblogic Tutorial 1. Question: How Can Port Number Be Checked? Answer: Port Checker is a simple and free...
https://svrtechnologies.com/weblogic-server-administration-tutorial/
CC-MAIN-2020-29
en
refinedweb
Quickstart¶ Here is a quick run-down of how you accomplish common tasks. Load a FeatureSet from a file: from skll import Reader example_reader = Reader.for_path('myexamples.megam') train_examples = example_reader.read() Or, work with an existing pandas DataFrame: from skll import FeatureSet train_examples = FeatureSet....
http://scikit-learn-laboratory.readthedocs.io/en/latest/api/quickstart.html
CC-MAIN-2018-13
en
refinedweb
Full Text Search: The Key to Better Natural Language Queries for NoSQL in Node.js Watch→ The schema contains information about the constituent columns of each DataTable object. (Column information includes name, type, any expression, and all the contents of the ExtendedProperties collection.) The schema is always writt...
http://www.devx.com/dotnet/Article/10542/0/page/3
CC-MAIN-2018-13
en
refinedweb
Qt Quick tutorial This is an introductory Qt Quick tutorial. The tutorial teaches the basics of programming in Qt Quick. The tutorial is written using Qt 5.5.1. Qt Quick Qt Quick is a modern user interface technology that separates the declarative user interface design and the imperative programming logic. It is an app...
http://zetcode.com/gui/qtquick/
CC-MAIN-2018-13
en
refinedweb
sage.plot.plot3d.shapes2.Line() does not work in the cloud The following code (straight from...) does not work in the SageMath Cloud, at least not for me: from sage.plot.plot3d.shapes2 import Line Line([(i*math.sin(i), i*math.cos(i), i/3) for i in range(30)], arrow_head=True) The result is a long error message ending w...
https://ask.sagemath.org/question/29546/sageplotplot3dshapes2line-does-not-work-in-the-cloud/
CC-MAIN-2018-13
en
refinedweb
Java is an Object-Oriented Language. As a language that has the Object-Oriented feature, Java supports the following fundamental concepts − -.. Classes in Java A class is a blueprint from which individual objects are created. Following is a sample of a class. Example public class Dog { String breed; int ageC String col...
http://blogs.binarytitans.com/2016/04/java-object-and-classes.html
CC-MAIN-2018-13
en
refinedweb
Introduction to Google Maps API for Android From fitness apps such as Runkeeper to games such as Pokemon Go, location services are an increasingly important part of modern apps. In this Google Maps API tutorial, you will create an app named City Guide. The app allows a user to search for a location, use Google Maps to ...
https://www.raywenderlich.com/144066/introduction-google-maps-api-android
CC-MAIN-2018-13
en
refinedweb
Zones¶ Say you create a room named Meadow in your nice big forest MUD. That’s all nice and dandy, but what if you, in the other end of that forest want another Meadow? As a game creator, this can cause all sorts of confusion. For example, teleporting to Meadow will now give you a warning that there are two Meadow s and...
http://evennia.readthedocs.io/en/latest/Zones.html
CC-MAIN-2018-13
en
refinedweb
cc [ flag ... ] file ... -lpam [ library ... ] #include <security/pam_appl.h> #include <security/pam_modules.h> In response to a call to pam_open_session(3PAM) and pam_close_session(3PAM), the PAM framework calls pam_sm_open_session() and pam_sm_close_session(), respectively from the modules listed in the pam.conf(4) f...
http://www.shrubbery.net/solaris9ab/SUNWaman/hman3pam/pam_sm_open_session.3pam.html
CC-MAIN-2016-22
en
refinedweb
Red Hat Bugzilla – Full Text Bug Listing the xcrypt() function can use the crypt() function underneath, which can return NULL. But xcrypt() output is blindly strcmp()'ed. Attached patch addresses this. Patch also send upstream. crypt() returning NULL can happen in fips mode when the hash algo is not an approved algorit...
https://bugzilla.redhat.com/show_bug.cgi?format=multiple&id=815993
CC-MAIN-2016-22
en
refinedweb
Subject: Re: [OMPI users] How to force eager behavior during Isend? From: George Bosilca (bosilca_at_[hidden]) Date: 2008-12-08 14:44:42 Barry, If you set the eager size large enough, the isend will not return until the data is pushed into the network layer. However, this doesn't guarantee that the data is delivered to...
https://www.open-mpi.org/community/lists/users/2008/12/7469.php
CC-MAIN-2016-22
en
refinedweb
#include <StelGui.hpp> Inherits StelModule. It manages the various qt configuration windows, the buttons bars, the list of QAction/shortcuts. Initialize the StelGui object. Implements StelModule. Execute all the drawing functions for this module.. Return the value defining the order of call for the given action For exa...
http://www.stellarium.org/doc/0.10.1/classStelGui.html
CC-MAIN-2016-22
en
refinedweb
hello,hello, I have a problem wit my script I'm trying to make. The compiler tells me its fine but when I open it and press the button to perform the action I want it gives me allot of lines in the program I'm writting the code in (the compiler section) and well I just can't seem to find out how to get it to work prope...
http://www.codingforums.com/java-and-jsp/206121-repetition-choice-panel.html
CC-MAIN-2016-22
en
refinedweb
Under NT, serial ports are exclusive devices, and only one application can have a port open at a time. Thats normally what youd want, but there are many cases when it would be handy to be able to spy on the serial communications of another application. For example, you might be trying to debug your own high-level drive...
http://www.drdobbs.com/a-serial-port-spy-for-nt/184416559
CC-MAIN-2016-22
en
refinedweb
List performance consolidation thread I'm building a music control application, consisting of a dedicated LAN-only HTTP server, and Sencha-based clients. The nature of this application means that I must deal gracefully with lists of data potentially in the 10,000 to 100,000 item range, with a high degree of interactivi...
https://www.sencha.com/forum/showthread.php?119185-List-performance-consolidation-thread/
CC-MAIN-2016-22
en
refinedweb
switch statement Executes code according to the value of an integral argument. Used where one or several out of many branches of code need to be executed according to an integral value. [edit] Syntax [edit] Explanation The body of a switch statement may have an arbitrary number of case: labels, as long as the values of...
http://en.cppreference.com/w/c/language/switch
CC-MAIN-2016-22
en
refinedweb
HsOpenSSL is a (part of) OpenSSL binding for Haskell. It can generate RSA keys, read and write PEM files, generate message digests, sign and verify messages, encrypt and decrypt messages. But since OpenSSL is a very large library, it is uneasy to cover everything in it. Features that aren't (yet) supported: So if you f...
http://hackage.haskell.org/package/HsOpenSSL-0.1/docs/OpenSSL.html
CC-MAIN-2016-22
en
refinedweb
On 9/26/06, MikeyBoy <fjoyuwmc@yahoo.com> wrote: > > Hi Rob, forgive my ignorance, I'm just starting out with ActiveMQ. I am > puzzled where the activemq-dotnet.dll file you mentioned comes from. I built > my own NMS.dll file using MSVS using just the NMS source, which does not > contain any ActiveMQ namespace. Do I al...
http://mail-archives.apache.org/mod_mbox/activemq-users/200609.mbox/%3Cec6e67fd0609252355m3fa06a8dlcb8a50941afa3083@mail.gmail.com%3E
CC-MAIN-2016-22
en
refinedweb
/* Wrapper for systems without the various C99 single precision Bessel_J0 && !HAVE_J0F extern float j0f (float); float j0f (float x) { return (float) j0 ((double) x); } #endif #if HAVE_J1 && !HAVE_J1F extern float j1f (float); float j1f (float x) { return (float) j1 ((double) x); } #endif #if HAVE_JN && !HAVE_JNF exter...
http://opensource.apple.com/source/llvmgcc42/llvmgcc42-2118/libgfortran/intrinsics/bessel.c
CC-MAIN-2016-22
en
refinedweb
mtrace, muntrace − malloc tracing #include <mcheck.h> void mtrace(void); void muntrace(void); The. These functions are GNU extensions.). The line-number information produced by mtrace(1) is not always precise: the line number references may refer to the previous or following (nonblank) line of the source code. The)). m...
http://man.sourcentral.org/ubuntu1510/3+mtrace
CC-MAIN-2016-22
en
refinedweb
I'm trying to understand the filter function and have run into a problem with my first test.I'm trying to understand the filter function and have run into a problem with my first test. Why does the function seem to add 1 to each element of the original array but returns one less element in the new array? The commented ...
http://www.codingforums.com/javascript-programming/285289-filter-function-question.html?s=7305280f24967f29ac969404c43a9730
CC-MAIN-2016-22
en
refinedweb
This tutorial has been a long time coming and for anyone who has been following the other tutorials I apologize. In this tutorial I will cover one of the most useful topics in game programming, Game States. Game States are extremely useful, lets say you have a game with a menu screen, pause screen, play screen and game...
http://www.dreamincode.net/forums/topic/120775-beginning-sdl-part-4-state-manager/
CC-MAIN-2016-22
en
refinedweb
Add a Slapi_ValueSet data value to the specified attribute in an entry. #include "slapi-plugin.h" int slapi_entry_add_valueset(Slapi_Entry *e, const char *type, Slapi_ValueSet *vs); This function takes the following parameters: Entry to which you want to add values. Attribute type to which you want to add values. Slapi...
http://docs.oracle.com/cd/E19693-01/819-0996/aaifv/index.html
CC-MAIN-2016-22
en
refinedweb
5 Things to Look for in JRuby 1.4 The team has finally wrapped up the long summer of JRuby-related travel, and it's time to set our sights on a new version of JRuby for the community to lovingly embrace. The release itself is tentatively planned to enter a round of release candidates at the end of September. Please pre...
https://blog.engineyard.com/2009/5-things-to-look-for-in-jruby-1-4
CC-MAIN-2016-22
en
refinedweb
> Setup: somewhere there should be storage of dependencies. In my script, > .java and .class files lived in the same directory (no -d option), and I > added .dep files for each source as well in the same directory. Each > .dep file was a text file with a list of dependencies, one per line, > given as class names (outer...
http://mail-archives.apache.org/mod_mbox/ant-dev/200007.mbox/%3C013b01bff320$54852c20$40b7729e@ple.trw.com%3E
CC-MAIN-2016-22
en
refinedweb
I (as many others) have been frustrated with the lack of a print screen button on the Pocket PC. So when my colleagues trial version of a screen capture utility expired I decided to create one myself. After Googling around I found clues but no complete solution so I thought a nice first step would be to write a CodePro...
http://www.codeproject.com/Articles/26944/A-Screen-Capture-Tool-for-Windows-Mobile-5
CC-MAIN-2016-22
en
refinedweb
Java.math.BigDecimal.setScale() Method Description The. Since BigDecimal objects are immutable, calls of this method do not result in the original object being modified, contrary to the usual convention of having methods named setX mutate field X. Instead, setScale returns an object with the proper scale; the returned ...
http://www.tutorialspoint.com/java/math/bigdecimal_setscale_rm_roundingmode.htm
CC-MAIN-2016-22
en
refinedweb
OSEE/ATS/Users Guide/Usage Contents - 1 Creating a new ATS action - 2 Priorities for classifying problems - 3 OSEE Spell Checking - 4 Peer To Peer Review Workflow - 5 Decision Review Workflow - 6 ATS Notifications - 7 Configure ATS for Change Tracking - 8 Configure Team Definition - 9 Configure Actionable Items (AI) - ...
http://wiki.eclipse.org/OSEE/ATS/Users_Guide/Usage
CC-MAIN-2016-22
en
refinedweb
tifa in the tub tarnish cloth laggan movie new jersey motor vehicle spawar charleston wheels and tires aliens vs predator movie pics de julio video voltio dating advice for man dominio hosting gratis j k rowling fetish menstruation trinida american pit bull terrier video anarchist cookbook movie review folding banquet ...
http://becquaenz1.blogspot.com/
crawl-002
en
refinedweb
A Forms Editor allows you to add, move, resize, and delete controls on your form. The dialog editor of VC6 and the Forms Designer of VS.NET are Forms Editors we commonly use at design time. In the .NET framework, this functionality is wrapped as several services, to enable programmers to write their own Forms Editors t...
http://www.codeproject.com/KB/cs/SharpFormEditorDemo.aspx
crawl-002
en
refinedweb
mx.data.binding.ObjectDumper Tired of using trace and getting [object Object],[object Object],[object Object], etc and then having to write a recursive function to burrow down through the entire object. Jen deHaan () posted up a really cool tidbit on using ObjectDumper. Article: Hidden component goodness: ObjectDumper ...
http://www.yapiodesign.com/blog/2005/04/06/mxdatabindingobjectdumper/
crawl-002
en
refinedweb
Recent: Archives: TestNG, written by Cedric Beust and Alexandru Popescu, is a light framework based on Java annotations (for J2SE 5.0) that allows you to design complex unit testing for J2SE 5.0 and J2SE 1.4. Why bother learning another unit-testing framework when you're already comfortable using JUnit? If you are inte...
http://www.javaworld.com/javaworld/jw-04-2005/jw-0404-testng.html
crawl-002
en
refinedweb
While Ruby and Groovy seem to get all of the attention, there's one 'scripting language' - and I'll leave it to the purists to argue the merits of that term and how it applies to these languages - that has been around for a lot longer and which has quietly been picking up in popularity over the long run. That language ...
http://www.techbookreport.com/tutorials/ironpython_01.html
crawl-002
en
refinedweb
Checking Network Status with CFNetDiagnosticsHere's a quick and dirty technique for checking the current status of the network connection. This example will only work in Tiger and up, and doesn't use the interactive network troubleshooting UI. #import "Controller.h" #import <CoreServices/CoreServices.h> @implementation...
http://theocacao.com/document.page/206
crawl-002
en
refinedweb
Installing Trac without root privsMarch 20, 2008 – 12:13 pm Trac is a most excellent bugtracking, wiki, version control, <insert other things relevant to development> system. However, the default instructions for installing Trac require root (superuser) privs, which isn’t possible if you use a shared server (I do) or d...
http://blog.melchua.com/2008/03/20/installing-trac-without-root-privs/
crawl-002
en
refinedweb
LastFMProxy Last. It’s only tested under Linux, but it’s written in python, and should be pretty portable. If not, feel free to inform me. Maybe I can fix it.) (It’s been reported to work under various versions of Windows, Mac OS X and Pocket PC. Thanks to the feedbackers.) [Dec 20th 2007] New version: LastFMProxy-1.3b...
http://vidar.gimp.org/%3Fpage_id=50
crawl-002
en
refinedweb
Rant vs. Rake Since many people (especially Ruby programmers) that know Rake ask for a Rake/Rant comparison, I’ll spend a few paragraphs on this topic. This comparison is for Rant 0.4.8 and Rake 0.6.2. If not stated otherwise, this document assumes a standard Ruby 1.8/1.9 installation without additional libraries (exce...
http://make.rubyforge.org/files/doc/rant_vs_rake_rdoc.html
crawl-002
en
refinedweb
Re: Solution for sorting an array alpha-numerically - From: "Nick Malik [Microsoft]" <nickmalik@xxxxxxxxxxxxxxxxxx> - Date: Fri, 15 Jul 2005 08:16:18 -0700 Thank you for the clarification, Lacey. I admit that I had not seen the distinction that you are drawing, and I appreciate the effort you put into describing it. I ...
http://www.tech-archive.net/Archive/DotNet/microsoft.public.dotnet.general/2005-07/msg00784.html
crawl-002
en
refinedweb
I generally subscribe to the attitude that premature optimizations are evil, but I strongly believe that a robust caching strategy should evolve alongside the rest of the system. Waiting too long makes it hard to cleanly and thoughtfully add caching. Besides, in my experience, a considered caching strategy generally me...
http://codebetter.com/blogs/karlseguin/archive/2008/07/07/scale-cheaply-memcached.aspx
crawl-002
en
refinedweb
NetZ is a fantastic tool for merging your executable and dependent assemblies into a single, zipped, executable. Using NetZ makes distribution of an application very easy, and it provides a layer of protection from programs like Reflector without having to buy into an obfuscation approach. However, a NetZ application w...
http://www.codeproject.com/KB/cs/NetzDynamicAssemblies.aspx
crawl-002
en
refinedweb
Flex form with a 3d twist I just started experimenting with Papervision and wanted to try something I have not seen yet, integrating a Flex view into the 3d realm. There are plenty of samples of really neat looking cars, animals and shapes getting rotated every which way but nothing that shows how to blend something ap...
http://www.dgrigg.com/post.cfm/04/18/2007/Flex-form-with-a-3d-twist
crawl-002
en
refinedweb
Re: Desktop Creation - From: BT <BT@xxxxxxxxxxxxxxxxxxxxxxxxx> - Date: Sat, 15 Sep 2007 02:26:02 -0700 Thanks for your reply. I read the book 'Writing Secure Code', second edition (Michael Howard and David Leblanc) and when I develop an application I take care about security. For instance, when I create any resource, I...
http://www.tech-archive.net/Archive/Development/microsoft.public.win32.programmer.kernel/2007-09/msg00115.html
crawl-002
en
refinedweb
This notebook demonstrates how to access and manipulate data in the Allen Mouse Brain Connectivity Atlas. The MouseConnectivityCache AllenSDK class provides methods for downloading metadata about experiments, including their viral injection site and the mouse's transgenic line. You can request information either as a P...
https://allensdk.readthedocs.io/en/latest/_static/examples/nb/mouse_connectivity.html
CC-MAIN-2021-17
en
refinedweb
Running Schema Registry in Production¶ This topic describes the key considerations before going to production with your cluster. However, it is not an exhaustive guide to running your Schema Registry in production..-Datacenter configurations should be changed for production environments. These options depend on your cl...
https://docs.confluent.io/5.5.0/schema-registry/installation/deployment.html
CC-MAIN-2021-17
en
refinedweb
/* Keyboard and mouse input; editor command loop. 1996, 1997, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 <signal.h> #include <stdio.h> #include "termchar.h" #include "termopts.h" #include "lisp.h" #include "termhooks.h" #include "macros.h" #include "keyboard.h" #include "frame.h" #include "window.h" #include "comma...
https://emba.gnu.org/emacs/emacs/-/blame/b9e590fc9573a874e26203ddad566325b97dc2c3/src/keyboard.c
CC-MAIN-2021-17
en
refinedweb
Sticking a custom back button item into a NavigationView? Whoo-boy...I am spamming the airwaves this past couple days. Here's another one...in my attempts to get the NavigationView to be a little less half-baked for my purposes, I need a way to know when the back button is pressed. So I thought I'd be clever and insert...
https://forum.omz-software.com/topic/5432/sticking-a-custom-back-button-item-into-a-navigationview
CC-MAIN-2021-17
en
refinedweb
hash-based message authentication code (HMAC) wrapper cast to unsigned before << 4 to avoid (pedantic) undefined behavior of (time_t) (which is signed integral type) on 32-bit signed time_t The high bit gets shifted into the sign-bit, which is technically undefined behavior in C, but is defined behavior in C++. x-ref: ...
https://git.lighttpd.net/lighttpd/lighttpd1.4/commits/branch/master?page=3
CC-MAIN-2021-17
en
refinedweb
Review: From the Abyss (Nintendo DS) From the Abyss Genre: Dungeon Hack Developer: Sonic Powered Publisher: Aksys Games Release Date: 08/26/08 Japanese dungeon hacking action RPG’s, despite sharing many of same characteristics of their Western counterparts, often tend to be completely different in their designs and imp...
https://diehardgamefan.com/2008/09/10/review-from-the-abyss-nds/
CC-MAIN-2021-17
en
refinedweb
I'm trying to run a function inside DefaultTrackableEventHandler.cs after Vuforia detects the target by using the protected virtual void OnTrackingFound() but Vuforia can't detect the namespace that I'm using which is saved inside the Assets folder plus whenever I restart Visual Studio, every code that I've added to th...
https://developer.vuforia.com/forum/unity/how-run-function-inside-vuforias-defaulttrackableeventhandlercs
CC-MAIN-2021-17
en
refinedweb
Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you may not be able to execute some actions. Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript). Let's say I have a simulation object and that its grid is already...
https://forum.zmt.swiss/topic/42/how-to-get-the-bounding-box-of-the-computational-domain-of-a-given-simulation-from-python
CC-MAIN-2021-17
en
refinedweb
The QFontEnginePlugin class is the base class for font engine factory plugins in Qtopia Core. More... #include <QFontEnginePlugin> This class is under development and is subject to change. Inherits QObject. This class was introduced in Qt 4.3. The QFontEnginePlugin class is the base class for font engine factory plugin...
https://doc.qt.io/archives/qtopia4.3/qfontengineplugin.html
CC-MAIN-2021-17
en
refinedweb
Given a sorted array with n elements which is rotated at some point. There is a number key which needs to be searched in this array. Write a program which searches for this key in the array. The worst case time complexity of this solution should not exceed O(logn) . Example Test Cases Sample Test Case 1 Array: 5, 6, 9,...
https://prepfortech.in/interview-topics/modified-binary-search/searching-in-a-rotated-sorted-array
CC-MAIN-2021-17
en
refinedweb
HTML/Adobe AIR Application Diversion Three - Add ActionScript to your HTML This post is more than 2 years old. So time for another diversion, once again care of Hatem who suggested it to me today. This is a feature I talked about briefly during my last presentation but didn't have a chance to actually play with. Today ...
https://www.raymondcamden.com/2010/08/17/HTMLAdobe-AIR-Application-Diversion-Three-Add-ActionScript-to-your-HTML
CC-MAIN-2021-17
en
refinedweb
We have already covered the PyTorch loss functions implementations in our previous article, now we are heading forward to the other libraries that have been used more widely than PyTorch, today we are going to discuss the loss functions supported by the Tensorflow library, there are almost 15 different kinds of loss fu...
https://analyticsindiamag.com/ultimate-guide-to-loss-functions-in-tensorflow-keras-api-with-python-implementation/
CC-MAIN-2021-17
en
refinedweb
{ View } from 'react-native'; export default class FixedDimensionsBasics extends Component { render() { return ( <View> <View style={{width: 50, height: 50, backgroundColor: 'powderblue'}} /> <View style={{width: 100, height: 100, backgroundColor: 'skyblue'}} /> <View style={{width: 150, height: 150, backgroundColor: ...
http://reactnative.dev/docs/0.57/height-and-width
CC-MAIN-2020-40
en
refinedweb
These are chat archives for FreeCodeCamp/HelpFrontEnd @rrspence The length is optional. var str = "Open sesame"; var lastFive = str.substr(-5); // esame OR...only get the 3 characters after the fifth to last character: var str = "Open sesame"; var lastFive = str.substr(-5, 3); // esa confirmEnding("Open sesame", "same"...
https://gitter.im/FreeCodeCamp/HelpFrontEnd/archives/2018/03/01?at=5a9794186f8b4b9946d5f69a
CC-MAIN-2020-40
en
refinedweb
@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAWSIoTEvents extends Object implements AWSIoTEvents AWSIoTEvents. Convenient method forms pass through to the corresponding overload that takes a request object, which throws an UnsupportedOperationException. ENDPOINT_PREFIX equals, getC...
https://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/services/iotevents/AbstractAWSIoTEvents.html
CC-MAIN-2020-40
en
refinedweb
I have a query, as follows: Background: There is a detailed validated model in hoc with several mod files for ion channels. These ion channels access FUNCTION_TABLE (Tautables) from a hoc file. I am rebuilding this existing model from scratch in Python. However, I am stuck with a fatal error. Issue: To figure out the e...
https://www.neuron.yale.edu/phpBB/viewtopic.php?p=17650
CC-MAIN-2020-40
en
refinedweb
public class MBeanRegistrationSupport extends Object MBeanServer. The behavior when encountering an existing MBean at a given ObjectNameis fully configurable allowing for flexible registration settings. All registered MBeans are tracked and can be unregistered by calling the # unregisterBeans() method. Sub-classes can ...
https://docs.spring.io/spring-framework/docs/5.2.3.RELEASE/javadoc-api/org/springframework/jmx/support/MBeanRegistrationSupport.html
CC-MAIN-2020-40
en
refinedweb
Introducing Web Programming with .NET For the past few months, you've been hearing all the hoopla and marketing buzz surrounding .NET. You've heard claims that .NET will totally change the way all programming is done, that .NET will revolutionize the Internet. Like many major new technologies, .NET is a significant imp...
https://www.informit.com/articles/article.aspx?p=25755
CC-MAIN-2020-40
en
refinedweb
Does enumerate() produce a generator enumerate() produce a generator object? As a complete Python newbie, it certainly looks that way. Running the following... x = enumerate(['fee', 'fie', 'foe']) x.next() # Out[1]: (0, 'fee') list(x) # Out[2]: [(1, 'fie'), (2, 'foe')] list(x) # Out[3]: [] ... I notice that: (a) x does...
https://prodevsblog.com/questions/149734/does-enumerate-produce-a-generator-object/
CC-MAIN-2020-40
en
refinedweb
This project provides a SDK library in Java for interacting with SQL API of Azure Cosmos DB Database Service. This project also includes samples, tools, and utilities. Jar dependency binary information for maven and gradle can be found here at maven. For example, using maven, you can add the following dependency to you...
https://www.programcreek.com/java-api-examples/?project_name=Azure%2Fazure-cosmosdb-java
CC-MAIN-2020-40
en
refinedweb
For both CUDA 8.0 and CUDA 10.2, section E.1. of the CUDA Programing Guide states the maximum error of erfcinvf() (vs. the mathematical result rounded to single precision) as: However, in following up on some observations, I found that the maximum error of this function in CUDA 8.0 seems to be 4 ulp, not 2 ulp. Below I...
https://forums.developer.nvidia.com/t/larger-than-expected-documented-error-in-erfcinvf/111299
CC-MAIN-2020-40
en
refinedweb
import "gocloud.dev/mysql" Package mysql provides functions to open MySQL databases with OpenCensus instrumentation. Scheme is the URL scheme this package registers its URLOpener under on DefaultMux. ConfigFromURL creates a mysql.Config from URL. Open opens the bucket identified by the URL given. URL openers must be re...
https://godoc.org/gocloud.dev/mysql
CC-MAIN-2020-40
en
refinedweb
Circular Progress The Circular Progress component is used to indicates the progress for both determinate and indeterminate processes. - Determinate progress fills the circular track with color, as the indicator moves from 0 to 360 degrees. - Indeterminate progress grow and shrink the indicator while moving along the ci...
https://vue.chakra-ui.com/circularprogress
CC-MAIN-2020-40
en
refinedweb
a dataset from an HDF5 file created from a CSV file, using PyTorch's data loading utilities. For a more in-depth discussion, please see the official An Hierarchical Data Format (HDF) is a convenient way that allows quick access to data instances during minibatch learning if a dataset is too large to fit into memory. T...
https://nbviewer.jupyter.org/github/rasbt/deeplearning-models/blob/master/pytorch_ipynb/mechanics/custom-data-loader-csv.ipynb
CC-MAIN-2020-40
en
refinedweb
Azure Contoso Loans Azure Monitor Network Azure Monitor CPU. Installation This plugin requires Grafana 4.5.0 or newer (5.2.0 or newer if you are querying Azure Log Analytics). Grafana Cloud If you do not have a Grafana Cloud account, you can sign up for one here. Click on the Install Nowbutton on the Azure Monitor Moni...
https://grafana.com/grafana/plugins/grafana-azure-monitor-datasource?src=blog&camp=timeshift_17
CC-MAIN-2020-40
en
refinedweb
REMOVE(3) Linux Programmer's Manual REMOVE(3) remove - remove a file or directory #include <stdio.h> int remove(const char *pathname);. On success, zero is returned. On error, -1 is returned, and errno is set appropriately. The errors that occur are those for unlink(2) and rmdremove() │ Thread safety │ MT-Safe │ └─────...
https://man7.org/linux/man-pages/man3/remove.3.html
CC-MAIN-2020-40
en
refinedweb
SetKnot to a gradient does not work properly On 17/03/2013 at 03:46, xxxxxxxx wrote: Hi, i am new to phyton and have a problem regarding the gradient of a material. I would like to control the knots as shown below but it does not work. I found a post similar to my problem and tried the adviceses from there but it does ...
https://plugincafe.maxon.net/topic/7039/7949_setknot-to-a-gradient-does-not-work-properly
CC-MAIN-2020-40
en
refinedweb
In this tutorial we will learn how to combine the cpplinq skip and take operators to be able to obtain a given section of an integer array. The tests shown on this tutorial were performed using an ESP32 board from DFRobot. Introduction In this tutorial we will learn how to combine the cpplinq skip and take operators to...
https://techtutorialsx.com/2019/06/23/esp32-cpplinq-combining-the-skip-and-take-operators/
CC-MAIN-2020-40
en
refinedweb
So, let's start from the beginning, what are functional components? Well, those are components that are more lightweight because they don't have any data, or computed, nor lifecycle events. They can be treated as just functions that are re-executed once the parameters passed down to it changes. For more information you...
https://dev.to/vhoyer/functional-components-in-vue-js-20fl
CC-MAIN-2020-40
en
refinedweb
import random import numpy as np import matplotlib.pyplot as plt from math import sqrt, pi, erf import scipy.stats as ss Parametric Statistics: What we've seen before, where we do statistics by assuming the data follows some underlying probability distribution (like normal distribution). Sometimes this is a good assump...
https://nbviewer.jupyter.org/github/whitead/numerical_stats/blob/master/unit_10/lectures/lecture_2.ipynb
CC-MAIN-2020-40
en
refinedweb
chdir() Change the current working directory Synopsis: #include <unistd.h> int chdir( const char* path ); Arguments: - path - The new current working directory. Library: libc Use the -l c option to qcc to link against this library. This library is usually included automatically. Description: The chdir() function change...
https://developer.blackberry.com/playbook/native/reference/com.qnx.doc.neutrino.lib_ref/topic/c/chdir.html
CC-MAIN-2020-40
en
refinedweb
File Server Migration and Upgrade Luke Gallagher 2 WeeksDuration 100Users 100Devices 1000 GBData File and print server migration from Windows server 2003 to windows server 2012 r2 Liverpool, United Kingdom Team Members Tagged MSPs Categories Windows Data Storage, Backup & Recovery Software Formatted an unused Dell M600...
https://community.spiceworks.com/people/lukegallagher/projects/file-server-migration-and-upgrade
CC-MAIN-2020-40
en
refinedweb
Python provides the Signal library allowing developers to catch Unix signals and set handlers for asynchronous events. For example, the SIGTERM (Terminate) signal is received when issuing a kill command for a given Unix process. Via the signal library, we can set a handler (function) callback that will be executed when...
https://docs.builtoncement.com/additional-topics/signal-handling
CC-MAIN-2020-40
en
refinedweb
Overview The goal of this project was to display real time activity from my companies Github feed. I used an RGB LED matrix to display information about the last 30 events, including the username of whoever is responsible for the most recent event. Here is a video of the display operating. This project uses the followi...
http://jack.minardi.org/projects/displaying-realtime-github-activity-on-a-full-color-led-matrix/
CC-MAIN-2018-26
en
refinedweb
EC2 autodiscovery and multicast was blocked so built-in multicast support was useless. The last resort was TCP/IP cluster where addresses of all nodes need to be hard-coded in XML configuration: OK, now where <tcp-ip <member>machine1</member> <member>machine2</member> <member>machine3:5799</member> <member>192.168.1.0...
https://www.nurkiewicz.com/2014/12/hazelcast-member-discovery-using.html
CC-MAIN-2018-26
en
refinedweb
I have a directory with multiple files beginning with integers. I am attempting to copy some of them to another directory based on a string pattern within the file name. I can successfully copy multiple files starting with integers (which I commented out), but am having trouble filtering based on the string pattern. I'...
http://www.dlxedu.com/askdetail/3/32c5dc402bea7c4439bd431970165729.html
CC-MAIN-2018-26
en
refinedweb
How to Build an OctoberCMS Theme October CMS is the new star in the sky of CMSes. Built on top of Laravel, it promises joyful coding and a back to basics approach. Read our introduction here and find out how to build plugins for it here. In this article, we’re going to see how we can build a theme. What We Are Going to...
https://www.sitepoint.com/build-octobercms-theme/
CC-MAIN-2018-26
en
refinedweb
- NAME - VERSION - SYNOPSIS - DESCRIPTION - GENERAL METHODS - SERIALIZATION METHODS - LOOKUP METHODS - INTERNAL METHODS - SEE ALSO - AUTHOR NAME RDF::NS - Just use popular RDF namespace prefixes from prefix.cc VERSION version 20140901 SYNOPSIS use RDF::NS '20140901'; # check at compile time my $ns = RDF::NS->new('20140...
https://metacpan.org/pod/release/VOJ/RDF-NS-20140901/lib/RDF/NS.pm
CC-MAIN-2018-26
en
refinedweb
2006-09-05 Pattern Matching in Factor For the concurrency library in Factor I've struggled to come up with good ways of writing the main loop of processes that handle messages. Erlang makes it so nice being able to create tuples and break them apart using pattern matching. I've gone from using Factor arrays and breakin...
https://bluishcoder.co.nz/2006/09/05/pattern-matching-in-factor.html
CC-MAIN-2018-26
en
refinedweb
I am supposed to be printing out all values for r (which should be a list of 5 values) but for some reason I am getting an empty list [ ] as the answer. All of the inputs to the function are single values except for the lst variable, which is a list of 5 values. Any idea on why I am getting an empty list? All of the co...
https://codedump.io/share/wdNeKArdnaQE/1/why-am-i-getting-an-empty-list-as-the-answer
CC-MAIN-2017-09
en
refinedweb
adisp 0.0.3 Callback-less python async calls dispatcherAdisp is a library that allows structuring code with asynchronous calls and callbacks without defining callbacks as separate functions. The code then becomes sequential and easy to read. The library is not a framework by itself and can be used in other environments...
https://pypi.python.org/pypi/adisp
CC-MAIN-2017-09
en
refinedweb
You could have also seen this error thrown when executing a class that has no public static void main() method.To know the reason behind this read this post. When you try to invoke a method that is no longer available in a class then at the compile time itself you will be shown an error message “cannot find symbol”. So...
https://www.javacodegeeks.com/2012/08/java-exception-java-lang.html
CC-MAIN-2017-09
en
refinedweb
Coffeehouse Thread84 posts "Microsoft Out of Favor With Young, Hip Developers" Back to Forum: Coffeehouse Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know. Pagination ...
https://channel9.msdn.com/Forums/Coffeehouse/559846-Microsoft-Out-of-Favor-With-Young-Hip-Developers?page=3
CC-MAIN-2017-09
en
refinedweb