text stringlengths 20 1.01M | url stringlengths 14 1.25k | dump stringlengths 9 15 ⌀ | lang stringclasses 4
values | source stringclasses 4
values |
|---|---|---|---|---|
Dashboards for Interpreting & Comparing Machine Learning Models
Using Interpret to create Dashboards for Machine Learning Models
With the advent of technology, there are multiple machine learning algorithms in the Data Science field which makes it really difficult for a User/Data Scientist/ML Engineer to select the bes... | https://ramseyelbasheer.io/2021/06/06/dashboards-for-interpreting-comparing-machine-learning-models/ | CC-MAIN-2021-25 | en | refinedweb |
#include <vcs_species_thermo.h>
Identifies the thermo model for the species. This structure is shared by volumetric and surface species. However, each will have its own types of thermodynamic models. These quantities all have appropriate units.
Definition at line 32 of file vcs_species_thermo.h.
Duplication function fo... | https://cantera.org/documentation/docs-2.3/doxygen/html/classCantera_1_1VCS__SPECIES__THERMO.html | CC-MAIN-2021-25 | en | refinedweb |
A lambda expression in C# describes a pattern.
Lambda Expressions has the token => in an expression context. This is read as “goes to” operator and used when a lambda expression is declared.
Here, we are finding the first occurrence of the element greater than 50 from a list.
list.FindIndex(x => x > 50);
Above the toke... | https://www.tutorialspoint.com/Lambda-Expressions-in-Chash | CC-MAIN-2021-25 | en | refinedweb |
- Event Dispatching
- Event Dispatching
Event Dispatching
When creating a new class we need to determine where we will place it in our class structure. In this case the Logger class is a utility, so we will add it to a new package called util.
We only want one instance of the Logger class, so we will make it a Singleto... | https://www.peachpit.com/articles/article.aspx?p=1019620&seqNum=2 | CC-MAIN-2021-25 | en | refinedweb |
It appears that tomcat does not behave properly when a JSP
page invokes a <jsp:include> whose target performs a 'forward'.
Details below.
---
SETUP
Foo.html
<!-- An HTML page that simply outputs "FOO" -->
FOO
ForwardServlet.java:
/**
* A servlet that performs a RequestDispatcher.forward()
* to "Foo.html".
*/
package ts... | https://bz.apache.org/bugzilla/show_bug.cgi?format=multiple&id=21440 | CC-MAIN-2021-25 | en | refinedweb |
There are about a dozen example clients showing how to use workbench on pcaps, PEfiles, pdfs, and log files. We even have a simple nodes.js client (looking for node devs to pop some pull requests :).
$ cd workbench/clients $ python simple_workbench_client.py [-s tcp://mega.server.com]
Although the Workbench repository ... | http://workbench.readthedocs.io/en/latest/running.html | CC-MAIN-2017-17 | en | refinedweb |
LDAP_ABANDON(3) Library Functions Manual LDAP_ABANDON(3)
ldap_abandon_ext - Abandon an LDAP operation in progress
OpenLDAP LDAP (libldap, -lldap)
#include <ldap.h> int ldap_abandon_ext( LDAP *ld, Bint msgid, LDAPControl **sctrls, LDAPControl **cctrls );
The ldap_abandon_ext() routine is used to send a LDAP Abandon requ... | http://man7.org/linux/man-pages/man3/ldap_abandon.3.html | CC-MAIN-2017-17 | en | refinedweb |
VOLUME 8 NUMBER 2
TRINITY COLLEGE, HARTFORD, CONNECTICUT
NOVEMBER/ DECEMBER, 1977
REUNION- HOMECOMING
Record Crowds And A Toast For $12 Million
CHARLES KURZ and his wife, Candy, did not allow new parenthood to interfere with tenth reunion plans. Oblivious to the activity around her, seven-week-old Catherine slept conte... | https://issuu.com/tcdigitalrepository/docs/1977novemberdecember | CC-MAIN-2017-17 | en | refinedweb |
Based on the equation of the Fourier transformation:
The first order Goertzel algorithm is based on the convolution of x[n] and an additional signal h[n] and ends, after a hell of a complicated explanation, in the simple formula:
with:
and:
I first found the implementation of this into a Fourier transformation in a ver... | http://www.codeproject.com/Articles/664791/Another-approach-to-the-first-order-Goertzel-algor | CC-MAIN-2017-17 | en | refinedweb |
Hi there,
I have an assignment due in a couple of days and I need some help. I don't have time to read a Java books. Plus, my teacher is useless as he can't explain anything...and the TAs are worst. My error is in line 145 (scroll down) saying "illegal start of expression". I didn't have this error before I added the m... | https://www.daniweb.com/programming/software-development/threads/156249/java-help | CC-MAIN-2017-17 | en | refinedweb |
Hi Dan, So, what you describe is similar to what I was suggesting, but the difference from what I was suggesting means that it does nothing for the actual problem :-) On Tue, 2007-01-16 at 15:57 +0000, Daniel P. Berrange wrote: > On Mon, Jan 15, 2007 at 08:53:43PM +0000, Mark McLoughlin wrote: > > On Mon, 2007-01-15 at... | https://www.redhat.com/archives/libvir-list/2007-January/msg00073.html | CC-MAIN-2017-17 | en | refinedweb |
How to Access an Oracle Database in Code
You can access an Oracle database in a data driven test, as seen here. This is built-in functionality for Test Studio, but not for Telerik Testing Framework. This article demonstrates how to access an Oracle database through code, which allows for greater flexibility.
Install Or... | http://docs.telerik.com/teststudio/advanced-topics/coded-samples/general/access-oracle-database | CC-MAIN-2017-17 | en | refinedweb |
CSC/ECE 517 Fall 2012/ch2b 1w59 nm
SaaS - 3.7. Mixins and Duck Typing
This wiki is aimed at acting as a complementary read to the SaaS - 3.7. Mixins and Duck Typing lecture[1]. This lecture describes three of the most important fundamentals of the Ruby language: Duck-Typing, Modules and Mixins.
Introduction
- Duck-typi... | http://wiki.expertiza.ncsu.edu/index.php/CSC/ECE_517_Fall_2012/ch2b_1w59_nm | CC-MAIN-2017-17 | en | refinedweb |
#include <lvt/Shape.h>
Inheritance diagram for Curve:
30
4
Default constructor.
Sets the the subdivision of the curve into 30 segments, and sets the order of the curve to 4 (for a cubic curve).
[inline]
Adds a new control point to the curve.
Clears all control points from the curve.
Returns the number of control points... | http://liblvt.sourceforge.net/doc/ref/class_l_v_t_1_1_curve.html | CC-MAIN-2017-17 | en | refinedweb |
SIGNAL(3V) SIGNAL(3V)
NAME
signal - simplified software signal facilities
SYNOPSIS
#include <<signal.h>>
void (*signal(sig, func))()
void (*func)();
DESCRIPTION
signal() is a simplified interface to the more general sigvec(2) facil-
ity. Programs that use signal() in preference to sigvec() are more
likely to be portabl... | http://modman.unixdev.net/?sektion=3&page=signal&manpath=SunOS-4.1.3 | CC-MAIN-2017-17 | en | refinedweb |
the very least, it should demystify the inner working of this extremely useful test. I’ll limit myself to the context of $2\times 2$ contingency tables. Finally, I must admit that I was pleasantly surprised by the performance of this code!
These first functions compute various expressions needed by the non-central hyp... | http://bioinfo.iric.ca/a-javascript-implementation-of-the-non-central-version-of-fishers-exact-test/ | CC-MAIN-2017-17 | en | refinedweb |
Constant parameters of state machine.
More...
#include <rkhitl.h>
Constant parameters of state machine.
The constant key parameters of a state machine are allocated within.
Definition at line 2730 of file rkhitl.h.
SMA (a.k.a Active Object) priority.
A unique priority number must be assigned to each SMA from 0 to RKH_L... | http://rkh-reactivesys.sourceforge.net/struct_r_k_h___r_o_m___t.html | CC-MAIN-2017-17 | en | refinedweb |
dan wrote: > This isn't a huge pain in the simple case, but it quickly becomes > annoying when I want to do the equivalent of > > if (/(\d+)\s+(\d+)/) { > ($num1, $num2) = ($1, $2); > } elsif (/(\w+)\s+(\w+)/) { > ($word1, $word2) = ($1, $2): > } # etc. > > as the two-part test in Python doesn't lend itself easily to a... | https://mail.python.org/pipermail/python-list/2000-September/022482.html | CC-MAIN-2017-17 | en | refinedweb |
import model StandardListItem { title: ListItemData.firstname + " " + ListItemData.lastname imageSource: ListItemData.image description: ListItemData.title } } // end of ListItemComponent ] } // end of ListView attachedObjects: [ GroupDataModel { id: dataModel }, DataSource { id: dataSource // Load the data from an SQL... | http://developer.blackberry.com/native/documentation/device_platform/data_access/using_data_source.html | CC-MAIN-2017-22 | en | refinedweb |
tarOperations
tarOperations
The basic
tar operations, `--create' (`-c'),
`--list' (`-t') and `--extract' (`--get',
`-x'), are currently presented and described in the tutorial
chapter of this manual. This section provides some complementary notes
for these operations.
Creating an empty archive would have some kind of e... | http://www.gnu.org/software/tar/manual/html_chapter/tar_4.html | CC-MAIN-2017-22 | en | refinedweb |
Package: wnpp Severity: wishlist Owner: Ansgar Burchardt <ansgar@43-1.org> * Package name : libpackage-stash-perl Version : 0.03 Upstream Author : Jesse Luehrs <doy at tozt dot net> * URL : * License : Artistic or GPL-1+ Programming Lang: Perl Description : Perl module providing routines for manipulating stashes Manipu... | https://lists.debian.org/debian-devel/2010/06/msg00103.html | CC-MAIN-2017-22 | en | refinedweb |
Is there a way in fmod to create a directional audio emitter where the sound is projected like a megaphone or a person speaking from their mouth where the emitter sound falls off according to a cone shape instead of the default spherical falloff?
- bradowado asked 3 years ago
- You must login to post comments
OK, figur... | https://www.fmod.org/questions/question/forum-40530/ | CC-MAIN-2017-22 | en | refinedweb |
view raw
if the user gives me a string of any combination of brackets like(()()) then I want a program which checks the opening and closing of the bracket and also stores the address of opening and closing of each bracket separately in a arranged way ?
In the case of a type of bracket is one kind, it is not necessary t... | https://codedump.io/share/PtVr3u6R0vDr/1/storing-addres-of-opening-and-closing-of-bracket | CC-MAIN-2017-22 | en | refinedweb |
How to access a web feed (XAML)
This topic shows how to retrieve and display a web feed using classes in the Windows.Web.Syndication namespace in your Windows Runtime app.
Prerequisites
The following examples use C# or C++ and are based on the Syndication sample. For general help creating a Windows Runtime app using C#... | https://msdn.microsoft.com/en-US/library/windows/apps/xaml/hh452994 | CC-MAIN-2017-22 | en | refinedweb |
Math::BigInt - Arbitrary size integer math package
use Math::BigInt; # is default '+') $x to 0 $x->bnan(); # set $x->round($A,$P,$round_mode); # round to accuracy or precision using mode $r $x->bround($N); # accuracy: preserve $N digits $x->bfround($N); # round to $Nth digit, no-op for BigInts # The following do not m... | http://search.cpan.org/~jhi/perl-5.7.2/lib/Math/BigInt.pm | CC-MAIN-2017-47 | en | refinedweb |
Enables int64 Addition, subtraction, multiplication, division and modulus.
4 Downloads
Updated 05 Nov 2010
This submission enables the following operations for the int64 and uint64 data types:
* Addition
* Subtraction
* Multiplication (element-wise and matrix)
* Division (element-wise only)
* mod, abs, bitshift
See the... | http://www.mathworks.com/matlabcentral/fileexchange/24725-int64-arithmetic-in-matlab?requestedDomain=www.mathworks.com&nocookie=true | CC-MAIN-2017-47 | en | refinedweb |
Templates
Templates¶
When PHP was created 20 years ago, developers loved its simplicity and how well it blended HTML and dynamic code. But as time passed, other template languages - like Twig - were created to make templating even better.
Best Practice
Best Practice
Use Twig templating format for your templates.
Genera... | http://symfony.com/doc/current/best_practices/templates.html | CC-MAIN-2017-47 | en | refinedweb |
You may want to search:
professional iron double-pole clothes rack stand
US $6-16 / Piece
1000 Pieces (Min. Order)
high-grade indoor iron stand for clothes
US $8-12 / Set
500 Sets (Min. Order)
Thick stainless steel tube outdoor clothes hanging iron stand for clothes
US $1-21.57 / Piece
300 Pieces (Min. Order)
Dependabl... | http://www.alibaba.com/showroom/clothes-iron-stand.html | CC-MAIN-2017-47 | en | refinedweb |
I am attempting to make a program in Python that copies the files on my flash drive (letter D:) to a folder on my hard drive but am getting a PermissionError: [Errno 13] Permission denied: 'D:'.
The problematic part of my code is as follows:
# Copy files to folder in current directory
def copy():
source = getsource()
i... | https://codedump.io/share/jL1w9ii1lLFu/1/python---errno-13-permission-denied-when-trying-to-copy-files | CC-MAIN-2017-47 | en | refinedweb |
How can I dump a log of my commits showing only the ones with notes of a given namespace?
Commits without notes, or notes not belonging to a given namespace should be filtered out
In the text dump I do not want just the note, also the commit info.
I have played with: show refs/notes/ and I believe the solution might be... | https://codedump.io/share/dke8iSSMlSxB/1/filter-git-log-to-show-only-commits-with-notes | CC-MAIN-2017-47 | en | refinedweb |
I have a dataframe with a date column that I update daily. I'd like to create a copy of it with just the past 30 day's of data.
I tried the following syntax based on what I know about doing this in R:
df[df[date]>dt.date.today()-30]
Try this:
import datetime import pandas as pd df[df.the_date_column.dt.date > datetime.... | https://codedump.io/share/plpgLue1AHhg/1/filter-pandas-dataframe-for-past-x-days | CC-MAIN-2017-47 | en | refinedweb |
UpScaleDB: Using an Embedded Database
Abstract
Using an embedded database in your software requires a bit of work. I show you how to do it in this article.
WEBINAR: On-demand webcast
How to Boost Database Development Productivity on Linux, Docker, and Kubernetes with Microsoft SQL Server 2017 REGISTER >
Disclaimer: Chr... | https://www.codeguru.com/cpp/data/mfc_database/upscaledb-using-an-embedded-database-160126083724.html | CC-MAIN-2017-47 | en | refinedweb |
@echo off echo compiling C++ using -ansi -pedantic-errors -Wall g++ -ansi -pedantic-errors -Wall %1 %2 %3If you want this batch file, simply copy it from this page and save it on your system in a file named gccp.bat. The file shold be located in a directory that is part of your path satement.
#include <iostream> using ... | https://arachnoid.com/cpptutor/setup_windows.html | CC-MAIN-2017-47 | en | refinedweb |
Author: sveinung Date: Tue Jun 28 12:39:31 2016 New Revision: 33081 URL: Log: Allow unlikely to win attacks.
Round the "Attack" action probability up. If an action probability is rounded down to 0% the action is seen as disabled. Reported by Marko Lindqvist <cazfi> See bug #24802 Modified: trunk/common/actions.c Modifi... | https://www.mail-archive.com/freeciv-commits@gna.org/msg21722.html | CC-MAIN-2018-47 | en | refinedweb |
I have a
RDD[String] which contains following data:
data format :
('Movie Name','Actress Name')
('Night of the Demons (2009) (uncredited)', '"Steff", Stefanie Oxmann Mcgaha')
('The Bad Lieutenant: Port of Call - New Orleans (2009) (uncredited)', '"Steff", Stefanie Oxmann Mcgaha')
('"Please Like Me" (2013) {All You Can ... | http://www.dlxedu.com/askdetail/3/8b523b3db75509cf8b7f65d6d20460ec.html | CC-MAIN-2018-47 | en | refinedweb |
Introduction to Java REST API Testing
Introduction to Java REST API Testing
Learn more about Java REST API testing, from preparing a proper testing suite to correct tools. no doubt that that any piece of software should have automated tests. Tests assure us that by adding new functionality, we are not breaking anything... | https://dzone.com/articles/introduction-to-java-rest-api-testing-1 | CC-MAIN-2018-47 | en | refinedweb |
I can see my playlists, but not the tracks in them
Spotlight shows all of my playlists, but it won't show me the tracks inside of them. I kept adding xbmc.log statements until I found the culprit. Simply commenting out 2 lines makes it work for me (not sure if it breaks anything else):
def create_track_list_items(self,... | https://bitbucket.org/re/spotlight/issues/58/i-can-see-my-playlists-but-not-the-tracks | CC-MAIN-2018-47 | en | refinedweb |
.
import re import sys from pyspark import SparkContext from pyspark.sql import SQLContext, Row ") | http://www.thecloudavenue.com/2016/10/maximum-temperature-for-year-using-sparkaql.html | CC-MAIN-2018-47 | en | refinedweb |
Krinkle <krinklem...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |krinklem...@gmail.com --- Comment #1 from Krinkle <krinklem...@gmail.com> 2011-01-22 18:17:09 UTC --- Sounds like API does not check the $wgDisableHardRedirects setting [0]. T... | https://www.mail-archive.com/wikibugs-l@lists.wikimedia.org/msg58324.html | CC-MAIN-2018-47 | en | refinedweb |
In an earlier post in Learn C, I have worked out a simple guide on compiling a C program using Visual Studio.
For compiling C++ using Visual Studio, we use very similar steps to compile and run a program.
If you have not downloaded C++, please download it from this link.
Launch the visual studio and click on New Projec... | https://codecrawl.com/series/cpp/ | CC-MAIN-2018-47 | en | refinedweb |
#include <disclaimer.h> The following was carried out as a gedankenexperiment. Should you choose to implement any or all of the suggestions below, they are your own creations and responsibilities. You are responsibile for validating and/or refuting any assumptions, data, and conclusions presented below before attemptin... | https://everything2.com/title/The+RIAA+Is+Watching+You | CC-MAIN-2018-47 | en | refinedweb |
Syncfusion Dashboards. Cloud-based. The only BI solution you need for your business.
SfDataGrid allows you to have additional unbound header rows, known as Stacked Header Rows that span across Grid Columns. You can group two or more columns under each of the Stacked Header. A Stacked Header Row is viewed as a set of St... | https://www.syncfusion.com/kb/3119/how-to-customize-the-height-of-stacked-header-row-in-sfdatagrid | CC-MAIN-2018-47 | en | refinedweb |
Commit 527fabb8: Vigil.Data Solution and Initial Projects— Rovani in C♯
After several false starts, the convention for how to organize a solution seems to have come together. This also includes how to change the default project settings, and how to keep everything tidy as the software grows.
Vigil.Data Solution
This so... | https://rovani.net/Commit-527fabb8/ | CC-MAIN-2018-47 | en | refinedweb |
I am processing some files and want to at one point create two categories depending on the filename so I can compare the two. Is this possible in a makefile?
%.output1: %.input ifneq (,$(findstring filename1,$(echo $<))) mv $<.output1 [email protected] endif %.output2: %.input ifneq (,$(findstring filename2,$(echo $<))... | http://databasefaq.com/index.php/answer/92846/bash-make-dividing-outputs-in-make-by-filename | CC-MAIN-2018-47 | en | refinedweb |
import "cuelang.org/go/cue/literal"
Package literal implements conversions to and from string representations of basic data types.
const ( K = mulDec | mul1 M = mulDec | mul2 G = mulDec | mul3 T = mulDec | mul4 P = mulDec | mul5 E = mulDec | mul6 Z = mulDec | mul7 Y = mulDec | mul8 Ki = mulBin | mul1 Mi = mulBin | mul2... | https://godoc.org/cuelang.org/go/cue/literal | CC-MAIN-2020-40 | en | refinedweb |
.]
26 thoughts on “Building a simple [Yahoo] S4 application”
Very useful. Can you please give some complex examples and explain how S4 works? particularly in cases like how it can be used to find perfect advertisement for a user.. Thanks!
@Sundar, See part 5 Online Parameter Optimization in the s4 paper. It details how... | https://anandnalya.com/2011/09/building-a-simple-yahoo-s4-application/ | CC-MAIN-2020-40 | en | refinedweb |
The JavaMail API “pp”-independent(platform and protocol) framework which purpose is to help build messaging and mail applications. It is an optional package and is available with the Java SE platform and is also included in Java EE platform.
The JavaMail can be useful in numerous occasions. For example, it can be used ... | https://javatutorial.net/java-send-mail-example | CC-MAIN-2020-40 | en | refinedweb |
Modeling Single Subject Data¶
Written by Luke Chang
Now that we have learned the basics of the GLM using simulations, it’s time to apply this to working with real data. The first step in fMRI data analysis is to build a model for each subject to predict the activation in a single voxel over the entire scanning session.... | https://dartbrains.org/content/GLM_Single_Subject_Model.html | CC-MAIN-2020-40 | en | refinedweb |
Chinese Solar Lipo powered PIR led lamp.
This would nicely fit into Chinese solar Lipo powered PIR led lamp.
We would only need 3,3 regulator to feed radio and arduino.
This way we could have smart mysensors aware security solar powered PIR sensor and LED garden lamp.
But it would be challenging to hack original circui... | https://forum.mysensors.org/topic/3107/chinese-solar-lipo-powered-pir-led-lamp/42?lang=en-US | CC-MAIN-2020-40 | en | refinedweb |
Resources
- jack_jennings last edited by gferreira
Not really a bug, but how come the "Resources" folder when you generate an extension is capitalized?
On another note, what is the intended purpose of this folder?
If you look into any app bundle folder names are capitalized
The Resources folder is used for assets like ... | https://forum.robofont.com/topic/242/resources | CC-MAIN-2020-40 | en | refinedweb |
Quickstart for SDK and Command Line Interface¶
Installation¶
Install via pip:
$ pip install galileo-sdk
or if you have the code checked out locally:
$ python setup.py install
Writing your first script¶
GalileoSdk takes in 5 optional parameters.
from galileo_sdk import GalileoSdk # all parameters are optional however, m... | https://galileo-sdk.readthedocs.io/en/latest/galileo_sdk.html | CC-MAIN-2020-40 | en | refinedweb |
#include <pcx.h>
List of all members.
Definition at line 44 of file pcx.h.
Definition at line 39 of file pcx.cpp.
[virtual]
Definition at line 45 of file pcx.cpp.
[private]
Definition at line 194 of file pcx.cpp.
Destroy this decoder's surface and palette.
This should be called by a loadStream() implementation as well ... | https://doxygen.residualvm.org/d3/dc9/classImage_1_1PCXDecoder.html | CC-MAIN-2020-40 | en | refinedweb |
Difference between revisions of "Hello World"
Latest revision as of 15:34, 30 May 2012
This "Hello World!" tutorial will cover the absolute minimum steps required to create a plug-in and get feedback inside the application.
Contents
Preparation
Build Environment Setup
You need to do three things to be ready to start co... | https://modosdk.foundry.com/index.php?title=Hello_World&diff=prev&oldid=8204 | CC-MAIN-2020-40 | en | refinedweb |
This is another member
We’ll make these imports:
import numpy as np import matplotlib.pyplot as plt %matplotlib inline from quantecon import LQ from quantecon import DLE
Example 1: Hall (1978)¶
First, we set parameters to make consumption (almost) follow a random walk.
We set$$ \lambda = 0, \pi = 1, \gamma_1 = 0.1, \ph... | https://python-advanced.quantecon.org/irfs_in_hall_model.html | CC-MAIN-2020-40 | en | refinedweb |
The Data Science Lab
Resident data scientist Dr. James McCaffrey of Microsoft Research turns his attention to evolutionary optimization, using a full code download, screenshots and graphics to explain this machine learning technique used to train many types of models by modeling the biological processes of natural sele... | https://visualstudiomagazine.com/articles/2020/02/21/evolutionary-optimization.aspx | CC-MAIN-2020-40 | en | refinedweb |
I have a couple of texts in 3D space on “Numbers” layer.
I would like to read each one of them with
aDoc.Objects.FindByLayer("Numbers"). An interesting bug happens: if “Numbers” layer is turned off when Rhino file is opened, then FindByLayer method returns texts as if their TextEntity.Text property is empty ("").
If I ... | https://discourse.mcneel.com/t/reading-text-from-turned-off-layer/96538 | CC-MAIN-2020-40 | en | refinedweb |
a code example:
@RestController @RequestMapping("/employee/account/*") public class EmployeeAccountController { private EmployeeService employeeService; // define the logger to which we will be writing stuff for debugging purposes private static Logger log = LoggerFactory.getLogger(EmployeeAccountController.class); @A... | https://javatutorial.net/how-to-perform-unit-testing-for-controllers-and-services | CC-MAIN-2020-40 | en | refinedweb |
The >) { }
An example of the above syntax:
public String congratulateEmployee(@RequestBody Employee emp) { }
A full Controller class containing the above method:
@RestController public class CongratulationsController { @PostMapping("/congratulations") public Manager assignToManager(@RequestBody Employee emp) { String n... | https://javatutorial.net/requestbody-annotation-in-spring | CC-MAIN-2020-40 | en | refinedweb |
Hi, kqemu doesn't trap the "rdtsc" instruction for performance reasons. This is mostly okay on a uniprocessor host, but on a dual core CPU there are effectively two TSCs and there's no warranty that they are in sync. On my Linux desktop there happens to be about 17 seconds difference between them, with a 14 days uptime... | http://lists.gnu.org/archive/html/qemu-devel/2007-03/msg00652.html | CC-MAIN-2013-48 | en | refinedweb |
Not logged in
Log in now
Weekly Edition
Recent Features
Deadline scheduling: coming soon?
LWN.net Weekly Edition for November 27, 2013
ACPI for ARM?
LWN.net Weekly Edition for November 21, 2013
GNU virtual private Ethernet
Here are a couple of keyrings patches I'd like to propose to aid the support
for Kerberos to cach... | http://lwn.net/Articles/561820/ | CC-MAIN-2013-48 | en | refinedweb |
How to: Host and Run a Basic Windows Communication Foundation Service
This is the third of six tasks required to create a basic Windows Communication Foundation (WCF) service and a client that can call the service. For an overview of all six of the tasks, see the Getting Started Tutorial topic.
This topic describes how... | http://msdn.microsoft.com/en-us/library/ms730935(v=vs.90).aspx | CC-MAIN-2013-48 | en | refinedweb |
ReplicationView Class
SQL Server 2012
Represents information on a view object that is required by replication.
System.Object
Microsoft.SqlServer.Replication.ReplicationView
Microsoft.SqlServer.Replication.ReplicationView
Namespace: Microsoft.SqlServer.ReplicationNamespace: Microsoft.SqlServer.Replication
Assembly: Micr... | http://msdn.microsoft.com/en-us/library/microsoft.sqlserver.replication.replicationview.aspx | CC-MAIN-2013-48 | en | refinedweb |
I read from previous posting that If the lefthand operand is of type long (64 bits) then only the last 6 bits of the right hand side are used. If the lefhand operand is an int (32 bits) then only the last 5 bits of the right hand operator are used.
Originally posted by Tony reedy: Hi Arthi, Your logic of 5 bits with 2'... | http://www.coderanch.com/t/236114/java-programmer-SCJP/certification/Shift-operators | CC-MAIN-2013-48 | en | refinedweb |
Not logged in
Log in now
Recent Features
Deadline scheduling: coming soon?
LWN.net Weekly Edition for November 27, 2013
ACPI for ARM?
LWN.net Weekly Edition for November 21, 2013
GNU virtual private Ethernet
I am a maintainer and packager in openSUSE and I would say that the macro set in other modern distributions (Fed... | http://lwn.net/Articles/441863/ | CC-MAIN-2013-48 | en | refinedweb |
Farid Zaripov-2 wrote:
>
> [...]
>>
>
> This bug avoided in _defs.h:
>
> _defs.h, line 1020:
> -----------
> # ifndef _RWSTD_NO_STATIC_CONST_MEMBER_DEFINITION
> # define _RWSTD_DEFINE_STATIC_CONST(decl) decl
> # else // if defined (_RWSTD_NO_STATIC_CONST_MEMBER_DEFINITION)
> // disable defintion of static const integra... | http://mail-archives.apache.org/mod_mbox/stdcxx-dev/200710.mbox/%3C13418440.post@talk.nabble.com%3E | CC-MAIN-2013-48 | en | refinedweb |
NAME
chiark-named-conf - check and generate nameserver configuration
SYNOPSIS
chiark-named-conf [options] -n|-y|-f chiark-named-conf [options] zone ...
DESCRIPTION
chiark-named-conf is a tool for managing nameserver configurations and checking for suspected DNS problems. Its main functions are to check that delegations... | http://manpages.ubuntu.com/manpages/dapper/man8/chiark-named-conf.8.html | CC-MAIN-2013-48 | en | refinedweb |
Dear all:
I thought that a while statement of : (argument || argument), where at least one of the arguments was correct, the do loop attached to the while would end.
QUESTION IS AT VERY END OF POST.
Code snippet works if you want to try it.
import java.util.Scanner; import java.lang.Math; public class FixChap5 { public... | http://www.javaprogrammingforums.com/loops-control-statements/15561-while-loop-using-%7C%7C-simple-problem.html | CC-MAIN-2013-48 | en | refinedweb |
.DefaultHttpFilters; import play.mvc.EssentialFilter; import play.filters.csrf.CSRFFilter; import javax.inject.Inject; public class Filters extends DefaultHttpFilters { @Inject public Filters(CSRFFilter csrfFilter) { super(CSRF.getToken(request()).map(t -> t.value()).orElse("no token")); }: Working with Json
Found an e... | https://www.playframework.com/documentation/2.5.x/JavaCsrf | CC-MAIN-2017-04 | en | refinedweb |
return to main index
The python scripts presented here are intended to illustrate some of the tasks that Rifs can perform.
The reader should review the tutorial RfM: Batch Filtering
before continuing with this tutorial.
Using the batchRenderRI() proc with Maya (see RfM: Batch Rendering)
a Rif or Rifs may be specified a... | http://fundza.com/rfm/rif_examples1/index.html | CC-MAIN-2017-04 | en | refinedweb |
It took me a while to realize the following, which was generated by VS after dragging and dropping the script file to a view file, does not work
<script src="../../Scripts/jquery.foo.min.js" type="text/javascript"></script>
Instead, the following works:
<script type="text/javascript" src="<%: Url.Content("~/Scripts/jqu... | http://www.dotnetspark.com/links/28002-clarification-on-how-to-include-script-file.aspx | CC-MAIN-2017-04 | en | refinedweb |
Your Account
by Robert Cooper
Java developers hate BPM.
The preceding sentence is (of course) intentionally tailored to be controversial. People tend to read controversial blogs, and I'd like you to read this one. Now that I have hopefully grabbed your attention I'll tone it down a bit...
A lot of Java developers hate ... | http://archive.oreilly.com/pub/post/do_i_hate_bpm_no_i_hate_bpm_pr.html | CC-MAIN-2017-04 | en | refinedweb |
django-mcmo 2.0
Allows multiple apps to override the same management command in Django
© 2014 Thomas Khyn
MCMO stands for ‘Management Command Multiple Override’. This django app allows multiple apps to override the same management command without evicting any.
Supports Django 1.4 to 1.7 and matching Python 2 and 3 vers... | https://pypi.python.org/pypi/django-mcmo/2.0 | CC-MAIN-2017-04 | en | refinedweb |
MogileFS::Client::FilePaths - Client library for use with FilePaths plugin in MogileFS
use MogileFS::Client::FilePaths; # From MogileFS::Client (See its documentation for details) $mogc = MogileFS::Client->new(domain => "foo.com::my_namespace", hosts => ['10.0.0.2', '10.0.0.3']); $key = "/path/to/file"; # The FilePaths... | http://search.cpan.org/~hachi/MogileFS-Client-FilePaths-0.02/lib/MogileFS/Client/FilePaths.pm | CC-MAIN-2017-04 | en | refinedweb |
Using ES2015 with Asset Pipeline on Ruby on Rails
Read in 6, which is now called ES20151. The first drafts were published in 2011, but the final specification was released in June of 2015.
ES2015 has so many new features:
Browsers are implementing ES2015 in a fast pace, but it’ll take some time until we can actually us... | http://nandovieira.com/using-es2015-with-asset-pipeline-on-ruby-on-rails | CC-MAIN-2017-04 | en | refinedweb |
In Perl, to lowercase a textfile, I could do the following
lowercase.perl
#!/usr/bin/env perl
use warnings;
use strict;
binmode(STDIN, ":utf8");
binmode(STDOUT, ":utf8");
while(<STDIN>) {
print lc($_);
}
perl lowercase.perl < infile.txt > lowered.txt
Python
lowercase.py
#!/usr/bin/env python
import io
import sys
with i... | https://codedump.io/share/0TXzG4LLtg3e/1/lowercasing-script-in-python-vs-perl | CC-MAIN-2017-04 | en | refinedweb |
Setting up Ember.js with Rails
Read in 5 minutes
Ember.js is a client-side framework that aims single-page applications. It has several tools to abstract the most common patterns. Following the Convention Over Configuration concept, Ember reduces boilerplates for common things, freeing the developer to focus on what re... | http://nandovieira.com/setting-up-emberjs-with-rails | CC-MAIN-2017-04 | en | refinedweb |
Loaders
TypeScript isn't core JavaScript so webpack needs a bit of extra help to parse the
.ts files. It does this through the use of loaders. Loaders are a way of configuring how webpack transforms the outputs of specific files in our bundles. Our
ts-loader package is handling this transformation for TypeScript files.... | https://angular-2-training-book.rangle.io/handout/project-setup/loaders.html | CC-MAIN-2018-09 | en | refinedweb |
Here’s an example:
from robot import *
import time
R = Robot()
# motor board 0, channel 0 to full power forward
R.motors[0].m0.power = 70
# motor board 1, channel 0 to full power reverse
R.motors[1].m0.power = -70
# motor board 0, channel 1 to half power forward
R.motors[0].m1.power = 45
# motor board 1, channel 0 stop... | http://hr-robocon.org/docs/motors | CC-MAIN-2018-09 | en | refinedweb |
As I mentioned in an earlier posting I have started to become interested in Microsoft’s latest EMCA Common Language Infrastructure (CIL) implementation, aka the .NET Micro Framework.
The .NET Micro Framework is designed for devices where even the .NET Compact Framework requires too many system resources to be feasible.... | http://www.christec.co.nz/blog/archives/46 | CC-MAIN-2018-09 | en | refinedweb |
QML Syntax check
Hello,
I have searched the forum but found no result. We start to develop the GUI with QML and in this case
a lot of syntax errors made by programmers. I use QtCreator 2.7.2 (Based on At 5.1.0). Normally a lot of syntax errors found by the editor or by Tools.QML/JS.Run Checks.
But in the following case... | https://forum.qt.io/topic/29470/qml-syntax-check | CC-MAIN-2018-09 | en | refinedweb |
I have just pushed the source code for pyawschart - v0.2 out to GitHub. This project was created a few months back and I have been using it for personal (Proboscis) and professional (PBS) projects since then. I've just decided to open source it for the betterment of the AWS and Python communities.
The goal was quite si... | https://tomatohater.com/2011/01/10/pyawschart-v02-released/ | CC-MAIN-2018-09 | en | refinedweb |
Internal DNS Namespace
My advice is that internal DNS namespaces should NEVER be available to external clients. You should name append the external DNS namespace with .local.
Example:
External DNS namespace would be mycompany.com.
Internal DNS namespace would be mycompany.local.
Servers which external clients need to r... | https://www.techrepublic.com/forums/discussions/help-understand-dns-name-choice-during-nt4-to-2003-upgrade/ | CC-MAIN-2018-09 | en | refinedweb |
NAME
AnyEvent::XMPP::Writer - "XML" writer for XMPP
SYNOPSIS
use AnyEvent::XMPP::Writer; ...
DESCRIPTION.".
METHODS
- new (%args)
This methods takes following arguments:
- write_cb
The callback that is called when a XML stanza was completely written and is ready for transfer. The first argument of the callback will be ... | https://metacpan.org/pod/AnyEvent::XMPP::Writer | CC-MAIN-2018-09 | en | refinedweb |
ASP.NET # MVC # 14 – How Asp.net MVC controller works (Internally in dot net framework) or how controller class is implemented??
Hi Geeks,
As we have seen in the post Controllers in detail that –
Controller is the most important part in MVC architecture which works as a mediator in between views and models.
I have made... | https://microsoftmentalist.wordpress.com/2011/09/14/asp-net-mvc-14-how-asp-net-mvc-controller-works-internally-in-dot-net-framework-or-how-controller-class-is-implemented/ | CC-MAIN-2018-09 | en | refinedweb |
Hi Stuart, Stuart Bishop wrote:
What were the problematic bits?
Advertising# Disgusting hack to use our extended config file schema rather than the # Z3 one. TODO: Add command line options or other to Z3 to enable overriding # this -- StuartBishop 20050406 from zdaemon.zdoptions import ZDOptions ZDOptions.schemafile = ... | https://www.mail-archive.com/zope3-dev@zope.org/msg04936.html | CC-MAIN-2018-09 | en | refinedweb |
Co-authored with Frank Ji.
When you deploy microservices, monitoring your servers is an important part of knowing whether they are running as expected and how they are performing. You can collect metrics from Liberty about its key components and you can add your own custom metrics to monitor how your applications are b... | https://developer.ibm.com/wasdev/docs/collect-metrics-from-liberty-apps-and-display-in-grafana/ | CC-MAIN-2018-09 | en | refinedweb |
A message can be both encrypted and signed. This ensures to the sender that only the intended recipients are able to read the message content, and to the recipient that the message was indeed sent by the sender.
There are two ways to produce a message that is both encrypted and sign:
In the first case, no one but the r... | http://doc.componentpro.com/ComponentPro-Mail/Creating-an-encrypted-and-signed-mail-message | CC-MAIN-2018-09 | en | refinedweb |
Background
Today I had a problem which I needed solved. Even though this particular problem is far easier solved with a spreadsheet application (which I dont actually have installed) rather than writing a computer program I thought it would be a good excersise to test myself and test the new programming language which ... | http://mindfsck.net/golang-vs-java-vs-php-comparing-productivity/ | CC-MAIN-2018-09 | en | refinedweb |
Subject: Re: [boost] Is there any interest in Boost.Conversion?
From: vicente.botet (vicente.botet_at_[hidden])
Date: 2010-05-28 12:43:34
----- Original Message -----
From: "Jeffrey Lee Hellrung, Jr." <jhellrung_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Friday, May 28, 2010 5:08 PM
Subject: Re: [boost] Is there any in... | https://lists.boost.org/Archives/boost/2010/05/167250.php | CC-MAIN-2019-47 | en | refinedweb |
import "code.gitea.io/gitea/modules/timeutil"
language.go since.go timestamp.go
const ( Minute = 60 Hour = 60 * Minute Day = 24 * Hour Week = 7 * Day Month = 30 * Day Year = 12 * Month )
Seconds-based time units
GetLangTimeFormat represents the default time format for the language
GetTimeFormat represents the
MinutesTo... | https://godoc.org/code.gitea.io/gitea/modules/timeutil | CC-MAIN-2019-47 | en | refinedweb |
A lightweight ORM for Linked Data: Consume Linked Data resources, modify the graph and write the changes back to their original source
Project description
Ldtools is a simple library to handle RDF data in a convenient way. It can be used as a simple ORM for Linked Data Resources and their Origins. A resource “” might b... | https://pypi.org/project/Ldtools/ | CC-MAIN-2019-47 | en | refinedweb |
Today I learnt that my sister’s house had gotten burglarized (laptop, camera and my two original gameboys with 30ish cartridges gone), who the hell would rob a student’s house?), so I needed a distraction to get my mind off it. Since I like playing 7 Cities on the iPhone, I started a game, and the online high score sub... | https://www.stavros.io/posts/king-for-a-day/ | CC-MAIN-2019-47 | en | refinedweb |
A child descriptor holds a reference to a UNO shape and the corresponding accessible object. More...
#include <ChildrenManagerImpl.hxx>
A child descriptor holds a reference to a UNO shape and the corresponding accessible object.
There are two use cases:
In both cases the child descriptor assumes ownership over the acce... | https://docs.libreoffice.org/svx/html/classaccessibility_1_1ChildDescriptor.html | CC-MAIN-2019-47 | en | refinedweb |
My only option is to figure out how to use the servo without the standard library from what I understand? Does anyone have suggestions programmatically how to solve this problem?
Or maybe use the ServoTimer2 library and lose PWM on pins 3 &11 instead of 9 & 10 if that helps.
Copy the .cpp and .h files from the link I g... | https://forum.arduino.cc/index.php?topic=157400.msg1179063 | CC-MAIN-2019-47 | en | refinedweb |
In this article, let's take a look at 7 best DevOps tools, from automated build tools to application performance monitoring platforms...
DevOps culture is now an integral part of every tech-savvy business and plays a role in many business processes, ranging from project planning to software delivery.As cloud services a... | https://morioh.com/p/ce547c71a616 | CC-MAIN-2019-47 | en | refinedweb |
DtTermInitialize(library call) DtTermInitialize(library call)
NAME [Toc] [Back]
DtTermInitialize - prevent accelerators from being installed on a
DtTerm widget
SYNOPSIS [Toc] [Back]
#include <Dt/Term.h>
void DtTermInitialize(
);
DESCRIPTION [Toc] [Back]
The DtTermInitialize function prevents the XmBulletinBoard(3) widg... | http://nixdoc.net/man-pages/HP-UX/man3/DtTermInitialize.3.html | CC-MAIN-2019-47 | en | refinedweb |
BBC micro:bit
The Compass
Introduction
The MicroPython micro:bit module also has a compass object. This object has methods for working with the compass to detect the amount of magnetic force on each of the x, y and z axes as well as picking out a compass direction and the strength of the magnetic field around the devic... | http://www.multiwingspan.co.uk/micro.php?page=pycompass | CC-MAIN-2019-47 | en | refinedweb |
Sometimes pages are secured using Basic HTTP Authentication (Basic Auth) to prevent unauthorized access. A system level pop-up prompts to enter username and password and Selenium will not be able to access it.
Solution
A Chrome Add-on can be used to insert the credentials when Selenium access the Page
- Inspect (F12) t... | https://arunelias.in/blog/2019/05/testing-pages-with-basic-authentication-using-selenium/ | CC-MAIN-2019-47 | en | refinedweb |
@briarfox, I was curious about the UI Editor files too... but it appears they are in text format. You can view the .pyui file using the tool you posted to the 'Unsupported File Type' thread.
Did you see this post? ... it has an example of building a dynamic interface in a subclassed view.
@Tony Thanks, I hadn't though... | https://forum.omz-software.com/topic/989/any-ui-module-tutorials-out-there/?page=1 | CC-MAIN-2019-47 | en | refinedweb |
Sequelize is a promise-based Node.js ORM for Postgres, MySQL, MariaDB, SQLite and Microsoft SQL Server. It features solid transaction support, relations, eager and lazy loading, read replication and more.
Sequelize follows SEMVER. Supports Node v10 and above to use ES6 features.
You are currently looking at the Tutoria... | https://sequelize.org/master/ | CC-MAIN-2019-47 | en | refinedweb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.