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 |
|---|---|---|---|---|---|
Both classes and modules are reference types that encapsulate items defined within, but they differ in how these items are accessed from other procedures.
The primary difference between classes and modules is that classes can be instantiated and standard modules cannot. Because there is never more than one copy of a st... | http://msdn.microsoft.com/en-us/library/7825002w%28VS.71%29.aspx | crawl-002 | refinedweb | 255 | 50.26 |
Feedback
Getting Started
Discussions
Site operation discussions
Recent Posts
(new topic)
Departments
Courses
Research Papers
Design Docs
Quotations
Genealogical Diagrams
Archives
Roberto Ierusalimschy discusses the ideas behind the design of Lua specially on the pervasive use of tables and coroutines.
Video, Slides[PDF... | http://lambda-the-ultimate.org/node/3894 | CC-MAIN-2017-22 | refinedweb | 3,124 | 60.24 |
It looks like you're new here. If you want to get involved, click one of these buttons!
Hi, Guys,
I need to debug a program which is about 2d geometry processing, and i have to examine the coordinates all the time in gdb. While debugging, it is really difficult when there are >10 data records to look at.
I wrote a gdb ... | https://www.klayout.de/forum/discussion/2114/how-to-make-python-script-run-as-background-server-to-receive-request-and-display-things-iteratively | CC-MAIN-2022-33 | refinedweb | 574 | 68.36 |
Stream implementation based on an encrypted SSH tunnel. More...
#include <mitsuba/core/sshstream.h>
Stream implementation based on an encrypted SSH tunnel.
This class remotely starts a program and exposes its stdin/stdout streams through an instance of Stream. To make all of this work, passwordless authentication must ... | http://mitsuba-renderer.org/api/classmitsuba_1_1_s_s_h_stream.html | CC-MAIN-2019-51 | refinedweb | 283 | 52.26 |
An introduction to environment files.
How to manage different environments with Angular CLI? [Updated for v6+]
Most web applications require to run in different environments before they make their way to production. You might need…
blog.angulartraining.com
When you create a new Angular project using the CLI you are pro... | https://seangwright.medium.com/the-best-way-to-use-angulars-environment-files-a0c098551abc?source=post_internal_links---------7---------------------------- | CC-MAIN-2021-31 | refinedweb | 1,123 | 51.89 |
Manpage of TTYNAME
TTYNAMESection: Linux Programmer's Manual (3)
Updated: 2015-08-08
Index
NAMEttyname, ttyname_r - return name of a terminal
SYNOPSIS
#include <unistd.h>char *ttyname(int fd);int ttyname_r(int fd, char *buf, size_t buflen);
DESCRIPTION call. The function ttyname_r() stores this pathname in the buffer b... | https://www.linux.com/manpage/man3/ttyname.3.html | CC-MAIN-2016-36 | refinedweb | 158 | 51.24 |
I'm using apex 5.1.3 and universal theme.
I'm using apex item in a classic report to enter some data.
'SELECT c002 segment_no, segment_name, '
APEX_ITEM.text(3,c007,15,null, 'onchange="OnSegChange(this)" id="fPS07''||seq_id) seg_code,
FROM apex_collections
WHERE collection_name = '<name>'
below is what I normally use t... | https://community.oracle.com/thread/4098119 | CC-MAIN-2017-51 | refinedweb | 221 | 58.99 |
We added a C# MVC Single Page Application (SPA) template in ASP.NET Fall 2012 Update BUILD Preview. John Papa had written a detailed blog about the preview version. With help of John Papa’s detailed feedback and sample code, we’ve rewritten and reorganized the JavaScript code to make it more structured in RC. We really... | https://blogs.msdn.microsoft.com/webdev/2012/12/19/mvc-single-page-application-template-update-for-asp-net-and-web-tools-2012-2-rc/ | CC-MAIN-2017-09 | refinedweb | 1,554 | 66.03 |
My view is that modules should not be allowed to place things in the global namespace. Obviously we can't enfore it, but it can be strongly discouraged. I think SDL.LoadBMP() is far more consistant with anything else in LuaCheia. It is a lot more obvoius to a user that a given module has functions within a given table,... | http://lua-users.org/lists/lua-l/2003-08/msg00068.html | CC-MAIN-2019-43 | refinedweb | 348 | 73.37 |
Quantum Multi-node setup instances cannot ping each other from different nodes
I’ve been trying to get Quantum multi-node with openvswitch working but cannot get the instances to be able to ping each other across nodes. I have tried with the milestone-proposed as well as the master branch of Quantum and in neither case... | https://ask.openstack.org/en/question/20262/quantum-multi-node-setup-instances-cannot-ping-each-other-from-different-nodes/ | CC-MAIN-2021-10 | refinedweb | 319 | 58.21 |
How to Pass a Method as an Argument in Python?
In this article, we will learn how to pass a method as an argument in Python. We will discuss the different methodology of passing methods and functions as arguments using custom codes as well.
In Python, everything such as objects, variables, etc. is treated as an object.... | https://www.studytonight.com/python-howtos/how-to-pass-a-method-as-an-argument-in-python | CC-MAIN-2022-21 | refinedweb | 886 | 53.61 |
What is the semantics of the line "using namespace std;"?
Namespaces are a clarification and encapsulation thing. If you want to associate a section of code with a tag, you can do so with a namespace. For instance
namespace foo {
class Foo { };
}
Now, Foo belongs to the foo namespace. In order to use a Foo object in yo... | https://www.daniweb.com/programming/software-development/threads/350739/what-is-meaning-of-namespace-std | CC-MAIN-2018-17 | refinedweb | 210 | 65.25 |
Un:
If you are an Uncyclopedia game implementor, then you could have a chance to win this trophy!
- One vote per user per month. You may vote once for one implementor.
Nominations count as "for" votes.Actually, no. You may nominate as many people as you like, however you only get one vote.
- No self-noms. Ever.
- Howev... | http://uncyclopedia.wikia.com/wiki/User:Pongo_Version_2/Implementor_of_the_Month?diff=prev&oldid=3979616 | CC-MAIN-2015-40 | refinedweb | 219 | 69.99 |
Up to this point in your journeyings of the wonderful world of C++ you have been using cout to do output. This is soooooo boring. WIBNIF we could make a 7-segment timer display? Lets try.
A 7-segment display looks like the following:
But before we can get an oject of type 7-segment display we need to first define a seg... | http://www.cs.dartmouth.edu/~thc/cs5-F96/lec14.html | crawl-002 | refinedweb | 196 | 70.39 |
Hi all, to start with, excuse me, I'm still learning programming alltogether, probably I'm making some fundamental mistake here... I have the files settings.py, GUIclasses.py and main.py in the same directory. In the file main.py are the statements: import settings from GUIclasses import * class Toepassing(wx.App): def... | https://mail.python.org/pipermail/python-list/2005-November/332032.html | CC-MAIN-2014-15 | refinedweb | 181 | 63.56 |
This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
On Wed, Nov 7, 2012 at 5:50 AM, Rainer Orth <ro@cebitec.uni-bielefeld.de> wrote: > Gerald Pfeifer <gerald@pfeifer.com> writes: > >> Just a small note, in the following >> >> +#ifdef __FreeBSD__ >> +# define DEFAULT_PROCESS_FILENAM... | https://gcc.gnu.org/legacy-ml/gcc-patches/2012-11/msg00947.html | CC-MAIN-2022-33 | refinedweb | 279 | 53.47 |
Locust Performance Testing Using Java and Kotlin
Locust Performance Testing Using Java and Kotlin
In this post we take a look at using Locust for performance testing. Come check out this versatile framework as we give a quick run-through and example!
Join the DZone community and get the full member experience.Join For ... | https://dzone.com/articles/locust-performance-testing-using-java-and-kotlin | CC-MAIN-2019-51 | refinedweb | 2,212 | 53.61 |
Python modules & packages play a very important role while working on a code. A module in python is basically a file containing the Python code. However, a package can be defined as a directory that holds sub-packages and modules. A package must hold the file __init__.py. This does not apply to modules. To import every... | https://www.developerhelps.com/python-modules-packages/ | CC-MAIN-2022-05 | refinedweb | 384 | 56.86 |
Compiling Qt 5.3.1 under Visual Studio 2010 Professional (windows 7 - 64 bits)
Hello,
I am a newbies with Qt (from France).
I have downloaded the source code "qt-everywhere-opensource-src531.zip".
After unpacking the source files in C:\Qt\5.3.1 directory, I set up environment variables.
- QMAKESPEC = win32-msvc2010
- Q... | https://forum.qt.io/topic/44415/compiling-qt-5-3-1-under-visual-studio-2010-professional-windows-7-64-bits | CC-MAIN-2018-13 | refinedweb | 1,726 | 69.38 |
31 July 2012 16:09 [Source: ICIS news]
LONDON (ICIS)--Some initial European August toluene contracts were settled up by $8-17/tonne from the previous month at $1,127/tonne (€924/tonne) and $1,133/tonne on firmer ?xml:namespace>
For some players, the US Gulf market was crucial. Prices there have managed to hover around ... | http://www.icis.com/Articles/2012/07/31/9582612/initial-europe-august-toluene-up-8-17tonne-on-firmer-us-prices.html | CC-MAIN-2014-49 | refinedweb | 137 | 55.84 |
React automatically Re-Renders the components whenever any of its props or its state is updated. But quite often beginners (especially me in my early days) find it quite difficult getting a component re-rendered.
First, let's look at the methods we can use to re-render a component, and discuss whether we should really ... | https://practicaldev-herokuapp-com.global.ssl.fastly.net/ruppysuppy/how-to-force-re-render-a-react-component-should-you-do-it-5h1p | CC-MAIN-2021-49 | refinedweb | 894 | 55.03 |
Join the community to find out what other Atlassian users are discussing, debating and creating.
I have two projects: Software and service desk, and wont to copy customer coment from SD to Software. how i can do it with event listeners? all issues have links.
Here's what I have so far for the before-mentioned comment e... | https://community.atlassian.com/t5/Adaptavist-questions/Copy-comment-to-linked-issue-with-event-listeners/qaq-p/698841 | CC-MAIN-2019-26 | refinedweb | 691 | 51.44 |
simple Python config in your home directory
Project description
cnfg
Simple configuration should be simple. Here’s example.py:
import cnfg settings = cnfg.load('.examplerc') print(settings['message'])
Relative paths are awful. Not all systems have /etc. The only reasonable place to put configuration is in your home dir... | https://pypi.org/project/cnfg/ | CC-MAIN-2018-39 | refinedweb | 254 | 62.34 |
ESB Roundup Part Two: Use Cases
In part one of this series, we began with the basic definition of an Enterprise Service Bus (ESB) on the Wikipedia.
One of the points of general agreement seemed to be that an ESB was distinct from orchestration and Business Process Management belonged in a separate class of product. In ... | http://www.infoq.com/news/ESB-Roundup-Part-Two--Use-Cases/ | CC-MAIN-2014-52 | refinedweb | 849 | 54.93 |
Control of modalPanel not renderingCliff Wiggs May 23, 2007 9:31 AM
I want to follow 'best practices' so please let me know if there is a better way to implement what i'm trying to do.
Imagine a shopping cart type application with a modalPanel backed by a bean to show detailed info on a product. You can click on any pr... | https://developer.jboss.org/thread/6529 | CC-MAIN-2018-47 | refinedweb | 483 | 63.9 |
A list is a data structure in python which is used to store items of multiple data types. Because of that, it is considered to be one of the most versatile data structures. We can store items such as string, integer, float, set, list, etc., inside a given list. A list in python is a mutable data type, which means that ... | https://www.pythonpool.com/python-list-max-index/ | CC-MAIN-2021-43 | refinedweb | 968 | 73.07 |
(For those unfamiliar with this mechanism, the 'background' section of this codeproject article provides a quick summary).
When I link my threads library (static library) to an executable, my TLS callback is called as expected. However if I link the threads library in to a DLL (by which I mean, create a DLL which is li... | http://www.gamedev.net/topic/628373-windows-pe-tls-callbacks-in-dlls/ | CC-MAIN-2014-52 | refinedweb | 305 | 57.91 |
.
Remove duplicates based on the UUID, typically after a verification. Return the number of entries removed.
Creates a subset of the files that have the kStaged & !kCorrupted bit set.
Merge all TFileCollection objects in li into this TFileCollection object. Updates counters at the end. Returns the number of merged coll... | http://root.cern.ch/root/htmldoc//TFileCollection.html | crawl-003 | refinedweb | 160 | 58.38 |
This.
FLTK comes with complete free source code. FLTK is ©1998-2011 by Bill Spitzak and others. Use and distribution of FLTK is governed by the FLTK Library License, which is the GNU Library General Public License with an exception added that allows you to distribute statically-linked programs using the library without... | http://www.fltk.org/doc-2.0/html/intro.html | CC-MAIN-2016-07 | refinedweb | 773 | 67.38 |
Here we go again - the mighty piece of code that never dies…
#include <stdio.h> void main(void) { printf("Hello, world!\n"); }
You save the above programming masterpiece using your favourite text editor as hello.c and the fun begins… You probably should read the excellent cc65 documentation or at least the introduction... | http://wiki.cc65.org/doku.php?id=cc65:hello_world | CC-MAIN-2017-51 | refinedweb | 235 | 71.65 |
Mar 04, 2014 02:19 PM|laurin1|LINK
Well, things went well for about 2 weeks and now we have a serious problem. After being up and running for around 3 days, IIS begins to lock up. Our Current Non-Anonymous user count (we are using Windows Authentication) goes from 10 to about 60. Eventually, we get timeout errors, all ... | https://forums.iis.net/t/1208026.aspx?Locking+Up+Not+Responding+500+Error | CC-MAIN-2021-43 | refinedweb | 3,032 | 71.04 |
Red Hat Bugzilla – Bug 12101
rpm 3.0.4 portability: statfs test fails on OpenBSD
Last modified: 2008-05-01 11:37:56 EDT
(this bug report will look strange again, as bugzilla is obviously
slanted against portability bugs)
The statfs check fails abysmally on OpenBSD. Thus transaction.c
does not compile.
On OpenBSD, to ge... | https://bugzilla.redhat.com/show_bug.cgi?id=12101 | CC-MAIN-2017-04 | refinedweb | 168 | 78.55 |
Test Driven Scaffolding: a new agile method (12 messages)
The next evolution of Test Driven Development. Test Driven Scaffolding (TDS) is an idea I propose to improve development productivity by declaratively generating source code from unit tests by holistically merging the benefits of Test Driven Development with Cod... | http://www.theserverside.com/discussions/thread.tss?thread_id=57443 | CC-MAIN-2015-35 | refinedweb | 3,282 | 51.68 |
*current inside the function */
boolean Test::processLine(char *line, obj *list, obj **current) {
bool result = false;
if (*current != 0) {
if (strstr(line, *current->end) != NULL) {
*current = 0;
result = false;
}
else
result = true;
}
/* and so on */
...
}//end processLine
/* call it by using & */
void Test::main(ch... | https://www.experts-exchange.com/questions/20547103/Problem-maintaining-pointer-assignment.html | CC-MAIN-2018-30 | refinedweb | 630 | 75.1 |
Facebook SDK 4.x versions have a different method now:
boolean loggedIn = AccessToken.getCurrentAccessToken() != null;
or
by using functions
boolean loggedIn; //... loggedIn = isFacebookLoggedIn(); //... public boolean isFacebookLoggedIn(){ return AccessToken.getCurrentAccessToken() != null; }
Check this link for bette... | https://codeutility.org/android-facebook-sdk-check-if-the-user-is-logged-in-or-not/ | CC-MAIN-2021-43 | refinedweb | 430 | 68.26 |
Using Synchronization, you can synchronize access to resources in multithreaded applications.
A mutex can be used to synchronize threads across processes Use it to prevent the simultaneous execution of a block of code by more than one thread at a time.
C# lock statement is used to ensure that a block of code runs witho... | https://www.tutorialspoint.com/Threads-and-Thread-Synchronization-in-Chash | CC-MAIN-2021-49 | refinedweb | 189 | 66.64 |
-- ) import qualified Control.Exception run :: FilePath -> String -> (String -> String) -> IO String run binary src scrub = do (out,err,_) <- popen binary [] (Just src) let o = scrub out e = scrub err return $ case () of {_ | null o && null e -> "Done." | null o -> e | otherwise -> o } -- -- Ignoring exit status for no... | http://hackage.haskell.org/package/lambdabot-utils-4.2/docs/src/Lambdabot-Process.html | CC-MAIN-2016-44 | refinedweb | 213 | 59.7 |
#include <assert.h>
#include <errno.h>
#include <stdbool.h>
#include <string.h>
#include <inttypes.h>
#include <fcntl.h>
#include "nvim/vim.h"
#include "nvim/ascii.h"
#include "nvim/fileio.h"
#include "nvim/buffer.h"
#include "nvim/charset.h"
#include "nvim/cursor.h"
#include "nvim/diff.h"
#include "nvim/edit.h"
#inclu... | https://neovim.io/doc/dev/fileio_8c.html | CC-MAIN-2019-13 | refinedweb | 803 | 72.93 |
In the game development cycle, Quality Assurance and testing can be tedious and time consuming. Because of this, these tasks are all too often delayed for small studios. Things like
critical bug fixes or new features typically take a higher priority and time is not consistently spent on automated testing solutions.
Tha... | http://colabug.com/890104.html | CC-MAIN-2017-34 | refinedweb | 932 | 53.81 |
#include <fixed_pool_eastl.h>
Note: This class was previously named fixed_node_pool, but was changed because this name was inconsistent with the other allocators here which ended with _allocator.
Implements a fixed_pool with a given node count, alignment, and alignment offset. fixed_node_allocator is like fixed_pool ex... | http://trilinos.sandia.gov/packages/docs/r10.10/packages/stk/doc/html/classeastl_1_1fixed__node__allocator.html | CC-MAIN-2014-35 | refinedweb | 334 | 57.27 |
Modules
Table of contents
Introduction
A module is a namespace, isolated from other modules. Modules can define
methods, types, or run code directly. Modules can be defined as children of
other modules, in which case you refer to them using the syntax
parent_module::child_module.
Every Inko source file is automatically... | https://inko-lang.org/manual/getting-started/modules/ | CC-MAIN-2018-51 | refinedweb | 731 | 50.16 |
Now I realize that having global state (particularly of the mutable variety) is a bad idea, but I've had difficulties in the past getting around it for some applications.
Some time ago I had this problem with logging, but I've gotten around to the idea of just using a free function, because logging doesn't really requi... | https://www.gamedev.net/topic/648211-how-to-avoid-global-state-here/?setlanguage=1&langurlbits=topic/648211-how-to-avoid-global-state-here/&langid=1 | CC-MAIN-2017-17 | refinedweb | 329 | 54.22 |
Subject: Re: [boost] [afio] Formal review of Boost.AFIO
From: Thomas Heller (thom.heller_at_[hidden])
Date: 2015-08-29 16:30:16
On 08/29/2015 02:05 AM, Niall Douglas wrote:
> On 28 Aug 2015 at 10:16, Thomas Heller wrote:
>
>> I took the effort to also reimplement your hello world example:
>>
>
> Firstly thank you very ... | https://lists.boost.org/Archives/boost/2015/08/225109.php | CC-MAIN-2020-50 | refinedweb | 1,014 | 64 |
Python Namespace and Variable Scope – Local and Global Variables
Free Python course with 25 real-time projects Start Now!!
In this Python Tutorial, we discuss Python Namespace, Types of Namespace in python and Python Variable Scope, with their examples and Python Syntax.
Try this: type ‘import this’ in the interpreter.... | https://data-flair.training/blogs/python-namespace-and-variable-scope/ | CC-MAIN-2021-10 | refinedweb | 1,128 | 74.49 |
Hello,
I am form commercial embroidery company. We are right now using Adobe products as well as wilcom
We want to shift to opensource, i have few questions
1. Can this software help us to convert files to vector and separate colors same as we do in AI
2. Is any plugins which can combine with this and can be used to di... | http://registry.gimp.org/comment/14621 | CC-MAIN-2014-10 | refinedweb | 637 | 74.08 |
Ticket #1848 (closed Bugs: wontfix)
Boost.Thread is incompatible with UPX
Description
Programs using Boost.Thread can't be compressed with UPX (). This is a regression from 1.34.1 (which UPX could compress) to 1.35.0 (which UPX can't compress). Example, with MinGW GCC 4.2.1 and statically-linked Boost.Thread 1.35.0:
C:... | https://svn.boost.org/trac/boost/ticket/1848 | CC-MAIN-2017-09 | refinedweb | 427 | 68.57 |
Orthogonalise a basis using modified Gram-Schmidt (and normalise) More...
#include "mbl_mod_gram_schmidt.h"
#include <vcl_vector.h>
#include <vnl/vnl_vector.h>
Go to the source code of this file.
Orthogonalise a basis using modified Gram-Schmidt (and normalise)
Definition in file mbl_mod_gram_schmidt.cxx.
Orthogonalise... | http://public.kitware.com/vxl/doc/release/contrib/mul/mbl/html/mbl__mod__gram__schmidt_8cxx.html | crawl-003 | refinedweb | 128 | 58.58 |
On Thu, 1 Apr 2004, Zoltan Menyhart wrote:> I can see a couple of functions, like> > static inline struct mm_struct * ptep_to_mm(pte_t * ptep)> {> struct page * page = kmap_atomic_to_page(ptep);> return (struct mm_struct *) page->mapping;> }> > in "rmap.?" without invoking "kunmap_atomic()".> Is it intentional?> What i... | http://lkml.org/lkml/2004/4/1/140 | CC-MAIN-2016-30 | refinedweb | 150 | 56.45 |
An overview of Web standards
In this step, we introduce the standard protocols behind the World Wide Web. It is important to understand these before we discuss protocols that are more specific to the Semantic Web, which are covered in the next step.
Background standards
The technologies behind the Web are implemented t... | https://www.futurelearn.com/courses/linked-data/2/steps/116162 | CC-MAIN-2019-04 | refinedweb | 473 | 58.62 |
9. Frequently Asked Questions¶
9.1. How do I keep my script running?¶()
9.2. My event handler isn’t being called¶
When assigning event handlers, don’t call the function you’re assigning. For example:
from gpiozero import Button def pushed(): print("Don't push the button!") b = Button(17) b.when_pressed = pushed()
In th... | https://gpiozero.readthedocs.io/en/stable/faq.html | CC-MAIN-2019-26 | refinedweb | 1,440 | 62.78 |
#include <wave-mac-helper.h>
Definition at line 86 of file wave-mac-helper.h.
Create a QosWaveMacHelper that is used to make life easier when working with Wifi 802.11p devices using a QOS MAC layer.
Definition at line 80 of file wave-mac-helper.cc.
Definition at line 83 of file wave-mac-helper.cc.
Create a mac helper i... | https://www.nsnam.org/docs/release/3.20/doxygen/classns3_1_1_qos_wave_mac_helper.html | CC-MAIN-2022-40 | refinedweb | 126 | 70.29 |
Next: Defined, Previous: Ifdef, Up: Conditional Syntax
The `#if' directive allows you to test the value of an arithmetic expression, rather than the mere existence of one macro. Its syntax is
#if expression controlled text #endif /* expression */
expression is a C expression of integer type, subject to stringent restri... | http://gcc.gnu.org/onlinedocs/gcc-3.4.6/cpp/If.html | CC-MAIN-2014-41 | refinedweb | 153 | 64.51 |
OwletOwlet
Owlet is a Typed Spreadsheet UI library for ScalaJS. It is built on top of Monix and Typelevel Cats to combine predefined input fields to a reactive user interface, just like what you would done in spreadsheet. Owlet is inspired by the PureScript library Flare.
Do one thing and do it well micro birds library... | https://index.scala-lang.org/jcouyang/owlet/owlet/0.3.1?target=_sjs0.6_2.12 | CC-MAIN-2021-43 | refinedweb | 304 | 67.04 |
In recent years, Deep Learning (DL) techniques have evolved greatly. The number of companies using this technology is growing annually because DL can be applied to various tasks throughout multiple spheres. However, despite the rapid development of the artificial intelligence (AI) sphere and some technological advances... | https://cnvrg.io/deep-learning-gpu/ | CC-MAIN-2021-43 | refinedweb | 7,808 | 61.46 |
Last Update:
May,
2008
RibbonSoft is the organization behind the development, distribution
and marketing of QCad, CAM Expert, vec2web, the QCad Libraries and dxflib.
QCad is a multi-platform 2D CAD system and the flagship product of
RibbonSoft. All other products are either extending QCad or
side products which were de... | http://www.qcad.org/ | crawl-001 | refinedweb | 209 | 54.02 |
MooseX::Role::Restricted - (DEPRECATED) Restrict which sub are exported by a role
package MyApp::MyRole; use MooseX::Role::Restricted; sub method1 { ... } sub _private1 { ... } sub _method2 :Public { ... } sub private2 :Private { ... }
This module is no longer supported. I suggest looking at namespace::autoclean as an ... | http://search.cpan.org/~gbarr/MooseX-Role-Restricted-1.03/lib/MooseX/Role/Restricted.pm | CC-MAIN-2017-13 | refinedweb | 233 | 54.73 |
What is Hashtable? Hashtable is another useful data structure in C# that allow us to store data using key value pairs. let's learn how to use Hashtable in C# with examples.
Hashtable htObj = new Hashtable();
C# Hashtable is a collection object that comes under System.Collections namespace, Hashtable is similar to gener... | https://www.webtrainingroom.com/csharp/hashtable | CC-MAIN-2021-49 | refinedweb | 518 | 61.97 |
Created on 2017-08-31 16:25 by Oren Milman, last changed 2017-09-19 12:54 by serhiy.storchaka. This issue is now closed.
The following code causes an assertion failure in get_encoded_name(), which is
called by _PyImport_LoadDynamicModuleWithSpec() (in Python/importdl.c):
import imp
class BadSpec:
name = 42
origin = 'fo... | https://bugs.python.org/issue31315 | CC-MAIN-2020-40 | refinedweb | 332 | 60.92 |
Working faster with tests
Carlos Gándara
Updated on
・5 min read
faster and better testing (3 Part Series)
As we saw in the previous post of this series, we want our tests to provide us with fast feedback about the correct behavior of our application.
In this post, we will touch an aspect of the testing process not usua... | https://practicaldev-herokuapp-com.global.ssl.fastly.net/docplannertech/working-faster-with-tests-31mn | CC-MAIN-2019-39 | refinedweb | 1,217 | 63.09 |
When debugging applications, it is often useful to have a debugging framework that will allow you to control the amount of output generated.
This class does not have the extensibility of the java.util.logging package that is part of the Java(TM) 1.4 release. If you require a more feature rich logging facility, I sugges... | http://www.codeproject.com/Articles/3770/A-Debugging-Package-for-Java | crawl-003 | refinedweb | 908 | 58.99 |
This is a discussion on Re: Remarks on draft-stjohns-dnssec-sigonly - DNS ; Hi Andrew - Thanks for the thoughtful analysis. With respect to off-tree signatures - a zone admin could add an off-tree pointer at any point in a hierarchy and then you could rely upon the pointer if the validator actually ...
Hi Andrew -
Than... | http://fixunix.com/dns/59528-re-remarks-draft-stjohns-dnssec-sigonly.html | CC-MAIN-2014-52 | refinedweb | 474 | 68.1 |
UFDC Home | Help | RSS TABLE OF CONTENTS HIDE Front Cover Title Page Acknowledgement Dedication Table of Contents Preface Chapter 1: Introduction Chapter 2: The small-scale family... Chapter 3: Economic characteristics... Chapter 4: Initial characterization... Chapter 5: Designing alternative... Chapter 6: Technology d... | http://ufdc.ufl.edu/UF00072280/00001 | CC-MAIN-2015-14 | refinedweb | 28,537 | 50.16 |
I know to make a singleton class but if suppose I require to clone it how can that be done.
If anybody can reply with sample code it would be better.
Thanx in advance!
Printable View
I know to make a singleton class but if suppose I require to clone it how can that be done.
If anybody can reply with sample code it woul... | http://www.javaprogrammingforums.com/%20whats-wrong-my-code/22951-how-clone-singleton-class-printingthethread.html | CC-MAIN-2017-47 | refinedweb | 405 | 82.54 |
Opened 13 years ago
Closed 13 years ago
Last modified 13 years ago
#428 closed bug (fixed)
Firefox crashing on load
Description
starting firefox from the script heralds
[Switching to team ./firefox-bin (132) thread firefox-bin (132)] 0x017e1f9f in nsFtpState::ConvertFilespecToVMS ()
from /boot/apps/firefox/./components... | https://dev.haiku-os.org/ticket/428 | CC-MAIN-2019-18 | refinedweb | 2,336 | 67.18 |
Bugtraq
mailing list archives
---------------[ MasterSecuritY <> ]---------------
-----------[ Local root exploit in LBNL traceroute - Part 2 ]-----------
----------[ By Michel "MaXX" Kaempf <maxx () mastersecurity fr> ]----------
--[ 0x00 - Table of contents ]------------------------------------------
0x01 - Brief sum... | http://seclists.org/bugtraq/2000/Nov/181 | CC-MAIN-2014-41 | refinedweb | 702 | 59.03 |
7/21/16
- Mom sent me this article here.
- I applied to Rmotr. What’s the harm really. I don’t know anything about Object Oriented Programming so I just had to guess when that question came up.
7/22/16
- Wasn’t able to get anything in today - busy working at SDCC. 😢
7/23/16
- CS50 is having a coding contest next weeke... | https://www.craigrodrigues.com/blog/2016/07/28/learning-to-code-week-11 | CC-MAIN-2019-47 | refinedweb | 671 | 77.64 |
Domain Architect
InterSystems IRIS® data platform provides the Domain Architect as an interactive interface for creating and populating NLP domains and performing analysis on the indexed data. Domain Architect is accessed using the InterSystems IRIS Management Portal.
It consists of three tools:
Domain Architect: for c... | https://docs.intersystems.com/irisforhealthlatest/csp/docbook/DocBook.UI.Page.cls?KEY=GIKNOW_ARCHITECT | CC-MAIN-2021-10 | refinedweb | 7,342 | 55.13 |
BIND 9 Administrator Reference Manual 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 Internet Systems Consortium, Inc. ("ISC") Introduction. Organization of This Document contains more advanced concepts that the system administrator may need for implementing certain ... | https://gitlab.isc.org/isc-projects/bind9/-/raw/0b4e2cd4c3192ba88569dd344f542a8cc43742b5/doc/arm/Bv9ARM-book.xml?inline=false | CC-MAIN-2021-25 | refinedweb | 30,483 | 56.66 |
#include <db.h>
int memp_fclose(DB_MPOOLFILE *mpf);
The memp_fclose function closes the source file indicated by the DB_MPOOLFILE structure. Calling memp_fclose does not imply a call to memp_fsync; that is, no pages are written to the source file as as a result of calling memp_fclose.
In addition, if the DB_MPOOLFILE w... | http://pybsddb.sourceforge.net/api_c/memp_fclose.html | CC-MAIN-2017-47 | refinedweb | 146 | 50.87 |
[Date Index]
[Thread Index]
[Author Index]
Problem importing java class
Hello,
I am trying to use an external jar that I've implemented. This .jar file
import other class libraries such as ejml class.
I am able to load my java class and see the methods inside but when I go to
call one of these methods it returns me an ... | http://forums.wolfram.com/mathgroup/archive/2012/Oct/msg00058.html | CC-MAIN-2017-09 | refinedweb | 101 | 55.54 |
Getting Started with SQL¶
SQL (vapor/sql) is a library for building and serializing SQL queries in Swift. It has an extensible, protocol-based design and supports DQL, DML, and DDL.
Tip
If you use Fluent, you will usually not need to build SQL queries manually.
Package¶
The SQL package is lightweight, pure Swift, and h... | https://docs.vapor.codes/3.0/sql/getting-started/ | CC-MAIN-2018-22 | refinedweb | 155 | 67.96 |
ISSUE-197: charset/encoding unconstrained
charset/encoding unconstrained
- State:
- CLOSED
- Product:
- TTML 1.0
- Raised by:
- Mike Dolan
- Opened on:
- 2012-11-29
- Description:
- TTML is silent on the document charset (xml encoding) permitted. Since the core XML specification permits virtually anything, then TTML is... | http://www.w3.org/AudioVideo/TT/tracker/issues/197 | CC-MAIN-2015-22 | refinedweb | 370 | 59.8 |
Oracle Nashorn: A next-generation JavaScript engine for the JVM
Julien Ponge outlines scenarios for using Oracle Nashorn as a command-line tool and as an embedded interpreter in Java applications.
Scenarios for using Oracle Nashorn as a command-line tool and as an embedded interpreter in Java applications runtime perfo... | http://jaxenter.com/oracle-nashorn-a-next-generation-javascript-engine-for-the-jvm-107625.html | CC-MAIN-2014-52 | refinedweb | 3,650 | 50.12 |
Image credit easysolutionweb.com
In this post Laurence Bird covers how to use the power of property based testing and automatic type class derivation, with the end goal of making your tests more concise and less prone to bugs. This article was orignally found on OVO Enegy Tech Blog and is written by Laurence Bird.
"A w... | https://www.signifytechnology.com/blog/2018/04/boilerplate-free-testing-with-scalacheck-and-magnolia-by-laurence-bird | CC-MAIN-2019-13 | refinedweb | 1,338 | 57.71 |
Typesafe Interview: Scala + Akka is an IaaS for Your Process Architecture
This is an email interview with Viktor Klang, Director of Engineering at Typesafe, on the Scala Futures model & Akka, both topics on which is he is immensely passionate and knowledgeable.
How do you structure your application? That’s the question... | http://highscalability.com/blog/2013/5/8/typesafe-interview-scala-akka-is-an-iaas-for-your-process-ar.html | CC-MAIN-2017-09 | refinedweb | 3,581 | 58.11 |
Using Unsafe Code and Pointers in C#
Introduction
One of the biggest features of the .NET platform is the support for type safety. This means that the Common Language Runtime – the engine of .NET - guarantees that there will not be any type errors (issues which generally arise because of discrepancy between different d... | http://www.codeguru.com/csharp/using-unsafe-code-and-pointers-in-c.htm | CC-MAIN-2017-26 | refinedweb | 685 | 56.05 |
This is one of those long overdue posts (and yes there are certainly many more where it came from in my drafts folder) regarding some of the incorrect instructions about setting up Autodiscover which can be found on the Internet.
What am I wibbling about? Well repeatedly over the last 5 years or so since Exchange 2007 ... | https://blogs.technet.microsoft.com/rmilne/2013/04/02/busting-the-set-autodiscovervirtualdirectory-myth/ | CC-MAIN-2019-39 | refinedweb | 2,555 | 63.19 |
The assignment is :
Write a C++ program that calculates the volume of 3 different geometric shapes. Your
program should give the user a menu like the following and repeat until the user wants to stop.
Volume Calculation Program
Select the Number of Your Chosen Object
1. Dumbbell
2. Axle
3. Spear
When the user selects o... | https://www.daniweb.com/programming/software-development/threads/91041/c-shape-calculations | CC-MAIN-2017-26 | refinedweb | 568 | 65.05 |
1.4 Code Obfuscation
The first protection technique we’re going to look at is code obfuscation. What’s particularly interesting about obfuscation is that it’s a double-edged sword: Bad guys use it to protect their malware from discovery (you will see this in the next section), good guys use it to protect their programs... | https://www.informit.com/articles/article.aspx?p=1380912&seqNum=4 | CC-MAIN-2021-21 | refinedweb | 5,862 | 50.46 |
This article follows on from a previous version of the Credit Card Validation control. It's been a long time since the original was posted, and I've promised this updated version of the article for some time, it feels good to finally get it off my chest.
The control was originally borne out of a different project I was... | http://www.codeproject.com/KB/validation/CreditCardValidator2.aspx | crawl-002 | refinedweb | 5,519 | 53.1 |
Azure Event Grid
February 9, 2018 Leave a comment
On January 30th, Azure launched a new service that, at least in Azure terms, represents a bit of a paradigm shift. This new service, the Azure Event Grid, is unlike anything else that exists in Azure, for one simple reason… its part of the “fabric” that is Azure. In Azu... | https://brentdacodemonkey.wordpress.com/2018/02/09/azure-event-grid/ | CC-MAIN-2018-26 | refinedweb | 1,823 | 61.67 |
Creating a Java-based Job Launcher with an OSGi ICE plug-in
This tutorial series is for anyone who needs to extend ICE, for whatever reason, to perform custom tasks such as launching new types of jobs or creating new types of input files. In the second part, Using the Job Profile Editor to create Job Launchers, you lea... | https://wiki.eclipse.org/Creating_a_Java-based_Job_Launcher_with_an_OSGi_ICE_plug-in | CC-MAIN-2021-39 | refinedweb | 2,233 | 63.7 |
Linear Regression with Tabpy : Predict Wine QualityTOMOHIRO IWAHASHI
Hi, Can I ask for advice ?
I want to create linear regression line predicting Alcohol by Density of red wine quality .
Data set is from UCI Machine Learning Repository:
UCI Machine Learning Repository: Wine Quality Data Set
I want to draw Linear Regre... | https://community.tableau.com/thread/245053 | CC-MAIN-2018-17 | refinedweb | 898 | 52.66 |
We value your feedback.
Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!
Become a Premium Member and unlock a new, free course in leading technologies each month.
import java.util.*; class testInput{ public static void main(String[] args){ ... | https://www.experts-exchange.com/questions/23826954/Keyboard-input-with-Scaner-class.html | CC-MAIN-2017-22 | refinedweb | 141 | 51.14 |
Hey All,
Been reading similar topics but really can't find the answer.
Trying to do a full planet import on a dell R230 32gb ram/ 4core 3Ghz / 2x 7200RPM drives in raid0
(I know don't have SSD's)
Processing: Node(4076728k 1344.6k/s) Way(183316k 0.78k/s) Relation(0 0.00/s)
Looking at htop I see it's still processing, cp... | https://help.openstreetmap.org/questions/59787/planet-import-very-slow-ways | CC-MAIN-2019-26 | refinedweb | 295 | 71.55 |
JSP PDF books
JSP PDF books
Collection is jsp books in the pdf format... to set up than do beans. Fourth, beans are often defined in
one servlet
calling one jsp from another jsp page
calling one jsp from another jsp page need coding for calling one jsp from another jsp including the xml file.Its urgent
JSF Books
JSF Bo... | http://roseindia.net/tutorialhelp/comment/2921 | CC-MAIN-2015-27 | refinedweb | 2,173 | 72.36 |
26 July 2011 12:25 [Source: ICIS news]
Correction: In the ICIS story headlined “PETRONAS working with BASF on new $20.2bn project in Malaysia” dated 26 July 2011, please read in the headline… $1.36bn project…instead of…$20.2bn project. Also please read in the first paragraph...(M$) 4bn...instead of...(M$) 60bn. A corre... | http://www.icis.com/Articles/2011/07/26/9479835/corrected-petronas-working-with-basf-on-new-1.36bn-project.html | CC-MAIN-2014-10 | refinedweb | 335 | 52.49 |
As happens in LINQ, with Cpplinq, you can use the
std::list<game,std::allocator<game>> generated in the previous query (
highest_scores_for_played_games) as an input for another LINQ-style query and apply operators to the list. The following lines show a simple example that uses the
from range source to create a range ... | http://www.drdobbs.com/database/data-compression-with-the-burrows-wheele/database/linq-like-list-manipulation-in-c/240166882?pgno=2 | CC-MAIN-2016-40 | refinedweb | 820 | 52.09 |
I’m working on altering the DS1307 RTC library for use with the MCP795XX.
The MCP795 has the first register set to hundredths of seconds and I won’t be using those so I adjusted the write and send pointers to the second register.
I’m a little confused about some of the other hex calls. I’m not sure if they need to be c... | https://forum.arduino.cc/t/altering-an-rtc-library/252862 | CC-MAIN-2021-31 | refinedweb | 145 | 79.19 |
I'm kind of a person who likes to listen rather than reading. And I feel my productivity increases when listening rather than reading. As dev.to don't have such audio feature(which will be helpful if they bring it natively).
So, I built a tool that takes input any dev.to blogpost URL and outputs Audio which you can als... | https://practicaldev-herokuapp-com.global.ssl.fastly.net/sunilaleti/building-an-audio-generator-for-dev-to-blogposts-1hgc | CC-MAIN-2021-17 | refinedweb | 668 | 50.63 |
#include <deal.II/base/parameter_handler.h>
The ParameterHandler class provides a standard interface to an input file which provides at run-time for program parameters such as time step sizes, geometries, right hand sides etc. The input for the program is given in files, streams or strings in memory using text like
Inp... | https://dealii.org/developer/doxygen/deal.II/classParameterHandler.html | CC-MAIN-2020-45 | refinedweb | 5,832 | 53 |
Earlier this year I was introduced by someone I work with to AutoMapper. At a very convenient time it turned out since I was in the middle of a couple of projects that I had to do a lot of run-of-the-mill gluing together of request between web services where there were very similar object models in play but which came ... | http://www.productiverage.com/Archive/3/2011 | CC-MAIN-2017-13 | refinedweb | 1,085 | 59.64 |
Using the Java proxy for a web service requires different steps depending on whether you use it from within WebLogic Server (as in a JSP or servlet) or from outside WebLogic Server (as in a standalone Java application).
Note:You can also call a web service from a page flow via a Web Service control. This approach is si... | http://docs.oracle.com/cd/E13226_01/workshop/docs81/doc/en/workshop/guide/howdoi/howUseTheJavaProxyForAWebService.html | CC-MAIN-2014-52 | refinedweb | 504 | 51.07 |
Approaches for implementing Autocomplete Feature
Reading time: 40 minutes
With the dawn of modern browsers and search engines, Autocomplete has been an interesting UX Feature that derives heavily from the existing concepts of the Data Structure and Algorithm to implement a simple thing: Suggesting the user a list of se... | https://iq.opengenus.org/autocomplete-techniques/ | CC-MAIN-2020-24 | refinedweb | 2,716 | 55.24 |
VueJS as a Frontend for Rails
Stay connected parts of your frontend code.
Getting Started
Some brief setup instructions.
gem install rails --version "5.2.0.rc1" rails _5.2.0.rc1_ new vue_example --webpack=vue cd vue_example
From this point, you can start work on VueJS without CoffeeScript support (we'll add that later)... | https://www.cloudbees.com/blog/vuejs-as-a-frontend-for-rails | CC-MAIN-2022-40 | refinedweb | 1,966 | 62.98 |
Sub::Clean - Clean subroutines with an attribute
version 0.01
use Sub::Clean; sub whatever :Cleaned { return "This cannot be called as a method"; }
This module 'cleans' subroutines you mark with the
Cleaned attribute, preventing them being called from places they haven't been already been bound by the perl compiler.
Th... | http://search.cpan.org/dist/Sub-Clean/lib/Sub/Clean.pm | CC-MAIN-2014-23 | refinedweb | 342 | 63.9 |
Iḿ trying to install plotly & set up streaming, but i can seem to get past step 1 (installing plotly).
Every reference to plotly i try in python gives the same response:
import plotly
Traceback (most recent call last):
File “”, line 1, in
File “plotly.py”, line 1, in
import plotly.plotly as py # plotly library
ImportEr... | https://community.plotly.com/t/installing-plotly/2841 | CC-MAIN-2020-40 | refinedweb | 110 | 70.43 |
Agenda
See also: IRC log, previous 2009-05-14
Ralph: I have an
addition to the agenda
... May not need a lot of discussion in today's telecon
<scribe> ACTION: Ben to put up information on "how to write RDFa" with screencast possibly and instructions on bookmarklet. [recorded in] [CONTINUES]
<scribe> ACTION: Manu to wri... | http://www.w3.org/2009/05/28-rdfa-minutes.html | CC-MAIN-2014-35 | refinedweb | 1,480 | 69.41 |
Red Hat Bugzilla – Bug 1027414
RFE: Identify who created a group definition and when; public/hidden groups
Last modified: 2013-11-06 13:50:35 EST
Description of problem:
It's impossible to identify when a group was created, and by whom.
In some cases, there are groups created that are no longer used and thus just takin... | https://bugzilla.redhat.com/show_bug.cgi?id=1027414 | CC-MAIN-2018-26 | refinedweb | 124 | 60.65 |
Complex multi-repo builds with GitHub Actions and Camunda Cloud
BLUF (Bottom-line Up-front): GitHub Actions are AWESOME and will change your life, but you risk losing yourself in a microservices architecture of repos, or have to go monolith once you get a few dependent projects or cross service provider boundaries - un... | https://zeebe.io/blog/2020/02/camunda-cloud-github-actions/ | CC-MAIN-2020-16 | refinedweb | 4,107 | 59.23 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.