text
stringlengths
20
1.01M
url
stringlengths
14
1.25k
dump
stringlengths
9
15
lang
stringclasses
4 values
source
stringclasses
4 values
our own custom React hook that will manage the photos for the gallery. note { isPlatform } from '@ionic/react'; import { Camera, CameraResultType, CameraSource, Photo } from '@capacitor/camera'; import { Filesystem, Directory } from '@capacitor/filesystem'; import { Storage } from '@capacitor/storage'; import { Capaci...
https://ionicframework.com/docs/react/your-first-app/taking-photos
CC-MAIN-2022-33
en
refinedweb
Opened 12 years ago Closed 22 months ago #10202 closed enhancement (wontfix) Use pkg-config --define-variable option to set ${SAGE_ROOT} anytime pkg-config is invoked Description (last modified by ) Currently we rewrite all of the local/lib/pkgconfig/*.pc files every time we move locations. Instead, we should just use ...
https://trac.sagemath.org/ticket/10202
CC-MAIN-2022-33
en
refinedweb
A in a warning. For example, consider the following sample: <manifest xmlns: <application ... <activity android: <intent-filter> <action android: <category android: </intent-filter> <action android: </activity> </application> </manifest> Previous versions of AAPT would simply ignore the misplaced <action> tag. However,...
https://developer.android.com/studio/command-line/aapt2?authuser=2
CC-MAIN-2022-33
en
refinedweb
Ever feel too lazy to get up to turn off THAT one lamp? That lamp which is essential but also irritates you the most. That lamp which after you turn off you race to bed like hell. Well, fear not people I got a perfect solution for you. Clap-O-Switch, a perfect switch which you can control by clapping twice. So no sprin...
https://www.hackster.io/Rushabh/clap-o-switch-4fb036
CC-MAIN-2022-33
en
refinedweb
- SML, indexing the men from 0: fun j(n,k,i) = (if i=1 then k-1 else k+j(n-1,k,i-1)) mod n; fun J(n,k) = j(n,k,n); Admin Josephus' Circle, AKA Eeny, meeny, miny, moe. The solution is to argue about how many words are in the rhyme and whether the person selected at the end is "it" or "not it". Admin $ cat jos.c #includ...
https://thedailywtf.com/articles/comments/Programming-Praxis-Josephus-Circle/?parent=279989
CC-MAIN-2022-33
en
refinedweb
Real Time GraphQL Mutations — Using Apollo Client, React and Optimistic UI Taking your app UX to the next level isn’t an easy task, however choosing the right tools can help you deliver a brilliant experience to your users. A long short story — I’ve always been interested in learning new technologies to improve the web...
https://medium.com/@franciscovarisco/real-time-graphql-mutations-using-apollo-client-react-and-optimistic-ui-10e35ec3553e?utm_campaign=Fullstack%2BReact&utm_medium=web&utm_source=Fullstack_React_104
CC-MAIN-2019-30
en
refinedweb
Interoperability XAP offers interoperability between documents and concrete objects via space - it is possible to write objects and read them as documents, and vice versa. This is usually useful in scenarios requiring reading and/or manipulating objects without loading the concrete .NET classes. This page describes how...
https://docs.gigaspaces.com/xap/11.0/dev-dotnet/document-object-interoperability.html
CC-MAIN-2019-30
en
refinedweb
Core data. using System; using Microsoft.AspNetCore.DataProtection; using Microsoft.Extensions.DependencyInjection; public class Program { public static void Main(string[] args) { // add data protection services var serviceCollection = new ServiceCollection(); serviceCollection.AddDataProtection(); var services = serv...
https://docs.microsoft.com/en-us/aspnet/core/security/data-protection/using-data-protection?view=aspnetcore-2.2
CC-MAIN-2019-30
en
refinedweb
#include <a.out.h> #include <elf.h> ld and as can produce output files in any one of two file formats: Common Object File Format (COFF) and Executable and Linking Format (ELF). See the ld(CP) and as(CP) manual pages for further information. The following sections, ``COFF files'' and ``ELF files'', describe these two fi...
http://osr507doc.xinuos.com/en/man/html.FP/a.out.FP.html
CC-MAIN-2019-30
en
refinedweb
AzCopy v8.1, see the Use the previous version of AzCopy section of this article. Download AzCopy First, download the AzCopy V10 executable file to any directory on your computer. AD By using Azure AD, you can provide credentials once instead of having to append a SAS token to each command. The level of authorization t...
https://docs.microsoft.com/en-us/azure/storage/common/storage-use-azcopy-v10
CC-MAIN-2019-30
en
refinedweb
Flutter Ravepay Flutter_Ravepay provides a wrapper that incorporate payments using Ravepay within your flutter applications. The integration is achieved using Ravepay's Android/iOS SDK libraries. It currently has full support for only Android. Getting it to work on iOS comes with a few more steps and configurations (so...
https://pub.dev/documentation/flutter_ravepay/latest/
CC-MAIN-2019-30
en
refinedweb
Description Chrono::Parallel collision_settings. This structure that contains all settings associated with the collision detection phase. #include <ChSettings.h> Constructor & Destructor Documentation The default values are specified in the constructor, use these as guidelines when experimenting with your own simulatio...
http://api.projectchrono.org/classchrono_1_1collision__settings.html
CC-MAIN-2019-30
en
refinedweb
Object.GetHashCode Method Updated: October 2010 Serves as a hash function for a particular type. Namespace: System Assembly: mscorlib (in mscorlib.dll) Syntax 'Declaration Public Overridable Function GetHashCode As Integer public virtual int GetHashCode() Return Value Type: System.Int32 A hash code for the current Obje...
https://docs.microsoft.com/en-us/previous-versions/windows/silverlight/dotnet-windows-silverlight/zdee4b3y%28v%3Dvs.95%29
CC-MAIN-2019-30
en
refinedweb
Provides a flexible mechanism for controlling access, without requiring that a class be immutable. Once frozen, an object can never be unfrozen, so it is thread-safe from that point onward. Once the object has been frozen, it must guarantee that no changes can be made to it. Any attempt to alter it must raise an Unsupp...
https://developers.google.com/j2objc/javadoc/jre/reference/android/icu/util/Freezable?hl=es-419
CC-MAIN-2019-30
en
refinedweb
import "github.com/gogf/gf/g/os/grpool" Package grpool implements a goroutine reusable pool. Add pushes a new job to the pool using default goroutine pool. The job will be executed asynchronously. Jobs returns current job count of default goroutine pool. Size returns current goroutine count of default goroutine pool. G...
https://godoc.org/github.com/gogf/gf/g/os/grpool
CC-MAIN-2019-30
en
refinedweb
OpenGL is an open standard for rendering 2D and 3D graphics leveraging graphics hardware. OpenGL has been implemented across a stunning array of platforms allowing apps targeting OpenGL to be extremely flexible. In this example code we will create A blank Opengl Window using LWJGL 3.0+, this doesn't contain steps to cr...
https://riptutorial.com/opengl/topic/814/getting-started-with-opengl
CC-MAIN-2019-30
en
refinedweb
If you need to handle a unique constraint in a database table field when writing an add or edit process in a Play Framework application, I hope this example will be helpful. In the end I’ll show: - How to write a Play Anorm query that performs a SQL INSERT on a database field that has a unique constraint - How to write...
https://alvinalexander.com/scala/play-framework-controller-action-sql-exception-create-form-custom-errors
CC-MAIN-2019-30
en
refinedweb
SwiftYNAB SwiftYNAB is a Swift framework for iOS/macOS/WatchOS/tvOS for accessing the You Need a Budget API. It currently supports all endpoints made available by the API. You can browse the online documentation here to see what features this framework offers. How to use it CocoaPods - Create a new project in Xcode - A...
https://swiftpack.co/package/andrebocchini/swiftynab
CC-MAIN-2019-30
en
refinedweb
11 posts in this topic You need to be a member in order to leave a comment Sign up for a new account in our community. It's easy! Register a new account Already have an account? Sign in here. Similar Content - By paullauze i just got a new windows 7 64 bit machine at work. I get a error when complilling with #include <...
https://www.autoitscript.com/forum/topic/184779-any-clever-way-to-convert-hex-to-uint64-and-beyond-any-udf-that-does-it-solved/
CC-MAIN-2017-17
en
refinedweb
Daniel Nielsen is an Embedded Software Engineer. He is currently using D in his spare time for an unpublished Roguelike and warns that he “may produce bursts of D Evangelism”. I remember one day in my youth, before the dawn of Internet, telling my teachers about “my” new algorithm, only to learn it had been discovered ...
https://dlang.org/blog/2017/02/13/a-new-import-idiom/
CC-MAIN-2017-17
en
refinedweb
I understand better now, thank you. > after-change-major-mode ran to soon. (Maybe we should also print an > error message in this case, which my current patch does not). Yes, I think it's more important to signal a clear warning/error than to try and auto-fix the problem. BTW, why use "check-" as a prefix (rather than ...
http://lists.gnu.org/archive/html/emacs-devel/2005-05/msg01213.html
CC-MAIN-2017-17
en
refinedweb
rpc_if_id_vector_free- frees a vector and the interface identifier structures it contains #include <dce/rpc.h> void rpc_if_id_vector_free( rpc_if_id_vector_t **if_id_vector, unsigned32 *status); Input/Output - if_id_vector - Specifies the address of a pointer to a vector of interface information. On success this argume...
http://pubs.opengroup.org/onlinepubs/9629399/rpc_if_id_vector_free.htm
CC-MAIN-2017-17
en
refinedweb
Morning! I've run into a snag when running the peach fuzzer. The python script runs fine when you don't evoke any command line options, but crashes when you attempt to test any of the pits. For example, when I attempt to test any of the samples that come with peach, it cannot find the module 'psyco'. I've searched my w...
http://www.backtrack-linux.org/forums/printthread.php?t=38423&pp=10&page=1
CC-MAIN-2017-17
en
refinedweb
Welcome back to You Suck at TDD. Today’s code will show up in the Improvements-Phase-3 branch if you would like to follow along. In our last episode, we concentrated mostly on the Employee fetching and filtering. Things are better, but we still have a problem… Well, actually, we have a number of problems, but we’ll sta...
https://blogs.msdn.microsoft.com/ericgu/2016/07/05/you-suck-at-tdd-8-doing-fewer-things/
CC-MAIN-2017-17
en
refinedweb
Hi i have this program and have a problem it is a basic program for exponents and now i need to add a while loop so that if the user enters a number greater that 10 it asks them to input a number lower or equal to 10, here is my code can someone help me?. #include <stdio.h> main( ) { /* y */ /* calculate x */ /* */ /* ...
https://www.daniweb.com/programming/software-development/threads/57681/while-loop
CC-MAIN-2017-17
en
refinedweb
The biological perspective of eating posits that we should eat when our metabolic energy fuels are expended. Reads buffer. 7 Non-adiabatic motion in symmetric geometry 95 ρdU Jtotal ×B·PI P PBˆBˆ (3. ; Create a frame window.Francey S. But we are still left with the problem of how we maintain so many memories for so lon...
http://newtimepromo.ru/free-binary-option-charts-11.html
CC-MAIN-2017-17
en
refinedweb
Select the version of Creative Suite you want to target and CS Extension Builder. Set up a new Creative Suite extension, XMP namespace, or XMP FileInfo panel as easily as you would create a new Flash Builder project. Gain direct control over Creative Suite scripting DOMs using CSAW libraries. Avoid the steep learning c...
http://www.adobe.com/in/products/cs-extension-builder/features._sl_id-contentfilter_sl_featuredisplaytypes_sl_top.html
CC-MAIN-2017-17
en
refinedweb
I think I get Spock Mocks now August 20, 2011 7 Comments I’ve been misunderstanding a fundamental issue of Spock Mocks. That’s annoying, but probably inevitable given that I work with so many state-of-the-art, evolving API’s. If you spend enough time on the bleeding edge, sooner or later you’ll get cut. The problem is,...
https://kousenit.org/2011/08/20/i-think-i-get-spock-mocks-now/
CC-MAIN-2017-17
en
refinedweb
colonymechscoutecescoutos Removed useless NodeHandlePtr. Retired (deleted) unused packages. Moved their msg/srv definitions to the messages/ package instead, and revised the libscout and scoutsim files that depended on those namespaces. Removed old files and test executables. behaviors now overwrite teleop (see comment...
https://roboticsclub.org/redmine/projects/colonyscout/repository/scoutos/revisions/bf68fc90df57331e06d7fe7d3e3befab593477b5/show/scout/scoutsim/src
CC-MAIN-2017-17
en
refinedweb
1 /*******************************************************************************2 * Copyright (c) 2000, 2004 IBM Corporation and others. All rights reserved.3 * The contents of this file are made available under the terms4 * of the GNU Lesser General Public License (LGPL) Version 2.1 that5 * accompanies this distribu...
http://kickjava.com/src/org/eclipse/swt/internal/gtk/GtkAllocation.java.htm
CC-MAIN-2017-17
en
refinedweb
The 24 binary options in developing new medications for schizophrenia are generally seen as threefold Page 450 ECONOMICS OF SCHIZOPHRENIA A REVIEW 431 1. (1995). In the strongest form of critique. (2003).Minor, C. The values obtained in this work for inhibitory power towards serum cholinesterase corre- sponded to 24 bi...
http://newtimepromo.ru/24-binary-options-1.html
CC-MAIN-2017-17
en
refinedweb
KinoSearch::Docs::Tutorial::Highlighter - Augment search results with highlighted excerpts. The KinoSearch code base has been assimilated by the Apache Lucy project. The "KinoSearch" namespace has been deprecated, but development continues under our new name at our new home: Adding relevant excerpts with highlighted se...
http://search.cpan.org/~creamyg/KinoSearch-0.315/lib/KinoSearch/Docs/Tutorial/Highlighter.pod
CC-MAIN-2017-17
en
refinedweb
project cost estimating You have decided that you are now an expert in project cost estimating, and you want to hold some public classes or workshops on this topic... (see attachment for complete question) Solution Preview Hello, Attached is the MS Excel spreadsheet which has 2 worksheets: 1> Variable Worksheet - ... S...
https://brainmass.com/computer-science/software-development/project-cost-estimating-42002
CC-MAIN-2017-17
en
refinedweb
A table in a database that contains three columns, Id, Word, Opposite.(In the context below the "Word" and "Opposite" is the actual data/values in the table) The values from Word is get by a LINQ-quey in a controller and sent to the view and presented as list. Next to the Word ther is a @EditorFor List<string> and is c...
https://codedump.io/share/VN0wIaNVsxG5/1/get-data-from-with-dynamic-where-argument
CC-MAIN-2017-17
en
refinedweb
Currently I have a controller method that will increment 1 every time a user inputs there number in a view form. I'm going to show the code and the error I just want to make sure I'm giving enough background here. So, I have another form that creates a subscriber def visit @subscriber = Subscriber.find_by_phone_number(...
https://codedump.io/share/eTbkmTshM7iY/1/undefined-method-39-for-nilnilclass---ruby
CC-MAIN-2017-17
en
refinedweb
Community mailing list archives community@mail.odoo.com Browse archives Re: Domain for Many2one on onchangeby Pedro M. Baeza Don't put @api.one, but @api.multi, because the return value is enclosed in a list, and thus, not parsed. Regards. El 04/06/2016 14:47, "MD Tanzilul Hasan Khan" <ponkhi403@gmail.com> escribió: He...
https://www.odoo.com/groups/community-59/community-18665214
CC-MAIN-2017-17
en
refinedweb
CodePlexProject Hosting for Open Source Software Hi I'm trying to use GraphLyaout to display a graph based on an enum, e.g. IBiDirectionalGraph<MyEnum, IEdge<MyEnum>. However, GraphLayout is defined as public class GraphLayout<TVertex, TEdge, TGraph> where TVertex : class where TEdge : IEdge<TVertex> where TGraph : cla...
http://graphsharp.codeplex.com/discussions/227864
CC-MAIN-2017-17
en
refinedweb
Manage all the state for virtual links. More... #include <vlink.hh> List of all members. Manage all the state for virtual links. This area has been removed mark all the notified for this area to false. Allowing an area to be removed and then brought back. Provide an interface and vif for this router ID. Must not be cal...
http://xorp.org/releases/current/docs/kdoc/html/classVlink.html
CC-MAIN-2017-17
en
refinedweb
From the 7th to the 13th of November you can save up to 80% on some of our very best Angular content - along with our hottest React eBooks and video courses. If you're curious about the cutting-edge of modern web development we think you should click here and invest in your skills... The Angular team introduced quite a...
https://www.packtpub.com/books/content/angular-2-components-what-you-need-know
CC-MAIN-2017-17
en
refinedweb
04 November 2010 17:33 [Source: ICIS news] TORONTO (ICIS)--Eastman Chemical has entered into a joint venture with Italian firm Mazzucchelli 1849 SPA to produce compounded cellulose diacetate (CDA) in ?xml:namespace> The venture would produce bio-derived CDA for use in various injection moulded applications, Eastman sai...
http://www.icis.com/Articles/2010/11/04/9407550/eastman-chemical-forms-cellulose-diacetate-joint-venture-in.html
CC-MAIN-2014-35
en
refinedweb
Technical Support Support Resources Product Information Information in this article applies to: How does the do while C statement work? The C do while statement creates a structured loop that executes as long as a specified condition is true at the end of each pass through the loop. The syntax for a do while statement ...
http://www.keil.com/support/docs/1950.htm
CC-MAIN-2014-35
en
refinedweb
. TestFixture Test First we need something to test: public class Subject { public Int32 Add(Int32 x, Int32 y) { return x + y; } } That Subject class has one method: Add. We will test the Subject class by exercising the Add method with different arguments. Subject Add . tSubject tAdd. SetUp SetUpFixture TearDown TearDow...
http://www.onjava.com/pub/a/dotnet/2005/07/18/unittesting_2005.html
CC-MAIN-2014-35
en
refinedweb
Name | Synopsis | Description | Parameters | Errors | Examples | Environment Variables | Attributes | See Also #include <slp.h> SLPError SLPUnescape(const char *pcInBuf, char** ppcOutBuf, SLPBoolean isTag); The SLPUnescape() function processes the input string in pcInbuf and unescapes any SLP reserved characters. If th...
http://docs.oracle.com/cd/E19253-01/816-5170/6mbb5et3r/index.html
CC-MAIN-2014-35
en
refinedweb
It is possible to call R functions and even modules direcly from Python. One easy way to do this is the rpy2 interface. In the following code snippet, an R module called preprocessCore from the bioconductor portal is loaded and the quantile normalization function is applied on a matrix that is created in python and the...
http://en.m.wikibooks.org/wiki/Python_Programming/Extending_with_R
CC-MAIN-2014-35
en
refinedweb
NAME gl_line - draw a line SYNOPSIS #include <vgagl.h> void gl_line(int x1, int y1, int x2, int y2, int c); DESCRIPTION Draw a line from point (x1, y1) to (x2, y2) inclusively in color c. You should not assume that the same drawing trajectory is used when you exchange start and end points. To use this program one first...
http://manpages.ubuntu.com/manpages/hardy/man3/gl_line.3.html
CC-MAIN-2014-35
en
refinedweb
modf - decompose a floating-point number #include <math.h> double modf(double x, double *iptr); The modf() function breaks the argument x into integral and fractional parts, each of which has the same sign as the argument. It stores the integral part as a double in the object pointed to by iptr. An application wishing ...
http://pubs.opengroup.org/onlinepubs/007908775/xsh/modf.html
CC-MAIN-2014-35
en
refinedweb
Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office. You can subscribe to this list here. Showing 2 results of 2 On 2/20/03 9:22 PM, "Steven D. Arnold" <stevena@...> wrote: > I may be having some serious misconceptions about ho...
http://sourceforge.net/p/spyce/mailman/spyce-users/?viewmonth=200302&viewday=21
CC-MAIN-2014-35
en
refinedweb
What’s new in Tornado 2.4¶ Sep 4, 2012¶ General¶ - Fixed Python 3 bugs in tornado.auth, tornado.locale, and tornado.wsgi. HTTP clients¶ - Removed max_simultaneous_connections argument from tornado.httpclient (both implementations). This argument hasn’t been useful for some time (if you were using it you probably want m...
http://www.tornadoweb.org/en/stable/releases/v2.4.0.html
CC-MAIN-2014-35
en
refinedweb
NAME ng_atmpif - netgraph HARP/ATM Virtual Physical Interface SYNOPSIS #include <sys/types.h> #include <netatm/atm_if.h> #include <netgraph/atm/ng_atmpif.h> DESCRIPTION The atmpif netgraph node type allows the emulation of atm(8) (netatm/HARP) Physical devices (PIF) to be connected to the netgraph(4) networking subsyst...
http://manpages.ubuntu.com/manpages/hardy/man4/ng_atmpif.4.html
CC-MAIN-2014-35
en
refinedweb
System.Speech.Recognition Namespace The System.Speech.Recognition namespace contains Windows Desktop Speech technology types for implementing speech recognition. The Windows Desktop Speech Technology software offers a basic speech recognition infrastructure that digitizes acoustical signals, and recovers words and spee...
http://msdn.microsoft.com/en-us/library/system.speech.recognition(v=vs.110).aspx
CC-MAIN-2014-35
en
refinedweb
Hello! I am attempting to create a custom validation, called LengthValidator. I have placed this class in a namespace called validators and it extends BaseValidator. I have overloaded the ControlPropertiesValid and EvaluateIsValid methods. This validator checks the length of the Text property of a TextBox object. I hav...
http://forums.devshed.com/net-development/83655-developing-custom-validators-last-post.html
CC-MAIN-2014-35
en
refinedweb
% mark-conflicts} \begin{code} {-# OPTIONS_alias ) import Darcs.Arguments ( DarcsFlag, ignoretimes, working_repo_dir, umask_option ) import Darcs.Repository ( withRepoLock, ($-), amInRepository, add_to_pending, applyToWorking, read_repo, sync_repo, get_unrecorded_unsorted, ) import Darcs.Patch ( invert ) import Darcs....
http://hackage.haskell.org/package/darcs-2.1.99.0/docs/src/Darcs-Commands-MarkConflicts.html
CC-MAIN-2014-35
en
refinedweb
Design Patterns in the Test of Time: Composite. public interface IVotingUnit { int Weight { get;set; } int CandidateId { get;set; } } public class Voter : IVotingUnit { [Obsolete("Racist")] string Id { get;set; } int Weight { get;set; } int CandidateId { get;set; } } public class WinnerTakesAllState : IVotingUnit { str...
http://java.dzone.com/articles/design-patterns-test-time-2
CC-MAIN-2014-35
en
refinedweb
Extreme ASP.NET Makeover: Singleton - Refactoring - Posted: Aug 04, 2009 at 4:57 PM - 10,252 Views Right click “Save as…” Now that we have a new class, complete with functionality, we can start to refactor other parts of the application to use it instead of the AuthChecker singleton. Like all the other refactorings we’...
http://channel9.msdn.com/Blogs/howarddierking/Extreme-ASPNET-Makeover-Singleton-Refactoring?format=progressive
CC-MAIN-2014-35
en
refinedweb
{-# LANGUAGE MultiParamTypeClasses, FlexibleInstances, FlexibleContexts, RecordWildCards #-} -- |A generic \"ziggurat algorithm\" implementation. Fairly rough right -- now. -- -- There is a lot of room for improvement in 'findBin0' especially. -- It needs a fair amount of cleanup and elimination of redundant -- calcula...
http://hackage.haskell.org/package/random-fu-0.0.3.2/docs/src/Data-Random-Distribution-Ziggurat.html
CC-MAIN-2014-35
en
refinedweb
My program works the only problem I am having is that when it reads the end of file it adds the last score to the total again. here is my program what have I done wrong with.eof? #include <iostream> #include <fstream> // File Stream Library using namespace std; int main() { char team; int numb, k=0, n=0; ifstream gamef...
http://cboard.cprogramming.com/cplusplus-programming/27248-eof-will-not-work-iostream.html
CC-MAIN-2014-35
en
refinedweb
Estimated read time: about an hour. Looking for the attack combos necessary to score the “Combo Specialist” achievement/trophy? Feel free to skip to the list of necessary combos that has been repeatedly tested on new user profiles. There are a great number of technologies and patterns that programmers can employ today;...
http://www.codeproject.com/Articles/36320/Game-Attack-Combos-WPF-Hybrid-Smart-Client-for-Com?fid=1540514&df=90&mpp=10&sort=Position&spc=None&select=3072245&tid=3072076
CC-MAIN-2014-35
en
refinedweb
Free Email Notification Receive emails when we post new items of interest to you.Subscribe or Modify your profile Central African Republic—Letter of Intent and Technical Memorandum of Understanding Bangui, November 19, 2001 Mr. Horst Köhler Managing Director International Monetary Fund 700 19th Street, N.W. Washington,...
http://www.imf.org/External/NP/LOI/2001/caf/01/index.htm
CC-MAIN-2014-35
en
refinedweb
The Hello World program is the most common first example of how to write programs in a new language, even when they don't say Hello World. Five different ways to say hello in Ruby offer a gentle introduction to the language. Examples of how to write many simple programs that are of little practical use litter the Inter...
https://www.techrepublic.com/blog/software-engineer/five-ruby-hello-world-greetings/
CC-MAIN-2020-16
en
refinedweb
Music, Haskell... and Westeros Music Music is a recurring theme on my blog. Quod Libet takes up a fair bit of spare time, but the more abstract intersection of music and programming is fun, and it turns out functional programming has a lot to offer in this space. I assume some basic knowledge of Haskell / Elm (or ML-li...
https://functional.works-hub.com/learn/Music-Haskell...-and-Westeros?utm_source=rss&utm_medium=automation&utm_content=teros
CC-MAIN-2020-16
en
refinedweb
#include <vtkPUniformGridGhostDataGenerator.h> uniform grids. A concrete implementation of vtkPDataSetGhostGenerator for generating ghost data on a partitioned and distributed domain of uniform grids. Definition at line 61 of file vtkPUniformGridGhostDataGenerator.h. Definition at line 66 of file vtkPUniformGridGhostDa...
https://vtk.org/doc/nightly/html/classvtkPUniformGridGhostDataGenerator.html
CC-MAIN-2020-16
en
refinedweb
MessageBox WPF offers several dialogs for your application to utilize, but the simplest one is definitely the MessageBox. Its sole purpose is to show a message to the user, and then offer one or several ways for the user to respond to the message. The MessageBox is used by calling the static Show() method, which can t...
https://wpf-tutorial.com/bg/45/dialogs/the-messagebox/
CC-MAIN-2020-16
en
refinedweb
The layouts/ folder contains different physical key layouts that can apply to different keyboards. layouts/+ default/| + 60_ansi/| | + readme.md| | + layout.json| | + a_good_keymap/| | | + keymap.c| | | + readme.md| | | + config.h| | | + rules.mk| | + <keymap folder>/| | + ...| + <layout folder>/+ community/| + <layout...
https://beta.docs.qmk.fm/developing-qmk/qmk-reference/feature_layouts
CC-MAIN-2020-16
en
refinedweb
This blog post illustrates how to manage multiple promises simultaneously using a library known as RSVP in Open Event frontend. What are Promises? Promises are used to manage synchronous calls in javascript. Promises represent a value/object that may not be available yet but will become available in near future. To quo...
https://blog.fossasia.org/how-rsvp-handles-promises-in-open-event-frontend/?utm_source=rss&utm_medium=rss&utm_campaign=how-rsvp-handles-promises-in-open-event-frontend
CC-MAIN-2020-16
en
refinedweb
In this third Swing tutorial we're going to add some text to our JTextArea when we click the button. Its quite simple to do this, we need to add an Action Listener to the button. An Action Listener basically listens to the button, when the button is clicked it tells the Action Listener and we can program the Action Lis...
https://caveofprogramming.com/guest-posts/swing-tutorial-3-reacting-to-button-clicks.html
CC-MAIN-2018-09
en
refinedweb
Consider by many ways to select a representative, a simple one is to select with the biggest index. - Check if 2 persons are in the same group ? If representatives of two individuals are same, then they’ll become friends.. Find : Can be implemented by recursively traversing the parent array until we hit a node who is p...
https://www.geeksforgeeks.org/disjoint-set-data-structures-java-implementation/
CC-MAIN-2018-09
en
refinedweb
XmTree man page XmTree — The Tree widget class Synopsis #include <Xm/XTree.h> Description The. User Interaction Each node in the tree can be. Normal Resources All resource names begin with XmN and all resource class names begin with XmC. connectStyle The style of the lines visually connecting parent nodes to children n...
https://www.mankier.com/3/XmTree
CC-MAIN-2018-09
en
refinedweb
Section 5.11 of the ConfD 6.0.3 User Guide describes how to attach to confd in phase 0 to perform an upgrade of data in the CDB. The User Guide example and the examples.confd source code are all in C. I am trying to do this using Python, using the unit tests source code for the pyapi as an example, but it is not easy t...
http://discuss.tail-f.com/t/attaching-to-the-init-transaction-in-phase-0-using-python/1011
CC-MAIN-2018-09
en
refinedweb
Automatic Generation Of Object-Oriented Unit Tests Using Genetic Programming Stefan Wappler,M:Prof.Dr.rer.nat.Peter Pepper (Vorsitzender) Prof.Dr.-Ing.Ina Schieferdecker (Berichter) Prof.Dr.-Ing.Stefan Jähnichen (Berichter) Tag der wissenschaftlichen Aussprache:19.Dezember 2007 Berlin 2008 D 83 iii Acknowledgements I w...
https://www.techylib.com/en/view/parentpita/automatic_generation_of_object-oriented_unit_tests_using_genetic
CC-MAIN-2018-09
en
refinedweb
public class JAXBResult extends SAXResult Resultimplementation that unmarshals a JAXB object. This utility class is useful to combine JAXB with other Java/XML technologies. The following example shows how to use JAXB to unmarshal a document resulting from an XSLT transformation. JAXBResult result = new JAXBResult( JAXB...
https://docs.oracle.com/javaee/7/api/javax/xml/bind/util/JAXBResult.html
CC-MAIN-2018-09
en
refinedweb
QML animation not working Hello, I am trying to build a simple listview where if the delegate is clicked, its index is changed (-1). Now, I am using a Qml ListModel and its function move(), it works fine but I want to add animation when the position is changed. I am using the "Behavior on" function, but I don't underst...
https://forum.qt.io/topic/35480/qml-animation-not-working
CC-MAIN-2018-09
en
refinedweb
1 /* 2 * Copyright (c) 1999,.naming.ldap; 27 28 /** 29 * This interface represents an LDAP extended operation response as defined in 30 * <A HREF="">RFC 2251</A>. 31 * <pre> 32 * ExtendedResponse ::= [APPLICATION 24] SEQUENCE { 33 * COMPONENTS OF LDAPResult, 34 * responseName [10] LDAPOID OPTIONAL, 35 * response [11] O...
http://checkstyle.sourceforge.net/reports/javadoc/openjdk8/xref/openjdk/jdk/src/share/classes/javax/naming/ldap/ExtendedResponse.html
CC-MAIN-2018-09
en
refinedweb
Application must maintain some settings persistent to the next run. NetBeans Platform stores list of opened TopComponent automatically if it is allowed. You can store user preferences, URL to database, URL to update centre. It provides API to extend Options window. It supports add primary panel - new main category to O...
http://wiki.netbeans.org/BookNBPlatformCookbookCH0206
CC-MAIN-2018-09
en
refinedweb
Answered by: Constructing XmlTextReader causes "Root element is missing" in BizTalk WCF Send Pipeline I have a send pipeline, and trying to parse the data using XmlTextReader in order to pick out an element value for use in my context. public IBaseMessage Execute(BizTalkComp.IPipelineContext pContext, IBaseMessage pInM...
https://social.msdn.microsoft.com/Forums/en-US/8043cdef-de37-48f2-bbdc-a792d8dc286d/constructing-xmltextreader-causes-root-element-is-missing-in-biztalk-wcf-send-pipeline?forum=biztalkr2adapters
CC-MAIN-2018-09
en
refinedweb
Kyle: “Is it possible to have class Foo: Bar where Foo has a delegate of type protocol FooDelegate: BarDelegate where Bar also has a delegate declared as type BarDelegate? In my case i am subclassing scrollview and want to declare delegate as my own type that conforms to UIScrollViewDelegate? I get the error that a pro...
http://ericasadun.com/2016/07/28/dear-erica-how-do-i-mimic-objective-cs-delegate-inheritance-pattern/
CC-MAIN-2018-09
en
refinedweb
Is there anywhere good sources where I can go and read to find out how to start to code my game so if I click a key (eg 1) that my player with cycle through his attack animation and continue to move in his current direction and only be able to attack within a certain timeframe ? I have tried to look at other people cod...
https://www.allegro.cc/forums/thread/615392/1013343
CC-MAIN-2018-09
en
refinedweb
Hello, I succesfully implemented an audio service to handle playing of several concatenated audio files using @ionic-native/media plugin and it’s working fine on Browser when checked on Mac/Chrome. However on iOS/Chrome the first file in the playlist is played but subsequent files aren’t. I did a lot of research but I ...
https://forum.ionicframework.com/t/issue-creating-playlist-with-mediaobject-in-ios-chrome/138895
CC-MAIN-2020-40
en
refinedweb
Type: Posts; User: babaliaris I have the option Use(/Yu) in the precompiled header options. Precompiled header file : pch.h Precompiled header source file : <full_path_to>pch.cpp In the include direcotries of the... Yes, I know that! The thing is that I'm using some quite big header-only libraries and every time I chan...
https://forums.codeguru.com/search.php?s=eec1caae594ebb6589c78aaf72860ab9&searchid=20961316
CC-MAIN-2020-40
en
refinedweb
Google Cloud Storage (GCS) can be used with tfds for multiple reasons: - Storing preprocessed data - Accessing datasets that have data stored on GCS Authentication Before starting, you should decide on how you want to authenticate. There are three options: - no authentication (a.k.a anonymous access) - using your Googl...
https://www.tensorflow.org/datasets/gcs
CC-MAIN-2020-40
en
refinedweb
From Documentation Introduction In this smalltalk I will introduce how you can secure your ZK applications using Apache Shiro, a Java security framework. Apache Shiro Apache shiro is an easy-to-use Java security framework that provides security features such as authentication, authorization, cryptography, session manag...
https://www.zkoss.org/_w/index.php?title=Small_Talks/2012/March/Securing_ZK_Applications_With_Apache_Shiro&oldid=25850
CC-MAIN-2020-40
en
refinedweb
#include <tinyxml2.h> XML text. Note that a text node can have child element nodes, for example: <root>This is <b>bold</b></root>().(); Returns true if this is a CDATA text element. Declare whether this should be CDATA or standard.
https://cocos2d-x.org/reference/native-cpp/V2.2/d3/d66/classtinyxml2_1_1_x_m_l_text.html
CC-MAIN-2020-40
en
refinedweb
PROBLEM LINK: Author: Fedor Korobeinikov Tester: Hiroto Sekido Editorialist: Kevin Atienza DIFFICULTY: MEDIUM PREREQUISITES: sqrt decomposition, preprocessing PROBLEM: Given a sequence of N integers A_1, A_2, \ldots, A_N, where each A_i is between 1 to M, you are to answer Q queries of the following kind: - Given L and...
https://discuss.codechef.com/t/qchef-editorial/10123
CC-MAIN-2020-40
en
refinedweb
I thought about spacing my questions, but... scene.present_modal_scene issues I do feel bad, I don't want to be nagging but since there aren't 3rd-party resources for most of my questions, and I'm occasionally bumping into problems that I can't seem to figure out, I don't think I have anywhere else to go. I'm trying to...
https://forum.omz-software.com/topic/3195/i-thought-about-spacing-my-questions-but-scene-present_modal_scene-issues
CC-MAIN-2020-40
en
refinedweb
rich_link_preview A Rich Link Preview widget written in Dart generating a rich presentation of the given link from social meta tags. Getting Started Add the following line in your pubspec file rich_link_preview: Get the package by running the command flutter packages get Include the widget in your dart file import 'pac...
https://pub.dev/documentation/rich_link_preview/latest/
CC-MAIN-2020-40
en
refinedweb
from decimal import Decimal '%.2E' % Decimal('40800000000.00000000000000') # returns '4.08E+10' In your '40800000000.00000000000000' there are many more significant zeros that have the same meaning as any other digit. That's why you have to tell explicitly where you want to stop. If you want to remove all trailing zero...
https://pythonpedia.com/en/knowledge-base/6913532/display-a-decimal-in-scientific-notation
CC-MAIN-2020-40
en
refinedweb
I'm trying to make a very simple 'counter' that is supposed to keep track of how many times my program has been executed. First, I have a textfile that only includes one character: 0 Then I open the file, parse it as an int, add 1 to the value, and then try to return it to the textfile: f = open('testfile.txt', 'r+') x...
https://pythonpedia.com/en/knowledge-base/9786941/typeerror--expected-a-character-buffer-object---while-trying-to-save-integer-to-textfile
CC-MAIN-2020-40
en
refinedweb
Sometimes and implement the platform specific code in the Windows 10 project. Lets see how to do this in detail. Step 1 : Creating Interface in the View Model Create an IPageHelper interface in the View Model with ShowMessage method. public interface IPageHelper { void ShowMessage(string message); } Step 2 : Implement ...
http://dailydotnettips.com/2016/05/11/accessing-platform-specific-code-using-ioc-in-mvvm-cross/
CC-MAIN-2018-05
en
refinedweb
Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team. public class Arithmetic<T> { public T Add(T input1, T input2) { return intput1 + input2; } } ... public int Add(int input1, int input2) { return input1 + input2; } ... ......
https://www.experts-exchange.com/questions/27858760/generics-problemis-to-avoid-type-cast-problem-is-i-correct.html
CC-MAIN-2018-05
en
refinedweb
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location. System.Security.Cryptography Namespace Silverlight The System.Security.Cryptography namespace provides cryptographic services, including secure encoding and d...
https://msdn.microsoft.com/library/windows/apps/9eat8fht(v=vs.95).aspx
CC-MAIN-2018-05
en
refinedweb
explain_stat_or_die - get file status and report errors #include <libexplain/stat.h> void explain_stat_or_die(const char *pathname, struct stat *buf); The explain_stat_or_die function is used to call the stat(2) system call. On failure an explanation will be printed to stderr, obtained from explain_stat(3), and then th...
http://huge-man-linux.net/man3/explain_stat_or_die.html
CC-MAIN-2018-05
en
refinedweb
gearman_job_send_warning - Job Declarations #include <libgearman/gearman.h> gearman_return_t gearman_job_send_warning(gearman_job_st *job, const void *warning, size_t warning_size); Send warning for a running job. The Gearman homepage: Bugs should be reported at Copyright (C) 2008 Brian Aker, Eric Day. All rights reser...
http://huge-man-linux.net/man3/gearman_job_send_warning.html
CC-MAIN-2018-05
en
refinedweb
BackgroundIn the package java.util.concurrent there are numerous classes that enables concurrent access to various objects and data structures. However, there is a lack of a concurrent Set in the standard libraries. In this post I will show how to fix this problem. The easy way outThere is a very simple way of getting ...
https://minborgsjavapot.blogspot.com/2014/12/java-8-implementing-concurrenthashset.html
CC-MAIN-2018-05
en
refinedweb
How to do accessible inline errors for form selects? We need to update our forms to be accessibility compliant. I am looking for information on how to write an inline error for a form select. I have the form field labeled and have an inline error, but the readers do not announce the error. Here is what we are using <di...
http://codegur.com/48215648/how-to-do-accessible-inline-errors-for-form-selects
CC-MAIN-2018-05
en
refinedweb
posted January 01, 2004 06:23 AM Andrew: Also - your entire concept requires the book() method to be on the server. Javini: Thanks for your response. I'll study the referenced link topic discussion. [Can] the cookie simply be a hash value for the current thread? In general, Sun's documents are so ambiguous, that what p...
http://www.coderanch.com/t/184806/java-developer-SCJD/certification/NX-Locking-Unlocking-Sun-Conditions
CC-MAIN-2015-32
en
refinedweb
Search: Search took 0.03 seconds. - 26 Jun 2015 7:06 AM - Replies - 1 - Views - 202 You changed the layout to vbox only the form layout will display the labels correctly. Try wrapping a displayfield with a container using the layout: 'form' and the label should show up. - 24 Jun 2015 1:21 PM - Replies - 2 - Views - 274...
https://www.sencha.com/forum/search.php?s=f74c2319f4440038c83f9213b736babb&searchid=12174039
CC-MAIN-2015-32
en
refinedweb
Microsoft UI Automation is the new Accessibility framework for Microsoft Windows, available on all Operating Systems that support the Windows Presentation Foundation (WPF). UI Automation provides programmatic access to most user interface (UI) elements on the desktop. This article demonstrates how to use UI automation ...
http://www.codeproject.com/Articles/33049/WPF-UI-Automation?fid=1534472&df=90&mpp=10&sort=Position&spc=None&tid=4142734
CC-MAIN-2015-32
en
refinedweb
Binary behaviors and XML schema As of Windows Internet Explorer 9, XML schemas no longer allow binary behaviors to be imported using namespaces. This affects IE9 standards mode and later document modes. Instead of using HTML markup, use Cascading Style Sheets (CSS)-based registration through the behavior property. You ...
https://msdn.microsoft.com/library/ff986086(v=vs.85)
CC-MAIN-2015-32
en
refinedweb
How do I map xs:date to java.util.Date? santacruz40 wanted JAXB 2.0 XJC to map xs:date to java.util.Date. Here's how to do it. The easiest way to do this is to simply modify the generated code. Just find out all the references to XMLGregorianCalendar and replace them with Date. With a modern IDE, this is surprisingly e...
https://weblogs.java.net/node/235094/atom/feed
CC-MAIN-2015-32
en
refinedweb
Removing elements from large XML documents Discussion in 'Java' started by Jakub Moskal, Mar93 - Bob Foster - Nov 23, 2003 - Replies: - 1 - Views: - 575 - Juan T. Llibre - Oct 18, 2006 removing a namespace prefix and removing all attributes not in that same prefixChris Chiasson, Nov 12, 2006, in forum: XML - Replies: -...
http://www.thecodingforums.com/threads/removing-elements-from-large-xml-documents.494682/
CC-MAIN-2015-32
en
refinedweb
#include <hallo.h> Steve Langasek wrote on Mon Jun 17, 2002 um 01:52:48PM: > > tetex-src? > > mindterm (an edge case; the binary package includes full source for > > legal reasons..) > > pine (only source package avilable; pine-tracker; etc) cfdisk-utf8 (includes util-linux source) cloop-src (includes zlib source) ash-...
https://lists.debian.org/debian-devel/2002/06/msg01489.html
CC-MAIN-2015-32
en
refinedweb