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 |
|---|---|---|---|---|---|
In our book we provide examples of how to convert IPv4 addresses to integer format (and back). We held ourselves to using only basic R functionality since the book had to be at an introductory level. On a fairly modern box, the
ip2long function takes (roughly)
0.1s to convert 4,000 IPv4 address to integers (I just happ... | http://www.r-bloggers.com/speeding-up-ipv4-address-conversion-in-r/ | CC-MAIN-2015-22 | refinedweb | 651 | 59.74 |
Hi,
I've been trying to use MeCab from RubyCocoa application on Snow Leopard. I installed the latest MeCab-Ruby (0.98) and I can use it from Ruby scripts, but not from RubyCocoa application. The same application runs fine on Leopard.
A simple script (sample on MeCab site) like the following ends up crashing the applica... | http://sourceforge.net/p/rubycocoa/bugs/59/ | CC-MAIN-2015-48 | refinedweb | 398 | 59.8 |
25 April 2012 04:48 [Source: ICIS news]
SINGAPORE (ICIS)--?xml:namespace>
Its sales revenue in 2011 was at CNY9.32bn, up by 21% year on year, the company said in a statement to the Shenzhen Stock Exchange.
The company’s sales revenue and net profit in the first quarter of 2012 were at CNY2.90bn and CNY90.8m, up by 20% ... | http://www.icis.com/Articles/2012/04/25/9553332/chinas-luxi-chemical-2011-profit-doubles-on-strong-sales.html | CC-MAIN-2014-42 | refinedweb | 118 | 76.11 |
red()
Contents
red()#
Extracts the red value from a color, scaled to match current color_mode().
Examples#
def setup(): c = "#FFCC00" # define color 'c' py5.fill(c) # use color variable 'c' as fill color py5.rect(15, 20, 35, 60) # draw left rectangle red_value = py5.red(c) # get red in 'c' py5.println(red_value) # prin... | https://py5.ixora.io/reference/sketch_red.html | CC-MAIN-2022-40 | refinedweb | 182 | 65.93 |
hi, I need to display the temperature given by a DHT11, through an Arduino Mega, in a widgest gauge with a decimal number and symbol degrees celsius. example: 20.6 °. can someone help me??? and if you can have a reference code. thanks
Dht11+arduino mega+gauge
Try searching this forum for the keyword DHT11
Basically, ge... | https://community.blynk.cc/t/dht11-arduino-mega-gauge/10824 | CC-MAIN-2019-39 | refinedweb | 774 | 66.94 |
Results 1 to 8 of 8
I have read a few short discussions on implemented memory mapping in a driver but I am still puzzled. What I want to do is have a piece of memory ...
- Join Date
- Apr 2005
- 6
Driver MMAP support for direct access from User space
Is this a correct understanding, I allocate memory in the module that... | http://www.linuxforums.org/forum/kernel/40876-driver-mmap-support-direct-access-user-space.html | CC-MAIN-2014-41 | refinedweb | 530 | 58.82 |
.
DATATYPE { OFF | ON | IN | OUT }
OFF This is the default behavior when the DATATYPE option is not used. For DNET output format, SQL Anywhere data types are translated to and from XML Schema string types. For CONCRETE and XML formats, no data type information is emitted.
ON Data type information is emitted for both in... | http://dcx.sap.com/1101/fr/dbprogramming_fr11/datatypes-http.html | CC-MAIN-2018-43 | refinedweb | 417 | 52.49 |
Sentinel - Wait this account still exists?
SentinelGaming - Just a plugin developer
To access functions without public static (I don't use this method myself because I am way too deep in now to turn back) is as displayed below:...
SentinelGaming - Kinda-Retired Kinda-Not Spigot Plugin Developer whose avatar is too larg... | https://dl.bukkit.org/members/mcjoshua345.90995769/recent-content | CC-MAIN-2020-05 | refinedweb | 246 | 70.09 |
#include "petscmat.h" #include "petscvec.h" PetscErrorCode MatGetVecsFFTW(Mat A,Vec *x,Vec *y,Vec *z)Collective on Mat
Note: The parallel layout of output of forward FFTW is always same as the input of the backward FFTW. But parallel layout of the input vector of forward FFTW might not be same as the output of backward... | http://www.mcs.anl.gov/petsc/petsc-dev/docs/manualpages/Mat/MatGetVecsFFTW.html | crawl-003 | refinedweb | 216 | 64.51 |
Blog::Spam::Plugin::Sample - A sample plugin.
This is a sample plugin which is designed to demonstrate the functionality which a plugin may implement to be usefully called by Blog::Spam::Server.
As this is an example plugin it does nothing useful.
The Blog::Spam::Server receives comment data, via XML::RPC, from remote ... | http://search.cpan.org/dist/Blog-Spam/lib/Blog/Spam/Plugin/Sample.pm | crawl-003 | refinedweb | 701 | 63.49 |
Hey,
What I need to do is read a file- it will have a name and several numbers after, with -1 as a sentinel number to signal the end of line, ex:
Rogers 15 22 6 12 -1
Myers 23 10 4 22 34 -1
...
....
.....
What I want to do is take the numbers, except -1, read them, and display an average of each name's numbers, alone w... | http://www.javaprogrammingforums.com/java-theory-questions/5762-reading-file.html | CC-MAIN-2013-48 | refinedweb | 166 | 69.62 |
Vectorization in R: Why?
Here are my notes from a recent talk I gave on vectorization at a Davis R Users’ Group meeting. Thanks to Vince Buffalo, John Myles White, and Hadley Wickham for their input as I was preparing this. Feedback welcome!
Beginning R users are often told to “vectorize” their code. Here, I try to exp... | https://d-rug.github.io/blog/2014/vectorization-in-r-why | CC-MAIN-2021-21 | refinedweb | 2,085 | 69.01 |
This module will export the two functions named below into the namespace of the package using it. These two functions are useful to do typical checks at the start of functions that are supposed to be either class or instance methods. Always remember ...ROBINS/Method-Assert-0.0.1 - 31 Jul 2010 09:38:09
* Swat is a power... | https://metacpan.org/search?q=Method-Assert | CC-MAIN-2016-18 | refinedweb | 491 | 59.33 |
Docs |
Forums |
Lists |
Bugs |
Planet |
Store |
GMN |
Get Gentoo!
Not eligible to see or edit group visibility for this bug.
View Bug Activity
|
Format For Printing
|
XML
|
Clone This Bug
Basically what the summary says. Some packages have several AC_PRERQ macro
calls in aclocal.m4 where the first only requires 2.1 but... | http://bugs.gentoo.org/41389 | crawl-002 | refinedweb | 680 | 55.1 |
Funny thing about C parameter evaluation order...
I just explained this to a friend today, and thought this might make an interesting blog posting:
#include <stdio.h>
int main( int argc, const char * argv[] ) { char theText[2] = { 'A', 'B' }; char* myString = theText; printf( "%c, %c\n", *(++myString), *myString );
ret... | http://orangejuiceliberationfront.com/funny-thing-about-c-parameter-evaluation-order/ | CC-MAIN-2018-34 | refinedweb | 568 | 59.43 |
Abstract
Contents
- Abstract
- Rationale
- Proposal
- Backwards compatibility
- Implementation
- Rejected Ideas
- Acknowledgements
- References
This PEP proposes a protocol for classes which represent a file system path to be able to provide a str or bytes representation. Changes to Python's standard library are also p... | http://docs.activestate.com/activepython/2.7/peps/pep-0519.html | CC-MAIN-2018-09 | refinedweb | 2,861 | 54.83 |
ecvt, fcvt − convert a floating-point number to a
string.
#include <stdlib.h>
char *ecvt(double number, int
ndigits, int *decpt, int
*sign);
char *fcvt(double number, int
ndigits, int *decpt, int
*sign);
The ecvt() function converts number to a
null-terminated string of ndigits digits (where
ndigits is reduced to. If n... | https://alvinalexander.com/unix/man/man3/fcvt.3.shtml | CC-MAIN-2019-09 | refinedweb | 153 | 66.54 |
Important: Please read the Qt Code of Conduct -
Insert new rows into database using QSqlTableModel
I am using QSqlTableModel with manual submit. Consider a situation where 4 new rows are inserted into this model using inserRows, and user add data into the 2 rows of newly created. Then on manual submit, it returns with ... | https://forum.qt.io/topic/18097/insert-new-rows-into-database-using-qsqltablemodel/5 | CC-MAIN-2022-05 | refinedweb | 747 | 51.65 |
I'm having trouble figuring out how to get the testing framework set up and usable in Visual Studio 2008 for C++ presumably with the built-in unit testing suite.
Any links or tutorials would be appreciated.
I'm having trouble figuring out how to get the testing framework set up and usable in Visual Studio 2008 for C++ ... | http://ansaurus.com/question/3150-how-to-set-up-unit-testing-for-visual-studio-c | CC-MAIN-2018-22 | refinedweb | 1,050 | 64 |
Created on 2007-10-27 22:33 by neuralsensor, last changed 2008-08-24 05:27 by igorcamp.
I get the response shown below when trying to use OpenGL. I have Python
2.5, PIL-1.1.6, and PyOpenGL 3.0 installed.
Any help would be greatly appreciated.
Thanks,
Dale
>>> from OpenGL.GLUT import *
Traceback (most recent call last):... | http://bugs.python.org/issue1346 | crawl-002 | refinedweb | 159 | 82.31 |
27 February 2008 18:47 [Source: ICIS news]
ORLANDO, Florida (ICIS news)--Biofuels producer Abengoa Bioenergy said on Wednesday it is still seeking financing for a hybrid plant that would include one of the first commercial streams of cellulosic ethanol.
Abengoa has fully staffed its project office and lined up contract... | http://www.icis.com/Articles/2008/02/27/9104277/abengoa-seeks-finance-for-us-cellulosic-ethanol.html | CC-MAIN-2014-52 | refinedweb | 173 | 52.73 |
slogf()
Send a message to the system logger
Synopsis:
#include <stdio.h> #include <sys/slog.h> int slogf( int opcode, int severity, const char * fmt, ... );
Since:
BlackBerry 10.0.0
Arguments:
- opcode
- A combination of a major and minor code. Create the opcode using the _SLOG_SETCODE( major , minor ) macro that's def... | http://developer.blackberry.com/native/reference/core/com.qnx.doc.neutrino.lib_ref/topic/s/slogf.html | CC-MAIN-2015-18 | refinedweb | 185 | 61.93 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" ""> <!-- $Id: changes.html,v 1.107 2007/02/06 15:32:43 murch Exp $ --> <html xmlns=""> <head> <meta name="generator" content="HTML Tidy, see" /> <title>Changes to the Cyrus IMAP Server</title> </head> <body> <h1>Changes to the Cyrus IMAP Server since 2.3.7<... | http://opensource.apple.com/source/CyrusIMAP/CyrusIMAP-188/cyrus_imap/doc/changes.html | CC-MAIN-2015-48 | refinedweb | 12,688 | 50.84 |
Hello everyone,
I would like to convert data from csv files into several stacks.I have a batch of input files, say a number of Z csv files, one for each slice. Each file has 3 columns and n lines:
Z
n
double_01, double_02, double_03
double_11, double_12, double_13
...
double_n1, double_n2, double_n3
My task is to produ... | http://forum.imagej.net/t/convert-csv-to-tif-best-practice/4211 | CC-MAIN-2017-26 | refinedweb | 955 | 69.07 |
Java Clients for Elasticsearch
UPDATE: This article refers to our hosted Elasticsearch offering by an older name, Found. Please note that Found is now known as Elastic Cloud.
One of the important aspects of Elasticsearch is that it is programming language independent. All of the APIs for indexing, searching and monitor... | https://www.elastic.co/de/blog/found-java-clients-for-elasticsearch | CC-MAIN-2016-50 | refinedweb | 1,896 | 54.52 |
Recently, I have been learning about (generalized) additive models by working through Simon Wood’s book. I have previously posted an IPython notebook implementing the models from Chapter 3 of the book. In this post, I will show how to fit a simple additive model in Python in a bit more detail.
We will use a LIDAR datas... | http://austinrochford.com/posts/2015-08-29-additive.html | CC-MAIN-2017-13 | refinedweb | 1,528 | 50.73 |
Determines whether or not the specified object identifier (OID) identifies a control that is present in a list of controls.
#include "slapi-plugin.h" int slapi_control_present( LDAPControl **controls, char const *oid, struct berval **val, int *iscritical );
This function takes the following parameters:
List of controls... | http://docs.oracle.com/cd/E19528-01/820-2492/aaiex/index.html | CC-MAIN-2016-36 | refinedweb | 226 | 60.95 |
edit Welcome to Uncyclopedia
Spike is a grumpy old dog. You can stroke his fur, or you can be smitten by his stick. It is up to you.
Hello, Frank Fancinostril,:Frank Fancinostril 11:13 17-Aug-14
edit ¬ 21:43 19-Aug-14
edit )
edit ¬ 18:47 23-Aug-14
edit ¬ 03:07 24-Aug-14
- I don't know how to link to that TIE Figh... | http://uncyclopedia.wikia.com/wiki/User_talk:Frank_Fancinostril?curid=719982&diff=0&oldid=5819790 | CC-MAIN-2014-52 | refinedweb | 972 | 77.37 |
Code smells and their refactorings can be very daunting and intimidating to newbies. So in this series, I’ve tried to make them easy to understand, both for slightly experienced Ruby developers and starters alike.
This final article mentions a few more smells you should look out for and sums up what this small series w... | http://esolution-inc.com/blog/rubyrails-code-smell-basics-04--cms-25454.html | CC-MAIN-2019-18 | refinedweb | 1,590 | 71.24 |
Currently,, let's remove them from
app.component.scss.
1.2. Template
Update
app.component.html file with the following template:
<div class="container"> <div class="row mt-3"> <div class="col-md-9"> <div * <app-event [value]="event"></app-event> </div> <div class="text-center"> <a type="button" mdbBtn <h3 class="text-u... | https://girishgodage.in/blog/emit-and-handle-events | CC-MAIN-2022-40 | refinedweb | 921 | 55.24 |
Products.CMFTestCase 0.9.12
Integration testing framework for CMF.
Introduction
CMFTestCase is a thin layer on top of the ZopeTestCase package. It has been developed to simplify testing of CMF-based applications and products.
The CMFTestCase package provides
The function installProduct to install a Zope product into th... | https://pypi.python.org/pypi/Products.CMFTestCase/0.9.12 | CC-MAIN-2014-15 | refinedweb | 953 | 53.58 |
Timeline …
08/25/05:
- 20:55 Ticket #4659 (UPDATE: sisc-1.11.3) closed by
- fixed: Update committed, thanks. Note, to make things easier, try to attach the …
- 20:54 Changeset [13724] by
- Port: sisc Version: 1.11.3 Bug: 4659 Submitted-by: maintainer Update …
- 20:49 Ticket #3814 (zope 2.7.3 doesn't start) closed by
- ... | https://trac.macports.org/timeline?from=2005-08-27T01%3A51%3A11-0700&precision=second | CC-MAIN-2015-48 | refinedweb | 2,527 | 64.2 |
# Command Line Interface
The following is a comprehensive reference of the Redwood CLI. You can get a glimpse of all the commands by scrolling the aside to the right.
The Redwood CLI has two entry-point commands:
- redwood (alias
rw), which is for developing an application, and
- redwood-tools (alias
rwt), which is for... | https://redwoodjs.com/docs/cli-commands.html | CC-MAIN-2021-17 | refinedweb | 4,706 | 50.33 |
Hello all, I'm just beginning with programming. Started with a bit of PASCAL and now just browsing thru C,C++ and Java. Basically, I'm comparing them through code. I have this piece of code in PASCAL:
-------------------------------------------
----------------------------------------------------------------------Code:... | http://cboard.cprogramming.com/cplusplus-programming/54506-comparing-pascal-c-cplusplus-java-thru-code.html | CC-MAIN-2014-52 | refinedweb | 247 | 75.2 |
/21/10 1:49 PM, John Peterson wrote:
> On Mon, Jun 21, 2010 at 11:35 AM, Roy Stogner<roystgnr@...> wrote:
>> I'd been kind of hoping that we'd be able to get away with the same in
>> library code (in our .C files, albeit not our .h files), but I guess
>> if even PETSc might have new encroaching identifiers then we've g... | https://sourceforge.net/p/libmesh/mailman/message/25578277/ | CC-MAIN-2017-17 | refinedweb | 162 | 75 |
TDD with Selenium and Castle
- |
-
-
-
-
-
-
-
Read later
My Reading List
IntroductionTest Driven Development samples are mostly based on very simple unit tests. The challenge is often how to use TDD in a larger application. It will be demonstrated in this tutorial how to build a web application using test first princi... | http://www.infoq.com/articles/Tutorial-TDD-Selenium/ | CC-MAIN-2016-18 | refinedweb | 1,332 | 58.52 |
FORMS(3) Library Functions Manual FORMS(3)
NAME
dup_field, free_field, link_field, new_field -- form library
LIBRARY
Curses Form Library (libform, -lform)
SYNOPSIS
#include <<form.h>>
FIELD *
dup_field(FIELD *field, int frow, int fcol);
int
free_field(FIELD *field);
FIELD *
link_field(FIELD *field, int frow, int fcol);... | http://modman.unixdev.net/?sektion=3&page=new_field&manpath=NetBSD-6.1.5 | CC-MAIN-2017-17 | refinedweb | 245 | 54.83 |
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 | refinedweb | 358 | 68.7 |
Important: Jekyll loads the sidebar data when it starts. When running Jekyll
locally if you make changes to the sidebars, you must completely stop and restart Jekyll to
pick up the changes (i.e. Jekyll won’t pick up the changes incrementally if you use the
-i flag). In some cases, you may need to do
jekyll clean before... | https://loopback.io/doc/en/contrib/sidebar_navigation.html | CC-MAIN-2018-39 | refinedweb | 579 | 51.85 |
Library for building powerful interactive command lines in Python
Project description
prompt_toolkit is a library for building powerful interactive command lines in Python.
Looking for ptpython, the Python REPL?
Are you looking for ptpython, the interactive Python Shell? We moved the ptpython source code to a separate ... | https://pypi.org/project/prompt_toolkit/0.51/ | CC-MAIN-2018-34 | refinedweb | 299 | 60.61 |
I really need help on my latest C++ assignment. The program was due a week ago and I'm still beating my head against a wall here. This is supposed to be a VERY SIMPLE linked list implementation. I have rewritten this dang thing countless times in as many different configurations as I can think of but I just can't get i... | https://www.daniweb.com/programming/software-development/threads/363981/please-help-with-c-linked-list | CC-MAIN-2018-05 | refinedweb | 504 | 69.11 |
While there are tons of libraries that make it easy to add a data table to a Vue app, Kendo UI for Vue makes it a lot easier to render data and style. Read along as we build a real-time editable data table with Kendo UI for Vue and Hamoni Sync.
Building responsive Vue apps just got better and faster with Kendo UI for V... | https://morioh.com/p/024c0acd35b0 | CC-MAIN-2020-05 | refinedweb | 2,101 | 58.08 |
USB Rubber Ducky Toolkit
Project description
Duck
Library
The toolkit can also be imported as a library.
from ducktoolkit import encoder duck_text = 'STRING Hello' language = 'gb' duck_bin = encoder.encode_script(duck_text, language)
Limitations
The encoder can only deal with certain Command keys and key combinations. ... | https://pypi.org/project/ducktoolkit/ | CC-MAIN-2020-24 | refinedweb | 130 | 60.82 |
"To Socrateaser"
Thank You for your prompt response. I am not sure that I fully understand the answer, though.
Situation:
Employer - located & registered in Pennyslvania, but clients may be located outside of Pennsylvania
Employee - located in Maine & working from a home office
Work Performed - Work by employee will be... | http://www.justanswer.com/tax/79b88-limited-liability-company-sole-member-pennsylvania.html | CC-MAIN-2015-27 | refinedweb | 428 | 55.98 |
Those few CSS rules will immediately make our pages look a bit smarter, but I also want to add some very basic breadcrumbs so users can navigate back to the home page more easily.
There are several different ways of doing this, not least using the marvellous React-Breadcrumbs component. But for the sake of simplicity –... | http://www.hackingwithreact.com/read/1/30/adding-react-router-breadcrumbs-with-link-and-indexlink | CC-MAIN-2017-22 | refinedweb | 698 | 62.98 |
.
from __future__ import absolute_import, division, print_function import tensorflow as tf from tensorflow import keras import numpy as np print(tf.__version__)
1.13.0-rc2
Download to your machine (or uses a cached copy if you've already downloaded it):
imdb = keras.datasets.imdb (train_data, train_labels), (test_data,... | https://www.tensorflow.org/tutorials/keras/basic_text_classification?hl=fi | CC-MAIN-2019-22 | refinedweb | 1,148 | 83.83 |
One of the things you often see in legacy systems is repetitive little blocks of code. Take this example from Suteki Shop, here we’re inserting some static data into the database to setup the initial set of roles:
static void InsertRoles1(ISession session) { var admin = new Role { Id = 1, Name = "Administrator" }; sess... | http://mikehadlow.blogspot.com/2010/09/adventures-in-repetitive-code.html | CC-MAIN-2016-44 | refinedweb | 1,057 | 65.73 |
This lab will cover how to set-up and use Apache Spark and Jupyter notebooks on Cloud Dataproc.
Jupyter notebooks are widely used for exploratory data analysis and building machine learning models as they allow you to interactively run your code and immediately see your results.
However setting up and using Apache Spar... | https://codelabs.developers.google.com/codelabs/spark-jupyter-dataproc | CC-MAIN-2020-50 | refinedweb | 2,003 | 55.44 |
Integrating detekt in the Workflow
Learn how to integrate the powerful detekt tool in Android app development to help detect and prevent code smells during the development process.
Version
- Kotlin 1.4, Android 4.2, Android Studio 4.2
There are several ways to keep your technical debt low throughout the development pro... | https://www.raywenderlich.com/24470020-integrating-detekt-in-the-workflow | CC-MAIN-2022-33 | refinedweb | 4,137 | 59.8 |
What exactly is ProcessInstance ?Aaron Jan 26, 2006 11:42 PM
All,
I'm trying to comprehend the methods used in JBpm. I'm building a helpdesk for my company using JBoss, and JBpm will really help me out.
My confusion is in the ProcessDefinition and ProcessInstance. In the tutorial for JBpm3.0 (Chapter 3.2 Database Examp... | https://developer.jboss.org/thread/113037 | CC-MAIN-2016-44 | refinedweb | 1,116 | 58.89 |
Remove a shared memory object
#include <sys/mman.h> int shm_unlink( const char * name );
libc
Use the -l c option to qcc to link against this library. This library is usually included automatically.
The shm_unlink() function removes the name of the shared memory object specified by name. After removing the name, you ca... | http://www.qnx.com/developers/docs/6.5.0SP1.update/com.qnx.doc.neutrino_lib_ref/s/shm_unlink.html | CC-MAIN-2019-47 | refinedweb | 127 | 57.98 |
03-30-2016 09:57 AM
I would like to create a new IP address on an interface with xml api. I tried different requests but no one worked.
I tried to use config set wiht the xpath which ended to
[@name='interface']/ip and after &element=<ip><entry name="x.x.x.x/x"/></ip> and similar settings but the response is always '40... | https://live.paloaltonetworks.com/t5/automation-api-discussions/create-a-new-ip-address-on-a-specific-interface/m-p/75547 | CC-MAIN-2022-40 | refinedweb | 396 | 58.28 |
In this section, you'll create a standard synchronous Web Service consumer. You'll also investigate how the proxy class makes it look like you're working with a local object and its methods when you make method calls in the Web Service.
For this example, you'll modify the InventoryService Web Service you created in the... | https://flylib.com/books/en/3.93.1.194/1/ | CC-MAIN-2019-43 | refinedweb | 1,433 | 64 |
Two Sum problem in Java
Hi coders! In this tutorial, we are going to solve a problem that is related to a very common data structure known as the Array. To solve the two sum problem in Java, we will use HashMap.
The problem is like, we have given an array of integers and we have to return the indices of the two numbers... | https://www.codespeedy.com/two-sum-problem-in-java/ | CC-MAIN-2021-17 | refinedweb | 383 | 71.55 |
Link Copied
Both C++ and Fortran support Thread Private data area. The Thread Private area isn't large but it is more than adequate to hold a pointer to your large array or a pointer to a structure that contains a large array(s) or pointer(s) to large arrays.
An alternate method is to pass a pointer toa thread private ... | https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Dynamically-allocated-private-variables-possible/td-p/912321 | CC-MAIN-2021-31 | refinedweb | 1,647 | 50.46 |
shared pool environment for compile-time evaluation
There are several places you can put expressions that are evaluated during compilation:
- class tag arguments (e.g.
<import: SomeVar>)
- class var initializers (e.g.
MyClassVar := SomeVar)
- compile-time evals in methods, and in any of the above (e.g.
##(SomeVar)or
My... | http://smalltalk.gnu.org/node/211 | crawl-002 | refinedweb | 216 | 52.49 |
Hi Michel -- sorry I've been so slow to look at FEComponent.
I noticed you added in Action. That's something that was built into
FormEncode before, but got lost in the shuffle when form generatino (and
Submit) went away. I think it's probably correct to put it in at this
level instead of directly in FormEncode. It migh... | http://sourceforge.net/p/webware/mailman/message/14167106/ | CC-MAIN-2015-35 | refinedweb | 252 | 67.96 |
I'm new to Blender / Python. I use version 2.64 to view a 3Dmodel generated, for now, by other software (Wavefront .obj format), so I have to switch over and over between generator and viewer. To speed this, I have this script in the Blender text editor:
import bpy
bpy.ops.import_scene.obj( filepath = "c:\models\model1... | http://www.blender.org/forum/viewtopic.php?t=25436 | CC-MAIN-2015-32 | refinedweb | 120 | 68.06 |
Re: How to populate a treeview from a dataset
- From: bob <startatbob_clegg@xxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 18 Oct 2007 14:04:29 +1300
Hi,
Haven't got time to go any deeper with this at present.
I would prefer to stay with Nicholas's logic, it is compact and
maintanable.
First point is that it is not the self refer... | http://www.tech-archive.net/Archive/DotNet/microsoft.public.dotnet.languages.csharp/2007-10/msg02459.html | crawl-002 | refinedweb | 2,270 | 77.13 |
agree with him if we are using .NET Framework 4.0 or higher version for earlier version still JavaScriptSerializer is good. link.
How to convert C# object into JSON string with JSON.NET framework:
For this I am going to use old application that I have used in previous post. Following is a employee class with two prope... | https://dzone.com/articles/how-convert-c-object-json | CC-MAIN-2017-13 | refinedweb | 192 | 53.37 |
[ To any NSA and FBI agents reading my email: please consider [ whether defending the US Constitution against all enemies, [ foreign or domestic, requires you to follow Snowden's example. Ok. But all my namespace proposal is, is basically this, with automatic 'load-read-alias'. The virtue of my proposal is that it does... | https://lists.gnu.org/archive/html/emacs-devel/2013-07/msg00840.html | CC-MAIN-2021-10 | refinedweb | 131 | 62.38 |
Spark Shell For Interactive Analysis
With the Spark shell, we can easily learn on how to use the API, and a powerful tool for an interactive analysis of data will be provided. The shell for Spark is available in Python or Scala. Note that Scala runs on the Java Virtual Machine (JVM).
Start the shell by navigating to th... | https://mindmajix.com/spark/interactive-analysis-with-the-apache-spark-shell | CC-MAIN-2019-13 | refinedweb | 1,434 | 66.23 |
New submission from Case Van Horsen <casevh at gmail.com>: I've ported the GMPY module to Python 3 and found a problem comparing Fraction to gmpy.mpq. mpq is the rational type in gmpy and knows how to convert a Fraction into an mpq. All operations appear to work properly except "Fraction == mpq". "mpq == Fraction" does... | https://mail.python.org/pipermail/new-bugs-announce/2009-July/005314.html | CC-MAIN-2016-36 | refinedweb | 290 | 61.53 |
The easiest way to get your custom application metrics into Datadog is to send them to DogStatsD, a metrics aggregation service bundled with the Datadog Agent. DogStatsD implements the StatsD protocol and adds a few Datadog-specific extensions:
Note: DogStatsD does NOT implement the following from StatsD:
Note: Any Sta... | https://docs.datadoghq.com/developers/dogstatsd/ | CC-MAIN-2018-22 | refinedweb | 1,273 | 55.74 |
NegativeArraySizeException
The Negative Array size exception is one of the rarely occurring exception in java programming. Let's have a brief overlook on this exception.
If you glimpse at the title,may be you would get an hint that this exception is related to size of the array.Yes,of course.It is related to the size o... | http://craftingjava.blogspot.com/2012/07/handling-javalangnegativearraysizeexcep.html?showComment=1367037999620 | CC-MAIN-2017-51 | refinedweb | 509 | 57.06 |
My app relies on SQLObject to create its tables initially. This has the
problem that there's no way to specify indexes for each table.
This patch (against SVN head) implements an Index() class which allows
you to add indexes. Its use is pretty simple:
from sqlobject import *
class Foo(SQLObject):
foo = IntCol()
bar = S... | http://sourceforge.net/p/sqlobject/mailman/sqlobject-discuss/thread/1090570350.7021.15.camel@localhost/ | CC-MAIN-2014-23 | refinedweb | 196 | 61.46 |
Section 1. Before you begin
Objectives
The objective of this tutorial is to teach you how to configure Web service message-level security of Java API for XML Web Services 2.1 (JAX-WS) running on WebSphere Application Server 7 using the Rational Application Developer 7.5.2 integrated development environment (IDE). To ac... | http://www.ibm.com/developerworks/websphere/tutorials/0905_griffith/ | CC-MAIN-2014-52 | refinedweb | 8,360 | 54.42 |
new operator for creating the object of inner class October 4, 2012 at 10:37 AM
Hi , The folliowing is my code : class Outer { class Inner{ void show() { System.out.println("Hello "); } } } class Test { public statis void main(String args[]) ... View Questions/Answers
cannot do the additional operator October 4, 2012 a... | http://www.roseindia.net/answers/questions/42 | CC-MAIN-2016-22 | refinedweb | 3,938 | 62.58 |
Dependency injection is an important application design pattern. It's used so widely that almost everyone just calls it DI.
Angular has its own dependency injection framework, and you really can't build an Angular application without it.
This page covers what DI is and why it's useful.
When you've learned the general p... | http://docs.w3cub.com/angular/guide/dependency-injection-pattern/ | CC-MAIN-2018-39 | refinedweb | 472 | 59.09 |
Utilities for parsing time strings
Project description
Utilities for parsing time strings in Python.
Building and installation
Before installing chronos you will have to generate some of its modules as it is explained in Chronos readme Then, you can simply run
pip install bigml-chronos
Requirements
Python 2.7 and Pytho... | https://pypi.org/project/bigml-chronos/1.0.0/ | CC-MAIN-2021-49 | refinedweb | 309 | 65.32 |
I have registration and authorization logic in my application
There is this code:
This is the function I call on the onSubmit button when I login
import store from "redux/store"; export const login= async (data)=> { try { const res= await api.login(data); if(res.status < 300) store.dispatch(setUserData(res.data)) } } c... | https://www.tutorialfor.com/questions-390347.htm | CC-MAIN-2022-27 | refinedweb | 302 | 62.17 |
Introduction: Quick Setup Guide for DS3231 Alarm/Timer Function
I was looking for DS3231 alarm function and I came across multiple libraries such as Radon.
The libraries people used are way too complex and difficult to understand. I wanted to make a timer using the DS3231 module but other instructions/notes were unclea... | https://www.instructables.com/Setup-for-DS3231-AlarmTimer-Function/ | CC-MAIN-2022-05 | refinedweb | 772 | 67.86 |
Hello Folks,
This is my first time ever posting here pardon my brevity.
My namespace has more than 1000 folders and sub-folders. Until now, we were using Virtual File Manager to manage the DFS environment which was pretty neat. VFM is now end of support and we are relying solely on DFS Management.
Our shares are on one... | https://community.spiceworks.com/topic/2127513-adding-folder-targets-on-multiple-folders-in-dfs-namespace | CC-MAIN-2021-31 | refinedweb | 293 | 70.13 |
Leszek Gawron pisze:
>> 1. What's the scope of variable introduced by jx:set?
> you are probably asking the wrong question. jx:set always puts a
> variable in current context. The question should be: which
> elements/instructions should trigger a new local context.
>
> I think new local context should never be introduc... | http://mail-archives.apache.org/mod_mbox/cocoon-dev/200708.mbox/%3C46D1DD81.2050100@apache.org%3E | CC-MAIN-2013-48 | refinedweb | 657 | 58.18 |
Eugene:> Can Chris or someone please tell me what is the reason behind leaving> __kernel_uid_t == short on x86 architecture, and adding> __kernel_uid32_t? To me, it sounds more reasonable to rather make> __kernel_uid_t == int and add __kernel_uid16_t == short for binary> compatibility things.That's what I did originall... | http://lkml.org/lkml/2000/1/15/33 | CC-MAIN-2016-18 | refinedweb | 402 | 53 |
strfromd (3) - Linux Man Pages
strfromd: convert a floating-point value into
NAME
strfromd, strfromf, strfroml - convert a floating-point value into a string
SYNOPSIS
#include <stdlib.h> int strfromd(char *restrict str, size_t n, const char *restrict format, double fp); int strfromf(char *restrict str, size_t n, const ... | https://www.systutorials.com/docs/linux/man/3-strfromd/ | CC-MAIN-2021-21 | refinedweb | 363 | 56.55 |
Content-type: text/html
cc [ flag ... ] file ... -lvolmgt [ library ... ] #include <volmgt.h>
int volmgt_release(char *dev);
The volmgt_release() routine releases the removable media device reservation specified as dev. See volmgt_acquire(3VOLMGT) for a description of dev.
If dev is reserved by the caller, volmgt_relea... | http://backdrift.org/man/SunOS-5.10/man3volmgt/volmgt_release.3volmgt.html | CC-MAIN-2017-04 | refinedweb | 183 | 60.01 |
problem is, again, a seemingly innocuous parantheses. Modify your server code to accept connection as follows(watch the additional parantheses):
. code ...
clilen = sizeof(cli_addr);
if ((newsockfd = accept(sockfd, (struct sockaddr *) &cli_addr, &clilen)) < 0)
printf("server: accept error\n");
. code ...
Your intentio... | https://www.experts-exchange.com/questions/10068392/Unix-domain-client-and-server.html | CC-MAIN-2018-17 | refinedweb | 300 | 55.24 |
Opened 11 years ago
Closed 10 years ago
Last modified 7 years ago
#5825 closed (fixed)
Customized actions for manage.py not working
Description
Custom actions can be added, as described
Following the instructions I am getting the error message: unknown command
To reproduce you can also copy the contents of the folder t... | https://code.djangoproject.com/ticket/5825 | CC-MAIN-2018-51 | refinedweb | 1,029 | 66.13 |
Hi Olivier
Olivier Rossel wrote:
> I wish to extract the tag "/task/title" from my XML generated.
> I think that using a XSL for that is a bit heavy, so I would like to use
> an existing transformer.
>
> I tried FragmentExtractorTransformer, but I think the name
> of the tag that is used for extraction must be declared... | http://mail-archives.apache.org/mod_mbox/cocoon-users/200204.mbox/%3C3CB411C8.2020007@anyware-tech.com%3E | CC-MAIN-2018-34 | refinedweb | 251 | 75.4 |
Why Qt for C++ is STILL the truth: F the noise
Nowadays, when you speak about desktop development, people look at you like you're some kind of Luddite. Despite the hype with mobile, the honest truth is that the most productive and complex work is still being done on desktop (or through browsers that run on desktop).
I ... | https://medium.com/@thabodavidnyakalloklass/why-qt-for-c-is-still-the-truth-f-the-noise-efe8acb5109a | CC-MAIN-2018-30 | refinedweb | 1,233 | 62.48 |
Sparse Approximations¶
The
gp.MarginalSparse class implements sparse, or inducing point, GP
approximations. It works identically to
gp.Marginal, except it
additionally requires the locations of the inducing points (denoted
Xu), and it accepts the argument
sigma instead of
noise
because these sparse approximations assum... | https://docs.pymc.io/notebooks/GP-SparseApprox.html | CC-MAIN-2018-47 | refinedweb | 967 | 54.59 |
Machine Learning is Fun!
The world’s easiest introduction to Machine Learning
Update: Machine Learning is Fun! Part 2, Part 3, Part 4, Part 5 and Part 6 are now available!
You can also read this article in 日本語, Português, Türkçe, Français, 한국어 , العَرَبِيَّة, Español (México), Español (España) or Polski.
Have you heard... | https://medium.com/@ageitgey/machine-learning-is-fun-80ea3ec3c471?bsft_eid=1baa362f-396f-472d-b3f6-ff1eba51866f&bsft_clkid=36912740-7b48-46f2-83aa-59d2d37dff11&bsft_uid=5123a86b-a559-4041-a771-c8f25fd6918d&bsft_mid=fe89070b-d8b6-48d0-bf64-55cb52ca13c2 | CC-MAIN-2017-09 | refinedweb | 2,610 | 69.21 |
James Russell Lowell, Early Rapper
The other day on Instagram, I shared four anti-war lines from James Russell Lowell’s serial poem, The Biglow Papers. Tricia Tierney, friend and writer, pointed out the similarity of the lines to the rhythms of rap. I had to gasp — she was absolutely right.
Wut’s the use of meeting’-go... | https://medium.com/nina-sankovitch/james-russell-lowell-early-rapper-21593413ff8d | CC-MAIN-2017-34 | refinedweb | 630 | 64.34 |
This is a page from my book, Functional Programming, Simplified
“People say that practicing Zen is difficult, but there is a misunderstanding as to why.”
In the last chapter I looked at the benefits of functional programming, and as I showed, there are quite a few. In this chapter I’ll look at the potential drawbacks o... | https://alvinalexander.com/index.php/scala/fp-book/disadvantages-of-functional-programming | CC-MAIN-2019-39 | refinedweb | 4,053 | 65.35 |
trail ]
Updates trail settings that control what events you are logging, and how to handle.
See also: AWS API Documentation
See 'aws help' for descriptions of global parameters.
update] [--cli-input-json <value>] [--generate-cli-skeleton <value>]
--name (string)
Specifies the name of the trail or trail ARN. If
Nameis a... | https://docs.aws.amazon.com/de_de/cli/latest/reference/cloudtrail/update-trail.html | CC-MAIN-2022-33 | refinedweb | 530 | 53.31 |
Adding a .first() method to Django's QuerySet
Adding a .first() method to Django's QuerySet
Join the DZone community and get the full member experience.Join For Free
Deploying code to production can be filled with uncertainty. Reduce the risks, and deploy earlier and more often. Download this free guide to learn more. ... | https://dzone.com/articles/adding-first-method-djangos | CC-MAIN-2018-47 | refinedweb | 302 | 60.82 |
Web maps are comprised of a basemap layer and one or more operational layers, as well as tasks, feature collections, and pop-ups. Using the ArcGIS API for Silverlight, it's easy to add a web map to your application, as shown in the following steps:
- Browse to ArcGIS.com and locate the web map you're adding to your app... | https://developers.arcgis.com/silverlight/guide/adding-a-web-map.htm | CC-MAIN-2017-43 | refinedweb | 408 | 60.82 |
Member
22 Points
Sep 23, 2012 11:14 AM|m.shawamreh|LINK
Hi All,
How To Convert day name to localized day name ??
string sDay = "Monday"
i need to convert this day name to other Culture. (ex. de-DE )
the result in this case it's "Montag"
Star
11588 Points
Sep 23, 2012 01:00 PM|rivdiv|LINK
string sDay = "Monday"; int day... | https://forums.asp.net/t/1845644.aspx?Convert+day+name+to+localized+day+name | CC-MAIN-2017-47 | refinedweb | 110 | 60.92 |
package URI; use strict; use vars qw($VERSION); $) and a component that is missing (represented as or an unescaped string. A component that can be further divided into sub-parts are usually passed escaped, as unescaping might change its semantics. The common methods available for all URI are: =over 4 =item $uri->scheme... | http://opensource.apple.com//source/CPANInternal/CPANInternal-108/URI/URI.pm | CC-MAIN-2016-40 | refinedweb | 2,161 | 56.45 |
Shell.
Shell Sort and Gap Sequence
There are a number of options for calculating the gap sequence used by shell sort. The last gap used by shell sort will be 1, which is insertion sort. In the Python algorithm used in this article the following formula is used to generate the gap sequence.
gaps = 2 * N / 2k+1 + 1, wher... | https://www.koderdojo.com/blog/shell-sort | CC-MAIN-2021-39 | refinedweb | 446 | 70.06 |
The Java Specialists' Newsletter
Issue 0942004-09-20
Category:
Language
Java version: Sun JDK 1.5.0-rc
GitHub
Subscribe Free
RSS Feed
Welcome to the 94th edition of The Java(tm) Specialists' Newsletter. I would like to
welcome Nelson Boegbah from Liberia onto our list (we now
have readers from 101 ). Can you imagine
a ... | http://www.javaspecialists.eu/archive/Issue094.html | CC-MAIN-2016-44 | refinedweb | 906 | 64.1 |
Armenian Genocide, Turks, Kurds, Arabs, and other Muslims were both perpetrators and beneficiaries of the deportations and killing—but they also saved non-Muslims. This study documents and analyzes the ways in which Armenians were rescued and the various motives of the rescuers. Unlike previous studies, which are based... | https://de.scribd.com/document/478284415/Shirinian-Turks-who-saved-Armenians | CC-MAIN-2020-50 | refinedweb | 9,231 | 59.13 |
Lazy Vals in Scala: A Look Under the Hood
02/24/16
Scala allows the special keyword
lazy in front of
val in order to change the
val to one that is lazily initialized. While lazy initialization seems tempting at first, the concrete implementation of lazy vals in
scalac has some subtle issues. This article takes a look u... | https://blog.codecentric.de/en/2016/02/lazy-vals-scala-look-hood/ | CC-MAIN-2017-26 | refinedweb | 1,683 | 53.61 |
/* Declarations for getopt. Copyright (C) 1989, 1990, 1991, 1992, USA. */ /* XXX THIS HAS BEEN MODIFIED FOR INCORPORATION INTO BASH XXX */ #ifndef _SH_GETOPT_H #define _SH_GETOPT_H 1 #include "stdc.h" /* For communication from `getopt' to the caller. When `getopt' finds an option that takes an argument, the argument va... | http://opensource.apple.com//source/bash/bash-86.1/bash-3.2/builtins/getopt.h | CC-MAIN-2016-44 | refinedweb | 142 | 58.79 |
Handling Multiple Submits
Pages: 1, 2
Listing 2 was certainly an improvement, but we've still got a ways to go. A
number of issues still could go wrong. What if the user pushes the back button
and starts over? What if his browser has JavaScript disabled or the browser
cannot handle the processing? We can still solve th... | http://www.onlamp.com/pub/a/onjava/2003/04/02/multiple_submits.html?page=2 | CC-MAIN-2016-26 | refinedweb | 1,082 | 51.44 |
12 February 2019 0 comments Web development, Javascript, ReactJS
create-react-appfirst:
create-react-app myapp
node-sassand
bulmaswatch
cd myapp yarn add bulma bulmaswatch node-sass
src/index.jsto import
index.scssinstead:
-import "./index.css"; +import "./index.scss";
index.cssfile:
git rm src/index.css touch src/inde... | https://www.peterbe.com/plog/create-react-app-scss-and-bulmaswatch | CC-MAIN-2019-18 | refinedweb | 246 | 52.36 |
Decision trees for classification.
In this third post on supervised machine learning classifiers, I'll be talking about one of the oldest and most widely used techniques - decision trees. Decision trees work well with noisy or missing data and are incredibly fast at runtime. They're additionally nice because you can vi... | https://www.jeremyjordan.me/decision-trees-for-classification/ | CC-MAIN-2018-22 | refinedweb | 1,243 | 53 |
This page describes the standards used for Apache ServiceMix code (java, xml, whatever). Code is read by a human being more often than it is written by a human being, make the code a pleasure to read. If you're using Eclipse, configuration files for your IDE can be found at
Lets follow Sun's coding standard rules whic... | http://servicemix.apache.org/SM/developers/coding-standards.html | CC-MAIN-2016-30 | refinedweb | 529 | 53.61 |
The Startup CTO’s Guide to Ops (3 of 3): A Minimal Production and Deployment Setup
This is part 3 of a 3-part series on operations setups for early-stage startups. Previously, part 1 discussed guiding principles and requirements, and part 2 toured 3rd party services and open-source tools.
In this last post of our serie... | https://cgroom.medium.com/the-startup-ctos-guide-to-ops-3-of-3-a-minimal-production-and-deployment-setup-a10dccc04f51?source=post_internal_links---------7------------------------------- | CC-MAIN-2022-21 | refinedweb | 2,155 | 55.13 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.