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 |
|---|---|---|---|---|---|
You have developed your own objects connected based Arduino (or ESP8266) and MySensors library, here’s how to drive through voice Siri or from the new application House (HomeKit) of iOS10 . In this first tutorial, we’ll install and configure Homebridge with Domoticz.
Contents
- 1 Required configuration
- 2 Install and ... | https://diyprojects.io/homebridge-domoticz-fly-mysensors-objects-siri-ios10/ | CC-MAIN-2019-22 | refinedweb | 2,349 | 55.34 |
Sept. 4, 2014 7:20 p.m. ET.
177 thoughts on “Matt Ridley in the WSJ: Whatever Happened to Global Warming?”
Please form a neat orderly queue at the humble pie counter.
wsj.com allows comments. My favorite was:
“Global warming is caused by the desire for more tax money.”
It’s nice that its in the WSJ but the WSJ doesn’t ... | https://wattsupwiththat.com/2014/09/05/matt-ridley-in-the-wsj-whatever-happened-to-global-warming/ | CC-MAIN-2017-13 | refinedweb | 22,720 | 59.13 |
Microsoft Considers Adding Python As an Official Scripting Language in Excel (bleepingcomputer.com) 181
An anonymous reader writes: Microsoft is considering adding Python as one of the official Excel scripting languages, according to a topic on Excel's feedback hub opened last month. Since it was opened, the topic has ... | https://developers.slashdot.org/story/17/12/15/1133217/microsoft-considers-adding-python-as-an-official-scripting-language-in-excel | CC-MAIN-2018-13 | refinedweb | 4,821 | 73.58 |
more doubts sir. - Java Beginners
own browser.Hope you will help me out.And also sir i need the progressbar...more doubts sir. Hello sir,
Sir i have executed your code....
Thanking you!
FAYAZ
servlet n jsps - Java Beginners
servlet n jsps How to do:
1.After log-out, if user cilick on "back...://
Thanks.
hello,
1 = you ... | http://www.roseindia.net/tutorialhelp/comment/10204 | CC-MAIN-2015-18 | refinedweb | 2,519 | 76.11 |
31 October 2012 08:33 [Source: ICIS news]
SINGAPORE (ICIS)--?xml:namespace>
“This is a regular turnaround,” the source said, adding that it will last for about five days.
Haohua Yuhang has a total PVC capacity of 500,000 tonne/year, with 400,000 tonnes/year at Qinyang.
The producer sold carbide-based PVC during the tur... | http://www.icis.com/Articles/2012/10/31/9609080/chinas-haohua-yuhang-chemical-shuts-pvc-unit-on-30.html | CC-MAIN-2014-49 | refinedweb | 109 | 60.65 |
How to Calculate the Return Measure in QuickBooks 2013
There are two basic ways that you can calculate a return by using Microsoft Excel. You cannot do this calculation by using QuickBooks 2013 alone. To calculate a rate of return with Microsoft Excel, you first enter the cash flows produced by the investment.
Even if ... | http://www.dummies.com/how-to/content/how-to-calculate-the-return-measure-in-quickbooks-.html | CC-MAIN-2014-15 | refinedweb | 774 | 68.7 |
Hi everyone. I am working on a project which has to change the value of a variable in the executable. Specifically, writing this program:
int a = -1; int b = 3; int c = a + b;
I have to go into the executable and change the value of "a" into the executable. Let me not extend this too much, and show you what i have done... | https://www.daniweb.com/programming/software-development/threads/34974/reading-writing-to-executable | CC-MAIN-2018-05 | refinedweb | 192 | 68.36 |
A LINQ Tutorial
As noted in numerous other postings, I’m convinced that LINQ is an essential aspect of
serious Windows Phone (or virtually any .NET) programming. One of the great tools to come along for learning and working with LINQ is LinqPad, created by Joseph Albahari.
In my forthcoming book Programming Reactive Ex... | http://jesseliberty.com/2011/07/19/linq-pad-vs-visual-studio-for-learning-linq/ | CC-MAIN-2021-17 | refinedweb | 1,002 | 53.1 |
tabPanel: selected tab is lostAlan Mar 20, 2007 10:01 AM
I am using a tabPanel to organize sets of functions. Each tab will provide a set of functions/links per user role.
When navigation (clicking a link) within a tab the currently selected tab is lost and the browser will go back to the first tab. The user doesn't wa... | https://developer.jboss.org/thread/6092 | CC-MAIN-2018-30 | refinedweb | 555 | 55.64 |
From a performance point of view (time or memory) is it better to do:
import pandas as pd
from pandas import DataFrame, TimeSeries
def foo(bar):
from numpy import array
This is micro-optimising, and you should not worry about this.
Modules are loaded once per Python process. All code that then imports only need to bind... | https://codedump.io/share/W0aeZtHFxlUL/1/most-performant-way-to-do-imports | CC-MAIN-2018-13 | refinedweb | 180 | 68.5 |
To.
First it was only “cuts and gravy” varieties from a single manufacturer, then late last week products from three more facilities were suddenly added to the recall, including one variety of dry cat food. And now the FDA not only admits that the recall could widen further, it has also revealed that the melamine-taint... | http://horsesass.org/does-fda-spell-fema/ | CC-MAIN-2017-22 | refinedweb | 8,929 | 62.07 |
(you’re here!)
- TypeScript’s Literal Type Guards and “in” Operator!
Table of contents
User Defined Type Guards mean that the user can declare a particular Type Guard or you can help TypeScript to infer a type when you use, for example, a function.
We will demonstrate this with the following code:
class Song { constru... | https://ultimatecourses.com/blog/user-defined-type-guards-in-typescript | CC-MAIN-2021-21 | refinedweb | 619 | 69.21 |
This page outlines the naming guidelines you should follow when creating buckets and uploading objects in Cloud Storage. To learn how to create a bucket, see the Creating storage buckets guide.
Bucket name requirements
Your bucket names must meet the following requirements:
- adjacent to another period or dash. For exa... | https://cloud.google.com/storage/docs/naming?hl=th | CC-MAIN-2019-30 | refinedweb | 202 | 55.84 |
Node.js Application Configuration Files
December 13, 2010 9 Comments
What is the best practice to make configuration file for your Node.js application? Writing property file parser or passing parameters at command line is cumbersome.
Eval
One easy way to separate configuration and application code is by using
eval stat... | https://bravenewmethod.com/2010/12/13/node-js-application-configuration-files/ | CC-MAIN-2020-45 | refinedweb | 809 | 51.14 |
Introduction
There have been a series of breakthroughs in the field of Deep Learning and Computer Vision. Especially with the introduction of very deep Convolutional neural networks, these models helped achieve state-of-the-art results on problems such as image recognition and image classification.
So, over the years, ... | https://www.analyticsvidhya.com/blog/2021/06/build-resnet-from-scratch-with-python/ | CC-MAIN-2021-25 | refinedweb | 1,368 | 50.73 |
This section is informative.
The modules defined in this chapter are all new modules which were not part of the SMIL 2.1 specification.
This section is informative.
A SMIL 2.1 presentation has a lot of state that influences how the presentation runs. Or, to rephrase that in a procedural way, state that influences decis... | http://www.w3.org/TR/2008/CR-SMIL3-20080115/smil-state | CC-MAIN-2015-27 | refinedweb | 2,302 | 56.66 |
Issue with I2C... or is it me?
- CoachAllen last edited by
Greetings,
I have been working with the LoPy4 and the MCP23017 IO Expander. I also have a Saleae Logic 4 that I have hooked up to see the protocol in action. I notice something strange though.
I initialize using the following:
from machine import I2C i2c = I2C(... | https://forum.pycom.io/topic/4933/issue-with-i2c-or-is-it-me | CC-MAIN-2019-43 | refinedweb | 147 | 84.88 |
06 May 2010 16:44 [Source: ICIS news]
By Franco Capaldo
LONDON (ICIS news)--Borealis will look to take advantage of import growth in ?xml:namespace>
Mark Garrett said that Borealis had been producing at full capacity for the past four years at the 600,000 tonne/year polyethylene (PE) plant at Ruwais, Abu Dhabi, that wa... | http://www.icis.com/Articles/2010/05/06/9356633/borealis-to-take-advantage-of-china-import-growth-ceo.html | CC-MAIN-2014-23 | refinedweb | 464 | 60.08 |
When Threading Building Blocks Attack!
This week (25-29 JUL 2011) I'm lecturing at the UPCRC UIUC Summer School on Multicore Programming. I like teaching parallel programming and I live near the UIUC campus, so it's convenient for me. Overall I have a good time and often learn some things from the students. As an examp... | https://software.intel.com/zh-cn/blogs/2011/07/28/when-threading-building-blocks-attack?language=en | CC-MAIN-2018-09 | refinedweb | 1,082 | 62.17 |
A Fast Introduction to Basic Servlet Programming
- Oct 25, 2002
- The
World
The status line consists of the HTTP version (HTTP/1.1 in the example above), a status code (an integer; 200 in the example), and a very short message corresponding to the status code (OK in the example). In most cases, all of the headers are o... | http://www.informit.com/articles/article.aspx?p=29817&seqNum=7 | CC-MAIN-2013-20 | refinedweb | 2,874 | 55.95 |
Building pager view component
Whenever we deal with data we need some mechanism for paging it. It makes it easier for users to navigate through data and same time we don’t put too much load to our systems. This blog post shows how to build pager for ASP.NET Core site using ViewComponent and PagedResult class.
Source co... | https://gunnarpeipman.com/aspnet/pager-view-component/ | CC-MAIN-2019-30 | refinedweb | 1,025 | 66.94 |
Today we are introducing Spectrum: a new Cloudflare feature that brings DDoS protection, load balancing, and content acceleration to any TCP-based protocol.
CC BY-SA 2.0 image by Staffan Vilcans
Soon after we started building Spectrum, we hit a major technical obstacle: Spectrum requires us to accept connections on any... | https://networkfights.com/2018/04/12/abusing-linuxs-firewall-the-hack-that-allowed-us-to-build-spectrum/ | CC-MAIN-2018-34 | refinedweb | 1,667 | 56.66 |
Content-type: text/html
#include <scnhdr.h>
Every object file has a group of section headers to specify the layout of the data within the file. Each section within an object file has its own header. The C structure is as follows:
struct scnhdr
{
char s_name[8]; /* section name */
long s_paddr; /* physical address, alia... | http://backdrift.org/man/tru64/man4/scnhdr.4.html | CC-MAIN-2016-50 | refinedweb | 326 | 63.09 |
This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
On Fri, Mar 16, 2001 at 07:51:07AM -0800, H . J . Lu wrote: > On Fri, Mar 16, 2001 at 12:01:31PM +0100, Jakub Jelinek wrote: > > Hi! > > > > As result of recent atexit changes in glibc using atexit in i386-linux > > crtendS.o is b... | http://gcc.gnu.org/ml/gcc-patches/2001-03/msg01187.html | CC-MAIN-2019-30 | refinedweb | 262 | 70.19 |
Interface for a seekable & readable data stream.
More...
#include <stream.h>
List of all members.
Interface for a seekable & readable data stream.
Definition at line 571 of file stream.h.
16
0
Print a hexdump of the stream while maintaing position.
The number of bytes per line is customizable.
Definition at line 261 of... | https://doxygen.residualvm.org/d3/d59/classCommon_1_1SeekableReadStream.html | CC-MAIN-2020-40 | refinedweb | 374 | 68.16 |
bt_ldev_invoke_decode_event()
This function is used to parse the Bluetooth event data received over the invoke interface when "bb.action.bluetooth.EVENT" occurs.
Synopsis:
#include <btapi/btdevice.h>
int bt_ldev_invoke_decode_event(const char *invoke_data, int invoke_len, int *event, const char **bdaddr, const char **e... | https://developer.blackberry.com/native/reference/core/com.qnx.doc.bluetooth.lib_ref/topic/bt_ldev_invoke_decode_event.html | CC-MAIN-2020-10 | refinedweb | 224 | 52.05 |
Embedded and other low-memory footprint applications need to be easy on the amount of memory they use when executing. In such scenarios, statically sized data types and data structures just are not going to solve your problem. The best way to achieve this is by allocation of memory for variables at runtime under your w... | https://www.exforsys.com/tutorials/c-language/dynamic-memory-allocation-in-c.html | CC-MAIN-2021-39 | refinedweb | 774 | 57.81 |
Understanding .NET Attributes
Introduction
.
What are .NET Attributes?
A .NET attribute is a piece of information that you can attach with an assembly, class, property, method and other members. An attribute contributes to the metadata about an entity under consideration. An attribute is basically a class that is eithe... | http://www.codeguru.com/csharp/.net/understanding-.net-attributes.htm | CC-MAIN-2014-15 | refinedweb | 1,560 | 50.23 |
On Wed, 2013-12-04 at 09:50 -0500, Stephen Frost wrote: > > I still don't see that Extension Templates are all bad: > > * They preserve the fact that two instances of the same extension > > (e.g. in different databases) were created from the same template. > > This is only true if we change the extension templates to b... | https://www.mail-archive.com/pgsql-hackers@postgresql.org/msg227519.html | CC-MAIN-2018-26 | refinedweb | 148 | 73.37 |
I have this code to split a complicated CSV file into chunks. The hard bit is that commas may also appear within "" and thus those must not be split on. The regex I am using to find commas not within "" works fine:
comma_re = re.compile(r',(?=([^"]*""[^"]*"")*[^"]*$)')
import re
test = 'Test1,Test2,"",Test3,Test4"",Tes... | https://codedump.io/share/f2prnzPv9HLg/1/regex-avoid-quotrest-of-stringquot-split-results | CC-MAIN-2017-17 | refinedweb | 221 | 64.81 |
CodePlexProject Hosting for Open Source Software
My role on this project is essentially UI layer, limited MVC3 Experience...so far.
Results:
The correct view is being injected into the page as expected but none of the values appear to be populating? Any ideas, ran thru debugger but really doesnt help me if I have limit... | https://orchard.codeplex.com/discussions/260822 | CC-MAIN-2017-51 | refinedweb | 641 | 58.58 |
Agenda
See also: IRC log
resolution: no objection on the global structure of TCDL
CV: issues in the metadata?
CS: in BenToWeb we used DC terms of the year
2002 (previous version), it has been changed as of january
... we can now use dc:date and dc:description
CV: dc:description is not in the
"formalMetadata" section
..... | http://www.w3.org/2006/09/19-tsdtf-minutes | CC-MAIN-2014-10 | refinedweb | 658 | 51.72 |
Samples for building an app that you can submit to both the Windows Store and the Windows Phone Store.
Hundreds of samples from Microsoft to help jumpstart your project quickly.
Provide search suggestions by using the in-app search control. Key APIs used include AppendQuerySuggestion and SearchBox.
Create and show mult... | http://msdn.microsoft.com/en-us/windows/apps/br229519.aspx | CC-MAIN-2014-15 | refinedweb | 469 | 67.55 |
This tutorial describes how to create and test a kernel extension (KEXT) for Mac OS X. In this tutorial, you’ll create a very simple kernel extension that prints text messages when loading and unloading. The tutorial assumes that you are working in a Mac OS X development environment.
Anatomy of a KEXT
Roadmap
Create a ... | http://developer.apple.com/documentation/Darwin/Conceptual/KEXTConcept/KEXTConceptKEXT/hello_kext.html | crawl-002 | refinedweb | 3,822 | 65.32 |
What is wrong with this? cant figure it out... perhaps the square sign i'm using is the wrong square sign?
the program isnt done, but i thought i check that 1st part, and keep getting the errorthe program isnt done, but i thought i check that 1st part, and keep getting the errorCode:
#include <stdio.h>
int main ()
{
do... | http://cboard.cprogramming.com/c-programming/69618-invalid-operands-binary-%5E-printable-thread.html | CC-MAIN-2014-41 | refinedweb | 119 | 78.89 |
You may already know about Python’s capability to create a simple web server in a single line of Python code. Old news. Besides, what’s the point of creating a webserver that only runs on your machine? It would be far more interesting to learn how to access existing websites in a single line of code. Surprisingly, nobo... | https://blog.finxter.com/python-one-line-http-get/ | CC-MAIN-2020-50 | refinedweb | 666 | 58.79 |
27 October 2009 11:06 [Source: ICIS news]
LONDON (ICIS news)--Celanese’s third-quarter net earnings more than doubled year on year to $399m (€267m) from $158m due to a deferred tax benefit, the US chemicals major said on Tuesday.
“The 2009 results included a benefit of approximately $382m related to a deferred tax bene... | http://www.icis.com/Articles/2009/10/27/9258220/celanese-reports-sharp-rise-in-q3-net-earnings-on-tax-benefit.html | CC-MAIN-2014-41 | refinedweb | 174 | 50.36 |
Opened 19 months ago
Last modified 7 months ago
#7243 new bug
regression: acceptable foreign result types
Description
The following short file is rejected:
import Foreign.Ptr foreign import ccall "wrapper" foo :: IO (FunPtr ())
The error is:
test.hs:2:1: Unacceptable type in foreign declaration: IO (FunPtr ()) When che... | https://ghc.haskell.org/trac/ghc/ticket/7243 | CC-MAIN-2014-15 | refinedweb | 273 | 53.75 |
Are you sure?
This action might not be possible to undo. Are you sure you want to continue?
last updated April 29, 1992 for version 2.0
Doug Lea (dl@g.oswego.edu)
c Copyright 1988, 1991, 1992 Free Software Foundation, Inc. Permission is granted to make and distribute verbatim copies of this manual provided the copyrigh... | https://www.scribd.com/document/3400539/User-s-Guide-to-the-GNU-C-Library | CC-MAIN-2017-51 | refinedweb | 22,117 | 66.44 |
C++:
{
int i;
}:
class Point
{
int x;
int y;
};:
errno_t strcpy_s( char *strDestination, size_t numberOfElements, const char *strSource );
Names declared within a namespace block have namespace scope and can be accessed using the scope operator namespace::name.
Example:
namespace X { int t; }
int const soXt(sizeof X::t... | http://msdn.microsoft.com/en-us/library/b7kfh662(VS.80).aspx | crawl-002 | refinedweb | 128 | 51.21 |
Hey everyone in this article of tooling in DevOps we will talk about how we can save our monitoring metrics and use them to visualize in fancy graphs.
Let’s say we have metrics of how much time our servers are taking to serve any request. Now we want to save it in some time series database so that we can use it later t... | https://www.learnsteps.com/prometheus-vs-graphite/ | CC-MAIN-2022-21 | refinedweb | 431 | 73.88 |
Minimal routing extension for Flask
Project description
Flask-Mux is a lightweight Flask extension that provides a routing system similar to that of Express.js. It basically wraps Flask’s url route registrations API to add more flexibility.
A Simple Example
from flask import Flask from flask_mux import Mux, Router app ... | https://pypi.org/project/Flask-Mux/ | CC-MAIN-2021-39 | refinedweb | 113 | 56.55 |
I’m really happy to share a wonderful guest post by Gunasekaran Veerapillai. He is working as a competency Head in Wipro Technologies Testing Services.
Gunasekaran has covered an interesting transformation of automation industry – How it was few years ago and where is it heading now. He has also answered one core quest... | http://www.softwaretestinghelp.com/test-automation-specialized-career/ | CC-MAIN-2016-22 | refinedweb | 3,651 | 56.66 |
Hello, my name is Richard Russo. I’m the newest member of the Visual C++ compiler front-end developer team, having started in January. I’m not new to MS though as I spent the last three years working on Windows Vista. I’m excited to be on the front-end team because compiler development has been a hobby of mine for a fe... | https://blogs.msdn.microsoft.com/vcblog/2007/04/19/header-files-and-the-preprocessor-cant-live-with-em-cant-live-without-em/ | CC-MAIN-2017-22 | refinedweb | 3,258 | 61.56 |
If from the remote system; expect is the tool to use for that interactive session. But what’s better than creating a script to automate some repetitive task? Automating the creation of that script, of course. And, you can do just that with Autoexpect.
Creating an Expect script can prove tedious, especially for those of... | http://www.linux-mag.com/id/7828/comment-page-1/ | CC-MAIN-2018-43 | refinedweb | 1,519 | 65.42 |
can you use cin and cout with the winapi ? such as drawtext() and the other functions ? of so how ?
i was thinking
something like that.something like that.Code:cout<<drawtext()<<endl
also little trouble figureing out exactly what is going on with this ':' in the inline function
so bar(i) is in the scope of mytype2 or j... | http://cboard.cprogramming.com/cplusplus-programming/122848-cin-cout-winapi.html | CC-MAIN-2015-48 | refinedweb | 204 | 71.51 |
fabricate 1.29.0
The better build tool. Finds dependencies automatically for any language.
fabricate is a build tool that finds dependencies automatically for any language. It’s small and just works. No hidden stuff behind your back. It was inspired by Bill McCloskey’s make replacement, memoize, but fabricate works on ... | https://pypi.python.org/pypi/fabricate | CC-MAIN-2018-13 | refinedweb | 797 | 67.45 |
There are many ways to approach object instantiation. In this article we'll cover a few of the patterns used to instantiate objects.
Part I. Standard "New-Uping"
The first way we learned to approach object instantiation was with the constructor method on the class. This is the tried and true (and only) way to actually ... | http://www.c-sharpcorner.com/UploadFile/rmcochran/instantiationI06232007000158AM/instantiationI.aspx | crawl-002 | refinedweb | 1,059 | 54.15 |
I've been testing out boost::python for wrapping some C++ code that I've written, but I had some weird results trying to get the "__str__" functionality to work correctly. I have a base C++ class that has a virtual function in it (with a default value). I derive another C++ class from it and change the virtual function... | https://mail.python.org/pipermail/cplusplus-sig/2004-February/006474.html | CC-MAIN-2017-17 | refinedweb | 454 | 73.37 |
Create a Login Page
Let’s create a page where the users of our app can login with their credentials. When we created our User Pool we asked it to allow a user to sign in and sign up with their email as their username. We’ll be touching on this further when we create the signup form.
So let’s start by creating the basic... | https://branchv21--serverless-stack.netlify.app/chapters/create-a-login-page.html | CC-MAIN-2022-33 | refinedweb | 565 | 58.69 |
The source code for this document uses polyglot markup, polyglot markup.
The following shapes use SVG elements.
Polyglot markup introduces undeclared (native) default namespaces
for the the root SVG element (
svg) and respects the mixed-case element names and values
when appropriate, as described in the section on Elem... | http://www.w3.org/TR/html-polyglot/SamplePage.html | CC-MAIN-2015-18 | refinedweb | 186 | 53.1 |
I created a function in my program that would take info about a teacher and their class room and then write it to a file. Then I added a loop so that people could keep adding more teachers. Then I thought I would be good to make a break statement so people can easily close the program. The problem is, is that after you... | https://cboard.cprogramming.com/cplusplus-programming/31971-infinate-loop.html | CC-MAIN-2017-22 | refinedweb | 162 | 77.98 |
1.4 Beta
The 1.4 version of the MySenors Arduino library is new open for beta testing.
Arduino library and examples
Vera plugin (1.4)
Here are some of the hi-lights.
-.
All examples in the development branch above has been converted to use the new functionality of the library.
The new API:
/** * Constructor * * Creates... | https://forum.mysensors.org/topic/168/1-4-beta/23 | CC-MAIN-2019-13 | refinedweb | 2,227 | 67.76 |
All of the components on the board are 'hitable' board.
If you have got an Astro Pi board and haven't yet set it up take a look at my Astro Pi - Getting Started Tutorial.
Once your Astro Pi is up and running you can download the code from github.com/martinohanlon/MinecraftInteractiveAstroPi and run it by opening a term... | http://www.stuffaboutcode.com/2015/05/interactive-minecraft-astro-pi.html | CC-MAIN-2017-17 | refinedweb | 288 | 71.85 |
20 April 2009 17:46 [Source: ICIS news]
LONDON (ICIS News)--INEOS ChlorVinyls has shut the methylene chloride, chloroform and methyl chloride units at ?xml:namespace>
The shutdown, which took place over 18-19 April, is expected to halt production of the chemicals for at least a week, the source said.
The shutdown came ... | http://www.icis.com/Articles/2009/04/20/9209459/ineos-chlorvinyls-halts-production-at-runcorn-plant.html | CC-MAIN-2013-20 | refinedweb | 148 | 59.03 |
Currently, we are creating a program that captures still images at the fps specified by the Web camera.
A method is adopted in which the elapsed time is manually acquired and the image is taken every time a certain amount of time elapses.
It seems that it takes more time than necessary to shoot the camera image, so I c... | https://www.tutorialfor.com/questions-101015.htm | CC-MAIN-2020-40 | refinedweb | 883 | 57.3 |
Opened 11 years ago
Closed 11 years ago
Last modified 11 years ago
#1179 closed defect (fixed)
[magic-removal] Models not in INSTALLED_APPS should raise ImportError
Description
In trunk, if you try to import a model that isn't in
INSTALLED_APPS, Django will raise
ImportError. This lets you do the following:
try: from d... | https://code.djangoproject.com/ticket/1179 | CC-MAIN-2017-17 | refinedweb | 496 | 58.38 |
RECOMMENDED: If you have Windows errors then we strongly recommend that you download and run this (Windows) Repair Tool.
Video player documentation Embedding the player. Dailymotion provides a simple way to display videos on your website or application: it is possible to embed.
Fetching package metadata error Showing 1... | http://thesecondblog.com/error-fetching-video-metadata/ | CC-MAIN-2018-13 | refinedweb | 546 | 60.92 |
React and Firebase without Redux
Even after spending a number of years contributing to tools to help integrate Firebase with Redux, such as react-redux-firebase and redux-firestore, I have recently been avoiding using Redux to store database data in new React + Firebase projects. In this article I’ll cover a bit about ... | https://prescottprue.medium.com/react-and-firebase-without-redux-5c1b2b6a6ba1?source=post_internal_links---------4---------------------------- | CC-MAIN-2021-17 | refinedweb | 1,383 | 57.71 |
Hello,
I asked a question about this program a few days ago, but now I have a new problem. What I want to do now is search through the line that's read in from stdin, and then replace one word with another (provided from command line arguments). I'm trying to use the strstr() function to check if the word is there, but... | http://cboard.cprogramming.com/c-programming/45100-question-about-finding-word-replacing-printable-thread.html | CC-MAIN-2015-32 | refinedweb | 157 | 82.75 |
Created 10 February 2004, last updated 27 February 2012
An older version of this document is also available in
Russian.
Cog is a code generation tool. It lets you use pieces of Python code
as generators in your source files to generate whatever code you need.
The sections below are:
Cog transforms files in a very simpl... | http://nedbatchelder.com/code/cog/index.html | CC-MAIN-2014-15 | refinedweb | 4,680 | 74.9 |
9. Testing and Debugging
Attention
This document was written for Zope 2.
As you develop Zope applications you may run into problems. This chapter covers debugging and testing techniques that can help you. The Zope debugger allow you to peek inside a running process and find exactly what is going wrong. Unit testing all... | https://zope.readthedocs.io/en/latest/zdgbook/TestingAndDebugging.html | CC-MAIN-2022-21 | refinedweb | 4,774 | 64.3 |
Hi all, I'm having trouble finding information for what I need. I think it's because I don't really know the nane of what I'm looking for, so keywords are eluding me in my search.
I hope my explanation might give someone a clue who can help or at least tell me what to search.
I want my application to use external third... | https://www.daniweb.com/programming/software-development/threads/503771/using-net-dlls | CC-MAIN-2018-43 | refinedweb | 284 | 78.08 |
jusText 2.2.0
Heuristic based boilerplate removal tool
jusText is a fork of original (currently unmaintained) code of jusText hosted on Google Code. Below are some alternatives that I found:
-
-
-
-
-
-
-
-
-
-
-
-
-
Installation
Make sure you have Python 2.6+/3.3+ and pip (Windows, Linux) installed. Run simply:
$ [sud... | https://pypi.python.org/pypi/jusText | CC-MAIN-2017-13 | refinedweb | 454 | 52.05 |
INHERITANCE.
(1);
# to create the type nicely
use XML::Compile::Util qw/pack_type/;
my $type = pack_type 'myns', 'mytype';
print $type; # shows {myns}mytype
# using a compiled routines cache
use XML::Compile::Cache; # separate distribution
my $schema = XML::Compile::Cache->new(...);
# Show which data-structure is expec... | http://manpages.org/xmlcompileschema/3 | CC-MAIN-2021-21 | refinedweb | 1,945 | 57.16 |
I Was Told to Not Make a CMS, So I Made a CMS Framework
I Was Told to Not Make a CMS, So I Made a CMS Framework
Faced with the same problem over and over, this dev sought to make his own software to fix the issue. Then he open sourced it!
Join the DZone community and get the full member experience.Join For Free
Google ... | https://dzone.com/articles/i-was-told-to-not-make-a-cms-so-i-made-a-cms-frame?utm_medium=feed&utm_source=feedpress.me&utm_campaign=Feed%3A+dzone%2Fwebdev | CC-MAIN-2020-24 | refinedweb | 696 | 60.65 |
Matthew Musni610 Points
It won't work. It Doesn't loop. What's wrong
when i run the program it doesnt have errors but it doesnt perform its function. When i type quit it says "youve entered quit minutes". I dont get it.
'''
using System;
namespace teamtreehouse1 { class MainClass { public static void Main(string[] args... | https://teamtreehouse.com/community/it-wont-work-it-doesnt-loop-whats-wrong | CC-MAIN-2020-05 | refinedweb | 190 | 75.61 |
Check out this quick tour to find the best demos and examples for you, and to see how the Felgo SDK can help you to develop your next app or game!
Felgo allows you to access various device sensors, with the Qt Sensors QML Types.
Here is an example how to read from the Accelerometer sensor. You can tilt your phone forwa... | https://felgo.com/doc/apps-howto-use-native-device-sensors/ | CC-MAIN-2020-40 | refinedweb | 107 | 60.31 |
Synchronous code will block the event loop and degrade the performance
of the Quart application it is run in. This is because the synchronous
code will block the task it is run in and in addition block the event
loop. It is for this reason that synchronous code is best avoided,
with asynchronous versions used in prefer... | https://pgjones.gitlab.io/quart/how_to_guides/sync_code.html | CC-MAIN-2020-40 | refinedweb | 363 | 62.88 |
Win32 Under the hood::
Sequal to
Lets pop the hood and see what makes Windows tick. While keeping things simple. At this point we will use the C language to look at examples, Its easyer to folow for beginers then a bunch of C++ classes. The requirements is that you have a C/C++ compiler, suports 32bit and check to see ... | http://www.antionline.com/showthread.php?244804-Win32-Under-the-hood | CC-MAIN-2016-50 | refinedweb | 562 | 74.49 |
Section (1) unshare
Name
unshare — run program with some namespaces unshared from parent
Synopsis
unshare [options] [ program
[arguments] ]
DESCRIPTION
Unshares the indicated namespaces from the parent process
and then executes the specified
program. If
program is not given, then
``${SHELL}_zsingle_quotesz__zsingle_quo... | https://manpages.net/detail.php?name=unshare | CC-MAIN-2022-21 | refinedweb | 1,535 | 58.58 |
Welcome to the Parallax Discussion Forums, sign-up to participate.
Edit: Version 0.16
@" (absolute hub address) operator
corrected object ordering bug
Edit: Version 0.17
@ disables duplicate object elimination
jac_goudsmit wrote: »
PropellerIDE is sort of a portable version of Propeller Tool but needs work, probably do... | https://forums.parallax.com/discussion/168321/migrating-from-propeller-tool-to-propelleride-or-simpleide | CC-MAIN-2019-39 | refinedweb | 3,069 | 72.36 |
In Parts I and II of the Guide, I showed how to write context menu extensions that are invoked when the user right-clicks on certain types of files. In this part, I'll demonstrate a different type of context menu extension, the drag and drop handler, which adds items to the context menu displayed for a right-button dra... | http://www.codeproject.com/KB/shell/shellextguide4.aspx | crawl-002 | refinedweb | 2,456 | 62.48 |
This article has been updated - Migrating a WPF App in .NET Core 3.0
The first .NET Core 3.0 Preview was released a couple of weeks ago,. While the preview is still in an early state and missing a few key features (such as designer support), you can already start using it to develop new apps or migrate existing ones.
I... | https://www.grapecity.com/blogs/using-the-dot-net-core-3-0-preview-with-wpf | CC-MAIN-2019-39 | refinedweb | 1,049 | 73.98 |
I'm having a problem whereby I create an instance of a class called Calculations.class in one of my main classes, but cannot access that instance from any other class. Here is the code
public class Parameters{
//code//
Calculations calc = new Calculations();
//some calculations done using variables in the calculations ... | https://www.daniweb.com/programming/software-development/threads/14419/problems-accessing-class-instances | CC-MAIN-2017-47 | refinedweb | 105 | 54.52 |
!30324 38 2013/03/24 23:58:0730324 49 + build-fix for libtool configuration (reports by Daniel Silva Ferreira 50 and Roumen Petrov). 51 52 20130323 53 + build-fix for OS X, to handle changes for --with-cxx-shared feature 54 (report by Christian Ebert). 55 + change initialization for vt220, similar entries for consisten... | http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blob;f=NEWS;h=05ea4b7f286fa9a1ec3dd08bb9a600853064b6e8;hb=4204d0154d2ee2d272807a0023d38ed9035ea555 | CC-MAIN-2022-33 | refinedweb | 25,550 | 66.13 |
As you know, Perl has several magic global variables, subroutines, and literals that have the same meaning no matter what package they are called from. A handful of these variables have special meaning when running under mod_perl. Here we will describe these and other global variables maintained by mod_perl. Don't forg... | https://www.safaribooksonline.com/library/view/writing-apache-modules/156592567X/156592567X_ch09-12332.html | CC-MAIN-2018-34 | refinedweb | 247 | 62.98 |
29 December 2008 23:53 [Source: ICIS news]
(Adds Standard and Poor’s, Moody's downgrade, stock closings in paragraphs 9-13)
?xml:namespace>
“Cancellation of K-Dow could compromise Dow’s ability to close its pending acquisition of Rohm and Haas, a key element of Dow’s strategic plan, although neither that deal nor relat... | http://www.icis.com/Articles/2008/12/29/9181090/K-Dow-collapse-endangers-Rohm-and-Haas-deal-BoA.html | CC-MAIN-2014-10 | refinedweb | 303 | 51.68 |
Please note before reading this, this is a keylogger, no its not used for malicious purposes as it only runs with the programing prompt open and stops as soon as the program is exited. Just trying to show my computer teachers something, because he's an idiot who gets his lessons straight out of a text book :confused: I... | https://www.daniweb.com/programming/software-development/threads/56614/help-with-fixing-my-source-code | CC-MAIN-2017-34 | refinedweb | 411 | 59.13 |
Ruby Metaprogramming: Part I
If you’re working with Ruby, chances are by now you’ve heard the word “metaprogramming” thrown around quite a lot. You may have even used metaprogramming, but not fully understood the true power or usefulness of what it can do. By the end of this article, you should have a firm grasp not on... | http://www.sitepoint.com/ruby-metaprogramming-part-i/ | CC-MAIN-2014-15 | refinedweb | 1,534 | 70.02 |
Proposed features/camp site pitch
Contents
Tagging of individual pitches
One might be interested in tagging individual pitches within a campground. Pitch means (in this context) the free space used to place 1 tent or 1 caravan..
This proposal builds on the earlier work in tagging individual pitches at Proposed features... | http://wiki.openstreetmap.org/wiki/Proposed_features/camp_site_pitch | CC-MAIN-2017-17 | refinedweb | 369 | 59.13 |
Re: BT2006 Debatching from SQL Adapter
- From: "rclb" <ray.crager@xxxxxxxxxxxxxxx>
- Date: 30 Jul 2006 06:44:05 -0700
How do you have the Any node set up in the schema? In the schema
editor try setting the Namespace property of the Any node to ##any and
the Process Content to skip.
Gregory Harris wrote:
Hi all,
excuse ... | http://www.tech-archive.net/Archive/BizTalk/microsoft.public.biztalk.general/2006-08/msg00028.html | CC-MAIN-2013-20 | refinedweb | 354 | 71.65 |
09 November 2010 23:53 [Source: ICIS news]
(adds updates throughout)
HOUSTON (ICIS)--One person died on Tuesday and another was seriously injured when a storage tank exploded at DuPont’s ?xml:namespace>
A worker employed by a mechanical contractor died, DuPont said. Another worker was injured and transported to a local... | http://www.icis.com/Articles/2010/11/09/9408802/One-dead-one-injured-after-DuPont-New-York-plant-blast.html | CC-MAIN-2014-35 | refinedweb | 225 | 52.9 |
Hello,
I am writing a program in C++ that uses also C sources. As this program is pretty big project and I work on it with different people I would like to hide thousands of internal functions that are defined in C source files and leave to other programmers only interfaces or wrappers written by me to those functions.... | http://www.gamedev.net/topic/645883-how-to-hide-global-functions-from-c-files-in-c-program/ | CC-MAIN-2014-41 | refinedweb | 159 | 67.49 |
By Reza Lotun, AWS Community Developer
Modern Web applications often employ a variety of datastores in their design to support different application requirements. This article takes you through a whirlwind tour of setting up an Amazon Elastic Compute Cloud (Amazon EC2) instance with a Django installation, ready to inte... | http://aws.amazon.com/articles/Amazon-EC2/3997 | CC-MAIN-2015-22 | refinedweb | 3,546 | 56.35 |
You can create classes inside of a module which gives you your own kind of namespace amongst other things
Anyone have any tips for best practices on this? When do you put classes inside of a module? What do you use them for?
You can create classes inside of a module which gives you your own kind of namespace amongst ot... | https://forum.xojo.com/t/best-practices-classes-inside-of-a-module/12085 | CC-MAIN-2022-27 | refinedweb | 443 | 80.62 |
My last article turned out to be a bit of a niche topic, so I decided to try my hand at something a little more mainstream. Though we'll still be discussing Phaser (gotta monopolize that niche!), you don't need to read the previous article to follow along with this one.
Today we're going to take a look at how we can im... | https://practicaldev-herokuapp-com.global.ssl.fastly.net/jorbascrumps/creating-spelunky-style-level-transitions-in-phaser-2ajd | CC-MAIN-2021-17 | refinedweb | 1,509 | 65.42 |
One of the best optimizations we can make when adopting cloud and serverless technologies is to take advantage of asynchronous processing. Services like EventBridge, Step Functions, SNS and SQS can form the backbone of highly scalable, reliable, cost-effective and performant job processing. Cloud services like these me... | https://dev.to/aws-builders/testing-the-async-cloud-with-aws-cdk-33aj | CC-MAIN-2021-49 | refinedweb | 2,561 | 55.24 |
Django tags with parameters
In the beginning
Some time ago, I struggled and wrestled with a problem that should have been easy. How, in my custom tag, can I parse the parameters passed to me, and know if they're string/int literals, or things I should look up in context?
Now, way back in my Zope days, I had this one be... | http://musings.tinbrain.net/blog/2011/feb/25/django-tags-parameters/ | CC-MAIN-2018-22 | refinedweb | 342 | 77.03 |
26/09/2007, a9876543210@... <a9876543210@...> wrote:
> I've the problem that my labels are only shown after clicking on them
> or after resizing the window.
> do I have to implement a repainting or something?
No, but you have to process the event queue somewhere in your code.
You example is incomplete, and does not sh... | https://sourceforge.net/p/perl-win32-gui/mailman/perl-win32-gui-users/?viewmonth=200711&viewday=10 | CC-MAIN-2017-51 | refinedweb | 2,386 | 67.08 |
Uncyclopedia:Templates/In-universe/Quotes
From Uncyclopedia, the content-free encyclopedia
The following is a listing of Quote templates. The only quote templates still in normal use are {{Q}}, {{cquote}}, and {{Wilde}}. The use of quotes is generally discouraged in most contexts. Quotes are still used in the Unquotabl... | http://uncyclopedia.wikia.com/wiki/Uncyclopedia:Templates/In-universe/Quotes?direction=next&oldid=5458232 | CC-MAIN-2015-22 | refinedweb | 213 | 62.38 |
<<cert>> Policy used to name an entity. More...
#include <dds_c_infrastructure.h>
<<cert>> Policy used to name an entity.
The purpose of this QoS is to allow the user to attach naming information to created DDS_Entity objects.
It can only be 255 characters in length.
It must be a NULL-terminated string allocated with D... | https://community.rti.com/static/documentation/connext-micro/2.4.1/doc/html/structDDS__EntityNameQosPolicy.html | CC-MAIN-2022-05 | refinedweb | 102 | 60.31 |
#include "Extensions/Hack Installation.txt"
ORG 0x000AC6
BL(0x01AAE0) //Bls to the debug startup routine
ORG 0x5C7368
POIN 0x01A675 //Replacing Suspend's effect with the Debug map menu loading routine
ORG 0x5C6728
WORD 0x0 //D.Info's draw routine crashes so the game, so we need to 0 it out
The Startup Debug MenuThis on... | http://feuniverse.us/t/fe6u-leftover-debug-stuff/3199 | CC-MAIN-2018-47 | refinedweb | 210 | 76.11 |
Linux drivers make working with devices so easy - assuming you know how. The most basic of all hardware is the GPIO and the sysfs way of working is now obsolete. Find out what the new way of doing things is all about.
This content comes from my newly published book:
Buy from Amazon.
Choosing A Pi For IoT
C and Visual S... | https://i-programmer.info/programming/hardware/14457-pi-iot-in-c-using-linux-drivers-gpio-character-driver.html | CC-MAIN-2021-25 | refinedweb | 1,221 | 65.96 |
canvaselement
width
height
interface HTMLCanvasElement : HTMLElement { attribute unsigned long width; attribute unsigned long height; DOMString toDataURL([Optional] in DOMString type, [Variadic] in any args); Object getContext(in DOMString contextId); };
The
canvas element, the
canvas element
represents an embedded ele... | http://www.w3.org/TR/2009/WD-html5-20090212/the-canvas-element.html | CC-MAIN-2017-43 | refinedweb | 2,239 | 53.51 |
I.
Coremark is a tool for a benchmark to help you to select the MCU that meets your system requirements by properly comparison of the performance of various MCU’s.
You can measure the core performance so easily as the coremark can be run on any MCU’s. This time, I got a i.MXRT1050-EVK board, and I wanted to know what o... | https://mcu-things.com/blog/imxrt-how-to-coremark-implementation/ | CC-MAIN-2020-05 | refinedweb | 1,228 | 57.16 |
Haskell IO for Imperative Programmers
From HaskellWiki
My goal is to help experienced procedural programmers make the transition to Haskell, not to provide a tour of language features. I don’t want to show you how to do imperative programming in Haskell; I want to show you how not to.
1 Introduction
There is a widespre... | http://www.haskell.org/haskellwiki/index.php?title=Haskell_IO_for_Imperative_Programmers&direction=prev&oldid=42244 | CC-MAIN-2014-15 | refinedweb | 2,774 | 72.26 |
Customized List CheckBox control
This project received 9 bids from talented freelancers with an average bid price of $132 USD.Get free quotes for a project like this
Project Budget$30 - $250 USD
Total Bids9
Project Description
Need a customized list checkbox control. See attached snapshot. The control has to implement ... | https://www.freelancer.com/projects/ASP-NET/Customized-List-CheckBox-control/ | CC-MAIN-2016-50 | refinedweb | 159 | 65.93 |
When using Selenium 2.0 (WebDriver) you will sometimes find clicking a link opens a popup window. Before you can interact with the elements on the new window you need to switch to the new window. If the new window has a name you can use the name to switch to the popup window:
driver.switchTo().window(name);
However, if... | https://darrellgrainger.blogspot.com/2012/04/how-to-find-popup-window-if-it-does-not.html?showComment=1364797989815 | CC-MAIN-2022-27 | refinedweb | 732 | 60.41 |
Star Wars Jedi Knight II: Jedi Outcast: Capture the Flag FAQ by TripleEej
Version: 1.0 | Updated: 2002-04-20 | Original File
_____ _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ |_____|_____|_____|_____|_____|_____|_____|_____|_____|_____|_____| |_____|_____|_____|_____|_____|_____|_____|_____|_____|_____|... | http://www.gamefaqs.com/pc/516547-star-wars-jedi-knight-ii-jedi-outcast/faqs/16742 | CC-MAIN-2014-52 | refinedweb | 5,909 | 80.92 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.