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 |
|---|---|---|---|---|---|
Opened 3 years ago
Closed 20 months ago
#7993 closed bug (worksforme)
ghc 7.6 (not 7.4) sometimes hangs at child process exit on s390x
Description
On Debian's s390x architecture (64-bit S/390, Linux kernel), builds of several packages hang with GHC 7.6 where they did not hang with GHC 7.4. In particular, ghc itself han... | https://ghc.haskell.org/trac/ghc/ticket/7993 | CC-MAIN-2016-30 | refinedweb | 660 | 69.92 |
How to forecast a time series out-of-sample using an ARIMA model in Python?
I have seen similar questions at Stackoverflow. But, either the questions were different enough or if similar, they actually have not been answered. I gather it is something that modelers run into often, and have a challenge solving.
In my case... | https://quabr.com/67099991/how-to-forecast-a-time-series-out-of-sample-using-an-arima-model-in-python | CC-MAIN-2021-21 | refinedweb | 395 | 60.61 |
As I mentioned in my previous blog, during my experiments with JavaFX I needed to run certain tasks on a separate thread (e.g. calls to a remote web service via Jersey Client API). One can do it in JavaFX using JavaTaskBase class, but I wanted something simpler, something similar to what FXexperience blog suggested. So... | http://blog.alutam.com/2009/08/26/custom-asynchronous-tasks-in-javafx/ | CC-MAIN-2019-09 | refinedweb | 330 | 58.79 |
With all the REST buzz nowadays, using SOAP/WCF services seems so ‘old school’. But the right tool for the right job, so let’s move on and focus on the problem I want to handle: sending large files over WCF(I blogged about this before with some tips, but people keep asking questions, so I describe the process step by s... | http://bartwullems.blogspot.com/2011/01/streaming-files-over-wcf.html | CC-MAIN-2017-26 | refinedweb | 1,699 | 57.87 |
:On Thu, Aug 25, 2005 at 03:09:21PM -0700, Matthew Dillon wrote: :> The entire directory tree does not need to be in memory, only the :> pieces that lead to (cached) vnodes. DragonFly's namecache subsystem :> is able to guarentee this. : :*How* can it guaranty that without reading the whole directory tree in :memory fi... | https://www.dragonflybsd.org/mailarchive/commits/2005-08/msg00393.html | CC-MAIN-2018-05 | refinedweb | 2,122 | 57.1 |
>>."
It's a silly proposition (Score:5, Insightful)
IE's problem is not the engine, it's the shitty interface.
(Ditto about Windows 8, many would say.)
Re: (Score:3, Insightful)
You may call it what you will, (inertia, stubbornness, laziness, unwillingness to change,) but truth is that many people just prefer it and In... | https://tech.slashdot.org/story/13/01/12/0347256/should-microsoft-switch-to-webkit?sdsrc=next | CC-MAIN-2017-13 | refinedweb | 2,495 | 71.24 |
From: Gabriel Dos Reis (gdr_at_[hidden])
Date: 2002-08-17 18:59:35
Some days ago, someone was wondering on this list (sorry, I can't find
the message off hand) whether the following construct
typedef reverse_iterator<T> reverse_iterator;
were valid or not and reported that one of his compiler rejected it.
His compiler ... | https://lists.boost.org/Archives/boost/2002/08/34160.php | CC-MAIN-2019-22 | refinedweb | 127 | 67.86 |
Note: This is part 2 of four-parts Learning GatsbyJs series. This learning post is still in active development and updated regularly.
In the previous post of this learning series, step-by-step procedures to install & set basic Gatsby sites (default starter & default blog) using Gatsby CLI (a npm package) were discussed... | https://tinjurewp.com/jsblog/learning-gatsbyjs-understanding-building-blocks/ | CC-MAIN-2022-05 | refinedweb | 2,559 | 58.08 |
February 2013
Volume 28 Number 02
Windows with C++ - Creating Desktop Apps with Visual C++ 2012
By Kenny Kerr | February 2013.
A follow-up question I inevitably receive is how best to approach desktop app development on Windows and where to begin. Well, in this month’s column, I’m going to explore the fundamentals of c... | https://docs.microsoft.com/en-us/archive/msdn-magazine/2013/february/windows-with-c-creating-desktop-apps-with-visual-c-2012 | CC-MAIN-2021-49 | refinedweb | 3,150 | 59.84 |
Trackback authentication
Jacques Distler:..
Like Scott I am a bit wary about letting MT have my private key. But my objection is not because MT is a third party tool. Even GPG or PGP tools are third party. I am pretty sure not many have gone through its codes. That doesn't prevent one from trusting it.
My objection is ... | http://www.intertwingly.net/blog/2004/03/04/Trackback-authentication | crawl-001 | refinedweb | 2,653 | 61.77 |
- Code: Select all
from random import randint
from time import sleep, time
print('Your battleship is roaming the seas, suddently another battleship is nearing you, and the battle starts.')
man_hits = 0
comp_hits = 0
while man_hits < 2 and comp_hits < 2:
#Man shoot begin
battleshpbx = randint(1, 2)
battleshpby = randint... | http://python-forum.org/viewtopic.php?f=26&t=19795&p=44255 | CC-MAIN-2017-26 | refinedweb | 178 | 51.65 |
Monads as containers
From HaskellWiki
Revision as of 06:47, 9 May 2006
There now exists a translation of this article into Russian!
A monad is a container type together with a few methods defined on it. Monads model different kinds of computations.
Like Haskell lists, all the elements which a monadic container holds at... | http://www.haskell.org/haskellwiki/index.php?title=Monads_as_containers&diff=4033&oldid=4032 | CC-MAIN-2013-20 | refinedweb | 2,726 | 63.63 |
Question:
I've written seven test cases for understanding the behavior of the
finally block. What is the logic behind how
finally works?
package core; public class Test { public static void main(String[] args) { new Test().testFinally(); } public void testFinally() { System.out.println("One = " + tryOne()); System.out.... | http://www.toontricks.com/2019/05/tutorial-understanding-finally-block.html | CC-MAIN-2020-40 | refinedweb | 1,342 | 56.96 |
Cryptography is the ancient science of writing in secret code, and of course, for centuries writing meant pen and paper. Today, cryptography is critically important for modern applications, but what options do we have for cryptography in Swift? Marcin Krzyżanowski outlines existing libraries for cryptography, before pr... | https://academy.realm.io/posts/swift-summit-marcin-krzyzanowski-cryptoswift-cryptography/ | CC-MAIN-2021-17 | refinedweb | 1,645 | 67.45 |
Mapping in BIZTALK
Introduction
There have been many articles in the internet that describes or outline about mapping features in BizTalk. But today in this article we are diving further to know more features that make our document mapping possible to our need.
BizTalk as a windows server product integrates the heterog... | https://www.codeproject.com/Articles/20521/BizTalk-Mapping-Part-I | CC-MAIN-2018-22 | refinedweb | 2,160 | 56.45 |
In [1] the authors look at applying Newton’s root-finding method to the function
f(z) = zp
where p = a + bi. They show that if you start Newton’s method at z = 1, the kth iterate will be
(1 – 1/p)k.
This converges to 0 when a > 1/2, runs around in circles when a = 1/2, and diverges to infinity when a < 1/2.
You can get... | https://www.johndcook.com/blog/2021/01/23/newtons-method-spirals/ | CC-MAIN-2022-40 | refinedweb | 352 | 76.62 |
How many times have you prepared your income tax returns for the previous year, only wishing you knew then what you know now so you could go back and make more advantageous tax decisions? In most cases, you are stuck with the decisions you made before the new tax year began, even though you may not have all of the rele... | https://www.lexology.com/library/detail.aspx?g=ff9c7695-e8af-4793-ac0d-09b5609fe1ee | CC-MAIN-2018-13 | refinedweb | 579 | 55.98 |
Post Syndicated from Bruce Schneier original
Tag Archives: humor
APT Horoscope
Post Syndicated from Bruce Schneier original
This.
Nihilistic Password Security Questions
Post Syndicated from Bruce Schneier original
Posted three years ago, but definitely appropriate for the times.
Friday Squid Blogging: T-Shirt
Post Synd... | https://noise.getoto.net/tag/humor/ | CC-MAIN-2021-39 | refinedweb | 4,521 | 71.04 |
2.2. Data Preprocessing¶
So far we have introduced a variety of techniques for manipulating data
that are already stored in
ndarrays. To apply deep learning to
solving real-world problems, we often begin with preprocessing raw data,
rather than those nicely prepared data in the
ndarray format. Among
popular data analyt... | https://www.d2l.ai/chapter_preliminaries/pandas.html | CC-MAIN-2019-47 | refinedweb | 664 | 59.3 |
In Python, a namespace package allows you to spread Python code among several projects. This is useful when you want to release related libraries as separate downloads. For example, with the directories Package-1 and Package-2 in PYTHONPATH,
Package-1/namespace/__init__.py Package-1/namespace/module1/__init__.py Packag... | https://www.tutorialspoint.com/How-to-create-python-namespace-packages-in-Python-3 | CC-MAIN-2021-43 | refinedweb | 185 | 53.78 |
Quoting Oren Laadan (orenl@librato.com):> +Security> +========> +> .with access mode now, actually.> .That is now possible, and this is done.> .> +However, this can be controlled with a sysctl-variable.> +> +> diff --git a/Documentation/checkpoint/usage.txt b/Documentation/checkpoint/usage.txt> new file mode 100644> in... | https://lkml.org/lkml/2009/7/23/126 | CC-MAIN-2016-30 | refinedweb | 348 | 64.81 |
Raspberry Pi 2 review
The Bottom Line
- Quad-core processor
- 1GB memory
- Runs Linux & Windows 10
- Price
- No support for Android
When the original Raspberry Pi was released in 2012 it kick-started a whole movement of hobbyists, developers, and educationalists who used the platform to create, hack and teach. The Rasp... | http://www.androidauthority.com/raspberry-pi-2-review-588122/ | CC-MAIN-2016-40 | refinedweb | 1,322 | 70.13 |
HEllo,
I wish to have a visual pointer on the border of the screen to indicates in which direction the target is.
Does someone has already done something like this? Or can give me idea on how to solve this?
HEllo,
I wish to have a visual pointer on the border of the screen to indicates in which direction the target is.... | https://discourse.panda3d.org/t/pointer-to-target/11138 | CC-MAIN-2022-27 | refinedweb | 484 | 62.24 |
meaning that you’ll be doing this again soon with a much larger dataset. So, you decide to write a script so that it will be easy to do the analysis again.
Write a Python script that:
grangers_analysis_yourname.csv.
This code should use functions to break the code up into manageable pieces. To help you get started her... | http://www.programmingforbiologists.org/exercises/Combining-the-basics/ | CC-MAIN-2019-09 | refinedweb | 139 | 66.03 |
I am attempting to download a dataset for some analyses study. When I start the stream I get an error “”{“errors”:[{“message”:“SSL is required”,“code”:92}]}". I realise I have to set up a SSL certificate. But as a newbe, the documentation is of no help. Can someone explain in simple terms what AND how I set this up. Ma... | https://twittercommunity.com/t/creating-an-ssl-connection/29218 | CC-MAIN-2019-09 | refinedweb | 241 | 76.93 |
One of the things I showed at the WPUG meeting was accessing XNA APIs from Silverlight. In some cases because it’s the only way to achieve what you need (eg access to the microphone) and in others because it makes your life easier (eg gestures). In this post I’ll cover microphone access from Silverlight. Peter Foot’s b... | http://blogs.msdn.com/b/mikeormond/archive/2010/08/27/xna-from-silverlight-on-windows-phone-7-the-microphone.aspx | CC-MAIN-2015-32 | refinedweb | 702 | 59.9 |
iStreamSource Struct Reference
This interface represents a stream source. More...
#include <imap/streamsource.h>
Detailed Description
This interface represents a stream source.
This can be implemented by the application to implement faster loading of data. Basically the idea is to have some kind of 'id' that represents... | http://www.crystalspace3d.org/docs/online/api-1.4.1/structiStreamSource.html | CC-MAIN-2016-18 | refinedweb | 188 | 60.92 |
How to tell if mysensors library starts up successfully?
I would like to turn on a LED if a node cannot find the gateway (e.g. if the distance is too large) when the node is powered up. How can that be done?
I understand that the send command returns a Boolean that tells whether a message reached the gateway. However, ... | https://forum.mysensors.org/topic/7858/how-to-tell-if-mysensors-library-starts-up-successfully/7?lang=en-US | CC-MAIN-2021-49 | refinedweb | 230 | 81.53 |
I have an object with a single material that has 6 textures assigned to it. I want to randomize the active index, while deactivating the other 5. Is this possible with bpy?
Is it possible to randomize the active texture index of a given material with python.
here a snippet but maybe this is for BGE or you want do in mu... | https://blenderartists.org/t/is-it-possible-to-randomize-the-active-texture-index-of-a-given-material-with-python/646845 | CC-MAIN-2020-50 | refinedweb | 103 | 51.95 |
Wow, I remember wearing out a few of the K&R books, and for the old people like me you know what I mean. Although I was much more of a BASIC programmer, as much of my work early on was in test systems and BASIC was used a lot on those machines. I did do my time with the C Language.
Funny these days, 70 seems young, esp... | http://blogs.msdn.com/b/devschool/archive/2011/10/17/dennis-ritchie-creator-of-c-programming-language-passes-away.aspx | CC-MAIN-2015-32 | refinedweb | 184 | 79.19 |
#include <CGAL/Barycentric_coordinates_2/Mean_value_coordinates_2.h>
2D mean value coordinates.
This class implements 2D mean value coordinates ( [5], [2], [3] ), which can be computed at any point in the plane.
Mean value coordinates are well-defined everywhere in the plane and are non-negative in the kernel of a star... | https://doc.cgal.org/latest/Barycentric_coordinates_2/classCGAL_1_1Barycentric__coordinates_1_1Mean__value__coordinates__2.html | CC-MAIN-2022-27 | refinedweb | 145 | 51.24 |
=0
Java count words from file
Java count words from file
In this section, you will learn how to determine the number of words present
in the file.
Explanation:
Java has provides several... by using the StringTokenizer class, we can easily
count the number of words count frequency of words in the string
Java count frequ... | http://www.roseindia.net/tutorialhelp/comment/41180 | CC-MAIN-2014-41 | refinedweb | 1,608 | 54.52 |
By Beyang Liu on February 27, 2017
Update: Part 2 of this series is now published.
Sourcegraph lets you view any line of code in your web browser with all the navigation features of an IDE and more. That includes both classic abilities — like jump-to-definition, find-references, tooltips, and symbol search — and novel ... | https://about.sourcegraph.com/blog/part-1-how-sourcegraph-scales-with-the-language-server-protocol/ | CC-MAIN-2018-47 | refinedweb | 1,314 | 51.48 |
Hey All
I want to create a simple dice golf game in C#
The basic idea is:
A player rolls 3 random dice until they roll a double
The number of rolls taken until a double is rolled is calculated and displayed on the console
This is run 18 times until all 18 holes are completed
Final score is displayed on the console
I st... | https://www.daniweb.com/programming/software-development/threads/190551/c-dice-game | CC-MAIN-2017-17 | refinedweb | 204 | 52.26 |
use a unique hidden form variable to detect and prevent
duplicate submission of the same form, when the consequences warrant.
It works like this:
# Generate the form:
self.write('''
<form method="post" ...>
%s
...
</form>
''' % (self.postId(), ...))
# Before processing the POSTed form data:
if self.isReposted():
... d... | https://sourceforge.net/p/webware/mailman/webware-discuss/?viewmonth=200312&viewday=11 | CC-MAIN-2017-13 | refinedweb | 702 | 52.36 |
09 February 2011 10:59 [Source: ICIS news]
LONDON (ICIS)--INEOS has declared force majeure on supplies of high density polyethylene (HDPE) from its facility at ?xml:namespace>
INEOS declared force majeure on the evening of 8 February, the source said.
The company already has a declaration of force majeure in place on H... | http://www.icis.com/Articles/2011/02/09/9433501/ineos-declares-force-majeure-on-hdpe-supplies-from-lillo.html | CC-MAIN-2014-35 | refinedweb | 284 | 60.35 |
Coding4Fun - Never miss a message again
- Posted: Feb 28, 2010 at 5:09 PM
- 2,229 Views
- 9 Comments
Something went wrong getting user information from Channel 9
Something went wrong getting user information from MSDN
Something went wrong getting the Visual Studio Achievements.
In this article, you'll learn how to crea... | http://channel9.msdn.com/coding4fun/articles/Coding4Fun-Never-miss-a-message-again | CC-MAIN-2013-48 | refinedweb | 1,584 | 55.13 |
YouTube API, Version 3 on Rails
A while ago, I penned an article on using YouTube on Rails, explaining the basics of interacting with the YouTube API. The previous article covered how to fetch video information and use the YouTube IFrame API to manipulate video player. Later, another article, Uploading Videos to YouTub... | https://www.sitepoint.com/youtube-api-version-3-rails/ | CC-MAIN-2018-17 | refinedweb | 5,169 | 65.52 |
A package that creates and manipulates screen overlays based on tkinter.
Project description
Overlay
A package that creates and manipulates screen overlays based on tkinter.
Platforms
- Mac OS (tested and works)
- Linux (not tested)
- Windows (tested and does not work)
Installation
pip install overlay
Usage
A basic ove... | https://pypi.org/project/overlay/ | CC-MAIN-2020-50 | refinedweb | 402 | 52.76 |
#include <MANCHESTER.h>#define TxPin 4 //the digital pin to use to transmit dataunsigned int ON = 1010; //the 16 bits to sendunsigned int OFF = 0000; //the 16 bits to sendvoid setup() { MANCHESTER.SetTxPin(TxPin); // sets the digital pin as output default 4}void loop() { MANCHESTER.Transmit(ON); delay(1000); MANCHESTER... | http://forum.arduino.cc/index.php?topic=149928.msg1140229 | CC-MAIN-2015-18 | refinedweb | 207 | 59.4 |
import model StandardListItem { title: ListItemData.firstname + " " + ListItemData.lastname imageSource: ListItemData.image description: ListItemData.title } } // end of ListItemComponent ] } // end of ListView attachedObjects: [ GroupDataModel { id: dataModel }, DataSource { id: dataSource // Load the data from an SQL... | http://developer.blackberry.com/native/documentation/device_platform/data_access/using_data_source.html | CC-MAIN-2017-22 | refinedweb | 740 | 52.29 |
.
Here are the questions
So, fire on. Any insight on this matter could be valuable.
Thanks in advance.
_ _ _ _
(_|| | |(_|><
_|
* Why is the Perl testing infrastructure so effective?
Because Schwern made it that way, and it was good. :)
* If I wanted to export some of the qualities of Perl testing to a non-Perl product... | http://www.perlmonks.org/index.pl?node_id=579983 | CC-MAIN-2017-17 | refinedweb | 1,469 | 71.95 |
Mouse vs. Keyboard - Determining Click Initiator Using A jQuery Custom Event
When filling out online forms, I love to use my keyword as a means to both provide information as well as to navigate from form field to form field. This works great; but from time to time, an "itchy Tab finger" causes me to accidentally hit "... | http://www.bennadel.com/blog/2369-mouse-vs-keyboard---determining-click-initiator-using-a-jquery-custom-event.htm | CC-MAIN-2016-07 | refinedweb | 1,471 | 62.48 |
My problem is about get a binary stream of bitmap. I'd like to saving the bitmap into my file through std::ofstream stream.Before, I saved my bitmap to file and then read it so I got (char*)buffer which I could include to my file. But this idea is not very optimal so I want to bypass it.
I tried two ways, but anyone di... | https://www.allegro.cc/forums/thread/616035 | CC-MAIN-2021-49 | refinedweb | 700 | 74.9 |
Instant Standard
"When people ask me what we're doing to drive standards, I tell them to go to hell", says James Barry, the new CTO for Jabber, Inc. But there's a twinkle in his voice as he adds the URL: " Hades.jabber.org/ietf". That's where Jabber.org has posted Jabber-rfc, an informational "working document", also k... | http://www.linuxjournal.com/article/5838?quicktabs_1=2 | CC-MAIN-2016-26 | refinedweb | 1,663 | 64.41 |
NAME
poll - synchronous I/O multiplexing
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <poll.h> int poll(struct pollfd fds[], nfds_t nfds, int timeout);
DESCRIPTION
The poll() system call examines a set of file descriptors to see if some of them are ready for I/O. The fds argument is a pointer to an array of... | http://manpages.ubuntu.com/manpages/intrepid/man2/poll.2freebsd.html | CC-MAIN-2015-35 | refinedweb | 170 | 66.03 |
A transducer is a composable way of processing a series of values. Many basic transducers correspond to functions you may be familiar with for processing
Lists.
Transducers can be used to combine processing operations in a way that allows processing to be done more efficiently.
When using
List.map, it is more efficient... | https://package.frelm.org/repo/208/1.0.0 | CC-MAIN-2019-09 | refinedweb | 287 | 60.72 |
Frequently Asked Questions¶
Here we try to give some answers to questions that regularly pop up on the mailing list.
What is the project name (a lot of people get it wrong)?¶
scikit-learn, but not scikit or SciKit nor sci-kit learn. Also not scikits.learn or scikits-learn, which were previously used.
Why scikit?¶
There... | https://scikit-learn.org/0.21/faq.html | CC-MAIN-2022-21 | refinedweb | 2,619 | 54.12 |
Explore how the accuracy of your
monte_carlo_pi(N) integration varies with N. To do this, you will call
monte_carlo_pi(N) function 100 times for each of the following values of N [10, 20, 50, 100, 200, 500, 1000, 2000, 5000, 10000]. Then for each N value, calculate the average and standard deviations of your estimates.... | https://discuss.codecademy.com/t/python-help/440038 | CC-MAIN-2019-43 | refinedweb | 326 | 66.23 |
can any one help the approach how to handle better ways for Re-usable REST Request (Test Steps) in multiple test cases
I have a scenarios where i need to Re-Use REST Requests in Multiples of test cases as Test Steps
What is the Best approach for this solution on ReadyAPI,
I am using Ready API 2.6v
Solved!
Go to Solutio... | https://community.smartbear.com/t5/SoapUI-Pro/Reusable-REST-Request-approach/m-p/181636 | CC-MAIN-2019-39 | refinedweb | 180 | 81.33 |
In NLP, the pipeline is the concept of integrating various text processing components together such that, the output of one component serves as the input for the next component. Spacy provides built-in functionality of pipelines that can be set up quite easily. In this tutorial, we will take you through the features of... | https://machinelearningknowledge.ai/spacy-nlp-pipeline-tutorial-for-beginners/ | CC-MAIN-2022-33 | refinedweb | 1,846 | 50.23 |
The 'Trick' To Algorithmic Coding Interview Questions (dice.com) 208
Nerval's Lobster writes: Ah, the famous "Google-style" algorithmic coding interview. If you've never had one of these interviews before, the idea is to see if you can write code that's not only correct, but efficient, too. You can expect to spend lots... | https://developers.slashdot.org/story/15/11/06/1850251/the-trick-to-algorithmic-coding-interview-questions | CC-MAIN-2017-34 | refinedweb | 6,864 | 70.84 |
I have looked on Stack Overflow everywhere but I cant find a solution to this problem.
Given that I have a folder/file as string:
"/path1/path2/path3/file"
"/path1/path2/path3"
"/path1/path2"
['path1', 'path2', 'path3']
"/path1/path2/path3"
os.path.dirname() (doc) is the way to go. It returns the directory which contai... | https://codedump.io/share/sLqYEgr9x29m/1/path-manipulation-in-python | CC-MAIN-2016-50 | refinedweb | 163 | 55.13 |
Content Count18
Joined
Last visited
About jasonsturges
- RankMember
- Birthday December 21
Contact Methods
- Website URL
Profile Information
- GenderMale
- LocationDes Moines, Iowa
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
jasonsturges reacted to a post in a to... | https://www.html5gamedevs.com/profile/35353-jasonsturges/ | CC-MAIN-2020-45 | refinedweb | 650 | 51.04 |
Can I use Flash classes in Flex?Jamal_Soueidan Jul 30, 2007 11:11 AM
Hello,
This content has been marked as final. Show 12 replies
1. Re: Can I use Flash classes in Flex?peterent Aug 4, 2007 6:14 AM (in response to Jamal_Soueidan)First, to attempt this you should use Flash CS3 so that you are using ActionScript 3 in bo... | https://forums.adobe.com/thread/70719 | CC-MAIN-2017-30 | refinedweb | 1,334 | 73.47 |
Imagine you are using TestComplete on a home made calculator, and you want to confirm it's computing 2+2 correctly (answer should be 4).
You have a script, "Compare.py" that should looks something like:
def CompareAnswer(n):
if n == 4:
return true // test continues
return false // this should cause the test to fail/sto... | https://community.smartbear.com/t5/TestComplete-General-Discussions/How-to-pass-a-value-back-to-a-TestComplete-script/m-p/141387/highlight/true | CC-MAIN-2021-21 | refinedweb | 399 | 67.45 |
LED blink using timer
In this tutorial, you’ll try a new way to blink the LED - blink using a timer.
Learning goals
- Learn how to use a timer to trigger the interrupt.
- Blink the LED using timer.
🔸Background
What is a timer?
You've known the interrupt caused by the pin state change in the previous tutorial. An inter... | https://docs.madmachine.io/tutorials/swiftio-circuit-playgrounds/modules/led-timer | CC-MAIN-2022-21 | refinedweb | 462 | 69.79 |
@appnest/web-router@appnest/web-router
A powerful web component router A router interprets the browser URL and navigates to a specific views based on the configuration. This router is optimized for routing between web components. If you want to play with it yourself, go to the playground. Go here to see a demo.
😴Lazy ... | https://www.npmjs.com/package/@appnest/web-router | CC-MAIN-2022-33 | refinedweb | 2,451 | 50.63 |
18 April 2008 11:16 [Source: ICIS news]
By John Richardson
SINGAPORE (ICIS news)--The consensus view is that the world will return to normal in 2012, justifying another wave of big capacity to satisfy voracious demand growth in emerging markets.
?xml:namespace>
This view was very much in evidence at the recent National... | http://www.icis.com/Articles/2008/04/18/9117202/insight-multiple-scenarios-for-global-chemicals.html | CC-MAIN-2015-06 | refinedweb | 968 | 55.27 |
Take a look at the example in Figure 8.3, ButtonProject.java, which is designed to show how to handle events in SWT applications. When you click the button in this project, the application catches that event and then the message “Thanks for clicking.” appears in the Text widget.
This application starts by creating the ... | https://www.safaribooksonline.com/library/view/javatm-after-hours/0672327473/0672327473_ch08lev1sec4.html | CC-MAIN-2018-34 | refinedweb | 106 | 68.36 |
Your First tvOS App with Fire
The first time you start Fire, before opening or starting a new project, it will present you with the Welcome Screen, pictured below. You can also always open up the Welcome screen via the "Window|Welcome" menu command or by pressing ⇧⌘1.
In addition to logging in to your remobjects.com ac... | https://docs.elementscompiler.com/Tutorials/FirstApp/Fire/tvOS/ | CC-MAIN-2020-45 | refinedweb | 3,428 | 67.08 |
>>?
People buy that stuff? (Score:1)
The masquerading program for Windows is $160 for 20 client boxes. My lord. I could throw together an old 486 for hardly a penny more and have it performing the same task with a _real_ OS.
Re:100kb Microkernel? (Score:1)
Total: 22,392K
Paged: 14,624K
Nonpaged: 7,768K
On a WinNT serve... | https://slashdot.org/story/99/07/08/1224215/petros---nt-alternative | CC-MAIN-2018-13 | refinedweb | 6,300 | 74.49 |
I have a dictionary I wish to turn into a list containing lists so that I can write into a csv, but what ever I do, it doesn't work.
I used sorted(dllist.items()) to sort them as
[(key1, value1), (key2, value2), ... ,(keyN, valueN)]
dict = [('aaa', [5787, 40, 1161, 1222]),
('aab', [6103, 69, 810, 907]),
('aac', [3081, ... | https://codedump.io/share/wBWBTvGYADIu/1/dictionary-to-list-with-lists-inside-and-print-to-csv | CC-MAIN-2017-04 | refinedweb | 164 | 87.15 |
Encaps.
The namespace declaration URI as a constant.
The value is,.
The XML Namespace URI as a constant.
The value is
as defined in the "Namespaces in XML" * recommendation.
This is the Namespace URI that is automatically mapped to the "xml" prefix.
Create a new Namespace support object.
Declare a Namespace prefix. All... | http://developer.android.com/reference/org/xml/sax/helpers/NamespaceSupport.html | CC-MAIN-2015-32 | refinedweb | 360 | 50.33 |
Introduction
Here I will explain how to get title & meta description of url in asp.net using C# and VB.NET or get page title and description from page url in asp.net using HTMLAgilityPack in C# and VB.NET.
Description
In previous articles I explained jQuery Get Current Page url & title, Get url parameter values using j... | http://www.aspdotnet-suresh.com/2013/05/get-title-and-meta-description-of-url.html | CC-MAIN-2018-13 | refinedweb | 361 | 73.98 |
Dear community, once again I’d like to start by offering my thanks to everyone for their patience through an unclear situation. We’re grateful for the dedication and commitment many of you have shown through all this and it once again serves as another reminder of just how awesome our community is.
Like everyone else w... | https://blogs.unity3d.com/jp/2010/07/02/unity-and-ios-4-0-update-iii/ | CC-MAIN-2019-35 | refinedweb | 10,308 | 69.52 |
When learning about a new framework we often see trivial demos depicting the framework’s basic features, for example the well-known TodoMVC Application. And that’s great — I mean who doesn’t like Todo apps, right? Well today, we’re going to take a slightly different tack. We’re going to shun the generic and instead foc... | https://www.sitepoint.com/composition-aurelia-report-builder/?utm_source=sitepoint&utm_medium=articletile&utm_campaign=likes&utm_term=javascript | CC-MAIN-2017-47 | refinedweb | 3,048 | 56.05 |
Smalltalk had something called blocks. Blocks were nothing more then to be able to create an object containing some statements, just like the statements you put between '{' and '}'.
To put it in Java syntax:
Block myBlock = {
System.out.println("This is a test");
// do something else
// put code here whatever you like
... | http://archive.oreilly.com/cs/user/view/cs_msg/25737 | CC-MAIN-2017-17 | refinedweb | 513 | 51.24 |
21 August 2012 17:08 [Source: ICIS news]
LONDON (ICIS)--Low water levels in the river Rhine in Germany have led ship owners and charterers to achieve higher freight rates on barge journeys, sources said on Tuesday.Continued hot weather across Europe has seen water levels on the ?xml:namespace>
“On current water levels,... | http://www.icis.com/Articles/2012/08/21/9588794/barge-rates-increase-on-low-river-rhine-water-levels.html | CC-MAIN-2014-49 | refinedweb | 202 | 51.41 |
Multiplatform.
A simple podcast aggregator.
Podget is a simple podcast aggregator optimized for running as a scheduled background job (i.e. cron), with support for categories & folders, importing servers from OPML lists & iTunes PCAST files, exporting an OPML file, automatic playlist creation and cleanup. Updated in Ve... | https://sourceforge.net/directory/language%3Ashell/os%3Awindows/?sort=update&page=6 | CC-MAIN-2018-17 | refinedweb | 823 | 55.84 |
This command is used to put objects onto or off of the active list. If none of the five flags [-add, -af, -r, -d, -tgl] are specified, the default is to replace the objects on the active list with the given list of objects. When selecting a set as in select set1, the behaviour is for all the members of the set to becom... | http://www.luma-pictures.com/tools/pymel/docs/1.0/generated/functions/pymel.core.general/pymel.core.general.select.html#pymel.core.general.select | crawl-003 | refinedweb | 526 | 59.09 |
JavaScript.
import { Chart, StepLineSeries, DateTime } from '@syncfusion/ej2-charts'; Chart.Inject(Chart, StepLineSeries, DateTime); let chart: Chart = new Chart({ primaryXAxis: { valueType: 'DateTime' }, series:[{ type: 'StepLine', dataSource: [ { x: new Date(1975, 0, 1), y: 16 }, { x: new Date(1980, 0, 1), y: 12.5 },... | https://www.syncfusion.com/javascript-ui-controls/js-charts/chart-types/stepline-chart | CC-MAIN-2020-45 | refinedweb | 147 | 80.72 |
Meaningful VC Exits
Can your startup generate venture-scale returns?
The purpose of this post is, with the help of some venture math and a bunch of frequently made assumptions, to derive the size in term of revenues that a company has to achieve in a 5–7 years time window to be regarded as attractive for VC investment.... | https://medium.com/jme-venture-capital/meaningful-vc-exits-2bb5702776e2 | CC-MAIN-2019-26 | refinedweb | 1,522 | 51.41 |
Created attachment 69830 [details]
full journald log
Fedora 18 (systemd-195-2.fc18) running on OLPC XO laptops.
We ship a udev rule that renames eth* network interfaces when they are found.
KERNEL=="eth*", PROGRAM="olpc_eth_namer", NAME="%c"
This rule is no longer working, the renames fail with error:
systemd-udevd[258... | https://bugs.freedesktop.org/show_bug.cgi?id=56929 | CC-MAIN-2017-26 | refinedweb | 1,304 | 65.22 |
.
Introduction.
Phaser is a hot new HTML5 game development framework with a dedicated community, so if you haven't heard about it yet you should definitely give it a try!
Related Posts
What is Phaser?
Phaser is a framework for building both desktop and mobile HTML5 games. It was created by Photon Storm. The framework i... | http://gamedevelopment.tutsplus.com/tutorials/getting-started-with-phaser-building-monster-wants-candy--cms-21723?WT.mc_id=Tuts+_website_relatedtutorials_sidebar | CC-MAIN-2016-22 | refinedweb | 5,342 | 64.81 |
Home › Forums › WinForms controls › Other WinForms controls › Text Selection on Focus in WinTextBox
- AuthorPosts
- User (Old forums)MemberSeptember 13, 2006 at 10:37 amPost count: 23064
Hi,
we converted our project to .NET2.0 and found out that TextBoxes behave differently than in 1.1… when tabbing to them, the conten... | https://forums.xceed.com/forums/topic/Text-Selection-on-Focus-in-WinTextBox/ | CC-MAIN-2021-25 | refinedweb | 530 | 56.86 |
Programming.
Data forms an integral part of the lives of Data Scientists. From the number of passengers in an airport to the count of stationary in a bookshop, everything is recorded today in form of digital files called databases. Databases are nothing more than electronic lists of information. Some databases are simp... | https://medium.com/analytics-vidhya/programming-with-databases-in-python-using-sqlite-4cecbef51ab9 | CC-MAIN-2019-22 | refinedweb | 2,365 | 56.86 |
Pandas-based Data Handler for VCF, BED, and SAM Files
Project description
pdbio
Pandas-based Data Handler for VCF, BED, and SAM Files
Installation
$ pip install -U pdbio
Python API
Example of API call
from pprint import pprint from pdbio.vcfdataframe import VcfDataFrame vcf_path = 'test/example.vcf' vcfdf = VcfDataFram... | https://pypi.org/project/pdbio/ | CC-MAIN-2020-05 | refinedweb | 165 | 52.15 |
Using the Caché Gateway for .NET
Gateway Architecture
[Back]
Server:
docs1
Instance:
LATEST
User:
UnknownUser
[
] >
[
Caché Language Bindings and Gateways
] >
[
Using the Caché Gateway for .NET
] >
[
Gateway Architecture
]
Go to:
Using Proxy Classes
Using Wrapper Classes with .NET APIs
Creating and Running a Gateway Se... | http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=BGNT_arch | CC-MAIN-2017-17 | refinedweb | 967 | 59.6 |
!
Import Platform API
Let’s start with making some small code changes - then our app will “just work” when we deploy it to a device.
Import the Ionic Platform API into
photo.service.ts, which is used to retrieve information about the current device. In this case, it’s useful for selecting which code to execute based on... | https://ionicframework.com/jp/docs/es/angular/your-first-app/5-adding-mobile | CC-MAIN-2020-10 | refinedweb | 576 | 57.47 |
Querying Views¶
View Object¶
- class
couchbase.views.iterator.
View[source]¶
__init__(parent, design, view, row_processor=None, include_docs=False, query=None, streaming=True, **params)[source]¶
Construct Bucket object. for result in View(c, "beer", "brewery_beers"): print("emitted key: {0}, doc_id: {1}" .format(result... | https://pythonhosted.org/couchbase/api/views.html | CC-MAIN-2022-27 | refinedweb | 1,465 | 57.16 |
Balanced match source code analysis
text
0. Basic information
0.1 Usage
The goal of the balanced match library is very simple: match the first pair of strings that meet the conditions, and disassemble them into three parts: front, middle and back
0.2 Version: v2.0.0
This library is relatively stable, and there is nothi... | https://programmer.group/balanced-match-source-code-analysis.html | CC-MAIN-2021-49 | refinedweb | 690 | 73.98 |
My question is: How can I write an IPython cell magic which has access to the namespace of the IPython notebook?
IPython allows writing user-defined cell magics. My plan is creating a plotting function which can plot one or multiple arbitrary Python expressions (expressions based on Pandas Series objects), whereby each... | https://codedump.io/share/h0NdK4BKhGM8/1/ipython-notebook-how-to-write-cell-magic-which-can-access-notebook-variables | CC-MAIN-2018-05 | refinedweb | 181 | 66.64 |
The Absent Yet Present Link
August 14, 2002.
As is often the case, however, reaction to a new W3C specification, even a very early draft, exposed a venerable, enduring fault line in the XML world, namely, the split between XML users and XML core developers. In this case, we'll let the former be represented by the weblo... | http://www.xml.com/pub/a/2002/08/14/deviant.html | CC-MAIN-2017-13 | refinedweb | 1,146 | 63.19 |
get different alternatives for OTA programming with the ESP32 boards. For example, in the Arduino IDE, under the Examples folder, there is the BasicOTA example (that never worked well for us); the OTA Web Updater (works well, but it is difficult:
- Iclude the AsyncElegantOTA, AsyncTCP and ESPAsyncWebServer libraries i... | https://randomnerdtutorials.com/esp32-ota-over-the-air-vs-code/ | CC-MAIN-2021-25 | refinedweb | 168 | 51.18 |
A c# implementation of duck typing:
- An interface defined by me to express my expected behaviors of duck, IMyDuck.
- An object from others that I want to consume. Let’s call its type OtherDuck.
- A function that checks if Duck has all the members of IMyDuck.
- A function (a proxy factory) that generates a proxy that i... | http://weblogs.asp.net/lichen/a-c-implementation-of-duck-typing | CC-MAIN-2015-18 | refinedweb | 265 | 58.69 |
C Loops: For, While, Do While, Break, Continue with Example
What are Loops?
In looping, a program executes the sequence of statements many times until the stated condition becomes false. A loop consists of two parts, a body of a loop and a control statement. The control statement is a combination of some conditions tha... | https://www.thehackingcoach.com/c-loops-for-while-do-while-break-continue-with-example/ | CC-MAIN-2022-40 | refinedweb | 1,808 | 70.73 |
“Scope” has got to be one of the most confusing words in all of programming language design. People seem to use it casually to mean whatever is convenient at the time; I most often see it confused with lifetime and declaration space. As in “the memory will be released when the variable goes out of scope”.
In an informa... | https://blogs.msdn.microsoft.com/ericlippert/2009/08/03/whats-the-difference-part-two-scope-vs-declaration-space-vs-lifetime/ | CC-MAIN-2016-40 | refinedweb | 2,165 | 66.57 |
C# Constants
- Constants are not variables but these are similar to variables.
- These variable’s values cannot be changed throughout its lifetime.
- We prefix a variable with the [const] keyword to make it a constant variable.
- We cannot assign any value of a variable (non-constant) to a constant.
Example:
using Syst... | https://tutorialstown.com/csharp-constants/ | CC-MAIN-2018-43 | refinedweb | 188 | 52.97 |
User:RAHB/Talk Archive)
Poo Lit Surprise
I'm sending you this because you are signed up to judge the Poo Lit Surprise. If you no longer want to judge or are incapable of, please tell me as soon as possible. If you're still good to go,, or if these rules are not cognizant within you.
Thank you again for your valued part... | http://uncyclopedia.wikia.com/wiki/User:RAHB/Talk_Archive_6 | CC-MAIN-2015-18 | refinedweb | 6,872 | 83.25 |
Tips for using Eclipse with Jython
After you hopefully read the article about setting up Eclipse for Maximo Jython development, there are some Tips & Tricks to get the best results from using Eclipse in combination with Jython. A short summary can be found here:
Undefined Variables
You often use so called implicit vari... | https://www.maximoscripting.com/2015/07/ | CC-MAIN-2022-27 | refinedweb | 743 | 62.98 |
Run-length encoding in Python
Recently I discussed run-length encoding and DEFLATE compression. I never actually showed a Python implementation of a run-length encoder, so here’s one now.
import itertools as its def ilen(it): '''Return the length of an iterable. >>> ilen(range(7)) 7 ''' return sum(1 for _ in it) def ru... | http://wordaligned.org/articles/runlength-encoding-in-python | CC-MAIN-2016-07 | refinedweb | 449 | 56.76 |
US5235551A - Memory addressing scheme - Google PatentsMemory addressing scheme Download PDF
Info
- Publication number
- US5235551AUS5235551A US07638688 US63868891A US5235551A US 5235551 A US5235551 A US 5235551A US 07638688 US07638688 US 07638688 US 63868891 A US63868891 A US 63868891A US 5235551 A US5235551 A US 52355... | https://patents.google.com/patent/US5235551A/en | CC-MAIN-2018-26 | refinedweb | 6,446 | 53.71 |
Jifty::API - Manages and allow reflection on the Jifty::Actions that make up a Jifty application's API
# Find the full name of an action my $class = Jifty->api->qualify('SomeAction'); # Logged users with an ID greater than 10 have restrictions if (Jifty->web->current_user->id > 10) { Jifty->api->deny('Foo'); Jifty->api... | http://search.cpan.org/~jesse/Jifty/lib/Jifty/API.pm | CC-MAIN-2015-06 | refinedweb | 531 | 56.35 |
In 2020, two significant IT platforms converge. On the one hand, Spark 3 becomes available with the support of Kubernetes as a scheduler. On the other hand, VMware releases project Pacific which is an industry-grade Kubernetes that is natively integrated with the VMware vSphere 7 hypervisor. In this session, we present... | https://databricks.com/session_na20/simplify-and-boost-spark-3-deployments-with-hypervisor-native-kubernetes | CC-MAIN-2021-21 | refinedweb | 3,321 | 57.71 |
import re p = re.compile("[a-z]") for m in p.finditer('a1b2c3d4'): print(m.start(), m.group())
Taken from
span() returns both start and end indexes in a single tuple. Since the match method only checks if the RE matches at the start of a string, start() will always be zero. However, the search method of RegexObject ins... | https://pythonpedia.com/en/knowledge-base/250271/python-regex---how-to-get-positions-and-values-of-matches | CC-MAIN-2020-29 | refinedweb | 177 | 78.85 |
01 July 2010 11:16 [Source: ICIS news]
MOSCOW (ICIS news)--Russia’s Sibur has begun expandable polystyrene (EPS) sales contract talks ahead of the material being produced at one of its subsidiaries, it said on Thursday.
A new 50,000 tonne/year EPS facility at Sibur-Khimprom, using ?xml:namespace>
Sibur-Khimprom was als... | http://www.icis.com/Articles/2010/07/01/9372724/russias-sibur-in-eps-contract-sales-talk-ahead-of-unit-start-up.html | CC-MAIN-2015-06 | refinedweb | 102 | 72.87 |
While learning C programming language one of the most exciting parts is writing and reading a file. Because these operations create something on the operating system we can see which is different from other examples. In this tutorial, we will look at different aspects of file operations.
stdio.h Library
As we know C pr... | https://www.poftut.com/c-file-operations-open-write-close-files/ | CC-MAIN-2022-27 | refinedweb | 545 | 82.54 |
Even since I was a kid, I loved puzzles. One of the reasons I got involved with maths and computers was probably this strange attraction to the "puzzled" state of mind - stress, frustration, and then... the incredible elation of figuring it out...
One of the geometry puzzles I've found that was particularly enjoyable w... | http://users.softlab.ntua.gr/~ttsiod/ladders.html | CC-MAIN-2014-42 | refinedweb | 3,537 | 74.49 |
Fugue Icons
This is a set of web icons, created by Yusuke Kamiyamane and provided by him on a Creative Commons Attribution 3.0 license.
The icons have been merged together into a single file using the script included in this package, to make them easier to use as CSS sprites in web applications.
Also, some glue code th... | https://bitbucket.org/thesheep/fugue-icons/src | CC-MAIN-2019-04 | refinedweb | 326 | 55.34 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.