text stringlengths 454 608k | url stringlengths 17 896 | dump stringclasses 91
values | source stringclasses 1
value | word_count int64 101 114k | flesch_reading_ease float64 50 104 |
|---|---|---|---|---|---|
It's a surprise to me that ArcGIS Pro changes the python code in my script tool when I pack the project and upload the ppkx to ArcGIS Online.
Here is the first a few lines of code for one script tool in the unpacked ppkx, please pay attention to the codes between "Esri start of added imports" and "Esri end of added var... | https://community.esri.com/thread/219494-script-are-changed-by-esri-with-gesrivariable1-gesrivariable2 | CC-MAIN-2018-51 | refinedweb | 275 | 51.52 |
Hi, how can I create a function like that but defining the function in python?
I already did something like that:
from pyspark.sql.types import IntegerType def relative_month(input_date): if input_date is not None: return ((input_date.month + 2) % 6)+1 else: return None _ = spark.udf.register("relative_month", relative... | https://forums.databricks.com/questions/17080/create-function-udf-in-python.html | CC-MAIN-2020-50 | refinedweb | 230 | 65.62 |
I am new to C++ programming, but I am trying to modify the following code so that I can calculate compound interest using only integers. I only clues I have are to (Treat all monetary amounts as integral numbers of pennies. Then "break" the result into its dollar portion and cents portion by using the division and modu... | http://cboard.cprogramming.com/cplusplus-programming/16518-help-monetary-calculations-using-only-integers.html | CC-MAIN-2014-41 | refinedweb | 172 | 53.31 |
-
Silverlight for Windows Phone
Silverlight for Windows Phone
"Silverlight for Windows Phone is a specific version of Silverlight for developing applications that run on Windows Phone. The WP version contains additional support for touch input, and does not contain support for the HTML DOM bridge."
- Microsoft Silverl... | http://www.kcshadow.net/mobile/?q=silverlight | CC-MAIN-2018-22 | refinedweb | 1,137 | 56.55 |
Why Microsoft Is Being Nicer To Open Source 231
itwbennett writes "Is open source's growth in emerging markets what is driving Microsoft to say 'we love open source' with an attempt at a straight face? 'The emerging markets (like the BRIC nations) are a huge potential market for Microsoft,' says Brian Proffitt. .'"
MS ... | http://news.slashdot.org/story/10/09/01/0019238/Why-Microsoft-Is-Being-Nicer-To-Open-Source | CC-MAIN-2015-48 | refinedweb | 6,808 | 61.77 |
Flushing an index to disk is just an IndexWriter.commit(), there's nothing
really special about that...
About running your code continuously, you have several options:
1> schedule a recurring job to do this. On *nix systems, this is a cron job,
on Windows systems there's a job scheduler.
2> Just start it up in an infin... | http://mail-archives.apache.org/mod_mbox/lucene-java-user/201009.mbox/%3CAANLkTimpjB-SNwx9ZU+Ow=uDf+eCpUuG+2KE-RzbR0op@mail.gmail.com%3E | CC-MAIN-2016-22 | refinedweb | 701 | 59.6 |
Creates a new IPv4 TCP socket.
Syntax
#include <prio.h> PRFileDesc* PR_NewTCPSocket(void);
Returns
The function returns one of the following values:
- Upon successful completion, a pointer to the
PRFileDescobject created for the newly opened IPv4 TCP socket.
- If the creation of a new TCP socket failed,
NULL.
Descripti... | https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSPR/Reference/PR_NewTCPSocket | CC-MAIN-2020-45 | refinedweb | 111 | 57.98 |
Importing hierarchical entitlement data in OIA - part 2
By user12582982 on Feb 16, 2012
In my last blog entry I talked about importing hierarchical entitlement data into Oracle Identity Analytics (OIA). Today I want to discuss another example regarding Microsoft Windows shared files and folders permissions and show how... | https://blogs.oracle.com/renek/date/20120216 | CC-MAIN-2015-22 | refinedweb | 721 | 60.35 |
Subject: Re: [geometry] Douglas Peucker on 3D lines
From: Stephan Menzel (stephan.menzel_at_[hidden])
Date: 2012-07-16 07:37:55
Hi Barend,
On Sun, Jul 15, 2012 at 2:43 PM, Barend Gehrels <barend_at_[hidden]> wrote:
>>?
It may well be compiler specific. The build environment I got this in
is VC9 (Visual Studio 2008). It... | https://lists.boost.org/geometry/2012/07/2008.php | CC-MAIN-2022-21 | refinedweb | 259 | 83.05 |
John Shooter998 Points
How do I define Square as the inner class besides the : Polygon and : base?
I've tried a couple of different ways but I still can't figure out to define the subclass. I don't know if I am suppose to create another class of Square in a new file if so how do I do so?
1 Answer
Steven Parker177,495 P... | https://teamtreehouse.com/community/how-do-i-define-square-as-the-inner-class-besides-the-polygon-and-base | CC-MAIN-2019-51 | refinedweb | 129 | 79.94 |
Excel has a very cool feature where you can declare that a range of cells is a table. It is a feature that allows you to use Excel very much like a database. You can add new rows as necessary, sort the table by columns, do some simple filtering, calculate the sum of columns, and more. Each table has a unique table name... | https://blogs.msdn.microsoft.com/ericwhite/2008/11/14/using-linq-to-query-excel-tables/ | CC-MAIN-2016-36 | refinedweb | 4,312 | 55.34 |
Action mappings is a feature that will benefit greatly from a rewrite and inclusion of other capabilities. By ActionMappings, I mean code that extracts from a URI the following:
- The namespace (xwork) or module prefix (struts)
- The action name
- Any extra parameters
While the first two are obvious, the last isn't nec... | https://wiki.apache.org/struts/StrutsTi/ActionMappings?highlight=WebWork2 | CC-MAIN-2017-51 | refinedweb | 1,522 | 60.45 |
Problem
The issue is that SQL Server ignores trailing spaces when comparing strings but the .NET string functions (which EF uses) does not. On SQL Server “ABCD” and “ABCD “ are considered equal, but in .NET (and EF) they are not.
The implications of this are best illustrated with an example. Consider the following cod... | https://romiller.com/2014/10/20/ef6-1workaround-trailing-blanks-issue-in-string-joins/ | CC-MAIN-2019-09 | refinedweb | 585 | 56.15 |
Other Aliasxgetaline, xfseek, xfopen, getaline, fassert
SYNOPSIS
#include <files.h>
FILE *xfopen(const char *filename, const char *mode);
void xfclose(FILE *fp);
void xfseek(FILE *fp, long offset, int origin);
char *getaline(FILE *fp);
char *xgetaline(FILE *fp);
void fassert(FILE *fp);
DESCRIPTIONThese functions are us... | http://manpages.org/xfclose/3 | CC-MAIN-2021-49 | refinedweb | 226 | 63.09 |
Agile Software Development: Principles, Patterns,and Practices -- The Adapter Pattern
In my last column we talked about the
Abstract Server
pattern in the context of the
Button and
Light example. At the end of that column, I promised that we'd study the pattern that we might use if we could not modify
Light.
Decoupling... | https://today.java.net/pub/a/today/2004/08/17/patterns.html | CC-MAIN-2015-14 | refinedweb | 1,370 | 64.2 |
James Stroud schrieb: >. > > It doesn't evaluate it until you ask it to, which is the right > behavior. However, when evaluated, it evaluates "i" also, which is the > last value to which "i" was assigned, namely the integer 1. I'm going > to get flamed pretty hard for this, but it doesn't seem to be the > intuitive beh... | https://mail.python.org/pipermail/python-list/2009-January/520345.html | CC-MAIN-2014-15 | refinedweb | 258 | 62.41 |
Sending
Non-blocking
C | FORTRAN-legacy | FORTRAN-2008
MPI_Issend
Definition
MPI_Issend is the synchronous non-blocking send (the capital ’I’ standing for immediate return). Unlike its blocking counterpart MPI_Ssend, MPI_Issend will not block until the recipient has received the message. In other words, when MPI_Issend... | https://www.rookiehpc.com/mpi/docs/mpi_issend.php | CC-MAIN-2019-43 | refinedweb | 220 | 50.94 |
Hi On Wed, Mar 21, 2007 at 09:59:13PM +0100, Ian Braithwaite wrote: > Hi, > > > Here's the second iteration of my fixed point COOK decoder. > > Many thanks to Michael and Benjamin for the code reviews. > I've updated the patch accordingly, here are some comments to the comments. [...] > Michael Niedermayer writes: > >>... | http://ffmpeg.org/pipermail/ffmpeg-devel/2007-March/033190.html | CC-MAIN-2014-49 | refinedweb | 1,677 | 57.4 |
remove LOD_Decimator (c++ decimator), now replaced by bmesh decimator. also remove CTR c++ classes that are no longer used.
style cleanup
remove $Id: tags after discussion on the mailign list: markmail.org/message/fp7ozcywxum3ar7n
doxygen: intern/container tagged
remove nan-makefiles
remove config.h references, was add... | https://git.blender.org/gitweb/gitweb.cgi/blender.git/atom?f=intern/container/intern | CC-MAIN-2021-04 | refinedweb | 120 | 59.3 |
set Object direct or indirect?
nimo frey
Ranch Hand
Joined: Jun 28, 2008
Posts: 580
posted
Apr 15, 2009 03:49:36
0
What is better:
to provide a method void which sets the properties of the object:
public class Test{ public void init(){ MyObject o = new MyObject (); this.getProps(o); } public void getProps(MyObject o) ... | http://www.coderanch.com/t/441151/java/java/set-Object-direct-indirect | CC-MAIN-2014-15 | refinedweb | 646 | 62.78 |
Chapter 3. Compiling and Building
3.1. GNU Compiler Collection (GCC)
gccand
g++), run-time libraries (like
libgcc,
libstdc++,
libgfortran, and
libgomp), and miscellaneous other utilities.
3.1.1. Language Compatibility
-
The following is a list of known incompatibilities between the Red Hat Enterprise Linux 6 and 5 tool... | https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/developer_guide/compilers | CC-MAIN-2021-10 | refinedweb | 271 | 53.58 |
This is your resource to discuss support topics with your peers, and learn from each other.
02-04-2011 08:28 AM
Hello,
I am trying to make a LabelField act like a ButtonField in that it will be clickable to perform an event. So I have created my own field that extends LabelField. I have also set the new field to change... | https://supportforums.blackberry.com/t5/Java-Development/Trouble-with-custom-LabelField/m-p/774467 | CC-MAIN-2017-09 | refinedweb | 652 | 59.6 |
..
Unlike fields, properties are not classified as variables. Therefore, you cannot pass a property as a ref or out parameter.
Properties have many uses: they can validate data before allowing a change; they can transparently expose data on a class where that data is actually retrieved from some other source, such as a... | https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/classes-and-structs/using-properties | CC-MAIN-2019-22 | refinedweb | 274 | 50.77 |
BBC micro:bit
Tilt Sensor
Introduction
Clearly, the micro:bit has a built-in accelerometer which can be used to work out which way the micro:bit is tilted. The gestures that you have access to in MicroPython give you all of the information that you need for most circumstances. The tilt sensors on this page are a much s... | http://www.multiwingspan.co.uk/micro.php?page=tiltdig | CC-MAIN-2019-09 | refinedweb | 615 | 71.95 |
Hi?
View Complete Post
Hi all,
I'm trying to use Html.RenderAction with MVC 3.0 preview 1 and i'm getting an error. i have the following controller:
public class HelpController : Controller { public ActionResult Detail(int id) { ViewModel.Title = "Help Title! " + id.ToString(); ViewModel.Content = "Help Content!" + id.... | http://www.dotnetspark.com/links/30173-renderaction-with-lambda-expression-mvc.aspx | CC-MAIN-2017-13 | refinedweb | 165 | 51.85 |
soapsuds (-url:args | -types:args | -is:args | -ia:args) [options]
Creates XML schemas for services in an assembly and creates assemblies from a schema. You can also reference the schema via its URL. Use SoapSuds to create client applications that communicate with .NET remoting servers. Use Wsdl.exe to create clients t... | http://etutorials.org/Programming/C+in+a+nutshell+tutorial/Part+III+Language+and+Tools+Reference/Chapter+23.+C+Development+Tools/SoapSuds.exe/ | CC-MAIN-2018-13 | refinedweb | 252 | 62.95 |
02 July 2009 17:39 [Source: ICIS news]
By Joe Kamalick
WASHINGTON (?xml:namespace>
That means that the Democrats can easily quash efforts by the minority Republicans to block legislation.
Well, maybe not quite so easily.
In theory, the party that holds 60 seats in the Senate can at will vote cloture, meaning they can v... | http://www.icis.com/Articles/2009/07/02/9229338/insight-democrats-super-majority-is-no-sure-thing.html | CC-MAIN-2015-22 | refinedweb | 734 | 55.78 |
- .8 Retrieving Data from Multiple Tables with LINQ
In the two previous examples, we used data bindings to display data extracted using LINQ to SQL. In this section, we concentrate on LINQ to SQL features that simplify querying and combining data from multiple tables. You’ve already seen the SQL INNER JOIN operator in ... | https://www.informit.com/articles/article.aspx?p=1251169&seqNum=8 | CC-MAIN-2020-50 | refinedweb | 1,156 | 55.74 |
This is a page for planning Doctrine integration.
Doctrine 1
Questions
- What namespace should we use?
Todo
- Create a Doctrine1 paginator adapter
- Create a Doctrine1 auth adapter
- Create Zend_Tool providers for Doctrine1
Doctrine 2
Questions
- What namespace should we use?
- Would the doctrine2 classes use 5.3?
- Re... | http://framework.zend.com/wiki/pages/viewpage.action?pageId=18219229 | CC-MAIN-2013-48 | refinedweb | 136 | 60.41 |
#include <stdio.h> int main(int argc, const char *const *argv) { if ( argc > 1 ) { FILE *file = fopen(argv[1], "r"); /* Get filename from command line. */ if ( file ) { int ch, prev = '\n' /* so empty files have no lines */, lines = 0; while ( (ch = fgetc(file)) != EOF ) /* Read all chars in the file. */ { if ( ch == '... | https://www.daniweb.com/programming/software-development/code/216572/counting-the-number-of-lines-in-file | CC-MAIN-2017-09 | refinedweb | 135 | 84.17 |
Alan G Isaac wrote:
On Thu, 25 May 2006, Robert Kern apparently wrote:
What continuity? This is floating-point arithmetic.
Sure, but a continuity argument suggests (in the absence of specific floating point reasons to doubt it) that a better approximation at one point will mean better approximations nearby. E.g.,
epsil... | https://mail.python.org/archives/list/numpy-discussion@python.org/message/ODKW5SXAGLPWDKDVPLHGMSI4L6PJKLAM/ | CC-MAIN-2022-27 | refinedweb | 299 | 69.38 |
16 July 2012 07:20 [Source: ICIS news]
By Heng Hui
?xml:namespace>
SINGAPORE
However, biodiesel makers in
Indonesian biodiesel makers can sell their PME at lower prices than Malaysian producers, since their feedstock cost is lower, said Malaysian PME converters.
In 2011, Indonesian PME refiners exported around 1.4m ton... | http://www.icis.com/Articles/2012/07/16/9578354/malaysia-pme-producers-seek-cpo-export-tax-change.html | CC-MAIN-2014-42 | refinedweb | 335 | 54.66 |
Update 8:47 PM: after looking at it with a logic analyzer, it appears the first byte of the read buffer is firing off immediately... is there no way to control the delay on the read buffer being exposed so quickly? Im running i2c at 100khz and I find it odd that I cant get in front of the byte.
Note, the CyDelay(1000)(... | https://community.cypress.com/thread/32827 | CC-MAIN-2019-04 | refinedweb | 341 | 62.58 |
Your Account
by Uche Ogbuji
The.
v).
time.
amara.saxtools.normalize_text_filter.
What real-world conditions would you like to see represented in respectable Python/XML benchmarks?
You're benchmarking subsecond operations by timing the entire Python process? Priceless.
You definitely want to use time.time() or something... | http://archive.oreilly.com/pub/post/the_python_comunity_has_too_ma.html | CC-MAIN-2017-47 | refinedweb | 3,184 | 63.29 |
How do I configure service discovery with AWS Cloud Map through the AWS CLI?
Last updated: 2020-06-24
How do I create a hosted zone using AWS Cloud Map through the AWS Command Line Interface (AWS CLI)?
Short description
AWS Cloud Map automates DNS configuration and simplifies the provision of instances for services suc... | https://aws.amazon.com/it/premiumsupport/knowledge-center/service-discovery-route53-auto-naming/ | CC-MAIN-2021-17 | refinedweb | 789 | 51.24 |
:)
>> What is even better yet is that you can port all of your Windows 8 applications into the phone in a few swift and easy steps.
You obviously have never tried this, there is very little compatibility between the two platforms, unfortunately
Hi ErikEJ, that's not true at all, let me explain to you.
Windows 8 and Wi... | http://blogs.msdn.com/b/msgulfcommunity/archive/2012/11/18/windows-phone-8-sdk-is-this-what-you-were-waiting-for.aspx?Redirected=true | CC-MAIN-2014-35 | refinedweb | 341 | 64.44 |
perlquestion LanX Hi<P><P> <H4> Introduction<P></H4><P> I'm doing a case study to simulate [ -Meta-Operators] in Perl5 and I'm stuck with a special when restricting myself to pure FP. <P><P> See for instance [ Cross operator X]<P><P> <c> <a b> X 1,2 X <x y> #produces ('a', 1, 'x'), ('a', 1, 'y'), ('a', 2, 'x'), ('a', 2... | http://www.perlmonks.org/?displaytype=xml;node_id=1056507 | CC-MAIN-2016-07 | refinedweb | 479 | 59.57 |
In the previous post Load Balancing Azure AD FS Services we looked at using Azure RM to deploy and load balance AD FS services. This is the follow-up post to deploy the Web Application Proxy (WAP) servers and its associated load balancer into the DMZ.
In this post we will focus upon the highlighted area in the below di... | https://blogs.technet.microsoft.com/rmilne/2017/02/10/load-balancing-wap-in-azure-rm/ | CC-MAIN-2019-04 | refinedweb | 1,259 | 68.91 |
What are some good exercises for an experienced programmer new to C++? I have found lists and suggestions on the web, but they are always simple or I have already completed them in other programming languages like C or Basic. Something that will help with learning modern C++ is best.
First tell me what do you know abou... | https://www.daniweb.com/programming/software-development/threads/299243/intermediate-c-exercises | CC-MAIN-2017-09 | refinedweb | 879 | 64.71 |
Flex 3 DataGrid Footers.
I've implemented the code you provided to show some total rows on my data grids. I ran into a couple of issues that were overcome by a couple small changes to the code as follows:
listContent.setActualSize(listContent.width, listContent.height - (footerHeight+15));
footer.setActualSize(listCont... | http://blogs.adobe.com/aharui/2008/03/flex_3_datagrid_footers.html | crawl-002 | refinedweb | 1,404 | 56.76 |
In this article we will learn how to install IBM Cloud Pak for Integration (CP4I) 2019.4 on Openshift Container Platform 4.2.
Prerequisites
Below are the prerequisites for installing IBM Cloud Pak for Integration 2019.4:
System Requirements (click link to open)
- Redhat Openshift Container Platform 4.2 on Linux® 64-bit... | https://developer.ibm.com/integration/blog/2020/02/20/deploying-ibm-cloud-pak-for-integration-2019-4-on-ocp-4-2/ | CC-MAIN-2020-40 | refinedweb | 2,053 | 55.95 |
Introduction to DataWeave
Introduction to DataWeave
DataWeave is a MuleSoft tool for transforming data. When you're first starting to use it, there's a lot to learn about, especially in terms of how the graphical UI interface works.
Join the DZone community and get the full member experience.Join For Free
Weaving is a ... | https://dzone.com/articles/introduction-to-dataweave?fromrel=true | CC-MAIN-2019-13 | refinedweb | 1,055 | 63.39 |
Week 2
Regression
For this week the lecture slides are available here.
YouTube Video
There is a YouTube video available of me giving this material at the Gaussian Process Road Show in Uganda.
You will need to watch this in HD to make the maths clearer.
Lab Class
Linear regression with numpy and Python.
The notebook for... | http://inverseprobability.com/mlai2013/week2.html | CC-MAIN-2017-43 | refinedweb | 180 | 79.06 |
Twice a month, we revisit some of our readers' favorite posts from throughout the history of Nettuts+. This tutorial was first published in January, 2010.
Give me an hour of your time, and I'll take you on a fly by of the Ruby on Rails framework. We'll create controllers, models, views, add admin logins, and deploy usi... | https://code.tutsplus.com/tutorials/zero-to-sixty-creating-and-deploying-a-rails-app-in-under-an-hour--net-8252 | CC-MAIN-2017-51 | refinedweb | 7,343 | 69.48 |
This page describes and provides access to a table which shows the relationships between steps in recon-all, and files that are read, created, written or deleted at each step.
The main innovation is that this info has been derived from an actual run of Freesurfer, not just from documentation which can so easily be out ... | http://surfer.nmr.mgh.harvard.edu/fswiki/ReconAllFilesVsSteps | CC-MAIN-2015-14 | refinedweb | 841 | 63.29 |
This code had been working for about 6 months:
EASession session = new EASession(accessory, "com.bluebamboo.p25i"); session.OutputStream.Delegate = this; session.OutputStream.Schedule(NSRunLoop.Current, NSRunLoop.NSDefaultRunLoopMode); session.OutputStream.Open(); session.InputStream.Delegate = this; session.InputStrea... | https://forums.xamarin.com/discussion/2551/easession-outputstream-hasspaceavailable-always-false | CC-MAIN-2019-35 | refinedweb | 1,377 | 58.18 |
This post will show you how to write your first C# program. Please make sure that you have installed Visual Studio on your machine. If you have not yet installed VS, download and install Visual Studio first.
Downloads | IDE, Code, & Team Foundation Server | Visual Studio
Download Visual Studio Community, Professional, ... | https://www.geekinsta.com/first-c-program/ | CC-MAIN-2021-31 | refinedweb | 244 | 68.57 |
Synopsis edit
-
- tailcall command ?arg...?
See Also edit
- Tail call optimization
- TIP#327
- wrapping commands
- wrap commands by using interp invokehidden together with tailcall
Description edittailcall interprets its arguments as a command and executes the command,replacing the execution frame of the command that i... | https://wiki.tcl.tk/14011 | CC-MAIN-2017-47 | refinedweb | 1,670 | 54.46 |
I am trying to find a way to power these off should I wish to conserve battery power.
First thing I did was stick a switch in between the LCD shield GND pin and the GND pin of the arduino.
However, when the switch is turned off, there is a bit of leakage current going such the the LCD screen remains dimly lit.
Next thi... | https://forum.arduino.cc/t/powering-off-adafruit_tftlcd/562117/12 | CC-MAIN-2021-39 | refinedweb | 181 | 58.52 |
Odoo Help
Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
override a fields.related
Hi all,
I have a problem trying to override a fields.related. It's originally defined in product module... | https://www.odoo.com/forum/help-1/question/override-a-fields-related-47475 | CC-MAIN-2017-17 | refinedweb | 1,014 | 53.61 |
The patches have been updated to address the issues pointed
out below (thanks Bojan).
New contents at the old links:
I had a question though (inline below)...
Bojan Smojver wrote:
> On Wed, 2007-11-14 at 20:02 -0500, Paul J. Reder wrote:
>
>> The APR portion of the patch:
>>
>>
>
> Just a few comments (without going in... | http://mail-archives.apache.org/mod_mbox/apr-dev/200711.mbox/%3C473CBF8B.3040903@remulak.net%3E | CC-MAIN-2018-34 | refinedweb | 305 | 66.98 |
# What's new in AngouriMath 1.2?
Hi. The last 7 months I have been working on the greatest release of [AngouriMath](https://github.com/asc-community/AngouriMath). There is something I want to tell you.
### Briefly about the project
In November of 2019 I realized that it would be nice to have a symbolic algebra libra... | https://habr.com/ru/post/545436/ | null | null | 1,425 | 58.38 |
-
Language Bindings for the C++ API: Python partially working
I've just uploaded some files onto They are minimal implementations (window with a button) for Perl and Python. The Perl one works fine, but I'm still having issues with the Python.
Here are some of the issues with Python:
Apparently by convention packages ... | https://www.haiku-os.org/blog/jalopeura/2011-06-24_language_bindings_c_api_python_partially_working | CC-MAIN-2017-04 | refinedweb | 1,323 | 72.76 |
Public please. >> Autotest, or via a spy in Autoconf, to real check what matters: shfn >> support, and not "shfn support amongst shells supporting LINENO". If, >> out of chance, there happens to be a shell that supports LINENO but >> not shfn, then we have to go through another full cycle, and this >> LONG... :( > What... | http://lists.gnu.org/archive/html/autoconf-patches/2003-11/msg00060.html | CC-MAIN-2014-15 | refinedweb | 407 | 73.78 |
Threading Tutorials & Articles
Deep C# - avoiding race conditionsby Mike James
Mike James explores the perils of multi-threading and explores ways of staying safe in a multi-core environment.
Automate web application UI testing with Seleniumby Sing Li
Testing web applications is a problem, but Sing Li thinks the soluti... | https://www.developerfusion.com/t/threading/tutorials/ | CC-MAIN-2019-04 | refinedweb | 460 | 55.13 |
Today we’ll start looking at a branch of math called Decision Theory. It uses the types of things in probability and statistics that we’ve been looking at to make rational decisions. In fact, in the social sciences when bias/rationality experiments are done, seeing how closely people make decisions to these optimal dec... | https://hilbertthm90.wordpress.com/2014/03/18/decision-theory-1/ | CC-MAIN-2017-26 | refinedweb | 1,001 | 73.17 |
In this Quick Tip we'll take a look at how to embed and display a 3D model in Flash, using Papervision3D.
Final Result Preview
Let's take a look at the final result we will be working towards:
Introduction
To use this tutorial you will need to have a 3D model, exported as a .dae file, and its texture, as an image file.... | https://code.tutsplus.com/tutorials/quick-tip-displaying-a-3d-model-with-papervision3d--active-7557 | CC-MAIN-2018-17 | refinedweb | 899 | 57.06 |
Quoting Marian Marinov (mm@1h.com):> -----BEGIN PGP SIGNED MESSAGE-----> Hash: SHA1> > On 06/03/2014 08:54 PM,.> > > > The permission check change would probably only need to be:> > > > > > @@ -2180,6 +2245,10 @@ static int do_new_mount(struct path *path, const char *fstype, int flags, return -ENODEV;> > > > if (user_n... | https://lkml.org/lkml/2014/6/23/1 | CC-MAIN-2020-16 | refinedweb | 352 | 68.2 |
We ship with FedEx delivery, tracable and insured.
Including an AIG gemological report. As you can see in the photos the diamond girdle (rondist) is not perfect but it van be covered when you set it on a piece of jewelry. cost includes an external customs broker agent to
import loose Diamonds to France.
Check our other... | https://www.catawiki.com/l/28557729-1-pcs-diamond-0-40-ct-round-fancy-yellow-green-si2-no-reserve-price | CC-MAIN-2020-40 | refinedweb | 112 | 65.83 |
I was trying to learn
yield
def test
puts "You are in the method"
yield
puts "You are again back to the method"
yield
end
test {puts "You are in the block"}
test {..}
You are in the method
You are in the block
You are again back to the method
You are in the block
When you wrote
test { puts "You are in the block"}, that... | https://codedump.io/share/xMDzU6JBkci4/1/what-makes-the-function-call | CC-MAIN-2018-22 | refinedweb | 121 | 85.02 |
Files:
The first step is to create the basic QML items in your application.
To begin with, we create our Same Game application with a main screen like this:
This is defined by the main application file, samegame.qml, which looks like this:
import Qt 4.
The Button item in the code above is defined in a separate componen... | https://doc.qt.io/archives/qt-4.7/declarative-tutorials-samegame-samegame1.html | CC-MAIN-2021-17 | refinedweb | 167 | 60.82 |
Portable readers/writer lock class.
More...
#include <Inventor/threads/SbThreadRWMutex.h>
This class provides read/write blocking. It is implemented using the pthreads API on UNIX/Linux and the Win32 API on Microsoft Windows.
A readers/writer lock works like this:
Any number of threads can hold a read lock on this obje... | https://developer.openinventor.com/refmans/latest/RefManCpp/class_sb_thread_r_w_mutex.html | CC-MAIN-2021-04 | refinedweb | 367 | 57.67 |
NAME
bb-services - Configuration of TCP network services
SYNOPSIS
$BBHOME/etc/bb-services
DESCRIPTION
bb-services contains definitions of how bbtest-net(1) should test a TCP-based network service (i.e. all common network services except HTTP and DNS). For each service, a simple dialogue can be defined to check that the... | http://manpages.ubuntu.com/manpages/maverick/en/man5/bb-services.5.html | CC-MAIN-2015-06 | refinedweb | 404 | 54.12 |
26 October 2010 23:16 [Source: ICIS news]
(adds paragraphs 1, 5-7)
HOUSTON (ICIS)--Air Products on Tuesday dismissed a call by the Airgas board of directors for Air Products to raise its $5.5bn (€4.0bn) bid for the ?xml:namespace>
Airgas said its board was willing to authorise talks on Air Products' unsolicited takeove... | http://www.icis.com/Articles/2010/10/26/9404759/air-products-balks-at-talk-of-raising-airgas-bid.html | CC-MAIN-2014-35 | refinedweb | 165 | 69.01 |
#include <threadsafety.h>
#include <util/macros.h>
#include <condition_variable>
#include <mutex>
#include <string>
#include <thread>
Go to the source code of this file.
Definition at line 233 of file sync.h.
Run code while locking a mutex.
Examples:
WITH_LOCK(cs, shared_val = shared_val + 1);
int val = WITH_LOCK(cs, r... | https://doxygen.bitcoincore.org/sync_8h.html | CC-MAIN-2021-04 | refinedweb | 130 | 60.45 |
rtcSetGeometryTimeRange.3embree3 - Man Page
NAME
rtcSetGeometryTimeRange - sets the time range for a motion blur geometry
SYNOPSIS
#include <embree3/rtcore.h> void rtcSetGeometryTimeRange( RTCGeometry geometry, float startTime, float endTime );
DESCRIPTION
The
rtcSetGeometryTimeRange function sets a time range which de... | https://www.mankier.com/3/rtcSetGeometryTimeRange.3embree3 | CC-MAIN-2022-33 | refinedweb | 269 | 50.97 |
This is the first in a series of patches to add a simple, generalized updater to MemorySSA.
For MemorySSA, every def is may-def, instead of the normal must-def.
(the best way to think of memoryssa is "everything is really one variable, with different versions of that variable at different points in the program).
This m... | https://reviews.llvm.org/D29046 | CC-MAIN-2021-21 | refinedweb | 805 | 64 |
Forum Index
The following code segfaults, when the outer hashmap rehashes,
and I am not yet sure why.
module tests.refcounted_hashmap_test;
import containers;
import std.typecons;
struct Map
{
HashMap!(int, int) theMap;
}
unittest
{
HashMap!(int, RefCounted!Map) mapOfMaps;
foreach (i; 0 .. 1000)
{
RefCounted!Map val;
i... | https://forum.dlang.org/thread/smcnthknxcxuqetpuspj@forum.dlang.org | CC-MAIN-2021-25 | refinedweb | 167 | 70.8 |
Independent The Taft
August 5 - 11, 2011
TAFT INDEPENDENT
FREEWeekly
Publisher@Taftindependent.com
August 5 - 11, 2011 • Volume 6 Issue 6
“Serving the West Kern County Communities of Taft, South Taft, Ford City, Maricopa, Fellows, McKittrick, Derby Acres, Dustin Acres, and the Cuyama Valley”
Meet Your Local Public Serv... | https://issuu.com/taftindependent/docs/taft_indy_8-5-11_all | CC-MAIN-2018-22 | refinedweb | 10,799 | 63.7 |
GameFromScratch.com
This tutorial is a quick guide on getting MonoGame up and running on Windows OS. The process is incredibly straight forward, with two options on how to proceed.
First you are going to need a development environment, of which two options are available. Xamarin’s Xamarin Studio or Microsoft’s Visual S... | http://www.gamefromscratch.com/post/2015/06/10/Getting-Started-with-MonoGame-on-Windows.aspx | CC-MAIN-2017-17 | refinedweb | 1,250 | 62.88 |
Introduction:
In this article I will explain how to create app in twitter and implement twitter login authentication for website in asp.net.
Description:
In previous post I explained article how to integrate facebook login authentication for website in asp.net. Now I will explain how to allow users to login with twitte... | http://www.aspdotnet-suresh.com/2012/05/add-twitter-login-authentication-to.html?showComment=1355720539097 | CC-MAIN-2013-20 | refinedweb | 1,159 | 58.99 |
This is one of the 100 recipes of the IPython Cookbook, the definitive guide to high-performance scientific computing and data science in Python.
Decisions trees are frequently used to represent workflows or algorithms. They also form a method for non-parametric supervised learning. A tree mapping observations to targe... | http://nbviewer.jupyter.org/github/ipython-books/cookbook-code/blob/master/notebooks/chapter08_ml/06_random_forest.ipynb | CC-MAIN-2018-13 | refinedweb | 314 | 52.76 |
I am trying to to pull bounding box and area data from segmented masks. For the mask shown below, instead of correcting proposing 5 bounding boxes, regionprops proposes 2394 bounding boxes. The image/mask is a binary numpy array with values of either 0 or 1. What can I do so that skimage.measure.regionprops proposes th... | https://forum.image.sc/t/regionprop-proposes-too-many-bounding-boxes/29898 | CC-MAIN-2020-40 | refinedweb | 404 | 68.97 |
from Sensor Gallery project: a custom TextLabel element that works on both platforms (note that some parts of the code are omitted):
import QtQuick 1.0
Rectangle {
property alias text: labelText.text
...
gradient: Gradient {
GradientStop { position: 0.0; color: "#555555" }
GradientStop { position: 1.0; color: "#222222... | http://developer.nokia.com/community/wiki/index.php?title=Porting_Symbian_Qt_Apps_to_Nokia_N9&oldid=113726 | CC-MAIN-2014-15 | refinedweb | 543 | 51.24 |
I'm trying to modify a homework problem. The first problem was to create an array and compare the user input to the array. Now we're supposed to compare the user input to data stored in a file by writing a method to open the file. I tried writing the method, but I'm terribly confused about calling it in main.
In the fi... | http://www.dreamincode.net/forums/topic/152151-open-file-method-to-validate-account-numbers/ | CC-MAIN-2017-09 | refinedweb | 282 | 52.26 |
The fseek() function is defined in <cstdio> header file.
fseek() prototype
int fseek(FILE* stream, long offset, int origin);
If the file is opened in binary mode, the new position of the file pointer is exactly offset bytes from the origin.
If the file is opened in text mode, the supported values for offset are:
- Zero... | https://www.programiz.com/cpp-programming/library-function/cstdio/fseek | CC-MAIN-2020-16 | refinedweb | 282 | 66.94 |
Xperf is a powerful (and free) Windows profiler that provides amazing insights into what is constraining the performance of Windows programs. Xperf includes a sampling profiler and a very capable viewer of the sampled call stacks (see below for UIforETW instructions).
Good news! As of summer 2016 WPA includes the abili... | https://randomascii.wordpress.com/2013/03/26/summarizing-xperf-cpu-usage-with-flame-graphs/ | CC-MAIN-2021-43 | refinedweb | 5,703 | 69.52 |
D.2.8 --.
Hey Alex!
What if I have two functions with same name, but 2 and 3 parameters with the third parameter having a default value, like this:
When I write foo(2, 4) which function is called? Is it legal, or is it another ambiguous situation?
If legal, then how do I write different statements to call the two func... | https://www.learncpp.com/cpp-tutorial/76-function-overloading/comment-page-1/ | CC-MAIN-2019-13 | refinedweb | 3,033 | 63.7 |
I am trying to tackle a (probably fundamentally easy :) problem.
How do I fetch data from one function in class1 to another in class2?
I have my declarations.h file in which I declare my stuff:
class Player { private: int PosY; int PosX; public: Player() { PosY = 8; PosX = 13; }; int GetCoords(int i); Player* player; }... | http://forum.codecall.net/topic/63156-sharing-data-between-classes/ | crawl-003 | refinedweb | 153 | 67.04 |
Results 1 to 4 of 4
Thread: Empty function script
- Join Date
- Mar 2012
- 14
- Thanks
- 1
- Thanked 0 Times in 0 Posts
Empty function script
(I did indeed read the rules of this forum and while I'm not a "seasoned" javascript coder I thought that this script was simple enough to not matter. If that is unacceptable I a... | http://www.codingforums.com/post-a-javascript/255186-empty-function-script.html?s=be1b48aa22ce50f5e0079eda54a9509b | CC-MAIN-2017-09 | refinedweb | 261 | 52.97 |
The Silverlight examples you've seen so far can be used in a basic, stand-alone website or in an ASP.NET web application. If you want to use them in an ASP.NET website, you simply need to add the Silverlight files to your website folder or web project. You copy the same files that you copy when deploying a Silverlight ... | http://www.drdobbs.com/web-development/silverlight-and-aspnet/206105457 | CC-MAIN-2014-35 | refinedweb | 1,045 | 57.37 |
Odoo Help
Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
Custom module Onchange function is not working in version 7 and not shows warning message
class hr_analytic_timesheet(osv.osv):
_... | https://www.odoo.com/forum/help-1/question/custom-module-onchange-function-is-not-working-in-version-7-and-not-shows-warning-message-71241 | CC-MAIN-2017-47 | refinedweb | 406 | 59.3 |
Today we're launching Nhost CDN to make Nhost Storage blazing fast™.
Nhost CDN can serve files up to 104x faster than before so you can deliver an amazing experience for your users.
To achieve this incredible speed, we're using a global network of edge computers on a tier 1 transit network with only solid-state drive (... | https://nhost.io/blog/launching-nhost-cdn-nhost-storage-is-now-blazing-fast | CC-MAIN-2022-33 | refinedweb | 1,983 | 68.4 |
Learning Elm syntax through TDD
I’ve been wanting to get a good grasp at Elm for quite some time now. Elm is a functional language that compiles to JavaScript. It gained a lot of attraction lately as functional (reactive) programming is increasingly used in front-end development. If you’re a JavaScript developer, I’m q... | https://medium.com/@npayot/learning-elm-syntax-through-tdd-89a523240fe1 | CC-MAIN-2018-34 | refinedweb | 2,487 | 72.97 |
Author: Don Porter <[email protected]> State: Draft Type: Project Tcl-Version: 9.0 Vote: Pending Created: 10-May-2019 Keywords: Tcl, traces Post-History:
Abstract
This TIP proposes the elimination of the TCL_INTERP_DESTROYED flag.
History
Variable traces arrived no later than release Tcl 5.0 (1991). Early on, no later ... | https://core.tcl-lang.org/tips/doc/trunk/tip/543.md | CC-MAIN-2019-35 | refinedweb | 471 | 57.06 |
16 February 2012 10:10 [Source: ICIS news]
SINGAPORE (ICIS)--?xml:namespace>
Earlier in January, the company said that it plans to restart the plant by the middle of this year as it will have enough feedstock to run the facility that had been idled since 2004.
Methanex has signed a 10-year deal with New Zealand-based T... | http://www.icis.com/Articles/2012/02/16/9532711/canadas-methanex-to-restart-second-new-zealand-plant-by-1.html | CC-MAIN-2014-15 | refinedweb | 108 | 68.3 |
scipy.optimize.newton¶
scipy.optimize.
newton(func, x0, fprime=None, args=(), tol=1.48e-08, maxiter=50, fprime2=None, x1=None, rtol=0.0, full_output=False, disp=True)[source]¶
Find a zero of a real or complex function using the Newton-Raphson (or secant or Halley also provided, then Halley’s method is used.
If x0 is a ... | https://docs.scipy.org/doc/scipy-1.2.0/reference/generated/scipy.optimize.newton.html | CC-MAIN-2022-21 | refinedweb | 472 | 67.86 |
Intent:
To cache data objects (be they value objects or entity beans) that are frequently read, yet represent mutable data (read-mostly). This problem is not so difficult when only one server (JVM) is in use, but is much more complicated when applied to a cluster of servers. The Active Clustered Expiry Cache can solve ... | http://www.theserverside.com/discussions/thread.tss?thread_id=10610 | CC-MAIN-2014-52 | refinedweb | 12,209 | 60.35 |
Source:NetHack 3.4.3/include/eshk.h
From NetHackWiki
Below is the full text to include/eshk.h from NetHack 3.4.3. To link to a particular line, write {{sourcecode|eshk.h|123}}, for example.
/* SCCS Id: @(#)eshk.h 3.4 1997/05/01 */
/* ESHK_H
#define ESHK_H
#define REPAIR_DELAY 5 /* minimum delay between shop damage & re... | https://nethackwiki.com/wiki/Eshk.h | CC-MAIN-2017-34 | refinedweb | 253 | 61.36 |
In this article I am going to show you how simple it is to deploy a WCF service on Windows Azure. When I did it for the first time, I had only about 45 minutes to deploy my first service. Remember it is completely free of any cost. I highly recommend to try it, if you haven’t before. It will give you some basic underst... | http://www.claudiobernasconi.ch/2013/08/03/deploying-a-wcf-service-on-windows-azure/ | CC-MAIN-2017-30 | refinedweb | 1,192 | 64.1 |
Odoo Help
Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
how to read fealds in new API
Learning Python and trying to understand the new odoo API has been a challenge to me.
how to I conv... | https://www.odoo.com/forum/help-1/question/how-to-read-fealds-in-new-api-89600 | CC-MAIN-2017-34 | refinedweb | 247 | 66.74 |
When attaching a USB hub (anything from a generic DLink to a keyboard
with integrated hub) while a userspace libusb query is going on, the
kernel panics (trap 12, fault virtual address = 0xdeadc0e6) at
usbd_device_fillinfo:1350; p->device is 0xdeadc0de.
I have experimented several times, I think the cause is during hub... | https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=114310 | CC-MAIN-2020-10 | refinedweb | 495 | 61.26 |
Get involved in the development
74 Comments
Dean Thompson
I am eagerly waiting for this plug-in to get to the point where I feel confident doing production development with it. Last time I tried a version of the plug-in, it kept my Java code from compiling, and I had to back out. That was a couple of months ago, but n... | https://confluence.jetbrains.com/display/SCA/Scala+Plugin+for+IntelliJ+IDEA?focusedCommentId=69338408 | CC-MAIN-2019-47 | refinedweb | 2,848 | 66.64 |
A Mongoose OS app is a firmware that does something specific. It could be built and flashed on a microcontroller. For example, a blynk app is a firmware that makes a device controllable by the Blynk mobile app.
Another example is.
An app can use any number of libs. A lib is a reusable library. It
cannot be built direct... | https://mongoose-os.com/docs/mongoose-os/userguide/build.md | CC-MAIN-2022-05 | refinedweb | 1,467 | 67.35 |
I'm suppose to create a 10X10 board, using a 2-dimensional array with 35 random blocked squares ('b') implemented. The goal of the program is, by using recursion, I'm suppose to try to find a path from the bottom left square of the board ([9][0]) to any of the squares at the top of the board ([0][0-9]) leaving a trail ... | http://www.javaprogrammingforums.com/%20whats-wrong-my-code/32785-problem-my-2-dimensional-array-board-game-printingthethread.html | CC-MAIN-2017-26 | refinedweb | 896 | 51.31 |
Eclipse Community Forums - RDF feed Eclipse Community Forums scoping: both uri and classpath based <![CDATA[Hi! My language needs to use both an uri and a classpath based global scopes. What I am trying is an own implementation of a global scope provider that delegates work to an ImportURI* and a Default* global scope ... | http://www.eclipse.org/forums/feed.php?mode=m&th=393651&basic=1 | CC-MAIN-2015-22 | refinedweb | 199 | 73.07 |
A
do-while loop in C++ is similar to the
while loop. Just as in a
while loop, a
do-while loop also has a condition which determines when the loop will break.
The only difference between a
do-while and a
while loop is that in the former the condition is evaluated once the code in the loop body has executed and in the la... | https://www.educative.io/answers/how-does-a-do-while-loop-work-in-cpp | CC-MAIN-2022-33 | refinedweb | 162 | 66.17 |
Can't add local project references between class libraries in .net core 1.1I am having 3 projects(.net core 1.1) in my solution.
Project Solution
--> Console application (.net core 1.1)
--> Class library 1(.net core 1.1)
--> Class library 2 (.net core 1.1)
"console application" have 2 project reference [I can add both ... | http://www.dotnetspider.com/forum/345948-Cant-add-local-project-references-between-class-libraries-in-net-core-11.aspx | CC-MAIN-2017-47 | refinedweb | 159 | 70.7 |
I encounter a startup issue on Aerospike CE 3.9.1. I have a four nodes cluster, and use SSD to store data (no data in memory) , I use less then 70% of disk, and 70% memory, but the “available” (contig-free) only have 10%, so I plan to add some store files to aerospike and cold restart the cluster, also expecting the de... | https://discuss.aerospike.com/t/defrag-endless-loop-and-hwm-breath-issue-when-cold-restart/4277 | CC-MAIN-2018-30 | refinedweb | 157 | 63.02 |
In my article Extending the Journal Entry Voucher Upload (Excel), I wrote about Custom Codes (Fine Tuning Activity Account Assignment Types).
Account Assignments do allow additional reporting capabilities, but they are coming with the limitation that they are not available in periodic runs (GR/IR run, WIP clearing, rev... | https://blogs.sap.com/2016/01/19/account-assignment-types-use-in-fixed-assets-pdi/ | CC-MAIN-2018-05 | refinedweb | 241 | 51.38 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.