text stringlengths 20 1.01M | url stringlengths 14 1.25k | dump stringlengths 9 15 ⌀ | lang stringclasses 4
values | source stringclasses 4
values |
|---|---|---|---|---|
#include <deal.II/base/time_stepping.h>
Abstract class for time stepping methods. These methods assume that the equation has the form: \( \frac{\partial y}{\partial t} = f(t,y) \).
Definition at line 93 of file time_stepping.h.
Virtual destructor.
Purely virtual function. This function is used to advance from time
t to... | https://www.dealii.org/developer/doxygen/deal.II/classTimeStepping_1_1TimeStepping.html | CC-MAIN-2020-34 | en | refinedweb |
The next example shows how to use the new statement to create an instance of a user-defined object. The object function -- the thing that defines the object -- is also shown. This simplistic object assigns the string passed to it to a name property. That property is displayed in an alert box, using the syntax alert (
n... | https://www.infoworld.com/article/2077317/understanding-and-using-javascript-statements.html?page=2 | CC-MAIN-2020-34 | en | refinedweb |
NDArray Operations¶
Overview¶
This guide will introduce you to MXNet’s array operations.
This content was extracted and simplified from the gluon tutorials in Dive Into Deep Learning.
Prerequisites¶
MXNet installed in a Python environment.
Python 2.7.x or Python 3.x
Operations¶
NDArray supports a large number of standa... | https://mxnet.apache.org/versions/1.6/api/python/docs/tutorials/packages/ndarray/02-ndarray-operations.html | CC-MAIN-2020-34 | en | refinedweb |
A friend once asked, why would one prefer microk8s over minikube?… We never spoke since. True story!
That was a hard question, especially for an engineer. The answer is not so obvious largely because it has to do with personal preferences. Let me show you why.
Microk8s-wise this is what you have to do to have a local K... | http://voices.canonical.com/tag/kubernetes/ | CC-MAIN-2018-39 | en | refinedweb |
Demo entry 6341564
123
Submitted by anonymous
on Dec 31, 2016 at 12:22
Language: Java. Code size: 114 Bytes.
public class Welcome { public static void main(String args[]){ System.out.println("Welcome to jave!"); } }
This snippet took 0.00 seconds to highlight.
Back to the Entry List or Home.
Delete this entry (admin on... | http://pygments.org/demo/6341564/ | CC-MAIN-2018-39 | en | refinedweb |
rand() function declared in the stdlib.h header file returns random numbers.
int chosen = 0; chosen = rand(); // Set to a random integer
Each time you call the rand() function, it will return a random integer.
The value will be from zero to a maximum of RAND_MAX, the value of which is defined in stdlib.h.
The integers ... | http://www.java2s.com/example/c-book/generating-pseudo-random-integers.html | CC-MAIN-2018-39 | en | refinedweb |
For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See:
Are there any simple portfolio rebalancing strategies for reference?
per title
- Paska Houso last edited by Paska Houso
Don't know but it should be fairly easy (a couple of free hours during the Christmas br... | https://community.backtrader.com/topic/765/are-there-any-simple-portfolio-rebalancing-strategies-for-reference | CC-MAIN-2018-39 | en | refinedweb |
gearman_bugreport - Gearman Declarations
#include <libgearman/gearman.h> const char *gearman_bugreport(void);
Get bug report URL. *
Bug report URL string.
The Gearman homepage:
Bugs should be reported at
Copyright (C) 2008 Brian Aker, Eric Day. All rights reserved. Use and distribution licensed under the BSD license. S... | http://huge-man-linux.net/man3/gearman_bugreport.html | CC-MAIN-2017-17 | en | refinedweb |
explain_ferror_or_die - check stream status and report errors
#include <libexplain/ferror.h> void explain_ferror_or_die(FILE *fp);
The explain_ferror_or_die function is used to call the ferror(3) system call. On failure an explanation will be printed to stderr, obtained from explain_ferror(3), and then the process term... | http://huge-man-linux.net/man3/explain_ferror_or_die.html | CC-MAIN-2017-17 | en | refinedweb |
PyLaunchy is an embedded Python environment, which means you have no console output. In general, there are two ways to debug:
Logging with print statements or with the Python logging module. For example, the following script will print a line which can be seen in plugins/python/stdout.txt:
import launchy print "I was p... | http://pylaunchy.sourceforge.net/docs/debugging.html | CC-MAIN-2017-17 | en | refinedweb |
The Pasadena Humane Society & SPCA
The Pasadena Humane Society & SPCA provides animal control services for the seven cities of Arcadia, Glendale, La Ca単ada Flintridge, Pasadena, San Marino, Sierra Madre and South Pasadena.
Getting the job done in 2009
2009 Annual Report
361 South Raymond Avenue Pasadena, CA 91105 phone... | https://issuu.com/pasadenahumane/docs/phs_ar_ps_opt_r1 | CC-MAIN-2017-17 | en | refinedweb |
using fclose function
The following program shows the use of fclose function to close a file(stream) after writing a sentence in it.
#include <stdio.h> int main (){ FILE * pFile; /* Creates a new file */ pFile = fopen ("TextFile.txt","w"); /* Write a sentence in a file */ fprintf (pFile, "fclose C standard library fun... | http://www.techcrashcourse.com/2015/08/fclose-stdio-c-library-function.html | CC-MAIN-2017-17 | en | refinedweb |
Run pending scripts (services) in a
child_processand talk to them (and kill those bastards)
import Forrest from 'forrest'; // run a simple command that exits by itself Forrest.run('ls').then(output => console.log(output)); // run a service and do soemthing when ready var service = Forrest.run(, { service: './my-server.... | https://www.npmjs.com/package/forrest | CC-MAIN-2017-17 | en | refinedweb |
gsasl_server_callback_cipher_set - API function
#include <gsasl.h> void gsasl_server_callback_cipher_set(Gsasl * ctx, Gsasl_server_callback_cipher cb);
Gsasl * ctx libgsasl handle. Gsasl_server_callback_cipher cb callback function
Specify the callback function to use in the server to inform the client of the cipher sui... | http://huge-man-linux.net/man3/gsasl_server_callback_cipher_set.html | CC-MAIN-2017-17 | en | refinedweb |
Keywords: Income taxes, occupational choice, compensating differentials
Abstract:
It is well-known that taxes can distort individual labor supply decisions. Numerous studies have estimated the impact of income taxes on the labor-leisure tradeoff by looking at the effect of taxes on the number of hours worked. Fewer pap... | https://www.federalreserve.gov/pubs/feds/2010/201004/index.html | CC-MAIN-2017-17 | en | refinedweb |
JavaScript Objects
In JavaScript, objects are king: Almost everything is an object or acts like an object. Understand objects and you will understand JavaScript. So let's examine the creation of objects in JavaScript.
An object is just a container for a collection of named values (aka properties). Before we look at any... | http://code.tutsplus.com/tutorials/javascript-objects--net-35979 | CC-MAIN-2014-35 | en | refinedweb |
Library Interfaces and Headers
- define values for termios
#include <termios.h>
The <termios.h> header contains the definitions used by the terminal I/O interfaces. See termios(3C) and termio(7I) for an overview of the terminal interface.
The following data types are defined through typedef:
used for terminal special c... | http://docs.oracle.com/cd/E23823_01/html/816-5173/termios-3head.html | CC-MAIN-2014-35 | en | refinedweb |
[Date Index]
[Thread Index]
[Author Index]
Re: Evaluation of a whole notebook from another one
Am 04.08.2012 12:26, schrieb Dr. Robert Kragler:
>
>
Which version are you using? Since Version 8 there is exactly that function:
?NotebookEvaluate
NotebookEvaluate[notebook] evaluates all the evaluatable cells in
notebook. >... | http://forums.wolfram.com/mathgroup/archive/2012/Aug/msg00074.html | CC-MAIN-2014-35 | en | refinedweb |
Here’s something I discovered the other day:
ActiveRecord infers model attributes from the database. Each attribute gets a getter, setter, and query method.
A query method? I know this is true for boolean columns but non boolean columns?
class User < ActiveRecord::Base end
users (id, name)
def test_should_say_if_it_doe... | http://robots.thoughtbot.com/i-did-not-know-that | CC-MAIN-2014-35 | en | refinedweb |
WMIC - Take Command-line Control over WMI
This article is from the March 2002 issue of Windows & .NET Magazine.
Microsoft is creating a lot of good reasons to make the command prompt in Windows XP and the Windows Server 2003.
On This Page
What Is WMIC?
How to Run WMIC
WMIC Command-Line Components
Putting WMIC to Work—a... | http://technet.microsoft.com/en-us/library/bb742610.aspx | CC-MAIN-2014-35 | en | refinedweb |
Originally posted by Phil Perkins: Can you overload a static method?
Originally posted by mark stone: public class A { static void mm() {System.out.println("mm");} static void mm(int a) {System.out.println("mm");} } method mm() is static and we overloaded it. where is the problem. i am not sure if this is the question ... | http://www.coderanch.com/t/235923/java-programmer-SCJP/certification/overloading-static-methods | CC-MAIN-2014-35 | en | refinedweb |
Write a program which calculates the sum of natural numbers which are divisible by 3 and 5 less than the number given as input.
for ex.
1) If user input 10 then output will be 23.
2) If user input 20 then output will be 78.
so i figure 10 = 3,6,9,5
20 = 3,6,9,12,15,18,5,10 (no duplicate 15)
I failed. 0/3 Response: Your... | http://cboard.cprogramming.com/cplusplus-programming/150064-not-sure-why-failed.html | CC-MAIN-2014-35 | en | refinedweb |
Java's class loading mechanism is incredibly powerful. It allows you to leverage external third-party components without the need for header files or static linking. You simply drop the JAR files for the components into a directory and arrange for them to be added to your classpath. Run-time references are all resolved... | http://www.onlamp.com/lpt/a/5795 | CC-MAIN-2014-35 | en | refinedweb |
kdeui
KXMLGUIClient Class ReferenceA KXMLGUIClient can be used with KXMLGUIFactory to create a GUI from actions and an XML document, and can be dynamically merged with other KXMLGUIClients. More...
#include <kxmlguiclient.h>
Detailed DescriptionA KXMLGUIClient can be used with KXMLGUIFactory to create a GUI from action... | http://api.kde.org/3.5-api/kdelibs-apidocs/kdeui/html/classKXMLGUIClient.html | CC-MAIN-2014-35 | en | refinedweb |
:
Beyond the Standard
Resource Acquisition Is Initialization (RAII).
Garbage collection
Garbage collection is a form of automatic memory management. The garbage collector or collector attempts to reclaim garbage, or memory used by objects that will never be accessed or mutated again by the application.
Tracing garbage ... | http://en.m.wikibooks.org/wiki/C%2B%2B_Programming/Chapter_Beyond_the_Standard_Print_version | CC-MAIN-2014-35 | en | refinedweb |
Servlet
Tutorial | Java Swing Tutorial |
JEE
5 Tutorial | JDBC...
example | Java
Programming | Java Beginners Examples
| Applet Tutorials...;
| Java Servlets
Tutorial | Jsp Tutorials
| Java Swing
Tutorials
index
Fortran Tutorials
Java Tutorials
Java Applet Tutorials
Java Swing and AWT Tutorials
JavaBeans Tutorials
crea... | http://roseindia.net/tutorialhelp/comment/8519 | CC-MAIN-2014-35 | en | refinedweb |
The Boost.Filesystem library provides portable facilities to query and manipulate paths, files, and directories.
The motivation for the library is the need to perform portable script-like operations from within C++ programs. The intent is not to compete with Python, Perl, or shell languages, but rather to provide porta... | http://www.boost.org/doc/libs/1_41_0/libs/filesystem/doc/index.htm | CC-MAIN-2014-35 | en | refinedweb |
27 January 2009 15:49 [Source: ICIS news]
NEW DELHI (ICIS news)--Three Indian chemical companies controlled by the Gujarat state government have agreed to establish a petrochemicals joint venture (JV), Gujarat Alkalies and Chemicals Limited (GACL) said on Tuesday.
The JV would set up units to produce phenol, bisphenol,... | http://www.icis.com/Articles/2009/01/27/9188092/indian-companies-agree-to-petrochemicals-jv.html | CC-MAIN-2014-35 | en | refinedweb |
Google Backs Out of JavaOne
timothy posted more than 3 years ago | from the but-java-is-delicious dept.
."
i came first! (-1, Troll)
Anonymous Coward | more than 3 years ago | (#33402362)
suck it nice and clean! XD
Re:i came first! (-1, Offtopic)
Anonymous Coward | more than 3 years ago | (#33402438)
so, you could not ... | http://beta.slashdot.org/story/140356 | CC-MAIN-2014-35 | en | refinedweb |
Retrieving Config Values In Grails 3
August 31, 2016
Introduction
Grails leverages the “Convention Over Configuration” design paradigm, which functions to decrease the number of decisions that a developer using the framework is required to make without losing flexibility. This is one of the ways Grails significantly in... | https://grails.org/blog/2016-08-31.html | CC-MAIN-2020-40 | en | refinedweb |
Let’s see
pimpl and its alternatives in a real application! I’ve implemented a small utility app - for file compression - where we can experiment with various designs.
Is it better to use
pimpl or maybe abstract interfaces? Read on to discover.
- Intro
- The app - command line file compressor
- pimpl version
- Abstract... | https://www.bfilipek.com/2018/01/pimpl-interface.html | CC-MAIN-2020-40 | en | refinedweb |
A solid software product has to be intuitive, scalable, fast and reliable. Once these ABC’s of the product are ensured, it’s important we put some heavy load on it and bullet-proof its durability.
Enter load testing; an essential step confirming the application can support realistic load scenarios and that the code is ... | https://www.maestralsolutions.com/using-functional-selenium-c-tests-for-load-testing-with-microsoft-visual-studio/ | CC-MAIN-2020-40 | en | refinedweb |
Specifying multiple columns names with the same prefix efficiently
I am running a regression with my observation being at the company level. I want to control for the type of company [what does it produce]. I have this information in an object variable which I turn into categorical and then get the dummies out of it.
d... | http://thetopsites.net/article/54175265.shtml | CC-MAIN-2020-40 | en | refinedweb |
Hi. i'm doing a simple translation of a 2D object using transform.Translate in Update function, but the movement is not occurring smoothly and i'm having little lags. I know that Update funciton is unstable with the frame rate update and i'm already using Time.deltaTime. The code part looks like this:
transform.Transla... | https://answers.unity.com/questions/1436382/update-function-unstable-frame-rate.html | CC-MAIN-2020-40 | en | refinedweb |
I have found a couple tutorials and Q & A's to do this and have fallen at the first hurdle.
I have added juh.far, jurt.jar, ridl.jar, unoil.jar in "C:\Program Files (x86)\OpenOffice 4\program\classes" to the build path and tried to run some basic code to connect
- Code: Select all Expand viewCollapse view
// Get the re... | https://user.services.openoffice.org/en/forum/viewtopic.php?f=25&t=76425&p=348047 | CC-MAIN-2020-40 | en | refinedweb |
AvgPool2D: How to Incorporate Average pooling into a PyTorch Neural Network
AvgPool2D - Use the PyTorch AvgPool2D Module to incorporate average pooling into a PyTorch neural network
< > Code:
Transcript:
It is common practice to use either max pooling or average pooling at the end of a neural network but before the out... | https://aiworkbox.com/lessons/avgpool2d-how-to-incorporate-average-pooling-into-a-pytorch-neural-network | CC-MAIN-2020-40 | en | refinedweb |
Function overloading and Function overriding both are examples of polymorphism but they are completely different. Before we discuss the difference between them, lets discuss a little bit about them first.
Function Overloading
Function overloading is a feature that allows us to have same function more than once in a pro... | https://beginnersbook.com/2017/09/cpp-function-overloading-vs-function-overriding/ | CC-MAIN-2020-40 | en | refinedweb |
Python Tests Run 10x Faster By Using Continuous Integration on Heroku
- 2292
In this post, I'll show you how to deploy a very simple Python web app with very long tests. I'll also show you how to speed up those tests significantly using parallelism.
In this post, I’ll show you how to deploy a very simple Python web app... | https://school.geekwall.in/p/rZdeFEjS/python-tests-run-10x-faster-by-using-continuous-integration-on-heroku | CC-MAIN-2020-40 | en | refinedweb |
In Django forms, how do I make fields read-only (or disabled)?
When creating a new entry using a form, all fields should be enabled - however, some fields must be read-only when the record is in update mode.
For example, when creating a new Item model, all fields must be editable, but when updating records, is there a ... | https://programmer.group/5e3d230cc6288.html | CC-MAIN-2020-40 | en | refinedweb |
This article explain shortly how implement NAT discovery with the ByteBlower API. We'll focus on the basic use-case and provide pointers for more in-depth info. Some experience with FrameBlasting using the ByteBlower API is assumed. Throughout the text we'll use Python but the same principles also apply to the Tcl vers... | https://support.excentis.com/index.php?/Knowledgebase/Article/View/doing-nat-discovery-with-byteblower-api | CC-MAIN-2020-40 | en | refinedweb |
Panix Personal DSL Terms of Service
- 1. Installation and Service:
- a. Terms: Panix shall install or arrange installation of products and services as set forth on the Panix Personal DSL Order Form. All installation fees, hardware charges and recurring service fees for the first indicated period on the Order Form are d... | http://www.panix.com/netserv/adsltos.html | CC-MAIN-2018-13 | en | refinedweb |
In shell script I am checking whether this packages are installed or not, if not installed then install it. So withing shell script:
import nltk
echo nltk.__version__
import
which nltk
import nltk is Python syntax, and as such won't work in a shell script.
To test the version of
nltk and
scikit_learn, you can write a P... | https://codedump.io/share/trqm6WVMb8z2/1/how-to-check-which-version-of-nltk-scikit-learn-installed | CC-MAIN-2018-13 | en | refinedweb |
Simple NDEF Exchange Protocol¶
The NFC Forum Simple NDEF Exchange Protocol (SNEP) allows two NFC devices to exchange NDEF Messages. It is implemented in many smartphones and typically used to push phonebook contacts or web page URLs to another phone.
SNEP is a stateless request/response protocol. The client sends a req... | https://nfcpy.readthedocs.io/en/latest/topics/snep.html | CC-MAIN-2018-13 | en | refinedweb |
).
Hi Alex,
"You can turn a negative integer into a positive one by static casting it to an unsigned integer. These have identical bit representations (the type is used to determine how to interpret the number)"
can you please explain this in more detail and why casting to unsigned int as in the following code gives th... | http://www.learncpp.com/cpp-tutorial/7-11-recursion/ | CC-MAIN-2018-13 | en | refinedweb |
I have a set of objects, and I'd like to remove values of the set using a lambda expression.
I'd do this like that:
def pop(container, cond):
value = None
removed = False
for x in container:
if cond(x):
value = x
removed = True
container.remove(x)
break
if not removed:
raise Exception('No value to pop')
return value
co... | https://codedump.io/share/w7dVHrMA1UWQ/1/pop-a-value-from-a-set-using-a-condition | CC-MAIN-2018-13 | en | refinedweb |
Hi;
I have two buttons and one function.When a user click button1 or button2 program should call the function and the function will write to the screen whic button clicked.I mean if i click button1 there will write "Button1 clicked" on the screen.All in al i want to learn how can learn that, which button called my func... | https://www.daniweb.com/programming/software-development/threads/99210/which-button-called-my-function | CC-MAIN-2018-13 | en | refinedweb |
"getPixel(picture,x,y): y (= 450) is less than 0 or bigger than the height (= 449)
The error was:
Inappropriate argument value (of correct type).
An error occurred attempting to pass an argument to a function.
Please check line 82 of C:\Users\owner\extra"
I'm not sure what is wrong with the code. I'm assuming its a syn... | http://www.dreamincode.net/forums/topic/257423-whats-wrong-with-my-scale-down-code/ | CC-MAIN-2018-13 | en | refinedweb |
This:
This is a long tutorial. If you want a quick introduction to Azure App Service and Visual Studio web projects, see Create an ASP.NET web app in Azure App Service.
Or if you want to get started with Azure App Service before signing up for an Azure account, go to Try App Service, where you can immediately create a ... | https://azure.microsoft.com/en-us/documentation/articles/web-sites-dotnet-deploy-aspnet-mvc-app-membership-oauth-sql-database/?WT.mc_id=cmp_pst001_blg_post0152vis | CC-MAIN-2015-40 | en | refinedweb |
This article discusses the simplest way to write, configure and consume Windows Communication Foundation (WCF) service, using Visual Studio 2010. This would help gain a better understanding to WCF services which is slightly different from ASP.NET web services.
We would look into writing and consuming a simple service u... | http://www.codeproject.com/Articles/123067/A-Simple-Sample-WCF-Service?msg=4248738 | CC-MAIN-2015-40 | en | refinedweb |
IRC log of prov on 2012-06-22
Timestamps are in UTC.
15:32:57 [RRSAgent]
RRSAgent has joined #prov
15:32:58 [RRSAgent]
logging to
15:32:59 [trackbot]
RRSAgent, make logs world
15:33:00 [Zakim]
Zakim has joined #prov
15:33:01 [trackbot]
Zakim, this will be
15:33:01 [Zakim]
I don't understand 'this will be', trackbot
15:... | http://www.w3.org/2012/06/22-prov-irc | CC-MAIN-2015-40 | en | refinedweb |
Query Syntax and Method Syntax in LINQ (C#) standard query operators, which have names such as Where, Select, GroupBy, Join, Max, and Average. You can call them directly by using method syntax instead of query syntax.
Query syntax and method syntax are semantically identical, but many people find query syntax simpler a... | https://msdn.microsoft.com/en-us/library/vstudio/bb397947.aspx | CC-MAIN-2015-40 | en | refinedweb |
Oh boy, more locking problems for the weekend!
Here's a more complicated lock that often gets used when it shouldn't and is avoided when it should be used. Like the other articles in this series I'll provide a bit of code and ask for comments, it's more fun that way :)
OK, here's the code:
public class MixedUsers
{
pri... | http://blogs.msdn.com/b/ricom/archive/2006/05/05/590955.aspx | CC-MAIN-2015-40 | en | refinedweb |
action tag - Struts
action tag Is possible to add parameters to a struts 2 action tag? And how can I get them in an Action Class. I mean: xx.jsp Thank Actions
is usually generated by a Struts
Tag.
Struts 2 Redirect Action
In this section, you will get familiar with struts 2 Redirect action...
Struts2 Actions
Struts2 Ac... | http://www.roseindia.net/tutorialhelp/comment/84353 | CC-MAIN-2015-40 | en | refinedweb |
Ransomware Making a Comeback 202
snydeq writes "Ransomware is back. After a hiatus of more than two years, a variant of the GpCode program has again been released, kidnapping victims' data and demanding $120 for its return, InfoWorld reports. 'Like the ransomware programs before it, GpCode encrypts a victim's files and... | http://it.slashdot.org/story/10/12/03/038255/Ransomware-Making-a-Comeback | CC-MAIN-2015-40 | en | refinedweb |
Results 1 to 5 of 5
- Join Date
- Mar 2008
- 136
- Thanks
- 39
- Thanked 1 Time in 1 Post
Response
Hi all,
I am writing Java code where I would like the desired responses applied to the correct statments made by the user.
I have the following code, which works correctly:
public void chat(String talk)
{
String intro = "... | http://www.codingforums.com/java-and-jsp/150585-response.html | CC-MAIN-2015-40 | en | refinedweb |
Posted Date: November 2, 2012
Subject: Acceptable Documentation Update for 2012-2013 Award Year Verification
On April 16, 2012, we published Dear Colleague Letter GEN-12-07 that allowed, for a limited period of time, institutions to accept a signed copy of the relevant 2011 IRS Tax Return as acceptable verification doc... | http://ifap.ed.gov/eannouncements/110212AwardYrVerAcceptDocs.html | CC-MAIN-2015-40 | en | refinedweb |
I was writing a small project for a friend of mine that needed a simple low-resolution timer to be used to call a function in equal time intervals as you usually do. When I Googled for timer classes, I found some code in C with __stdcall static linking, and since I prefer all my code to be encapsulated I decided to wri... | http://www.codeproject.com/Articles/9944/Low-resolution-timer-class-for-Visual-C-and-GNU-C?fid=166260&df=90&mpp=10&sort=Position&spc=None&select=2218096&tid=1916280 | CC-MAIN-2015-40 | en | refinedweb |
Introduction. You can create high-level abstract data types called classes to mimic real-life things and represent entities in the problem space. These classes are self-contained and are reusable.
In this article, I shall show you how you can reuse the graphics classes provided in JDK for constructing your own Graphica... | http://www3.ntu.edu.sg/home/ehchua/programming/java/J4a_GUI.html | CC-MAIN-2015-40 | en | refinedweb |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Romain Lenglet on 7/23/2009 8:44 AM: > On Thursday 23 July 2009 22:57:36 Romain Lenglet wrote: >> This allows us to test all the macros using AT_CHECK_MACRO, which is much >> cleaner and concise. >> Cf. the attached diff against the latest master branch. >> Sor... | http://lists.gnu.org/archive/html/autoconf-patches/2009-07/msg00043.html | CC-MAIN-2015-40 | en | refinedweb |
When realtime and stateless HTTP together, live happily ever after. HMVC framework built on top of Primus and Express.js for Node.js, inspired somehow by the simplicity of PHP Kohana framework (sorry, not another Rails clone for Node for you)
When realtime and stateless HTTP get together, and live happily ever after. I... | https://www.npmjs.com/package/socket-express | CC-MAIN-2015-40 | en | refinedweb |
*** Attn: This document is DEPRECATED Check for updated information ***
Architecture and Design of the Synapse ESB mediation framework
This paper is designed to capture the overall architecture and design of the Synapse ESB mediation framework. The aim is to provide clear architectural and design guidance and direction... | http://wiki.apache.org/incubator/Synapse/Architecture?highlight=%5Bhttp%3A%2Fwww.w3.org%2FSubmission%2FWS-Eventing | CC-MAIN-2015-40 | en | refinedweb |
SYSENTER_stack should have reliable overflow detection, whichmeans that it needs to be at the bottom of a page, not the top.Move it to the beginning of struct tss_struct and page-align it.Also add an assertion to make sure that the fixed hardware TSSdoesn't cross a page boundary.Reviewed-by: Thomas Gleixner <tglx@linut... | https://lkml.org/lkml/2017/11/23/619 | CC-MAIN-2022-40 | en | refinedweb |
Function ecs_id_is_valid
Synopsis
#include <include/flecs.h> FLECS_API bool ecs_id_is_valid(const ecs_world_t *world, ecs_id_t id)
Description
Utility to check if id is valid. A valid id is an id that can be added to an entity. Invalid ids are:
- ids that contain wildcards
- ids that contain invalid entities
- ids that... | https://flecs.docsforge.com/master/api-c/ecs_id_is_valid/ | CC-MAIN-2022-40 | en | refinedweb |
Function ecs_query_set_group
Synopsis
#include <include/flecs.h> FLECS_API void ecs_query_set_group(ecs_iter_t *it, uint64_t group_id)
Description
Set group to iterate for query iterator. This operation limits the results returned by the query to only the selected group id. The query must have a group_by function, and ... | https://flecs.docsforge.com/master/api-c/ecs_query_set_group/ | CC-MAIN-2022-40 | en | refinedweb |
Merge pull request #531 from Luoxin/v3
Merge pull request #532 from codemorego/v3-do-cancel-poll-on-bot-stop-immediately
Merge pull request #535 from nicolasassi/remove-still-field-from-chat
"I never knew creating Telegram bots could be so sexy!"
go get -u gopkg.in/telebot.v" "os" "time" tele "gopkg.in/telebot.v3" ) fu... | https://git.sr.ht/~badt/telebot | CC-MAIN-2022-40 | en | refinedweb |
Contents
Introduction
This documentation is intended to instruct developers in the authoring of custom integrators. Developers should also consult the
RixIntegrator.h header file for complete details.
An integrator plugin is used to model the integration of camera rays. These plugins are responsible for taking primary ... | https://rmanwiki.pixar.com/display/REN24/Writing+Integrators | CC-MAIN-2022-40 | en | refinedweb |
How to query Web3.Storage
In this how-to guide, you'll learn how to query Web3.Storage for information about your files.
When you store a file with Web3.Storage, you receive a content identifier (CID) that you can use to retrieve the file. However, this CID can also be used to query the service for more details about h... | https://web3.storage/docs/how-tos/query/ | CC-MAIN-2022-40 | en | refinedweb |
![if !IE]> <![endif]>
Programs using Tuples
Program 1: Write a program to swap two values using tuple assignment
a = int(input("Enter value of A: "))
b = int(input("Enter value of B: "))
print("Value of A = ", a, "\n Value of B = ", b)
(a, b) = (b, a)
print("Value of A = ", a, "\n Value of B = ", b)
Output:
Enter value... | https://www.brainkart.com/article/Programs-using-Tuples_37266/ | CC-MAIN-2022-40 | en | refinedweb |
))
Downloading data from 29515/29515 [==============================] - 0s 0us/step Downloading data from 26421880/26421880 [==============================] - 0s 0us/step Downloading data from 5148/5148 [==============================] - 0s 0us/step Downloading data from 4422102/4422102 [==============================]... | https://www.tensorflow.org/tfx/tutorials/serving/rest_simple?hl=uk | CC-MAIN-2022-40 | en | refinedweb |
Creating steps
New in v12.9.0
Similar to a
Page, grouping can be achieved by using the
Step class.
Other than with pages, with steps the developer can dictate the order of pages to be visited: the user is not able to
move freely between pages but moves to the next/previous step with a next/previous button.
Page and
Ste... | https://docs.viktor.ai/docs/create-apps/layout-and-styling/steps/ | CC-MAIN-2022-40 | en | refinedweb |
ALTS authentication
An overview of gRPC authentication in ( "google.golang.org/grpc" "google.golang.org/grpc/credentials/alts" ) altsTC := alts.NewClientCreds(alts.DefaultClientOptions()) conn, err := grpc.Dial(serverAddr, grpc.WithTransportCredentials(altsTC))
gRPC Server with ALTS Transport Security Protocol
gRPC ser... | https://grpc.io/docs/languages/go/alts/ | CC-MAIN-2022-40 | en | refinedweb |
The function FILE *freopen(const char *filename, const char *mode, FILE *stream); reopen stream with different file or mode. It attempts to close any file already associated with stream before opening the file specified by filename.
If filename argument is null pointer, the freopen function attempts to change the mode ... | http://www.techcrashcourse.com/2015/08/freopen-stdio-c-library-function.html | CC-MAIN-2017-39 | en | refinedweb |
Using PHP with FormsOnce you know the basics of PHP's syntax and structure, it is fairly easy to make the leap to writing full-fledged scripts.
Because working with forms is one the most common tasks in writing applications for the web, the first script we write will be a form processor. Though a fairly mundane applica... | http://www.developer.com/lang/php/article.php/996351 | CC-MAIN-2017-39 | en | refinedweb |
import {TemporalUnit} from 'js-joda/src/temporal/TemporalUnit.js'
TemporalUnit
Direct Subclass:
A unit of date-time, such as Days or Hours..
Method Summary
Public Methods
public addTo(dateTime: Temporal, periodToAdd: number): Temporal source
Returns a copy of the specified temporal object with the specified period adde... | https://doc.esdoc.org/github.com/js-joda/js-joda/class/src/temporal/TemporalUnit.js~TemporalUnit.html | CC-MAIN-2021-21 | en | refinedweb |
This document describes the steps that occur when a component attempts to connect to a protocol in its namespace.
These steps apply to the components v2 model as run under component manager. Portions of it also apply to the components v1 model as run under appmgr.
At a high level these steps are:
- Component manager wi... | https://fuchsia.dev/fuchsia-src/concepts/components/v2/capabilities/life_of_a_protocol_open | CC-MAIN-2021-21 | en | refinedweb |
A schedule for a single stage of a Halide pipeline. More...
#include <Schedule.h>
A schedule for a single stage of a Halide pipeline.
Right now this interface is basically a struct, offering mutable access to its innards. In the future it may become more encapsulated.
Definition at line 604 of file Schedule.h.
Definiti... | https://halide-lang.org/docs/class_halide_1_1_internal_1_1_stage_schedule.html | CC-MAIN-2021-21 | en | refinedweb |
Created on 2012-06-04 19:49 by amaury.forgeotdarc, last changed 2012-11-07 08:52 by hynek. This issue is now closed.
This simple script segfaults the interpreter (all versions), at least when run with "./python myscript.py"
myscript.py::
import sys
del sys.module['__main__']
Many paths in pythonrun.c contains these lin... | https://bugs.python.org/issue15001 | CC-MAIN-2021-21 | en | refinedweb |
Multi-layer Perceptron Using Python
In this tutorial, we will study multi-layer perceptron using Python. In our previous post, Implementation of Perceptron Algorithm using Python, we learned about single-layer Perceptron, which. Now, what is the need of Multi-layer Perceptron! To solve more complex problems or to make ... | https://mlforanalytics.com/2018/05/08/multi-layer-perceptron-using-python/ | CC-MAIN-2021-21 | en | refinedweb |
Created on 2013-08-07 14:22 by kristjan.jonsson, last changed 2013-08-14 21:48 by ncoghlan.
A proposed patch adds two features to context managers:
1)It has always irked me that it was impossible to assemble nested context managers in the python language. See issue #5251.
The main problem, that exceptions in __enter__ ... | https://bugs.python.org/issue18677 | CC-MAIN-2021-21 | en | refinedweb |
From: John Maddock (john_at_[hidden])
Date: 2004-11-13 06:01:46
>> Beman Dawes wrote:
>> >To insure Boost code works with various TR implementations, some
>> >Boost code will want to use the compiler vendor's version of the TR
>> >if the TR component required is available, but otherwise will want to
>> >use
>> >Boost
>... | https://lists.boost.org/Archives/boost/2004/11/75654.php | CC-MAIN-2021-21 | en | refinedweb |
std::async is also able to make threads. Compared to
std::thread it is considered less powerful but easier to use when you just want to run a function asynchronously.
#include <future> #include <iostream> unsigned int square(unsigned int i){ return i*i; } int main() { auto f = std::async(std::launch::async, square, 8);... | https://riptutorial.com/cplusplus/example/4745/using-std--async-instead-of-std--thread | CC-MAIN-2021-21 | en | refinedweb |
#include "Mesquite.hpp"
#include "Matrix3D.hpp"
#include "PatchData.hpp"
#include "MsqTimer.hpp"
#include <iosfwd>
Go to the source code of this file.
The MsqHessian class stores a sparse hessian for a given objective function. The objective function must be C2 and such that its hessian has non-zero entries only for th... | https://ftp.mcs.anl.gov/pub/fathom/moab-docs/MsqHessian_8hpp.html | CC-MAIN-2021-21 | en | refinedweb |
Archives
Using custom .net classes in ASP Classic Compiler
To use custom .net classes, I extended VBScript syntax with the Imports statement. The Imports statement introduce the top namespace to the VBScript, as in the example below. The following example demonstrates using ADO.NET in ASP Classic Compiler:
<%
imports s... | https://weblogs.asp.net/lichen/archive/2010/3 | CC-MAIN-2021-21 | en | refinedweb |
Motivation
Do you develop native iOS applications with the SAP Cloud Platform SDK for iOS and do you want to allow app configuration with your preferred UEM/MDM provider?
If you are pretty new to this topic then I recommend this introductory blog post by MobileIron. It describes how to create and upload app configurati... | https://blogs.sap.com/2020/12/02/app-configuration-using-a-managed-configuration-provider/ | CC-MAIN-2021-21 | en | refinedweb |
public class BenchmarkInterceptor extends Object implements Interceptor
Interceptor that registers the timestamp of each method call before and after invocation. The timestamps are stored internally and can be retrieved through the with the
getCalls()and
statistic()API.
Example usage:
def proxy = ProxyMetaClass.getInst... | https://docs.groovy-lang.org/docs/latest/html/gapi/groovy/lang/BenchmarkInterceptor.html | CC-MAIN-2021-21 | en | refinedweb |
Hello,
As a maintainer of graphics/blender, could you have a look at PR #252648:
In short, TBB version 2021 will soon be available as devel/onetbb but the port you maintain does not build correctly with it, see the following Poudriere run:
and error logs:
c++ [...] /wrkdirs/usr/ports/graphics/blender/work/blender-2.91.... | https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252868 | CC-MAIN-2021-21 | en | refinedweb |
Gotham -- From Start to Heroku
Stay connected
In this article, we'll implement and deploy a Gotham full-stack web framework using the Tera template system, Webpack for a complete front-end asset management, a minimal VueJS and CoffeeScript web app and deploy to Heroku. Gotham is a Rust framework which is focused on saf... | https://www.cloudbees.com/blog/gotham-from-start-to-heroku | CC-MAIN-2022-40 | en | refinedweb |
>>
Number of Integral Points between Two Points the finds the number of integral points between the given two points.
The number of points between two given points will be gcd(abs(x2), abs(y1-y2)) - 1.
If the line joining is parallel to x-axis, then the number of integral points will be abs(y1 - y2) - 1.
If the line jo... | https://www.tutorialspoint.com/number-of-integral-points-between-two-points-in-cplusplus | CC-MAIN-2022-40 | en | refinedweb |
Map features
The geo-fields, enable the user to define geo-objects on a
MapView.
Draw a point
The
GeoPointField enables the user to draw a point on the map, which is
returned in the
params as a
GeoPoint:
from viktor.parametrization import ViktorParametrization, GeoPointFieldclass Parametrization(ViktorParametrization):... | https://docs.viktor.ai/docs/create-apps/user-input/map-features/ | CC-MAIN-2022-40 | en | refinedweb |
This Pytorch tutorial will show you how to do classification using a simple neural network. We’ll be using the Pytorch library for this tutorial.
Introduction to Pytorch and classification
Pytorch is a powerful open source tool for deep learning that can be used to create neural networks for classification tasks. It is... | https://reason.town/classification-with-pytorch/ | CC-MAIN-2022-40 | en | refinedweb |
In a previous post we looked at the importance 🤓 of modeling content in Kentico Xperience and the impacts of that content modeling on our code.
We asked the question "How well does our code match the content model? Especially, when working with optional or missing data."
We saw that nullable reference types can help e... | https://dev.to/seangwright/kentico-xperience-design-patterns-modeling-missing-data-with-the-null-object-pattern-3gn8 | CC-MAIN-2022-40 | en | refinedweb |
Natural language processing (NLP) is the domain of artificial intelligence (AI) that focuses on the processing of data available in unstructured format, specifically textual format. It deals with the methods by which computers understand human language and ultimately respond or act on the basis of information that is f... | https://neo4j.com/blog/accelerating-towards-natural-language-search-graphs/ | CC-MAIN-2022-40 | en | refinedweb |
React Haiku
<br> <br> <img src="./media/haiku.svg" alt="react-haiku" height="200"> <br> <br> <b>An awesome collection of React Hooks & Utilities!</b> <br> <br> <br> <br> <hr>
Links
What is this?Haiku is a simple & lightweight React library with the goal of saving
you time by offering a large collection of hooks & utili... | https://npmtrends.com/react-haiku | CC-MAIN-2022-40 | en | refinedweb |
I have been working with Quaternions in UrhoSharp to do some 3D modelling work. I am having a confusion around the following code:
using Urho;
var q = Quaternion.FromAxisAngle(Vector3.UnitY, +45f);
var q2 = new Quaternion(0f, +45f, 0f);
var outputAngle = q.ToEulerAngles();
var outputAngle2 = q2.ToEulerAngles();
Console... | https://forums.xamarin.com/discussion/116882/quaternion-and-euler-angle-confusion | CC-MAIN-2020-34 | en | refinedweb |
Definition of Strong Number in Java
A strong number is a special number which can be defined as an addition of factorial of each digit of the number which is equal to the number itself. To better understand the concept of strong number have a look at the below example:
The number 145 is a strong number. This is because... | https://www.educba.com/strong-number-in-java/?source=leftnav | CC-MAIN-2020-34 | en | refinedweb |
Working with Ektron Server Controls
Developers use Microsoft Visual Studio to work with Ektron server controla server control uses API language to interact with the CMS and Framework UI to display the output. A server control can be dragged and dropped onto a Web form and then modified.s.
You can drag and drop a server... | https://webhelp.episerver.com/Ektron/documentation/documentation/wwwroot/cms400/v9.10/Reference/Web/Server_Controls/Working_with_Server_Controls.htm | CC-MAIN-2020-34 | en | refinedweb |
Dependency Injection Best Practices in an N-tier Modular Application
Introduction
Microsoft Unity is one of the most popular tools to implement Dependency Injection (DI).
Note: If you are not familiar with Inversion of Control (IoC) and DI, you can find more detail about them on Martin Flower's blog here Dependency Inj... | https://www.developer.com/net/dependency-injection-best-practices-in-an-n-tier-modular-application.html | CC-MAIN-2020-34 | en | refinedweb |
the Get(string _date) method below does not work. I get the following exception. I know EFCore is very limited but this exception does not help to see where the problem is exactly at. Can you please explain me what's causing this exception?
An unhandled exception occurred while processing the request. ArgumentException... | https://entityframeworkcore.com/knowledge-base/39467978/entity-framework-core-doesn-t-work-with-select-x--myclass-x-- | CC-MAIN-2020-34 | en | refinedweb |
Important: Please read the Qt Code of Conduct -
Fading out a QLabel
Hi
While searching the web I found many hints on this. However, I don't get what I am doing wrong. My code compiles without error but crashes at runtime.
void QTGUI_MainWindow::ShowAndFadeLivePauseInfo() { qDebug() << "Start of FadeOut .. turn on"; QGr... | https://forum.qt.io/topic/57462/fading-out-a-qlabel/2 | CC-MAIN-2020-34 | en | refinedweb |
Provided by: libssl-doc_1.1.0g-2ubuntu4_all
NAME
i2d_PKCS7_bio_stream - output PKCS7 structure in BER format
SYNOPSIS
#include <openssl/pkcs7.h> int i2d_PKCS7_bio_stream(BIO *out, PKCS7 *p7, BIO *data, int flags);
DESCRIPTION
i2d_PKCS7_bio_stream() outputs a PKCS7 structure in BER format. It is otherwise identical to t... | http://manpages.ubuntu.com/manpages/bionic/man3/i2d_PKCS7_bio_stream.3ssl.html | CC-MAIN-2020-34 | en | refinedweb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.