text
stringlengths
20
1.01M
url
stringlengths
14
1.25k
dump
stringlengths
9
15
⌀
lang
stringclasses
4 values
source
stringclasses
4 values
A library for Dart backend developers. Created from templates made available by Stagehand under a BSD-style license. A simple usage example: import 'package:validator/validator.dart'; class User { @Rules(min: 5) String email; @Rules(required: true, min: 5) int id; @Rules(required: true) String phone; } void main() asyn...
https://pub.dartlang.org/packages/dto_validator
CC-MAIN-2018-30
en
refinedweb
For nearly four years now I have been using my cross-platform settings plugin to save preferences across all the different platforms. Ever since I pushed it up to NuGet it has been extremely popular with over 18,000 installs! The plugin gives you a very simple way of saving out native settings from shared code. Usually...
http://www.dlxedu.com/detail/27/435833.html
CC-MAIN-2018-30
en
refinedweb
tag:blogger.com,1999:blog-27054247693989008452018-07-09T08:52:16.881+01:00UK Developer BlogNews for developers in the UK.Google Blogsnoreply@blogger.comBlogger18125tag:blogger.com,1999:blog-2705424769398900845.post-32056149604543517192011-06-08T19:49:00.001+01:002011-06-08T19:49:39.425+01:00UK Developer Blog Signing Ou...
http://feeds.feedburner.com/UkDeveloperBlog
CC-MAIN-2018-30
en
refinedweb
Note:! Introduction() { InitializeComponent(); System.Windows.Forms.Integration.WindowsFormsHost thisWindowsFormsHost = new System.Windows.Forms.Integration.WindowsFormsHost(); Microsoft.Reporting.WinForms.ReportViewer thisReportViewer = new Microsoft.Reporting.WinForms.ReportViewer(); thisWindowsFormsHost.Child = this...
https://blogs.technet.microsoft.com/servicemanager/2010/02/15/creating-a-dashboard-with-the-report-viewer-control-and-a-custom-overview-view-type/
CC-MAIN-2018-30
en
refinedweb
To increase speed of page loading I`ve implemented creation comments via AJAX. It is simple and not heavyweight.In controller action I have: def create @comment = @commentable.comments.new(params_comment) respond_to do |format| if @comment.save flash.now[:notice] = "Your comment added." @response = {comment: @comment, ...
http://www.dlxedu.com/askdetail/3/bddc63f23ca90eb2167dae99bdaa1759.html
CC-MAIN-2019-35
en
refinedweb
import "go.chromium.org/luci/server/secrets" Package secrets provides an interface for a simple secret store: you ask it for a secret (a byte blob, identifies by some key), and it returns it to you (current version, as well as a bunch of previous versions). Caller are supposed to use the secret for an operation and the...
https://godoc.org/go.chromium.org/luci/server/secrets
CC-MAIN-2019-35
en
refinedweb
A simple package that uses url_launcher to launch the maps app with the proper scheme on both iOS and Android. On iOS, map links as specified by Apple are launched. On Android, the geo intent is used as documented here. import 'package:maps_launcher/maps_launcher.dart'; ... MapsLauncher.launchQuery('1600 Amphitheatre P...
https://pub.dev/packages/maps_launcher
CC-MAIN-2019-35
en
refinedweb
A few days ago, I submit a pull request adding Path.Area, and Path::FeatureArea. The feature is supposed to be used to generate wires that can be later used to generate path. Because it can't generate path at that time, there is debate about how to incorporate the feature into current Path Mod. With my latest push, the...
https://forum.freecadweb.org/viewtopic.php?p=156406
CC-MAIN-2019-35
en
refinedweb
[adding gnulib] On 09/04/2012 10:52 AM, Jasper Lievisse Adriaanse wrote: >> I'd still like to know the compiler error you got when <sys/socket.h> >> was not present, but just guessing from the source code, I see one call >> of socket() (protected behind #if defined(HAVE_NET_IF_H) && >> defined(SIOCBRADDBR), but maybe t...
https://lists.gnu.org/archive/html/bug-gnulib/2012-09/msg00026.html
CC-MAIN-2019-35
en
refinedweb
RCMD(3) Linux Programmer's Manual RCMD(3)NAMErcmd, rresvport, iruserok, ruserok, rcmd_af, rresvport_af, iruserok_af, ruserok_af - routines for returning a stream to a remote commandSYNOPSIS#include <netdb.h> /* Or <unistd.h> on some systems */ int rcmd(char **ahost, unsigned short, unsigned short inport, const char *lo...
https://www.unix.com/man-page/linux/3/iruserok_af/
CC-MAIN-2019-35
en
refinedweb
Great Reminder of Persistence in Serverless Today I ran into a great bug. By “great” I mean it totally confused me but as soon as I realized what I was doing wrong, I knew it would be a great thing to blog about as a reminder to others. I don’t think this applies just to OpenWhisk, but to serverless in general. Ok, so ...
https://www.raymondcamden.com/2017/07/18/great-reminder-of-persistence-in-serverless
CC-MAIN-2019-35
en
refinedweb
Trailblazer Trailblazer is a thin layer on top of Rails. It gently enforces encapsulation, an intuitive code structure and gives you an object-oriented architecture.. Wanna see. Trailblazer Likes 'Em All Since Trailblazer decouples the High-Level Stack from the framework, it runs with virtually any Ruby framework. We a...
https://www.rubydoc.info/github/apotonick/trailblazer
CC-MAIN-2019-35
en
refinedweb
the code is : using UnityEngine; using UnityEngine.UI; public class InventorySlot : MonoBehaviour { // Scrpit A public bool[] buttonState = new bool[2]; void Update () { if (Input.GetKeyDown (KeyCode.Alpha1) || Input.mouseScrollDelta.y > 0) { buttonState [0] = true; buttonState [1] = false; } if (Input.GetKeyDown (KeyC...
https://answers.unity.com/questions/1551004/array-of-bool-doesnt-change-in-other-script.html?sort=oldest
CC-MAIN-2019-35
en
refinedweb
The STL sort algorithm is very useful because it works both on STL containers and on normal arrays. It is hard to beat on performance too. #include <algorithm> int v[4] = { 99, 10, 5, 56 }; std::sort( v, v + 4 ); However, if your application needs to only sort 2, 3 or 4 length arrays whose values are simple types, you ...
https://codeyarns.com/2010/12/17/c-sorting-2-3-or-4-values/
CC-MAIN-2019-35
en
refinedweb
. Note that messages will not be sent to inactive objects (ie, those that have been deactivated in the editor or with the GameObject.SetActive function). using UnityEngine; public); } }
https://docs.unity3d.com/kr/2019.1/ScriptReference/Component.SendMessageUpwards.html
CC-MAIN-2019-35
en
refinedweb
- In modular arithmetic, the modular multiplicative inverse of an integer a modulo m is an integer x such that Or in other words, such that: It can be shown that such an inverse exists if and only if a and m are coprime, but we will ignore this for this task. Either by implementing the algorithm, by using a dedicated l...
https://tfetimes.com/c-modular-inverse/
CC-MAIN-2019-35
en
refinedweb
Native Activity #include <native_activity.h> #include <native_window_jni.h> #include <rect.h> #include <surface_control.h> #include <window.h> Summary Enumerations Anonymous Enum 43 Anonymous Enum 43 Flags for ANativeActivity_showSoftInput; see the Java InputMethodManager API for documentation. Anonymous Enum 44 Anonym...
https://developer.android.com/ndk/reference/group/native-activity
CC-MAIN-2019-35
en
refinedweb
Babel 7 has been released and includes many significant changes and improvements, such as support for TypeScript transpilation and a better approach to managing ES.Next proposals. The Babel and TypeScript teams collaborated to get Babel to parse and transform type syntax with @babel/preset-typescript. Babel already inc...
https://www.infoq.com/news/2018/10/babel-7-typescript-esnext/?itm_source=presentations_about_React&itm_medium=link&itm_campaign=React
CC-MAIN-2019-35
en
refinedweb
Hi, You would generally not do that in a recipe, which is part of the flow / rerunnable / supposed more or less to process data, but, first in a Python notebook. You can then automate that as a "Macro" as part of a DSS plugin This would use the DSS public API () Something like ("pseudo-code") import dataiku client = da...
http://answers.dataiku.com/2421/set-column-names-in-python-recipe
CC-MAIN-2019-35
en
refinedweb
michael ernst2,218 Points hah....im a newb....not sure where to start. The video doesn't really cover the code for multiply so i'm just guessing. Can anyone give me a little guidance on the multiview tasks. I believe there are 5 tasks in all, but i'm still stuck at the first one. from flask import Flask app = Flask(__n...
https://teamtreehouse.com/community/hahim-a-newbnot-sure-where-to-start
CC-MAIN-2021-25
en
refinedweb
Intro Serverless is becoming an alternative way of creating and deploying some types of services due to the fast delivery and cost-efficient project management [1]. The way that serverless applications work allows for high availability with a cost-efficient delivery by “turning ON“ our application only when it is being...
https://dev.to/andrecbrito/azure-functions-with-supersonic-java-3pkg
CC-MAIN-2021-25
en
refinedweb
. References gnash::get(), and gnash::NSV::CLASS_OBJECT. References gnash::abc::MultiName::getNamespace(), gnash::abc::Namespace::getScript(), gnash::abc::MultiName::getGlobalName(), gnash::abc::MultiName::namespaceSet(), and gnash::key::i. Referenced by gnash::abc::Trait::finalize(), gnash::abc::Trait::finalize_mbody(...
https://www.gnu.org/software/gnash/manual/doxygen/classgnash_1_1abc_1_1AbcBlock.html
CC-MAIN-2021-25
en
refinedweb
This site uses strictly necessary cookies. More Information I've been trying to find an elegant way to do this without much luck. Imagine the character is running around on the inside of this surface, upside-down and the like, but never falling off. The key thing is that despite not falling, gravity is still always pul...
https://answers.unity.com/questions/443938/whats-a-good-way-to-keep-a-character-connected-to.html
CC-MAIN-2021-25
en
refinedweb
. Resolve is incorrect for inner classes. For example, CopyOperation should resolve to Mono.TextEditor.ClipboardActions.CopyOperation, but MD resolves it to Mono.TextEditor.CopyOperation. Where ? And what do you mean with resolve ? Unresolved means == red identifier. Goto definition doesn't work etc. (Just to get sure:...
https://bugzilla.xamarin.com/47/4749/bug.html
CC-MAIN-2021-25
en
refinedweb
Creating a Laravel logger - Part 2: Creating a Pusher logger package For this part of the series, you will need PHP 7.13+, Laravel 5.7+ and Composer installed on your machine. In this tutorial, we will build a Laravel package from scratch to help us dispatch logs to Pusher. All logs will be sent to Pusher Channels but ...
https://pusher.com/tutorials/laravel-logger-part-2
CC-MAIN-2021-25
en
refinedweb
#include <deal.II/grid/tria_accessor.h> This class allows access to a cell: a line in one dimension, a quad in two dimension, etc. The. Definition at line 2667 of file tria_accessor.h. Propagate the AccessorData type into the present class. Definition at line 2673 of file tria_accessor.h. Define the type of the contain...
https://dealii.org/current/doxygen/deal.II/classCellAccessor.html
CC-MAIN-2021-25
en
refinedweb
Creating a Laravel Logger - Part 3: Integrating our Pusher logger package For this part of the series, you will need PHP 7.13+, Laravel 5.7+ and Composer installed on your machine. In this part, we’ll see how we can connect our app and the Laravel package so that when a log form is submitted using the dispatch button, ...
https://pusher.com/tutorials/laravel-logger-part-3
CC-MAIN-2021-25
en
refinedweb
In this article, we will introduce to transaction with Spring Data JPA, how many ways to implement it in our project. Let’s get started. Table of contents Introduction to Transaction Transaction The first thing that we need to know is what a transaction actually is. A series actions that are treated as a single unit of...
https://ducmanhphan.github.io/2020-04-10-Introduction-to-transactions-in-Spring-data-jpa/
CC-MAIN-2021-25
en
refinedweb
A chart filled with an image of company logo or propaganda is more impressive than a plain chart; adding a proper image into a chart as background will dramatically draw attention from your readers. As is similar to MS Excel, Spire.XLS enables users to insert pictures to specific chart elements such as chart area, bar ...
https://www.e-iceblue.com/Tutorials/Spire.XLS/Spire.XLS-Program-Guide/Chart/How-to-Fill-Chart-Elements-with-Pictures-in-C-VB.NET.html
CC-MAIN-2021-25
en
refinedweb
Python This section will give a very brief introduction to the Python language. For more information on the Python language, go to the Python homepage. Executing Python code You can execute Python code interactively by starting the interpreter like this: [hugo@cpu1 hugo]$ python Python 2.2.1 (#1, Aug 30 2002, 12:15:30)...
https://wiki.fysik.dtu.dk/ase2/Python
CC-MAIN-2021-25
en
refinedweb
This site uses strictly necessary cookies. More Information Hi! I am creating my first 2d game in unity and I have created a project with a camera and StatickBackground child object that supposed to move with camera. The camera is then following a player game object. At the beginning of the game, static background is o...
https://answers.unity.com/questions/1785165/position-of-cameras-children-objects-messed-up-aft.html
CC-MAIN-2021-25
en
refinedweb
write a C program which repeatedly reads in sentences from the user and reports on how many capital letters are in the sentence and how many punctuation characters. Your program will stop asking for input once the user has entered in a blank line. Consider the following example usage with the program. User input is mar...
https://cboard.cprogramming.com/c-programming/165737-find-number-capital-letters-punctuations-string.html?s=e1b5ae494992fd89df7276a30efaa149
CC-MAIN-2020-24
en
refinedweb
public class OverlappingFileLockException extends IllegalStateException Unchecked exception thrown when an attempt is made to acquire a lock on a region of a file that overlaps a region already locked by the same Java virtual machine, or when another thread is already waiting to lock an overlapping region of the same f...
https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/channels/OverlappingFileLockException?hl=es-419
CC-MAIN-2020-24
en
refinedweb
Node.js Under The Hood #1 - Getting to know our tools published a story I was recently called to speak at a huge Brazilian conference called The Conf. The whole point of the conference is to create content in English, in a way that others can benefit from it in the future by watching the recorded talks on-line and not ...
https://hashnode.com/post/nodejs-under-the-hood-1-getting-to-know-our-tools-ck0dydu50001dxws1ebuddmx4
CC-MAIN-2020-24
en
refinedweb
Programming Reference/Librarys Question & Answer Q&A is closed Q&A is closed This is an old revision of the document! Defines the active text mode window. window defines a text window on the screen. If the coordinates are invalid, the call window is ignored. left and top are the screen coordinates of the upper left cor...
https://code-reference.com/c/conio.h/window?rev=1360429318
CC-MAIN-2020-24
en
refinedweb
The forms used to edit Packages and Groups in CKAN can be customised. This makes it easier to help users input data, helping them choose from sensible options or to use different data formats. This document sets out to show how this is achieved, without getting embroilled in the main CKAN code. Note that this section d...
https://docs.ckan.org/en/ckan-1.4.1/forms.html
CC-MAIN-2020-24
en
refinedweb
I created a collection of programs that use my Interphase module to design the interface panel. The programs, packaged together in Interphase Pack, includes Serpent Duel, Pod Descent, and Sliding Control Puzzle. These programs are written in Python programming language and Pygame multimedia module. The source of the pr...
https://gatc.ca/2010/02/05/interphase-module-demo-pack/
CC-MAIN-2020-24
en
refinedweb
Applies to Universal Resource Scheduling solution (version 2.4.6.xx), Field Service application (version 7.5.4.xx), Project Service Automation application (version 2.4.7 page to install the update. For details, refer How to update a preferred solution. Bug fixes - Fixed: Schedule assistant no longer incorrectly encodes...
https://cloudblogs.microsoft.com/dynamics365/it/2019/01/24/release-notes-for-universal-resource-scheduling-november-2018-ur-10/
CC-MAIN-2020-24
en
refinedweb
In this Pandas groupby tutorial, we are going to learn how to organize Pandas dataframes by groups. More specifically, we are going to learn how to group by one and multiple columns. Furthermore, we are going to learn how to calculate some basics summary statistics (e.g., mean, median), convert Pandas groupby to datafr...
https://www.marsja.se/python-pandas-groupby-tutorial-examples/?utm_source=rss&utm_medium=rss&utm_campaign=python-pandas-groupby-tutorial-examples
CC-MAIN-2020-24
en
refinedweb
This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including icss-replace-symbols with all npm packages installed. Try it out: require()any package directly from npm awaitany promise instead of using callbacks (example) This service is prov...
https://npm.runkit.com/icss-replace-symbols
CC-MAIN-2020-24
en
refinedweb
#include <lib_instanceobject.h> Class that contains the minimal data to represent one or multiple instances of an object. This InstanceObject has two modes : single-instance mode or multi-instance mode. Update pCurrent data with the given information, added to the list if one is provided. Add op and its children as a d...
https://developers.maxon.net/docs/Cinema4DCPPSDK/html/class_instance_object.html
CC-MAIN-2020-24
en
refinedweb
Welcome to the LLBLGen Pro Runtime Framework documentation! To fully understand and take advantage of the elements in this documentation, it's key to understand the conventions we've used when writing the documentation, for example the order in which everything is laid out, the various .NET versions etc. It's recommend...
https://www.llblgen.com/Documentation/5.7/LLBLGen%20Pro%20RTF/docconventions.htm
CC-MAIN-2020-34
en
refinedweb
Ursnif: The Latest Evolution of the Most Popular Banking Malware 2018. Today it constantly reaches several organization across Italy presenting itself in several ways, for instance as a malicious document delivered through email. ursnif has been discovered by ZLab researchers as explained in this link. In December 2018...
https://yoroi.company/2019/04/05/
CC-MAIN-2020-34
en
refinedweb
System.Random.MWC Contents Description Pseudo-random number generation using. There're two representation of generator: Gen which is generator that uses in-place mutation and Seed which is immutable snapshot of generator's state. Initialization Generator could be initialized in several ways. One is to obtain randomness...
https://hackage.haskell.org/package/mwc-random-0.15.0.0/docs/System-Random-MWC.html
CC-MAIN-2020-34
en
refinedweb
meta data for this page Media Manager Namespaces Choose namespace Media Files - Media Files - Upload - Search Upload to admin Sorry, you don't have enough rights to upload files. File - Date: - 2016/04/15 07:00 - Filename: - chapter2_presentation_sustainability_indicators.pptx-1.pptx - Size: - 227KB - References for: -...
https://www.it.lut.fi/wiki/doku.php/courses/ct60a7000/spring2016/green/greening?tab_files=upload&do=media&tab_details=view&image=courses%3Act60a7000%3Aspring2016%3Agreen%3Achapter2_presentation_sustainability_indicators.pptx-1.pptx&ns=admin
CC-MAIN-2020-34
en
refinedweb
Use an Algorithm to Run a Training Job You can create use an algorithm resource to create a training job by using the Amazon SageMaker console, the low-level Amazon SageMaker API, or the Amazon SageMaker Python SDK Topics Use an Algorithm to Run a Training Job (Console) To use an algorithm to run a training job (consol...
https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-mkt-algo-train.html
CC-MAIN-2020-34
en
refinedweb
Related Question your settings.py is set to True, (but it is not! it clearly reads: Debug = False) I have my django installed properly with all the gunicorn, nginx and systemd collaborating with each other, I can see the Congratulations page you have successfully installed django etc. Yet, it says that my debug at sett...
https://www.digitalocean.com/community/questions/your-settings-py-is-set-to-true-but-it-is-not-it-clearly-reads-debug-false
CC-MAIN-2020-34
en
refinedweb
Author: thinking, this is not the book for you. This is a fast-paced tour and in 200 pages you get a lot of information. This is a compact book based on the first few chapters of The C++ Programming Language, Fourth Edition and if you already have the Stroustrup's classic tome book you probably don't need this one, but...
https://www.i-programmer.info/bookreviews/5-c/6841-a-tour-of-c-.html
CC-MAIN-2020-34
en
refinedweb
I'm having a problem with my linked list. I want to add to the beginning of the list and delete from the beginning of the list. I get an AccessViolation which is coming from where I print out the list. I also don't think it's adding elements to the linked list, it just overwrites whats there already. I don't know if th...
https://www.daniweb.com/programming/software-development/threads/476513/question-about-linkedlist-in-c
CC-MAIN-2020-34
en
refinedweb
REST API Representational State Transfer (REST) API is a simple stateless architecture that is used to create scalable web services. RESTful APIs usually communicate over Hypertext Transfer Protocol (HTTP). The BMC Atrium Core uses JavaScript Object Notation (JSON) format to transmit data between a server and a web app...
https://docs.bmc.com/docs/ac91/rest-api-609846775.html
CC-MAIN-2020-34
en
refinedweb
{- (c) The University of Glasgow 2006 (c) The AQUA Project, Glasgow University, 1996-1998 TcTyClsDecls: Typecheck type and class declarations -} {-# LANGUAGE CPP, TupleSections, MultiWayIf #-} {-# LANGUAGE TypeFamilies #-} module TcTyClsDecls ( tcTyAndClassDecls, -- Functions used by TcInstDcls to check -- data/type fa...
https://gitlab.haskell.org/ghc/ghc/-/blame/030211d21207dabb7a4bf21cc9af6fa5eb066db1/compiler/typecheck/TcTyClsDecls.hs
CC-MAIN-2020-34
en
refinedweb
It's always useful to hear someone else's perspective on a conference as they might have different takeaways from it which could help improve your knowledge. With this in mind, check out our this review of Scala Italy from our competition winner Maria Livia Chiorean and Software Developer Gabriel Asman. 'Through an une...
https://www.signifytechnology.com/blog/2018/09/highlights-from-scala-italy-by-maria-livia-chiorean-and-gabriel-asman
CC-MAIN-2020-34
en
refinedweb
SD_BUS_MESSAGE_SET_EXPECT_REPLY(3)age_set_expect_replyGE_SET_EXPECT_REPLY(3) sd_bus_message_set_expect_reply, sd_bus_message_get_expect_reply, sd_bus_message_set_auto_start, sd_bus_message_get_auto_start, sd_bus_message_set_allow_interactive_authorization, sd_bus_message_get_allow_interactive_authorization - Set and qu...
https://www.man7.org/linux/man-pages/man3/sd_bus_message_get_allow_interactive_authorization.3.html
CC-MAIN-2020-34
en
refinedweb
< SummerOfCode | 2007 Man/info page wiki editor - Student: Ville-Pekka Vainio - Mentor: Karsten Wade Introduction This is not a Google Summer of Code project, this is under a similar Finnish event called COSS Summercode 2007. Here are some links about the event: - COSS Main Page - Summercode Finland 2007 - Summercode F...
https://fedoraproject.org/w/index.php?title=SummerOfCode/2007/VillePekkaVainio&oldid=30720
CC-MAIN-2021-39
en
refinedweb
Containers the hard way It is a set of Linux's operating system primitives that provide the illusion of a container. A process or a set of processes can shed their environment or namespaces and live in new namespaces of their own, separate from the host's default namespace. Container management systems like Docker make...
https://golangexample.com/gocker-a-mini-docker-written-in-go/
CC-MAIN-2021-39
en
refinedweb
From: David Abrahams (abrahams_at_[hidden]) Date: 2001-03-12 19:53:47 ----- Original Message ----- From: <walter_at_[hidden]> > You are not alone ;-). We are currently developing a matrix library > targeted mainly to implement classical numerical procedures the > object oriented way. > > One important question at the b...
https://lists.boost.org/Archives/boost/2001/03/9448.php
CC-MAIN-2021-39
en
refinedweb
GREPPER SEARCH SNIPPETS USAGE DOCS INSTALL GREPPER All Languages >> TypeScript >> how to count the number of the digits in an input in python “how to count the number of the digits in an input in python” Code Answer how to count the number of the digits in an input in python typescript by Obnoxious Otter on Dec 11 2020...
https://www.codegrepper.com/code-examples/typescript/how+to+count+the+number+of+the+digits+in+an+input+in+python
CC-MAIN-2021-39
en
refinedweb
GREPPER SEARCH SNIPPETS USAGE DOCS INSTALL GREPPER All Languages >> Whatever >> i wish i could die “i wish i could die” Code Answer i wish i could die whatever by Better Batfish on Jun 08 2021 Comment 0 I wish I could just die I love you world and my friends and family but I was useless. I didnt want to be me I promise...
https://www.codegrepper.com/code-examples/whatever/i+wish+i+could+die
CC-MAIN-2021-39
en
refinedweb
Welcome.please sign up. By signing up or logging in, you agree to our Terms of serviceand confirm that you have read our Privacy Policy. Already a member? Go to Log In Welcome.please login. Forgot your password Not registered yet? Go to Sign Up def table(n,i): print n*i i=i+1 if i<=10: table(n,i) table(12,1) def power(...
https://www.codesdope.com/practice/python-have-your-own-function/
CC-MAIN-2021-39
en
refinedweb
SYNOPSIS #include <search.h> void insque(void *element, void *pred); void remque(void *element); DESCRIPTION The The The If the queue is to be used as a linear list, invoking insque(&element, NULL); where element is the initial element of the queue, initializes the forward and backward pointers of element to null point...
https://www.mkssoftware.com/docs/man3/insque.3.asp
CC-MAIN-2021-39
en
refinedweb
This method allows you to specify an event to emit after various specified events have all fired. For example, if we call a database and read a file to assemble a webpage, then we can do something like emitter.when([["file parsed, "jack"], ["database returned", "jack"]], ["all data retrieved","jack"]); emitter.when(["f...
https://openbase.com/js/event-when
CC-MAIN-2021-39
en
refinedweb
A collaborative collection of open-source safe GPT-3 prompts that work well Feel free to contribute your prompts! To use gpt-scrolls, you'll need access to the OpenAI API. If you haven't, sign up for the beta. $ pip install gpt-scrolls $ export OPENAI_API_KEY=... $ python -c "import scrolls; print(scrolls.run('creative...
https://openbase.com/python/gpt-scrolls
CC-MAIN-2021-39
en
refinedweb
Vertex property node. More... #include <Inventor/nodes/SoVertexProperty.h> Vertex property node. This property node is be used to efficiently specify coordinates, normals, tangents, texture coordinates, colors, transparency values, material binding, normal and tangent binding for vertex-based shapes, i.e., shapes deriv...
https://developer.openinventor.com/refmans/latest/RefManCpp/class_so_vertex_property.html
CC-MAIN-2022-05
en
refinedweb
Our book “Oracle Service Bus 11g Development Cookbook” has been added by Oracle to the “Learn More About Oracle Service Bus” section on OTN. You can find it over here together with other usefull resources. ... “Whip up a fresh batch of service- and message-oriented solutions with these recipes from the Oracle Service B...
http://www.xenta.nl/blog/page/2/
CC-MAIN-2019-51
en
refinedweb
MoveIt! with Gazebo, using MoveItSimpleControllerManager, joint_trajectory_controller Hi, I am trying to use MoveIt! to control a simulated robot in Gazebo, and am at a loss as to how to proceed. The only documentation / tutorial I can find on the subject is this one, which is 4 years old and works only for a specific ...
https://answers.ros.org/question/265138/moveit-with-gazebo-using-moveitsimplecontrollermanager-joint_trajectory_controller/
CC-MAIN-2019-51
en
refinedweb
24 days of Hackage, 2015: day 11: monad-loops: avoiding writing recursive functions by refactoringDec 11, 2015 · 8 minute read · Comments HaskellHackagerecursionmonad-loops Table of contents for the whole series A table of contents is at the top of the article for day 1. Day 11 I often dislike writing recursive functio...
https://conscientiousprogrammer.com/blog/2015/12/11/24-days-of-hackage-2015-day-11-monad-loops-avoiding-writing-recursive-functions-by-refactoring/
CC-MAIN-2022-33
en
refinedweb
Currently there are only two signatures supported on callbacks: one with user_data and extern_data and the other with extern_data and user_data (the positions are all that is different). These are nice and general functions and work well because the user_data is/should be opaque to the calling C function, the user_data...
https://groups.google.com/g/perl.perl6.internals/c/BQ0U1MP32zU
CC-MAIN-2022-33
en
refinedweb
Summary Generates a report of the geometry problems in a feature class. For additional information on geometry problems, their impact on the software, and potential sources, Output Table will have a record for each geometry problem discovered. If no problems are found, the table will be empty. The Output Table contents...
https://pro.arcgis.com/en/pro-app/2.7/tool-reference/data-management/check-geometry.htm
CC-MAIN-2022-33
en
refinedweb
View all headers Path: cs.uu.nl!phil.uu.nl!humbolt.nl.linux.org!news.nl.linux.org!news.utwente.nl!surfnet.nl!newsfeed.bit.nl!newsfeed.bit.nl!news2.euro.net!in.100proofnews.com!in.100proofnews.com!cox.net!news-xfer.cox.net!199.224.117.12.MISMATCH!news2.epix.net!news1.epix.net!dclunie.com Newsgroups: alt.image.medical,co...
http://www.faqs.org/faqs/medical-image-faq/part6/
CC-MAIN-2022-33
en
refinedweb
. I love the updates!!! especially tabs and search. Also love the purplish theme. And most of all love the improved traceback readout. And the consolidated keyboard is a great idea. Great job OMZ you've created the premier development platform for (on) iOS! Just an observation - the yellow dot to the left of "Pythonist...
https://forum.omz-software.com/topic/1782/beta-status-update/101
CC-MAIN-2022-33
en
refinedweb
A simple wrapper for executing virtualenv commands and passing them environment variables via a config file. Project description A simple wrapper for executing virtualenv commands and passing them environment variables via a config file. Use case Let’s say you deploy a Django site named “example.com”. You follow all th...
https://pypi.org/project/env-cmd/
CC-MAIN-2022-33
en
refinedweb
read a message from another process #include <sys/kernel.h> #include <sys/sendmx.h> unsigned Readmsgmx( pid_t pid, unsigned offset, parts, struct _mxfer_entry *msgmx ); The kernel function Readmsgmx() reads data into an array of buffers pointed to by msgmx from the process identified by pid. The number of elements in t...
https://users.pja.edu.pl/~jms/qnx/help/watcom/clibref/qnx/readmsgmx.html
CC-MAIN-2022-33
en
refinedweb
Wing Tips: Extending Wing with Python (Part 1 of 4) In this issue of Wing Tips we start to look at how to extend Wing's functionality by writing Python code. Extension scripts can be used to automate custom editing tasks, access Wing's source code analysis, control the debugger, and much more. A Simple Example Scripts ...
https://wingware.com/blog/scripting-1
CC-MAIN-2022-33
en
refinedweb
How I set up a11y testing on this blog In order to learn more about accessiblity testing, I decided to set up Cypress testing with axe-core on this website. Setting this up was straight-forward and doesn't require too much overhead. I admit that cypress-axe cannot test every accessibility detail, for example focus mana...
https://www.lwkchan.com/posts/how-i-set-up-a11y-testing-on-this-blog/
CC-MAIN-2022-33
en
refinedweb
PropPickPropPick A tool that helps you filter properties from objects filtering from non-nested objects: const obj = { a:1, b:2, c:3, d:4 } // filtering 'a' and 'c' from obj pick('a c', obj) //=> { a:1 , c:3 } filtering from nested objects: const tournament = { result: { winner: 'Anna', time: '01:27:32' }, date: '2020-...
https://www.npmjs.com/package/prop-pick
CC-MAIN-2022-33
en
refinedweb
Getting Started with Service Bus for Windows Server winfab services as well as the Service Bus. Then, do the following: Using a local feed Note This step is required if you are using a private feed such as Microsoft Connect, or a DVD. First, be sure to uninstall any existing winfab services as well as the Service Bus. ...
https://docs.microsoft.com/en-us/previous-versions/service-bus-archive/jj193021(v=azure.100)
CC-MAIN-2022-33
en
refinedweb
Using Predictive Power Score to Pinpoint Non-linear Correlations In statistics, correlation or dependence is any statistical relationship, whether causal or not, between two random variables or bivariate data. In the broadest sense, correlation is any statistical association, although it commonly refers to the degree t...
https://www.analyticsvidhya.com/blog/2020/12/using-predictive-power-score-to-pinpoint-non-linear-correlations/
CC-MAIN-2022-33
en
refinedweb
Sends a response to a Simple Network Management Protocol (SNMP) agent. SNMP Library (libsnmp.a) #include <isode/snmp/smux.h> int smux_response ( event) struct type_SNMP_GetResponse__PDU *event; The smux_response subroutine sends a protocol data unit (PDU), also called an event, to the SNMP agent. The subroutine does no...
http://ps-2.kev009.com/wisclibrary/aix51/usr/share/man/info/en_US/a_doc_lib/libs/commtrf2/smux_response.htm
CC-MAIN-2022-33
en
refinedweb
4 Core Concepts of. The next person to ask me will receive a fully detailed answer, an essay even. So buckle up for my official answer… someone: What is Object Oriented Programming? me: What a great question! Object Oriented Programming (OOP) is a programming paradigm that makes developing large projects easier and has...
https://oliviacodes.medium.com/junior-devs-object-oriented-programming-bcf45d0d7adf?source=post_internal_links---------6----------------------------
CC-MAIN-2022-33
en
refinedweb
Lots the feedback as Good or Bad : If the string contains the substring “010” or “101”, then the feedback is Good, else it is Bad. Note that, to be Good it is not necessary to have both of them as substring. So given some binary strings, you need to output whether according to the chef, the strings are Good or Bad. Inp...
https://www.programminglogic.com/codechef-problem-feedback/
CC-MAIN-2019-13
en
refinedweb
Text-based user interface for character creation. More... #include "angband.h" #include "cmds.h" #include "cmd-core.h" #include "game-event.h" #include "game-input.h" #include "obj-tval.h" #include "player.h" #include "player-spell.h" #include "ui-birth.h" #include "ui-display.h" #include "ui-game.h" #include "ui-help....
http://buildbot.rephial.org/builds/master/doc/ui-birth_8c.html
CC-MAIN-2019-13
en
refinedweb
Datastore provides high availability, scalability and durability by distributing data over many machines and using synchronous replication over a wide geographic area. However, there is a tradeoff in this design, which is that the write throughput for any single entity group is limited to about one commit per second, ...
https://cloud.google.com/appengine/docs/standard/python/datastore/structuring_for_strong_consistency?hl=da
CC-MAIN-2021-39
en
refinedweb
Apache Kafka makes it possible to run a variety of analytics on large-scale data. This is the first half of a two-part article that employs one of Kafka's most popular projects, the Kafka Streams API, to analyze data from an online interactive game. Our example uses the Kafka Streams API along with the following Red Ha...
https://developers.redhat.com/articles/2021/08/24/game-telemetry-kafka-streams-and-quarkus-part-1
CC-MAIN-2021-39
en
refinedweb
0 It seems like a simple problem but I can't seem to find the solution. Basically I have a wx.TextCtrl on a wx.ScrolledWindow and I want to expand the TextCtrl to fill the window - a simple editor if you will. I have the "Proportion" as "1" and I've used a sizer and tried different "Layouts" but nothing works. Not only...
https://www.daniweb.com/programming/software-development/threads/453930/getting-wx-textctrl-to-fill-a-scrolled-window-py
CC-MAIN-2017-26
en
refinedweb
I new to c++ and dont know alot so plz bare with me. Im trying to do this code out of C++ for Dummies and i though i done everthing right. (cant be to hard just copy the text right?) Well I am getting a error of "In file include from main.cpp" on line 4 of main.cpp this is the main.cpp This is the pen.hThis is the pen....
https://cboard.cprogramming.com/cplusplus-programming/70820-promblem-h.html
CC-MAIN-2017-26
en
refinedweb
0 Hey guys, I'm here once again! I need help for something that is simple, but I'm not getting the results I should be getting! I want my output to look like this: Enter hours worked: 44 Enter pay rates: 10 Hours worked: 44 Pay Rate: 10 This week's salary: 460 Enter an integer 7 In main: x = -7 and y = 0 Press any key ...
https://www.daniweb.com/programming/software-development/threads/120437/calculations-on-output-don-t-come-out-right
CC-MAIN-2017-26
en
refinedweb
In the last article of this MIDP series, you learned about event processing with the Command object. Commands are mapped either to soft buttons on a device or to a menu system. When working with high-level user interface components, an additional means of event management is available through the Item object. This obje...
http://www.informit.com/articles/article.aspx?p=26407&amp;seqNum=3
CC-MAIN-2017-26
en
refinedweb
write, compile and test a short program to read in a list of 10 positive numbers which also determines and prints out the largest number. here's what i've got so far. but how do i change it in order for it to accept a positive number only? using System; using System.Collections.Generic; using System.Linq; using System....
https://www.daniweb.com/programming/software-development/threads/397589/largest-c
CC-MAIN-2017-26
en
refinedweb
Alright, I need a program that has both a selection structure and a repetition structure. Would someone please tell me if I am doing this right. My code gives me the correct output but do I have a selection and repetition structure? #include <iostream> using namespace std; int main () { // variables double incomes = 0....
https://www.daniweb.com/programming/software-development/threads/428562/i-need-a-second-eye-on-my-code
CC-MAIN-2017-26
en
refinedweb
Every explains what the different return codes mean in libCouchbase derived clients (Ruby, PHP, Python, C/C++) and what your app should do when it encounters one. Couchbase clients are smart. This means that they are cluster topology aware – if a node fails, the client is aware of this. If a new node is added to the cl...
https://blog.couchbase.com/handling-runtime-errors-ruby-python-and-c-clients/
CC-MAIN-2017-30
en
refinedweb
Hello World, So this is an interesting problem. You are collecting data from somewhere and you want to feed it into a neural network for classification. There is one main problem with this. The shape of the data! Neural networks and really just anything require specifically shaped data, you can’t just like give it some...
http://dacrook.com/standardize-continuous-data-shape-for-neural-networks/
CC-MAIN-2017-30
en
refinedweb
CUPS provides two libraries that interface with the different parts of the printing system. The "cups" library provides all of the common application and filter functions while the "cupsimage" library provides all of the imaging functions used in raster printer drivers. The "cups" library functions are accessed by incl...
https://opensource.apple.com/source/cups/cups-327.3/cups/cups/api-overview.shtml
CC-MAIN-2017-30
en
refinedweb
StatsD for .NET: DogStatsD More love for your Microsoft stack from Datadog! Alongside our Microsoft Event Viewer, IIS, and SQL Server integrations, you are now able to monitor custom metrics in your .NET applications with our new DogStatsD C# client. DogStatsD is a metrics aggregation server that is bundled with the Da...
https://www.datadoghq.com/blog/statsd-for-net-dogstatsd/
CC-MAIN-2017-30
en
refinedweb
.openide.actions;21 22 23 /** Implements the delegation to ActionManager that is called from24 * openide/util.25 */26 public class ActionsBridgeImpl extends org.netbeans.modules.openide.util.ActionsBridge {27 /** Invokes an action.28 */29 protected void invokeAction (javax.swing.Action action, java.awt.event.ActionEven...
http://kickjava.com/src/org/netbeans/modules/openide/actions/ActionsBridgeImpl.java.htm
CC-MAIN-2017-30
en
refinedweb
For a while a maintained a Python package 'foo' with a number of modules (including a nested structure of module). Now the package moved into a namespace package'a.b.foo'. What is the way to approach making old code work with the new package in order that imports like import foo.bar.xxx or from foo.bar import xxx remai...
https://mail.python.org/pipermail/python-list/2009-March/530470.html
CC-MAIN-2017-30
en
refinedweb
tried option "-fwrapv" in my AdaCore GNAT Programming Studio, = which is suppository using public domain C and C++ compiler from MinGW = (release=3D 3.4.2 mingw-special), and then re-built the entire project. >=20 > However, the following expression is still being capped, not wrapped: >=20 > oibrg =3D (T_180B15_ANGLE)...
https://sourceforge.net/p/mingw/mailman/mingw-users/thread/4660BC0B.29DD1981@dessent.net/
CC-MAIN-2017-30
en
refinedweb
I would like to talk about a new API feature in the BlackBerry® Java® Development Environment v5.0 (Beta) I worked on called the Media Actions API. In this article I will discuss how to use this API to respond to media key presses in the same way that the built-in media player does: respond to media key presses while i...
http://devblog.blackberry.com/2009/08/media-actions-api-in-blackberry-jde-v5-0-0-how-to/
CC-MAIN-2017-30
en
refinedweb
MALLOC(3V) MALLOC(3V) NAME malloc, free, realloc, calloc, cfree, memalign, valloc, mallocmap, mal- lopt, mallinfo, malloc_debug, malloc_verify, alloca - memory allocator SYNOPSIS #include <<malloc.h>> char *malloc(size) unsigned size; int free(ptr) char *ptr; char *realloc(ptr, size) char *ptr; unsigned size; char *cal...
http://modman.unixdev.net/?sektion=3&page=malloc_verify&manpath=SunOS-4.1.3
CC-MAIN-2017-30
en
refinedweb
1. Introduction 1.1. Overview As I explained in a previous blog post, I delivered a presentation this week as part of the Microsoft TechEd 2011 event. The presentation was titled “Windows Server 2008 R2 File Services Consolidation - Technology Update”. It included two demos that showed several Windows Server 2008 R2 fe...
https://blogs.technet.microsoft.com/josebda/2011/05/19/teched-2011-demo-install-step-by-step-hyper-v-ad-dns-iscsi-target-file-server-cluster-sql-server-over-smb2/
CC-MAIN-2017-30
en
refinedweb
Since microservices are one of the core components of the mu.semte.ch architecture, we pay a lot of attention to making the development of a microservice as easy and productive as possible. In a previous blog post we already introduced the idea of templates with the mu-ruby-template. A template is an easy starting poin...
https://mu.semte.ch/2017/06/29/building-a-microservice-with-express/
CC-MAIN-2017-30
en
refinedweb