text stringlengths 20 1.01M | url stringlengths 14 1.25k | dump stringlengths 9 15 ⌀ | lang stringclasses 4
values | source stringclasses 4
values |
|---|---|---|---|---|
Hello, Sorry for the response delay.
Advertising
At some point, I saw I was in the middle of a big really big refactoring, and I'm afraid it is very related to the framework I use. However I would like to make some observations about my findings. Apart from the DOM parser, one of the things I pursued was to replace con... | https://www.mail-archive.com/phptal@lists.motion-twin.com/msg00031.html | CC-MAIN-2018-26 | en | refinedweb |
DSL for XML descriptorsDan Allen May 1, 2010 7:09 PM
I'd like to rekindle the discussion about the descriptors DSL (Re: ShrinkWrap - Descriptors). The descriptors DSL is a fluent API for producing standard XML-based configuration files such as:
- web.xml
- beans.xml
- ejb-jar.xml
- application.xml
- faces-config.xml
- ... | https://developer.jboss.org/message/540648 | CC-MAIN-2018-26 | en | refinedweb |
Kross
#include <childreninterface.h>
Detailed Description
Interface for managing Object collections.
The Manager as well as the Action class inherit this interface to allow to attach QObject to a global or a local context related instances that should be published to the scripting code.
Definition at line 38 of file ch... | https://api.kde.org/4.x-api/kdelibs-apidocs/kross/html/classKross_1_1ChildrenInterface.html | CC-MAIN-2019-51 | en | refinedweb |
5
5
'
0
"
N
4
0
5
5
'
0
"
N
N
0 5
Kilometers
Gravel or dirt road
Secondary road
Rivers
Study sites
Area proposed for protection
Open soil, sparse vegetation cover
Grass & scrublands
Forest
based on Landsat ETM+ UTM zone 38
Map 25: Partly supervised satellite image classication of suryev region above Lahic.
Based on Lan... | https://www.scribd.com/document/29540467/Potential-Analysis-for-Further-Nature-Conservation-in-Azerbaijan | CC-MAIN-2019-51 | en | refinedweb |
Here is a piece of Visual C++ code that seems very peculiar. For some strange reason, sorting the data miraculously makes the code almost six times faster.
#include <algorithm> #include <ctime> #include <iostream> int main() { // Generate data const unsigned arraySize = 32768; int data[arraySize]; for (unsigned c = 0; ... | https://developerinsider.co/why-is-processing-a-sorted-array-faster-than-an-unsorted-array/ | CC-MAIN-2019-51 | en | refinedweb |
Stardust/Knowledge Base/Java API/IWorklistMonitor Example
< Stardust | Knowledge Base | Java API
The IWorklistMonitor service provider interface can be used to execute custom code when item are added to or removed from a workflow participant's worklist. Typically this SPI is used to implement push notification to users... | http://wiki.eclipse.org/index.php?title=Stardust/Knowledge_Base/Java_API/IWorklistMonitor_Example&printable=yes | CC-MAIN-2019-51 | en | refinedweb |
KDE 3.x Splash Screens 244 comments
so the installation works fine without errors?
if so, can u go to the splashscreen settings and launch the "test" mode? - Oct 12 2006
you need at least the devel packages for kdebase - Jul 06 2006
there you could be able to find the neccessary options. - Jul 03 2006
sorry for the bad... | https://www.pling.com/u/moodwrod/ | CC-MAIN-2019-51 | en | refinedweb |
Mathcomp
Because C++ doesn't have math-like chained comparisons.
Observed Behaviour
C/C++ sucks like this:
int p= 121; // warning: comparison of boolean constant with arithmetic constant (39) is always true. // Not what we want! if (-17 < p < 39) { cout<< "foo"; } else { cout<< "bar"; } cout<< endl;
In the above the or... | http://chiselapp.com/user/lmachucab/repository/mathcomp/index | CC-MAIN-2019-51 | en | refinedweb |
Using DevExpress Blazor UI Components With the ABP Framework
Hi, in this step by step article, I will show you how to integrate DevExpress blazor UI components into ABP Framework-based applications.
(A screenshot from the example application developed in this article) to development, we will create a solution named
Dev... | https://community.abp.io/posts/using-devexpress-blazor-ui-components-with-the-abp-framework-wrpoa8rw | CC-MAIN-2022-40 | en | refinedweb |
Write a C program to find the distance between two points. As per the Pythagoras theorem, the distance between two points, i.e., (x1, y1) and (x2, y2), is √(x2 – x1)2 + (y2 – y1)2.
This example accepts two coordinates and prints the distance between them. We used the C library Math functions sqrt and pow to calculate t... | https://www.tutorialgateway.org/c-program-to-find-the-distance-between-two-points/ | CC-MAIN-2022-40 | en | refinedweb |
Details
Bug
- Status: Open
Major
- Resolution: Unresolved
- 2.3.4
- None
-
- None
Description
A script has an annotation on a variable, for example:
@Input("some.input.reference")
def input
An AST Transformation adds a method that initializes the input reference and the declaration is transformed to:
def input = someMe... | https://issues.apache.org/jira/browse/GROOVY-7187?attachmentSortBy=fileName | CC-MAIN-2022-40 | en | refinedweb |
Editors¶
The Editors group of SDK packages is a set of supported editors in nteract applications. These render within cell components and provide additional functionality such as autocomplete as well as advanced syntax highlighting.
Table of contents
/editor¶
Th
@nteract/editor package contains components for rendering... | https://docs.nteract.io/groups/editors-group/ | CC-MAIN-2022-40 | en | refinedweb |
Similar to the western-style diet we will again start by loading the diet and depleting components absorbed by the host. In this case we have no manual annotation for which components should be diluted so we will use a generic human metabolic model to find those. The growth medium supllied here was created the followin... | https://nbviewer.org/github/micom-dev/media/blob/main/recipes/vmh_high_fat_low_carb_agora.ipynb | CC-MAIN-2022-40 | en | refinedweb |
)
Running a
BackgroundSchedulerand then letting the execution reach the end of the script
To demonstrate the latter case, a script like this will not work:
from apscheduler.schedulers.background import BackgroundScheduler def myjob(): print('hello') scheduler = BackgroundScheduler() scheduler.start() scheduler.add_job(... | https://apscheduler.readthedocs.io/en/3.x/faq.html | CC-MAIN-2022-40 | en | refinedweb |
@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public class ListDomainsRequest extends BmcRequest<Void>
getBody$, getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfiguration, supportsExpect100Continue
clone, finalize, getClass, notify, notifyAll, wait, wait, wait... | https://docs.oracle.com/en-us/iaas/tools/java/2.44.0/com/oracle/bmc/identity/requests/ListDomainsRequest.html | CC-MAIN-2022-40 | en | refinedweb |
This Notebook gives a brief introduction to Discrete Fourier Transform (DFT) and the Fast Fourier Transform (FFT). The radix-2 Cooley-Tukey FFT algorithm is implemented and toward the end the physical meaning is explained.
These concepts have a wide area of applications in many different areas in both physics and mathe... | https://nbviewer.org/url/www.numfys.net/media/notebooks/discrete_fourier_transform.ipynb | CC-MAIN-2022-40 | en | refinedweb |
Sample query: range(len(foo)): print("f: ", foo[i], "; b: ", bar[i])
But that seems somewhat unpythonic to me. Is there a better way to do it?
How to iterate through two lists in parallel? Answer #1:
Python 3.
Python 2.
Answer #2:
You want the
zip function.
for (f,b) in zip(foo, bar): print "f: ", f ,"; b: ", b
Answer ... | https://programming-articles.com/how-to-iterate-through-two-lists-in-parallel-in-python-answered/ | CC-MAIN-2022-40 | en | refinedweb |
-
Taking Advantage of SOAP Extensibility
Let's take a look at how SkatesTown can use SOAP extensibility to its benefit. It turns out that SkatesTown's partners are demanding some type of proof that certain items are in SkatesTown's inventory. In particular, partners would like to have an e-mail record of any inventory... | https://www.informit.com/articles/article.aspx?p=26666&seqNum=7 | CC-MAIN-2022-40 | en | refinedweb |
Editor’s Note: This blog post was updated 7 August 2022 to include sections on why you should use mixins in Vue and the drawbacks of doing so.
If you are a Vue lover (like me) and are looking for a way to extend your Vue application, you’ve come to the right place. Vue mixins and directives are a powerful combination a... | https://blog.logrocket.com/how-use-mixins-custom-functions-vue/ | CC-MAIN-2022-40 | en | refinedweb |
Getting Svelte
Svelte is a JavaScript framework that has continued to intrigue me.
Svelte is a radical new approach to building user interfaces. Whereas traditional frameworks like React and Vue do the bulk of their work in the browser, Svelte shifts that work into a compile step that happens when you build your app.
A... | https://dbushell.com/2020/09/07/getting-svelte-js/ | CC-MAIN-2022-40 | en | refinedweb |
Blocking Receiver Example#
Shows how to use the synchronous API of
QSerialPort in a non-GUI thread.
Blocking Receiver shows how to create an application for a serial interface using
QSerialPort ‘s synchronous API in a non-GUI thread..(QThread): Q_OBJECT # public ReceiverThread = explicit(QObject parent = None) ~Receive... | https://doc-snapshots.qt.io/qtforpython-dev/overviews/qtserialport-blockingreceiver-example.html | CC-MAIN-2022-40 | en | refinedweb |
Can you please take a look at the attached set of documents and
figure out why the first row in the second table disappears when
converting to PDF, and also why the values in the second row of the
same table have disappeared?
This is the code that processes the generated document prior to export:
NodeCollection runs = ... | https://forum.aspose.com/t/table-rows-cell-values-disappearing-when-converting-to-pdf/123629 | CC-MAIN-2022-40 | en | refinedweb |
Optimize¶
There are two ways of using Oríon for optimization. One is using the commandline interface which conveniently turn a simple script into a hyper-parameter optimization process at the level of the command line. The other is using the python interface which gives total control over the pipeline of optimization.
... | https://orion.readthedocs.io/en/v0.1.8/user/api.html | CC-MAIN-2021-49 | en | refinedweb |
public class JavaRecognizer extends LLkParser
Java 1.5 Recognizer
Run 'java Main [-showtree] directory-full-of-java-files'
[The -showtree option pops up a Swing frame that shows
the AST constructed from the parser.]
Run 'java Main. | http://docs.groovy-lang.org/docs/groovy-2.5.4/html/gapi/org/codehaus/groovy/antlr/java/JavaRecognizer.html | CC-MAIN-2021-49 | en | refinedweb |
1.6 KiB
Multicrypt - multi-key encryption
Multicrypt is a library for multi-key reversible encryption. That is, it provides a simple and secure interface for encrypting a payload such that it can be decrypted by any one of a number of keys, and the payload can be shared with new keys by users with existing keys.
How It... | https://code.garrettmills.dev/garrettmills/multicrypt/src/branch/master/README.md | CC-MAIN-2021-49 | en | refinedweb |
Rename-Item
Renames an item in a PowerShell provider namespace.
Syntax
Rename-Item [-Path] <String> [-NewName] <String> [-Force] [-PassThru] [-Credential <PSCredential>] [-WhatIf] [-Confirm] [<CommonParameters>]
Rename-Item -LiteralPath <String> [-NewName] <String> [-Force] [-PassThru] [-Credential <PSCredential>] [-Wh... | https://docs.microsoft.com/en-us/powershell/module/Microsoft.PowerShell.Management/rename-item?view=powershell-7 | CC-MAIN-2021-49 | en | refinedweb |
Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search Coderanch
Advance search
Google search
Register / Login
Bala Tilak
Ranch Hand
150
76
Threads
2
Cows
since Oct 07, 2008
Merit Badge info
Cows and Likes
Cows
Total received
2
In last 30 days
0
Total given
0
Likes
Total ... | https://www.coderanch.com/u/183277/Bala-Tilak | CC-MAIN-2021-49 | en | refinedweb |
OwnTech NGND driver Zephyr Module is in charge of driving the Neutral-Ground switch of the Power Converter.
How to use
To change the state of the Neutral-Ground switch using the NGND driver, the
ngnd.h file must be included:
Then, the driver structure has to be obtained from Zephyr using the following function:
Finally... | https://www.owntech.org/en/ngnd-driver/ | CC-MAIN-2021-49 | en | refinedweb |
Hello
It seems it might be a good idea if it were possible to uninstall
gnuradio
propper.
I currently have two systems faling (hard) using the new build.
My gentoo box (configured using cmake in another thread)
gives me the error :
ImportError: libgruel-3.4.2git.so.0: cannot open shared object file: No
such
file or dir... | https://www.ruby-forum.com/t/trouble-with-multiple-installs-or-how-i-learned-to-love-make-uninstall/213170 | CC-MAIN-2021-49 | en | refinedweb |
Unlike.
The syntax of a do...while loop in C++ is −
do { statement(s); } while( condition );
Notice that the conditional expression appears at the end of the loop, so the statement(s) in the loop execute once before the condition is tested.
If the condition is true, the flow of control jumps back up to do, and the stat... | https://www.tutorialspoint.com/cplusplus/cpp_do_while_loop.htm | CC-MAIN-2021-49 | en | refinedweb |
When you teach people, you learn!
Look at things in a different way, from another perspective. And you become much more efficient!
The most efficient way to do an ifelse ala Excel:
In R, it would be:
df$X <- if(df$A == "-1"){-df$X}else{df$X}
In Python, it would be:
import numpy as np np.where(df['A'] < 1, -df['X'], df[... | https://www.yinglinglow.com/blog/2018/08/30/ifelse-in-R | CC-MAIN-2021-49 | en | refinedweb |
MLRun Functions Marketplace ¶
Overview¶
In this tutorial we’ll demonstrate how to import a function from the marketplace into your own project and provide some basic instructions of how to run the function and view their results.
Functions Marketplace¶
MLRun marketplace has a wide range of functions that can be used fo... | https://docs.mlrun.org/en/latest/runtimes/load-from-marketplace.html | CC-MAIN-2021-49 | en | refinedweb |
Blazor Tutorial Create Component from Code Behind
You can create view markup and C# code logic in separate files when creating a Blazor component.
- Using @inherits directive to tell the Blazor compiler to derive the class generated from the Razor view from class specified with this directive.
- The class specified wit... | https://blazor-tutorial.net/create-component-from-code-behind | CC-MAIN-2021-49 | en | refinedweb |
Subject: Re: [boost] [msm] eUML guard/action location
From: David Abrahams (dave_at_[hidden])
Date: 2010-01-09 17:34:39
At Mon, 14 Dec 2009 13:31:29 +0100,
Christophe Henry wrote:
>
> >Are all those parentheses used for optional arguments, or could we consider eliminating them?
>
> I'd love to eliminate them but don't ... | https://lists.boost.org/Archives/boost/2010/01/160713.php | CC-MAIN-2019-26 | en | refinedweb |
allow you to run an app in the browser and on device without code or configuration changes
These characteristics are still core to ForceJS, but a lot of things have changed in the JavaScript world in the last 2 years. Modern JavaScript applications are now built with ECMAScript 6 (aka ECMAScript 2015) and beyond. The ... | http://coenraets.org/blog/2016/11/new-version-of-forcejs-a-javascript-library-for-using-the-salesforce-apis-in-ecmascript-6-apps/ | CC-MAIN-2019-26 | en | refinedweb |
The QDesignerFormWindowInterface class allows you to query and manipulate form windows appearing in Qt Designer's workspace. More...
#include <QDesignerFormWindowInterface>
Inherits QWidget.
The QDesignerFormWindowInterface class allows you to query and manipulate form windows appearing in Qt Designer's workspace.
QDes... | https://doc.qt.io/archives/4.3/qdesignerformwindowinterface.html | CC-MAIN-2019-26 | en | refinedweb |
1-781-743-2119 ext 2 Chat
This article goes over how to create a custom Web Document Viewer handler. This allows you to provide custom image sources to the Web Document Viewer, whether it is a document loaded from a database, a procedurally generated image or simply a stream that doesn't map directly to a file in the r... | http://www.atalasoft.com/KB/article.aspx?id=10347 | CC-MAIN-2019-26 | en | refinedweb |
因為有DEP(Data Execution Prevention)or(NX)
所以我們塞shellcode進stack可能無法執行
因此有ROP的出現,希望程式跳到本來程式的部分(或lib)
讓他執行和原本shellcode類似的事情
ASLP(Address Space Layout Randomisation)
會讓原本的lib,stack每次執行的時候位址都不同
Disalbe canaries -fno-stack-protector Disable ASLR: sudo echo 0 > /proc/sys/kernel/randomize_va_space Enable execstack: -z execstack
... | https://hwchen18546.wordpress.com/2014/03/24/software-rop/ | CC-MAIN-2019-26 | en | refinedweb |
ES6 Features That Can't Be Ignored (part 1)
Now that we have some great starter projects for Angular 2 and React, it's easy to hit the ground running with ES6. I summed up the features that will change the way JavaScript Developers code. You can get a full Angular 2 environment here or you can go to es6fiddle or babelj... | https://javascripttuts.com/es6-features-can-make-life-easy/ | CC-MAIN-2019-26 | en | refinedweb |
Resetting the Map
Introduction
While you can pretty much copy and paste the provided here into your mod - it's best to read through it and gain an understanding of what's going on, to that end I'm going to explain each section of code as I deal with it. What I won't do is tell you where to find the files mentioned, it ... | https://developer.valvesoftware.com/w/index.php?title=Resetting_the_Map&oldid=172232 | CC-MAIN-2019-26 | en | refinedweb |
(Almost) out-of-the box logging
Project description
(Almost) out-of-the box logging. Frustum is a wrapper around the standard’s library logging, so you don’t have to write the same boilerplate again.
Install:
pip install frustum
Usage:
from frustum import Frustum # Initialize with verbosity from 1 to 5 (critical to inf... | https://pypi.org/project/frustum/0.0.2/ | CC-MAIN-2019-26 | en | refinedweb |
Extensions let us modify Swift’s data types to add new functionality, and so on in a really clean way – our new code is indistinguishable from existing code.
Let's start with an extension that adds one to an integer. Yes, I realize this is essentially just
+= 1, but we're starting simple. First, add this integer:
var m... | https://www.hackingwithswift.com/read/0/23/extensions | CC-MAIN-2019-26 | en | refinedweb |
lag. This also gives great opportunity to run production scripts to flash new firmware or automate other tasks.
import sys, re
import subprocess
import time
import serial.tools.list_ports
def grep(regexp):
for port, desc, hwid in serial.tools.list_ports.comports():
if re.search(regexp, port, re.I) or re.search(regexp,... | https://www.kurokesu.com/main/2019/02/01/which-usb-to-com-port-is-the-most-recent-one/ | CC-MAIN-2019-26 | en | refinedweb |
Return the current error status of the decoder
#include <pps.h> pps_decoder_error_t pps_decoder_status( pps_decoder_t *decoder, bool clear);
libpps
The function pps_decoder_status() returns the current error status of the decoder. If an error occurs during an attempt to extract data or push into objects, the decoder is... | http://www.qnx.com/developers/docs/6.6.0.update/com.qnx.doc.pps.developer/topic/api/pps_decoder_status.html | CC-MAIN-2019-26 | en | refinedweb |
User talk:Leo
Translation group
Hello Leo,
I would like to form a group for the french translation! Are you interested? (cf :). You can contact me by email, answer on your discussion page, or answer on mine.
--Feng (talk) 06:35, 5 April 2017 (UTC)
Translation pages
Hi Leo,
You can join us on the #gentoo-wiki channel (I... | https://wiki.gentoo.org/wiki/User_talk:Leo | CC-MAIN-2019-26 | en | refinedweb |
Build an InstantSearch Results Page
On this page
Scope of this tutorial
This tutorial will teach you how to implement a simple instant search refreshing the whole view “as you type” by using Algolia’s engine and the Swift API Client.
Note that as of July 2017, we have released a library to easily build instant search r... | https://www.algolia.com/doc/guides/building-search-ui/getting-started/how-to/build-an-instant-search-results-with-swift/ | CC-MAIN-2019-26 | en | refinedweb |
Each Answer to this Q is separated by one/two green lines.
I’m trying to implement requests retry in Python.
It works like charm with
.get() requests, but a
.post() request never retries, regardless of a status code. I’d like to use it with
.post() requests.
My code:
from requests.packages.urllib3.util import Retry fro... | https://techstalking.com/programming/python/how-to-make-python-post-requests-to-retry/ | CC-MAIN-2022-40 | en | refinedweb |
Each Answer to this Q is separated by one/two green lines.
I’m a Rubyist learning Python and I’m wondering if there is a convention in Python along the lines of the following.
In Ruby, methods that return booleans are supposed to always end in a
?. For example,
def palindrome?(string) # some code that tests whether str... | https://techstalking.com/programming/python/python-boolean-methods-naming-convention/ | CC-MAIN-2022-40 | en | refinedweb |
FitNesse. SuiteAcceptanceTests. SuiteFixtureTests. SuiteGeneralFixtureSpec.
TestBlankAndNullCells
TestBlankAndNullCells
If a cell contains "blank" or "null" then treat it as truly blank or truly null.
Lots of people have had trouble with blank cells. In Fit, blank cells are automatically filled with the value of the va... | http://fitnesse.org/FitNesse.SuiteAcceptanceTests.SuiteFixtureTests.SuiteGeneralFixtureSpec.TestBlankAndNullCells | crawl-001 | en | refinedweb |
The $if statement has been enhanced to allow constant expression evaluation. To match the flavor of the basic $if statement, we have introduced to forms:
$ife expr1 == expr2 true if (expr1-expr2)/(1+abs(expr2)) < 1e-12 $ife expr true if expr1 <> 0
The expressions follow the standard GAMS syntax and are explained in mor... | http://www.gams.com/docs/release/rel_cmex226.htm | crawl-001 | en | refinedweb |
David Mertz, Ph.D (mertz@gnosis.cx), Data Masseur, Gnosis Software, Inc.
01 Aug 2000
In the first installment of his new 'XML Matters' column -- and as part of his ongoing quest to create a more seamless integration between XML and Python -- David Mertz presents the xml_pickle module. Mertz discusses the design goals ... | http://www.ibm.com/developerworks/library/xml-matters1/ | crawl-001 | en | refinedweb |
friendly.
It's been almost a year since I introduced you to Groovy with the article "Feeling Groovy" in the alt.lang.jre series. Since then, Groovy has matured quite a bit through a number of releases that have progressively addressed problems in the language implementation and feature requests from the developer comm... | http://www.ibm.com/developerworks/java/library/j-pg07195.html | crawl-001 | en | refinedweb |
Bulk Actions
A Bulk Action is a Quick-Fix or a Context Action that can be applied to an element in the syntax tree, a single file, or all files in a folder, project or solution. This fix in scope mechanism is displayed as a menu item on the
Alt+Enter menu that can be selected to affect the single item, or expanded to s... | https://www.jetbrains.com/help/resharper/sdk/Features/Actions/Bulk.html | CC-MAIN-2017-43 | en | refinedweb |
Most said that primitive in object are stored in Heap, however, I got different results from the following performance test:
public class Performance { long sum = 0; public static void main(String[] args) { // TODO Auto-generated method stub long startTime = System.currentTimeMillis(); long pSum = 0; for(int i = 0; i <... | http://ebanshi.cc/questions/3253769/primitive-in-object-heap-or-stack | CC-MAIN-2017-43 | en | refinedweb |
Is This Content Helpful?
We're glad to know this article was helpful.
When attempting to delete a feature dataset containing a topology, an error message is returned. The feature dataset is deleted as well.
Code:
import arcpy
arcpy.env.workspace = r"C:\data\test.gdb"
arcpy.Delete_management("majorrds")
This is a known ... | http://support.esri.com/en/technical-article/000011880 | CC-MAIN-2017-43 | en | refinedweb |
On Thu, Mar 12, 2009 at 5:13 PM, Alois Schlögl <address@hidden> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > The following improvements have been included in the NaN-toolbox. > > - - sumskipnan_mex.mex has been optimized for speed (minimizing cache > missing, reducing loop overhead) > > - - a flag is se... | http://lists.gnu.org/archive/html/octave-maintainers/2009-03/msg00323.html | CC-MAIN-2017-43 | en | refinedweb |
I am back with some more PInvoke Stuff. Recently I was working on a PInvoke issue which I found interesting.
I have a C++ dll which has a function whose signature is
int TestFunc(IN_STRUCT in_Params, RET_STRUCT * pret_Par).
I wanted to call this function from C#. Function has two arguments. First argument is input stru... | https://blogs.msdn.microsoft.com/dsvc/2009/06/22/troubleshooting-pinvoke-related-issues/ | CC-MAIN-2017-43 | en | refinedweb |
brent-search 1.0.29
Brent's method for univariate function optimization
Brent’s method for univariate function optimization.
Example
from brent_search import brent def func(x, s): return (x - s)**2 - 0.8 r = brent(lambda x: func(x, 0), -10, 10) print(r)
The output should be
(0.0, -0.8, 6)
Install
The recommended way of... | https://pypi.python.org/pypi/brent-search/ | CC-MAIN-2017-43 | en | refinedweb |
> > Frankly, I'm a bit confused by your post. Maybe I don't understand > > what you're proposing? > > Modules are modules, right? That is, pickle.py and cPickle.so are both > represented as module objects at runtime. A C extension can call > PyModule_GetDict() on any module. If so, then any extension module can > add n... | https://mail.python.org/pipermail/python-dev/2003-March/034270.html | CC-MAIN-2019-18 | en | refinedweb |
From Jenkins to Jenkins X
This is a tale of dailymotion’s journey from Jenkins to Jenkins X, the issues we had, and how we solved them.
Our context
At dailymotion, we strongly believe in devops best practices, and are heavily investing in Kubernetes. Part of our products are already deployed on Kubernetes, but not all ... | https://medium.com/dailymotion/from-jenkins-to-jenkins-x-604b6cde0ce3?source=collection_home---4------7--------------------- | CC-MAIN-2019-18 | en | refinedweb |
What is Vector?
Suppose we want to move from point A to point B where point A is situated at (33.0, 35.0) and point B is at (55.0, 45.0) then Vector AB will be the different between these two points, or the x and the y distance between this two points is (x2-x1, y2-y1) or (55.0-33.0, 45.0-35.0).
Why do we need to creat... | http://gamingdirectional.com/blog/2016/08/31/create-a-vector-class-in-pygame/ | CC-MAIN-2019-18 | en | refinedweb |
Hi there,
yesterday we've patched our PI 7.0 fom SP 09 to SP 11.
Until then we had a running scenario, containing an IDoc sending SAP System. Since the XI was patched, incoming messages from IDoc Adapter have a green flag in the SXI_Monitor, Q. Status is red.
The Message Trace is as follows:
...
<Trace level="1" type="... | https://answers.sap.com/questions/2180009/index.html | CC-MAIN-2019-18 | en | refinedweb |
SNMP Alerts
The XAP
Alert interface exposes the XAP environment and the application’s health state. It allows users to register listeners on one or more alert types and receive notifications once an alert has been raised or has been resolved. You may use this framework to build a custom integration with a third party m... | https://docs.gigaspaces.com/xap/12.2/dev-java/snmp-connectivity-via-alert-logging-gateway.html | CC-MAIN-2019-18 | en | refinedweb |
I've left you something really tasty for dessert – Boost's Generic Image Library (GIL), which allows you to manipulate images and not care much about image formats.
Let's do something simple and interesting with it; let's make a program that negates any picture.
This recipe requires basic knowledge of C++, templates, a... | https://www.oreilly.com/library/view/boost-c-application/9781849514880/ch12s08.html | CC-MAIN-2019-18 | en | refinedweb |
This is a guest post from Simon Grimm, Ionic Developer Expert and educator at the Ionic Academy. Simon also writes about Ionic frequently on his blog Devdactic.
In this tutorial we will look at the new navigation system inside Ionic Framework 4.0 to learn how to use the powerful CLI, to understand how your Ionic 3 logi... | https://blog.ionicframework.com/navigating-the-change-with-ionic-4-and-angular-router/ | CC-MAIN-2019-18 | en | refinedweb |
A ring-shaped linestring. More...
#include <geometries.h>
A ring-shaped linestring.
Linearring is a non-instantiable type in SQL. It is used to represent polygon rings.
The start and end point of the linestring must be the same (assumed, but not enforced, by the implementation).
Applies a hierarchical visitor to this g... | https://dev.mysql.com/doc/dev/mysql-server/latest/classgis_1_1Linearring.html | CC-MAIN-2022-21 | en | refinedweb |
Getting Started with Windows Forms FlowLayout
17 Nov 20214 minutes to read
This section explains how to add the FlowLayout control in a Windows Forms application and overview its basic functionalities.
Assembly deployment
Refer to the Control Dependencies section to get the list of assemblies or details of NuGet packag... | https://help.syncfusion.com/windowsforms/layoutmanagers/flowlayout/gettingstarted | CC-MAIN-2022-21 | en | refinedweb |
1.2 What Is a Computer? • Computer • Performs computations and makes logical decisions • Millions / billions times faster than human beings • Hardware: physical devices of computer system • Computer programs • Sets of instructions for which computer processes data • Software: programs that run on computers
1.3 Computer... | https://www.slideserve.com/joshua-justice/review | CC-MAIN-2022-21 | en | refinedweb |
The general syntax to create a Swift dictionary is
var dict: Dictionary<Key, Value>. This code creates a mutable instance of the Dictionary type called dict. The declarations for what types the dictionary’s keys and values accept are inside the angle brackets (
Key and
Value.
<>), denoted here by
The values stored in a... | https://basiccodist.in/dictionary-in-swift/ | CC-MAIN-2022-21 | en | refinedweb |
On Mon, May 23, 2016 at 1:42 PM, T. C. <rs2...@gmail.com> wrote:I've written a paper based on Melissa O'Neill's randutils.hpp (described here), proposing a simple wrapper class template for URNGs with various convenience member functions and automatic nondeterministic seeding (for random number engines): would be great... | https://groups.google.com/a/isocpp.org/g/std-proposals/c/l3FLfjM91Mw/m/SNbYpzNLDgAJ | CC-MAIN-2022-21 | en | refinedweb |
NAME¶
Tk_Main - main program for Tk-based applications
SYNOPSIS¶
#include <tk.h> Tk_Main(argc, argv, appInitProc)
ARGUMENTS¶
-¶); ALSO¶
Tcl_DoOneEvent(3tk)
KEYWORDS¶
application-specific initialization, command-line arguments, main program | https://manpages.debian.org/unstable/tk8.6-doc/Tk_Main.3tk.en.html | CC-MAIN-2022-21 | en | refinedweb |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I'm trying to set the response status line, and failing.
def handler(req):
raise apache.SERVER_RETURN, (400, "You must supply a foo")
This is with the mod_python on Ubuntu feisty (3.2.10). From the code in
apache.py, it sets req.status with the text message although the doc... | https://modpython.org/pipermail/mod_python/2007-May/023567.html | CC-MAIN-2022-21 | en | refinedweb |
Opened 7 years ago
Closed 2 years ago
#25167 closed New feature (duplicate)
Provide option to disable ajax text/plain response in technical_500_response
Description
Line in question:
Ticket #10841 from a long time ago made a change to return text/plain responses unconditionally when the request was made via ajax. It w... | https://code.djangoproject.com/ticket/25167 | CC-MAIN-2022-21 | en | refinedweb |
1. What is bridging mode?
Decouple an abstraction from its implementation so that the two can vary independently.
Bridge Pattern: decouple abstraction and implementation so that they can change independently.
Another explanation is that there are two (or more) independently changing dimensions in a class. We can make t... | https://programmer.help/blogs/619cd0b2e5751.html | CC-MAIN-2022-21 | en | refinedweb |
#include <RubyDirectedTester.hh>
Definition at line 50 of file RubyDirectedTester.hh.
Definition at line 56 of file RubyDirectedTester.hh.
Called by the peer if sendTimingReq was called on this peer (causing recvTimingReq to be called on the peer) and was unsuccessful.
Implements TimingRequestProtocol.
Definition at li... | http://doxygen.gem5.org/release/v20-1-0-0/classRubyDirectedTester_1_1CpuPort.html | CC-MAIN-2022-21 | en | refinedweb |
Hello,
I'm searching for a way to extract all text elements from a matplotlib
figure including their positions, styles, alignments etc. I first
tried to write a custom backend and to fetch all the texts from the
"draw_text()" method of the renderer. In contrast to the documentation
"draw_text()" does not receive a matp... | https://discourse.matplotlib.org/t/duplicate-ticks/17019 | CC-MAIN-2022-21 | en | refinedweb |
Update spent the last couple of weeks writing sample code for ASP.NET 5/MVC 6 and I was surprised by the depth of the changes in the current beta release of ASP.NET 5. ASP.NET 5 is the most significant new release of ASP.NET in the history of the ASP.NET framework — it has been rewritten from the ground up.
In this blo... | https://stephenwalther.com/archive/2015/02/24/top-10-changes-in-asp-net-5-and-mvc-6 | CC-MAIN-2022-21 | en | refinedweb |
This article explains how to use the Custom Data Annotations Attribute in MVC 4.
Data Annotations
Validation in MVC can be done using Data Annotations that are applied to both the client and server side.
Data Annotation attributes are used to validate the user inputs when posting the form. All the Data Annotation attri... | https://www.c-sharpcorner.com/UploadFile/rahul4_saxena/mvc-4-custom-validation-data-annotation-attribute/ | CC-MAIN-2022-21 | en | refinedweb |
Interpretability: Model explainability in automated ML (preview)
In this article, you learn how to get explanations for automated machine learning (automated ML) models in Azure Machine Learning using the Python SDK. Automated ML helps you understand feature importance of the models that are generated.
All SDK versions... | https://docs.microsoft.com/en-us/azure/machine-learning/how-to-machine-learning-interpretability-automl | CC-MAIN-2022-21 | en | refinedweb |
How To Beep In Python - 5 Simple Ways
In this tutorial I will show you 5 simple ways to generate a beeping sound in Python.
To generate a beeping sound in Python you have the following options:
- Use the bell character on the terminal
- Use AppKit to play MacOS system sounds
- Use winsound to play Windows system sounds... | https://pythonin1minute.com/how-to-beep-in-python/ | CC-MAIN-2022-21 | en | refinedweb |
SyndicationFeed.TryParseAttribute Method
Silverlight
Attempts to parse an attribute extension.
Namespace: System.ServiceModel.SyndicationNamespace: System.ServiceModel.Syndication
Assembly: System.ServiceModel.Syndication (in System.ServiceModel.Syndication.dll)
Parameters
- name
- Type: System.String
The name of the e... | https://msdn.microsoft.com/en-us/library/bb908542(v=vs.95) | CC-MAIN-2017-04 | en | refinedweb |
A suite of better cache tools for Django.
django-email-bandit is a Django email backend for hijacking email sending in a test environment.
Integration library for React/JSX and Django
Simple, flexible app for integrating static, unstructured content in a Django site
Django template filter application for sanitizing use... | https://pypi.org/user/ironfroggy/ | CC-MAIN-2017-04 | en | refinedweb |
Board Of Directors And Marketing Department Commerce Essay
Published: Last Edited:
This essay has been submitted by a student. This is not an example of the work written by our professional essay writers.
In the business world, profitability may be considered as one of important factors that a company is looking for be... | https://www.ukessays.com/essays/commerce/board-of-directors-and-marketing-department-commerce-essay.php | CC-MAIN-2017-04 | en | refinedweb |
#include <qstereo.h>
#include <qstereo.h>
Collaboration diagram for QStereo:
QStereo class is a visualization widget for stereo camera devices. This calss can be used for the following purposes:
0
A constructor.
A destructor.
[protected, virtual]
[inline, slot]
Reset the stereo camera.
[signal]
Emitted when the size of... | http://robotics.usc.edu/~boyoon/bjlib/d2/dbb/classQStereo.html | CC-MAIN-2017-04 | en | refinedweb |
Content-type: text/html
#include <xti.h>
int t_optmgmt(int fd, const struct t_optmgmt *req, struct t_optmgmt _optmgmt() function enables a transport user to retrieve, verify or negotiate protocol options with the transport provider. The argument fd identifies a transport endpoint.
The req and ret arguments point to a t... | http://backdrift.org/man/SunOS-5.10/man3nsl/t_optmgmt.3nsl.html | CC-MAIN-2017-04 | en | refinedweb |
Introduction to C++/CLI Generics
Before version 2.0, the .NET framework supported the Universal Type Container Model, in which objects are stored in a uniform manner. The universal type container in the Common Type System is Object and all types are derived either directly or indirectly from it. Version 2.0 of the fram... | http://www.codeguru.com/cpp/cpp/cpp_managed/general/article.php/c10881/Introduction-to-CCLI-Generics.htm | CC-MAIN-2017-04 | en | refinedweb |
See also: IRC log
<DanC> ah... httpRange-14 is not on the agenda... I kinda expected it to continue from last week... ah... two weeks... 29 MAr
<DanC> "Next week's scribe will be Norm."
<Norm> Crap. Sorry. I'm on another call and can't get away for a few minutes
<noah> Norm: I will scribe for a few minutes until you sh... | http://www.w3.org/2005/03/22-tagmem-minutes.html | CC-MAIN-2017-04 | en | refinedweb |
On Fri, Feb 18, 2011 at 02:08:04PM -0800, Robert Bradshaw wrote: > On Thu, Feb 17, 2011 at 8:38 PM, W. Trevor King <wking at drexel.edu> wrote: > > On Thu, Feb 17, 2011 at 3:53 PM, Robert Bradshaw wrote: > >> On Thu, Feb 17, 2011 at 3:12 PM, W. Trevor King wrote: > >>> On Thu, Feb 17, 2011 at 01:25:10PM -0800, Robert B... | https://mail.python.org/pipermail/cython-devel/2011-February/000068.html | CC-MAIN-2017-04 | en | refinedweb |
Dňa 17. januára 2012 9:29, Eric Dumazet <eric.dumazet@gmail.com> napísal/a:> Le mardi 17 janvier 2012 à 09:04 +0100, Štefan Gula a écrit :>> Dňa 17. januára 2012 5:47, Eric Dumazet <eric.dumazet@gmail.com> napísal/a:>> >>> > 2) You call ipgre_tap_bridge_fini() from ipgre_exit_net() and>> > ipgre_init_net(), thats compl... | http://lkml.org/lkml/2012/1/17/107 | CC-MAIN-2017-04 | en | refinedweb |
This is your resource to discuss support topics with your peers, and learn from each other.
04-23-2010 06:31 AM
I've seen it mentioned a few times and I'd REALLY need to know this.
How can I place my resources in a different, updateable cod? (I need to read some text-only configuration files that control the applicatio... | https://supportforums.blackberry.com/t5/Java-Development/How-can-I-place-resources-in-a-separate-cod/m-p/490262 | CC-MAIN-2017-04 | en | refinedweb |
MemberInfo.MemberType Property
When overridden in a derived class, gets a MemberTypes value indicating the type of the member — method, constructor, event, and so on.
Assembly: mscorlib (in mscorlib.dll)
Property ValueType: System.Reflection.MemberTypes
A MemberTypes value indicating the type of member.
Implements_Memb... | https://msdn.microsoft.com/en-us/library/system.reflection.memberinfo.membertype(v=vs.90).aspx | CC-MAIN-2017-04 | en | refinedweb |
21, 200447 *48 */49 package org.mr.core.cmc;50 51 import org.apache.commons.logging.Log;52 import org.apache.commons.logging.LogFactory;53 54 import javax.management.*;55 56 /**57 * returns the memory status of the system.58 * 59 * @author lital kasif 60 */61 public class GetMemStatJMX extends StandardMBean implements... | http://kickjava.com/src/org/mr/core/cmc/GetMemStatJMX.java.htm | CC-MAIN-2017-04 | en | refinedweb |
We use the following configuration file to control the log4j. prints logging message ending with a newline character.
# Define the root logger with appender file log = c:
The following Java class shows how to use Log4J logging library.
import org.apache.log4j.Logger; import java.io.*; import java.sql.SQLException; impo... | http://www.java2s.com/Tutorials/Java/log4j/0030__log4j_HelloWorld.htm | CC-MAIN-2017-04 | en | refinedweb |
Introduction: Calculator Coded With Python
After learning a bit about the programming language Python, I though that it would be neat to try and replicate some of the math that they Python shell does with a GUI. While I clearly did not match the shell's performance my calculator adds a few helpful shortcuts such as the... | http://www.instructables.com/id/Calculator-Coded-with-Python/ | CC-MAIN-2018-26 | en | refinedweb |
im building a usb box with 2x buttons and Sparkfun Micro Pro. One button sends SPACE bar to computer, and other button sends ESC.
i coppied the code from Sparkfun Website but the code as one key code written only...
can anyone help write the code to include the 2 buttons? maybe we could write it to use pin 10 for key E... | https://forum.sparkfun.com/viewtopic.php?t=46582&who_posted=1 | CC-MAIN-2018-26 | en | refinedweb |
How to hide lines in excel programatically
By
kcvinu, in AutoIt General Help and Support
Recommended Posts
Similar Content
- By Gowrisankar.
-
- By Simpel
Hi.
I try to figure out who is using a excel workbook which I can only open "read only". I use this code:
#include <Array.au3> #include <Excel.au3> Local $sFile = ; ... | https://www.autoitscript.com/forum/topic/181216-how-to-hide-lines-in-excel-programatically/ | CC-MAIN-2018-26 | en | refinedweb |
Are you sure?
This action might not be possible to undo. Are you sure you want to continue?
6109-1(d)(3)(ii) of the Procedure and Administration Regulations Notice 2004-1 SECTION 1. PURPOSE This notice addresses the requirements of section 301.6109-1(d)(3)(ii) of the regulations on Procedure and Administration, relatin... | https://www.scribd.com/document/536013/US-Internal-Revenue-Service-n-04-1 | CC-MAIN-2018-26 | en | refinedweb |
Opened 9 years ago
Last modified 3 years ago
#624 reopened enhancement
Add Latent BuildSlave for DRMAA supporting systems
Description (last modified by dustin)
Supplied are two modules drmaabuildslave - contains a basic latent buildslave which uses a DRMA api (Requires the drmaa python module)
sgebuildslave - a latent ... | http://trac.buildbot.net/ticket/624 | CC-MAIN-2018-26 | en | refinedweb |
QML program doesn't minimize properly
Hello,
I'm having a problem with a QML program I am making. It's a full screen program to which I've added a minimize button which calls QtQuick2ApplicationViewer.showMinimized() when clicked. This works fine on the development machine (Win7 x64) but when I deploy it on another com... | https://forum.qt.io/topic/32421/qml-program-doesn-t-minimize-properly | CC-MAIN-2018-26 | en | refinedweb |
Opened 5 years ago
Closed 4 years ago
#21466 closed Bug (invalid)
override_settings(LOGIN_URL=…) does not work when not first test
Description
Overriding
LOGIN_URL in the tests does not work when another test is run beforehand.
from django.test import TestCase from django.test.utils import override_settings from django... | https://code.djangoproject.com/ticket/21466 | CC-MAIN-2018-26 | en | refinedweb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.