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 |
|---|---|---|---|---|---|
Microsoft Word is a word processor developed by Microsoft which was initially released in 1983. It is one of the most used word processors in the world with its users continuously growing each day. Microsoft constantly updates Word every once in a while with major improvements and improved accessibility.
Many users fac... | https://appuals.com/fix-word-cannot-open-the-document-user-does-not-have-access-privileges/ | CC-MAIN-2020-10 | refinedweb | 953 | 63.8 |
Visual Studio 2010: Generating sequence diagrams on the fly
One nice feature that Visual Studio 2010 provides is generating sequence diagrams on the fly. Just point out method and choose diagram generating option from context menu. In this posting I will show you how to generate sequence diagrams on the fly.
To keep ex... | http://weblogs.asp.net/gunnarpeipman/visual-studio-2010-generating-sequence-diagrams-on-the-fly | CC-MAIN-2015-48 | refinedweb | 277 | 66.23 |
- NAME
- VERSION
- DESCRIPTION
- BUT WHY?
- NOTE ABOUT THE EXAMPLES
- RAW CGI.pm EXAMPLES
- PSGI/Plack
- Mojolicious
- Dancer2
- Catalyst
- Others
- Dependency Handling
- SEE ALSO
- AUTHOR INFORMATION
NAME
CGI::Alternatives - Documentation for alternative solutions to CGI.pm
VERSION
0.10
DESCRIPTION
This module doesn't... | https://metacpan.org/pod/release/LEEJO/CGI-Alternatives-0.10/lib/CGI/Alternatives.pm | CC-MAIN-2017-04 | refinedweb | 1,982 | 54.02 |
Related
Tutorial
Working with Singletons Singleton is one of the most well known and hated design patterns amongst developers. It is very easy to implement a basic version of the singleton pattern (probably why it’s abused so much). In this article, we’ll take a look at what singletons are and how to best implement the... | https://www.digitalocean.com/community/tutorials/js-js-singletons | CC-MAIN-2020-34 | refinedweb | 762 | 54.22 |
I see ya back to playing my brah. Cool hit me back up in discord man.
-
- McNubberson
- Registered Member
- Member for 6 years, 8 months, and 28 days
Last active Tue, Sep, 1 2020 07:46:37
- 1 Follower
- 181 Total Posts
- 42 Thanks
- Aug 31, 2020McNubberson posted a message on FRESH REALM 18+ | looking for active people... | https://www.minecraftforum.net/members/McNubberson/posts | CC-MAIN-2021-21 | refinedweb | 6,373 | 64.91 |
The first step to utilizing the
logging module is to import it into our application. We can do this using the following line of code:
import logging
Next, we can obtain our logger object using the
getLogger(name) method. This method takes in an optional, single input parameter called
name that represents the name of th... | https://www.codecademy.com/courses/seds-software-engineering-in-python-i/lessons/python-logging/exercises/creating-a-logger | CC-MAIN-2022-40 | refinedweb | 385 | 67.04 |
Continue with the previous section Exception handling in c++ ...
Catalog
1. What happens when an exception is thrown in the main() function
2. What happens when an exception is thrown in a destructor
3. Exception specification of functions
4. Analysis of Dynamic Memory Request Results
5. New usage of new keywords
1. Wh... | https://programmer.group/5e7844e9945c0.html | CC-MAIN-2020-24 | refinedweb | 213 | 66.88 |
Any way to speed up image upload to Dropbox (or alternative)?
Hi --
I'm trying to automate some data collection across various app-enabled activities (e.g. meditation) to a central Google Sheets spreadsheet, using Dropbox to collect any associated images. This is implemented via a Pythonista app triggered via the share... | https://forum.omz-software.com/topic/6817/any-way-to-speed-up-image-upload-to-dropbox-or-alternative | CC-MAIN-2022-40 | refinedweb | 744 | 64.51 |
Subject: Re: [boost] [1.44] Beta progress?
From: Robert Ramey (ramey_at_[hidden])
Date: 2010-07-26 01:56:36
Matthias Troyer wrote:
> On 25 Jul 2010, at 10:28, Robert Ramey wrote:
>
>> Matthias Troyer wrote:
>>>
>>> Then please demonstrate how to implement an archive that actually
>>> does anything sensible and supports... | https://lists.boost.org/Archives/boost/2010/07/169299.php | CC-MAIN-2021-43 | refinedweb | 732 | 65.42 |
After explaining how to use U1DB to store simple bits of information in Ubuntu SDK apps, and saying that that caters for 80% of my need for data storage, I should explain the other thing I do, which is to store dynamic data; documents created from user data.
To understand more about how to retrieve data from U1DB throu... | http://www.kryogenix.org/days/2014/01/23/using-u1db-in-listviews-in-ubuntu-sdk-apps/ | CC-MAIN-2016-18 | refinedweb | 516 | 59.6 |
Quick Guide
From Nemerle Homepage
This is a small guide to nearly all Nemerle features, specially for people coming from C#:
Variables
- mutable a = 5;: mutable variables can be changed later
- def b = 4;: normal variables cannot be changed
In all variables, type inference works
- def c : float = 4;: a type annotation
... | http://nemerle.org/Quick_Guide | crawl-001 | refinedweb | 4,056 | 54.46 |
How To Convert Image To Matrix Using Python
In this tutorial, we are going to learn how to convert an image to the matrix in Python. Before we get into our problem, basic ideas should be made clear to all.
What is Image Processing In Python
- Image Processing in Python is a technique or method through which data of Ima... | https://www.codespeedy.com/how-to-convert-image-to-matrix-in-python/ | CC-MAIN-2019-43 | refinedweb | 359 | 73.31 |
When working with implicit-encoded dependent function types, such as
scalaz.Unapply and numerous Shapeless operations, you’d frequently
like to acquire instances of those functions to see what types get
calculated for them.
For example,
++ on Shapeless
HLists is driven by
Prepend:
def ++[S <: HList](suffix : S)(implici... | https://typelevel.org/blog/2014/01/18/implicitly_existential.html | CC-MAIN-2019-13 | refinedweb | 1,108 | 50.73 |
Using C# attributes to Add Special Behavior to the Unity’s Inspector Window
A C# attribute is a mark that can be placed before a variable within a script to add some special behavior. There are a lot of attributes created to interact with the UnityEngine and UnityEditor namespaces.
This example is focused on some attri... | https://rusbenguzman.medium.com/using-c-attributes-to-add-special-behavior-to-the-unitys-inspector-window-2c0809603eb1?source=post_internal_links---------4---------------------------- | CC-MAIN-2021-31 | refinedweb | 271 | 56.89 |
Last updated on October 21st, 2017 |
Are you sure the type of data you’re sending from your Ionic app is the one that’s storing in your Firebase database?
It turns out that for me, it wasn’t.
I was checking out a revenue tracking app I build for my wife, she organizes events, and I was convinced that all my programming... | https://javebratt.com/validate-forms-ionic-firebase/ | CC-MAIN-2018-05 | refinedweb | 2,253 | 59.03 |
Given two strings s1 and s2, where s1 contains wild card characters and s2 is a normal string. Write a function that will return true if both the given strings match
The following wildcard characters are allowed
‘*’ = Matches with zero or more instances of any character or set of characters
Example :
“Pro*ing” will be ... | https://www.tutorialcup.com/interview/string/wildcard-character-matching.htm | CC-MAIN-2021-49 | refinedweb | 298 | 72.26 |
[SOLVED] (Beginner) Very simple XML Parser
Hi! I'm trying to use the SAX parser for XML in Qt. I've got some problems to implement this... It's very simple, only using a command console for the moment:
MyHandler.h :
@#include <QtXml/QXmlDefaultHandler>
class MyHandler : public QXmlDefaultHandler
{
public:
bool readFile... | https://forum.qt.io/topic/16537/solved-beginner-very-simple-xml-parser | CC-MAIN-2018-30 | refinedweb | 698 | 62.85 |
Solidity Language¶
The Solidity language supported by Solang aims to be compatible with the latest Ethereum Foundation Solidity Compiler, version 0.7 with some caveats.
Note
Where differences exist between different targets or the Ethereum Foundation Solidity compiler, this is noted in boxes like these.
Brief Language ... | https://solang.readthedocs.io/en/v0.1.8/language.html | CC-MAIN-2021-43 | refinedweb | 13,783 | 63.59 |
singleton - invokestatic - multiple threads
We made thousand (I = [0 .. 999]) singletonI classes.
public class singletonI extends abstractclass {
private static singletonI instance;
private singletonI(){}
public int getValue(){
body;
}
public static singletonI getInstance() {
if (instance == null) {
instance = new sing... | https://www.java.net/node/657813 | CC-MAIN-2015-35 | refinedweb | 319 | 64 |
Beam DataFrames overview
The Apache Beam Python SDK provides a DataFrame API for working with pandas-like DataFrame objects. The feature lets you convert a PCollection to a DataFrame and then interact with the DataFrame using the standard methods available on the pandas DataFrame API. The DataFrame API is built on top ... | https://beam.apache.org/documentation/dsls/dataframes/overview/ | CC-MAIN-2021-31 | refinedweb | 773 | 55.03 |
Preface
Sega Genesis Development Kit (SGDK) is a free set of tools needed to create a game for the Sega Megadrive console. This GDK contains a compiler of C code, and a set of libraries we need.
The purpose of this tutorial is to create the simplest application “Hello World“. But, first, you need to prepare the tools.
... | https://under-prog.ru/en/sgdk-creating-a-hello-world-application/ | CC-MAIN-2022-27 | refinedweb | 355 | 69.07 |
Custom drawing in 2D¶
Why?¶
Godot has nodes to draw sprites, polygons, particles, and all sorts of stuff. For most cases, this is enough. If there's no node to draw something specific you need, you can make any 2D node (for example, Control or Node2D based) draw custom commands.
But...¶
Custom drawing manually in a nod... | https://docs.godotengine.org/en/latest/tutorials/2d/custom_drawing_in_2d.html | CC-MAIN-2021-31 | refinedweb | 2,094 | 59.64 |
From: Andy Little (andy_at_[hidden])
Date: 2005-10-02 09:42:53
"Reece Dunn" <msclrhd_at_[hidden]> wrote
> Andy Little wrote:
>>"Reece Dunn" <msclrhd_at_[hidden]> wrote
>> > I have, as well as many others, have made attempts into this brave new
>>world
>> > ;).
I have been looking through your Boost.GUI library , (but o... | https://lists.boost.org/Archives/boost/2005/10/94645.php | CC-MAIN-2021-21 | refinedweb | 885 | 63.9 |
Subject: [Boost-announce] [boost] [TTI] Review Result
From: Joel falcou (joel.falcou_at_[hidden])
Date: 2011-08-02 09:06:02
This is the result summary for the Type Traits Introspection library by
Edward Diener.
The review have been on going from July 1st to july 17th and had generated a large amount of very interesting... | http://lists.boost.org/boost-announce/2011/08/0328.php | CC-MAIN-2014-52 | refinedweb | 281 | 60.75 |
Once a MC password has been imported by Empathy, it calls UpdateParameters({}, ('password')) to unset it, but this doesn't remove it from gnome-keyring as expected.
Looks like it's supposed to get removed in mcd-account-manager-default:_keyring_commit() but is not because the key is not in amd->secrets at this point.
I... | https://bugs.freedesktop.org/show_bug.cgi?id=42088 | CC-MAIN-2016-22 | refinedweb | 1,154 | 64.2 |
Dim a LED With Raspberry Pi 3 and Python
Introduction: Dim a LED With Raspberry Pi 3 and Python
Hi ! I am going to show you how to dim a LED with Raspberry Pi.
Difficulty : EASY/BEGINNER.
Stay tuned for the next instructables!
Step 1: What Do We Need?
Hi ! I am going to show you how to dim a LED with Raspberry Pi.
Diff... | http://www.instructables.com/id/Dim-a-LED-With-Raspberry-Pi-3-and-Python/ | CC-MAIN-2017-51 | refinedweb | 209 | 70.19 |
As more people start using Enterprise Library, a lot of people are starting to ask some great questions about the best way to manage this resource within their organizations. Even though we designed EntLib to be used on projects in large organizations, it’s probably fair to say that the installer and documentation is r... | https://blogs.msdn.microsoft.com/tomholl/2005/04/06/managing-enterprise-library-in-your-organization/ | CC-MAIN-2017-09 | refinedweb | 2,215 | 61.26 |
News
Video recording from 33rd Degree 2012
05 listopad 2012
See youtube playlist and expect new video every couple days.
Photos from 33rd Degree 2012
31 maj 2012
33rd Degree 2013
16 maj 2012
If you do not want to miss registration for 33rd Degree 2013, please sign up and we will notify you via email when registration s... | http://2012.33degree.org/index.html | CC-MAIN-2019-22 | refinedweb | 218 | 58.32 |
Java REPL or jshell is the new tool introduced in java 9. Today we will look into Java REPL basics and run some test programs in jshell interface.
Table of Contents
Java REPL
Let’s first try to understand why REPL support was added in Java, if it was that important then why in so late release.
As you know, Scala has be... | https://www.journaldev.com/9879/java-repl-jshell | CC-MAIN-2019-30 | refinedweb | 801 | 66.23 |
from _ programmer? This blog post describes a way to do this, with a link to working code. The code is not very sophisticated: firstly, I am not a professional programmer and have no training in computer science; as a result, all I do is simple stuff. Secondly, I wrote the bulk of the code in a single day (ending with ... | https://aroberge.blogspot.com/2015/10/from-experimental-import-somethingnew.html | CC-MAIN-2018-13 | refinedweb | 1,349 | 60.95 |
Leo Davidson observes that
a hit-test code is defined for
HTOBJECT, but it is not documented, and wonders
what's up.
#define HTOBJECT 19
The
HTOBJECT is another one of those features
that never got implemented.
The code does nothing and nobody uses it.
It was added back in Windows 95 for reasons lost to the
mists of ti... | https://blogs.msdn.microsoft.com/oldnewthing/20120711-00/?p=7153/ | CC-MAIN-2017-09 | refinedweb | 1,277 | 61.06 |
How to: Search for Objects, Definitions, and References (Symbols)
You can use Object Browser, Navigate To, Find Symbol, or Go to Definition to search for objects, definitions, or references (symbols) in a solution.
In the Object Browser, you can type a search string to filter the names of the symbols that are displayed... | https://docs.microsoft.com/en-us/previous-versions/4sadchd3(v%3Dvs.110) | CC-MAIN-2019-26 | refinedweb | 1,392 | 61.77 |
SP 1.1 introduced an extremely valuable new capability: the ability to define your own JSP tags. You define how the tag, its attributes, and its body are interpreted, then group your tags into collections called tag libraries that can be used in any number of JSP files. The ability to define tag libraries in this way p... | http://www.informit.com/articles/article.aspx?p=26119&seqNum=6 | CC-MAIN-2019-47 | refinedweb | 1,275 | 56.05 |
At this point, you're ready to take a look at all the defines, macros, data structures, and functions that you've created throughout the book. Moreover, I've put them all into a single pair of files: T3DLIB1.CPP|H. You can link these into your programs and use everything you've learned so far without hunting down all t... | http://www.yaldex.com/games-programming/0672323699_ch08lev1sec14.html | CC-MAIN-2016-50 | refinedweb | 8,741 | 56.69 |
The linked list is one of the most important concepts and data structures to learn while preparing for interviews. As we know a LinkedList allows only insertions and deletion at constant time, to get access to any random element we still need linear time. But this problem somewhat uses traversals too but in an interest... | https://www.prepbytes.com/blog/linked-list/find-the-length-of-a-loop-in-the-linked-list/ | CC-MAIN-2022-21 | refinedweb | 954 | 71.28 |
view raw
I was a bit curious if I could do more work in a function after returning a result. Basically I'm making a site using the pyramid framework(which is simply coding in python) after I process the inputs I return variables to render the page but sometimes I want to do more work after I render the page.
For exampl... | https://codedump.io/share/GDtgOWWlJwxA/1/is-there-a-way-to-do-more-work-after-a-return-statement | CC-MAIN-2017-22 | refinedweb | 282 | 60.48 |
Data loading: MXNet recordIO¶
Overview¶
This example shows you how to use the data that is stored in the MXNet recordIO format with DALI.
Creating an Index¶
To use data that is stored in the recordIO format, we need to use the
MXNetReader operator. In addition to the arguments that are common to all readers, such as
ra... | https://docs.nvidia.com/deeplearning/dali/master-user-guide/docs/examples/general/data_loading/dataloading_recordio.html | CC-MAIN-2021-04 | refinedweb | 321 | 52.76 |
I have a listing in a sub menu.I would like to display different captions for the different items, all which are dynamically obtained. Much the same way 'Open recent' works.
I've implemented a
def is_visible(self, index):
function to only show relevant menu items, and that works great.
How can I provide a custom captio... | https://forum.sublimetext.com/t/dynamic-menu-caption/11331 | CC-MAIN-2016-18 | refinedweb | 209 | 60.72 |
59956/existing-bigquery-table-into-another-location-will-charged
You are not charged for copying a table, but you do incur charges for storing the new table and the table you copied.
For more information, see Copying an existing table.
You can stop an instance temporarily if ...READ MORE
You can create an instance from... | https://www.edureka.co/community/59956/existing-bigquery-table-into-another-location-will-charged | CC-MAIN-2020-29 | refinedweb | 141 | 69.58 |
An application contains lots of lines which leave the stack empty. After these lines any code can be inserted, as long as it leaves the stack empty again. You can load some values onto the stack and store them off again, without disturbing the application's flow.
Let's take a look at an assembly's IL Assembler Language... | http://www.codeproject.com/Articles/5499/Steganography-VI-Hiding-messages-in-NET-Assemblies | CC-MAIN-2017-17 | refinedweb | 2,229 | 55.34 |
Overriding hashCode() Equal() contract
Every Java object has two very important methods i.e. hashCode() and an equals() method. These methods are designed to be overridden according to their specific general contract. This article describes why and how to override the hashCode() method that preserves the contract of Ha... | http://java.dzone.com/articles/java-hashing | CC-MAIN-2014-41 | refinedweb | 3,019 | 60.35 |
See also: IRC log
<dhull> scribe:dhull
Glen: Adding embedded WSDL is good, metadata is maybe dodgy
Chair: Metadata discussion is secondary
Marsh: different idea of how WSDL
material should be split amongst docs. Extensibility for WSDL
is core, actual extensions incorporating WSDL is WSDL.
... Or (MarcH) everything WSDL... | https://www.w3.org/2002/ws/addr/5/02/28-ws-addr-minutes.html | CC-MAIN-2016-36 | refinedweb | 5,067 | 68.67 |
Android and desktop Java library
(1) By Andrzej on 2021-09-11 09:14:24 [link] [source]
import android.database.sqlite is accessible from standard Android library? How to use SQLite with Java for desktop? I want make portable library for test on desktop, using with Android app. I need make wrapper of two SQLite librarie... | https://sqlite.org/forum/info/725a45707a43a8b9 | CC-MAIN-2022-27 | refinedweb | 571 | 81.63 |
Vapor OAuth is an OAuth2 Provider Library written for Vapor. You can integrate the library into your server to provide authorization for applications to connect to your APIs.
It follows both RFC 6749 and RFC6750 and there is an extensive test suite to make sure it adheres to the specification.
It also implements the RF... | https://swiftpack.co/package/brokenhandsio/vapor-oauth | CC-MAIN-2019-43 | refinedweb | 1,828 | 51.07 |
LinuxQuestions.org
(
/questions/
)
-
Programming
(
)
- -
Undefined Reference
(
)
ChemicalBurn
02-11-2005 09:41 AM
Undefined Reference
Im using Suse 9.1 and Kdevelop 3.1. Im building on top of an already existing library for a software, some applications have been built using this same library and they work perfectly fi... | http://www.linuxquestions.org/questions/programming-9/undefined-reference-288933-print/ | CC-MAIN-2016-40 | refinedweb | 315 | 56.35 |
User talk:Chrabros
Contents
- 1 multipolygon is a relation
- 2 levels of buildings
- 3 not rendered my mapnik
- 4 Translation
- 5 Key:addr translation
- 6 organization or organisation
- 7 buildingːpart=yes
- 8 reorganisation of this wiki's navigation
- 9 Your reversion of Cs:Tag:historic=cannon
- 10 Překlad
- 11 agricu... | http://wiki.openstreetmap.org/wiki/User_talk:Chrabros | CC-MAIN-2016-44 | refinedweb | 2,990 | 72.46 |
Getting Started with Shuttle Service Bus
Shuttle Service Bus is a free .NET open source software project that provides you with a new approach in developing message-oriented EDA systems. Even though it is still in its infancy it is already used in production systems.
Here are some key points:
- Developed with C# on .NE... | http://www.infoq.com/articles/Shuttle-Service-Bus | CC-MAIN-2015-27 | refinedweb | 2,248 | 52.39 |
Ok, this seems to be working rather well so far. I'm now using a
DefaultSecurityManager and a DefaultAccessManager with a customised
LoginModule (for password validation) and a custom PrincipalProvider (for
LDAP access).
I've also extended the servlet to wrap all resources in a custom
AclResource, which delegates to th... | http://mail-archives.apache.org/mod_mbox/jackrabbit-users/200904.mbox/%3C22947463.post@talk.nabble.com%3E | CC-MAIN-2017-30 | refinedweb | 647 | 54.76 |
Type error in recursion
Consider the following function:
def f(n) : def retfunc(x) : return 1 if n == 0 else x*add(f(n-k) for k in (1..n)) return retfunc
The test
w = f(9); print w, type(w)
gives
"function retfunc at 0x43d3de8" "type 'function'"
which looks fine to me. However an evaluation w(3) gives
TypeError: unsupp... | https://ask.sagemath.org/question/8765/type-error-in-recursion/ | CC-MAIN-2017-26 | refinedweb | 166 | 78.99 |
1
Hi,
While trying a program from "C++ Primer 3rd Edition" by Stannley Lippman, I encountered with following two errors.
1. The book says that the header file fstream also includes the header iostream, so including just fstream will do. But g++ complained about cout, cin and cerr despite having fstream included and nam... | https://www.daniweb.com/programming/software-development/threads/227997/question-on-fstream-header-and-ofstream-constructor | CC-MAIN-2016-40 | refinedweb | 137 | 66.07 |
Feof
From cpwiki
Current revision as of 11:21, 4 November 2008
This page is about feof, the C function which tests a file stream for end-of-file status, which also applies to the C++ equivalent, eof.
int feof (FILE * stream);
Controlling file reading loops
While it is seemingly logical to keep reading a file until you ... | http://sourceforge.net/apps/mediawiki/cpwiki/index.php?title=Feof&diff=225&oldid=224 | CC-MAIN-2014-15 | refinedweb | 241 | 62.07 |
Okay, so this isn't actually the code I was working on. This is an oversimplified code extract that produces the exact same error. Thus, I thought if I could learn why I am getting errors with the simplified code, then I could apply it to my actual code. Thanks for any help/advice in advance!
#include <stdio.h>
int mai... | https://codedump.io/share/fwUMKzsBTwpl/1/error-in-initializing-structure-variables | CC-MAIN-2017-09 | refinedweb | 202 | 71.14 |
One
IniTechReportGenLib = 1 # Mark our customizations
and then assert in the product code:
# Initect TPS Report system
import ReportGeneratorLib
assert ReportGeneratorLib.IniTechReportGenLib == 1
# .. rest of product code ..
It’s a very simple technique, but can save headaches later, after you’ve long forgotten about h... | https://nedbatchelder.com/blog/200603/modifying_library_code.html | CC-MAIN-2021-31 | refinedweb | 207 | 64.61 |
Introduction:!
Step 1: Prepare Your Device.
Usually.
Now the sketch that is super simple:
#include "OneWire.h" #include "DallasTemperature.h" #define ONE_WIRE_BUS_1 A0 OneWire ourWire1(ONE_WIRE_BUS_1); DallasTemperature sensor1(&ourWire1); #include "LiquidCrystal_I2C.h"
LiquidCrystal_I2C lcd(0x27,16,2); float RawValue ... | http://www.instructables.com/id/Calibration-of-DS18B20-Sensor-With-Arduino-UNO/ | CC-MAIN-2018-17 | refinedweb | 1,034 | 65.22 |
My.
Let's start:
1. Download or clone the full GitHub project at (it's the newest version)
2. From a terminal go to /nix/ folder and launch the script. In OSX it is ran with:
Code: Select all
.:
Code: Select all
import sys
print sys.path
You will get a loo.
6. Open a new file browser window and navigate to your downlo... | http://forum.freecadweb.org/viewtopic.php?f=23&t=17536&sid=91d8eb4dda4a0eac4241e5b10b82b36a | CC-MAIN-2017-17 | refinedweb | 228 | 67.15 |
Hi Philipp, Dominik Dominik, can you give a short overview what zope.generic can do? [...] > > If you take a closer look at this package and you will see > that each > > subpackage is well documented. > > Right. But that information isn't easily accessible. You have > to go to zope.generic/trunk/src/zope/generic/foobar... | https://www.mail-archive.com/zope3-dev@zope.org/msg05652.html | CC-MAIN-2018-05 | refinedweb | 788 | 66.84 |
In xHarbour the behavior of references stored in array is reverted in comparison to Clipper or Harbour.
In Clipper and Harbour VM executing code like: aVal[ 1 ] := 100 clears unconditionally 1-st item in aVal array and assigns to it value 100. xHarbour checks if aVal[ 1 ] is an reference and in such case it resolves th... | http://cch4clipper.blogspot.com/2011/03/harbourxharbour-differences-references.html | CC-MAIN-2018-30 | refinedweb | 341 | 55.58 |
Has anyone followed this Tutorial lately?
I followed it and then downloaded his github example of just the front end
I got it almost fully working. I can post to the server with Postman. I can also manually add data to the table in VS through backend project.
But I can not get the front end, Android app working. It jus... | https://forums.xamarin.com/discussion/comment/308021/ | CC-MAIN-2019-18 | refinedweb | 426 | 60.11 |
#include "NewOneWire.h"
So, you're saying I should declare all my library-specific variables in the .cpp file, instead of .h?
extern HardwareSerial Serial; // so it can be referenced in lots of places
// actually create the object: HardwareSerial Serial(&rx_buffer, &UBRRH, &UBRRL, &UCSRA, &UCSRB, &UDR, RXEN, TXEN, RXCI... | http://forum.arduino.cc/index.php?topic=92212.msg696138 | CC-MAIN-2017-09 | refinedweb | 140 | 73.37 |
I was updating a site from Django 1.5.x to 1.7 to take advantage of the new, built-in migrations, when I ran into this error:
django.core.exceptions.ImproperlyConfigured: Application labels aren't unique, duplicates: utils
It kind of made sense because I have a directory of common code that has a bunch of apps. I combi... | https://snakeycode.wordpress.com/2014/10/09/django-application-labels-arent-unique/ | CC-MAIN-2017-43 | refinedweb | 356 | 69.18 |
Get the highlights in your inbox every week.
3 features that debuted in Python 3.0 you should use now | Opensource.com
3 features that debuted in Python 3.0 you should use now
Explore some of the underutilized but still useful Python features.
Subscribe now
This is the first in a series of articles about features that ... | https://opensource.com/article/21/5/python-30-features | CC-MAIN-2021-43 | refinedweb | 752 | 50.16 |
view raw
I'm exporting a factory function in ES6, which returns an object with properties.
When calling the factory, the object is created, but its values don't update.
Example:
// factory.js
let counter = 1;
let factory = () => {
let increment = function(){
counter++;
}
return { counter, increment };
}
export default ... | https://codedump.io/share/P6AIUteMfn75/1/es6-exported-object-values-not-updated | CC-MAIN-2017-22 | refinedweb | 374 | 66.03 |
I am trying to use a constant typedef returned from a function. I need help in getting a const char * returned from the function. A test case is shown below.
t1.h:
====
typedef char Char;
typedef Char * CharPtr;
const CharPtr getChar();
t1.c:
====
#include "t1.h"
#define GREETING
void main()
{
const char * p;
p = getCh... | https://cboard.cprogramming.com/c-programming/7005-help-function-returns-typedef-const.html | CC-MAIN-2017-09 | refinedweb | 156 | 74.39 |
[SOLVED] QFrame subclass not keeping properties set in Qt Designer
I have a UI form which contains a set of QFrames. I need extra functionality so I created a QFrame subclass in my project and, using Qt Designer, I promoted them to rgbFrame (my QFrame subclass). The problem is that the frame disappears completely at ru... | https://forum.qt.io/topic/6652/solved-qframe-subclass-not-keeping-properties-set-in-qt-designer | CC-MAIN-2017-47 | refinedweb | 498 | 60.89 |
»
Developer Certification (SCJD/OCMJD)
Author
[URLyBird]Is my lock appraoch right?
Zhixiong Pan
Ranch Hand
Joined: Jan 25, 2006
Posts: 239
posted
Apr 11, 2006 03:51:00
0
Hi all,
The book() method in HotelBusiness will first call lock() in Data. In DB Layer I have a class LockManager. So lock() in Data will first call ... | http://www.coderanch.com/t/188171/java-developer-SCJD/certification/URLyBird-lock-appraoch | CC-MAIN-2015-22 | refinedweb | 972 | 73.07 |
-
should be: -
change: "...type the following line in a Unix shell window or ..."
to: "...type the following line in a Unix shell window (use Xalan) or ..."
note: where Xalan is in monospace font
Trying to load whitespace-pi.xml in firefox gives:
Error loading stylesheet: (null)
Modifying the file to point to whitespa... | http://www.oreilly.com/catalog/errata.csp?isbn=9780596003272 | CC-MAIN-2014-41 | refinedweb | 485 | 63.36 |
In this article I would like to demonstrate how to extend the ListView control in the .NET Compact Framework. We will focus on enabling some of the ListView Extended Styles. If we take a look at the Windows Mobile 5.0 Pocket PC SDK we will see that there are certain features of ListView that aren’t provided by the .NET... | https://christianhelle.com/2008/10/listview-extended-styles-in-netcf/ | CC-MAIN-2021-04 | refinedweb | 964 | 64.41 |
Provided by: manpages-dev_5.01-1_all
NAME
addseverity - introduce new severity classes
SYNOPSIS
#include <fmtmsg.h> int addseverity(int severity, const char *s); Feature Test Macro Requirements for glibc (see feature_test_macros(7)): addseverity(): Since glibc 2.19: _DEFAULT_SOURCE Glibc 2.19 and earlier: _SVID_SOURCE
... | http://manpages.ubuntu.com/manpages/eoan/man3/addseverity.3.html | CC-MAIN-2019-30 | refinedweb | 156 | 50.02 |
Gantry::Docs::Cookbook - Gantry How Tos
This document is set up like a cookbook, but all the recipes are fully implemented in Gantry::Samples. The first recipe explains how to run the samples.
You might also be interested in Gantry::Docs::FAQ which answers a different set of questions that are not covered in Gantry::Sa... | http://search.cpan.org/dist/Gantry/lib/Gantry/Docs/Cookbook.pod | CC-MAIN-2016-30 | refinedweb | 3,657 | 63.9 |
Programming is often highly collaborative. In addition, our own code can quickly become difficult to understand when we return to it — sometimes only a few hours later! For these reasons, it’s often useful to leave notes in our code for ourselves or other developers.
As we write a C++ program, we can write comments in ... | https://production.codecademy.com/courses/learn-c-plus-plus/lessons/cpp-compile-execute/exercises/comments | CC-MAIN-2021-04 | refinedweb | 225 | 66.94 |
Help please, due in 1 hour. Does not compile
Shawn Lorne
Greenhorn
Posts: 1
0
Hi all,
Kinda short on time. Error message: Sales2.main(Sales2.java:56)
Java Result: 1
Here is the code!
// Exercise 7.20 Solution: Sales2.java
// Program totals sales for salespeople and products.
import java.util.Scanner;
public class Sales... | http://www.coderanch.com/t/584930/java/java/due-hour-compile | CC-MAIN-2016-07 | refinedweb | 525 | 51.24 |
This chapter discusses advanced techniques in Pro*C/C++ and contains the following topics:
This section explains how the Pro*C/C++ Precompiler handles character host variables. There are four host variable character types:
Do not confuse VARCHAR (a host variable data structure supplied by the precompiler) with VARCHAR2... | http://docs.oracle.com/cd/B10501_01/appdev.920/a97269/pc_05adv.htm | CC-MAIN-2014-15 | refinedweb | 5,726 | 53.61 |
I'd love to get Derby out - it adds a lot to the footprint.
I can help with the mapping of data structures to LDAP. As Emmanuel said
the best way is to embellish the page we already have in confluence perhaps
with a section on each data structure and we can write out the quartz schema
for it.
Looking initially at the D... | http://mail-archives.apache.org/mod_mbox/directory-dev/200809.mbox/%3Ca32f6b020809270954j201fd9cfj33330d5cc751c207@mail.gmail.com%3E | CC-MAIN-2017-09 | refinedweb | 339 | 72.46 |
#include <snomasks.h>
Snomask manager handles routing of SNOMASK (usermode +s) messages to opers. Modules and the core can enable and disable snomask characters. If they do, then sending snomasks using these characters becomes possible.
Create a new SnomaskManager
Enable a snomask.
Called once per 5 seconds from the ma... | http://www.inspircd.org/api/3.0/class_snomask_manager.html | CC-MAIN-2017-43 | refinedweb | 202 | 62.88 |
Platform
isPlatform
The
isPlatform method can be used to test if your app is running on a certain platform:
import { isPlatform } from '@ionic/vue'; isPlatform('ios'); // returns true when running on a iOS device
Depending on the platform the user is on, isPlatform.
getPlatforms
The
getPlatforms method can be used to d... | https://ionicframework.com/jp/docs/zh/vue/platform | CC-MAIN-2021-43 | refinedweb | 121 | 51.48 |
Mega Man Legends 2
Review by KeyBlade999
"The best seventy-five dollars I've ever spent."
~ Review in Short ~
Gameplay: An excellent, entertaining mix of classic MegaMan elements and those of RPGs and the first MegaMan Legends.
Story: Somewhat of a sequel to MegaMan Legends with the RPG stereotype of saving the world.
... | http://www.gamefaqs.com/ps/197897-mega-man-legends-2/reviews/review-152277 | CC-MAIN-2015-11 | refinedweb | 3,778 | 69.82 |
reader pointed this out to me. It looks like the paragraph might be from "Mining the Social Web", which uses iPython notebooks. How about this rewrite:
The example source code for this book is maintained in a public github repository.
Add the URL? (There isn't one in the current paragraph.) Should there be more in thi... | http://www.oreilly.com/catalog/errata.csp?isbn=0636920033073 | CC-MAIN-2017-26 | refinedweb | 4,084 | 59.7 |
FHI-aims¶
Introduction¶
FHI-aims is a all-electron full-potential density functional theory code using a numeric local orbital basis set.
Running the Calculator¶
The default initialization command for the FHI-aims calculator is
- class
ase.calculators.aims.
Aims(restart=None, ignore_bad_restart_file=False, label='.', a... | https://wiki.fysik.dtu.dk/ase/dev/ase/calculators/FHI-aims.html | CC-MAIN-2020-05 | refinedweb | 790 | 50.33 |
How do you build a scalable machine learning infrastructure?
There are a few critical elements when building a machine learning infrastructure. You need your machine learning infrastructure to be built for scalability, and to provide you with visibility so you can build plans on top of your existing stack. We’ll first ... | https://cnvrg.io/building-scalable-machine-learning-infrastructure/ | CC-MAIN-2021-43 | refinedweb | 2,060 | 53.61 |
Summary
Calculates the Transformed Soil Adjusted Vegetation Index (TSAVI) from a multiband raster object and returns a raster object with the index values.
Discussion
The Transformed Soil Adjusted Vegetation Index (TSAVI) method is a vegetation index that minimizes soil brightness influences by assuming the soil line h... | https://pro.arcgis.com/en/pro-app/latest/arcpy/spatial-analyst/tsavi.htm | CC-MAIN-2021-49 | refinedweb | 140 | 53.1 |
03 August 2011 05:48 [Source: ICIS news]
By ?xml:namespace>
Offers from two Chinese producers advanced to $1,700-1,720/tonne FOB (free on board)
PET offers in Asian on Wednesday were up $50/tonne from the start of the week, while some sellers refrained from making offers given the ongoing instability in raw material co... | http://www.icis.com/Articles/2011/08/03/9481993/asia-pet-offers-jump-50-70tonne-on-soaring-feedstock-costs.html | CC-MAIN-2014-52 | refinedweb | 496 | 59.13 |
uuid5
Inserts a UUID v5 into the target field.
There are two ways to use this function: with or without a namespace. Given this schema:
{ "type": "record", "name": "events", "fields": [ { "name": "input", "type": "string" }, { "name": "id_ns", "type": "string" } ] }
and a record such as:
{ "input" : "john smith", "id_n... | https://docs.cloudera.com/cfm/2.1.1/nifi-record-guide/topics/nifi-uuid5.html | CC-MAIN-2021-31 | refinedweb | 146 | 79.09 |
Reading an Excel Spreadsheet into an SQL database using ODBC
This is my first time to post...
I downloaded for Windows the latest version of QT today:
Qt Creator 3.1.1 (opensource)
Based on Qt 5.2.1 (MSVC 2010, 32 bit)
I have a windows application where I want to read an Excel spreadsheet into a SQL database (or create... | https://forum.qt.io/topic/42450/reading-an-excel-spreadsheet-into-an-sql-database-using-odbc | CC-MAIN-2018-13 | refinedweb | 970 | 57.67 |
This will be a little story about a single piece of code: Why it got written, how it got used, what happened after the initial usage and where it is today. At the end, you’ll get the full source code and a brainteaser.
Prelude
In the year 2004, a long-term customer asked us to develop a little data charting software fo... | https://schneide.blog/tag/old-code/ | CC-MAIN-2019-30 | refinedweb | 1,418 | 63.09 |
Using:(())
using Godot; using System; public class Node : Godot.Node {=(108, 108), relative=(26, 1), speed=(164.152496, 159.119843), pressure=(0), tilt=(0, 0) InputEventMouseButton : button_index=BUTTON_LEFT, pressed=true, position=(108, 107), button_mask=1, doubleclick=false InputEventMouseButton : button_index=BUTTO... | https://docs.godotengine.org/en/latest/tutorials/inputs/input_examples.html | CC-MAIN-2022-40 | refinedweb | 426 | 58.89 |
arcgis.widgets module¶
MapView¶
- class
arcgis.widgets.
MapView(**kwargs)¶
Bases:
ipywidgets.widgets.domwidget.DOMWidget
Mapping widget for Jupyter Notebook and JupyterLab.
Note
Note: If the Jupyter Notebook server is running over you need to configure your portal/organization to allow your host and port; or else you ... | https://developers.arcgis.com/python/api-reference/1.8.3/arcgis.widgets.html | CC-MAIN-2022-21 | refinedweb | 2,320 | 55.54 |
Welcome to this tutorial on tkinter GUI widgets. In this article, I will introduce you to all the Tkinter Widgets in brief and provide you with some simple code snippets to create the widgets. Towards the end of this article, you will be able to use all the code and build a mini-service using the GUI widgets.
Creating ... | https://www.askpython.com/python/tkinter-gui-widgets | CC-MAIN-2020-50 | refinedweb | 1,934 | 57.47 |
Published to labs.mysql.com as part of the MySQL InnoDB Cluster 5.7.17 Preview 2 bundle.
A
--usercommand line option was added to define the user to run Router as. This option is required if Router is bootstrapped or started as a super user, such as root. This option is also defined as
userunder the
[DEFAULT]namespace.... | https://dev.mysql.com/doc/relnotes/mysql-router/en/news-2-1-1.html | CC-MAIN-2020-24 | refinedweb | 639 | 55.34 |
def foo(li=[]): li.append(1) print(li) foo([2]) # Out: [2, 1] foo([3]) # Out: [3, 1]
This code behaves as expected, but what if we don't pass an argument?
foo() # Out: [1] As expected... foo() # Out: [1, 1] Not as expected...
This is because default arguments of functions and methods are evaluated at definition time ra... | https://riptutorial.com/python/example/12258/mutable-default-argument | CC-MAIN-2021-31 | refinedweb | 184 | 72.05 |
WebStorm 2018.1 EAP, 181.3007: better support for dynamic imports, new in TypeScript support
The new WebStorm 2018.1 Early Preview build (181.3007.17) is now available
You can update via Toolbox App, or download the build here and install it beside your stable WebStorm version.
Download WebStorm 2018.1 EAP
Better Extra... | https://blog.jetbrains.com/webstorm/2018/01/webstorm-2018-1-eap-181-3007/ | CC-MAIN-2021-10 | refinedweb | 730 | 64.91 |
CodePlexProject Hosting for Open Source Software
Hi Everyone,
Here are some of the upcoming ASP .NET classes at WiZiQ, these are FREE public classes and anyone can join and learn the programming language:
1. 5 imp ASP.NET interview questions
Sunday, April 11, 2010 12:30 AM (EST)
2.5 imp .NET interview questions
Sunday,... | http://blogengine.codeplex.com/discussions/208415 | CC-MAIN-2017-43 | refinedweb | 149 | 78.14 |
To express choosing between two alternatives, Scala
has a conditional expression
if-else.
It looks like a
if-else in Java, but is used for expressions, not statements.
Example:
def abs(x: Int) = if (x >= 0) x else -x
x >= 0 is a predicate, of type
Boolean.
Boolean expressions
b can be composed of
true false // Constant... | https://www.scala-exercises.org/scala_tutorial/functional_loops | CC-MAIN-2017-39 | refinedweb | 395 | 55.84 |
Landing a job at Facebook is a dream for many developers around the globe. Facebook is one of the top tech companies in the world, with a workforce of over 52,000 strong. Facebook is known for its growth-based company culture, fast promotion tracks, excellent benefits, and top salaries that few companies can match.
But... | https://www.educative.io/blog/cracking-top-facebook-coding-interview-questions | CC-MAIN-2021-31 | refinedweb | 3,368 | 61.67 |
A couple of aspects of Active Directory (AD) that often seem confusing are sites and site links. The basic definition of these concepts seems simple enough. For example, a site is defined as a portion of your network that has high-bandwidth connectivity.
Typically this means a site is one or more IP subnets in a single... | http://archive.oreilly.com/lpt/a/4927 | CC-MAIN-2015-22 | refinedweb | 748 | 50.3 |
Sample thread program in java:
What is the output of below Java program?
class MyThreadClass extends Thread{
public void run(){
for(int i=0; i<10; i++){
System.out.println(i);
}
}
}
public class ThreadDemo3 {
public static void main(String[] args) {
MyThreadClass mtc = new MyThreadClass();
mtc.start();
}
}
it prints fr... | http://skillgun.com/question/3077/java/threads/sample-thread-program-in-java-what-is-the-output-of-below-java-program-class-mythreadclass-extends-thread-public-void-run-forint-i0-i10-i-systemoutprintlni-public-class-threaddemo3-public-static-void-mainstring-args-mythreadclass-mtc-new-mythreadclass-m | CC-MAIN-2016-44 | refinedweb | 151 | 85.79 |
I know of the schedule_function but I don't think that will work like this with minute data as it won't stop the algo from running just reset it periodically. Any suggestions?
I know of the schedule_function but I don't think that will work like this with minute data as it won't stop the algo from running just reset it... | https://www.quantopian.com/posts/i-want-this-algorithm-to-only-run-handle-data-every-5-minutes-or-at-least-only-make-trades-every-five-minutes-how-can-i-do-this | CC-MAIN-2018-39 | refinedweb | 497 | 63.9 |
Lightweight Invisible CAPTCHA Validator Control
UPDATE: This code is now hosted in the Subkismet project on CodePlex..
- It requires Atlas and Atlas is pretty heavyweight.
- Atlas is pre-release right now.
- We’re waiting on a bug fix in Atlas to be implemented.
- It is not accessible as it doesn’t work if javascript i... | http://haacked.com/archive/2006/09/26/lightweight_invisible_captcha_validator_control.aspx/ | CC-MAIN-2016-50 | refinedweb | 152 | 54.29 |
You can learn about NumPy in Python Programs with Outputs helped you to understand the language better.
Python Programming – Array Creation
There are several ways to create an array in NumPy like np. array, np. zeros, np. ones, etc. Each of them provides some flexibility. Syntax to create an array with important attrib... | https://pythonarray.com/python-programming-array-creation/ | CC-MAIN-2022-40 | refinedweb | 452 | 66.23 |
What Is a Contract?
In the context of this chapter, we will consider a contract to be any mechanism that requires a developer to comply with the specifications of an Application Programming Interface (API). Often, an API is referred to as a framework. The online dictionary Dictionary.com () defines a contract as an agr... | http://www.informit.com/articles/article.aspx?p=1238839&seqNum=3 | CC-MAIN-2018-30 | refinedweb | 1,875 | 64 |
Hi everyone,
I’m pleased to hear that the move we’ve taken around SDN Subscriptions is resulting in some lively discussion and response. We firmly believe that this change is a win for our development community. This is a move we’ve been looking to make for quite some time, and I’m pleased that we’re now able to roll o... | https://blogs.sap.com/2008/11/17/subscriptions-price-reductions/ | CC-MAIN-2018-13 | refinedweb | 869 | 61.16 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.