text
stringlengths
20
1.01M
url
stringlengths
14
1.25k
dump
stringlengths
9
15
⌀
lang
stringclasses
4 values
source
stringclasses
4 values
README @visma/react-openapi-client-generator@visma/react-openapi-client-generator Generate typed hooks and methods for React app from OpenAPI schema. Setup in Create React AppSetup in Create React App Install: npm i @visma/react-openapi-client-generator Add API schema JSON, e.g. src/petstore.json(examples) Add scripts ...
https://www.skypack.dev/view/@visma/react-openapi-client-generator
CC-MAIN-2022-21
en
refinedweb
Hey there! Here’s a weird thing that took me considerable time to figure out: calling suspendCoroutine in a loop seems to break Coroutine scheduling in some cases. Specifically, I have this reduced example: import kotlinx.coroutines.delay import kotlinx.coroutines.launch import kotlinx.coroutines.runBlocking import jav...
https://discuss.kotlinlang.org/t/repeated-calls-to-suspendcoroutine-seem-to-break-coroutine-scheduling/23615
CC-MAIN-2022-21
en
refinedweb
Functional programming gives us a mental model that can be helpful when looking at unit testing our object-oriented code. In particular, it gives us two terms: - Pure functions - these are deterministic methods with explicit inputs and outputs (e.g. no implicit dependency on the system clock). This kind of method is th...
https://thoughtbot.com/blog/simplify-tests-by-extracting-side-effects
CC-MAIN-2022-21
en
refinedweb
GREPPER SEARCH WRITEUPS DOCS INSTALL GREPPER All Languages >> Go >> Google Collab Data Load “Google Collab Data Load” Code Answer Google Collab Data Load go by vizard on Aug 06 2020 Comment 21 from google.colab import drive drive.mount("/content/gdrive") Add a Grepper Answer Go answers related to “Google Collab Data Lo...
https://www.codegrepper.com/code-examples/go/Google+Collab+Data+Load
CC-MAIN-2022-21
en
refinedweb
: The variable level_mg_handler has been renamed to mg_level in MatrixFree and its associated AdditionalData. (Peter Munch, 2019/10/17) Changed: The type of exact_solution in VectorTools::integrate_difference() was double and fe_function could have any numerical type (double, float, std::complex<double> or std::complex...
https://www.dealii.org/developer/doxygen/deal.II/recent_changes.html
CC-MAIN-2019-47
en
refinedweb
, calculator also has keypad on it. So, in short there are numerous applications of keypad. You should also read the Real Life examples of Embedded Systems and you will find Keypad in them as well. Keypad is used where you need to used numerical buttons or you need to use lots of buttons for sending commands so like in...
https://www.theengineeringprojects.com/2015/12/interfacing-keypad-arduino-proteus-isis.html
CC-MAIN-2019-47
en
refinedweb
When I run: curl -D - -X POST -u myuuid:mypass -d '{"access":"private","users":[{"uid":"myuuid","permission":"AdminReadWrite"}]}' \ '' I get this error: {"error":"corpus does not exist","url":"/myuuid/corpname"} Any ideas? (X-Global-Transaction-ID: 82095273) Answer by mfrager (76) | Feb 06, 2015 at 01:34 AM Nevermind.....
https://developer.ibm.com/answers/questions/174049/how-do-i-create-a-new-corpus-for-concept-insights.html?sort=votes
CC-MAIN-2019-47
en
refinedweb
A sort of hybrid between MemoryWriteStream and Array classes. More... #include <memstream.h> List of all members. A sort of hybrid between MemoryWriteStream and Array classes. A stream that grows as it's written to. Definition at line 163 of file memstream.h. [inline, explicit] Definition at line 191 of file memstream....
https://doxygen.residualvm.org/d9/dfa/classCommon_1_1MemoryWriteStreamDynamic.html
CC-MAIN-2019-47
en
refinedweb
To avoid the process of ITR filing only to claim back the TDS on FD interests, investors may download and submit these forms, depending on their age. Interests on fixed deposit (FD) are fully taxable, except for senior citizens, who now get exemption up to Rs 50,000 in a financial year. For investors below 60 years of ...
https://www.financialexpress.com/money/income-tax/tds-on-fd-for-2019-20-form-to-download-step-to-take-to-avoid-income-tax-cut-on-fixed-deposit/1606612/
CC-MAIN-2019-47
en
refinedweb
NAME SSL_CTX_set_cipher_list, SSL_set_cipher_list - choose list of available SSL_CIPHERs SYNOPSIS #include <openssl/ssl.h> int SSL_CTX_set_cipher_list(SSL_CTX *ctx, const char *str); int SSL_set_cipher_list(SSL *ssl, const char *str); DESCRIPTION. NOTES.(3), SSL_get_ciphers(3), SSL_CTX_use_certificate(3), SSL_CTX_set_t...
https://www.openssl.org/docs/man1.0.2/man3/SSL_CTX_set_cipher_list.html
CC-MAIN-2019-47
en
refinedweb
Chris just wanted to mention that the Stripe master course is getting a little out of date (mostly just API changes on Stripe's end). Maybe a good idea to enable commenting on each section/video in the course so people can see there what they need to change. To start, it looks like you can pass the Stripe token as the ...
https://gorails.com/forum/stripe-payments-course-getting-out-of-date
CC-MAIN-2019-47
en
refinedweb
Deletes a namespace. This also deletes all services and endpoints in the namespace. HTTP request DELETE{name=projects/*/locations/*/namespaces/*} The URL uses gRPC Transcoding syntax. Path parameters Request body The request body must be empty. Response body If successful, the response body will be empty. Authorization...
https://cloud.google.com/service-directory/docs/reference/rest/v1beta1/projects.locations.namespaces/delete
CC-MAIN-2022-05
en
refinedweb
? 1st load a variable up with the content. To do this I use a setUp Thread Group which executes a Groovy (JSR223) controller with the following code that loads a JMeter Property up with the data: import org.apache.jmeter.util.JMeterUtils; String fileContents = new File('./MyFile.pdf').getText('UTF-8'); fileContents = f...
https://hellotestworld.com/2015/12/14/loading-file-contents-into-a-jmeter-variable/
CC-MAIN-2022-05
en
refinedweb
Basic Input Java Input There are several ways to get input from the user in Java. You will learn to get input by using Scanner object in this article. For that, you need to import Scanner class using: import java.util.Scanner; Learn more about Java import Then, we will create an object of Scanner class which will be us...
http://semantic-portal.net/java-basics-input
CC-MAIN-2022-05
en
refinedweb
Retrieve the current value of the specified buffer property of type long long integer. #include <screen/screen.h> int screen_get_buffer_property_llv(screen_buffer_t buf, int pname, long long *param) The handle of the buffer whose property is being queried. The name of the property whose value is being queried. The prop...
http://www.qnx.com/developers/docs/qnxcar2/topic/com.qnx.doc.qnxcar2.screen/topic/screen_get_buffer_property_llv.html
CC-MAIN-2022-05
en
refinedweb
Selenium Python – Concept of Parameterization Sometimes, we come across situations where we need to execute the same test case, but with every execution, we need to use a different data set. Or sometimes, we need to create test data prior to our test suite execution. To resolve all these requirements, we should be fami...
https://btechgeeks.com/parameterization-in-pytest-with-selenium/
CC-MAIN-2022-05
en
refinedweb
- Designing the Active Directory Infrastructure to Meet Business and Technical Requirements - Designing the Network Services Infrastructure to Meet Business and Technical Requirements - Analyzing the Effect of the Infrastructure Design on the Existing Technical Environment - Exam Prep Questions - Need to Know More? Des...
https://www.informit.com/articles/article.aspx?p=102280&seqNum=2
CC-MAIN-2022-05
en
refinedweb
meta data for this page Media Manager Namespaces Choose namespace Media Files - Media Files - Upload - Search Upload to wiki Sorry, you don't have enough rights to upload files. File - Date: - 2010/11/06 15:45 - Filename: - kt3_julia_ulyanova.docx - Size: - 14KB - References for: - ulyanovayulia
https://www.it.lut.fi/wiki/doku.php/start?tab_files=upload&do=media&tab_details=view&image=courses%3Act30a2001%3Aopiskelijat%3Akt3_julia_ulyanova.docx&ns=wiki
CC-MAIN-2022-05
en
refinedweb
max¶ - paddle. max ( x, axis=None, keepdim=False, name=None ) [source] Computes the maximum of tensor elements over the given axis. - Parameters x (Tensor) – A tensor, the data type is float32, float64, int32, int64. axis (int|list|tuple, optional) – The axis along which the maximum is computed. If None, compute the ma...
https://www.paddlepaddle.org.cn/documentation/docs/en/api/paddle/max_en.html
CC-MAIN-2022-05
en
refinedweb
All code from this tutorial as a complete package is available in this repository. If you find this tutorial helpful, please share it with your friends and colleagues! For more like it you can subscribe on Youtube or follow me on Twitter. This tutorial is available as a video lesson if you prefer that format: Table of ...
https://dev.to/alexeagleson/how-to-connect-a-react-app-to-a-notion-database-51mc
CC-MAIN-2022-05
en
refinedweb
README @4giving/r-m-e@4giving/r-m-e This is a modified clone of Rich Markdown Editor. UsageUsage InstallInstall yarn add @4giving/r-m-e or npm install @4giving/r-m-e Note that react, react-dom, and styled-components are required peer dependencies. ImportImport import Editor from '@4giving/r-m-e'; <Editor defaultValue="...
https://www.skypack.dev/view/@4giving/r-m-e
CC-MAIN-2021-31
en
refinedweb
compiling below code gives an error, can someone help me in resolving this? import java.util.; import java.lang.; import java.io.*; import java.util.Scanner; /* Name of the class has to be “Main” only if the class is public. */ class Codechef { public static void main (String[] args) { int a,b; Scanner input = new Scan...
https://discusstest.codechef.com/t/nosuchelementexception-for-nextint/19095
CC-MAIN-2021-31
en
refinedweb
Passing by Value vs. Passing by Reference in Java While many languages put information passing into the hands of developers, all data is passed by value in Java. See how to turn that restriction to your advantage. Join the DZone community and get the full member experience.Join For Free Understanding the technique used...
https://dzone.com/articles/pass-by-value-vs-reference-in-java
CC-MAIN-2021-31
en
refinedweb
Now that OCaml 4.08 has been released, let’s have a look at what was accomplished, with a particular focus on how our plans for 4.08 fared. I’ll mostly focus on work that we in the Jane Street Tools & Compilers team were involved with, but we are just some of the contributors to the OCaml compiler, and I’ll have a quic...
https://blog.janestreet.com/a-look-at-ocaml-4.08/
CC-MAIN-2021-31
en
refinedweb
useStatic You can define async calls that will be produce static JSON on site generation. You can pre-run expensive functions using useStatic. import { defineComponent, useContext, useStatic, computed, } from '@nuxtjs/composition-api' import axios from 'axios' export default defineComponent({ setup() { const { params }...
https://composition-api.nuxtjs.org/api/usestatic/
CC-MAIN-2021-31
en
refinedweb
Bob nightlies are failling Created by: tiagofrepereira2012 As you can see here, our nightlies is broken (just one example). Follow bellow a short example on how to reproduce the error import numpy from bob.io.base import File a3 = numpy.random.normal(size=(3,4)).astype('complex128') #not supported File("xuxu.bindata",'...
https://gitlab.idiap.ch/bob/bob.io.base/-/issues/9
CC-MAIN-2021-31
en
refinedweb
Migrating to Java 9? Here’s what you need to know about identifiers, favored classes, and command line options, which might cause you trouble. JDK 9 is in the final phases of development, heading towards release on September 21st. The public review consideration ballot for the Java Platform Module System was passed [al...
https://learningactors.com/jdk-9-pitfalls-for-the-unwary/
CC-MAIN-2021-31
en
refinedweb
public class OAuthBearerLoginModule extends Object implements LoginModule LoginModulefor the SASL/OAUTHBEARER mechanism. When a client (whether a non-broker client or a broker when SASL/OAUTHBEARER is the inter-broker protocol) connects to Kafka the OAuthBearerLoginModuleinstance asks its configured AuthenticateCallbac...
https://docs.confluent.io/platform/6.2.0/clients/javadocs/javadoc/org/apache/kafka/common/security/oauthbearer/OAuthBearerLoginModule.html
CC-MAIN-2021-31
en
refinedweb
Template:Shortcut A shortcut is a shorter alternative name for a resource or section of a resource. The shortcut requires a redirect to work. Usage - Insert the shortcut. If for a section, place above the section name. - Create a redirect page with the {{R from shortcut}} template suffixed to the redirect. Name the pag...
https://en.wikiversity.org/wiki/Template:Shortcut
CC-MAIN-2021-31
en
refinedweb
Important: Please read the Qt Code of Conduct - Deleting sections from a moc file Hi, I have QDialog called review (review.h, review.cpp and review.ui). When I run the program I get the following error message: C:\Programming\Projects\build-Folkfriends_1-Desktop_Qt_5_6_1_MinGW_32bit2-Debug\debug\moc_review.cpp:70: erro...
https://forum.qt.io/topic/69601/deleting-sections-from-a-moc-file
CC-MAIN-2021-31
en
refinedweb
The 2014 Budget was delivered by the Finance Minister on 21 February 2014. As expected, the theme of the 2014 Budget was to continue the long-term strategy of restructuring Singapore's economy and to build a fair and equitable society. In line with this theme, the focus of the tax changes introduced in this year's Budg...
https://www.lexology.com/library/detail.aspx?g=8f8d4c81-4657-419b-93bd-fbf8601e5d13
CC-MAIN-2021-31
en
refinedweb
Namespace: MailBee.AntiSpamNamespace: MailBee.AntiSpam This sample checks an e-mail against popular RBLs (the e-mail is loaded from a file but could also be received from a mail server, the only requirement is that the message must have Received header from which MailBee will determine the IP address the message origin...
https://afterlogic.com/mailbee-net/docs/MailBee.AntiSpam.RblFilterConstructor1.html
CC-MAIN-2021-31
en
refinedweb
carbon-addons-data-viz-react The React version of carbon-addons-data-viz (currently the only version). Getting Started Install: npm install -S carbon-addons-data-viz-react Import the graph: import { LineGraph } from 'carbon-addons-data-viz-react'; Import the styles: @import 'carbon-addons-data-viz-react/sass/index'; He...
https://reactjsexample.com/carbon-data-visualization-components-built-in-react/
CC-MAIN-2021-31
en
refinedweb
Scoping And Accessibility Quirks in C# As I mentioned recently, I’ve taken to using an inheritance scheme in my approach to unit testing. Because of the mechanics of this scheme, making a class under test internal this morning brought to light two relatively obscure properties of scoping and visibility in C# that you m...
https://daedtech.com/tag/scoping/
CC-MAIN-2022-40
en
refinedweb
Freestar Pubfig Ad Slot React Component NOTE: As of v1.1, the prerequisite of the core Pubfig code loaded in the HEAD is no longer required. Install npm install --save @freestar/pubfig-adslot-react-component Usage import React, { Component } from 'react' import FreestarAdSlot from '@freestar/pubfig-adslot-react-compone...
https://npmtrends.com/@freestar/pubfig-adslot-react-component
CC-MAIN-2022-40
en
refinedweb
The C++ programming language offers many useful features for tackling complex scientific computing problems. Inheritance, polymorphism, generic programming, and operator overloading are of primary importance. Unfortunately, most of these advanced features carry a hefty performance cost. Until recently, C++ performance ...
https://www.developer.com/microsoft/c-sharp/blitz-fast-accurate-numerical-computing-in-c/
CC-MAIN-2022-40
en
refinedweb
In this chapter, we will discuss how to implement security features in the application. We will also look at the new membership features included with ASP.NET and available for use from ASP.NET MVC. In the latest release of ASP.NET, we can manage user identities with the following − - Cloud - SQL database - Local Windo...
https://scanftree.com/tutorial/mvc/security/
CC-MAIN-2022-40
en
refinedweb
Description Hi there, I am trying to get a python inference script running that shall use ROS to recieve images and TensorRT to do inference. The inferencing works totally fine without ROS and no errors occur. However, as soon as I even only import cv_bridge modules into the script, the engine creation engine = runtime...
https://forums.developer.nvidia.com/t/tensorrt-with-ros-on-jetson-agx-xavier-engine-de-serialization-failure/215713
CC-MAIN-2022-40
en
refinedweb
Adnuntius iOS SDKAdnuntius iOS SDK Adnuntius iOS SDK is an ios sdk which allows business partners to embed Adnuntius ads in their native ios applications. BuildingBuilding Use Carthage cli to build the AdnuntiusSDK.framework and import into your project. Create or modify your Cartfile to include: github "Adnuntius/ios_...
https://libraries.io/carthage/Adnuntius%2Fios_sdk
CC-MAIN-2022-40
en
refinedweb
go-sqlite-litego-sqlite-lite go-sqlite-lite is a SQLite driver for the Go programming language. It is designed with the following goals in mind. - Lightweight - Most methods should be little more than a small wrapper around SQLite C functions. - Performance - Where possible, methods should be available to allow for the...
https://libraries.io/go/github.com%2Frid-lin%2Fgo-sqlite-lite
CC-MAIN-2022-40
en
refinedweb
Cauldron C# ToolkitCauldron C# Toolkit List of breaking changesList of breaking changes Version 3.1.xVersion 3.1.x All Cauldron.Core namespaces were renamed to Cauldron. Packages that were merged or renamedPackages that were merged or renamed Version 3.0.0Version 3.0.0 The interceptors (method, property, fields, constr...
https://libraries.io/nuget/Cauldron.Cecilator
CC-MAIN-2022-40
en
refinedweb
In previous tutorials we've used the Qt Widgets API for building our applications. This has been the standard method for building applications since Qt was first developed. However, Qt provides another API for building user interfaces: Qt Quick. This is a modern mobile-focused API for app development, with which you ca...
https://www.pythonguis.com/tutorials/pyqt6-qml-qtquick-python-application/
CC-MAIN-2022-40
en
refinedweb
Angular Architecture: A book on applying enterprise patterns and practices in Angular. This sample chapter talks about cross-cutting concerns: - what they are - benefits - how to implement your own - how to provide configuration to a cross-cutting concern See the book on Leanpub.com - Angular Architecture by Matt Vaugh...
https://dev.to/buildmotion/cross-cutting-concerns-in-angular-4b5a
CC-MAIN-2022-40
en
refinedweb
Concatenate sparse matrix Eigen eigen::map sparse matrix eigen/sparse matrix inverse eigen/sparse identity matrix eigen csr format eigen sparse sparse matrix manipulation c++ sparse matrix I have two sparse matrices in Eigen, and I would like to join them vertically into one. As an example the target of the code would ...
http://thetopsites.net/article/50353398.shtml
CC-MAIN-2021-04
en
refinedweb
Make a Random Password Generator | Beginner Java Project ADVERTISEMENT Project Introduction., see how our finished project works for reference. Watch the video, or click run to see the project yourself! import java.util.Scanner; class Main { public static void main(String[] args) { //Create a Scanner (import it above!)...
https://initialcommit.com/blog/make-a-java-random-password-generator
CC-MAIN-2021-04
en
refinedweb
Custom Augmentations with Arithmetic Operations¶ This section shows you how to implement a custom augmentation by using expressions with arithmetic operations in the DALI Pipeline. Blending Images¶ We will create a pipeline that blends images in a few different ways. To easily visualize the results, we created the foll...
https://docs.nvidia.com/deeplearning/dali/master-user-guide/docs/examples/general/expressions/expr_blend_image.html
CC-MAIN-2021-04
en
refinedweb
Hypercube solution in Clear category for Hypercube by JimmyCarlos def iterate(path,letters): # If the letters collected can't make the desired word then this is a dead end. if not "hypercube".startswith(letters.lower()): return # If we have collected enough letters and passed the first test then we have done it. if len...
https://py.checkio.org/mission/hypercube/publications/JimmyCarlos/python-3/hypercube/share/237a99ea1f754015407512090af3c7e8/
CC-MAIN-2021-04
en
refinedweb
DEBSOURCES Skip Quicknav sources / nmap / 6.00-0.3+deb7u1 / portreasons /*************************************************************************** * portreasons.h -- Verbose packet-level information on port * Modified by Colin Rice <dah4k0r@gmail.com> 2011 */ #ifndef REASON_H #define REASON_H #include "nmap.h" #ifdef...
https://sources.debian.org/src/nmap/6.00-0.3+deb7u1/portreasons.h/
CC-MAIN-2021-04
en
refinedweb
29491/how-to-convert-datetime-date-to-utc-timestamp-in-python I need to convert date to UTC timestamps to be used inside Javascript. The following code does not work: >>> d = datetime.date(2018,10,31) >>> datetime.datetime.utcfromtimestamp(time.mktime(d.timetuple())) datetime.datetime(2018, 10, 31, 23, 0) Converting th...
https://www.edureka.co/community/29491/how-to-convert-datetime-date-to-utc-timestamp-in-python
CC-MAIN-2021-04
en
refinedweb
The VLINGO/XOOM component helps individual developers and architects, as well as whole teams, to speedily jump-start productivity with the VLINGO/PLATFORM. Our JVM microframework boosts productivity in building high-scale, high-performance, Reactive microservices and well-modularized monoliths. Our Starter can generate...
https://docs.vlingo.io/vlingo-xoom
CC-MAIN-2021-04
en
refinedweb
Source: The Samsung Graphics 2D driver (/dev/fimg2d) is accessible by unprivileged users/applications. It was found that the ioctl implementation for this driver contains a locking error which can lead to memory errors (such as use-after-free) due to a race condition. The key observation is in the locking routine defin...
https://www.exploit-db.com/exploits/38557/
CC-MAIN-2017-26
en
refinedweb
I'm not getting a compile error or warning, but the program seems to freeze while running the following function. As input, I send limcounter, which is the number of actual values in the array (the user inputs values, and can stop input before filling the array, in which case the rest of the elements in the array are 0...
https://cboard.cprogramming.com/c-programming/139812-program-freezing-while-running-function-please-help.html
CC-MAIN-2017-26
en
refinedweb
Exercise 6 of chapter 7 is not so bad because the first two functions are given to us in the text. However, you do need to do some thinking as to how to reverse an array. There are a few ways to do this. One would be to implement an XOR type algorithm. Another would be to use reverse() from the std library, and then yo...
https://rundata.wordpress.com/2013/08/28/c-primer-plus-chapter-7-exercise-6/
CC-MAIN-2017-26
en
refinedweb
Hi Zach, thanks for your additional input. You are absolutely right: The long namespace should be big enough. We are going to insert up to 2^32 values into the list. We only need support for get(index), insert(index) and remove(index) while get and insert will be used very often. Remove is also needed but used very rar...
http://mail-archives.apache.org/mod_mbox/incubator-cassandra-user/201110.mbox/%3C4E97173D.1050408@l3s.de%3E
CC-MAIN-2017-26
en
refinedweb
GameFromScratch.com Three.js, the popular open source 3D JavaScript framework, just released version r86. If you want to learn more about Three.js, we have a two part series available here and here. This release contains several changes and fixes, as well as adding 3ds support to the editor, documentation improvements,...
http://www.gamefromscratch.com/post/2013/01/04/New-HTML5-gamedev-book-Pro-HTML5-Games-Ever-wanted-to-create-an-RTS.aspx
CC-MAIN-2017-26
en
refinedweb
When I run LCS( 'human', 'chimp' ), I'm getting "h" instead of "hm". When I run LCS( 'gattaca', 'tacgaacta' ), I'm getting "g" instead of "gaaca". When I run LCS( 'wow', 'whew' ), I'm getting "ww" which is correct. When I run LCS( '', 'whew' ), I'm getting "" which is correct. When I run LCS( 'abcdefgh', 'efghabcd' ), ...
https://codedump.io/share/fiAphSgYpgev/1/longest-common-subsequence-python-2-function
CC-MAIN-2017-26
en
refinedweb
Hello everyone! I am new to Java so this may be a very easy question. I am trying to write a program and display just the remainder after two numbers have been divided. Here is where i am: import java.util.Scanner; public class Midterm1 { public static void main( String[] args ) { Scanner input = new Scanner( System.in...
https://www.daniweb.com/programming/software-development/threads/264354/displaying-a-remainder-in-java
CC-MAIN-2017-26
en
refinedweb
XSL Transformations In this chapter, I’m going to start working with the Extensible Styles Language (XSL). XSL has two parts—a transformation language and a formatting language. The transformation language lets you transform documents into different forms, while the formatting language actually formats and styles docum...
http://www.peachpit.com/articles/article.aspx?p=133615&amp;seqNum=11
CC-MAIN-2017-26
en
refinedweb
Odoo Help Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps: CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc. Change product type with an onchange method Hi, i'm trying to make products packs, so I made a boolean button in the product to c...
https://www.odoo.com/forum/help-1/question/change-product-type-with-an-onchange-method-106818
CC-MAIN-2017-26
en
refinedweb
In-App Purchases: Auto-Renewable Subscriptions Tutorial Apple announced a new feature before WWDC 2016: auto-renewable subscriptions. Aside from the obvious benefit to your pocketbook, there’s more to love about this new feature. With a normal purchase, Apple takes a 30 percent cut of the revenue and you get the remain...
https://www.raywenderlich.com/154737/app-purchases-auto-renewable-subscriptions-tutorial
CC-MAIN-2017-26
en
refinedweb
Popular ActionScript 3 Snippets Tagged 'remove' - ActionScript 3 random array remove shuffle utils saved by 7 people Usefull Array utils - SHUFFLE, Random, remove, posted on December 3, 2010 by burnandbass ActionScript 3 display list clear remove saved by 4 people Clear DisplayList posted on December 27, 2008 by jpdevr...
http://snipplr.com/popular/language/actionscript-3/tags/remove/
CC-MAIN-2017-26
en
refinedweb
I have the following code import pandas as pd from sklearn.preprocessing import StandardScaler import numpy as np df.columns=['sepal_len', 'sepal_wid', 'petal_len', 'petal_wid', 'class'] df.dropna(how="all", inplace=True) # drops the empty line at file-end X = df.ix[:,0:4].values y = df.ix[:,4].values X_std = StandardS...
https://codedump.io/share/3seAfZxUuiFD/1/mean-of-data-scaled-with-sklearn-standardscaler-is-not-zero
CC-MAIN-2017-26
en
refinedweb
: barbieri Project : e17 Module : proto/python-efl Dir : e17/proto/python-efl/python-emotion/emotion Modified Files: emotion.c_emotion.pyx Log Message: Fix way to get the address of python objects. Cython changed the way casts are interpreted some time ago and <unsigned long>object is not valid anymore because it woul...
https://sourceforge.net/p/enlightenment/mailman/message/20065526/
CC-MAIN-2017-26
en
refinedweb
How to Quickly Build a Chat App with RatchetBy Wern Ancheta. WebSockets allow us to write applications that can pass data from the browser to the server and vice-versa in real-time. Setup First, let’s install Ratchet using Composer: composer require cboden/ratchet Building the App Now we’re ready to build the app. Crea...
https://www.sitepoint.com/how-to-quickly-build-a-chat-app-with-ratchet/
CC-MAIN-2017-26
en
refinedweb
...one of the most highly regarded and expertly designed C++ library projects in the world. — Herb Sutter and Andrei Alexandrescu, C++ Coding Standards #include <boost/throw_exception.hpp> #if !defined( BOOST_EXCEPTION_DISABLE ) #include <boost/exception/exception.hpp> #include <boost/current_function.hpp> #define BOOS...
http://www.boost.org/doc/libs/1_47_0/libs/exception/doc/BOOST_THROW_EXCEPTION.html
CC-MAIN-2017-26
en
refinedweb
10 November 2008 08:51 [Source: ICIS news] SINGAPORE (ICIS news)--Crude prices rose more than $3/bbl on Monday, boosted by cuts in Saudi Arabia’s term supplies to Asia, and news that China had launched a stimulus package worth about $600bn (€468bn) to alleviate the effects of the global economic slowdown. ?xml:namespac...
http://www.icis.com/Articles/2008/11/10/9170142/brent-rises-3bbl-on-saudi-cuts-china-stimulus.html
CC-MAIN-2014-42
en
refinedweb
We can all agree that binary search is faster than linear search – at least in general and if the searched array size is large enough. This means that everyone who learned the following equation will prefer to use binary search to linear search: log(N) < N/2 And here is a good example when a nice education background m...
http://blog.teamleadnet.com/2012/02/quicksort-binary-search-and-linear.html
CC-MAIN-2014-42
en
refinedweb
The Qt Quick Components project provides a set of QML components for building user interfaces. The components allow the interface to accept user input and provide feedback indicators. There are three sets of components, one set for the Symbian platform, one set for the MeeGo platform, and another Extras set that introd...
http://doc.qt.digia.com/qtquick-components-symbian-1.0/
CC-MAIN-2014-42
en
refinedweb
The NFS Gateway for HDFS allows HDFS to be mounted as part of the client's local file system. This release of NFS Gateway supports and enables the following usage patterns: Users can browse the HDFS file system through their local file system on NFSv3 client compatible operating systems. Users can download files from t...
http://docs.hortonworks.com/HDPDocuments/HDP1/HDP-1.3.2/bk_user-guide/content/user-guide-hdfs-nfs.html
CC-MAIN-2014-42
en
refinedweb
* David Kastrup (2005-08-26) writes: > Ralf Angeli <address@hidden> writes: > >> I already saw two problems: First, `outline-heading-alist' is made >> buffer-local in outline.el, so a `make-local-variable' is >> unnecessary. > > That's not a problem. It is merely redundant. And redundancy cannot be a problem? >> Second...
http://lists.gnu.org/archive/html/auctex/2005-08/msg00056.html
CC-MAIN-2014-42
en
refinedweb
Most code in Twisted is not thread-safe. For example, writing data to a transport from a protocol is not thread-safe. Therefore, we want a way to schedule methods to be run in the main event loop. This can be done using the function callFromThread: from twisted.internet import reactor def notThreadSafe(x): """do someth...
http://twistedmatrix.com/documents/current/core/howto/threading.html
CC-MAIN-2014-42
en
refinedweb
Radu is correct. And there is a way round it. You can use -c_local-. -c_local- is not documented; it is not even "undocumented" (-help undocumented-). So, how does anyone outside StataCorp know about it?. Anyway, . c_local IC "IC412 IC413" will do what you want. Think of it as inserting the named local in the calling p...
http://www.stata.com/statalist/archive/2005-11/msg00405.html
CC-MAIN-2014-42
en
refinedweb
XAML Usage Syntax Types and members in the .NET Framework Class Library for Silverlight include a Syntax section. This Syntax section contains the syntax for Visual Basic, C#, and possibly other languages. Some types and members also include XAML usage syntax and XAML values. This topic helps you understand the XAML us...
http://msdn.microsoft.com/en-us/library/dd638655(v=vs.95).aspx
CC-MAIN-2014-42
en
refinedweb
01 November 2011 13:15 [Source: ICIS news] LONDON (ICIS)--The second ?xml:namespace> While the feedstock reductions this month would have ordinarily meant a decrease for styrene closer to €40/tonne, the supplier said that this was mitigated by the current tightness for prompt cargo. The settlement was made on a free de...
http://www.icis.com/Articles/2011/11/01/9504600/Second-Europe-Nov-styrene-barge-CP-confirmed-at-1108tonne.html
CC-MAIN-2014-42
en
refinedweb
--------------------------------------------------------------------- Fedora Update Notification FEDORA-2005-033 2006-01-13 --------------------------------------------------------------------- Product : Fedora Core 4 Name : flex Version : 2.5.4a Release : 35. -----------------------------------------------------------...
http://www.redhat.com/archives/fedora-announce-list/2006-January/msg00039.html
CC-MAIN-2014-42
en
refinedweb
Thanx - Java NEED ASSISTANCE ASAP!! THANX!! NEED ASSISTANCE ASAP!! THANX!! Problem 4.1 Design an implement an application that displays a button and a label on a screen. Every time the button is pushed, the label will display a random number between 1 and 1000, inclusive java - Java Server Faces Questions java hw can i...
http://www.roseindia.net/tutorialhelp/comment/52822
CC-MAIN-2014-42
en
refinedweb
Generic fun trip back through the mists of Django’s history. Once upon a time… If you’ve read through some of the documentation on where Django came from, you know that it started out as a set of tools Adrian and Simon developed to make their lives at the Journal-World easier; they needed to deal with a couple of probl...
http://www.b-list.org/weblog/2008/dec/04/generic-inlines/
CC-MAIN-2014-42
en
refinedweb
Everything about Win32 performance counters were a pain for the Win32 developer. The good news is that .NET provides managed classes that make reading and providing data for performance counters straightforward and easy. In this article, I will outline the basic architecture of performance counters and describe how .NE...
http://www.drdobbs.com/net-performance-counters/184405834
CC-MAIN-2014-42
en
refinedweb
'Connection' object has no attribute 'begin' Andy Dustman 2004-09-30 Logged In: YES user_id=71372 It's not lost; I took it out. It was a non-standard extension, and seems slightly deprecated in favor of using START TRANSACTION, which is more standard SQL. Additionally, there are now (in MySQL-4.1) C API calls for commi...
http://sourceforge.net/p/mysql-python/bugs/106/
CC-MAIN-2014-42
en
refinedweb
Simplex optimization is one of the simplest algorithms available to train a neural network. Understanding how simplex optimization works, and how it compares to the more commonly used back-propagation algorithm, can be a valuable addition to your machine learning skill set. 10 Just because you're using ADO.NET to updat...
http://visualstudiomagazine.com/pages/topic-pages/c-sharp-vb-tutorials.aspx
CC-MAIN-2014-42
en
refinedweb
Creating Ruby-Inspired Modules In ColdFusion A couple of months ago, I read Practical Object-Oriented Design in Ruby: An Agile Primer, by Sandi Metz. I haven't reviewed the book yet, but I wanted to explore one of the concepts Metz talked about: Ruby Modules. From what I understood (and this may be somewhat off-base, I...
http://www.bennadel.com/blog/2482-creating-ruby-inspired-modules-in-coldfusion.htm
CC-MAIN-2014-42
en
refinedweb
How do I loop in Python? The Python for loop has the following general form: for myvar in myiterator: # do something with myvar How do I loop over a list? If you coming from other languages such as C, you might be used to: for i in range(len(mylist)): myvar = mylist[i] # do something with myvar In Python, it's much bet...
http://baoilleach.blogspot.com/2009_02_01_archive.html
CC-MAIN-2014-42
en
refinedweb
Ok, I personally know little to nothing about programming in C or C++, but i'm trying to help out a friend here........ Just as a quick explanation - this program is supposed to be a mock FAFSA (free application for student aid, i think). Anyway, basically the program starts with a menu, you make whatever selection, an...
http://cboard.cprogramming.com/cplusplus-programming/37966-code-desparate-need-corrections.html
CC-MAIN-2014-42
en
refinedweb
ADO.NET 2.0 Feature Matrix Bob Beauchemin DevelopMentor March 2005 Updated June 2005 Summary: ADO.NET 2.0 includes a new base-class provider model, features for all providers, and changes to System.Data.SqlClient. Get an overview of these new features, examples of their use, and a chart of which features are provider-n...
http://msdn.microsoft.com/en-us/library/ms379542(VS.80).aspx
CC-MAIN-2014-42
en
refinedweb
Download FREE PDF In this Refcard you will find information about Jenkins, the #1 open source CI server, including: Jenkins is an open source CI server written in Java. It is licensed under the MIT license terms, and it is widely adopted throughout the world for different languages and environments. It also has an enor...
http://refcardz.dzone.com/refcardz/jenkins-paas
CC-MAIN-2014-42
en
refinedweb
bb-services(5) [debian man page] BB-SERVICES(5) File Formats Manual BB-SERVICES deter- mine if the service has e.g. a banner or requires SSL- or telnet-style handshaking to be tested. FILE FORMAT bb-services is a text file. A simple service definition for the SMTP service would be this: [smtp] send "mail quit " expect ...
https://www.unix.com/man-page/debian/5/BB-SERVICES/
CC-MAIN-2020-50
en
refinedweb
Please see below for the code I use: import matplotlib.pyplot as plt from wordcloud import WordCloud wordcloud10 = WordCloud().generate(' '.join(tf['word'])) plt.imshow(wordcloud10) plt.axis("off") plt.title("") plt.show() display() and the o/p below. No images or charts. Out[1106]: <matplotlib.image.AxesImage at 0x7fa...
https://forums.databricks.com/questions/15003/wordcloud-using-matplotlib-is-not-showing.html
CC-MAIN-2020-50
en
refinedweb
Guido Schmutz and Chris Tomkins already made great blogs which show us how to use Domain Value Maps in the Oracle Service Bus. In my case i wanted to store my domain value maps on a central location (http) and not within my OSB Project itself. My backend-system creates a new employee and returns with a resultcode. Base...
http://www.xenta.nl/blog/2010/12/23/oracle-service-bus-using-external-domain-value-mappings-dvm/
CC-MAIN-2020-50
en
refinedweb
If you spend any amount of time shopping online, streaming music or streaming video, it’s highly likely that you’ve encountered a recommendation engine. As the term indicates, a recommendation engine is a service that makes recommendations to a user, typically based on: - The user’s specific behaviour - Similar behavio...
https://sweetcode.io/how-to-build-a-recommendation-engine-in-python/
CC-MAIN-2020-50
en
refinedweb
Class which manages Berger-Rigoutsos grid generation. More... #include <BRMeshRefine.H> Class which manages Berger-Rigoutsos grid generation. This class manages grid generation from sets of tagged cells using the Berger-Rigoutsos algorithm in the context of the MeshRefine class from which it is derived..
http://davis.lbl.gov/Manuals/CHOMBO-RELEASE-3.1/classBRMeshRefine.html
CC-MAIN-2020-50
en
refinedweb
Infer.NET is an open source library that can be used to create probabilistic programming systems. We can use Infer.NET to solve many different kinds of machine learning problems, such as classification, recommendation, and so on. In this article, I am going to introduce how to use the infer.NET library in Visual Studio...
https://www.codeproject.com/Articles/1278872/Infer-NET-A-Library-for-People-Who-Love-Probabilit
CC-MAIN-2020-50
en
refinedweb
Important: Please read the Qt Code of Conduct - How quit QApplication with QThread If is line with singleShot comment, program exit correctly (Worker destructor is called). What is correct way, how quit application if is called QCoreApplication::quit(). I need call Worker destructor. #include <QCoreApplication> #includ...
https://forum.qt.io/topic/73614/how-quit-qapplication-with-qthread
CC-MAIN-2020-50
en
refinedweb
To remove an element inside an array, e.g. the element with the index 1. $fruit = array("bananas", "apples", "peaches"); unset($fruit[1]); This will remove the apples from the list, but notice that unset does not change the indexes of the remaining elements. So $fruit now contains the indexes 0 and 2. For associative a...
https://sodocumentation.net/php/topic/6825/manipulating-an-array
CC-MAIN-2020-50
en
refinedweb
BSP algorithms are a very efficient way of computing visibility in occluded environments. But they are not the only way of achieving interactive frame rates with indoors data sets. A completely different approach, called portal rendering, has been evolving through the years, offering a similar performance with a differ...
https://flylib.com/books/en/2.208.1.101/1/
CC-MAIN-2020-50
en
refinedweb
A Windows and Linux driver in Python for the NZXT Hue+ Support me on patreon: A cross-platform driver in Python for the NZXT Hue+. Supports all functionality except FPS, CPU, and GPU lighting. There is always an easy exe installer available here: You must have python3-devand portaudio19-devinstalled! To install it syst...
https://xscode.com/kusti8/hue-plus
CC-MAIN-2020-50
en
refinedweb
Sometimes you might want to change the implementation of an operator in Groovy. For example, you might alter the implementation of string concatenation (i.e., "add") to automatically add a space between the two string. You can accomplish this task by overriding the plus operation for strings. We will implement this sce...
https://www.webucator.com/how-to/how-override-operators-groovy.cfm
CC-MAIN-2018-17
en
refinedweb
In C#, the specialization relationship is typically implemented using. In C#, you create a derived class by adding a colon after the name of the derived class, followed by the name of the base class: public class ListBox : Window This code declares a new class, ListBox, that derives from Window. You can read the colon ...
http://etutorials.org/Programming/Programming+C.Sharp/Part+I+The+C+Language/Chapter+5.+Inheritance+and+Polymorphism/5.2+Inheritance/
CC-MAIN-2018-17
en
refinedweb
Effective Tests: Avoiding Context Obscurity, we looked at the Expected Object pattern as a way to reduce code duplication, eliminate the need to add test-specific equality concerns to production code and to aid in clarifying the intent of our tests. This time we’ll take a look at some practices and techniques for avoid...
https://lostechies.com/derekgreer/2011/07/19/effective-tests-avoiding-context-obscurity/
CC-MAIN-2018-17
en
refinedweb
NULL, 0, and nullptrNULL). But read on. Uninitialized MemoryIf I declare a variable of a built-in type and I don't provide an initializer, the variable is sometimes? Because it can lead to unnecessary work at runtime. There's no reason to set a variable to zero if, for example, the first thing you do is pass it to a ro...
http://scottmeyers.blogspot.com/2015/11/breaking-all-eggs-in-c.html?showComment=1447797928589
CC-MAIN-2018-17
en
refinedweb
Schema Code Generation¶ The Slick code generator is a convenient tool for working with an existing or evolving database schema. It can be run stand-alone or integrated into you.0" For Maven projects add the following to your <dependencies>: <dependency> <groupId>com.typesafe.slick</groupId> <artifactId>slick-codegen_2....
http://slick.lightbend.com/doc/3.0.0/code-generation.html
CC-MAIN-2018-17
en
refinedweb