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 |
|---|---|---|---|---|---|
I'm trying to connect a flask application to a db2 database. I have added the
ibm_db_sa package to the requirements to that
sqlalchemy will be able to make the connection. But I do not know how to initialize the database. The log makes a reference to a Heroku command, but that does not translate one on one to a corresp... | https://developer.ibm.com/answers/questions/193324/set-up-database-for-flask-application-with-sqlalch.html?childToView=205835 | CC-MAIN-2019-43 | refinedweb | 634 | 56.05 |
Yesterday, somehow my flash file (uploaded to plone as a regular file) wouldn't display itself. I was using the same
embed and
object tags as on a local filesystem test html file, so why oh why...
Some googling gave me a blog post that told me it was a recent flash 10 security feature that interacted badly with atconte... | http://reinout.vanrees.org/weblog/2008/12/31/temporary-patch-for-flash-10-bug-and-atct-files.html | CC-MAIN-2015-06 | refinedweb | 164 | 58.58 |
Red Hat Bugzilla – Bug 461682
lvm volume group names are too generic
Last modified: 2009-03-19 11:32:07 EDT
Anaconda always assigns generic volume group names like "VolGroup00". This is unfortunate if you need to extract data from a hard drive on a dead system by installing it in a "good" system. The odds are very high... | https://bugzilla.redhat.com/show_bug.cgi?id=461682 | CC-MAIN-2016-30 | refinedweb | 458 | 72.56 |
ViewEngines in MVC are responsible for generating the HTML from the view ,it does this
by locating the view and rendering it.Views in MVC are templates which contains code and markup. ViewEngines search for the views in specific locations.This is an example of convention over configuration which means that if we follow... | https://codecompiled.com/2015/07/page/3 | CC-MAIN-2021-49 | refinedweb | 770 | 62.17 |
Willem de Beijer and Daan Kolkman
This tutorial will take you through the steps for creating a data science virtual machine on Azure. This tutorial is part of our Cloud Computing for Data Science series.
1. Creating an Azure account
Regular account
The easiest way to set up an Azure account is to go to. If you have an ... | https://jadsmkbdatalab.nl/azure-virtual-machine-tutorial/ | CC-MAIN-2020-29 | refinedweb | 1,843 | 69.31 |
To use WinForms classes from an add-in you need to add a reference to
System.Windows.Forms.dll to your project.
Note that on Visual Studio 2015 and 2017, where there is no "Common Properties/References" node in the Project Properties, you should instead use the Solution Explorer window: select the "References" node und... | http://planatechsolutions.com/xllplus7-online/start_clr3.htm | CC-MAIN-2022-40 | refinedweb | 219 | 54.12 |
Channel with leaflet mesh upgraded to (pseudo-)solid mesh. More...
#include <channel_with_leaflet_mesh.template.h>
Channel with leaflet mesh upgraded to (pseudo-)solid mesh.
Definition at line 483 of file channel_with_leaflet_mesh.template.h.
Constructor: Pass pointer to GeomObject that represents the leaflet, the leng... | http://oomph-lib.maths.man.ac.uk/doc/the_data_structure/html/classoomph_1_1PseudoElasticChannelWithLeafletMesh.html | CC-MAIN-2019-35 | refinedweb | 148 | 54.42 |
-closure
2280
Looking for a template engine which can be used in Java and JavaScript
1811
Why am I missing soyDocs for my soy template?
5589
How Google Closure EventTarget works?
3515
My Grunt.JS setup using Google Closure @preserve or @license not working?
1495
How do I use Google Closure compiler to remove unused Jav... | http://www.brokencontrollers.com/tags/google-closure/page1.shtml | CC-MAIN-2019-30 | refinedweb | 903 | 59.53 |
On date Thursday 2013-08-01 22:05:01 +0000, Paul B Mahol encoded: > On 8/1/13, Stefano Sabatini <stefasab at gmail.com> wrote: > > On date Thursday 2013-08-01 13:55:12 +0200, Nicolas George encoded: > >> Le tridi 13 thermidor, an CCXXI, Paul B Mahol a ecrit : > >> > I'm against this, its just add extra overhead, and it... | http://ffmpeg.org/pipermail/ffmpeg-devel/2013-August/146811.html | CC-MAIN-2019-18 | refinedweb | 254 | 58.72 |
Your Account
Embedding Flex Applications in a Browser: Chapter 20 - Programming Flex 3
Pages: 1, 2, 3
As we already mentioned, the history.js file code is shortsighted in the
way it works, and because of this you'll need to edit it for it to work
with SWFObject-embedded applications. The primary error is that
history.j... | http://oreilly.com/pub/a/flex/excerpts/programming-flex3/chapter-20.html?page=3 | CC-MAIN-2014-42 | refinedweb | 3,674 | 50.53 |
With Swift now available on non-Apple platforms, you can set your code free to roam beyond just your iOS app. In this presentation from try! Swift, you will discover practical ways to write, test, debug, and deploy cross-platform Swift code without sacrificing the Cocoa and Objective-C functionality where it’s availabl... | https://academy.realm.io/posts/tryswift-jp-simard-practical-cross-platform-swift/?utm_source=andybargh-newsletter-20160105&utm_medium=email&utm_campaign=andybargh-newsletter | CC-MAIN-2022-27 | refinedweb | 1,816 | 60.55 |
25 November 2009 17:49 [Source: ICIS news]
SAO PAULO (ICIS news)--Brazil’s Braskem signed an agreement to sell 5,000 tonnes/year of sugarcane ethanol-based polyethylene (PE) to Swedish food packaging company Tetra Pak, the chemicals producer said on Wednesday.
Braskem said it would supply Tetra Pak with sugarcane ethan... | http://www.icis.com/Articles/2009/11/25/9267247/Brazils-Braskem-to-sell-sugarcane-ethanol-PE-to-Tetra-Pak.html | CC-MAIN-2014-42 | refinedweb | 255 | 55.68 |
This file defines a C++ wrapper around the standard regular expression functionality. More...
#include <simple_regex.h>
This file defines a C++ wrapper around the standard regular expression functionality.
A simplistic interface to the regular expression. This is meant to only work with short string -- 200 characters o... | http://www.bordoon.com/tools/classcxxtls_1_1SimpleRegex.html | CC-MAIN-2019-18 | refinedweb | 693 | 59.9 |
Respond to an unknown method call
You are encouraged to solve this task according to the task description, using any language you may know.
Demonstrate how to make the object respond (sensibly/usefully) to an invocation of a method on it that it does not support through its class definitions. Note that this is not the ... | http://rosettacode.org/wiki/Respond_to_an_unknown_method_call | CC-MAIN-2014-49 | refinedweb | 4,507 | 52.09 |
Basic Datatypes
Both JScript .NET and the CLR provide many basic datatypes for nearly any operation. This section examines the primitive types available in JScript .NET, as well as their CLR counterparts. This section also discusses some of the complex datatypes, String and Array, and a few of the CLR types that aren't... | https://www.informit.com/articles/article.aspx?p=27311&seqNum=3 | CC-MAIN-2020-24 | refinedweb | 1,478 | 57.47 |
Error while deploying a JBPM-BPEL fileDhanush Gopinath Oct 20, 2008 3:59 AM
Hi
I am deploying a bpel process intp JBPM-BPEL using the API's and it was working with the sample files.
Now I wrote my own BPEL process and is trying to deploy that, but it is failing and giving out this exception
13:06:22,385 INFO [STDOUT] R... | https://developer.jboss.org/thread/117828 | CC-MAIN-2018-17 | refinedweb | 827 | 65.01 |
Solutions
My favorite technique for fast C++ tests is to move from the traditional monolith with lots of static libraries to a component-based approach, where the application is composed of DLLs or shared libraries. (To this end, my series of articles on C++ plugins explains how to do this using a plugin framework.) Th... | http://www.drdobbs.com/database/the-maximal-rectangle-problem/database/testing-complex-c-systems/240147275?pgno=2 | CC-MAIN-2014-35 | refinedweb | 937 | 61.06 |
Dynamodb-mapper -- a DynamoDB object mapper, based on boto.
Presentation
DynamoDB is a minimalistic NoSQL engine provided by Amazon as a part of their AWS product.
DynamoDB allows you to stores documents composed of unicode strings or numbers as well as sets of unicode strings and numbers. Each tables must define a has... | https://bitbucket.org/jtlebigot/dynamodb-mapper-get/src/314e6b94424e?at=tip | CC-MAIN-2014-23 | refinedweb | 291 | 51.55 |
Source on "the source"
Download the J2SE 5.0 Source using SCSL or JRL
You can now download the Source code for J2SE 5.0 using either the Sun Community Source License (SCSL) or the Java Research License (JRL). You can find out more about the JRL here on java.net and follow the link to the J2SE source download from the J... | https://weblogs.java.net/blog/editors/archives/2004/11/source_on_the_s.html | CC-MAIN-2015-14 | refinedweb | 747 | 65.01 |
Vue Formly: JavaScript powered forms for Vue.js
vue-formly
Vue Formly is a JS based form builder Bootstrap form inputs can be installed over at Vue Formly Bootstrap, which is also used in the example below. vue-formly-bootstrap is a plugin for Vue Formly which adds multiple form fields according to Twitter Bootstrap.
N... | https://vuejsfeed.com/blog/vue-formly-javascript-powered-forms-for-vue-js | CC-MAIN-2019-43 | refinedweb | 826 | 64 |
The. Every implementation has its own particularities, but the foundational concepts remain the same.
In this post, you’ll be building a JavaScript library that implements the Actor Model, and while most of the implementations mentioned above are more robust, the purpose of this post is to explore the foundations of th... | https://monades.roperzh.com/get-to-know-the-actor-model/ | CC-MAIN-2018-30 | refinedweb | 1,070 | 52.19 |
Announcements
AldacronGDNet+ Basic
Content count1637
Joined
Last visited
Community Reputation4544 Excellent
About Aldacron
- RankContributor
Personal Information
- Website
- InterestsBusiness
Programming
Is Sublime Text a valid option for C++ development?
Aldacron replied to SweetestDownfall's topic in For BeginnersI u... | https://www.gamedev.net/profile/586-aldacron/ | CC-MAIN-2017-43 | refinedweb | 506 | 63.19 |
I know that certain processors are Big Endian and others are Little Endian. But is there a command, bash script, python script or series of commands that can be used at the command line to determine if a system is Big Endian or Little Endian? Something like:
if <some code> then
echo Big Endian
else
echo Little Endian
f... | http://serverfault.com/questions/163487/how-to-tell-if-a-linux-system-is-big-endian-or-little-endian/336425 | CC-MAIN-2016-22 | refinedweb | 510 | 70.94 |
We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hello everyone, I purchased this endoscope,
I wanted to develop an application to interface with this device. The problem is that it does not turn on, there is a black screen. With other software the endoscope wor... | https://forum.processing.org/two/discussion/21606/webcam-problem | CC-MAIN-2019-47 | refinedweb | 357 | 68.06 |
Navigation
A. Introduction
In this homework, you'll learn some things that we won't talk about in lecture: classes and methods dedicated to searching strings for selected patterns and for reading formatted input.
Warning: There's a lot of jargon for this homework. Sorry! Focus on the experiments and writing code and it... | https://inst.eecs.berkeley.edu/~cs61b/fa21/materials/hw/hw4/index.html | CC-MAIN-2021-43 | refinedweb | 2,910 | 74.69 |
RE: Issue with UNC Path (I think). Trying to build Dynamic Report
- From: ryguy7272 <ryguy7272@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sun, 20 Apr 2008 09:16:00 -0700
I still have not gotten this thing to work. Can I use a TransferSpread***
macro and preserve my Column Headings, such as Broker, Status, etc., instead
of Colu... | http://www.tech-archive.net/Archive/Access/microsoft.public.access.formscoding/2008-04/msg01516.html | crawl-002 | refinedweb | 1,967 | 69.01 |
>> - Attack by Valkyrie seems like an insurable risk if you want to pay me anything for it! (seems to me that if we are all dead I do not have to pay). Mind you, is it not the name of a volcano somewhere...?
Thanks, Will. Now I see what you mean. If you follow the Planet Money podcasts, you can hear a line in a prospec... | http://www.economist.com/comment/527687 | CC-MAIN-2014-42 | refinedweb | 2,021 | 68.3 |
Runtime.exec(String[]) Doesn't Always Work, bBut Runtime.exec(String) Does
Discussion in 'Java' started by Hal Vaughan, May 21, 2006.:
- 459
- =?Utf-8?B?QXJuZQ==?=
- Dec 6, 2004
Valign=top doesn't always work
- Replies:
- 2
- Views:
- 671
- Dave Fancher
- Dec 7, 2004
Runtime.getRuntime().exec() doesn't return (?)Timo N... | http://www.thecodingforums.com/threads/runtime-exec-string-doesnt-always-work-bbut-runtime-exec-string-does.294305/ | CC-MAIN-2015-22 | refinedweb | 125 | 69.28 |
Spelling of ordinal numbers
You are encouraged to solve this task according to the task description, using any language you may know.
Ordinal numbers (as used in this Rosetta Code task), are numbers that describe the position of something in a list.
It is this context that ordinal numbers will be used, using an English... | http://rosettacode.org/wiki/Spelling_of_ordinal_numbers | CC-MAIN-2019-22 | refinedweb | 4,012 | 59.13 |
CodePlexProject Hosting for Open Source Software
Hi, i'm trying to create a new module as a MVC 3 project.Everything is ok with the new module setup.
The problem is when i try to open a OdbcConnection in my HomeController to a Sybase Adaptive Server Anywhere version 11 server.
string connectionString = string.Format("D... | http://orchard.codeplex.com/discussions/244312 | CC-MAIN-2017-30 | refinedweb | 853 | 60.41 |
PyMC3 Developer Guide¶
PyMC3 is a Python package for Bayesian statistical modeling built on top of Theano. This document aims to explain the design and implementation of probabilistic programming in PyMC3, with comparisons to other PPL like TensorFlow Probability (TFP) and Pyro in mind. A user-facing API introduction c... | https://docs.pymc.io/en/v3/developer_guide.html | CC-MAIN-2022-21 | refinedweb | 5,136 | 50.33 |
Protect Resources with the Using Block
Opposing market and technological forces are imposing a mild sort of schizophrenia on Visual Basic. Some want Visual Basic .NET to remain as much like VB6 as possible, so they can use forms without invoking the constructor and the new operator in VB.NET 2.0. At the same time, othe... | http://www.developer.com/net/vb/article.php/3549141/Protect-Resources-with-the-Using-Block.htm | CC-MAIN-2014-42 | refinedweb | 702 | 55.13 |
The SQL Server Management Objects (SMO) Framework is a set of objects designed for programmatic management of Microsoft SQL Server and Microsoft Azure SQL Database. This article talks about how to manipulate SQL Server objects by using SMO. There are many situations in which you can use SMO, for example:
- You would li... | https://www.red-gate.com/simple-talk/dotnet/c-programming/programming-sql-server-sql-server-management-objects-framework/ | CC-MAIN-2020-24 | refinedweb | 3,372 | 56.55 |
The Difference Between An Interface and an Abstract Class
I've had a couple developers ask if they should use an interface or an abstract class. Today, I'll talk about the differences between the two and which one you should use based on your needs.
Do you know the difference between an interface and an abstract class?... | https://www.danylkoweb.com/Blog/the-difference-between-an-interface-and-an-abstract-class-9I | CC-MAIN-2017-04 | refinedweb | 1,080 | 62.48 |
Odoo Help
Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
How to add 7.0 Module in 8
I am trying to add a module "Advance Printscreen" and recieving below error. Any help?
Traceback (most... | https://www.odoo.com/forum/help-1/question/how-to-add-7-0-module-in-8-63046 | CC-MAIN-2017-13 | refinedweb | 685 | 54.79 |
Hey.
Hey! I just did this in 20 minutes. It works well. Here's code to make it turn in one direction or the other. Can be uploaded directly.
#include <Servo.h>
Servo myservo;
void setup()
{
myservo.attach(9);
myservo.write(0); //this goes backwards
//or do "myservo.write(180);" to go forwards
}
void loop() {}
Oh... You... | http://www.instructables.com/id/How-to-Make-a-TowerPro-Micro-Servo-Spin-360/ | CC-MAIN-2015-11 | refinedweb | 781 | 74.79 |
Immutable.Map
Map is the immutable version of JavaScript's object structure. Due to JavaScript objects having the concise object literal syntax, it's often used as a key-value store with
key being type
string. This pattern closely follows the map data structure. Let's revisit the previous example, but use
Immutable.Map... | https://angular-2-training-book.rangle.io/handout/immutable/immutable-js/maps/ | CC-MAIN-2018-09 | refinedweb | 198 | 66.23 |
Hide Forgot
Description of problem:
On installing python-visual, I wasn't able to run existing python code written against this library due to a missing dependency.
Version-Release number of selected component (if applicable):
(mcpierce@mcpierce-laptop:Podcast)$ rpm -q python-visual
python-visual-5.32-10.fc14.x86_64
Ho... | https://bugzilla.redhat.com/show_bug.cgi?id=657851 | CC-MAIN-2019-30 | refinedweb | 323 | 50.84 |
How to Use PHP Namespaces, Part 2: Importing, Aliases, and Name Resolution
In part 1, we discussed why PHP namespaces are useful and the
namespace keyword. In this article, we examine the
use command and the way PHP resolves namespace names.
For the purposes of this example, we will define two almost identical code blo... | http://www.sitepoint.com/php-namespaces-import-alias-resolution/ | CC-MAIN-2015-14 | refinedweb | 907 | 50.73 |
This site uses strictly necessary cookies. More Information
Hello everyone,
I am trying to have the player be able to walk through a wall (game object) that is set inactive on Awake and then once they walk through it (activating the tigger), I want it to set the Box Collider (attached to the game object) active so they... | https://answers.unity.com/questions/1517484/oncollisionenter-not-working-20.html | CC-MAIN-2021-21 | refinedweb | 857 | 73.37 |
truncate(2) truncate(2)
NAME [Toc] [Back]
ftruncate, truncate - truncate a file to a specified length
SYNOPSIS [Toc] [Back]
#include <unistd.h>
int ftruncate(int fildes, off_t length);
int truncate(const char *path, off_t length);
DESCRIPTION [Toc] [Back]
The ftruncate() function causes the regular file referenced by f... | https://nixdoc.net/man-pages/HP-UX/man2/truncate.2.html | CC-MAIN-2022-27 | refinedweb | 513 | 63.39 |
June 5, 2014 Modules Breakout Session Notes
WARNING: THESE NOTES DO NOT REFLECT TC39 CONSENSUS, ONLY THE DOCUMENTATION OF DISCUSSIONS THAT WILL BE USED AS RECOMMENDATIONS.
Jeff Morrison (JM), Caridy Patiño (CP), Yehuda Katz (YK), Guy Bedford (GB), Dave Herman (DH), Erik Arvidsson (EA), Reid Burke (RB), Eric Ferraiuolo ... | https://esdiscuss.org/notes/2014-06/jun-5-modules.md | CC-MAIN-2019-18 | refinedweb | 1,215 | 56.96 |
When trying to run fennec on desktop, I got this error: ./fennec: error while loading shared libraries: libmozsqlite3.so: cannot open shared object file: No such file or directory ldd, as expected shows: libmozsqlite3.so => not found But the file is in '.'. A workaround is to use LD_LIBRARY_PATH=".", though I would exp... | https://bugzilla.mozilla.org/show_bug.cgi?id=675396 | CC-MAIN-2017-26 | refinedweb | 838 | 65.52 |
I am confused by how to make a archive. Here is the code I use:
I first have a vector.h file
Also a vector.cc file contains its definition.Also a vector.cc file contains its definition.Code://vector.h namespace TEST{ int add(int x, int y); }
Code://vector.cc #include <iostream> #include "vector.h" int TEST::add(int x, ... | http://cboard.cprogramming.com/cplusplus-programming/106124-question-about-making-cplusplus-archive-file.html | CC-MAIN-2015-32 | refinedweb | 244 | 63.36 |
angular_test 2.0.0-alpha+8: ^0.7.9 build_test: ^0.10.0 build_web_compilers: ^0.0.0-alpha+8 #
The minimum SDK version is now
sdk: ">=2.0.0-dev.46.0 <2.0.0".
DEPRECATED:
throwsInAngularis now a no-op, and can be removed.
2.0.0-alpha+7 #
- Maintenance release, supporting newer package versions.
2.0.0-alpha+6 #
- Maintenan... | https://pub.dev/packages/angular_test/versions/2.0.0-alpha+8 | CC-MAIN-2019-47 | refinedweb | 448 | 52.56 |
Transplant
In academia, a lot of programming is done in Matlab. Many very interesting algorithms are only available in Matlab. Personally, I prefer to use tools that are more widely applicable, and less proprietary, than Matlab. My weapon of choice at the moment is Python.
But I still need to use Matlab code. There are... | http://bastibe.de/2014-08-19-transplant.html | CC-MAIN-2017-17 | refinedweb | 775 | 67.55 |
Static Constructors Demystified
Pages: 1, 2
beforeFieldInit
Interestingly enough, according to the rules resource, r2 gets initialized
first, before the static constructor is called and r1 is initialized.
Even if r2 is never needed, it will still be initialized first. Defining
a static constructor seems to "trump" the ... | http://archive.oreilly.com/pub/a/dotnet/2003/07/07/staticxtor.html?page=2 | CC-MAIN-2014-52 | refinedweb | 382 | 62.48 |
I want to keep inputting data into vector<int> until it's full.
My code is below but I have to input an extra int before the while () loop terminates with the right size vector and the program moves on to the next steps. I've tried cin.ignore() as shown to remove the newline character but can't seem to make it work. An... | https://cboard.cprogramming.com/cplusplus-programming/171289-cin-conditions.html?s=a5dd76af336ea040ee7ab696f0521f28 | CC-MAIN-2020-10 | refinedweb | 179 | 67.25 |
#include <thread.h>
Reference to a thread (ThreadInterface).
Creates a reference to a thread with n arguments.
Checks whether this thread is currently running. Will return false for a null reference. THREADSAFE.
Waits until the referenced thread has been executed. As long as a thread hasn't been started it is considere... | https://developers.maxon.net/docs/Cinema4DCPPSDK/html/classmaxon_1_1_thread_ref_template.html | CC-MAIN-2020-24 | refinedweb | 524 | 76.01 |
How to install Azure DevOps Proxy Server and set up a remote site
Azure DevOps Server 2020 | Azure DevOps Server 2019 | TFS 2018 - TFS 2013
Note
Azure DevOps Server was previously named Visual Studio Team Foundation Server.
If you have developers at a remote site who are sharing code with developers at the main site, y... | https://docs.microsoft.com/en-us/azure/devops/server/install/install-proxy-setup-remote?view=azure-devops-2020 | CC-MAIN-2021-25 | refinedweb | 1,308 | 54.42 |
In this short lesson, I'll show you how to improve your game with Flurry analytics and how to integrate it in your game in less than 5 minutes. Flurry is one of the Qt Plugins we provide for iOS & Android and is the leading 3rd party product for mobile app and game analytics.
In the next sections you will learn what yo... | https://felgo.com/doc/lesson-9/ | CC-MAIN-2019-47 | refinedweb | 789 | 72.05 |
The article was written by Paul Marsh, a long time Microsoft Developer from Microsoft BASIC on an 8-bit Dragon 32 through to Azure and now Unity 3D. He has worked with a number of enterprise businesses, retail and social media companies. Currently he is in a joint owner of a UK based simulation/game company with his wi... | https://devblogs.microsoft.com/dotnet/guest-post-bring-lights-in-unity-into-the-real-world-using-philips-hue/ | CC-MAIN-2021-17 | refinedweb | 1,604 | 57.87 |
User Tag List
Results 1 to 2 of 2
- Join Date
- Jul 2008
- 2
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Problem with SImply Rails2 Chapter 8
On page 263 it give the following code
Code:
def create @current_user = User.find_by_login_and_password( params[:login], params[:password]) if @current_user session[:user_id] ... | http://www.sitepoint.com/forums/showthread.php?561447-Problem-with-SImply-Rails2-Chapter-8 | CC-MAIN-2014-10 | refinedweb | 236 | 71.65 |
#include <LiquidCrystal.h> LiquidCrystal lcd(12, 11, 5, 4, 3, 2);void setup() { lcd.begin(16, 2); lcd.setCursor(0, 0); lcd.print("hello, world!");}void loop() { }
why I can power display from external power source?
ok thanksI try to use termistor, I measure value by voltage divider use Steinhart & Hart equation to calc... | http://forum.arduino.cc/index.php?topic=101304.msg760857 | CC-MAIN-2015-22 | refinedweb | 203 | 67.15 |
Are there any way to use phases, in Opl Script, to order all variables in a model by index value?
First all varibles by index value 1, next all variables by index value 2, and so on.
Thanks for your help
Pinned topic Search strategy by Index value.
Are there any way to use phases, in Opl Script, to order all variables ... | https://www.ibm.com/developerworks/community/forums/html/topic?id=35c9c7c8-7bfb-488d-9b90-c3694098c26a&ps=25 | CC-MAIN-2015-22 | refinedweb | 887 | 57.77 |
I have two classes (number and stack), I have to take a user input number and convert it into binary, hex, and octal. Im getting there but how do you 'push' the remainder on the stack? Do you do it through in the main program or in the classes.cpp in the function push? The same with 'pop'????
Can someone please explain... | http://cboard.cprogramming.com/cplusplus-programming/50606-stacks-push-pop.html | CC-MAIN-2014-52 | refinedweb | 237 | 69.72 |
py.test is one of several third party testing libraries that are available for Python. It can be installed using
pip with
pip install pytest
Say we are testing an addition function in
projectroot/module/code.py:
# projectroot/module/code.py def add(a, b): return a + b
We create a test file in
projectroot/tests/test_cod... | https://sodocumentation.net/python/topic/7054/py-test | CC-MAIN-2021-10 | refinedweb | 1,223 | 66.74 |
Using).
How can I make this work correctly? Even if the text is always some default font size such as 10pt, black, without a border, that would be okay for now. I need a fix this week please. Thanks!
Below is sample code that causes the problem. (I am using the evaluation version of Aspose.Pdf if that makes any differe... | https://forum.aspose.com/t/freetextannotation-problem-zero-font-size/90594 | CC-MAIN-2022-21 | refinedweb | 346 | 58.89 |
Build a personal weather station with Raspberry Pi that emails you the temperature, humidity, and rainfall.
*In a couple of weeks I will be adding a barometric pressure sensor to calculate chance of rain.
Step 1: Supplies
You will need:
Raspberry Pi b and power supply
Ethernet cable
Breadboard wires
Breadboard
Humidity... | http://www.instructables.com/id/Raspberry-Pi-Weather-Station/ | CC-MAIN-2017-26 | refinedweb | 674 | 68.06 |
Blogging the journey from College Grad to .NET Developer
Wednesday, June 25, 2008
#
I've been working on a WPF program (which once again, as expected, justified my belief that I will never find enjoyment in programming any UI)...
Luckily, my program is just one-way... it is used for reporting, no input needed here besi... | http://geekswithblogs.net/mhildreth/Default.aspx | crawl-002 | refinedweb | 10,223 | 60.85 |
Wiki
org.openmarkov / Implementing a metric
This article guides the developer in the task of implementing a new metric for the hillclimbing algorithm family. The hillclimbing algorithm is in fact a family of algorithms, each of the members being based on a different metric that assigns a score to each possible atomic m... | https://bitbucket.org/cisiad/org.openmarkov/wiki/Implementing%20a%20metric | CC-MAIN-2017-47 | refinedweb | 492 | 50.77 |
Well, the basic structure is a form which uses multiple classes defined in seperate files.
Below is my controller class which is supposed to keep track of which files are opened. It's included in both the form and the Map.cpp file, which contains all Map function implementations. I'm supposing these files aren't needed... | https://www.daniweb.com/programming/software-development/threads/145693/double-declaration-of-static-class-members | CC-MAIN-2017-22 | refinedweb | 252 | 59.8 |
Text.Megaparsec
Contents
Description
This module includes everything you need to get started writing a parser. If you are new to Megaparsec and don't know where to begin, take a look at the tutorials.
In addition to the Text.Megaparsec module, which exports and re-exports
most everything that you may need, we advise to... | https://hackage.haskell.org/package/megaparsec-6.4.0/docs/Text-Megaparsec.html | CC-MAIN-2018-09 | refinedweb | 3,033 | 52.8 |
El 23/12/2004, a las 14:56, Roberto Ierusalimschy escribió:
5 lines of code will stop the bundles vs. dylibs discussion once and for all. I think this is quite an effective measure. :-)I disagree. This is why committees always blow up their designs. It is easier to add whatever someone asks for than to discuss whether ... | http://lua-users.org/lists/lua-l/2004-12/msg00404.html | CC-MAIN-2019-35 | refinedweb | 173 | 64.71 |
It's not the same without you
Join the community to find out what other Atlassian users are discussing, debating and creating.
I recently added JMWE to our Atlassian Cloud instance.
I have a test workflow to check for resolution as a condition to copy a field value using the basic description:
Copy Assignee to a Custom... | https://community.atlassian.com/t5/Jira-Core-questions/Conditional-Execution-Post-Function-not-being-recognized/qaq-p/414174 | CC-MAIN-2018-17 | refinedweb | 115 | 66.13 |
Recently Charlie Huang showed how to use the SAS/IML language to compute an exponentially weighted moving average of some financial data. In the commentary to his analysis, he said:
I found that if a matrix or a vector is declared with specified size before the computation step, the program’s efficiency would be signif... | http://blogs.sas.com/content/iml/2011/06/20/pre-allocate-arrays-to-improve-efficiency/ | CC-MAIN-2014-10 | refinedweb | 751 | 56.18 |
16 March 2011 22:03 [Source: ICIS news]
HOUSTON (ICIS)--?xml:namespace>
Refinery-sourced propylene stockpiles stood at 2.468m bbl in the week ended 11 March, down from 2.524m bbl a week earlier.
Meanwhile, US refineries operated at 83.4% of capacity, up from 82.0% in the previous week.
EIA figures refer to non-fuel use... | http://www.icis.com/Articles/2011/03/16/9444623/us-propylene-stocks-down-despite-higher-refinery-runs.html | CC-MAIN-2014-10 | refinedweb | 114 | 62.75 |
Hybrid View
ARIA-enabled ComboBox
ARIA-enabled ComboBox
I'm using Ext 2.2.1 and need an ARIA-enabled Ext.form.ComboBox. Where I primarily see the current ComboBox fall short of meeting the ARIA requirements is that it doesn't read the contents of the list items when using screen readers, such as JAWS. I am not an ARIA ... | http://www.sencha.com/forum/showthread.php?71539-ARIA-enabled-ComboBox&mode=hybrid | CC-MAIN-2014-42 | refinedweb | 879 | 57.77 |
ASP.NET MVC 3: Integrating with the jQuery UI date picker and adding a jQuery validate date range validator
UPDATE: I've blogged about an more flexible way to wire up the editor template here.
This is post looks at working with dates in ASP.NET MVC 3. We will see how to integrate the jQuery UI date picker control autom... | https://docs.microsoft.com/en-us/archive/blogs/stuartleeks/asp-net-mvc-3-integrating-with-the-jquery-ui-date-picker-and-adding-a-jquery-validate-date-range-validator | CC-MAIN-2020-29 | refinedweb | 2,419 | 53.51 |
In the new and shiny EPiServer 7 user interface there's very easy to add your own.
One popular device these days is the Google Nexus 7 tablet, so let’s add a preview option for it to the preview resolutions drop-down.
Looking at the hardware specs we can see that the native display resolution on the Nexus 7 is 1280 by ... | https://world.episerver.com/blogs/Stefan-Torstensson/Dates/2012/12/Adding-a-new-device-to-the-view-resolution-drop-down/ | CC-MAIN-2019-30 | refinedweb | 828 | 64.41 |
CodePlexProject Hosting for Open Source Software
I have a problem with the recommendation link URL. This is what is inserted into an email message when you click the Email link at the end of each post. It is using the internal IP address of the server hosting the blog instead of the domain name
exposed by the proxy ser... | https://blogengine.codeplex.com/discussions/201516 | CC-MAIN-2017-34 | refinedweb | 1,443 | 69.18 |
links to the videos:
Step 1:.
Step 4:
Step 4:
i) connect both servo cables to the breadboard. Make negative and positive connections (see picture). Now connect these to the Arduino. The Yellow servo wires go to pins 9( for the pan) and 10(for the food case).
ii)Load the following code to your arduino:
/* My fish feeder... | https://www.instructables.com/id/Automatic-Fish-Feeder-in-20-minutes/ | CC-MAIN-2019-26 | refinedweb | 282 | 79.16 |
print could use cwd parameter, to run scriptB in its directory:
import os
from subprocess import check_call
check_call([scriptB], cwd=os.path.dirname(scriptB))
In script1.py place this:
def main():
do something
if __name__ == "__main__":
main()
In script2.py:
import script1
if condition:
script1.main()!.
Cron jobs run ... | http://www.w3hello.com/questions/How-can-I-stop-my-python-script-when-another-python-script-is-running- | CC-MAIN-2018-17 | refinedweb | 606 | 67.65 |
ActionScript 3 is the programming language for the Adobe Flash Player and Adobe AIR runtime environments. It is object-oriented ECMAScript based language used primary for native application development on desktop (Windows/Mac) and mobile (iOS/Android) devices.
Adobe learning resources:
History and more details:
Online ... | https://riptutorial.com/actionscript-3 | CC-MAIN-2019-39 | refinedweb | 727 | 58.18 |
void pxform_c ( ConstSpiceChar * from,
ConstSpiceChar * to,
SpiceDouble et,
SpiceDouble rotate[3][3] )
Return the matrix that transforms position vectors from one
specified frame to another at a specified epoch.
FRAMES
FRAMES
VARIABLE I/O DESCRIPTION
-------- --- --------------------------------------------------
from ... | https://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/pxform_c.html | CC-MAIN-2019-30 | refinedweb | 444 | 66.54 |
Supercharge your webapp's animations. Animation Worklet is in Chrome Canary (behind the "Experimental Web Platform features" flag) and we are planning an Origin Trial for Chrome 71. You can start using it as a progressive enhancement today.
Another Animation API?
Actually no, it is an extension of what we already have,... | https://developers.google.cn/web/updates/2018/10/animation-worklet?hl=ko | CC-MAIN-2019-09 | refinedweb | 2,380 | 55.44 |
So that the meaning of a string literal depends on a pragma N lines away?
Yuck <wink>.
If a language intends to support text in a pleasant way, it really needs
to let you enter text without making newlines explicit or escaping common
characters like quotes -- to let you type (or paste, or ...) in text just
the way it l... | https://legacy.python.org/search/hypermail/python-1994q2/0328.html | CC-MAIN-2021-43 | refinedweb | 399 | 55.03 |
I've updated the files (mainly boards.txt) and have included them in the repo for the F103V
I've done some basic testing but I've not had chance to test on my V series boards, because I need to solder the headers on and I've not had time to do that yet, because its taken a while to update your new section in boards.txt... | http://stm32duino.com/viewtopic.php?f=32&t=31&sid=4304a3df34a6cff5bceeb82385cf3e67&start=40 | CC-MAIN-2018-05 | refinedweb | 430 | 55.37 |
All of dW
-----------------
AIX and UNIX
Information Mgmt
Lotus
Rational
Tivoli
WebSphere
-----------------
Java technology
Linux
Open source
SOA & Web services
Web development
XML
-----------------
dW forums
-----------------
alphaWorks
-----------------
All of IBM
Create a Web application in Lift and deploy to Geroni... | http://www.ibm.com/developerworks/opensource/library/os-ag-lift/ | crawl-002 | refinedweb | 4,467 | 58.99 |
On 10/14/2011 09:33 PM, Tejun Heo wrote:> Hello, again.Hi!Sorry for delay in response. I will answer on both of your concerns at once.> rest API we will require will look too special-purpose (like Cyrillmentioned the ability to set the mm's fields such as start_code, etc).Besides, putting a parasite code to restore the... | https://lkml.org/lkml/2011/10/19/131 | CC-MAIN-2014-15 | refinedweb | 662 | 73.58 |
#include <db.h> int DB->set_h_compare(DB *db, int (*compare_fcn)(DB *db, const DBT *dbt1, const DBT *dbt2));
Set the Hash key comparison function. The comparison function is called whenever it is necessary to compare a key specified by the application with a key currently stored in the database.
If no comparison functi... | http://docs.oracle.com/cd/E17276_01/html/api_reference/C/dbset_h_compare.html | CC-MAIN-2014-15 | refinedweb | 289 | 50.36 |
Excellent discussion. It sheds light on many useful elements including teh question of how to catch the script "exit" for cleanup tasks.
It would be useful to have a "built-in" export converter for scripts that would convert all aliases for portability. This would allow for efficient typing without the need to find an... | https://blogs.msdn.microsoft.com/monad/2006/04/15/is-it-safe-to-use-aliases-in-scripts/ | CC-MAIN-2017-17 | refinedweb | 294 | 72.56 |
TimeSplitters 2
"Just about everything about this game screams AWESOME!"
Now this is a game. A good game. Me and my friend decided to play it again a couple of days ago, so I got my copy out, and started playing. It was amazing. I forgot how good this game is. It was so hard as well, we kept being killed all the time, ... | http://www.gamefaqs.com/ps2/517864-timesplitters-2/reviews/review-103800 | CC-MAIN-2015-27 | refinedweb | 1,611 | 84.07 |
go to bug id or search bugs for
New/Additional Comment:
Description:
------------
Current chroot implementation was okay to use years ago, even if it had its own drawbacks.
Things are changing, and it'd be awesome to have linux mount namespaces for the isolation (and maybe some other namespaces). is a nice example.
By ... | https://bugs.php.net/bug.php?id=80657&edit=1 | CC-MAIN-2021-25 | refinedweb | 183 | 60.45 |
Fractal Images and Music With Perl
The Perl Journal March 2003
By Randy Kobes, Andrea Letkeman, and Olesia Shewchuk
Randy researches and teaches physics at the University of Winnipeg. He can be reached at randy@theoryx5.uwinnipeg.ca. Andrea currently works for an oil company, and is studying towards her Royal Conservat... | http://www.drdobbs.com/web-development/fractal-images-and-music-with-perl/184415991 | CC-MAIN-2014-41 | refinedweb | 4,172 | 57 |
At Tech Ed 2010 (Northamerica) in New Orleans, LA this year, I had a chance to catch up with some familiar people in the Exchange Server team as well as some new folks. As I have done since Tech Ed 2006, I convinced some folks to be interviewed on camera and share some information about the piece of Exchange that they ... | https://blogs.technet.microsoft.com/haroldwong/2010/06/16/tech-ed-2010-interview-with-kristian-andaker-exchange-server/ | CC-MAIN-2017-39 | refinedweb | 221 | 72.09 |
ObjectSharp Blog
One of the most powerful features of Reporting Services is the ability to call code from within a report. Before we get to that, you may or may not know you can call the .net Framework from within the expression of an objects property on a report. However, there is one rule you must follow, the code mu... | http://blogs.objectsharp.com/post/2006/12/10/Calling-a-Custom-External-Assembly-from-a-Report.aspx | CC-MAIN-2018-22 | refinedweb | 336 | 74.19 |
Introduction
This document describes the interface to access XPath functions using JavaScript.
Mozilla implements much of the DOM 3 XPath. This allows XPath expressions to be run against both HTML and XML documents.. The document node is the most commonly used.
namespaceResolver: A user defined most commonly used value... | https://developer.mozilla.org/en-US/docs/Introduction_to_using_XPath_in_JavaScript$revision/110840 | CC-MAIN-2015-18 | refinedweb | 183 | 50.73 |
ImageView Bug
I've discovered a very irritating hang-up bug. The following code demonstrates it:
import ui v = ui.View() im = ui.ImageView() im.load_from_url('') im.flex = 'LRTBWH' v.add_subview(im) v.present()
Simply run this, then exit, then run again. Pythonista will hang up the second time. The only way to fix it i... | https://forum.omz-software.com/topic/1356/imageview-bug/1 | CC-MAIN-2020-45 | refinedweb | 336 | 68.97 |
Class Reference
A class is a category for objects that share characteristics. AppleScript defines classes for common objects used in AppleScript scripts, such as aliases, Boolean values, integers, text, and so on.
Each object in a script is an instance of a specific class and has the same properties (including the
clas... | https://developer.apple.com/library/mac/documentation/applescript/conceptual/applescriptlangguide/reference/ASLR_classes.html | CC-MAIN-2014-10 | refinedweb | 4,702 | 50.97 |
Important: Please read the Qt Code of Conduct -
Multiple definition of '__imp___C_specific_handler'
I'm facing some compilation issues as I've migrated my working cpp-project from VS to QT. The app is using low-level windows sockets API's. In one of my header file I've used struct addrinfo which requires
#include <ws2t... | https://forum.qt.io/topic/133210/multiple-definition-of-__imp___c_specific_handler | CC-MAIN-2022-05 | refinedweb | 455 | 68.77 |
Find intersection of two nested lists?
You don't need to define intersection. It's already a first-class part of set.
1,2,3,4,5,9,11,15] b2 = [4,5,6,7,8]set(b1).intersection(b2)set([4, 5])b1 = [
If you want:
c1 = [1, 6, 7, 10, 13, 28, 32, 41, 58, 63]c2 = [[13, 17, 18, 21, 32], [7, 11, 13, 14, 28], [1, 5, 6, 8, 15, 16]]... | https://codehunter.cc/a/python/find-intersection-of-two-nested-lists | CC-MAIN-2022-21 | refinedweb | 290 | 55.31 |
Module Signing
Database applications often require that access to underlying tables and objects within the application schema be mediated through entry level procedures or views. The intent is to be able to grant access to end users on the entry level objects, which then access the underlying objects on behalf of the u... | http://technet.microsoft.com/en-US/library/ms345102(v=sql.90) | CC-MAIN-2014-49 | refinedweb | 1,267 | 50.63 |
Setting the background-color of separators only works when separators are draggable
I have three
QDockWidgets on my
QMainWindow. I would like to change the color of the separators. I'd also like to make the separators 2 pixels thick so I tried setting the stylesheet of the window to this:
QMainWindow::separator { width... | https://forum.qt.io/topic/102639/setting-the-background-color-of-separators-only-works-when-separators-are-draggable | CC-MAIN-2019-30 | refinedweb | 597 | 51.04 |
Draft Draft2Sketch
WireToBSpline
The
To convert objects to a sketch use the
To convert a sketch to Draft objects use the
WireToBSpline
Draft
User documentation
Description
The
Draft Draft2Sketch command converts Draft objects to Sketcher Sketches and vice versa.
Converting Draft objects to Sketcher Sketches
Usage
- Opt... | https://wiki.freecadweb.org/Draft_Draft2Sketch | CC-MAIN-2021-49 | refinedweb | 463 | 52.66 |
In my last essay I discussed the structure of the directory tree containing source code, here I want to discuss the systems we use to build source code. The directory tree structure plays an important part in this. The structure we use to hold our source code, and the mechanism we use to convert that source code into p... | https://accu.org/index.php/journals/2010 | CC-MAIN-2018-30 | refinedweb | 4,174 | 62.78 |
In yesterday’s post, I introduced monadt, a gem that adds algebraic data types (ADTs) and monads to Ruby. Today I’m going to dive into how monadt provides monad support, specifically the imperative-looking syntactical sugar you get in languages like Haskell and F#.
I’m not going to cover how monads work in this post, b... | https://spin.atomicobject.com/2016/05/12/ruby-functional-programming-monads/ | CC-MAIN-2017-47 | refinedweb | 1,235 | 63.09 |
Problem with XMPP server
- Thursday, April 26, 2012 9:49 AM
Some of the users of my app are reporting problem when connecting on XMPP server. The problem seems that the server sometimes send presence before the session is established.
We send:
* iq xmlns='jabber:client' type='set' id='532517604863' * session xmlns='urn... | http://social.msdn.microsoft.com/Forums/en-US/messengerconnect/thread/cf5721a8-fd4f-4bc2-8f8f-78edd4caec64 | CC-MAIN-2013-20 | refinedweb | 1,594 | 56.76 |
Closed Bug 1314438 Opened 5 years ago Closed 5 years ago
Differential Testing: Different output message involving Math functions
Categories
(Core :: JavaScript Engine: JIT, defect, P1)
Tracking
()
mozilla52
People
(Reporter: gkw, Assigned: h4writer)
References
Details
(Keywords: testcase, Whiteboard: [fuzzblocker])
Att... | https://bugzilla.mozilla.org/show_bug.cgi?id=1314438 | CC-MAIN-2021-25 | refinedweb | 722 | 58.58 |
Paul Rubin wrote: > > "Sean 'Shaleh' Perry" <shalehperry at home.com> writes: > > when you try to get around the language, "weird" calls is all you have. You > > example may not truly reflect what you are trying to do because: > > > > from EggsBaconSpam import breakfast, SpamException > > > > gives you what you want an... | https://mail.python.org/pipermail/python-list/2001-September/115828.html | CC-MAIN-2018-05 | refinedweb | 129 | 67.76 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.