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 |
|---|---|---|---|---|---|
At 12/15/2010 11:20 PM, Eric Blake Write: > On 12/14/2010 07:34 PM, Wen Congyang wrote: > > In addition to Hu's comments, and the fact that you are probably going > to revise the exposed interface anyways, here's some additional points. > >> * src/util/timer.c src/util/timer.h src/util/timer_linux.c src/util/timer_win3... | https://www.redhat.com/archives/libvir-list/2010-December/msg00613.html | CC-MAIN-2014-15 | refinedweb | 275 | 52.56 |
will 0.5.1
A friendly python hipchat bot
Meet Will.
Will is the friendliest, easiest-to-teach bot you've ever used. He works on hipchat, in rooms and 1-1 chats.
He makes teaching your chat bot this simple:
```python
@respond_to("hi")
def say_hello(self, message):
self.say("oh, hello!")
```
Will was built by [Steven Sko... | https://pypi.python.org/pypi/will/0.5.1 | CC-MAIN-2015-11 | refinedweb | 108 | 80.41 |
From: Eric Niebler (eric_at_[hidden])
Date: 2006-04-18 01:50:08
Peter Dimov wrote:
>,
You're right, because in xpressive alone I use counted_base in no less
than 3 places where the virtual destructor would be needless overhead!
Clearly, it can't be all that uncommon.
and Andreas wouldn't use it because of
> the lack of... | https://lists.boost.org/Archives/boost/2006/04/103293.php | CC-MAIN-2022-40 | refinedweb | 256 | 50.33 |
Blog about debugging and compiler features of C# that is help implement
static class Extension
{.
If you would like to receive an email when updates are made to this post, please register here
RSS
When you say "6. The Type parameter used must be defined on the method and not the parentclass." what do you mean by "Type ... | http://blogs.msdn.com/sreekarc/archive/2007/04/25/extension-methods.aspx | crawl-002 | refinedweb | 735 | 64 |
Clearpath and Christie demo 3D video game with robots
By Ryan Gariepy
For our recent “hack week” we teamed up with one of the most innovative visual technology companies in the world, Christie, to make a 3D video game with robots. How did it all come together?
As seems to be the norm, let’s start with the awesome:
Insp... | http://robohub.org/clearpath-and-christie-demo-3d-video-game-with-robots/ | CC-MAIN-2017-47 | refinedweb | 940 | 67.28 |
Another day, another short article. Today we will focus on validation of numeric query parameters.
Everyone values his/her time, so here is TL;DR:
Each query parameter comes as string, so it's not possible to validate numeric params correctly. Simple solution – use
@Type()decorator from
class-transformerlibrary, and de... | https://dev.to/avantar/validating-numeric-query-parameters-in-nestjs-gk9 | CC-MAIN-2022-27 | refinedweb | 917 | 64.51 |
. In object-oriented design, a class is the most specific type of an object in relation to a specific layer.
Programming languages that support classes all subtly differ in their support for various class-related features. Most support various forms of class inheritance. Many languages also support features providing e... | http://www.answers.com/topic/class-computer-science | crawl-002 | refinedweb | 3,331 | 53.41 |
Jim Jewett <report@bugs.python.org> wrote:
>/???)
OK, as a basis for discussion I've added:
I didn't mention the main reason why _decimal.c and libmpdec are in a flat
directory: Building the library first and then the module from the library
led to problems on at least Windows and AIX. That's why I started to treat
all... | https://bugs.python.org/msg155070 | CC-MAIN-2019-22 | refinedweb | 295 | 68.26 |
Casts also have a cost. Casts that can be resolved at compile time can be eliminated by the compiler (and are eliminated by the JDK compiler). Consider the two lines:
Integer i = new Integer(3); Integer j = (Integer) i;
These two lines are compiled as if they were written as:
Integer i = new Integer(3); Integer j = i;
... | http://etutorials.org/Programming/Java+performance+tuning/Chapter+6.+Exceptions+Assertions+Casts+and+Variables/6.3+Casts/ | crawl-001 | refinedweb | 631 | 54.32 |
A common question from programmers who have an intermediate amount of experience with using the STL is, "How do I write an STL allocator?". Writing an STL allocator is not especially difficult - only two member functions are interesting, allocate() and deallocate(). However, STL allocators must satisfy a number of othe... | http://blogs.msdn.com/b/vcblog/archive/2008/08/28/the-mallocator.aspx | CC-MAIN-2015-06 | refinedweb | 3,279 | 54.02 |
finalize_callback
The callback that is fired once the execution loop is exited, but before glview is destroyed.
Synopsis:
#include <glview/glview.h>
typedef void(* finalize_callback)(void *callback_data);
Since:
BlackBerry 10.0.0
Library:libglview (For the qcc command, use the -l glview option to link against this libr... | http://developer.blackberry.com/native/reference/core/com.qnx.doc.glview.lib_ref/topic/finalize_callback.html | CC-MAIN-2018-17 | refinedweb | 111 | 50.02 |
IRC log of tagmem on 2005-04-19
Timestamps are in UTC.
16:59:25 [RRSAgent]
RRSAgent has joined #tagmem
16:59:25 [RRSAgent]
logging to
16:59:31 [Norm]
We'll be thin on the ground, take it up with the chair :-)
17:00:19 [DanC]
thin on the ground... yeah... if all the potential regrets turn into actual regrets, we'll have... | http://www.w3.org/2005/04/19-tagmem-irc | CC-MAIN-2014-42 | refinedweb | 2,597 | 59.57 |
Here's some pseudocode I wrote.
- Code: Select all
def bee(): #Bees! runs on global variables
if nearby(Predator): #uses weighted random numbers to determine if a predator is near enough to warrant removal and returns bool
sting(Predator)
elif low_food(): #uses method described above to determine if food is low and ret... | http://www.python-forum.org/viewtopic.php?f=10&t=6855&p=8733 | CC-MAIN-2014-49 | refinedweb | 145 | 52.33 |
While the contingency is not all that probable, it cannot be totally ruled out that a C# or VB.NET component developer might inadvertently use a C++ keyword as a class name or a public field name. Anyway, the C++ team decided that they had to allow for this probability and gave us the
__identifier keyword which allows ... | https://voidnish.wordpress.com/2005/03/ | CC-MAIN-2015-48 | refinedweb | 125 | 51.99 |
Improving Performance with active_tol¶
Note
This is an experimental tweak to performance. Using it requires a high level of understanding of optimization and the structure of your problem.
Some optimizers use an active set method, whereby their constraints are marked as active or inactive depending on their proximity t... | http://openmdao.readthedocs.io/en/1.7.3/usr-guide/examples/active_tol.html | CC-MAIN-2017-17 | refinedweb | 1,029 | 56.96 |
I have an app that I am trying to generate out some GoogleMaps. The
GoogleMaps aren’t the problem, I am tripping over the proper way to
handle what I want to do.
I have a DB for map markers.
Path 1:
When the user makes a call to the controller => “mymap”, action =>
“show”, I grab the id parameter.
From here, if 15 minu... | https://www.ruby-forum.com/t/trying-to-figure-out-if-this-is-a-helper-or-a-controller-or-a-partial/184674 | CC-MAIN-2022-40 | refinedweb | 288 | 76.76 |
Working with physical files using the API
CMS.IO is a namespace that serves as an interlayer between the business layer of Kentico and storages used for physical files. CMS.IO is used throughout the system instead of the default System.IO library provided by the .NET Framework in order to be compatible with various typ... | https://docs.xperience.io/k12sp/custom-development/working-with-physical-files-using-the-api | CC-MAIN-2021-04 | refinedweb | 228 | 66.03 |
The Fibonacci sequence is a sequence of numbers such that any number, except for the first and second, is the sum of the previous two. For example:
0, 1, 1, 2, 3, 5, 8, 13, 21...
Fun fact: November 23 is celebrated as Fibonacci day because when the date is written in the mm/dd format (11/23), the digits in the date for... | https://practicaldev-herokuapp-com.global.ssl.fastly.net/wangonya/fibonacci-sequence-with-python-recursion-and-memoization-f7h | CC-MAIN-2020-40 | refinedweb | 533 | 70.63 |
I am producing a publication-quality plot to be embedded in latex and I would like to be very precise in terms of sizes and fonts (so that fonts are of the same size in the article as in the plot). To prevent the plot from scaling in latex I would like to have it exact size, but I cannot. Here is my code:
import matplo... | http://m.dlxedu.com/m/askdetail/3/fcaa830179dd31d37024a2c4e57ceae4.html | CC-MAIN-2018-47 | refinedweb | 574 | 63.8 |
Red Hat Bugzilla – Bug 14942
glibc: libio, used from libstd++, not exception aware
Last modified: 2008-05-01 11:37:57 EDT
Hi,
This is no RedHat specific bug, but can be fixed easily with a little
patch.
The libstd++ uses parts of the basic libio-function in libc.
Problems arise if the C++ code, called by these function... | https://bugzilla.redhat.com/show_bug.cgi?id=14942 | CC-MAIN-2017-51 | refinedweb | 557 | 58.79 |
Why Pandas for data Analysis?
Real ‘raw’ data needs a lot of ‘wrangling’ operations before it can be ready for dissection by a data scientist one of the popular tools for data wrangling in python is Pandas. Because of the availability of widespread packages of Pandas for almost every possible function. The library Pand... | https://blog.knoldus.com/pandas-for-data-analysis/ | CC-MAIN-2022-05 | refinedweb | 718 | 56.25 |
Using Streams and Lambda Expressions in Java
Java has fancy methods that make optimal use of streams and lambda expressions. With streams and lambda expressions, you can create an assembly line. The assembly-line solution uses concepts from functional programming.
The assembly line consists of several methods. Each met... | http://www.dummies.com/programming/java/using-streams-lambda-expressions-java/ | CC-MAIN-2017-34 | refinedweb | 772 | 67.96 |
Config::AutoConf - A module to implement some of AutoConf macros in pure perl.
With this module I pretend to simulate some of the tasks AutoConf macros do. To detect a command, to detect a library, etc.
use Config::AutoConf; Config::AutoConf->check_prog("agrep"); my $grep = Config::AutoConf->check_progs("agrep", "egrep... | http://search.cpan.org/dist/Config-AutoConf/lib/Config/AutoConf.pm | CC-MAIN-2014-23 | refinedweb | 3,022 | 58.48 |
STRCMP(3) BSD Programmer's Manual STRCMP(3)
strcmp, strncmp - compare strings
#include <string.h> int strcmp(const char *s1, const char *s2); int strncmp(const char *s1, const char *s2, size_t len);
The strcmp() and strncmp() functions lexicographically compare the NUL- terminated strings s1 and s2.
The strcmp() and st... | https://www.mirbsd.org/htman/sparc/man3/strncmp.htm | CC-MAIN-2016-07 | refinedweb | 129 | 65.32 |
WebReference.com - Excerpt from Inside XSLT, Chapter 2, Part 1 (4/4)
Inside XSLT
Each node has a number of set properties associated with it in XSLT, and the following list includes the kinds of properties that the writers of XSLT processors keep track of for each node:
- name. The name of the node.
- string-value. The... | http://www.webreference.com/authoring/languages/xml/insidexslt/chap2/1/4.html | CC-MAIN-2014-52 | refinedweb | 784 | 58.01 |
I wrote my first Perl 6 program (that is, one that worked) the day before the London Perl Workshop where I proudly told people. So, JJ says “Why don’t you write an Advent calendar post for Perl 6?”
With only one program under my belt, what do I have to write about? Well … I authored Astro::Constants in Perl 5, so how h... | https://perl6advent.wordpress.com/2018/12/09/lets-get-astrophysical-constants-in-perl-6/ | CC-MAIN-2019-35 | refinedweb | 1,367 | 70.94 |
So you want to implement an auto-documenting API?
Project description
A Flask extension that implements Swagger support ()
What’s Swagger?
Swagger is a spec to help you document your APIs. It’s flexible and produces beautiful API documentation that can then be used to build API-explorer-type sites, much like the one at... | https://pypi.org/project/Flask-Sillywalk/ | CC-MAIN-2018-34 | refinedweb | 455 | 51.34 |
I try to build a library of game objects of instruments that will, later on, be used in many different configurations to animate and simulate simple Flash builds.
The instruments, being interactive, will have a variable that can be set from the Inspector as, e.g. FROM or TO or both, depending if the object only inputs,... | https://answers.unity.com/questions/381529/how-to-address-scripts-without-knowing-their-names.html | CC-MAIN-2020-50 | refinedweb | 1,316 | 71.04 |
Dart example program to replace a substring
Introduction :
In this tutorial, we will learn how to replace a part of a string in dart. Dart string class comes with a method called replaceRange, that we can use to replace a part of the string with a different string. In this tutorial, we will learn how to use replaceRang... | https://www.codevscolor.com/dart-replace-substring/ | CC-MAIN-2020-10 | refinedweb | 191 | 71.24 |
I want to use only studio.h library to convert from decimal number to binary number by using an array to store remainder but the result is not correct, maybe i have problem with memory allocation or return value is wrong, please help me to check it.
Thank you so much!
#include <stdio.h>
int n = 0;
int* DecimalToBinary(... | http://m.dlxedu.com/m/askdetail/3/4c61f03639daaed92eaa5a1e2dfbf01b.html | CC-MAIN-2019-18 | refinedweb | 988 | 58.72 |
FilePickerViewMode
Since: BlackBerry 10.0.0
#include <bb/cascades/pickers/FilePickerViewMode>
To link against this class, add the following line to your .pro file: LIBS += -lbbcascadespickers
Defines view modes in FilePicker.
If the view mode is not specified, FilePicker will choose the view mode based on the FileType,... | https://developer.blackberry.com/native/reference/cascades/bb__cascades__pickers__filepickerviewmode.html | CC-MAIN-2015-32 | refinedweb | 132 | 62.24 |
What's New in ASP.NET MVC 4
Download Web Camps Training Kit
ASP.NET MVC 4 is a framework for building scalable, standards-based web applications using well-established design patterns and the power of the ASP.NET and the .NET framework. This new, fourth version of the framework focuses on making mobile web application ... | https://learn.microsoft.com/en-us/aspnet/mvc/overview/older-versions/hands-on-labs/whats-new-in-aspnet-mvc-4 | CC-MAIN-2022-40 | refinedweb | 6,847 | 57.98 |
Last week I've added a new test bundle to Spring Integration. This bundle contains matchers to help writing tests for Spring Integration configurations. It builds on JUnit 4, Hamcrest and Mockito. Even if you're not a user of Spring Integration, I will make sure that this post gives you a few ideas for using matchers t... | http://blog.xebia.com/2009/08/03/improved-spring-integration-test-support-with-mockito-and-hamcrest/ | CC-MAIN-2015-14 | refinedweb | 571 | 56.05 |
Implements ICodeWithDotNet
After our open house, a few of SRT's consultants stayed to have a little Coding Sprint with Castle -- specifically, ActiveRecord.
Darrell Hawley, Jay Wren, Rocky Krcatovich and I started with the typical, employee database design: A company, which has many departments and many employees. Each... | http://weblogs.asp.net/psteele/archive/2007/09/26/srt-s-activerecord-coding-sprint-and-a-quot-gotcha-quot-to-watch-out-for.aspx | crawl-002 | refinedweb | 486 | 55.24 |
Details
- Type:
Improvement
- Status: Closed
- Priority:
Minor
- Resolution: Fixed
- Affects Version/s: None
-
- Component/s: core/search, modules/other
- Labels:None
- Lucene Fields:New, Patch Available
Description
.
Activity
- All
- Work Log
- History
- Activity
- Transitions
Iirc the boolean logic on contrib/queries... | https://issues.apache.org/jira/browse/LUCENE-1187 | CC-MAIN-2017-13 | refinedweb | 2,826 | 56.35 |
I wrote this program, which purpose is to visit the 18th link on the list of links and then on the new page visit the 18th link again.
This program works as intended, but it's a little repetitive and inelegant.
I was wondering if you have any ideas on how to make it simpler, without using any functions. If I wanted to ... | https://codedump.io/share/gDrnX79DBfE6/1/how-would-you-simplify-this-program-python | CC-MAIN-2018-17 | refinedweb | 241 | 76.32 |
Getting Started With GLib in Emacs
Recently, I decided to start doing some C. In the past, I’ve used GLib in my C programs, and I’m a fan. I decided that I’d like to use GLib in my current endeavors. All that said, before I can use it, I have to be able to build it. Unfortunately, nothing in my life just works, so it t... | https://doingmyprogramming.wordpress.com/category/software/tools/make/ | CC-MAIN-2017-47 | refinedweb | 1,380 | 73.78 |
#include <ble_gatts.h>
GATT Attribute.
Initial attribute value length in bytes.
Initial attribute value offset in bytes. If different from zero, the first init_offs bytes of the attribute value will be left uninitialized.
Maximum attribute value length in bytes, see Maximum attribute lengths for maximum values.
Pointer... | http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v5.0.0/structble__gatts__attr__t.html | CC-MAIN-2018-13 | refinedweb | 136 | 60.11 |
thingspeak_5f86 (community library)
Summary
Spark library for sending values to thingspeak
Example Build Testing
Device OS Version:
This table is generated from an automated build. Success only indicates that the code compiled successfully.
Library Read Me
This content is provided by the library maintainer and has not ... | https://docs.particle.io/reference/device-os/libraries/t/thingspeak_5f86/ | CC-MAIN-2022-27 | refinedweb | 394 | 58.79 |
That's a code sequencing issue. Change the end of Ward's qewd-start.js file to this:
let qewd = require('qewd').master;
// define the internal QEWD Express module instance
// start the QEWD server now ...
qewd.start(config);
let xp = qewd.intercept();
// define a basic test path to test if our QEWD server is up- and ru... | https://community.intersystems.com/user/27171/comments?page=4 | CC-MAIN-2020-45 | refinedweb | 507 | 64.91 |
version::Normal - More normal forms for version objects
version 0.1.0
use version::Normal; # 'v0.400' version->parse('0.4')->normal2; # '0.400.0' version->parse('0.4')->normal3;'
version::Normal implements the following methods and installs them into version namespace.
1.10 0.3.10 v0.3.10 v0.0.0.0 v0.0 v0.1.0.0 v0.1
Th... | http://search.cpan.org/~ferreira/version-Normal-0.1.0/lib/version/Normal.pm | CC-MAIN-2018-17 | refinedweb | 144 | 51.65 |
MojoMojo::Controller::Page - Page controller
This controller is the main juice of MojoMojo. It handles all the actions related to wiki pages. Actions are redispatched to this controller based on MojoMojo's custom prepare_path method.
Every private action here expects to have a page path in args. They can be called with... | http://search.cpan.org/~mramberg/MojoMojo-1.10/lib/MojoMojo/Controller/Page.pm | CC-MAIN-2017-17 | refinedweb | 378 | 69.79 |
User:Skate1168/Iostream.h
From Uncyclopedia, the content-free encyclopedia
“#include <iostream>”
“#include <iostream.h>”
“ERROR: iostream.h FILE NOT FOUND”
“Told You, old man.”
“Shut up.”
“For a moment, nothing happened. Then, after a second or so, nothing continued to happen.”
“... one of the main causes of the fall o... | http://uncyclopedia.wikia.com/wiki/User:Skate1168/Iostream.h?oldid=5269789 | CC-MAIN-2015-14 | refinedweb | 1,582 | 75.4 |
Debugging ZODB Bloat
Your Data.fs is growing at an alarming rate, but what's the cause? Digging into the ZODB could help find the cause.
About
Having spent a lot of time tracking down the cause of ZODB bloat in an Archetypes application I thought I'd share my experience in case it was useful to anyone else.
Step 1: Ana... | http://plone.org/documentation/how-to/debug-zodb-bloat | crawl-002 | refinedweb | 402 | 74.9 |
On Mon, 12 Sep 2005, Scott Eade wrote:
>> Therefore I am inclined to follow the proposed solution and throw an
>> exception in the constructor of LargeSelect if the chosen DB does not
>> support native limit and offset.
>> ...
>>
>> Are there any objections ? Is everybody ok with throwing a
>> RuntimeException, or woul... | http://mail-archives.apache.org/mod_mbox/db-torque-dev/200509.mbox/%3C20050911225103.H42165@minotaur.apache.org%3E | CC-MAIN-2016-26 | refinedweb | 455 | 50.87 |
{-# LANGUAGE CPP #-} {-# LANGUAGE PackageImports #-} #ifdef __HASTE__ import Haste.DOM import Haste.Events #endif import Text.ParserCombinators.Parsec hiding (State) import Text.Read hiding (get) import Control.Arrow import Control.Monad import "mtl" Control.Monad.State -- Haste has 2 versions of the State Monad.
Outco... | http://crypto.stanford.edu/~blynn/lambda/hm.html | CC-MAIN-2017-43 | refinedweb | 2,910 | 62.11 |
> The other thing bLIPs do is do away with the whole "human picks the number of > documents", and "don't assign your own number, you must wait".
So TL;DR BIPs and BOLTs sometimes require waiting for things (like review and consensus) and there should be a new acronym and process ("bLIPs") to avoid us having to wait for... | https://www.mail-archive.com/lightning-dev@lists.linuxfoundation.org/msg02355.html | CC-MAIN-2022-05 | refinedweb | 2,461 | 54.36 |
Functions for picking a single node in ANSYS and retrieving the node number.
This is more a hack, since it uses a predefined UIDL function designed for an ANSYS tool. It happens to be useful for picking a single node since it returns the node number as a variable in ANSYS which we can retrieve. You will need the code i... | http://snipplr.com/view/65509/ | CC-MAIN-2014-49 | refinedweb | 185 | 53.1 |
Introduction
Split Testing, also know as A/B testing, is a very important way to optimize the site conversion rate.
In this Wagtail tutorial, I will show you how to do Split Testing in Wagtail CMS. After reading this tutorial, you will:
Learn how to use
wagtail-experimentsto setup A/B test in Wagtail.
Understand how
wa... | https://www.accordbox.com/blog/how-do-ab-testing-wagtail-cms/ | CC-MAIN-2019-43 | refinedweb | 990 | 56.45 |
Add and configure Apollo Client
This article is part of the Storefront UI Development Guide.
- Previous Task: None
- Next Task: Build a product listing page
To add Apollo Client to your UI app, read the excellent Apollo docs. For local development, the Reaction GraphQL endpoint
uri is, but we recommend storing that val... | https://docs.reactioncommerce.com/docs/next/storefront-apollo-client | CC-MAIN-2019-22 | refinedweb | 171 | 63.29 |
26 CFR 5c.168(f)(8)-8 - Loss of section 168(f)(8) protection; recapture.
(a) In general. Upon the occurrence of an event that causes an agreement to cease to be characterized as a lease under section 168(f)(8), the characterization of the lessor and lessee shall be determined without regard to section 168(f)(8).
:
(1) ... | http://www.law.cornell.edu/cfr/text/26/5c.168(f)(8)-8 | CC-MAIN-2014-35 | refinedweb | 1,037 | 60.45 |
given a matcher object has already a pattern to match and a string value to search for.
1) is the .find() method similar to looping a character sequence just to find a matching pattern?
for (int x = 0; x < someString.length(); x++) {
// do some string processing
}
2) does the .find() method starts from beginning? somet... | http://www.javaprogrammingforums.com/%20java-se-apis/10746-matcher-object-find-method-question-printingthethread.html | CC-MAIN-2015-18 | refinedweb | 316 | 65.62 |
Make continuation-local storage play nice with node-redis.
node-redis is fast. It uses a lot of
smart techniques to do this that lean heavily upon Redis's architecture. One of
its biggest wins is the way that it takes advantage of pipelining to batch up
commands and push them to the Redis server in chunks. This works g... | https://www.npmjs.com/package/cls-redis | CC-MAIN-2017-09 | refinedweb | 268 | 68.6 |
Delaying an Edge Animate asset until visible - Part 5
This post is more than 2 years old.
So, in my last post on this topic, I mentioned that I was surprised at how many times this "simple" topic kept coming up on my blog. In a way, this has turned into the series that just won't die - no matter how many times I think ... | https://www.raymondcamden.com/2014/06/09/Delaying-an-Edge-Animate-asset-until-visible-Part-5 | CC-MAIN-2021-17 | refinedweb | 1,167 | 76.01 |
This article is an overview of our API with a focus on our Python API Client, but we also support other clients. For a more in-depth discussion about our underlaying server API, see API overview.
An overview introduction to our Python API and key concepts.
At ftrack, we know that collaboration is vital to producing gre... | http://help.ftrack.com/en/articles/1054630-getting-started-with-the-api | CC-MAIN-2019-35 | refinedweb | 740 | 54.52 |
The symbol encodes the number modulo 37, 37 being the least prime number greater than 32.
That is, we take the remainder when the base 32 number is divided by 37 and append the result to the original encoded number. The remainder could be larger than 31, so we need to expand our alphabet of symbols. Crockford recommend... | https://www.johndcook.com/blog/2018/12/28/check-sums-and-error-detection/ | CC-MAIN-2020-40 | refinedweb | 550 | 71.95 |
Do you have an iGoogle Account? Well, if you are like the rest of the world that use the Internet, you will have, which also means that you have seen the very cool (and useful) "Password strength" control.
This control has a very intelligent API to determine if the password you entered is any good. It is "intelligent" ... | http://www.codeproject.com/KB/ajax/GooglePasswordStrength.aspx | crawl-002 | refinedweb | 503 | 65.12 |
terminate called after throwing an instance of 'ros::TimeNotInitializedException'. what(): Cannot use ros::Time::now() before the first NodeHandle has been created or ros::start() has been called.
I tried googling for an answer but it seems like the answers are targeted for rospy and not roscpp. Also, I am using ros in... | https://answers.ros.org/question/210252/terminate-called-after-throwing-an-instance-of-rostimenotinitializedexception-what-cannot-use-rostimenow-before-the-first-nodehandle-has-been-created/ | CC-MAIN-2021-10 | refinedweb | 190 | 58.62 |
Sudoku cell with notes
I am trying to figure out the best way to create a sudoku cell that can accommodate notes. Since the cell needs to be touched I am thinking to start with a ui button. This is simple without notes as it will be blank or have the single number that goes in the cell. But adding notes brings a few ch... | https://forum.omz-software.com/topic/6918/sudoku-cell-with-notes | CC-MAIN-2021-43 | refinedweb | 1,258 | 68.87 |
A.
What is setup.py?
According to Python's official.
Distutils is part of the Python standard library and is extended by tools you're probably more familiar with like
setuptools,
pip, and
pipenv. Every package you download off of the Python Package Index (PyPI) has a
setup.py. It is used by
pipenv/
pip/
setuptools/
dis... | https://lincolnloop.com/blog/using-setuppy-your-django-project/ | CC-MAIN-2018-17 | refinedweb | 1,009 | 62.88 |
AWS Cloud Operations & Migrations Blog metadata to get a better understanding of your application costs. You will be able to track the cost over time, provide insights about their trends, and make better investment decisions.
Solution overview
Amazon EventBridge is a serverless event bus service that makes it easy to c... | https://aws.amazon.com/blogs/mt/visualize-application-costs-using-aws-service-catalog-appregistry-and-amazon-quicksight/ | CC-MAIN-2022-33 | refinedweb | 2,006 | 50.57 |
Opened 2 years ago
Closed 2 years ago
#20759 closed Bug (duplicate)
Test DB Creation doesn't create PointField with db_index=True
Description
I want to test my GeoDjango project but by creation of the test database I got following error:
Creating test database for alias 'default'... Failed to install index for map.OSMP... | https://code.djangoproject.com/ticket/20759 | CC-MAIN-2015-48 | refinedweb | 139 | 52.8 |
Introduction
Vite is a build tool developed by Evan You, the author of Vue. It uses native ES Module imports to provide a fast running development environment with no bundling required. Vue3, React and Preact are also supported.
In this article, I'll build a Vue3 project environment using Vite.
You can find the templat... | https://miyauchi.dev/posts/vite-vue3-typescript/ | CC-MAIN-2021-43 | refinedweb | 852 | 51.44 |
[EMAIL PROTECTED] (2002-04-12 at 1217.06 -0400): > I don't currently have a digital camera. I use the new Kodak format and for
Advertising
What Kodak format? Are you talking about typical relfex camera with 35mm film or another thing? > the developing process I request digitized photos. I don't now recall the > size of... | https://www.mail-archive.com/gimp-user@lists.xcf.berkeley.edu/msg01156.html | CC-MAIN-2017-51 | refinedweb | 152 | 78.14 |
Fluent¶
Fluent is an ORM framework for Swift. It takes advantage of Swift's strong type system to provide an easy-to-use interface for your database. Using Fluent centers around the creation of model types which represent data structures in your database. These models are then used to perform create, read, update, and ... | https://docs.vapor.codes/4.0/fluent/overview/ | CC-MAIN-2021-10 | refinedweb | 2,545 | 51.85 |
.
24 thoughts on “Develop Custom Workflow Activity for SharePoint 2010 Workflow”
where do you creat your CreateSurveyList ? Is it a class?
Thanks for the article, I have got to the point where i can see my custom activity in the insert action drop down, however when i click on it it does not get added to the workflow s... | http://sundarnarasiman.net/2010/12/26/develop-custom-workflow-activity-for-sharepoint-2010-workflow/ | CC-MAIN-2017-47 | refinedweb | 837 | 58.58 |
I have a tab separated .txt file that keeps numbers as matrix. Number of lines is 904,652 and the number of columns is 26,600 (tab separated). The total size of the file is around 48 GB. I need to load this file as matrix and take the transpose of the matrix to extract training and testing data. I am using Python, pand... | https://codedump.io/share/UlXrHeIFbGSY/1/loading-a-very-large-txt-file-and-taking-transpose | CC-MAIN-2016-50 | refinedweb | 139 | 69.99 |
Free for PREMIUM members
Submit
Learn how to a build a cloud-first strategyRegister Now.
You are doing it backwards.
2) foreach pointer in this array, create a array to be pointed by this pointer.
int ** pa = new int [n];
for()
....
You can't create a static array with runtime dimensions. You'll need to use a dynamical... | https://www.experts-exchange.com/questions/24290726/How-to-create-a-multi-dimension-array-in-C-Plus-Plus.html | CC-MAIN-2017-51 | refinedweb | 795 | 71.34 |
In this example you will learn about sorting array list in java using an example. By default array list are sorted as the element are inserted into the list. In Java ArrayList extends AbstractList implements List Interface. ArrayList are created with the initial size and exceed when the element increased. This example ... | http://www.roseindia.net/java/beginners/java-arraylist-sort.shtml | CC-MAIN-2014-52 | refinedweb | 255 | 53.27 |
Created on 2009-10-17 21:29 by joe.amenta, last changed 2014-07-03 05:58 by berker.peksag.
Step to reproduce:
$ echo 'file("/some/file")' | python `which 2to3` -
(replace python with whichever python executable version you wish to
use, e.g. ~/python-trunk/python or /usr/local/bin/python3.2 )
Expected result:
Anything r... | https://bugs.python.org/issue7162 | CC-MAIN-2018-30 | refinedweb | 234 | 70.6 |
Gitweb:;a=commit;h=24037a8b69dbf15bfed8fd42a2a2e442d7b0395b Commit: 24037a8b69dbf15bfed8fd42a2a2e442d7b0395b Parent: 688340ea34c61ad12473ccd837325b59aada9a93 Author: Jeremy Fitzhardinge <[EMAIL PROTECTED]> AuthorDate: Tue Jul 17 18:37:04 2007 -0700 Committer: Jeremy Fitzhardinge <[EMAIL PROTECTED]> CommitDate: Wed Jul ... | https://www.mail-archive.com/git-commits-head@vger.kernel.org/msg17881.html | CC-MAIN-2017-30 | refinedweb | 243 | 55.64 |
I am trying to split my profile disk and my diff disk onto two different DFS shares. I have configured the GPO to specify the two different paths. Whenever a user logs in, the diff disks (for both the O365 and Profile containers) are in the same
folder as the profile disks.
In the profile-.log I see:
The log indicates ... | https://social.msdn.microsoft.com/Forums/en-US/0d1ea33c-f9ed-49c8-8e1a-2b03c9455fdd/diff-disk-specifying-different-location-than-profile-disk?forum=FSLogix | CC-MAIN-2020-34 | refinedweb | 111 | 67.15 |
Intruder Alarm: You will need
LED
Active piezo buzzer
Jumper wires
Connect the laser sensor
Think of all those movies where a secret agent or thief has to get past some lasers guarding an object: break the beam and the alarm will go off. That’s what we’ll be doing here.
For this tutorial, we’re using the laser sensor f... | https://magpi.raspberrypi.com/articles/make-an-intruder-alarm-with-raspberry-pi | CC-MAIN-2022-05 | refinedweb | 1,594 | 79.6 |
Opened 7 years ago
Closed 2 years ago
#3050 defect closed fixed (fixed)
t.p.basic.LineReceiver StackOverflow
Description
If a LineReceiver-based protocol switches back and forth between line and data modes several times on the same packet, it can hit the maximum stack recursion depth.
Attached is a patch to fix that in... | http://twistedmatrix.com/trac/ticket/3050 | CC-MAIN-2014-42 | refinedweb | 995 | 60.35 |
A simple tool for building graph databases from multiple relational sources.
Project description
Autoneo
Autoneo makes it easy to build complex graphs in Neo4j.
This tool allows users to represent their graph structure in a JSON schema, with the JSON containing the properties to load into Neo4j but also how to extract ... | https://pypi.org/project/autoneo/ | CC-MAIN-2022-05 | refinedweb | 323 | 66.64 |
when building (any branch) on arm64 the file:
mono/mono/arch/arm64/arm64-codegen.h
contains:
#include "../../../../mono-extensions/mono/arch/arm64/arm64-codegen.h"
but this link does not exist, and make stops with an error message.
Since a package "mono-extensions" does not exist, this #include statement may be wrong.
... | https://bugzilla.xamarin.com/show_bug.cgi?format=multiple&id=38223 | CC-MAIN-2018-30 | refinedweb | 334 | 61.12 |
Extracting just Month and Year from Pandas Datetime column (Python)
I have a Dataframe, df, with the following column:
df['ArrivalDate'] = ... 936 2012-12-31 938 2012-12-29 965 2012-12-31 966 2012-12-31 967 2012-12-31 968 2012-12-31 969 2012-12-31 970 2012-12-29 971 2012-12-31 972 2012-12-29 973 2012-12-29 ...
The elem... | https://python-decompiler.com/article/2014-08/extracting-just-month-and-year-from-pandas-datetime-column-python | CC-MAIN-2019-26 | refinedweb | 532 | 67.45 |
In this tutorial you will learn how to create variables in the Java programming language. Variables are used to store data in a program. A variable is like a ‘container’ that can store a value that can be used within the program. These values can be accessed, used and modified throughout the code.
Examples of values th... | https://www.codemahal.com/video/variables-in-java/ | CC-MAIN-2020-24 | refinedweb | 563 | 61.36 |
I want to parse from the site, but the site does not allow me.
import requests Url = ' Url2 = ' PAYLOAD = { 'username': 'log', 'Password': 'pass' } Headers = { 'User-Agent': 'Mozilla / 5.0 (Windows NT 10.0; Win64; x64) AppleWebKit / 537.36 (KHTML, LIKE GECKO) Chrome / 60.0.3112.113 Safari / 537.36'} With Requests.sessi... | https://computicket.co.za/python-cant-go-to-cabinet-ruobr-ru-via-requests/ | CC-MAIN-2022-21 | refinedweb | 206 | 71 |
Join the community to find out what other Atlassian users are discussing, debating and creating.
Hi guys!
We are running a NPO and as such we do also have a facebook fanpage. I am now looking for a possibility to add facebook information to a confluence page. I have had some success with rss feeds, but it does not give... | https://community.atlassian.com/t5/Confluence-questions/Include-facebook/qaq-p/316511 | CC-MAIN-2019-18 | refinedweb | 363 | 75.71 |
OK, I'm running into a problem when I publish my files to my longhorn server. I am developing this project in VS 2008 "ORCAS". The error is Could not load type 'System.Web.UI.IScriptManager' from assembly 'System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The line of code that the error ha... | https://www.webdeveloper.com/forum/d/165206-longhorn-and-vs-2008-publishing | CC-MAIN-2018-17 | refinedweb | 278 | 75.91 |
This blueprint adds the basic tag catalog back after it was deferred from Juno due to time constraints. The original, approved spec included supporting tag libraries in the metadata definitions catalog. However, at the end of Juno, the original spec was updated to remove tags since they weren’t implemented.
This spec ... | https://specs.openstack.org/openstack/glance-specs/specs/kilo/metadefs-tags.html | CC-MAIN-2019-35 | refinedweb | 1,150 | 54.73 |
24 February 2010 13:54 [Source: ICIS news]
LONDON (ICIS news)--Polypropylene (PP) buyers in Europe will be under heavy pressure to accept higher prices in March as product availability remains restricted, largely due to propylene restraints that have been exacerbated by recent strike action in France, sources said on W... | http://www.icis.com/Articles/2010/02/24/9337653/europe-pp-buyers-face-higher-prices-for-march-amid-tight-supply.html | CC-MAIN-2015-22 | refinedweb | 501 | 62.68 |
from cenpy import products import matplotlib.pyplot as plt %matplotlib inline
chicago = products.ACS(2017).from_place('Chicago, IL', level='tract', variables=['B00002*', 'B01002H_001E'])
Matched: Chicago, IL to Chicago city within layer Incorporated Places
Install it the prerelease candidate using:
pip install --pre ce... | https://nbviewer.jupyter.org/gist/ljwolf/3481aeadf1b0fbb46b72553a08bfc4e6?flush_cache=true | CC-MAIN-2019-18 | refinedweb | 892 | 60.14 |
ASF Bugzilla – Bug 42239
ECDSA signature value interoperability patch.
Last modified: 2009-07-14 04:38:48 UTC
I've recently tried to verify a signature from the austrian citizen
security card (), which uses ECDSA-singatures.
Unfortunately, the code in SignatureECDSA.java passes the
SignatureValue directly to the JCE-pr... | https://bz.apache.org/bugzilla/show_bug.cgi?id=42239 | CC-MAIN-2015-32 | refinedweb | 1,207 | 64.1 |
0
I am trying to learn C++. I wrote a little calculator using class to see if I can do it and give some practice. The following is the code:
#include <iostream> using namespace std; class Calculator { float a, b; public: float add(float, float); float subtract(float, float); float multiply(float, float); float divide(f... | https://www.daniweb.com/programming/software-development/threads/337659/c-class-calculator | CC-MAIN-2018-26 | refinedweb | 188 | 67.08 |
The Python WSGI Utility Library
Werkzeug is a WSGI utility library for Python. It's widely used and BSD licensed.
from werkzeug.wrappers import Request, Response @Request.application def application(request): return Response('Hello World!') if __name__ == '__main__': from werkzeug.serving import run_simple run_simple('... | http://werkzeug.pocoo.org/ | CC-MAIN-2017-43 | refinedweb | 146 | 69.58 |
import "github.com/google/battery-historian/csv"
Package csv contains functions to store battery history events and convert them to and from CSV format.
const ( // FileHeader is outputted as the first line in csv files. FileHeader = "metric,type,start_time,end_time,value,opt" // UnknownWakeup is emitted for running eve... | https://godoc.org/github.com/google/battery-historian/csv | CC-MAIN-2019-35 | refinedweb | 688 | 67.35 |
clock() not working as expected. What's up?allene Jul 27, 2015 10:54 AM
I am trying to get a timestamp (see other thread) and tried the function clock() that should read the system clock. I am printing out the value of clock once a second timed by a GPS input. I can see a steady display of the gps data from a printf st... | https://communities.intel.com/thread/77620 | CC-MAIN-2018-30 | refinedweb | 432 | 81.63 |
This video is only available to subscribers. Start a subscription today to get access to this and 408 other videos.
Using os_log to Log Messages
This episode is part of a series: Unified Logging and Activity Tracing.
Episode Links
Defining Shared OSLog instances
You will likely want to log statements and reuse the same... | https://nsscreencast.com/episodes/344-unified-logging-using-os-log | CC-MAIN-2019-39 | refinedweb | 188 | 51.58 |
Well I didn't have anywhere else to turn, so i came here. I dont know how many people here have actually worked with SDL, but I'm hoping there are a few of you out there that can help me.
I downloaded the file under win32 I think, it ended with a VC6.zip. So I unzip it and find VisualC.html. I read it, and see it says ... | https://cboard.cprogramming.com/c-programming/40893-need-help-setting-up-sdl-msvc-printable-thread.html | CC-MAIN-2017-04 | refinedweb | 347 | 86.81 |
You can prevent unauthorized users from receiving events to which they should not have access. Your event provider can supply instances of its own event classes, just as the System Registry Provider supplies classes such as RegistryKeyChangeEvent. Your event provider can also deliver intrinsic events such as __Instance... | http://msdn.microsoft.com/en-us/library/aa392894(VS.85).aspx | crawl-002 | refinedweb | 428 | 55.03 |
User Tag List
Results 1 to 4 of 4
- Join Date
- Sep 2008
- 7
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
shovell p.243 test fails, browser view works
simply rails 2, chapter 7, p.243 the second stories_controller_test.rb is:
def test_should_show_story_votes_elements
get :show, :id => stories
one)
assert_select 'h2 s... | http://www.sitepoint.com/forums/showthread.php?579413-shovell-p-243-test-fails-browser-view-works&p=4014849&viewfull=1 | CC-MAIN-2014-10 | refinedweb | 461 | 73.58 |
Can someone please explain to me the use of super(t) in the following code. Thanks alot.
import javax.swing.*;
import java.awt.*;
public class ComponentExample(String t){
super(t);
Container cp = getContentPane();
cp.add(new JButton("Click", "North");
pack();
}
Java works in a heirarchy manner, each class is either a p... | http://forums.devx.com/showthread.php?140378-super()-question&p=415574 | CC-MAIN-2015-27 | refinedweb | 327 | 62.58 |
RS232 Fail testuserc_43312 Aug 18, 2017 2:15 PM
Hi,
I just received a PSoC 4 unit to evaluate for a potential project/product. I installed creator 2.2 and I have been looking at videos and examples online.
I tried creating a simple rs232 comunication test. Receive something from an external source and then append a lit... | https://community.cypress.com/thread/21223 | CC-MAIN-2020-40 | refinedweb | 1,005 | 72.36 |
Previous Next
The Plant Creation Wizard can be used to create a new plant
using the appearance of the currently selected plant. This is useful for when
you wish to use an existing plant as a starting point for your own
variations.
Note: Due to their complexity, you cannot
currently create custom variations of UltraRes ... | https://www.ideaspectrum.com/help/2016/plus/plantcreationwizard.php | CC-MAIN-2017-13 | refinedweb | 319 | 64 |
Kotlin provides many advanced grammar features. However, these functions are difficult for beginners to understand, because in many cases, we always use them in conjunction with lambda grammar. Some built-in functions of Kotlin extension are provided in the Source Standard. KT Library of Kotlin to optimize the coding o... | https://www.fatalerrors.org/a/commonly-used-higher-order-functions.html | CC-MAIN-2020-45 | refinedweb | 1,194 | 56.66 |
Errata for Programming Groovy
The latest version of the book is P1.0, released over-Apr-09)
PDF page: 1
I'm reading the mobi version of the book on my kindle, so I don't have a page number. The kindle reports it as location 480-89. The section entitled "Groovy as Lightweight Java" seems to be missing an example after t... | https://pragprog.com/titles/vslg/errata | CC-MAIN-2015-40 | refinedweb | 1,638 | 69.89 |
Man Page
Manual Section... (3) - page: wctomb
NAMEwctomb - convert a wide character to a multibyte sequence
SYNOPSIS
#include <stdlib.h> int wctomb(char *s, wchar_t wc);
DESCRIPTIONIf s is not NULL, the wctomb() function converts the wide character wc to its multibyte representation and stores it at the beginning of th... | http://linux.co.uk/documentation/man-pages/subroutines-3/man-page/?section=3&page=wctomb | CC-MAIN-2014-10 | refinedweb | 249 | 60.85 |
Hi Sir's, I have taken one class with two overloading methods i.e same method name with different number of arguments and i invoke with instance of class i got wrong number of arguments error. please see the below code...... class Person def print_details(name) "Hey My Name is #{name}" end def print_details(name,age) "... | https://www.ruby-forum.com/topic/890619 | CC-MAIN-2017-17 | refinedweb | 945 | 63.8 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.