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 |
|---|---|---|---|---|---|
Rethinking Swing Threading
Improper Swing threading is one of the main causes of sluggish, unresponsive, and unstable Swing applications. There are many reasons for this, from developers not understanding the Swing single threading model, to the difficulty of ensuring proper thread execution. Even when a conscious effo... | https://today.java.net/pub/a/today/2003/10/24/swing.html | CC-MAIN-2015-35 | refinedweb | 4,214 | 55.95 |
Hi folks, I have a parser problem. I have a basic calculator program (Graham Hutton's from Nottingham) which contains the following code: -- Define a parser to handle the input expr :: Parser Int expr = do t <- term do symbol "+" e <- expr return (t + e) +++ return t term :: Parser Int term = do f <- factor do symbol "... | http://www.haskell.org/pipermail/haskell-cafe/2005-March/009368.html | CC-MAIN-2014-41 | refinedweb | 168 | 52.83 |
![if !(IE 9)]> <![endif]>
When discussing static analysis tools for C# projects, programmers will often deny the necessity of static analysis arguing that most errors can be caught through unit testing. So, I decided to find out how well one of the most popular unit-testing frameworks, NUnit, was tested and see if our ... | https://www.viva64.com/en/b/0420/ | CC-MAIN-2020-50 | refinedweb | 610 | 52.29 |
In an earlier weblog entry, I bemoaned the lack of link typing out there. There are several link type taxonomies, but they’re like database schemas without databases: hardly anyone has actually put these taxonomies into practice, assigning the types to any realistic collection of links.
So I started assigning some link... | http://www.oreillynet.com/xml/blog/2003/07/help_me_add_link_type_values_t.html | crawl-002 | refinedweb | 777 | 67.08 |
I'm trying to build a python based API application to serve HTML, XML, and JSON.
Initially I found webpy and it seemed like as a library it would meet my needs. However after some more reading, it doesn't seem to support true Object Oriented Principles.
Example:
If i wanted to create a class to handle a particular part... | http://www.python-forum.org/viewtopic.php?f=22&t=4256 | CC-MAIN-2015-40 | refinedweb | 672 | 53.17 |
From: "Mathew Robertson" <mathew.robertson@...>
>
>provide a different template for each language
I initially went this way. But, I didn't like duplicating page structure. I
found that I *really* like to keep everything in Locale::Maketext lexicons.
But, the downsides are:
1. The Locale::Maketext is geared towards one ... | http://sourceforge.net/p/html-template/mailman/message/6460919/ | CC-MAIN-2015-11 | refinedweb | 4,320 | 56.25 |
Question:
I'm trying to compile a list of features that were introduced in PHP 5.3.
That I have to check out as time permits. I'd like to do this in the order of usefulness of the features.
The question is subjective, that is the point. I want to end up with a list ordered by what the community liked.
Such a list would... | http://www.toontricks.com/2019/05/tutorial-what-was-your-favorite-feature.html | CC-MAIN-2020-40 | refinedweb | 762 | 75.1 |
Parse suboptions from a string
#include <stdlib.h> int getsubopt( char** optionp, char* const* tokens, char** valuep );
libc
Use the -l c option to qcc to link against this library. This library is usually included automatically.
The getsubopt() function(int argc, char **argv) { int sc, c, errflag; char *options, *valu... | https://www.qnx.com/developers/docs/7.1/com.qnx.doc.neutrino.lib_ref/topic/g/getsubopt.html | CC-MAIN-2022-27 | refinedweb | 185 | 54.12 |
IRC log of rif on 2008-03-11
Timestamps are in UTC.
14:36:16 [RRSAgent]
RRSAgent has joined #rif
14:36:17 [RRSAgent]
logging to
14:36:32 [ChrisW]
zakim, this will be rif
14:36:32 [Zakim]
ok, ChrisW; I see SW_RIF()11:00AM scheduled to start in 24 minutes
14:36:53 [ChrisW]
Meeting: RIF Telecon 11 March 2008
14:37:41 [Chr... | http://www.w3.org/2008/03/11-rif-irc | CC-MAIN-2013-48 | refinedweb | 5,337 | 59.57 |
Magellan SAC Meeting: 21
-
22 March 2009
Minutes
SAC Members:
Edo Berger (Harvard, Secretary), Laird Close (Univ. of Arizona),
Mario Mateo (Univ. of Michigan), Paul Schechter (MIT), Andrew
Szentgyorgyi
(CfA,
Chair), Ian Thompson (OCIW)
Also present:
Davi
d Osip (LCO), Frank Perez (LCO), Mark Phillips (LCO), Steve
Shect... | https://www.techylib.com/en/view/unkindnesskind/magellan_sac_meeting_21-22_march_2009_minutes | CC-MAIN-2018-17 | refinedweb | 4,261 | 66.84 |
Download Project (Console) v1.0 - 25 KB
Download Project (MFC) v1.0 - 144 KB
Most of the software systems now have to support parallelism/concurrency, for speed, throughput, efficiency and robustness. For the same, a running process has to have multiple threads - some are spawned on demand, few are waiting for some mes... | http://www.codeproject.com/Articles/80825/Concurrency-Runtime-in-Visual-C-2010?fid=1571913&df=90&mpp=25&sort=Position&spc=None&noise=3&prof=True&view=None | CC-MAIN-2015-14 | refinedweb | 10,254 | 55.64 |
Enable capturing of events streaming through Azure Event Hubs
Azure Event Hubs Capture enables you to automatically deliver the streaming data in Event Hubs to an Azure Blob storage or Azure Data Lake Storage Gen1 or Gen 2 account of your choice.
You can configure Capture at the event hub creation time using the Azure ... | https://docs.microsoft.com/en-us/azure/event-hubs/event-hubs-capture-enable-through-portal | CC-MAIN-2020-29 | refinedweb | 790 | 66.88 |
public class StateOfTurle { private float x; private float y; private float angle; public StateOfTurtle(float x, float y, float angle) { x = this.x; y = this.y; angle = this.angle; setX(x); setY(y); setAngle(angle); } public void setX(float x2) { x = x2; } public float getX() { return x; } public void setY(float y2) { ... | http://www.javaprogrammingforums.com/whats-wrong-my-code/5804-very-complex-project-its-hard-explain.html | CC-MAIN-2014-52 | refinedweb | 4,117 | 67.15 |
In this podcast, Asim Aslam, founder and CEO of Micro, sat down with InfoQ podcast co-host Daniel Bryant. Topics discussed included: microservices vs functions; the go-micro and micro frameworks; and the evolution of PaaS and how the new M3O platform fits into the landscape.
Key Takeaways
- Go Micro is a standard libra... | https://www.infoq.com/podcasts/microservices-go-micro-paas3/?itm_source=podcasts_about_PaaS&itm_medium=link&itm_campaign=PaaS | CC-MAIN-2020-50 | refinedweb | 5,732 | 73.07 |
Underscore 0.0.4
Obfuscating code by changing the variable names to underscores
==========
Obfuscating code by changing the variable names to underscores
## Example
###### Input
```python
# fib.py
from operator import add
class Fibber(object):
@staticmethod
def fib(n):
a, b = 0, 1
for i in xrange(n):
a, b = b, add(a, b... | https://pypi.python.org/pypi/Underscore/0.0.4 | CC-MAIN-2017-09 | refinedweb | 382 | 70.53 |
Difference between revisions of "SMILA/Documentation/Xml Storage::Implementation::Berkley XML DB"
Revision as of 05:53, 13 November 2008
Contents
Berkeley DB XML.
The attached docs from Oracle can be found [| here]
Key Features and Limitations
- Replication/Clustering
- good for horizontal scaling with single Read/Writ... | http://wiki.eclipse.org/index.php?title=SMILA/Documentation/Xml_Storage::Implementation::Berkley_XML_DB&diff=128311 | CC-MAIN-2019-39 | refinedweb | 716 | 51.99 |
One of the first Seam 3 Modules to appear is the Seam Faces module which provides additional functionality to JSF. While there aren’t many pain points left in JSF, one of the biggest is the issue of data converters for entity objects. This article will take a look at how Seam Faces takes the pain out of writing JSF con... | http://www.andygibson.net/blog/article/seam-faces-makes-jsf-conversion-a-breeze/ | CC-MAIN-2019-13 | refinedweb | 1,189 | 55.54 |
And then the dream came true, the moment arrived, someone made the announcement, who was he? I do not remember, all I heard was that someone announced that Qasim Saidhi, Rally No.102, Won the D Category of Jhal Magsi Desert Challenge 2009, several clapped and patted my back, I know almost all participants by name but w... | https://www.pakwheels.com/forums/t/jhal-magsi-rally-pics-test-run-dec-13th-09/129116?page=14 | CC-MAIN-2018-05 | refinedweb | 820 | 67.18 |
version of Win32::GUI includes the modules Win32::GUI::AxWindow, Win32::GUI::DIBitmap, Win32::GUI::Grid, and Win32::GUI::Scintilla (originally by Laurent Rocher:).
Please uninstall any previous versions of these modules that you may have installed before installing this version of Win32::GUI.
<TAB> can now be used to ... | http://search.cpan.org/~robertmay/Win32-GUI/Win32-GUI-ReleaseNotes/RN_1_04.pod | CC-MAIN-2015-27 | refinedweb | 410 | 58.42 |
The SHT31D is a temperature and humidity sensor with a built in I2C interface. The sensor has a typical accuracy of +/- 2% relative humidity and +/- 0.3C.
Hardware
The SHT31D breakout board from Adafruit is supplied with pull-up resistors installed on the
SCL and
SDA lines.
The
ADR line is tied low giving and I2C addre... | http://netduino.foundation/Library/Sensors/Atmospheric/SHT31D/ | CC-MAIN-2018-05 | refinedweb | 225 | 50.84 |
This class provides bitwise access to the byte data. More...
#include <CBitMemoryReadArchive.h>
This class provides bitwise access to the byte data.
Definition at line 21 of file CBitMemoryReadArchive.h.
Definition at line 24 of file CBitMemoryReadArchive.h.
Constructs a bit stream from a vector of bytes.
Returns
true ... | http://ilena.org/TechnicalDocs/Acf/classiser_1_1_c_bit_memory_read_archive.html | CC-MAIN-2018-51 | refinedweb | 124 | 55.71 |
Exuberant Ctags generates an index (or tag) file of source language
objects in source files that allows these items to be quickly and
easily located by a text editor or other utility.
Alternatively, it can generate a cross reference file which lists,
in human-readable form, information about the various objects found
i... | http://www.freshports.org/devel/ctags/ | CC-MAIN-2014-42 | refinedweb | 707 | 53.27 |
Frank Kieviet
How to fix the dreaded "java.lang.OutOfMemoryError: PermGen space" exception (classloader leaks)_1<<_3<<
Clicking on the classloader link brings up the following screen:
Scrolling down, I see Reference Chains from Rootset / Exclude weak refs . Clicking on this link invokes the code that I modified; the fo... | http://blogs.sun.com/fkieviet/entry/how_to_fix_the_dreaded | crawl-002 | refinedweb | 4,265 | 72.26 |
Allocates memory for an array
#include <stdlib.h>
void *calloc ( size_t n , size_t size );
The calloc( ) function obtains a block of memory from the operating system that is large enough to hold an array of n elements of size size.
If successful, calloc( ) returns a void pointer to the beginning of the memory block obt... | http://books.gigatux.nl/mirror/cinanutshell/0596006977/cinanut-CHP-17-22.html | CC-MAIN-2018-43 | refinedweb | 158 | 56.05 |
Overview
Atlassian SourceTree is a free Git and Mercurial client for Windows.
Atlassian SourceTree is a free Git and Mercurial client for Mac.
README for Karnickel - AST Macros for Python
"it's no ordinary rabbit..."
What is it?
Karnickel is a small library that allows you to use macros (similar to those found in Lisp)... | https://bitbucket.org/birkenfeld/karnickel | CC-MAIN-2015-48 | refinedweb | 374 | 75.81 |
The QAbstractItemView class provides the basic functionality for item view classes. More...
#include <QAbstractItemView>
Inherits QAbstractScrollArea.
Inherited by QHeaderView, QListView, QTableView, and QTreeView.(), columnsInserted(), columnsRemalFactor() and setVerticalFactor(). Several other functions are concerned... | http://doc.trolltech.com/4.0/qabstractitemview.html | crawl-001 | refinedweb | 2,253 | 69.18 |
jemalloc is currently disabled on MacOS 10.7 for reasons that I don't understand at the moment. But as more Mac users transition to the new version, enabling jemalloc there becomes increasingly important.
bug 670175 is the problem.
Thanks. I resolved that bug so we can track turning it on (and fixing that hang) here.
S... | https://bugzilla.mozilla.org/show_bug.cgi?id=694896 | CC-MAIN-2016-44 | refinedweb | 5,587 | 73.68 |
.
' Obtain
Running the examples
LINQ providers.
Structure of a LINQ query.
Dim customers = GetCustomers() Dim queryResults = From cust In customers For Each result In queryResults Debug.WriteLine(result.CompanyName & " " & result.Country) Next ' Output: ' Contoso, Ltd Canada ' Margie's Travel United States ' Fabrikam, ... | https://docs.microsoft.com/en-us/dotnet/visual-basic/programming-guide/language-features/linq/introduction-to-linq | CC-MAIN-2018-51 | refinedweb | 845 | 52.05 |
25 August 2004 23:09 [Source: ICIS news]
HOUSTON (CNI)--?xml:namespace>
On Tuesday, nitration-grade toluene traded at a high of $2.62/gal while MX business peaked at $2.42/gal, with MX numbers rising 6.5 cent/gal during the day.
Market sources attributed the price spikes to elevated Asian demand for toluene and to a pr... | http://www.icis.com/Articles/2004/08/26/608476/toluene-and-mixed-xylene-prices-set-records-on-us-gulf.html | CC-MAIN-2014-35 | refinedweb | 161 | 66.74 |
Problem
I am getting this error message - "Cannot connect to WMI provider. You do not have permission or the server is unreachable. Note that you can only manage SQL Server 2005 and later servers with the SQL Server Configuration Manager. Invalid namespace[0x80041010]" when trying to launch SQL Server Configuration Man... | https://www.mssqltips.com/sqlservertip/2382/sql-server-configuration-manager-cannot-connect-to-wmi-provider/ | CC-MAIN-2017-43 | refinedweb | 353 | 65.32 |
Update of bug #55940 (project octave): Status: Ready For Test => In Progress _______________________________________________________ Follow-up Comment #55: I pushed a different change here (). The problem with reverting is that the code is likely to be forgotten. Instead, I used #if 0 / #endif to disable the blocks of ... | https://lists.gnu.org/archive/html/octave-bug-tracker/2019-11/msg00018.html | CC-MAIN-2019-51 | refinedweb | 156 | 72.76 |
software
of the application. But if the software is Open-source then the source code is also...Open-source software Hi,
What is Open-source software? Tell me the most popular open source software name?
Thanks
Hi,
Open-source
Open Source E-mail
Open Source Content Management
code for open-source CMSes is freely availab... | http://www.roseindia.net/tutorialhelp/comment/21036 | CC-MAIN-2015-14 | refinedweb | 1,211 | 69.52 |
Tested}"
Search Criteria
Package Details: apparmor 2.11.0-1
Package Actions (2)
Sources (5)
Latest Comments
lukeyeager commented on 2017-09-12 00:54
Tested working patch:/"
edh commented on 2017-09-03 11:23
Due the change in the way perl packages are handled, apparmor-libapparmor is broken. The problem lies in line 117... | https://aur.archlinux.org/packages/apparmor/?ID=42279&comments=all | CC-MAIN-2017-39 | refinedweb | 7,857 | 58.38 |
Java.io.PrintStream.print() Method
Advertisements
Description
The java.io.PrintStream.print() method prints an object. The string produced by the String.valueOf(Object) method is translated into bytes according to the platform's default character encoding, and these bytes are written in exactly the manner of the write(... | http://www.tutorialspoint.com/java/io/printstream_print_object.htm | CC-MAIN-2014-42 | refinedweb | 158 | 51.95 |
<
parse
avoid using the whole URL
avoid using the whole URL How can I avoid using the whole URL
php parse string for url
php parse string for url Do i need a regex to parse a URL-type string in PHP
Append Arguments to the URL
Append Arguments to the URL Hi,
How to append the query string to the Current Url when i click... | http://www.roseindia.net/tutorialhelp/comment/94339 | CC-MAIN-2015-32 | refinedweb | 1,917 | 71.44 |
54246/find-out-time-it-took-for-python-script-to-complete-execution
I am working with the following code in a python script:
def fun():
#Code here
fun()
I want to execute this script and also find out how much time it took to execute in minutes. How do I find out how much time it took for this script to execute? Can an... | https://www.edureka.co/community/54246/find-out-time-it-took-for-python-script-to-complete-execution | CC-MAIN-2020-16 | refinedweb | 203 | 77.94 |
- 1 Introduction
- 2 Installation
- 3 An Introduction to Using DIVINE
- 4 Commandline Interface
- 5 Model Checking C and C++ Code via LLVM Bitcode
- 6 Interactive Debugging
- 7 DiVM: A Virtual Machine for Verification
- 8 DiOS, A Small, Verification-Oriented Operating System
1 Introduction
The DIVINE project aims to de... | http://divine.fi.muni.cz/manual.html | CC-MAIN-2018-26 | refinedweb | 9,286 | 51.38 |
1,1
Equivalently, primes of form 2^n - 1 for integers n.
See A000043 for the values of p.
Primes that are
All these primes, except 3,)
[Conjecture] For n > 2, the Mersenne number M(n) = 2^n - 1 is a prime if and only if 3^M(n-1) == -1 (mod M(n)). - Thomas Ordowski, Aug 12 2018 [This needs proof! - Joerg Arndt, Mar 31 2... | http://oeis.org/A000668 | CC-MAIN-2020-40 | refinedweb | 561 | 67.04 |
AirDrop has always been a truly useful feature of Apple's ecosystem, as it lets you share text, files, and images between Apple devices with ease. However, if you're like me and prefer using a Windows PC with an iOS device, there's no way to seamlessly share data between the two devices, without having to email yoursel... | https://practicaldev-herokuapp-com.global.ssl.fastly.net/oskarcodes/how-i-remade-airdrop-from-ios-on-windows-2pa7 | CC-MAIN-2021-31 | refinedweb | 849 | 59.13 |
Compatibility
- 0.5.0 and main5.35.25.15.04.2
- 0.5.0 and mainiOSmacOS(Intel)macOS(ARM)LinuxtvOSwatchOS
🎼 A library for function composition.
A library for function composition.
pipe
withand
update
concat
curry,
flip, and
zurry
get
prop
overand
set
mprop,
mver, and
mut
zip
We work with functions all the time, but func... | https://swiftpackageindex.com/pointfreeco/swift-overture | CC-MAIN-2021-10 | refinedweb | 1,482 | 51.65 |
I have created a simple program to create a graphical user interface GUI window that contains the text Hello World in it, and in NetBeans it compiles and runs fine. Unfortunately, it does not run in the command prompt, although it does compile fine.
Here is my code:
and as I said when I run this in NetBeans there are n... | http://www.javaprogrammingforums.com/whats-wrong-my-code/20355-where-my-class.html | CC-MAIN-2014-15 | refinedweb | 168 | 73.78 |
This is the most important feature, Wilson says. If your application is slow, most users will get frustrated and move on. Applications must be designed with speed in mind. This will help its utility become immediately clear. Tools like Pingdom can help you keep track of your web app's speed.
Instant Utility
Unless you'... | https://dzone.com/articles/10-keys-successful-web-app | CC-MAIN-2017-43 | refinedweb | 577 | 57.06 |
LINQ Overview, part zero
LINQ Overview, part one (Extension Methods)
LINQ Overview, part two (Lambda Expressions)
Note: I realize it has been a really long time since I've posted anything. It is both exciting and humbling that I continue to receive such positive feedback on these articles. In fact, that is why I am try... | http://geekswithblogs.net/dotnetnomad/archive/2009/10/29/135842.aspx | CC-MAIN-2017-30 | refinedweb | 2,097 | 60.45 |
I woul be travelling to America. Which flights offer open tickets ?
I woul be travelling to America. Which flights offer open tickets ?
Welcome to the forum.
If you could provide more information about your travel plans it would help us greatly to help you. Such as,
Where will you be flying from?
When do you plan to fl... | https://www.tripadvisor.com/ShowTopic-g1-i10702-k6588851-Travel_forum-Air_Travel.html | CC-MAIN-2017-30 | refinedweb | 442 | 81.73 |
.
(For more resources related to this topic, see here.)
Creating, running, and managing Docker containers
Docker is a technology that seemed to come from nowhere and took the IT world by storm just a few years ago. The concept of containerization is not new, but Docker took this concept and made it very popular. The id... | https://www.packtpub.com/books/content/virtualizing-hosts-and-applications | CC-MAIN-2017-22 | refinedweb | 3,556 | 60.55 |
KTRACE(2) NetBSD System Calls Manual KTRACE(2)Powered by man-cgi (2021-06-01). Maintained for NetBSD by Kimmo Suominen. Based on man-cgi by Panagiotis Christias.
NAME
ktrace, fktrace -- process tracing
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <sys/param parameter_EMUL Trace emulation changes. KTRFAC_INH... | http://man.netbsd.org/ktrace.2 | CC-MAIN-2022-21 | refinedweb | 293 | 66.64 |
I solved it
I figured it out but don't know how to delete a post.
public static void main(String [] args)
{
Scanner keyboard = new Scanner(System.in);
int num = 0;
int num_of_rows = 1;
while(num < 1 || num > 10)...
Not working, I may have done it wrong.
I enter 2 it prints out "$$" and the "The number you entered is in... | http://www.javaprogrammingforums.com/search.php?s=1391c48d724a9df0c7300151a44f0294&searchid=837314 | CC-MAIN-2014-15 | refinedweb | 458 | 87.21 |
How to Implement an OAuth2 Workflow in Node.js
January 14th, 2022
What You Will Learn in This Tutorial
How to implement an OAuth2 workflow in JavaScript and Node.js by setting up an OAuth connection to the Github API. add one dependency:
node-fetch.
Terminal
cd app && npm i node-fetch
With that installed, go ahead and ... | https://cheatcode.co/tutorials/how-to-implement-an-oauth2-workflow-in-node-js | CC-MAIN-2022-27 | refinedweb | 3,509 | 63.29 |
I'm Working on A Game Called Super Tic Tac Toe Haven't Programmed In A While Really Need Some Help/Ideas Here Are The Requirements For The Game Below:
1. The Program Will Allow Up to 5 Players Capture First And Last Names 1 Player At a Time Then Using First Name Afterwards.
2. The First Players Piece is "a" second is "... | https://cboard.cprogramming.com/cplusplus-programming/119565-super-tic-tac-toe.html | CC-MAIN-2017-22 | refinedweb | 489 | 74.32 |
iddle->something()
but don't want to mess up the PDL namespace (a worthy goal, indeed!). The other is that you wish to provide special handling of some functions or more information about the data the piddle contains. In the first case, you can do with
package BAR; @ISA=qw/PDL/; sub foo {my($this) = @_; fiddle;} packag... | https://metacpan.org/pod/PDL::Objects | CC-MAIN-2015-35 | refinedweb | 249 | 67.38 |
Re: Virtual function and multiple inheritance
- From: George <George@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sat, 2 Feb 2008 04:40:00 -0800
Hi Bo Persson,
Great reply!?
I have made the sample easy to show that the non-override methods -- even if
virtual is not in vtable. I am very confused.
Here is the code and result, and ... | http://www.tech-archive.net/Archive/VC/microsoft.public.vc.language/2008-02/msg00046.html | crawl-002 | refinedweb | 520 | 59.33 |
03-15-2020 09:40 PM
Setup: I'm developing a bare-metal embedded system using a Zynq Ultrascale+ MPSOC that communicates with a host PC over TCP/IP using the LWIP stack provided in Vitis 2019.2. The host PC sends commands/queries to the Zynq, which replies.
Problem: The replies occasionally (after several seconds of 100... | https://forums.xilinx.com/t5/Ethernet/LWIP-transmit-stalls-on-Zynq-Ultrascale/m-p/1085557 | CC-MAIN-2020-29 | refinedweb | 1,199 | 67.59 |
PowerS. Laerte explains how.
Why should a DBA learn PowerShell ? It is all about solutions. In this article, I want to explain how one can integrate PowerShell, TSQL, SQL Jobs and SQL WMI alerts into a complete solution. I will go further in this topic in my new written project along three great friends. Stay Tuned, as... | https://www.simple-talk.com/content/print.aspx?article=1561 | CC-MAIN-2014-15 | refinedweb | 2,402 | 63.8 |
[[trivial_abi]] 101
[[trivial_abi]]101
Finally, a blog post on
[[trivial_abi]]!
This is a brand-new feature in Clang trunk, new as of about February 2018. It is a vendor extension to the C++ language — it is not standard C++, it isn’t supported by GCC trunk, and there is no active WG21 proposal to add it to the standar... | https://quuxplusone.github.io/blog/2018/05/02/trivial-abi-101/ | CC-MAIN-2021-21 | refinedweb | 2,275 | 58.32 |
TELOS MAINNET HAS LAUNCHED!
On December 12th, 2018 at 17:46 UTC, the six Appointed Block Producers (ABPs) of the Telos Launch Group executed the previously published launch script for the Telos Mainnet, bringing it into existence.
Like a rocket launch, there are distinct stages to the launch process: injection, validat... | https://medium.com/telos-foundation/telos-mainnet-has-launched-cba1efabdc3b | CC-MAIN-2019-22 | refinedweb | 544 | 60.04 |
Back to article
In the first installment of this article we looked at getting Google's Scripting Layer for Android (SL4A) downloaded and installed on your Android phone. We examined the basics of writing scripts using Python and even included a short script to set a few of the profile settings. This time we'll take a ... | http://www.linuxplanet.com/linuxplanet/print/7166 | CC-MAIN-2018-09 | refinedweb | 453 | 73.41 |
[
]
Sanjay Radia commented on HDFS-3077:
------------------------------------
* JournalNode States - I am a little confused about how the state of JN is captured in the
code.
** The "inWritingState" seems to be captured by (curSegment != null) - this is used fairly
often, lets hide this behind a method isJournalSegment... | http://mail-archives.apache.org/mod_mbox/hadoop-hdfs-issues/201210.mbox/%3C1594962375.11988.1349744648514.JavaMail.jiratomcat@arcas%3E | CC-MAIN-2015-35 | refinedweb | 269 | 55.64 |
Package to add bwi methods into your project
Project description
BWI-lib
python client for BWI interactions
Usage
Instantiate a client
import bwi client = bwi.Client(api_key='xxxxxxxxxxxxxxxx', workflow='shop')
Manipulate your logs
# provide step duration with client.Step('fetch client information') as bwi: bwi.logger.... | https://pypi.org/project/bwi/ | CC-MAIN-2019-47 | refinedweb | 166 | 51.34 |
Quasiquotation is the mechanism that makes it possible to program
flexibly with tidy evaluation grammars like dplyr. It is enabled in
all tidyeval quoting functions, the most fundamental of which are
quo() and
expr().
Quasiquotation is the combination of quoting an expression while allowing immediate evaluation (unquot... | https://www.rdocumentation.org/packages/rlang/versions/0.2.1/topics/quasiquotation | CC-MAIN-2021-25 | refinedweb | 983 | 60.21 |
It's not the same without you
Join the community to find out what other Atlassian users are discussing, debating and creating.
Good morning!
I am new with groovy / scriptrunner and I am having difficulties in writing a script. The request is to use a post-function in the Create transition workflow to re-route tickets t... | https://community.atlassian.com/t5/Marketplace-Apps-questions/ScriptRunner-Groovy-Script-based-on-issue-type/qaq-p/461725 | CC-MAIN-2019-13 | refinedweb | 407 | 66.74 |
The QSerialIODevice class is the base for all serial devices. More...
#include <QSerialIODevice>
Inherits QIODevice.
Inherited by QNullSerialIODevice, QSerialPort, and QSerialSocket.
The QSerialIODevice class is the base for all serial devices.
The abstract QSerialIODevice class extends QIODevice with functionality tha... | https://doc.qt.io/archives/qtextended4.4/qserialiodevice.html | CC-MAIN-2021-25 | refinedweb | 797 | 60.61 |
Hi,
I have a .NET forms application that I have created in C#. This forms application is built as an exe and has a set of public interfaces to public classes contained within the exe. Call this exe App1. Question 1: I want all these classes to be non-createable by other .NET applications that call them (similar to the ... | http://forums.codeguru.com/showthread.php?486088-store-arraylist-in-database&goto=nextnewest | CC-MAIN-2016-30 | refinedweb | 296 | 66.94 |
Simple program that can parse Google Protobuf encoded blobs (version 2 or 3) without knowing their accompanying definition. It will print a nice, colored representation of their contents. Example:
As you can see, the field names are obviously lost, together with some high-level details such as:
But protobuf-inspector i... | https://awesomeopensource.com/project/mildsunrise/protobuf-inspector | CC-MAIN-2022-33 | refinedweb | 578 | 57.91 |
git rebase (not) --interactive
Explore our services and get in touch.
tl;dr: How to build a Node.JS script to re-write history. pre-requisites: Familiarity with git rebase --interacitve..
For the end user it was all cakes and ale, but maintenance was hell. To put things simple, imagine you had the following git-log:
St... | https://the-guild.dev/blog/git-rebase-not-interactive | CC-MAIN-2021-31 | refinedweb | 767 | 56.45 |
cycling rhoconnect after createAlexey Mironov Sep 9, 2013 12:03 AM
Hello, Im try to sync with MS SQL Server (I use TinyTds) by Rhoconnect (sync my app log file) -
class TsdLog < SourceAdapter
def initialize(source)
@client = TinyTds::Client.new(:username => 'sa', :password => '', :host => '10.39.3.200', :database => 'c... | https://developer.zebra.com/thread/3842 | CC-MAIN-2017-34 | refinedweb | 780 | 68.1 |
The following samples show what the standards and procedures documentation might look like as a paper-based manual, and Software Development Standards: C
The "C" language standards presented in the following subsections are designed to enhance debugging and maintenance of application programs by ensuring that coding is... | http://it.toolbox.com/blogs/enterprise-solutions/sample-software-development-standards-c-12768 | crawl-002 | refinedweb | 2,117 | 53.1 |
Are you tired of scanning images and trying to shrink them under 25 mbs just so you can send them via email ? Look no further, I am here to save you from this trouble. (that kinda rhymed.)
This basic shell script uses ghostscript to compress your scanned pdfs significantly. Just yesterday I scanned 100 pages of documen... | https://dev.to/burakcank/want-to-compress-your-pdf-files-5ff9 | CC-MAIN-2022-40 | refinedweb | 243 | 69.68 |
One popular gripe about Silverlight has been the lack of integrated testing tools. There are several types of tests you may perform against a software project. Unit tests can be performed with the aid of the Silverlight Unit Testing Framework and automated with a third-party tool such as StatLight.
Automation testing i... | https://csharperimage.jeremylikness.com/2010/07/silverlight-ui-automation-testing-using.html | CC-MAIN-2021-43 | refinedweb | 2,544 | 56.76 |
# we obtain a list of word/tag pairs from the Brown corpus
# using news data only
import nltk
brown_news = nltk.corpus.brown.tagged_words(categories="news")
# This dictionary maps each tag to a list of words that have been observed with it
tag_wordlist = { }
# Now we fill the dictionary
for word, tag in brown_news:
if ... | http://www.katrinerk.com/courses/intro-to-computational-linguistics-ug/schedule-introduction-to-computational-linguistics-undergraduate/using-python-dictionaries | CC-MAIN-2021-04 | refinedweb | 262 | 61.36 |
Content Publishing Manager, Windows Mobile SDK
The Great Pyramid of Khufu, at Giza, Egypt consists of approximately 2.3 million blocks of stone, is 775 feet long on each side and more than 451 feet high, and took nearly thirty years for a force of 100,000 slaves to construct. Sometimes getting an instance of BizTalk Se... | http://blogs.msdn.com/luke/articles/241024.aspx | crawl-002 | refinedweb | 3,542 | 52.39 |
How Democratizing College Coaching Tackles Key Problems Plaguing Today’s Teens
- The problem understood more broadly: 21st-century teens are depressed and anxious, increasingly so, paving the way for unstable adulthoods personal narrative, — even as their children’s adulthood portends to be much less safe and structure... | https://medium.com/@DrMBlueStars/how-democratizing-college-coaching-tackles-key-problems-plaguing-todays-teens-a6e784fecc15 | CC-MAIN-2019-35 | refinedweb | 2,330 | 61.26 |
Log message:
ruby-nokogiri: update to 1.8.2.
Upstream changelog (from CHANGELOG.md):
# 1.8.2 / 2018-01-29
## Security Notes
[MRI] The update of vendored libxml2 from 2.9.5 to 2.9.7 addresses at least one \
published vulnerability, CVE-2017-15412. [#1714 has complete details]
## Dependencies
* [MRI] libxml2 is updated f... | http://pkgsrc.se/textproc/ruby-nokogiri | CC-MAIN-2018-22 | refinedweb | 1,507 | 62.54 |
Docker’s Voting App on Swarm, Kubernetes and Nomad
TL;DR
When you work in tech you definitely have to be curious as this is essential to always keep on learning and stay up to date. Things are moving too damn fast in the area.
Container orchestration is such a hot topic that even if you have your favorite tool (my hear... | https://medium.com/lucjuggery/dockers-voting-app-on-swarm-kubernetes-and-nomad-8835a82050cf?source=collection_home---6------0---------------- | CC-MAIN-2017-47 | refinedweb | 4,097 | 54.83 |
classes to use when handling where clause More...
#include "procedure.h"
#include <myisam.h>
#include "sql_array.h"
#include "records.h"
#include "opt_range.h"
#include "filesort.h"
#include "mem_root_array.h"
#include "sql_executor.h"
#include "opt_explain_format.h"
#include <functional>
Go to the source code of this ... | http://mingxinglai.com/mysql56-annotation/sql__select_8h.html | CC-MAIN-2018-17 | refinedweb | 142 | 64.27 |
Red Hat Bugzilla – Bug 252110
Review Request: wstx - Woodstox Stax Implementation
Last modified: 2008-06-26 02:51:34 EDT
Spec URL:
SRPM URL:
Woodstox is a high-performance validating namespace-aware
StAX-compliant (JSR-173) Open Source XML-processor written
in Java.
XML processor means that it handles both input (== pa... | https://bugzilla.redhat.com/show_bug.cgi?id=252110 | CC-MAIN-2017-30 | refinedweb | 293 | 51.72 |
Ruby:Tutorial
Getting Ruby
For Windows or Mac, you will want to head over to the official Download page, grab the appropriate installer, and go for it. On OSX, install it via DarwinPorts.
Linux
(Yeah, it gets its own section, it sucks, blah blah blah.)
Easy version: Install it from the packages supplied by the distribu... | http://content.gpwiki.org/index.php/Ruby:Tutorial | CC-MAIN-2013-48 | refinedweb | 545 | 64.3 |
functions can be used when you're adding numbers together and don't want the total to overflow. Normally, when an addition overflows, it just drops back down to 0 and you're left with however much is left over after the overflow.
If you were doing something like calculating the distance between two points, and it over... | http://ctips.pbworks.com/w/page/7277630/Saturated%20Addition | CC-MAIN-2021-04 | refinedweb | 254 | 68.3 |
We can traverse a tree in the inorder fashion iteratively, using stack, but it consumes space. So, in this problem, we are going to traverse a tree without the linear space being used. This concept is called Morris Inorder Traversal or Threading in Binary trees.
Example
2 / \ 1 3 / \ 4 5
4 1 5 2 3
3 / \ 1 4 / \ 2 5
1 3... | https://www.tutorialcup.com/interview/tree/morris-inorder-traversal.htm | CC-MAIN-2021-49 | refinedweb | 734 | 55.13 |
5.11. Asynchronous Programming¶
Perhaps one of the hardest aspects of prgramming in JavaScript is learning to cope with the asynchronous nature of JavaScript itself. Javascript can only do one thing at a time. It is a “single threaded” language. But what happens when you want to do something that may take some time, us... | https://runestone.academy/runestone/books/published/webfundamentals/Javascript/asyncJavascript.html | CC-MAIN-2020-24 | refinedweb | 1,630 | 78.59 |
Details
- Type:
Bug
- Status:
Closed
- Priority:
Major
- Resolution: Fixed
- Affects Version/s: JRuby 1.4
-
- Component/s: Core Classes/Modules
- Labels:None
- Environment:Windows/MacOS/Linux
- Number of attachments :
Description
Ruby 1.8.x has the following behavior:
irb(main):006:0> File.open("c:/bla/foo", "wb") Errn... | http://jira.codehaus.org/browse/JRUBY-4380?focusedCommentId=203789&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel | CC-MAIN-2014-42 | refinedweb | 535 | 67.04 |
Explicit type conversions often mask errors related to a change of a pointer type. One of such errors is casting of a pointer to 32-bit objects into a pointer to 64-bit ones. Let us look at one example received from the users of our tool PVS-Studio (Viva64). The error shows after porting the code to the 64-bit Windows:... | http://www.viva64.com/en/b/0034/ | CC-MAIN-2014-10 | refinedweb | 258 | 57.91 |
Getting Started
The SAMPLES namespace includes two DeepSee samples. One is the DeepSee.Study.Patient class and related classes. This sample is meant for use as the basis of a DeepSee model. It does not initially contain any data. The DeepSee.Model package includes sample cubes, subject areas, KPIs, pivot tables, and da... | https://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=D2DT_CH_SETUP | CC-MAIN-2021-04 | refinedweb | 410 | 57.47 |
Back to: C#.NET Tutorials For Beginners and Professionals
Introduction to Collections in C#
In this article, I am going to give you a brief Introduction to Collections in C#. Please read our previous article where we discussed the advantages and disadvantages of arrays in C# with examples. As part of this article, we a... | https://dotnettutorials.net/lesson/collections-csharp/ | CC-MAIN-2022-21 | refinedweb | 714 | 53.61 |
ES6 for Django Lovers!
The Django community is not one to fall to bitrot. Django supports every new release of Python at an impressive pace. Active Django websites are commonly updated to new releases quickly and we take pride in providing stable, predictable upgrade paths.
We should be as adamant about keeping up that... | https://www.caktusgroup.com/blog/2016/05/02/es6-django-lovers/ | CC-MAIN-2017-47 | refinedweb | 913 | 63.19 |
Hey Jesse,
It should be just this
This displays the number 4!
#include "Nextion.h" NexText t0 = NexText(0, 1, "t0"); char buffer[100] = {0}; int Mypins [4][5] = {{0,1,2,3,4},{5,6,7,8,9},{10,11,12,13,14},{15,16,17,18,19}}; NexTouch *nex_listen_list[] = { NULL }; void setup(void) { nexInit(); } void loop(void) { nexLoop(... | http://support.iteadstudio.com/support/discussions/topics/11000001039 | CC-MAIN-2017-43 | refinedweb | 290 | 87.42 |
Hi There
Last task in exercise here want you to initialise hobbies array with length of zero in the constructor to prevent exception when ViewProfile is called and hobbies have not been set.
“If you call
ViewProfile() before calling
SetHobbies() , you’ll get an error because the
hobbies field isn’t set to any value. Fi... | https://discuss.codecademy.com/t/the-object-of-your-affection/436280 | CC-MAIN-2019-43 | refinedweb | 184 | 65.83 |
Introduction
FTP or File Transfer Protocol is a common way to transfer files. For FTP, Python has a built in package called ftplib.
There is also a Secure File Transfer Protocol (SFTP) that uses SSH to encrypt the communication. We will focus just on traditional FTP in this guide. For SFTP you can check out the Paramik... | https://www.devdungeon.com/content/python-ftp-client-tutorial | CC-MAIN-2022-40 | refinedweb | 1,327 | 62.98 |
In the Client app create a new folder named Components. This is not a special name, we can choose any name we wish.
Once you’ve created the new Components folder, create a file within it named MyFirstComponent.razor and enter the following mark-up.
<div> <h2>This is my first component</h2> </div>
Now edit the Index.raz... | https://blazor-university.com/components/creating-a-component/ | CC-MAIN-2021-25 | refinedweb | 146 | 53.78 |
100 Days of VR: Day 6 Survival Shooter Tutorial II
Entry posted by Josh Chang ·
Today in day 6, we’re going to finish the rest of the Survival Shooter tutorial and finally move on to developing a simple game of my own!
Today, we learn more about:
- Creating the UI
- Attacking and Moving for the player and the enemies
-... | https://www.gamedev.net/blogs/entry/2263668-100-days-of-vr-day-6-survival-shooter-tutorial-ii/ | CC-MAIN-2018-51 | refinedweb | 4,003 | 64.2 |
Directory │ └── hello_web │ └── hello_web.ex ├── priv └── test
We will go over those directories one by one:
_build- a directory created by the
mixcommand line tool that ships as part of Elixir that holds all compilation artefacts. As we have seen in "Up and Running",
mixis the main interface to your application. We us... | https://hexdocs.pm/phoenix/directory_structure.html | CC-MAIN-2021-04 | refinedweb | 951 | 50.43 |
Typicon image files have all-or-nothing transparency when loaded
When I load a Typicon file, e.g. the house picture, all the partial transparency (antialiasing) is removed:
This is how it looks once I'm done with it:
and this is how it should look:
Here is my code:
from PIL import Image as ImageP import io import base6... | https://forum.omz-software.com/topic/1342/typicon-image-files-have-all-or-nothing-transparency-when-loaded/? | CC-MAIN-2021-49 | refinedweb | 448 | 53.78 |
Name | Synopsis | Description | Parameters | Errors | Examples | Environment Variables | Attributes | See Also
#include <slp.h> SLPError SLPUnescape(const char *pcInBuf, char** ppcOutBuf, SLPBoolean isTag);
The SLPUnescape() function processes the input string in pcInbuf and unescapes any SLP reserved characters. If th... | http://docs.oracle.com/cd/E19253-01/816-5170/6mbb5et3r/index.html | CC-MAIN-2014-35 | refinedweb | 164 | 55.95 |
Subject: Re: [OMPI users] No output from mpirun
From: Varun R (nigen7_at_[hidden])
Date: 2007-12-31 08:42:49
Yes, the 'mpirun' is the one from OpenMPI. And btw mpich worked perfectly
for me. It's only ompi that's giving me these problems. Do I have to setup
ssh or something? Because I remember doing that for mpich.
On ... | http://www.open-mpi.org/community/lists/users/2007/12/4760.php | CC-MAIN-2015-18 | refinedweb | 343 | 72.76 |
So I'm attempting to make a hangman game for practice. I've wrote the function to get the random word and a function to pair those characters up with there index. Wondering if the user guess a correct character is there a way to reference the dictionary, and output the character to an empty list at the correct index? C... | https://codedump.io/share/8WSs2BRUIKIm/1/dictionary-keyvalue-removal-and-re-instertion-into-a-list-or-something | CC-MAIN-2017-17 | refinedweb | 222 | 68.77 |
This code has a problem and I think I know what it is:
When I set "node = null;" node is being passed by value instead of reference.
I thought all objects in Java were passed by reference and all primitive data was passed by value.
So why is ListNode being passed by value? (It's an object)
public class Solution { publi... | https://discuss.leetcode.com/topic/32326/error-in-code-need-help | CC-MAIN-2018-05 | refinedweb | 112 | 85.79 |
Just a quick post to note a problem I found with the above mentioned security policy. This policy should enabled mutual or two-way https; but you will find that if you deploy this service to what appears to be a properly configured service that it will fail:
@WebService @Policy(uri="policy:Wssp1.2-2007-Https-ClientCert... | http://kingsfleet.blogspot.com/2009/09/wssp12-2007-https-clientcertreqxml.html | CC-MAIN-2018-09 | refinedweb | 137 | 54.36 |
The DTD should start with one long comment that lists lots of metadata about the DTD. Generally, this would start with a title specifying the XML application the DTD describes. For example:
MegaBank Account Statement DTD, Version 1.1.2
This would normally be followed with some copyright notice. For example:
Alternately... | https://flylib.com/books/en/1.130.1.41/1/ | CC-MAIN-2021-31 | refinedweb | 772 | 52.9 |
Python threads in PSSE
I tried to implement wxPython aplication with additional thread for calculations and update wxPython progress dialog within that thread. But psse crashes all the time.
So after that i tried to run really simple multithread python script in psse and it also caused psse crash. There is simple multi... | https://psspy.org/psse-help-forum/question/692/python-threads-in-psse/ | CC-MAIN-2018-05 | refinedweb | 114 | 75.71 |
Hi! Just discovered KICS two days ago and love it.
Quick question though - is there a way to call kics and only scan the commits within a PR - e.g. between two git hashes?
I saw that we can set the path - however, I was unable to just scan the files that have been updated within the PR.
So I wasn't sure if I then just ... | https://gitter.im/kics-io/community?at=60c3e2124fc7ad136ac6c64b | CC-MAIN-2021-31 | refinedweb | 1,167 | 57.57 |
FSM In Game
Introduction
Since the early days of video games finite state machines (FSM) are a common instrument to imbue a game agent with the illusion of intelligence.
The following is a descriptive definition of FSM.
A finite state machine behind a FSM is to decompose an object's behavior into easily manageable stat... | https://segmentfault.com/a/1190000004854961 | CC-MAIN-2021-43 | refinedweb | 2,549 | 60.85 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.