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 |
|---|---|---|---|---|---|
For Day 13, the challenge is to figure out a safe path through some moving "scanners". My Python solution is below:
import itertools layers = {} max_depth = 0 with open("input.txt", "r") as o: for line in o.readlines(): depth, r = line.strip().split(": ") layers[int(depth)] = int(r) max_depth = int(depth) def check(lay... | https://blog.jscott.me/advent-of-code-day-13/ | CC-MAIN-2018-43 | refinedweb | 187 | 63.39 |
Basic security features on Red Hat OpenShift Container Platform
Cloud Pak for Data builds on OpenShift® security features that protect sensitive customer data with strong encryption controls and improve access control across applications and the platform.
Features
Red Hat® OpenShift Container Platform enables an improv... | https://www.ibm.com/support/producthub/icpdata/docs/content/SSQNUZ_latest/cpd/plan/security_features.html | CC-MAIN-2021-43 | refinedweb | 1,616 | 54.63 |
Scala Language Integrated Connection Kit
distinctOn(_.id)and mysql
bit(1)data type for a
Booleanscala field.
min(...)like this example
select min(field1), min(field2), min(myBit1Field) from ... group by id. Unfortunately, that aggregation doesn't play well with mysql's
bit(1)which in my case ends up being
truein my sca... | https://gitter.im/slick/slick?at=60779349b6a4714a29c5a697 | CC-MAIN-2021-25 | refinedweb | 163 | 55.54 |
#include <mnt_pump.h>
Inheritance diagram for MntPump:
Rather, the role of a pump is to periodically send data other objects.
The method start_pumping and stop_pumping is called to start and stop the periodic timer respectively. Periodically, pump_some() is called. Method is_running() can be used to check if the pump i... | http://www.comp.nus.edu.sg/~cs5248/0506S1/proj2/doc/html/class_mnt_pump.html | crawl-003 | refinedweb | 119 | 56.76 |
Test Code Structure
This topic contains the following sections:
- Fixtures
- Tests
- Specifying the Start Webpage
- Specifying Testing Metadata
- Initialization and Clean-Up
- Skipping Tests
- Inject Scripts into Tested Pages
- Disable Page Caching
If you use eslint in your project, use the TestCafe plugin to avoid the... | https://devexpress.github.io/testcafe/documentation/test-api/test-code-structure.html | CC-MAIN-2020-05 | refinedweb | 2,033 | 51.95 |
SOA for the Business Programmer: Concepts, BPEL and SCA by Ben Margolis (Paperback, 2007)
Be the first to write a review.
OUR TOP PICK
$20.18+ ervice-Oriented Architecture (SOA) is a way of organizing software. If your company's development projects adhere to the principles of SOA, the outcome will be an inventory of m... | http://www.ebay.com.au/p/SOA-for-the-Business-Programmer-Concepts-BPEL-and-SCA-by-Ben-Margolis-Paperback-2007/95240827 | CC-MAIN-2017-13 | refinedweb | 184 | 53.1 |
In this Python data analysis tutorial, we will focus on how to carry out between-subjects ANOVA in Python. As mentioned in an earlier post (Repeated measures ANOVA with Python) ANOVAs are commonly used in Psychology. We start with some brief introduction to the theory of ANOVA.
If you are more interested in the four me... | https://www.marsja.se/four-ways-to-conduct-one-way-anovas-using-python/ | CC-MAIN-2020-45 | refinedweb | 2,388 | 62.88 |
This appendix describes the keywords used in XD/Replay scripts.
The XD/Replay script keywords have been divided into the following subsections according to their functions:
in - specify the context of subsequent actions in a script
ApplicationShell - the top level shell of the application
shell_widget - the name of a s... | http://docs.oracle.com/cd/E19422-01/819-3700/ReplayKeywords.html | CC-MAIN-2016-07 | refinedweb | 2,437 | 59.64 |
Goals
- Practice with binary numbers and IEC prefixes.
- Learn how to compile and run a C program on the EECS instructional computers.
- Examine different types of control flow in C.
- Look at the internal representation of numbers.
SetupCopy the contents of
~cs61c/labs/su14/02to your home directory. E.g.
$ cp -r ~cs61... | https://www-inst.eecs.berkeley.edu/~cs61c/su14/labs/02/ | CC-MAIN-2021-43 | refinedweb | 641 | 65.42 |
This is the mail archive of the cygwin mailing list for the Cygwin project.
Alright, I'm aware of the "check for invalid memory region and throw exception" issue present when debugging pthread applications under gdb and that the actual segfault is innocuous. However, the following solutions: 1. "handle SIGSEGV nostop" ... | http://sourceware.org/ml/cygwin/2006-05/msg00139.html | crawl-002 | refinedweb | 217 | 55.44 |
Whenever creating new components, we need to wrap each and every element inside a parent element, precisely a
div.
But, when our app gets large, there are now too many components, and too many
divs, this can cause a div soup.
It’s not considered a better practice, as per the performance perspective, because, React will... | https://waystoweb.com/why-to-use-react-fragments/ | CC-MAIN-2022-40 | refinedweb | 428 | 65.12 |
> I am trying to code an assignment that calculates the
> payments for a mortgage of a loan amount using 3
> separate rates and term years. I have it working but
> it wants to calculate each loan 3 times with all
> three rates and with the years so instead of having
> the printout with 7 years, 15 years and 30 years I
... | https://www.daniweb.com/programming/software-development/threads/46549/mortgage-array-help-please | CC-MAIN-2017-34 | refinedweb | 190 | 60.72 |
.
Corporate financeinvestment,? This walkthrough will explore each of these business decisions in greater depth.. Corporation Like the LLC, the corporate structure distinguishes the business entity from its owner and can reduce liability. However, it is considered more complicated to run a corporation articles of incor... | https://it.scribd.com/document/126582848/Corporate-Finance | CC-MAIN-2020-05 | refinedweb | 11,721 | 52.6 |
On Tue, 25 Jan 2005 16:46:54 -0600, Serge Hallyn <serue us ibm com> wrote: > On Tue, 2005-01-25 at 15:25 -0600, Timothy R. Chavez wrote: > > Any accesses on that inode, > > in that namespace (presumably the only access we care about), by an > > audited syscall will be noted and sent to userspace. Isn't that > > suffici... | https://www.redhat.com/archives/linux-audit/2005-January/msg00241.html | CC-MAIN-2015-22 | refinedweb | 160 | 62.78 |
With Linux 2.4 right around the corner, now would be a very good time to discuss the new packet observation and filtering mechanism that were introduced during the 2.3 kernel development, which iscalled netfilter. I discussed the netfilter architecture briefly back in my Best Defense column in October 1999 (), and more... | http://www.linux-mag.com/id/529/ | CC-MAIN-2018-22 | refinedweb | 2,039 | 61.77 |
Is there any way to declare .NET events in IronPython? Here is a simple example in C# that "abstracts" a button pressed event into a "hello" event: public delegate void HelloInvoked(); public class HelloControl : Panel { public event HelloInvoked Hello; public HelloControl() { Button b = new Button(); b.Text = "Hello";... | https://mail.python.org/pipermail/ironpython-users/2005-November/001213.html | CC-MAIN-2016-40 | refinedweb | 148 | 60.31 |
Just a Whole Bunch of Different Tests
I’ve been working on a bunch of longform obligation pieces and while they’re a lot of fun, they’re also steadily driving me insane. So I took a day off to write about all of the kinds of automated testing I know about. I’m defining tests here to be “an independent verification prog... | https://hillelwayne.com/post/a-bunch-of-tests/ | CC-MAIN-2018-17 | refinedweb | 2,892 | 61.67 |
Is there a way to pre-calculate an object in Python?
Like when you use a constructor just like:
master = Tk()
I think what you're looking for is the
pickle module to serialize an object. In Python 2 there is
pickle and
cPickle, which is the same but faster, but iirc Python 3 only has
pickle (which, under the hood, is e... | https://codedump.io/share/v59EYUphVuHB/1/pre-calculated-objects-in-python | CC-MAIN-2016-50 | refinedweb | 161 | 53.98 |
There are many ways to do this. If you only want to run a few commands, then the Python subprocess module might be best. If you are only working in Python 2.X, then Fabric might be best. Since I wanted 2.X or 3.X and I wanted to run lots of commands, I went with Paramiko. Here is the solution:
import paramiko IDENTITY ... | https://snakeycode.wordpress.com/tag/ssh/ | CC-MAIN-2019-30 | refinedweb | 101 | 63.66 |
RationalWiki:Saloon bar/Archive153
Contents
- 1 It's almost 9 am
- 2 Goat wiki
- 3 April Fools
- 4 Where will America go if the Affordable Care Act is struck down?
- 5 Science or denialism?
- 6 I just had a scary thought
- 7 Diagnosis via internet
- 8 Cover articles and Twitter feed
- 9 Opencourseware class on the NHS?... | http://rationalwiki.org/wiki/RationalWiki:Saloon_bar/Archive153 | CC-MAIN-2017-30 | refinedweb | 22,209 | 69.62 |
Carsten Ziegeler wrote:
>Sylv.
>
>
Ah ok, I see. So the getObject() method is responsible of returning the
object that is part of the object model, according to the current
execution context.
So in essence, the get() method on object model, which can be a special
subclass of HashMap would be:
Object get(Object name) {
... | http://mail-archives.apache.org/mod_mbox/cocoon-dev/200503.mbox/%3C422711C9.6020401@apache.org%3E | CC-MAIN-2015-11 | refinedweb | 180 | 53.92 |
We began presenting an example of a software repository in part 2 of this column, illustrating how a lot of the heavy lifting of data and metadata management could be made much simpler by using available Web tools and open Web standards such as XML, XSLT, and RDF. Since building the core of the software repository was ... | http://www.ibm.com/developerworks/webservices/library/ws-pyth3/index.html | CC-MAIN-2014-52 | refinedweb | 1,760 | 54.42 |
Theming Ant Design : a detailed step by step basic guide
Applying the theming guidelines provided by Ant Design’s documentation in an actual application
Ant Design is a very popular UI libraries for React. It provides a well designed and eminently composable collection of components.
However, it is very opinionated abo... | https://medium.com/@syllaband/theming-ant-design-a-detailed-step-by-step-basic-guide-d060bef34ec4 | CC-MAIN-2022-40 | refinedweb | 1,159 | 53.51 |
Solcast API
Project description
pysolcast
Solcast API
Client library for interacting with the Solcast API
Basic Usage
from pysolcast import RooftopSite site = RooftopSite(api_key, resource_id) forecasts = site.get_forecasts()
Full API Documentation.
History
1.0.2 (2020-04-14)
- Release to pypi
1.0.0 (2020-04-10)
- Firs... | https://pypi.org/project/pysolcast/1.0.3/ | CC-MAIN-2022-33 | refinedweb | 105 | 52.76 |
Design patterns and practices in .NET: the Composite pattern
May 30, 2013 3 Comments
Introduction
The Composite pattern deals with putting individual objects together to form a whole. In mathematics the relationship between the objects and the composite object they build can be described by a part-whole hierarchy. The ... | https://dotnetcodr.com/2013/05/30/design-patterns-and-practices-in-net-the-composite-pattern/ | CC-MAIN-2018-47 | refinedweb | 1,451 | 54.22 |
This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.
Here is the patch to change the configuration of the STL implementation used within libstdc++-v3 in order to regain the performance profile of the STL implementation used within libstdc++-v2 as was shipped with gcc 2.95.X. Unf... | http://gcc.gnu.org/ml/libstdc++/2001-05/msg00384.html | crawl-002 | refinedweb | 2,114 | 56.05 |
Opened 7 years ago
Closed 7 years ago
#14981 closed (wontfix)
Small enhancement to User.last_login timezone handling (version 1.3.0 beta 1)
Description
Attached is a small patch to enhance the timezone handling of django.contrib.auth to ensure that the last_login and date_joined datetime fields are stored in UTC format... | https://code.djangoproject.com/ticket/14981 | CC-MAIN-2018-09 | refinedweb | 445 | 51.65 |
Asked by:
Async/Await problem
Question
I do have a problem with regards to using async in my code. I have an async query that pulls data from the database.
My code will look something like this
//do a query to check if the data exist
var result=await MyAsyncCallToDatabase();
if(result==null) { //insert the data to the ... | https://social.msdn.microsoft.com/Forums/en-US/5ec03780-5818-4e88-b9ba-25db5a75fd2c/asyncawait-problem?forum=csharpgeneral | CC-MAIN-2020-50 | refinedweb | 753 | 55.64 |
Card is a container for text, photos, and actions in the context of a single subject.
import { Card } from '@nextui-org/react';
NextUI will wrap your content in a
Card.Body component.
You can change the full style towards a bodered
Card with the
bordered property.
You can apply a fancy hover animation with the
hoverabl... | https://nextui.org/docs/components/card | CC-MAIN-2022-05 | refinedweb | 205 | 57.16 |
Using Visual Studio 2005 Tools for the Office System SE to Create Add-Ins with Custom Task Panes in PowerPoint 2007
Applies to: 2007 Microsoft Office System, Microsoft Office PowerPoint 2007, Visual Studio 2005, Visual Studio 2005 Tools for Office Second Edition
Ken Getz, MCW Technologies, LLC
May 2007
Code It | Read I... | https://msdn.microsoft.com/en-us/library/bb508942.aspx | CC-MAIN-2016-07 | refinedweb | 2,000 | 56.05 |
of Engineering & Technology (DVSIET), Meerut
Lab Manual
(ECS-552)
Prepared By.
Here is the program to sort the given integer in ascending order using insertion sort method.Please find the pictorial tutor of the insertion sorting.
Logic: Here, sorting takes place by inserting a particular element at the appropriate pos... | https://ru.scribd.com/document/49306593/DAA-LM | CC-MAIN-2020-50 | refinedweb | 2,259 | 71.44 |
There are two changes in this release:
AlgebraicFieldnow refines
SignedNumericinstead of
Numeric. This should have no visible change for most users, because all conforming types (
Float,
Double,
Float80, and
Complex) already conform to
SignedNumeric. However, users who have code that is generic over the
AlgebraicFieldp... | https://forums.swift.org/t/0-0-5-release-notes/33991 | CC-MAIN-2020-24 | refinedweb | 237 | 52.19 |
I have created a web page where the user can register and then edit their profile. You can add a photo if you want. Any questions or suggestions will be well received try the site click here:
Can you share the code you used? Im trying to figurer out whats wrong with my code.
I have a site that should require users to p... | https://www.wix.com/corvid/forum/community-discussion/testing-create-member-profile-pages-with-wix-code | CC-MAIN-2019-47 | refinedweb | 327 | 67.04 |
Introduction
The MoveToScreen method can be used to move from the current Screen to another Screen. The MoveToScreen method will destroy the current Screen and all of its contained Entities, then begin loading the Screen passed to the MoveToScreen method.
Calling MoveToScreen
MoveToScreen accepts a string which is the ... | https://flatredball.com/documentation/tools/glue-reference/screen/glue-reference-screens-movetoscreen/ | CC-MAIN-2022-40 | refinedweb | 572 | 57.91 |
Many programmers and students create small projects. These projects are often based on the same project template. In many cases, they need to modify the project settings, and every time they must do that, they lose time on repetitive configuration tasks. For these reasons, I have decided to create this article; it expl... | https://www.codeproject.com/Articles/13745/How-to-create-a-custom-project-template-using-Visu | CC-MAIN-2021-31 | refinedweb | 1,134 | 51.24 |
I am about to write a Python 3 solution, but first thing I write a test case for my function, based on the provided sample:
def test_provided_1(self): self.assertEqual('San Francisco\nHello World', solution(2, ['Hello World', 'CodeEval', 'Quick Fox', 'A', 'San Francisco']))
This problem uses a different structure from ... | http://thisthread.blogspot.com/2017/01/codeeval-longest-lines.html | CC-MAIN-2018-43 | refinedweb | 320 | 61.16 |
Java Language Integrity & Security: Fine Tuning Bytecodes
In Scope
Two of the issues mentioned earlier in the article were that of performance and the protection of intellectual property. These issues dovetail well into this discussion of code readability. The main point revolves around the statement made that creating... | http://www.developer.com/design/article.php/10925_3669651_2/Java-Language-Integrity-amp-Security-Fine-Tuning-Bytecodes.htm | CC-MAIN-2016-07 | refinedweb | 862 | 55.64 |
I recently read this post by Elian and two of things hit me like a ton of bricks:
I have to work with really nasty data. A typical record looks like the following:
key : /C=US/A=BOGUS/P=ABC+DEF/O=CONN/OU=VALUE1/S=Region/G=
+LimbiRe
+gion
Alias-16 : WT:Limbic_Region
Alias-17 : SMTP:Limbic._.Region@nowhere.com
Alias-18 :... | http://www.perlmonks.org/?node=238963 | CC-MAIN-2014-52 | refinedweb | 2,597 | 63.02 |
16 January 2013 22:10 [Source: ICIS news]
HOUSTON (ICIS)--?xml:namespace>
Although
The Gulf coast is part of the 11th district in
Energy production remained high despite a decline in the rig count, driven by low prices for natural gas, the Fed said.
Oil prices are high enough to support current production, but, because... | http://www.icis.com/Articles/2013/01/16/9632502/us-petchem-production-rises-year-on-year-fed.html | CC-MAIN-2015-14 | refinedweb | 142 | 51.28 |
THE SQL Server Blog Spot on the Web.
(For those of you who haven’t seen yet, we announced SQL Server code-named “Denali” as the 2010 PASS Summit. You can get information about it, and download it,.
From SQL Trace to Tracing with Extended Events
We’ve ported the complete set of diagnostic:
How To: View the Extended Even... | http://sqlblog.com/blogs/extended_events/archive/2010/11/18/what-s-new-for-extended-events-in-sql-server-code-named-denali-ctp1.aspx | CC-MAIN-2014-15 | refinedweb | 264 | 70.43 |
Coordinates the process of rendering a single image. More...
#include <mitsuba/render/renderjob.h>
Coordinates the process of rendering a single image.
Implemented as a thread so that multiple jobs can be executed concurrently.
Create a new render job for the given scene.
When the Resource ID parameters (
sceneResID,
s... | http://mitsuba-renderer.org/api/classmitsuba_1_1_render_job.html | CC-MAIN-2020-50 | refinedweb | 227 | 50.63 |
2012-11-28 Meeting Notes
John Neumann (JN), Norbert Lindenberg (NL), Allen Wirfs-Brock (AWB), Waldemar Horwat (WH), Brian Terlson (BT), Luke Hoban (LH), Rick Waldron (RW), Eric Ferraiuolo (EF), Doug Crockford (DC), Yehuda Katz (YK), Erik Arvidsson (EA), Mark S. Miller (MM), Dave Herman (DH), Sam Tobin-Hochstadt (STH), ... | https://esdiscuss.org/notes/2012-11-28 | CC-MAIN-2020-50 | refinedweb | 3,276 | 55.13 |
Hi Jonathan,
Earlier I was using
*from resource_management import **
now I have added this import statement also
from resource_management.libraries.functions.format import format
and also given 777 permission till the intended pid file. Still its not
working.
Can you please tell me from where can I see the print statem... | http://mail-archives.apache.org/mod_mbox/ambari-user/201604.mbox/%3CCANd6RR6Fq-7Ux34M-EC_R-h9k2DWN2y7jZw8-sV3mvY9stqK4w@mail.gmail.com%3E | CC-MAIN-2018-05 | refinedweb | 271 | 50.84 |
How to receive data from UDP socket (over WiFi)
Hi everyone,
I am trying to send UDP packet using GPy. For testing I am using service QOTD (djxmmx.net).
On my desktop python the code if functional, on GPy no data received.
Thank you in advance for your assistance.
Regards, Vojtech
code snipet from GPy
>>> uos.uname() (... | https://forum.pycom.io/topic/6781/how-to-receive-data-from-udp-socket-over-wifi | CC-MAIN-2021-10 | refinedweb | 316 | 60.41 |
Provided by: xless_1.7-14.1_amd64
NAME
xless - File browsing program for the X Window System.
SYNOPSIS
xless [-f] [-toolkitoption ...] [filename ...]
DESCRIPTION
Xless pops up a window on the display specified, containing the file specified on the command line or piped in from stdin. This file may easily be viewed usin... | http://manpages.ubuntu.com/manpages/precise/man1/xless.1x.html | CC-MAIN-2020-29 | refinedweb | 715 | 64.71 |
I’ve got a new Arduino board (Arduino nano) and I want to hack a little bit. Today I want to play with IR receiver. My idea is to use my TV’s remote and switch on/off one bedside lamp, using one relay. It’s a simple Arduino program. First we need to include de IRremote library.
#include <IRremote.h> #define IR 11 #defi... | https://gonzalo123.com/tag/ir/ | CC-MAIN-2021-04 | refinedweb | 196 | 67.96 |
Ideas on Integrating Memcached into MySQL Queries
By Duleepa Wijayawardhana on Dec 22, 2008):
- Using the PECL PHP Memcached libraries you can write direct queries to Memcached with failover to your SQL queries.
- Using the memcached UDFs so that you can write SQL queries into MySQL/Using the memcached storage engine
-... | https://blogs.oracle.com/dups/entry/ideas_on_integrating_memcached_into | CC-MAIN-2014-15 | refinedweb | 1,069 | 62.11 |
Template talk:Languages
Contents
- 1 Only for English pages
- 2 Redesign of the Language Linker
- 3 Mediawiki Magic_words
- 4 Change layout
- 5 Template talk:LanguageNew
- 6 simplify the language template
- 7 Bot
- 8 Parameters
- 9 Language addition
- 10 Template:Languages embedded in Template:ValueDescription
- 11 Cat... | https://wiki.openstreetmap.org/wiki/Template_talk:Languages | CC-MAIN-2018-17 | refinedweb | 5,932 | 61.26 |
gearman_worker_echo - Worker Declarations
#include <libgearman/gearman.h> gearman_return_t gearman_worker_echo(gearman_worker_st *worker, const void *workload, size_t workload_size);
Send data to all job servers to see if they echo it back. This is a test function to see if job servers are responding properly. *
[in] w... | http://huge-man-linux.net/man3/gearman_worker_echo.html | CC-MAIN-2018-13 | refinedweb | 109 | 53.27 |
BitPacket is maintained in Savannah (and mirrored in github and gitorious). Savannah is the central point for development, maintenance and distribution of official GNU software (and other non-GNU software, like BitPacket).
You can download the latest BitPacket release from the project’s website, or alternatively, you c... | http://www.nongnu.org/bitpacket/intro.html | CC-MAIN-2014-41 | refinedweb | 447 | 62.27 |
Org Edna
Table of Contents
- Copying
- Introduction
- Basic Features
- Advanced Features
- Extending Edna
- Contributing
- Changelog
Copying
Ext.
Installation and Setup
Requirements
There are two ways to install Edna: From GNU ELPA, or from source.
From ELPA:
M-x package-install org-edna
From Source:
bzr branch org-edn... | http://www.nongnu.org/org-edna-el/ | CC-MAIN-2018-09 | refinedweb | 4,656 | 56.55 |
As you may know, Bitlocker full disk encryption used to be available only on the enterprise and ultimate editions of Windows Vista, when it was introduced more than 12 years ago. Windows 7 continued that exclusive tradition. Windows 8 made it available to the professional edition for the first time, which allowed a lot... | https://www.experts-exchange.com/articles/33596/How-to-use-Bitlocker-on-Windows-10-Home.html | CC-MAIN-2019-26 | refinedweb | 1,543 | 69.21 |
Odoo Help
This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.
first u have to inhert hr.applicant class in py file : 1)
from osv import osv, fields class hr_applicant(osv.osv): _inherit = "hr.applicant... | https://www.odoo.com/forum/help-1/question/i-want-to-add-a-new-field-in-hr-applicant-how-can-i-add-using-inheritance-29728 | CC-MAIN-2016-50 | refinedweb | 169 | 62.95 |
Opened 12 years ago
Closed 10 years ago
#3308 closed defect (worksforme)
Escaped documentation in admin site
Description
The automatically generated documentation escapes the HTML markup provided by docutils.
A docstring on a view such as this:
def foo(request): """bar""" return None
... will generate a documentation "... | https://code.djangoproject.com/ticket/3308 | CC-MAIN-2019-26 | refinedweb | 336 | 66.78 |
Understanding Sprite coordinate systems
- WannabeMaker
Very newbie question - apologies if there's obvious documentation on this; I haven't found it.
Ultimately, my code should draw a line segment starting at a specific coordinate on the screen (x, y) and ending at an offset (x + dx, y + dy). Importantly, dx and dy can... | https://forum.omz-software.com/topic/3184/understanding-sprite-coordinate-systems | CC-MAIN-2018-05 | refinedweb | 374 | 68.57 |
Usually a malware writer, or a closed source product, use some techniques in order to make the binaries difficult to read. On the one hand, the anti-virus are unable to read the signature of the malware and on the other hand a reverse engineer’s life becomes difficult.
One technique (usually not implemented alone), is ... | https://stack0verflow.wordpress.com/tag/code/ | CC-MAIN-2018-17 | refinedweb | 943 | 67.59 |
side not, the idea of having flags in a map with the thread ID as the key sounded kind of cool. Not sure if that is a quick but not dirty fix.
I agree: it's not dirty at all. thread local enables
-avoiding the use wait/notify within synchronize blocks to force threads to contend for lock on data shared across threads
... | https://sourceforge.net/p/cdk/mailman/message/22674289/ | CC-MAIN-2018-05 | refinedweb | 864 | 66.33 |
Release notes - Azure Arc enabled SQL Server (Preview)
Note
As a preview feature, the technology presented in this article is subject to Supplemental Terms of Use for Microsoft Azure Previews.
April 2021
Breaking change
No breaking changes
Other changes
A new property LicenseType has been added to the SQL Server - Azur... | https://docs.microsoft.com/en-us/sql/sql-server/azure-arc/release-notes?view=sql-server-ver15 | CC-MAIN-2021-21 | refinedweb | 560 | 55.34 |
iswprint man page
iswprint — test for printing wide character
Synopsis
#include <wctype.h> int iswprint(wint_t wc);
Description
The iswprint() function is the wide-character equivalent of the isprint(3)zero if wc is a wide character belonging to the wide-character class "print". Otherwise, it returns zero.
Attributes
F... | https://www.mankier.com/3/iswprint | CC-MAIN-2017-17 | refinedweb | 138 | 59.5 |
Speed plus compression equals faster searches
Walter is an analyst at Phoenix Mutual Life. He can be reached at 5 Burns Ave., Enfield, CT 06082 or 203-745-9159.
We all know a sequential search is slow. Search time increases linearly with the size of the list; and as a list grows beyond a few items, the search time quic... | http://www.drdobbs.com/database/supercharging-sequential-searches/184408460 | CC-MAIN-2017-43 | refinedweb | 3,555 | 69.41 |
The App Engine Python 2.7 runtime directly includes several third-party libraries.
Third-party libraries must be specified in
app.yaml, and this configuration is different than in Python 2.5 (see Configuring Libraries for details).
Vendoring Third-party PackagesIf you want to include additional pure-python third-party ... | https://cloud.google.com/appengine/docs/python/tools/libraries27 | CC-MAIN-2015-18 | refinedweb | 360 | 53.27 |
I first saw the new Microsoft Visual Studio .NET after beta 2 was released. One of the things that stood out to me was how nice the tabs looked. It also finally included a tabbed MDI.
I soon after found Bjarke Viks�e's Cool Tab Controls. I was especially interested in the "
DotNetTabCtrl". Bjarke soon linked to an upda... | http://www.codeproject.com/KB/tabs/tabbingframework.aspx | crawl-002 | refinedweb | 3,738 | 56.45 |
Created on 2011-05-12 21:59 by terry.reedy, last changed 2017-08-24 15:25 by csabella.
Current 3.2 doc, 5.9. Comparisons, has this paragraph about mixed-type comparisons.
"The."
Sentence 3: "If both are numbers, they are converted to a common type." I suspect it would be more true to say 'common internal type' as I wou... | https://bugs.python.org/issue12067 | CC-MAIN-2017-47 | refinedweb | 2,559 | 66.03 |
README
TinySDF is a tiny and fast JavaScript library for generating SDF (signed distance field) from system fonts on the browser using Canvas 2D and Felzenszwalb/Huttenlocher distance transform. This is very useful for rendering text with WebGL.
Demo
UsageUsage
Create a TinySDF for drawing glyph SDFs based on font para... | https://www.skypack.dev/view/@mapbox/tiny-sdf | CC-MAIN-2022-27 | refinedweb | 298 | 54.83 |
First I want you to read the task and try to solve it in linear time complexity, and minimum memorize complexity.
Lonely Integer
There are N integers in an array A. All but one integer occurs in pairs. Your task is to find out the number that occurs only once.
Input Format
The first line of the input contains an intege... | http://codeforces.com/blog/entry/12719 | CC-MAIN-2021-04 | refinedweb | 188 | 69.62 |
Adding Google Maps To Your Rails Applications
In the months following publication of the final part of the very popular series on integrating Google Maps into PHP applications, I've spent quite a bit of time working with another popular Web technology: Ruby on Rails. As it turns out, Rails developers have been hard at ... | http://www.developer.com/open/article.php/3757576/Adding-Google-Maps-To-Your-Rails-Applications.htm | CC-MAIN-2014-41 | refinedweb | 649 | 50.87 |
CodePlexProject Hosting for Open Source Software
Hi everybody,
I'm trying to utilize this library for a project, especially for the data processing part.
I need to process about 23000 files per run, each of them is a GZipped JSON. So, I slurp every file, decompress it, deserialize into a List and then process the eleme... | https://json.codeplex.com/discussions/208237 | CC-MAIN-2017-09 | refinedweb | 367 | 75.4 |
Razor Support for ASP.NET Core Apps in Visual Studio Code
VS Code now supports Razor for ASP.NET Core apps.
The beauty of a cross-platform framework like ASP.NET Core is your ability to choose tooling you prefer. With all its advantages, Visual Studio can sometimes be too powerful for what you need.
With ASP.NET Core, ... | https://www.daveabrock.com/2018/11/19/net-core-apps-in-visual-studio-code-now-have-razor-support/ | CC-MAIN-2021-39 | refinedweb | 552 | 67.96 |
- Code: Select all
for root, dirs, files in os.walk(os.path.join("\\\?\\I:\\Users\\MyWork\\")):
for name in files:
print name
for root, dirs, files in os.walk(os.path.join("\\\?\\I:\\Users\\MyWork\\")):
for name in files:
print name
Python 2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)] on win
32
Typ... | http://www.python-forum.org/viewtopic.php?f=6&t=8192 | CC-MAIN-2017-17 | refinedweb | 440 | 62.75 |
CSS is perhaps one of the most controversial parts of web development. For some, it's the favorite, for some the least pleasant part. As a result, many solutions have appeared around it to make it more palatable to web developers.
To learn more about one, this time we'll learn about DSS, a solution by Giuseppe Gurgone.... | https://survivejs.com/blog/dss-interview/ | CC-MAIN-2022-40 | refinedweb | 1,137 | 61.97 |
Jonathan Garza4,475 Points
Challenge Code Not Passing, but works in Workspaces
I'm having issues passing this challenge. I opened a workspace to help find errors. When I found a solution that worked, I copied into the challenge and was shocked to get the "Bummer" error message.
Here is the text from the challenge:.
def... | https://teamtreehouse.com/community/challenge-code-not-passing-but-works-in-workspaces | CC-MAIN-2020-10 | refinedweb | 191 | 66.17 |
Consumer Driven Contracts using Pact
11 min read·
Introduction
One of the key principles of microservices is that it should be possible to deploy microservices independently. This allows us to avoid the painful ‘big bang’ releases which were common for monoliths and move towards Continuous Delivery. Adopting a Continuo... | http://blog.scottlogic.com/2017/01/10/consumer-driven-contracts-using-pact.html | CC-MAIN-2017-17 | refinedweb | 2,196 | 53.51 |
Once a thread is created, we can direct the calling process to wait until the thread is finished (it calls pthread_exit or is cancelled). This is accomplished with a call to the pthread_join library function shown in Table 11.3.
The first argument is a valid thread ID (as returned from the pthread_create call). The spe... | https://flylib.com/books/en/1.23.1/basic_thread_management.html | CC-MAIN-2019-04 | refinedweb | 1,887 | 72.56 |
... bcp utility is a tool for extracting subsets of Boost, it's useful for Boost authors who want to distribute their library separately from Boost, and for Boost users who want to distribute a subset of Boost with their application.
bcp can also report on which parts of Boost your code is dependent on, and what licenc... | http://www.boost.org/doc/libs/1_52_0_beta1/tools/bcp/doc/html/index.html | CC-MAIN-2014-42 | refinedweb | 599 | 62.48 |
This notebook harvests metadata and OCRd text from digitised books in Trove. There's three main steps:
It's not easy to identify all the digitised books with OCRd text in Trove. I'm starting with a search in the book zone for records that include the phrase
"nla.obj" and are available online. This currently returns 21,... | https://nbviewer.jupyter.org/github/GLAM-Workbench/trove-books/blob/master/Harvesting-digitised-books.ipynb | CC-MAIN-2019-18 | refinedweb | 1,792 | 50.84 |
There are lots of statistics in statistical signal processing, but to use statistics effectively with signals, it helps to have a certain unifying perspective on both. To introduce these ideas, let's start with the powerful and intimate connection between least mean-squared-error (MSE) problems and conditional expectat... | https://nbviewer.jupyter.org/github/unpingco/Python-for-Signal-Processing/blob/master/Conditional_expectation_MSE.ipynb | CC-MAIN-2021-31 | refinedweb | 1,106 | 61.56 |
0 crack. exe. 33 Intense racing These are download samsung ml-1440 driver programs related to mozilla firefox web browser apk th at are. This question and answer thread is part of the JavaScript section at Web Intersect. Nissan Platina 2003 120000 Guadalajara, Jalisco Hace 1 downkoad, 5 d as - SOY DE TRATO Sed n, Color... | http://tanhaysido.y0.pl/death-run-minecraft-mini-game-download.html | CC-MAIN-2020-10 | refinedweb | 2,474 | 62.88 |
README
SwingSet VatSwingSet Vat
This repository contains another proof-of-concept Vat host, like PlaygroundVat. This one is modeled after KeyKOS "Domains": all Vats run on top of a "kernel" as if they were userspace processes in an operating system. Each Vat gets access to a "syscall" object, through which it can send ... | https://www.skypack.dev/view/@agoric/swingset-vat | CC-MAIN-2021-25 | refinedweb | 1,512 | 54.02 |
Opened 5 years ago
Last modified 21 months ago
#23130 new Bug
BooleanField should not override 'blank' if choices are specified
Description
BooleanField currently allows settings 'choices'. It also always overrides 'blank'. This stems from the fact that in HTML, a blank value means False, and any (?) non-blank value me... | https://code.djangoproject.com/ticket/23130 | CC-MAIN-2019-51 | refinedweb | 1,319 | 64.51 |
1116/what-role-does-orderer-peer-serves-in-hyperledger-fabric
Shared communication channel to clients and peers are provided by Orderer peers.
It offers a broadcast service for messages containing transactions. The channel is used by the clients to broadcast the messages which is then delivered to the peers.
The messag... | https://www.edureka.co/community/1116/what-role-does-orderer-peer-serves-in-hyperledger-fabric?show=1120 | CC-MAIN-2020-34 | refinedweb | 213 | 51.95 |
Suppose I have a list of numbers and list of functions to apply to numbers:
val xs: List[Int] = List(1, 2, 3) val fs: List[Int => Int] = List(f1, f2, f3)
Now I would like to use an
Applicative to apply
f1 to
1,
f2 to
2, etc.
val ys: List[Int] = xs <*> fs // expect List(f1(1), f2(2), f3(3))
How can I do it with
Scalaz ?... | http://databasefaq.com/index.php/answer/1019/list-scala-scalaz-applicative-ziplist-with-scalaz | CC-MAIN-2018-47 | refinedweb | 346 | 73.07 |
Maps in Microsoft BizTalk Server 2010
As mentioned several times in Chapter 2, “Schemas,” schemas are really important in your BizTalk solution. This is partly because they serve as the contract between systems and are therefore useful for determining which system is faulty. And it is partly because updating them is po... | http://www.informit.com/articles/article.aspx?p=1752306&seqNum=6 | CC-MAIN-2017-09 | refinedweb | 4,677 | 68.3 |
How to escape message System.Int32 in C#
I'm just beginning to learn C# so I have a question.
Why do I get the message
System.Int 32[] ?
public static int[] GetFirstEvenNumbers(int count) { int[] array = new int[count]; for (int i = 1; i <= array.Length; i++) array[i - 1] = i * 2; for (int j = 0; j < count; j++) Consol... | http://thetopsites.net/article/53306091.shtml | CC-MAIN-2020-40 | refinedweb | 855 | 57.57 |
Hey, Scripting Guy! Is it possible to determine the owner of a file using Windows PowerShell?
-- GF
Hey, GF. Well, today is April 15th, which, in the US, can mean only one thing: it’s time to celebrate the birthday of Italian mathematician Pietro Antonio Cataldi, best known for discovering the sixth and seventh Mersenn... | https://blogs.technet.microsoft.com/heyscriptingguy/2008/04/16/hey-scripting-guy-how-can-i-use-windows-powershell-to-determine-the-owner-of-a-file/ | CC-MAIN-2018-05 | refinedweb | 2,711 | 53.51 |
Are you trying to teach yourself to code? Or are you already an experienced developer who wants to pick another language?
In both cases, you know how frustrating it can be to find good tutorials online. Sure, it’s easy to find “tutorials”, but separating the chaff from the wheat is a whole different story.
Of course, y... | https://stackify.com/learn-c-sharp-tutorials/ | CC-MAIN-2021-39 | refinedweb | 3,324 | 54.22 |
The MPL115A2 is a low cost device for reading barometric pressure.
- I2C digital interface (address:
0x60)
- Resolution: 1.5 hPa
- Range: 100-1150 hPa up to 10Km
Purchasing
The MPL115A2 sensor is available on a breakout board from Adafruit
Hardware
The simplest method of connecting the MPL115A2 to the Netduino requires... | http://netduino.foundation/Library/Sensors/Barometric/MPL115A2/ | CC-MAIN-2018-05 | refinedweb | 281 | 58.28 |
Vue Seo tutorial using Vue meta
In this tutorial, we are going to learn about how to make SEO friendly
vue.js apps by using
vue-meta package.
In single-page apps, SEO is the hard part because there is only a single html page which is resuing throughout our app.
Search engines didn’t recognize what type of content you a... | https://reactgo.com/vue-seo/ | CC-MAIN-2021-17 | refinedweb | 255 | 71.04 |
May 18, 2012 09:17 AM|om singh|LINK
I am using knockout (KO) in my MVC project. I create an MVC model (for a grid) on server and pass it to the view. On the view it is serialized and converted into a KO model (using ko.mapping) which in turn is used for binding. That binding is then used in HTML for grid creation.
This... | http://forums.asp.net/t/1805048.aspx | CC-MAIN-2015-18 | refinedweb | 1,028 | 67.35 |
std::stringand
std::vectorare your best friends and these are what you should use by default. They are proper C++ containers, they grow and shrink dynamically, and they have characteristics that make them compatible with C so that you can easily send the contents of them to a pure C function and allow C functions to tr... | http://thewayofc.blogspot.com/2014/05/ | CC-MAIN-2018-17 | refinedweb | 1,030 | 52.29 |
#include <TFT.h>#define cs 10#define dc 8#define rst 9TFT screen = TFT(cs, dc, rst);void setup() { // put your setup code here, to run once: screen.begin(); screen.background(255, 255, 255); screen.stroke(50, 50, 50); screen.setTextSize(1); screen.text("So then this would be how\nI would have to make a \ndocument to ma... | https://forum.arduino.cc/index.php?topic=623315.0 | CC-MAIN-2020-29 | refinedweb | 137 | 68.36 |
Hello,
I have an action in my controller called ‘reply’. I would like to be
able to select a particular RJS file to excute based on the results of
some logic.
In the simplest terms, this is what I’d like to accomplish:
def reply
if case == a
[use reply_a.rjs]
else
[use reply_b.rjs]
end
end
Now Rails has a convention th... | https://www.ruby-forum.com/t/how-do-i-override-the-default-rjs-template/70764 | CC-MAIN-2021-21 | refinedweb | 141 | 81.63 |
*
calling submit from a thread pool in the same pool it belongs to
Rodrigo Bossini
Ranch Hand
Joined: Jul 03, 2009
Posts: 113
posted
Sep 16, 2012 12:30:21
0
Hi,
I have an ExecutorService which I'm using to solve a recursive problem. Initially I call submit on this pool passing to it the entire task it has to solve. Th... | http://www.coderanch.com/t/592718/threads/java/calling-submit-thread-pool-pool | CC-MAIN-2014-52 | refinedweb | 1,433 | 72.26 |
I just downloaded and installed the newly released Flex SDK 4.5 Build 19786. However when I try to export a release build, an error pops up:
"Error creating AIR file: MyApp-app.xml: error 305: Initial window content SWF version 11 exceeds namespace version"
Any idea what this means and how to fix it? The issue does not... | https://forums.adobe.com/thread/787808 | CC-MAIN-2017-30 | refinedweb | 431 | 87.21 |
Search: Search took 0.01 seconds.
Is it possible to include a 3rd party control without using iFrame?Started by nvt.meister, 18 Nov 2013 5:32 PM
- Last Post By:
- Last Post: 19 Nov 2013 6:50 AM
- by nvt.meister
How to include a 3rd party control without using iFrame?Started by nvt.meister, 15 Nov 2013 7:27 PM
Controls ... | http://www.sencha.com/forum/tags.php?tag=control | CC-MAIN-2014-15 | refinedweb | 347 | 56.69 |
05 March 2013 21:50 [Source: ICIS news]
HOUSTON (ICIS)--The drop of prices for polyethylene terephthalate (PET) and corresponding feedstocks in Asia last week were sure to place downward pressure in Latin American markets in the near future, sources said on Tuesday.
?xml:namespace>
No immediate changes were evident in ... | http://www.icis.com/Articles/2013/03/05/9646887/asia-places-downward-pressure-on-latin-america-pet.html | CC-MAIN-2015-22 | refinedweb | 310 | 52.73 |
Step 10: Wiring and Completion!
I'll tell you how everything is connected one component at a time. Refer to the pictures to get a better idea of how it should look (if it's a rats nest of wires... you're on the right track).
Motor battery: Hook up positive and negative to the positive and negative power rails on the fa... | http://www.instructables.com/id/How-To-Make-an-Obstacle-Avoiding-Arduino-Robot/step10/Wiring-and-Completion/C2S82VJGZPZMG7Y | CC-MAIN-2014-52 | refinedweb | 865 | 78.79 |
Find Questions & Answers
Can't find what you're looking for? Visit the Questions & Answers page!
Hi
I have a SOAP to REST Scenario with the REST receiver adapter with the following configurations.
1. Data format - XML
- As it is xml format, I had to use the AF_Modules/MessageTransformBean
with Transform.ContentType = a... | https://answers.sap.com/questions/338784/rest-adapter-pattern-value-replacement.html | CC-MAIN-2018-30 | refinedweb | 220 | 63.19 |
>
Hi, I am following a tutorial that uses javascript to make a cars controls active after a countdown, I have used the exact same code as in the tutorial but when i try to add it to an object i get an error message saying 'Script Needs To Derive From MonoBehaviour'
Script :
var CarControl : GameObject;
function Start()... | https://answers.unity.com/questions/1548607/script-needs-to-derive-from-monobehaviourjs-script.html | CC-MAIN-2019-13 | refinedweb | 250 | 63.8 |
Use an Arduino to make a range finder that measures distance using ultrasonic technology..
How Does the Arduino Ultrasonic Range Find.
16x2 AlphanumericA Display (LCD):
#include "NewPing.h" #include "LiquidCrystal.h" #define trig 0 #define echo 13 #define maximum 200 int usec; int cm; float inch; NewPing sonar(trig, ec... | https://maker.pro/arduino/tutorial/how-to-make-an-arduino-uno-ultrasonic-range-finder | CC-MAIN-2018-26 | refinedweb | 375 | 67.04 |
bind function
The bind function associates a local address with a socket.
Syntax
Parameters
- s [in]
A descriptor identifying an unbound socket.
- name [in]
A pointer to a sockaddr structure of the local address to assign to the bound socket .
- namelen [in]
The length, in bytes, of the value pointed to by the name par... | http://msdn.microsoft.com/en-us/library/ms737550.aspx | CC-MAIN-2013-48 | refinedweb | 1,398 | 51.99 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.