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
Copyright ©2001 W3C® (MIT, INRIA, Keio), All Rights Reserved. W3C liability, trademark, document use and software licensing rules apply. This is a W3C Note produced by the XML Core Working Group to supplement the XML Infoset specification. It is not a normative part of that specification. This document is a work in pro...
http://www.w3.org/TR/xml-infoset-rdfs
crawl-002
refinedweb
264
56.05
Solve Equations in Python The following tutorials are an introduction to solving linear and nonlinear equations with Python. The solution to linear equations is through matrix operations while sets of nonlinear equations require a solver to numerically find a solution. Solve Linear Equations with Python Source Code for...
http://apmonitor.com/che263/index.php/Main/PythonSolveEquations
CC-MAIN-2022-05
refinedweb
403
61.53
Bryce Harrington wrote: > - The code for enable-binreloc=auto (which was previously the default) > checked the build environment rather than the execution environment. ??? What does this mean? > - autopackage code prevents running inkscape from the build directory. > (This problem is reduced if the source directory and...
http://sourceforge.net/p/inkscape/mailman/inkscape-devel/thread/1089484356.3416.5.camel@linux.littlegreen/
CC-MAIN-2014-41
refinedweb
593
67.45
RoboWiki:Guide for Articles The style used for writing RoboWiki articles is not nearly as formal or stringent as some other wikis, such as Wikipedia. That said, when in doubt, we do model our style after Wikipedia, and writing articles to that high standard is never a bad thing. Writing style The old RoboWiki had almos...
http://robowiki.net/wiki/RoboWiki:Guide_for_Articles
CC-MAIN-2016-40
refinedweb
285
63.29
I have tried over and over again, but I can't seem to get this; especially with the while at the end. I think the problem is the "guess" right after the while, but I don't know. Any help would be appreciated. Thanks package practice; //imports import java.util.Scanner; public class DoWhile { public static void main(Str...
http://www.javaprogrammingforums.com/loops-control-statements/5458-help-while-do-while.html
CC-MAIN-2015-40
refinedweb
116
63.36
Stefan Hepper (sthepper@de.ibm.com), WebSphere Portal Programming Model Architect, IBM Oliver Köth (okoeth@de.ibm.com), Lead Developer, Portlet Container, IBM 18 Mar 2008 Learn all about the second version of the Java Portlet Specification (JSR 286). In Version 2.0, the specification and the APIs more than doubled, an...
http://www.ibm.com/developerworks/websphere/library/techarticles/0803_hepper/0803_hepper.html
crawl-002
refinedweb
5,426
51.28
Entity Extraction with Scikit-learn Classifiers Radu Gheorghe ・6 min read What is entity extraction? Entity extraction is the process of figuring out which fields a query should target, as opposed to always hitting all fields. For example: how to tell, when the user typed in Apple iPhone, that the intent was to run com...
https://dev.to/sematext/entity-extraction-with-scikit-learn-classifiers-28ag
CC-MAIN-2019-35
refinedweb
1,273
54.83
Re: New to C# - DB question - From: "Steven Nagy" <learndotnet@xxxxxxxxxxx> - Date: 17 Aug 2006 15:40:13 -0700 Hi there, Yes you are along the right track. Firstly, you are interested in the System.Data namespace, also known as ADO.NET In there you will find a few sub namespaces for specific database connections, and a...
http://www.tech-archive.net/Archive/DotNet/microsoft.public.dotnet.languages.csharp/2006-08/msg03585.html
crawl-002
refinedweb
399
61.46
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Martin Aspeli wrote: > Martijn Faassen wrote: >> Martin Aspeli wrote: >>> Martijn Faassen wrote: >> [snip] >>>> So, what's the plan to clean up this mess? Can the Plone specific >>>> stuff be cleared up from the branches into a Plone-specific package >>>> and a new release ...
https://www.mail-archive.com/zope-dev@zope.org/msg23941.html
CC-MAIN-2016-44
refinedweb
378
68.87
Revealing Prototype Pattern - Techniques, Strategies and Patterns for Structuring JavaScript Code Using the JavaScript Revealing Prototype Pattern. As a quick review, I showed the following code in the first post. The code simply lists all functions directly with no encapsulation and defines several global variables. W...
http://weblogs.asp.net/dwahlin/techniques-strategies-and-patterns-for-structuring-javascript-code-revealing-prototype-pattern
CC-MAIN-2015-40
refinedweb
692
51.68
table of contents NAME¶ clock - determine processor time SYNOPSIS¶ #include <time.h> clock_t clock(void); DESCRIPTION¶ The clock() function returns an approximation of processor time used by the program. RETURN VALUE¶ The value returned is the CPU time used so far as a clock_t; to get the number of seconds used, divide...
https://manpages.debian.org/testing/manpages-dev/clock.3.en.html
CC-MAIN-2021-49
refinedweb
187
68.36
We've published the ModeShape artifacts and JARs for this beta release only in the JBoss Maven repository. The rest of this page shows how you can use ModeShape within your Maven-based projects. We've also added several distributions on our project's download page: - a binary distribution with all the JARs, JavaDoc, an...
https://docs.jboss.org/author/display/MODE40/Getting+Started
CC-MAIN-2018-22
refinedweb
4,387
50.36
In Mac OS X 10.4 (and most likely all versions of OS X) OpenGL and GLUT are installed with the Xcode/developer tools that came on your Mac OS X installation disc(s). To use GLUT and OpenGL from within Xcode: - open Xcode located in "/Developer/Applications/" - choose "New Project" from the file menu - choose "Command L...
http://en.m.wikibooks.org/wiki/OpenGL_Programming/Installation/Mac
CC-MAIN-2014-49
refinedweb
150
65.35
Hi, Please read the attached mail: there seems to be a problem with resizing terminals. Small steps go fine but, for example, resizing from 70x12 to 200x60 fails. The problem is then that creating a (new) window with the new size reported by ioctl(STDIN_FILENO, TIOCGWINSZ, &size) fails. My code is then: #ifdef N_CURSES...
https://lists.gnu.org/archive/html/bug-ncurses/2003-06/msg00054.html
CC-MAIN-2015-35
refinedweb
250
75.2
US20040205473A1 - Method and system for implementing an enterprise information portal - Google PatentsMethod and system for implementing an enterprise information portal Download PDF Info - Publication number - US20040205473A1US20040205473A1 US10/205,625 US20562502A US2004205473A1 US 20040205473 A1 US20040205473 A1 US ...
https://patents.google.com/patent/US20040205473A1/en
CC-MAIN-2019-22
refinedweb
12,563
54.42
We've provided a set of starter files with skeleton code for the exercises in the lab. You can get them in the following places: Consider the following function: def make_counter(): """Makes a counter function. >>> counter = make_counter() >>> counter() 1 >>> counter() 2 """ count = 0 def counter(): count = count + 1 r...
https://inst.eecs.berkeley.edu/~cs61a/sp14/lab/lab05/lab05.php
CC-MAIN-2020-10
refinedweb
365
74.29
G.I. Joe No Longer the Real American Hero? 548 Posted by ScuttleMonkey from the pussification-of-the-modern-male dept. from the pussification-of-the-modern-male dept.?" In other news.... (Score:5, Funny) Re:In other news.... (Score:4, Funny) Re:In other news.... (Score:4, Insightful) Re:In other news.... (Score:5, Insi...
http://news.slashdot.org/story/07/09/08/0312243/gi-joe-no-longer-the-real-american-hero
CC-MAIN-2014-10
refinedweb
4,369
63.39
I've talked about the Console API in one of my previous articles. However, there was one especially important detail that I didn't cover back then - the problem of logging objects. So, what's the problem and how to solve it properly? What's the problem? You've probably logged an object to the console before, right? con...
https://dev.to/areknawo/how-to-properly-log-objects-in-javascript-1gg8
CC-MAIN-2021-21
refinedweb
1,169
66.13
I've just gone through the process of upgrading Suteki Shop, my open source eCommerce application from MVC Framework Preview 4 to the Beta. Yes, I know, I missed out Preview 5 all together, so my experiences are going to be different from someone just moving from Preview 5 to the Beta. Here's a brief rundown of what wa...
http://mikehadlow.blogspot.com/2008/11/upgrading-suteki-shop-to-mvc-framework.html
CC-MAIN-2017-13
refinedweb
495
75.4
If I own a domain do I own all of its sub domains? For example if I purchase example.com, do I automatically own mail.example.com, blog.example.com, etc? If I do not own the sub domains, can anyone buy mail.example.com if I own example.com? Do I have a right of first sale if someone tries to buy one of my sub domains? ...
http://serverfault.com/questions/537310/if-i-own-a-domain-do-i-own-all-of-its-sub-domains/537311
CC-MAIN-2015-11
refinedweb
408
51.65
The name of the object. Components share the same name with the game object and all attached components. If a class derives from MonoBehaviour it inherits the "name" field from MonoBehaviour. If this class is also attached to GameObject, then "name" field is set to the name of that GameObject. using UnityEngine; using ...
https://docs.unity3d.com/kr/2018.3/ScriptReference/Object-name.html
CC-MAIN-2019-47
refinedweb
118
51.95
hornetq jmsjjgrego Jul 13, 2012 10:41 AM We have a jboss as (6.0.0). Since hornetq is already embedded, I configured it to use jaas, since our jboss server has it's own custom authenticator. Using the examples in the ssl-enabled and jaas folders, it appears I've successfully completed the configuration. I had to work t...
https://developer.jboss.org/message/749716
CC-MAIN-2020-16
refinedweb
1,957
51.85
BIND Version 9 does not allow you to disable round-robin scheduling. 7.3 Load Broker Concepts TCP/IP Services provides a configurable, calculated, load-balancing mechanism called the load broker for distributing the load across systems in a DNS cluster. Unlike round-robin scheduling (the default method used by most DNS...
http://h41379.www4.hpe.com/doc/732final/6526/6526pro_017.html
CC-MAIN-2017-22
refinedweb
1,252
55.24
Ruby: Exiting a 'loop' early We recently had a problem to solve which at its core required us to iterate through a collection, look up a value for each key and then exit as soon as we’d found a value. The original solution looped through the collection and then explicitly returned once a value had been found: def itera...
http://markhneedham.com/blog/2010/12/01/ruby-exiting-a-loop-early/
CC-MAIN-2018-17
refinedweb
349
52.94
Here's the body of main.cpp #include "Header.h" int main() { auto f = Foo(); f.bar(); return 0; } class Foo { public: void bar(); }; #include <iostream> class Foo { public: void bar() { std::cout << "Foo.bar() called\n"; } }; void t() { auto f = Foo(); f.bar(); // If this line isn't here, the project won't compile } f....
https://codedump.io/share/t80AaLPmUNr6/1/when-a-method-is-defined-inside-class-scope-project-won39t-compile-unless-method-is-invoked-somewhere-else-in-the-original-cpp-file
CC-MAIN-2017-43
refinedweb
333
69.07
Details Description we have developed a large scale pub/sub system based on ZooKeeper and BookKeeper. Activity - All - Work Log - History - Activity - Transitions the tar file with the sources. we need to update the package names to be in the apache space. we also need to integrate it into the build. it uses maven. Ben...
https://issues.apache.org/jira/browse/ZOOKEEPER-775
CC-MAIN-2017-26
refinedweb
1,966
68.57
Is there such a thing as a Kerberos Domain? I'm pretty sure I've heard the term but I'm struggling to find a decent explanation (or any explanation). Is it just people confusing it with an Windows Domain or an LDAP Domain? Not really, no. I would say that it's getting confused with an Active Directory domain. Kerberos ...
http://serverfault.com/questions/170831/whats-a-kerberos-domain
crawl-003
refinedweb
217
57.27
Node:Controlled recursion, Next:Controlled recursion with data structures, Previous:The stack, Up:Recursion Controlled recursion If that were all there is to recursion, no one would ever use it. However, recursion can be limited so it does not go out of control. Controlled recursion can be a powerful programming techni...
http://crasseux.com/books/ctutorial/Controlled-recursion.html
CC-MAIN-2017-43
refinedweb
804
53.21
2006/7/19, Pekka Enberg <penberg@cs.helsinki.fi>:> On 7/18/06, yunfeng zhang <zyf.zeroos@gmail.com> wrote:> > 3. All slabs are all off-slab type. Store slab instance in page structure.>> Not sure what you mean. We need much more than sizeof(struct page) for> slab management. Hmm?>Current page struct is just like thisst...
https://lkml.org/lkml/2006/7/18/278
CC-MAIN-2015-27
refinedweb
171
56.45
In this tutorial we will check how to change the font size of the text written to the SSD1306 display. We will be using the Arduino core and this library, which makes it easier to interact with the display using a very simple API. Introduction In this tutorial we will check how to change the font size of the text writt...
https://techtutorialsx.com/2019/03/09/esp32-arduino-ssd1306-changing-font-size/
CC-MAIN-2020-40
refinedweb
712
73.17
Ever wondered to yourself how easy it can be to create a QR code without a need of a website or third party software? Actually t's pretty much easier, thanks to python. With python we an make use of only 2 lines of code to make this happen. We will be able to create QR Codes for URLs and even any text we wish to. Have ...
https://practicaldev-herokuapp-com.global.ssl.fastly.net/larymak/qr-code-generator-using-python-4ck3
CC-MAIN-2021-39
refinedweb
298
70.02
Hello, I'm new to this list and idle, so please point me in the right direction if there are docs, examples, or if I'm in the wrong place. I'd like to use parts of IDLE (say, the editor, the debugger, and the class and path browsers) from another Python Tk GUI. For example, I'd like to open up the idle editor if the us...
https://mail.python.org/pipermail/idle-dev/2004-September/002295.html
CC-MAIN-2017-04
refinedweb
284
74.39
From: Jens Maurer (Jens.Maurer_at_[hidden]) Date: 2001-06-11 16:50:05 Douglas Gregor wrote: > The function library currently under review contains a type 'nil_t' with an > instance 'nil'. It is a replacement for "0" or "NULL" in any code. The > implementation is trivial, but it should probably be placed in its own head...
https://lists.boost.org/Archives/boost/2001/06/13142.php
CC-MAIN-2022-21
refinedweb
577
59.4
The Seer Broekstra's personal ravings on work, life, politics and the Semantic Web.ennoreply@blogger.com (Jeen)2009-06-04T06:31:49-07:0034125SKOS Browser (Jeen)2008-11-12T07:11:44-08:00<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href=""><img style="float:right; margin:0 0 10px 10px;cursor:poi...
http://feeds.feedburner.com/TheSeer
crawl-002
refinedweb
6,923
52.19
Anomaly Detection in Time Series Data using Keras Anomaly Detection in time series data provides e-commerce companies, finances the insight about the past and future of data to find actionable signals in the data that takes the form of anomalies. Introduction In this project, we’ll build a model for Anomaly Detection i...
https://valueml.com/anomaly-detection-in-time-series-data-using-keras/
CC-MAIN-2021-25
refinedweb
2,432
58.28
/* ---[ Cheat sheet for Rust namespaces ]--- */ Rust namespaces can be a little mind-bending. This brief blog post is meant to provide instruction by example on setting up an application or library of Rust code that uses multiple files in a hierarchical namespace. Though the current docs-project-structure guide on the ...
http://thornydev.blogspot.com/
CC-MAIN-2014-15
refinedweb
831
66.64
On Thu, 25 Jan 2007 15:41:54 +0100, Jim Jewett <jimjjewett at gmail.com> wrote: > On 1/24/07, Jan Kanis <jan.kanis at phil.uu.nl> wrote: >> I don't like new syntax for something like this, but I think the default >> argument values can be fixed with semantic changes (which should not >> break >> the most common current...
https://mail.python.org/pipermail/python-ideas/2007-January/000114.html
CC-MAIN-2016-36
refinedweb
1,199
59.33
Created on 2007-11-29 00:41 by mlvanbie, last changed 2009-11-28 15:59 by pitrou. This issue is now closed. Currently, using deepcopy on instance methods causes an exception to be thrown. This can be fixed by adding one line to copy.py: d[types.MethodType] = _deepcopy_atomic This will not make duplicate copies of mutab...
http://bugs.python.org/issue1515
CC-MAIN-2015-18
refinedweb
1,440
74.08
On Tue, Mar 3, 2009 at 7:57 PM, Lionel Landwerlin <address@hidden> wrote: > Le mercredi 04 mars 2009 à 00:46 +0900, Shin-ichiro KAWASAKI a écrit : [...] >> sh4 : 5.8 [seconds] O(n) utlb search. >> sh4 : 4.6 [seconds] O(log2(n)) utlb search. >> sh4 : 4.1 [seconds] O(1) utlb search by Lionel >> arm : 0.8 [seconds] (-M ve...
http://lists.gnu.org/archive/html/qemu-devel/2009-03/msg00131.html
CC-MAIN-2018-05
refinedweb
225
73.78
ZOOM::IRSpy::Maintenance - maintenance documentation for IRSpy The IRSpy application is implemented by five components: ZOOM::IRSpy"namespace". irspy ZOOM::Pod, which is used by IRSpy and which is more conveniently included in this distribution than released and maintained separately. These components are discussed in ...
http://search.cpan.org/~mirk/ZOOM-IRSpy/lib/ZOOM/IRSpy/Maintenance.pod
CC-MAIN-2018-13
refinedweb
1,088
56.86
class Solution(object): def maxPoints(self, points): # Handle empty input if not points: return 0 # Handle input of a single point or multiple identical points if len(set([(point.x, point.y) for point in points])) == 1: return len(points) slopes = [] for i in xrange(len(points)): # Take a pair of points from the list i...
https://discuss.leetcode.com/topic/110083/an-easy-i-hope-to-read-79-ms-python-solution
CC-MAIN-2017-47
refinedweb
192
68.81
Are you sure? This action might not be possible to undo. Are you sure you want to continue? STOCK VALUATION AND INVESTMENT DECISIONS L EARNING G OALS After studying this chapter, you should be able to: T Explain the role that a company’s future plays in the stock valuation process and develop a forecast of a stock’s ex...
https://www.scribd.com/doc/3157436/stock-valuation-and-investment-decisions-chapter-8-cfa
CC-MAIN-2018-26
refinedweb
30,019
61.26
import java.util.Random; public class Basic{ public static void main(String[] args) { System.out.printf("The values in the array are:\n"); Random randomNumbers = new Random(); int[] array = new int[ 5 ]; for (int num = 0; num <array.length; num++ ) array[num] = randomNumbers.nextInt(50); for (int value = 0; value < arr...
http://www.javaprogrammingforums.com/whats-wrong-my-code/11568-how-do-you-edit-array.html
CC-MAIN-2014-35
refinedweb
116
60.21
That makes sense now. The stepping is actually not a macro because I obtain the stepping of the device at run time. Some devices can have some odd memory alignment requirements so I could not just... That makes sense now. The stepping is actually not a macro because I obtain the stepping of the device at run time. Some...
https://cboard.cprogramming.com/search.php?s=2813e785ed0e2067ea7a1f8841ccb4e8&searchid=2965307
CC-MAIN-2020-10
refinedweb
690
77.03
I am having problems with the array because it crashes and it shows 0 for all months. Below is my code #include <iostream> // Setup standard output. #include <fstream> // Required for input / outputting files. #include <iomanip> // Required for numeric formatting function. #include <string> // Required for strings. usi...
http://www.dreamincode.net/forums/topic/112230-2d-array-problems/
CC-MAIN-2016-30
refinedweb
271
51.38
Airflow These dependencies are naturally expressed as a DAG (Directed Acyclic Graph) with the Apache Airflow Python API. First, create the DAG header — imports, configuration and initialization of the DAG... . So, whenever you read DAG, it means data pipeline. Last but not least, when a DAG is triggered, a DAGRun is cr...
https://tio-fiori.biz/questions/51463274/how-to-prevent-catch-up-of-a-dag-pa-ru2748pm3
CC-MAIN-2021-43
refinedweb
2,147
63.59
Tree::Node - Memory-efficient tree nodes in Perl use Tree::Node; $node = Tree::Node->new(2); $node->set_child(0, $left); $node->set_child(1, $right); while ($node->key_cmp($key) < 0) { $node = $node->get_child(0); } This module implements a memory-efficient node type (for trees, skip lists and similar data structures) ...
http://search.cpan.org/~rrwo/Tree-Node-0.08/lib/Tree/Node.pm
CC-MAIN-2015-48
refinedweb
1,141
65.42
make generate-plist Number of commits found: 29 build with DEFAULT_VERSIONS=python=3.x - Add LICENSE_FILE - Fix shebangs - Add NO_ARCH - Switch to options helpers Approved by: portmgr blanket - Those ports fail to build with python3 - Add some explicit FLAVOR to dependencies where: stage pyuic4 MainWindow.ui -o MainWin...
https://www.freshports.org/emulators/swine/
CC-MAIN-2021-43
refinedweb
348
52.29
Opened 10 years ago Closed 6 years ago #3354 closed bug (fixed) f.seekable() fails in python test_fileio.py Description Perhaps related to #3028? Python regression test test_fileio.py fails : ~/develop/python/Lib/test> python test_fileio.py testAttributes (__main__.AutoFileTests) ... ok testErrors (__main__.AutoFileTes...
https://dev.haiku-os.org/ticket/3354
CC-MAIN-2019-22
refinedweb
723
64.47
![if !(IE 9)]> <![endif]> To be honest, I don't know what the TPP project is intended for. As far as I understand, this is a set of tools to assist in research of proteins and their interaction in living organisms. However, that's not so much important. What is important is that their source codes are open. It means th...
https://www.viva64.com/en/b/0156/
CC-MAIN-2018-17
refinedweb
3,313
60.31
I downloaded the new image of Picroft from the Mycroft website, and have been able to use it smoothly. However, recently I have been attempting to run GPIO pins in my custom skill and have had no success. For testing purposes, I decided to try downloading and running the Picroft_example_skill_gpio skill from which I fo...
https://community.mycroft.ai/t/gpio-pins-working-on-pi-3/2511
CC-MAIN-2018-09
refinedweb
387
71.14
website for further information. It's a pity for me. Those days it's the second call exams in my university, and it's very likely that I will fail at least one subject. Hopefully I could attend at least the first days. I've jut checked and by that date I'll have done all my final exams so as it's been suggested, I'll ...
https://dot.kde.org/comment/74412
CC-MAIN-2018-51
refinedweb
363
80.41
boost/pool/simple_segregated_storage.hpp // Copyright (C) 2000, 2001 Stephen Cleary // // Distributed under the Boost Software License, Version 1.0. (See // accompanying file LICENSE_1_0.txt or copy at //) // // See for updates, documentation, and revision history. #ifndef BOOST_SIMPLE_SEGREGATED_STORAGE_HPP #define BO...
http://www.boost.org/doc/libs/1_50_0/boost/pool/simple_segregated_storage.hpp
CC-MAIN-2015-35
refinedweb
1,350
50.94
[SOLVED] QRectF crashes the GUI upon exiting Hi all, I am currently creating a half circle gauge widget using qpainter. However, just the creation of QRectF object itself makes the GUI to be crashing when exiting. Attached below are my code, and I am just creating this object as normal in main.cpp. If the creation of Q...
https://forum.qt.io/topic/42889/solved-qrectf-crashes-the-gui-upon-exiting
CC-MAIN-2018-30
refinedweb
1,080
75.1
The Wiring of the Inmoov Hand So I did not really go into detail on how to wire the robotic hand. This wiring setup is meant to be used without the Servo shield from Adafruit. It will just rely on the use of the Servo library of the Arduino IDE. Using the Adafruit Servo shield will require a different wiring setup. The...
http://bocabearingsworkshop.blogspot.com/2016/01/3d-printed-robotic-hand-part-8-wiring.html
CC-MAIN-2017-51
refinedweb
1,727
64.81
Subject: [RFC][v8][PATCH 0/10] Implement clone3() system callTo support application checkpoint/restart, a task must have the same pid ithad when it was checkpointed. When containers are nested, the tasks withinthe containers exist in multiple pid namespaces and hence have multiple pidsto specify during restart.This pat...
https://lkml.org/lkml/2009/10/13/8
CC-MAIN-2014-15
refinedweb
477
61.36
Detached pthreads and memory leak Can somebody please explain to me why this simple code leaks memory? I believe that since pthreads are created with detached state their resources should be released inmediatly after it's termination, but it's not the case. My environment is Qt5.2. @#include <QCoreApplication> #include...
https://forum.qt.io/topic/36722/detached-pthreads-and-memory-leak
CC-MAIN-2017-43
refinedweb
639
56.45
It's not the same without you Join the community to find out what other Atlassian users are discussing, debating and creating. I followed this tutorial and everything is fine. Only one thing: I would like to have my customField to NOT become hidden when there is NO value. I tried to work with view.vm: #if ($value) // s...
https://community.atlassian.com/t5/Jira-questions/How-to-make-customField-NOT-hidden-when-there-is-NO-value/qaq-p/361704
CC-MAIN-2018-51
refinedweb
601
62.48
So, I have developed a class that is suppose to be used by another class. The class I developed is as follows: public class Car { private double milesPerGallon; private double gas; //Constructs a car with a given fuel efficiency public Car(double milesPerGallon) { gas = 0.0; } //Increases the amount of gas in the gas t...
http://databasefaq.com/index.php/answer/241160/java-class-superclass-output-is-nan
CC-MAIN-2018-39
refinedweb
311
55.95
con·sume v. con·sumed, con·sum·ing, con·sumes v. tr. ... 2. a. To expend; use up. b. To purchase (goods or services) for direct use or ownership. ... 5. To absorb; engross. Using an XML Web Service is a lot like going to a restaurant, ordering some food and eating or "consuming" it. For this article, I have been seated...
https://www.codeproject.com/Articles/2761/Consuming-Web-Services-from-a-Win-Forms-Applicatio?msg=1040026
CC-MAIN-2017-43
refinedweb
793
58.38
Kubernetes on Bare Metal: Why and How Running Kubernetes on bare metal offers a variety of advantages: It can increase performance, lower costs and more. Although bare metal .. Running Kubernetes on bare metal offers a variety of advantages: It can increase performance, lower costs and more. Although bare metal .. Ther...
https://sweetcode.io/tag/platform9/
CC-MAIN-2021-25
refinedweb
117
50.02
Any way to hook into the Close Button of a Share extension? - halloleooo With the help of the generous advice of the people on this forum I have written a image extension. So far, so good, so happy. Let's look at the work flow: Say, in the Files app I have selected some images, then go to Share --> Pyhonista --> My Scr...
https://forum.omz-software.com/topic/7043/any-way-to-hook-into-the-close-button-of-a-share-extension
CC-MAIN-2021-43
refinedweb
188
76.42
The best answers to the question “Converting from a string to boolean in Python?” in the category Dev. QUESTION: Does anyone know how to do convert from a string to a boolean in Python? I found this link. But it doesn’t look like a proper way to do it. I.e. using built-in functionality, etc. The reason I’m asking this ...
https://rotadev.com/converting-from-a-string-to-boolean-in-python-dev/
CC-MAIN-2022-40
refinedweb
320
65.83
Institutional Crypto Custodial Wallet Platform If you want to do anything interesting in Ethereum, you will have to interact with smart contracts. Whether you want to send ERC20 tokens like LINK or DAI, trade non fungible tokens like digital art, or earn interest on your crypto and interact with other DeFi products, a ...
https://hackernoon.com/ethereum-transactions-under-the-hood-dw1a3z4j
CC-MAIN-2021-17
refinedweb
2,067
59.74
Hi i made this program and i am only doing c++ a tiny while.Hi i made this program and i am only doing c++ a tiny while.Code: #include <iostream> #include <iomanip> int main() { int total, gradeCounter, grade; float average; total = 0; gradeCounter = 0; cout << "Enter grade, -1 to end: "; cin >> grade; while (grade != ...
http://cboard.cprogramming.com/cplusplus-programming/48453-works-windows-not-linux-maybe-std-printable-thread.html
CC-MAIN-2014-10
refinedweb
126
71.44
PythonAnywhere consoles can run for a long time, but we do occasionally have to bounce our servers for maintenance. So, while you can usually keep a console program running for a long time, you will occasionally find it resets itself. Use a scheduled task If you want to keep a process running more or less permanently, ...
https://help.pythonanywhere.com/pages/LongRunningTasks/
CC-MAIN-2018-30
refinedweb
470
61.97
maillock man page maillock, mailunlock, touchlock — manage mailbox lockfiles Synopsis #include <maillock.h> cc [ flag ... ] file ... -llockfile [ library ] int maillock( const char *user, int retrycnt ); void mailunlock( void ); void touchlock( void ); Description The maillock function tries to create a lockfile for th...
https://www.mankier.com/3/maillock
CC-MAIN-2017-51
refinedweb
294
64.91
Hey, Scripting Guy!)? – FE Hi FE, So you want to be able to use Excel, but you do not want to install Excel? Sounds like one of those riddles I heard when I was a kid. You know those things like, “If you take a red crayon and color all the pages in the book so that no one can see any of the writing, is it a red book?” ...
https://devblogs.microsoft.com/scripting/hey-scripting-guy-how-can-i-read-from-excel-without-using-excel/
CC-MAIN-2020-34
refinedweb
1,082
75.4
It's not the same without you Join the community to find out what other Atlassian users are discussing, debating and creating. Hello, we want to send a mail when an issue get updated. Unfortunately we cannot import the SMTPMailServer class: import com.atlassian.mail.server.SMTPMailServer; Error: Script374.groovy:3 unab...
https://community.atlassian.com/t5/Jira-Core-questions/Using-SMTPMailServer-for-ScriptListener/qaq-p/71129
CC-MAIN-2018-17
refinedweb
125
50.43
Well here is our assignment. Code:rite a C++ program that will build a Word Concordance for a series of text lines. A Concordance is basically an index of words in a document, and a listing of their context (line numbers). Then the program should read a series of lines of input from cin and keep track of the words that...
http://cboard.cprogramming.com/cplusplus-programming/139939-need-help-organizing-array-string-has-my-teachers-way.html
CC-MAIN-2015-18
refinedweb
560
67.59
Base-64 is quite useful. It allows us to present binary data in human readable characters. This allows it to be passed through those nice e-mail systems that we all use. Its also quite usefull in that it it means that you can print out binary data and type it in else where. Think crypto, crypto-keys, export law and OCR...
https://everything2.com/user/elem_125/writeups/Converting+ASCII+to+Base-64
CC-MAIN-2017-34
refinedweb
777
75.64
Difference between revisions of "List comprehension" Revision as of 17:56, 10 January 2022 List comprehensions are syntactic sugar like the expression import Data.Char (toUpper) [toUpper c | c <- s] where s :: String is a string such as "Hello". Strings in Haskell are lists of characters; the generator c <- s feeds eac...
https://wiki.haskell.org/index.php?title=List_comprehension&curid=2328&diff=64934&oldid=64451
CC-MAIN-2022-21
refinedweb
252
62.48
README ¶ Radix An implementation of a radix tree in Go. See Donald R. Morrison. "PATRICIA -- practical algorithm to retrieve information coded in alphanumeric". Journal of the ACM, 15(4):514-534, October 1968 Or the wikipedia article. Usage Get the package: $ go get github.com/miekg/radix Import the package: import ( "...
https://pkg.go.dev/github.com/miekg/radix
CC-MAIN-2021-39
refinedweb
788
73.47
Whenever the subject of creating images from scratch comes up in .NET, people automatically start thinking "Windows Forms" and "Picturebox" or "Bitmap" manipulation. Although this is all good, there are more than a handful of ways to create interesting images in .NET Let's take an interesting example. Let's suppose you...
https://mobile.codeguru.com/columns/dotnet/creating-images-from-scratch-in-c.html
CC-MAIN-2019-18
refinedweb
1,754
53.95
This post presents you the big four: concepts, ranges, coroutines, and modules. C++20 has a lot to offer. Before I give you a first impression to the big four, here is an overview of C++20. Besides the big four, many features affect the core language, the library, and the concurrency capabilities of C++20. The easiest ...
http://modernescpp.com/index.php/thebigfour
CC-MAIN-2021-10
refinedweb
1,134
65.52
Do you want to know how the above image was created? Then read on... First, let's take the simple approach: we assign to each pixel in the 256x256 bitmap, a random value. We only assign a value to the blue component: for each row in the bitmap for each column in the bitmap N = a random value in the range [0,1] Color = ...
https://www.codeproject.com/articles/6440/the-art-of-noise
CC-MAIN-2017-09
refinedweb
1,695
83.15
We have already learned about how HashMap in java works internally. If my last similar post, I tried to compare different “for loop” flavors available in java. These studies usually help in setting up best practices for your next project. I this post, I decided to compare traversal in hash map in java. HashMap is very ...
https://howtodoinjava.com/java/collections/hashmap/performance-comparison-of-different-ways-to-iterate-over-hashmap/
CC-MAIN-2021-04
refinedweb
1,436
50.63
Nov 30, 2012 01:44 PM|LINK Hi, Im newbie to SignalR. I downloaded SignalR from NuGet. All examples I Find on the web use different namespaces and classes than the one downloaded Microsoft.AspNet.SignalR. What is the correct SignalR version? All-Star 36644 Points Nov 30, 2012 03:11 PM|LINK SignalR is now supported by Mi...
http://forums.asp.net/p/1862680/5227965.aspx/1?Re+SignalR+problem
CC-MAIN-2013-20
refinedweb
152
75.71
Recent: Archives: Java provides easy and useful application programming interfaces (APIs) that should make audio a part of all but the most basic Java programs. Many Java programmers have dabbled with sound, and even those who have not will find employing effective audio a relatively simple task. This article intends t...
http://www.javaworld.com/jw-06-1998/jw-06-sound.html
crawl-002
refinedweb
1,940
56.35
This section discusses how the Windows security model is utilized in Cygwin to implement POSIX-like permissions, as well as how the Windows authentication model is used to allow cygwin applications to switch users in a POSIX-like fashion. The setting of POSIX-like file and directory permissions is controlled by the mou...
http://sourceware.org/cygwin/cygwin-ug-net/ntsec.html
CC-MAIN-2014-42
refinedweb
3,357
63.39
So Docker 1.10 has just landed and with it a number of great new security enhancements. One of the main ones is the enabling of User Namespaces. This adds an extra level of protection as processes running in a container as root will not be running as root on the host Operating System, which makes it harder for a rogue ...
https://raesene.github.io/blog/2016/02/04/Docker-User-Namespaces/
CC-MAIN-2020-34
refinedweb
699
64.04
The Pylons logging wiki has a well written and clearly documented logging HOWTO which this document will refer to. Each of the sections documented there have been tested under TG2 and they all are functional. The logging system can be setup through the application ini file using the standard python logging configuratio...
http://www.turbogears.org/2.1/docs/main/LogSetup.html
CC-MAIN-2014-15
refinedweb
254
53
In Y::test1() X::operator void*() X::operator bool() const #include <iostream> struct X { operator void*() { std::cout << " operator void*()\n"; return nullptr; } operator bool() const { std::cout << " operator bool()\n"; return true; } }; struct Y { X x; bool test1() { std::cout << "test1()\n"; return x; } bool test2(...
https://codedump.io/share/fb6vuSwB27r1/1/precedence-of-const-member-function-over-return-value-type-match
CC-MAIN-2017-13
refinedweb
749
52.09
A union is a user-defined type similar to structs in C programming. We recommend you to learn C structs before you check this tutorial. How to define a union? We use the union keyword to define unions. Here's an example: union car { char name[50]; int price; }; The above code defines a derived type union car. Create un...
https://cdn.programiz.com/c-programming/c-unions
CC-MAIN-2020-24
refinedweb
461
74.49
If you wish to share a status from your App to Facebook , Twitter or LinkedIn in Windows Phone , you can use the ShareStatusTask to achieve it . The ShareStatusTask is a launcher that enables the user to update the status message on the social networking sites on Windows Phone . Add the namespace to the code behind fil...
https://developerpublish.com/update-status-with-sharestatustask-in-windows-phone/
CC-MAIN-2019-43
refinedweb
119
63.39
A. Step 1: Learn How SSTV Works Slow-scan Television (SSTV) works the same way as television does; it transmits images by scanning the picture in so-called scanlines, and transforming information about the line (color, luminosity) into radio waves. Broadcast television does this by transmitting 25 to 30 images every se...
http://www.instructables.com/id/Off-the-grid-camera-beacon-with-solar-panels/
CC-MAIN-2017-17
refinedweb
1,934
58.42
The Juju Charm Store Juju includes a collection of what we call Charms that let you deploy whatever services you want in Juju. A collection of charms that are designed to work together is called a Bundle. Since charms and bundles are open and worked on by the community, they represent a distilled set of best practices ...
https://docs.jujucharms.com/1.25/en/authors-charm-store
CC-MAIN-2018-30
refinedweb
1,257
58.32
Python Programming, news on the Voidspace Python Projects and all things techie. Movable Python and Django If you fancy running a web application from a USB stick, then you may be interested in : Installation of Django on a USB stick using Movable Python It shows how to setup and run a Django application, using Movable...
http://www.voidspace.org.uk/python/weblog/arch_d7_2006_11_11.shtml
CC-MAIN-2018-26
refinedweb
1,627
73.37
A Brief Introduction to Kid Templates> Important points about Kid templates: - Don't forget to define the py XML namespace (as is done in the <html> tag above). That's key to having your template understood as valid XML. - ${} lets you easily substitute in a Python expression anywhere in your document. - $foo lets you ...
http://docs.turbogears.org/1.0/GettingStarted/Kid
crawl-002
refinedweb
506
72.05
Here you go. I had to attach the vehicle.h file to a vehicle.cpp file because of the rules for attachments. Anyway, it should be a .h file. Printable View Here you go. I had to attach the vehicle.h file to a vehicle.cpp file because of the rules for attachments. Anyway, it should be a .h file. I took off the #endif and...
http://cboard.cprogramming.com/cplusplus-programming/1765-vehicle-file-attached-printable-thread.html
CC-MAIN-2014-42
refinedweb
480
76.82
Important: Please read the Qt Code of Conduct - Creating a QAbstractItemModel plugin object from QML? - GordonSchumacher last edited by I have written a C++ plug-in which defines a data model derived from QAbstractListModel. My QML code is successfully loading the plugin; that part of the code actually works... The doc...
https://forum.qt.io/topic/5391/creating-a-qabstractitemmodel-plugin-object-from-qml/5
CC-MAIN-2021-49
refinedweb
283
53.31
I am developping a JSON API with Python Flask. What I want is to always return JSON, with a error message indicating any error that occured. That API also only accept JSON data in the POST body, but Flask by default return a HTML error 400 if it can't read the data as JSON. Preferably, I d also like to not force the us...
https://codedump.io/share/7agpwRSYKb8Q/1/ensure-the-post-data-is-valid-json
CC-MAIN-2017-43
refinedweb
269
60.41
This evening FlexWiki took the next step in its life and has been made available at SourceForge.net under the Common Public License. With this step, the developer community will have the latest source (including all the WikiTalk features), better access, better tools, and a better legal environment. The FlexWiki develo...
http://blogs.msdn.com/dornstein/archive/2004/09/27/235042.aspx
crawl-002
refinedweb
701
66.44
Closed Bug 1174785 Opened 4 years ago Closed 4 years ago Add a Log Module replacement for PRLog Module Info Categories (Core :: XPCOM, defect) Tracking () mozilla44 People (Reporter: erahm, Assigned: erahm) References (Blocks 1 open bug) Details Attachments (3 files, 4 obsolete files) We would like to be able to config...
https://bugzilla.mozilla.org/show_bug.cgi?id=1174785
CC-MAIN-2019-43
refinedweb
2,364
56.55
Library Interfaces and Headers - time types #include <time.h> The <time.h> header declares the structure tm, which includes. The <time.h> header defines the following symbolic names: Null pointer constant. A number used to convert the value returned by the clock() function into seconds. See clock(3C). The identifier of...
http://docs.oracle.com/cd/E26505_01/html/816-5173/time.h-3head.html
CC-MAIN-2017-04
refinedweb
387
56.96
Objects and Strings and the Wrangling Thereof (Part 2) In the prior entry, we learned that Java ships with several tools to standardize the conversion between Strings and Objects. We covered the text conversion methods of java.beans.PropertyEditor. We will most definitely come back to PropertyEditors, because they're a...
https://weblogs.java.net/blog/ljnelson/archive/2007/08/objects_and_str_2.html
CC-MAIN-2015-32
refinedweb
1,873
53.81
I have a large numpy 2d (10000,10000) with many regions (clustered cells with the same cell value). Wat I want is to merge neighbouring regions which are showing more than 35% border overlap. This overlap should be measured by dividing the size of the common border with the neighbour, by the total border size of the re...
https://codedump.io/share/Iwdt86xsdQPc/1/measure-border-overlap-between-numpy-2d-regions
CC-MAIN-2017-09
refinedweb
325
55.74
Suppose you are in a universe of only risky assets, i.e all assets that have a positive sigma. Then what Harry Markowitz did, with mathematics, was to compute the set of Expected returns that you could achieve with minimum risk (sigma). To illustrate this result I took stock returns for these 7 random companies for abo...
http://www.r-bloggers.com/modern-portfolio-optimization-theory-the-idea/
CC-MAIN-2015-27
refinedweb
685
55.58
howdy, this code is a random letter game, it selects a letter at random then gives the user 10 chances to guess. i have not implemented th do/while loop to allow for all 10 guesses. my question is: this code compiles with no errors and executes all of the way through about half the time. the rest of the time it execute...
http://cboard.cprogramming.com/cplusplus-programming/12721-runtime-error.html
CC-MAIN-2016-07
refinedweb
241
70.13
(For more resources related to this topic, see here.) One of the most influential JavaScript libraries in the last decade of web development is jQuery, a comprehensive set of functions that make Document Object Model (DOM) selection and manipulation consistent across a range of browsers, freeing web developers from hav...
https://www.packtpub.com/books/content/so-what-zeptojs
CC-MAIN-2016-07
refinedweb
1,288
61.77