text stringlengths 20 1.01M | url stringlengths 14 1.25k | dump stringlengths 9 15 ⌀ | lang stringclasses 4
values | source stringclasses 4
values |
|---|---|---|---|---|
GHC Commentary: Software Transactional Memory (STM)
This document gives an overview of the runtime system (RTS) support for GHC's STM implementation. We will focus on the case where fine grain locking is used (STM_FG_LOCKS).
Some details about the implementation can be found in the papers Composable Memory Transactions... | https://ghc.haskell.org/trac/ghc/wiki/Commentary/Rts/STM?version=3 | CC-MAIN-2016-44 | en | refinedweb |
Where are the classes that are imported?
Hi
WHere are the classes that are imported.
import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.*;
import org.eclipse.swt.widgets.Tree;
import org.eclipse.swt.graphics.Point;
import org.eclipse.swt.layout.FillLayout;
import org.ecli
SWT
C++Tutorials
Create Tree in SWT
Dra... | http://www.roseindia.net/tutorialhelp/allcomments/137686 | CC-MAIN-2013-20 | en | refinedweb |
I created the NamespaceLoader in the feature branch. It has a load_module, but it's only ever called by the code in PathFinder.load_module:
loader = NamespaceLoader(namespace_path)
return loader.load_module(fullname)
namespace_path is what will become module.__path__. In order to keep the load_module API (single fullna... | http://bugs.python.org/msg159162 | CC-MAIN-2013-20 | en | refinedweb |
Hi guys just trying to understand Getline and implement it in a problem im trying to solve.
First off i have a program that is working:
Code:#include <iostream.h> #include <string> #include <fstream> using namespace std; void main() { ifstream fin("data.txt"); ofstream fout; char name[30]; char jersey_number[10]; char ... | http://cboard.cprogramming.com/cplusplus-programming/74568-getline-help.html | CC-MAIN-2013-20 | en | refinedweb |
NAME
flock - apply or remove an advisory lock on an open file
SYNOPSIS
#include <sys/file.h> int flock(int fd, int operation);
DESCRIPTION
Apply.
CONFORMING TO.
close(2), dup(2), execve(2), fcntl(2), fork(2), open(2), lockf(3) See also Documentation/locks.txt and Documentation/mandatory.txt in the kernel source.
COLOPH... | http://manpages.ubuntu.com/manpages/karmic/en/man2/flock.2.html | CC-MAIN-2013-20 | en | refinedweb |
NAME
setns - reassociate thread with a namespace
SYNOPSIS
#define _GNU_SOURCE /* See feature_test_macros(7) */ #include <sched.h> int setns(int fd, int nstype);
DESCRIPTION.)
RETURN VALUE
On success, setns() returns 0. On failure, -1 is returned and errno is set to indicate the error.
ERRORS.
VERSIONS
The setns() syste... | http://manpages.ubuntu.com/manpages/precise/en/man2/setns.2.html | CC-MAIN-2013-20 | en | refinedweb |
Asynchronous Http Handlers, Page 2
Asynchronous Http Handlers
Asynchronous Http handlers work similarly to regular http handlers, except that they are capable of serving many client requests with very few actual threads. In fact, depending on how religiously the handler-code uses asynchronous methods in its implementat... | http://www.developer.com/net/vb/article.php/10926_1383181_2/Asynchronous-Http-Handlers.htm | CC-MAIN-2013-20 | en | refinedweb |
Hello, I have this assignment that I don't understand at all. here are the instructions:
Write a program that uses the Monte Carlo sampling method to estimate
the average number of bottles of e-Boost someone would have to drink to
win a prize. There is a 1 in 5 chance that a bottle cap will have a prize.
and here is wh... | http://www.javaprogrammingforums.com/loops-control-statements/13537-monte-carlo-method.html | CC-MAIN-2013-20 | en | refinedweb |
Since I've seen so many poor solutions to this problem I thought I'd share mine. Here's how I make printer friendly pages.
1. Add a method in your base class that looks like this:
def getMainTemplate(self): """ return the suitable METAL header object """ # assuming zpt/main_template.zpt template_obj = self.main_templat... | http://www.peterbe.com/plog/tip-printer-friendly-pages-zope | CC-MAIN-2013-20 | en | refinedweb |
server. There are many application servers are available both free and commercial... of 3.0 version. Hi friend,
EJB :
The Enterprise JavaBeans architecture or EJB for short is an architecture for the development and deployment
Problem in EJB application creation - EJB
Problem in EJB application creation Hi,
I am new t... | http://www.roseindia.net/tutorialhelp/comment/84769 | CC-MAIN-2013-20 | en | refinedweb |
Products and Services
Downloads
Store
Support
Education
Partners
About
Oracle Technology Network
Permspace can get corrupted on Solaris Sparc 7,8,9 if it is positioned at
0x80000000. This is reproducible even with one of the demo programs:
| 1. get hold of a complete J2SE 1.4.2_07 (for example) SDK installation.
| One ... | http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6233169 | CC-MAIN-2013-20 | en | refinedweb |
#include <image_view.hpp>
List of all members.
Image view consists of a pixel 2D locator (defining the mechanism for navigating in 2D) and the image dimensions.
Image views to images are what ranges are to STL containers. They are lightweight objects, that don't own the pixels. It is the user's responsibility that the ... | http://www.boost.org/doc/libs/1_42_0/libs/gil/doc/html/g_i_l_0040.html | CC-MAIN-2013-20 | en | refinedweb |
.
In the second half of this two part article I will demonstrate how to use the powerful capabilities of .NET to incorporate simple code generators into VS.NET, helping you and your co-workers become more productive. The example in this section actually uses macros and the Automation extensibility model. For more advan... | http://www.developer.com/net/net/article.php/2213041/Creating-Simplified-Code-Generators-in-VSNET-Part-II.htm | CC-MAIN-2013-20 | en | refinedweb |
24 May 2012 05:24 [Source: ICIS news]
By Heng Hui
?xml:namespace>
SINGAPORE
POM’s downstream industries rely solely on consumer spending, but consumer confidence is currently at lows because of prevailing economic uncertainties. The eurozone is still neck-deep in a debt crisis, while the
Asia’s demand for POM is estima... | http://www.icis.com/Articles/2012/05/24/9562519/asia-polyacetal-supply-glut-to-stay-for-two-yrs-on-tepid-demand.html | CC-MAIN-2013-20 | en | refinedweb |
Can anyone give me an example on how to use the TLabel in Borland builder?
Thanks a lot!
Pete
This is a discussion on TLabel in BorlandBuilder5 help!!! within the C++ Programming forums, part of the General Programming Boards category; Can anyone give me an example on how to use the TLabel in Borland builder? Thanks a ... | http://cboard.cprogramming.com/cplusplus-programming/10929-tlabel-borlandbuilder5-help.html | CC-MAIN-2013-20 | en | refinedweb |
Hello all,
I am a new programmer and I am trying to look at how two classes can interact if one class is called by another. What I am trying to do is have a control class. This control class will then make a decision in the constructor about what "sub" classes to call (they are not inherited classes so not strictly a s... | http://cboard.cprogramming.com/cplusplus-programming/125372-question-about-constructors-destructors-pointers.html | CC-MAIN-2013-20 | en | refinedweb |
Javascript autocompletions and having one for Sublime Text 2
Autocompletion is major software development productivity booster in modern programming text editors. This article discuss about Javascript autocompletion and how to make Sublime Text 2 editor to support them. If you are not familiar with Sublime Text 2 pleas... | http://css.dzone.com/articles/javascript-autocompletions-and | CC-MAIN-2013-20 | en | refinedweb |
ZF-2921: Allow defining of the schema separator in Zend_Db_Adapter
Description
To simulate the schema system in RDBMS which don't support it (as MySQL, where SCHEMA is a DATABASE) I thought to patch the Zend_Db_Adapter_Abstract by adding a protected attribute called Zend_Db_Adapter_Abstract::$_schemaSeparator (default ... | http://framework.zend.com/issues/browse/ZF-2921?page=com.atlassian.streams.streams-jira-plugin:activity-stream-issue-tab | CC-MAIN-2013-20 | en | refinedweb |
19 January 2011 15:24 [Source: ICIS news]
TORONTO (ICIS)--?xml:namespace>
The increase this year would come after 3.6% growth in 2010 and a 4.7% decline in 2009 from 2008.
In an official outlook report, entitled “Jahreswirtschaftsbericht 2011”, the government said strong export demand in 2010 had sparked higher domesti... | http://www.icis.com/Articles/2011/01/19/9427553/berlin-forecasts-germanys-2011-economic-growth-at-2.3.html | CC-MAIN-2013-20 | en | refinedweb |
Difference between revisions of "User:Fingolfin"
Revision as of 14:47, 23 July 2008.
Contents
TODO
Usability
- Check for the presence of all required data files in all games; or, as a somewhat less extensive measure, at least do this: For games which were shipped on multiple volumes (floppies, CDs), check for the prese... | https://wiki.scummvm.org/index.php?title=User:Fingolfin&diff=prev&oldid=9236 | CC-MAIN-2019-51 | en | refinedweb |
Add a carriage return \r and linefeed \n to the beginning of a sentence using a regular expression without replacing the text
- Michael Poplawski last edited by
The Following text has a carriage return (\r) and line feed (\n) after certain sentences or paragraphs.
As can be seen in the following text, paragraph 28. has... | https://community.notepad-plus-plus.org/topic/15289/add-a-carriage-return-r-and-linefeed-n-to-the-beginning-of-a-sentence-using-a-regular-expression-without-replacing-the-text | CC-MAIN-2019-51 | en | refinedweb |
Building your service with tests
When working on a Service Fabric application, one of the first things that you will probably notice is that there is no easy way to get started with writing tests around your service.
To build a stateful service within Service Fabric we inherit from a class called
StatefulService and ov... | https://kevsoft.net/2016/12/17/unit-testing-service-fabric-services.html | CC-MAIN-2019-51 | en | refinedweb |
referance content
PubNub Functions is built upon some key concepts – It's advised to become familiar with them before you start developing and testing with
PubNub Functions.
PubNub Channels
A channel represents a virtual path between publishing and subscribing clients in the PubNub Data Stream Network (DSN). If you're ... | https://www.pubnub.com/docs/blocks/key-concepts | CC-MAIN-2019-51 | en | refinedweb |
Is there a universal JavaScript function that checks that a variable has a value and ensures that it's not
undefined
null
function isEmpty(val){
return (val === undefined || val == null || val.length <= 0) ? true : false;
}
You can just check if the variable has a
truthy value or not. That means
if( value ) { }
will ev... | https://codedump.io/share/MjV1g2zepZOE/1/is-there-a-standard-function-to-check-for-null-undefined-or-blank-variables-in-javascript | CC-MAIN-2017-39 | en | refinedweb |
Status
Current state: Accepted
Discussion thread: here and here
JIRA:
KAFKA-3162
-
KIP-42: Add Producer and Consumer Interceptors
Resolved
KAFKA-3196
-
KIP-42 (part 2): add record size and CRC to RecordMetadata and ConsumerRecords
Resolved
KAFKA-3303
-
Pass partial record metadata to Interceptor onAcknowledgement in ca... | https://cwiki.apache.org/confluence/display/KAFKA/KIP-42%3A+Add+Producer+and+Consumer+Interceptors | CC-MAIN-2017-39 | en | refinedweb |
#include <hallo.h> Adam Heath wrote on Thu May 30, 2002 um 12:58:48PM: > > You don't, you use makedev to create them in your postinst. > > > > Wichert. > > When this mail first hit the list, I checked dpkg. It should handle creation > of device files. If it doesn't, it's a bug. > > It's policy that enforces the "no dev... | https://lists.debian.org/debian-devel/2002/05/msg03113.html | CC-MAIN-2017-39 | en | refinedweb |
CodePlexProject Hosting for Open Source Software
The IronPython import statement needs namespace names, not assembly names. You should be able to get the names of the namespaces in Animate.NET.dll from its documentation. If not, you could use a tool like Reflector or ILDASM to inspect the dll and see which
namespaces a... | http://dlr.codeplex.com/discussions/213566 | CC-MAIN-2017-39 | en | refinedweb |
...one of the most highly
regarded and expertly designed C++ library projects in the
world. — Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
BOOST_FUSION_DEFINE_STRUCT_INLINE is a macro that can be used to generate all the necessary boilerplate to define and adapt an arbitrary struct as a model of Random Acc... | http://www.boost.org/doc/libs/1_65_1/libs/fusion/doc/html/fusion/adapted/define_struct_inline.html | CC-MAIN-2017-39 | en | refinedweb |
One thing that has bothered me for a while is that the unzip command line tool only decompresses one file at a time. As a weekend project I wanted to see if I could make it work in parallel. One could write this functionality from scratch but this gave me a possibility to try really look into incremental development.
A... | http://www.shellsec.com/news/13697.html | CC-MAIN-2017-39 | en | refinedweb |
For the animations and transitions on b2g, throttling of OMTA flushing is let down by unthrottable flushes due to SMIL. We should not flush when we don't have to.
Comment by dholbert from bug 780692 (see that bug for a little more discussion): (In reply to Daniel Holbert [:dholbert] from comment #166) > d'oh... So I ju... | https://bugzilla.mozilla.org/show_bug.cgi?id=814921 | CC-MAIN-2017-39 | en | refinedweb |
Mark Trench Financial Accounting Standards Board (FASB) 401 Merritt 7 P. O. Box 5116 Norwalk, CT 06856-5116
Hans van der Veen International Accounting Standards Board (IASB) 30 Cannon Street London, EC4M 6XH United Kingdom
Dear Mark and Hans: The topic of discounting plays a key role in several conceptual accounting pr... | https://issuu.com/actuarypdf/docs/discount_0915091 | CC-MAIN-2017-39 | en | refinedweb |
.
For example, to have the caller pass space for the result:
char *itoa(int n, char *retbuf) { sprintf(retbuf, "%d", n); return retbuf; } ... char str[20]; itoa(123, str);
To use malloc:
#include <stdlib.h> char *itoa(int n) { char *retbuf = malloc(20); if(retbuf != NULL) sprintf(retbuf, "%d", n); return retbuf; } ... ... | http://c-faq.com/malloc/retaggr2.html | CC-MAIN-2017-39 | en | refinedweb |
Frequently Asked Questions¶
Why the name jug?¶
The cluster I was using when I first started developing jug was called “juggernaut”. That is too long and there is a Unix tradition of 3-character programme names, so I abbreviated it to jug.
How to work with multiple computers?¶
The typical setting is that all the compute... | http://jug.readthedocs.io/en/latest/faq.html | CC-MAIN-2017-39 | en | refinedweb |
When backgrounding.
So, here is how you can obscure the preview window when your app is backgrounded.
Blurring the preview on Android
The easiest way to obscure the preview window in Android is by setting two flags in your MainActivity's OnCreate
public class MainActivity : FormsApplicationActivity { protected override... | https://www.devprotocol.com/blur-your-app-preview-when-backgrounding/ | CC-MAIN-2017-39 | en | refinedweb |
18 March 2010 13:04 [Source: ICIS news]
(Adds CEO comments throughout)
?xml:namespace>
Major projects such as Borouge 2 - a joint venture with Abu Dhabi National Oil Company (ADNOC) at Ruwais in the United Arab Emirates, which is expected to come online in mid-2010 - meant the company would incur costs in the months be... | http://www.icis.com/Articles/2010/03/18/9344014/borealis-expects-tough-2010-on-costs-from-new-start-ups.html | CC-MAIN-2015-06 | en | refinedweb |
29 June 2011 04:07 [Source: ICIS news]
SINGAPORE (ICIS)--?xml:namespace>
The plant usually runs at full rates, but production was slightly decreased because machinery works less efficiently in the summer months with temperature at more than 46 degree Celsius, the source added.
“The high temperature and humidity causes ... | http://www.icis.com/Articles/2011/06/29/9473404/irans-kharg-petrochemical-runs-methanol-plant-at-95.html | CC-MAIN-2015-06 | en | refinedweb |
The "What's New!" items were badly cluttering up the main index page.
I'd thought I'd take all but the most recent notices about changes to this web site and move them here, to provide a form of historical log (running oldest to new) for the web site.
::Brian::
The (unofficial) "I Love A
Mystery" web site is officially... | http://www.angelfire.com/on/ilam/newpage.html | CC-MAIN-2015-06 | en | refinedweb |
In this article you can download the very first alpha version of Aubergine; a BDD /DSL framework for .Net, initially based on Machine.Specifications, but later on heavily inspired by Cucumber. It is AFAIK the very first Cucumber like environment in .NET available, and you will see that it is very easy to use. Due to it... | http://www.codeproject.com/Articles/43585/BDD-with-DSL-Aubergine-a-ruby-cucumber-like-altern | CC-MAIN-2015-06 | en | refinedweb |
sunil langeh wrote:
import static java.lang.System.*;
class _ {
static public void main(String... __A_V_) {
String $ = "";
for(int x=0; ++x < __A_V_.length; ) // Line 1
$ += __A_V_[x];
out.println($);
}
}
I have also a doubt in Line 1 about for loop syntax, Can be use both conditional and increment/decrement operator t... | http://www.coderanch.com/t/427414/java-programmer-SCJP/certification/explain-program-briefly | CC-MAIN-2015-06 | en | refinedweb |
Introduction
When planning a software solution, you have many different programming languages to choose from, and it's easy to get lost in the intricacies of each one. Your choice of language can depend on many factors. If it's for a personal project or hobby, you may settle for a language you know. If your choice depe... | http://www.ibm.com/developerworks/library/wa-optimal/ | CC-MAIN-2015-06 | en | refinedweb |
So that better model binder I built a couple of years ago to address conditional model binding in ASP.NET MVC 1-2 is obsolete with the release of ASP.NET MVC 3. Instead, the concept of a model binder provider allows this same functionality, fairly easily. Back in my Put Your Controllers on a Diet talk at MVCConf, I sho... | http://lostechies.com/jimmybogard/2011/07/07/intelligent-model-binding-with-model-binder-providers/ | CC-MAIN-2015-06 | en | refinedweb |
csRenderBuffer::Props Struct Reference
To scrape off a few bytes use bitfields; assumes values are in sane limits. More...
#include <csgfx/renderbuffer.h>
Detailed Description
To scrape off a few bytes use bitfields; assumes values are in sane limits.
Definition at line 274 of file renderbuffer.h.
Member Data Documenta... | http://www.crystalspace3d.org/docs/online/api-1.4/structcsRenderBuffer_1_1Props.html | CC-MAIN-2015-06 | en | refinedweb |
A Quick Introduction to the Spring Python Framework
Introduction
The original Spring, written for Java, is a framework which at its heart uses an "Inversion of Control" container (IoC). Inside of Spring, are several subframeworks for handling aspect oriented programming(aop), Data Access Framework (Dao), transaction ma... | http://www.developer.com/open/article.php/3844801/A-Quick-Introduction-to-the-Spring-Python-Framework.htm | CC-MAIN-2015-06 | en | refinedweb |
09 August 2012 04:05 [Source: ICIS news]
SINGAPORE (ICIS)--?xml:namespace>
The cargo fetched a premium of $1-3/tonne (€0.81-2.43/tonne) to
The company recently returned to the spot market to purchase material after an absence of nearly four months, according to traders.
Its last purchase was in early April for a 55,000... | http://www.icis.com/Articles/2012/08/09/9585317/Taiwans-CPC-buys-30000-tonnes-full-range-naphtha.html | CC-MAIN-2015-06 | en | refinedweb |
Build Tools Software
Showing page 1 of 1.
WhiteSnake Editor
WhiteSnake is professional script editor for many script languages
myApps
xApps,an enterprise universal platform(BPM),facilitates non IT user to build IT solution flexibly by form desinger,workflow designer & report builder etc.(We moved this prject to a new p... | http://sourceforge.net/directory/development/build/natlanguage:english/os:mswin_server2003/ | CC-MAIN-2015-06 | en | refinedweb |
Let’s start with a classical 1st year Computer Science homework assignment: a fibonacci series that doesn’t start with 0, 1 but that starts with 1, 1. So the series will look like: 1, 1, 2, 3, 5, 8, 13, … every number is the sum of the previous two.
In Java, we could do:
public int fibonacci(int i) { if (i < 0) return ... | http://www.javacodegeeks.com/2013/01/scala-pattern-matching-a-case-for-new-thinking.html | CC-MAIN-2015-06 | en | refinedweb |
Title.
This is a discussion on What is your favorite language other than C/C++ and why? within the General Discussions forums, part of the Community Boards category; Title....
Title.
From a nostalgic point of view, "Just Basic", because it was the first language I messed with.
Prolog is awesome, in it own, unique way.
... | http://cboard.cprogramming.com/general-discussions/159654-what-your-favorite-language-other-than-c-cplusplus-why.html | CC-MAIN-2015-06 | en | refinedweb |
tag:blogger.com,1999:blog-59034556449887337252014-10-18T06:32:13.481-11:00Download Hacking Tools at 'Tools Yard'Archive by The Hacker News for Hacking tools, networking tools, gmail hacking, learn ethical hacking, vulnerability assessment, penetration testing, email hacking, password hackingMohit Kumarnoreply@blogger.c... | http://feeds.feedburner.com/PenetrationTestingTools | CC-MAIN-2015-06 | en | refinedweb |
You can subscribe to this list here.
Showing
5
results of 5
A new article about using Mimer Provider Manager in web development with=20
Asp.NET have been published on=20
Regards,
Fredrik
--=20
********************************************
Fredrik =C5lund
Mimer Information Technology AB
+46 (0)18 780 92 00
Fredrik.Al
___... | http://sourceforge.net/p/mimerpm/mailman/mimerpm-user/ | CC-MAIN-2015-06 | en | refinedweb |
You can subscribe to this list here.
Showing
8
results of 8
paul@... wrote:
>
> Anyway, if you take a look at my Web site () you'll
> find the almost-latest installment of my XMLForms package (the successor to my
> XForms package). It contains form descriptions in XML and some interesting
> applications of hidden field... | http://sourceforge.net/p/webware/mailman/webware-discuss/?viewmonth=200105&viewday=2 | CC-MAIN-2015-06 | en | refinedweb |
Exploring the API
If you're familiar with Google gadgets or you've created widgets for Google's OpenSocial platform, you'll feel right at home with the Google+ Hangouts API. Every Google+ Hangout extension or application begins with a gadget XML file.
The most basic gadget file is as follows:
<?xml version="1.0" encodi... | http://www.informit.com/articles/article.aspx?p=1963536 | CC-MAIN-2015-06 | en | refinedweb |
For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See:
PeriodStats
I am currently using Python 3.6, it went smooth on using most of the Analyzers classes. However, there is one incompatible with the Python 3.x.
I am not quite sure how to deal with this.
cerebro.... | https://community.backtrader.com/topic/789/periodstats/1 | CC-MAIN-2021-43 | en | refinedweb |
...
M5EP M5Paper's screen.
#include <M5EPD.h> M5EPD_Canvas canvas(&M5.EPD); void setup() { M5.begin(); M5.EPD.SetRotation(90); M5.EPD.Clear(true); M5.RTC.begin(); canvas.createCanvas(540, 960); canvas.setTextSize(3); canvas.drawString("Hello World", 45, 350); canvas.pushCanvas(0,0,UPDATE_MODE_DU4); } void loop() { }
Gi... | https://docs.m5stack.com/en/quick_start/m5paper/arduino | CC-MAIN-2021-43 | en | refinedweb |
Advertisement
In this blog, we will learn the edge detection in OpenCV Python using Canny’s edge detection algorithm. Edge Detection has great importance in computer vision.
Edge Detection deals with the contours of an image that is usually denoted in an image as an outline of a particular object.
There’s a lot of edge... | https://hackthedeveloper.com/canny-edge-detection-opencv-python/ | CC-MAIN-2021-43 | en | refinedweb |
Tag:Recipient
Should the method be declared on T or * tFriendly tips: This article takes about 3 minutes and 49 seconds to read. Please give more advice on the shortcomings. Thank you for reading. Subscribe to this site Should methods be declared on T or * t – David In go, for any type T, there is a type * t, which is ... | https://developpaper.com/tag/recipient/ | CC-MAIN-2021-43 | en | refinedweb |
A Short Overview of Typed Template Haskell
Welcome to our second post on Template Haskell!
Today we will take a quick look at typed Template Haskell. This article assumes some familiarity with Template Haskell (TH) already. If this is your first journey with TH, then check out our introduction to Template Haskell first... | https://serokell.io/blog/typed-template-haskell-overview | CC-MAIN-2021-43 | en | refinedweb |
Converting to another web framework: Basic apps in Symfony and Django
Many times have I heard the following from a developer: “I am scared to change technologies”, “I am excited but I’m afraid it will be entirely different”, “I only know <insert web framework here>, I’ve never seen any <insert another web framework her... | https://www.algotech.solutions/blog/php/converting-to-another-web-framework-basic-apps-in-symfony-and-django/ | CC-MAIN-2021-43 | en | refinedweb |
Hello,
After the latest ReSharper update (C++ 2019.2.20191016.62802) I've got these nice highlights of matching #if #ifdef #ifndef blocks, too bad they are giving me eye bleeding.
I've been digging through all the color settings in Visual Studio to find them and change their background, with no luck. Can someone point ... | https://resharper-support.jetbrains.com/hc/en-us/community/posts/360006736599-Changing-bg-color-of-the-matching-preprocesor-ifdef-section-blocks | CC-MAIN-2021-43 | en | refinedweb |
GuwenBERT
Model description
This is a RoBERTa model pre-trained on Classical Chinese. You can fine-tune GuwenBERT for downstream tasks, such as sentence breaking, punctuation, named entity recognition, and so on.
For more information about RoBERTa, take a look at the RoBERTa's offical repo.
How to use
from transformers... | https://huggingface.co/ethanyt/guwenbert-base | CC-MAIN-2021-43 | en | refinedweb |
I am working with the book agile Web D. second edition, and in
page 110 there is an example i how to create the model CartItem.
I am using rails 2.0 and after adding the class CartItem I get an error
at the constructor Initialize
class CartItem < ActiveRecord::Base
attr_reader :product, :quantity
def initialize(product... | https://www.ruby-forum.com/t/subclass-does-not-call-super-in-constructor/144226 | CC-MAIN-2021-43 | en | refinedweb |
Can anybody explain unwrapConnection in SimpleDataSource for me? The
code reads:
public static Connection unwrapConnection(Connection conn) {
if (conn instanceof SimplePooledConnection) {
return ((SimplePooledConnection) conn).getRealConnection();
}
...
But the private (argh!) SimplePooledConnection isnt a connection o... | https://mail-archives.us.apache.org/mod_mbox/ibatis-user-java/200504.mbox/%3C42651B98.9070803@wordmap.com%3E | CC-MAIN-2021-43 | en | refinedweb |
If you are just getting started with React JS, I understand that it can be really confusing getting to understand these concepts and how you can use them, so I decided to write this article to explain these concepts as simply as possible.
So to begin with, what do Props mean in React?
Props is the short form of propert... | https://practicaldev-herokuapp-com.global.ssl.fastly.net/martha/react-props-and-state-2f5e | CC-MAIN-2021-43 | en | refinedweb |
BBC micro:bit
With
Copy and test the following program. Then read the explanations before starting the task.
from microbit import * import music while True: if button_a.is_pressed(): music.pitch(440,-1) else: music.stop() sleep(20)
The first two lines import the modules we need, the microbit module as always and the mu... | http://www.multiwingspan.co.uk/micro.php?page=pyex2 | CC-MAIN-2019-47 | en | refinedweb |
- Rafael J. Wysocki authored
ACPI container devices require special hotplug handling, at least on some systems, since generally user space needs to carry out system-specific cleanup before it makes sense to offline devices in the container. However, the current ACPI hotplug code for containers first attempts to offline... | https://gitlab.flux.utah.edu/xcap/xcap-capability-linux/blob/41e1d4fd2978f1035ceb210a7482901434770c2d/include/linux/container.h | CC-MAIN-2019-47 | en | refinedweb |
Add User Data from Multiple Objects to a Null
On 17/05/2016 at 11:00, xxxxxxxx wrote:
Hi,
GOAL:
Ultimately I want to create an object plugin called "Rig."
- You place multiple objects that have User Data as children of the Rig object.
- The rig object copies the User Data of each child and then adds them to itself.
- I... | https://plugincafe.maxon.net/topic/9501/12744_add-user-data-from-multiple-objects-to-a-null/?page=1 | CC-MAIN-2019-47 | en | refinedweb |
[Edit]
This post has generated a lot of buzz, spawned some great discussion and even a full length article on how to set up Sub Sonic as a stand-alone assembly. For the reader stumbling on this post via Google or what not, please ensure you read the full comments on this post. Also, ensure that you check out Willie's t... | http://gamecontest.geekswithblogs.net/dlussier/archive/2007/12/30/118069.aspx | CC-MAIN-2019-47 | en | refinedweb |
BBC micro:bit
RGB LED
Introduction
This is a photograph of an RGB LED.
If you work from left to right in the photograph, the 4 legs of the LED correspond to BLUE, GROUND, GREEN & RED. The ground pin is shared by all 3 LEDs. This is called a common cathode RGB LED. The RGB LED allows us to turn each of the colours on an... | http://www.multiwingspan.co.uk/micro.php?page=pyex5 | CC-MAIN-2019-47 | en | refinedweb |
Gain Remote Access to the Get-ExCommand Exchange Command
Dr Scripto
Summary: Learn how to gain access to the Get-ExCommand Exchange command while in an implicit remote Windows PowerShell session.
Hey, Scripting Guy! I liked your idea about connecting remotely to Windows PowerShell on an Exchange Server. The problem is ... | https://devblogs.microsoft.com/scripting/gain-remote-access-to-the-get-excommand-exchange-command/ | CC-MAIN-2019-47 | en | refinedweb |
Support for training models.
Modules
queue_runner module: Public API for tf.train.queue_runner namespace.
Classes
class AdadeltaOptimizer: Optimizer that implements the Adadelta algorithm.
class AdagradDAOptimizer: Adagrad Dual Averaging algorithm for sparse linear models.
class AdagradOptimizer: Optimizer that impleme... | https://www.tensorflow.org/versions/r1.13/api_docs/python/tf/train?hl=pl | CC-MAIN-2019-47 | en | refinedweb |
Building Secure ASP.NET Applications: Authentication, Authorization, and Secure Communication
Cryptography and Certificates.
See the Landing Page for the starting point and a complete overview of Building Secure ASP.NET Applications.
Summary: This section provides an overview of certificates, certificate stores, crypto... | https://docs.microsoft.com/en-us/previous-versions/msp-n-p/ff649260(v=pandp.10)?redirectedfrom=MSDN | CC-MAIN-2019-47 | en | refinedweb |
Default Configuring Methods of Start-Up Class
When we create a new ASP.NET Core application, our Startup class looks like this.
public class Startup {=Home}/{action=Index}/{id?}"); }); } }
The ConfigureServices() method adds services to the container, and the Configure() method configures the request pipeline.
Configur... | https://dzone.com/articles/aspnet-core-environment-based-configuring-methods?fromrel=true | CC-MAIN-2019-47 | en | refinedweb |
Curated lists of tags and attributes for sanitizing html
Project description
A curated list of tags, attributes, and styles suitable for filtering user-provided HTML using bleach.
Currently, it consists of basic set of tags suitable for rendering markdown, and markup intended for printing, as well as a list of all CSS ... | https://pypi.org/project/bleach-whitelist/ | CC-MAIN-2019-47 | en | refinedweb |
September 2017
Volume 32 Number 9
[Data Points]
DDD-Friendlier EF Core 2.0
By Julie Lerman
If you’ve been following this column for a while, you may have noticed quite a few articles about implementing Entity Framework (EF) when building solutions that lean on Domain-Driven Design (DDD) patterns and guidance. Even thou... | https://docs.microsoft.com/en-us/archive/msdn-magazine/2017/september/data-points-ddd-friendlier-ef-core-2-0 | CC-MAIN-2019-47 | en | refinedweb |
Windows Notepad Finally Supports Unix, Mac OS Line Endings (theregister.co.uk) 291
Microsoft's text editing app, Notepad, which has been shipping with Windows since version 1.0 in 1985, now supports line endings in text files created on Linux, Unix, Mac OS, and macOS devices. "This has been a major annoyance for develo... | https://tech.slashdot.org/story/18/05/08/2149216/windows-notepad-finally-supports-unix-mac-os-line-endings | CC-MAIN-2018-22 | en | refinedweb |
Note: The section of RNN will span several posts including this one covering basic RNN structure and supporting naive and TF implementation for character level sequence generation. Subsequent posts for RNNs will cover more advanced topics like attention while using more complicated RNN architectures for tasks such as m... | https://theneuralperspective.com/2016/10/04/05-recurrent-neural-networks-rnn-part-1-basic-rnn-char-rnn/ | CC-MAIN-2018-22 | en | refinedweb |
Save your program in a file called
proj.bf
in folders called
proj1 and
proj2
respectively for phases 1 and 2 of your project.
I will test your code in the same environment as the lab
machines in MI 302, using the command
/usr/bin/beef proj.bf
For phase 2 of your project, you will write a compiler from a highly
simplifi... | https://www.usna.edu/Users/cs/roche/courses/f11si413/project/brainfuck.php.html | CC-MAIN-2018-22 | en | refinedweb |
The OESmartsParseOpts namespace encodes symbolic constants used as bit-masks to indicate how to interpret SMARTS and SMIRKS strings.
See also
This namespace contains constants.
None
Only constraints explicitly specified in the SMARTS and SMIRKS strings are added to the OEQMolBase query structure.
RingConstraint
Additio... | https://docs.eyesopen.com/toolkits/csharp/oechemtk/OEChemConstants/OESmartsParseOpts.html | CC-MAIN-2018-22 | en | refinedweb |
A library for Cayenne LPP
Hi all,
Recently I had to do a few projects using LoPy boards, The Things Network and its Cayenne Integration to quickly build some dashboard.
In order to use the integration, the packets send by the LoPy should use the in the Low Power Payload format.
To facilitate that, I made a simple libra... | https://forum.pycom.io/topic/2545/a-library-for-cayenne-lpp | CC-MAIN-2018-22 | en | refinedweb |
ColdFusion 10 - XmlSearch() And XmlTransform() Now Support XPath 2.0
In today's world, we don't often work with XML; the majority of data exchange is done using JavaScript Object Notation (JSON). Even APIs that support both XML and JSON seem to be dropping XML support in their roadmap (I know this from personal experie... | https://www.bennadel.com/blog/2340-coldfusion-10---xmlsearch-and-xmltransform-now-support-xpath-2-0.htm | CC-MAIN-2018-22 | en | refinedweb |
Lately I’e been playing with Arduino and PHP to create simple demos and see how the interaction between them works. For my surprise it worked really well and I could at least do the blink example with few lines of code.
From now on I’ assuming that you’e played around with Arduino and feel familiar with some terms like... | https://marabesi.com/post/2017/03/01/running-php-with-arduino.html | CC-MAIN-2018-22 | en | refinedweb |
Welcome Sophie!
On Sun, Oct 24, 2004 at 03:52:25AM -0500, Sophie Italy wrote:
| Any timeline for a schema?
Realistically, I won't get to it for another 12 months; however, if
someone does some serious thinking and posts a strawman, I'll gladly
participate. I'd be looking for something based on RelaxNG.
| I hope you'll... | https://sourceforge.net/p/yaml/mailman/yaml-core/?viewmonth=200410&viewday=24 | CC-MAIN-2018-22 | en | refinedweb |
This type defines an
address
of a particular socket; in
particular, it defines the family of networking protocols to which
the address belongs (for example, IP or IPv6), as well as the size of
the address itself. This type can be safely ignored for most
high-level (and, arguably, most low-level) networking operations.
... | http://etutorials.org/Programming/C+in+a+nutshell+tutorial/Part+IV+API+Quick+Reference/Chapter+33.+System.Net/SocketAddress/ | CC-MAIN-2018-22 | en | refinedweb |
Mark Brown Tuition
Physics, Mathematics and Computer
Science Tuition & Resources
Going in spirals with Turtle - Writing good code
Posted on 14-02-18 in Turtle Exercises
Using the Python Turtle library we draw spirals with ever increasing complexity. The aim is to see examples of good and bad code. In this post we'll lo... | https://markbrowntuition.co.uk/turtle-exercises/2018/02/14/going-in-spirals-with-turtle-writing-good-code/ | CC-MAIN-2022-33 | en | refinedweb |
and a time limit.
Use the
get-retention subcommand and specify the namespace.
Example
$ pulsar-admin namespaces get-retention my-tenant/my-ns
{
"retentionTimeInMinutes": 10,
"retentionSizeInMB": 500
}
REST API
GET /admin/v2/namespaces/:tenant/:namespace/retention
Java:
Use the
set-backlog-quota subcommand and specify ... | https://pulsar.apache.org/docs/2.8.0/cookbooks-retention-expiry/ | CC-MAIN-2022-33 | en | refinedweb |
Extract vector and raster data from OSM.
Project description
OSMxtract
Description
OSMxtract is a simple Python package that uses the Overpass API to fetch OpenStreetMap features and export them in a GeoJSON file.
Installation
Using
pip:
pip install osmxtract
Command-line interface
Usage
OSMxtract can guess the extent ... | https://pypi.org/project/osmxtract/ | CC-MAIN-2022-33 | en | refinedweb |
Scatter plots are the go-to for illustrating the relationship between two variables. They can show huge amounts of data, but often at a cost of being able to tell the identity of any given data point.
Key data points can be highlighted with annotations, but when we have a smaller dataset and value in distinguishing eac... | https://fcpython.com/visualisation/creating-scatter-plots-with-club-logos-in-python | CC-MAIN-2022-33 | en | refinedweb |
This article is a compilation of useful Wi-Fi functions for the ESP32. We’ll cover the following topics: scan Wi-Fi networks, connect to a Wi-Fi network, get Wi-Fi connection strength, check connection status, reconnect to the network after a connection is lost, Wi-Fi status, Wi-Fi modes, get the ESP32 IP address, set ... | https://randomnerdtutorials.com/esp32-useful-wi-fi-functions-arduino/?replytocom=556040 | CC-MAIN-2022-33 | en | refinedweb |
Data Software Design Pitfalls on Java: Should We Have a Constructor on JPA?
In this article, explore details on code, especially inside the Jakarta EE world, mainly to answer the questions: should we have a constructor on JPA, and why?
Join the DZone community and get the full member experience.Join For Free
The data i... | https://dzone.com/articles/jpa-constructor?fromrel=true | CC-MAIN-2022-33 | en | refinedweb |
Introduction:.
Now the service is started, and you will be able to see entries in the log file we defined in the code.
Now open the log file in your folder that Output of the file like this.
What is Windows Service?
Windows Services are applications that run in the background and perform various tasks. The applications... | https://www.aspdotnet-suresh.com/2011/06/creating-windows-service-in-c-or.html?showComment=1354769329772 | CC-MAIN-2022-33 | en | refinedweb |
OpenReviewIO Python API
Project description
/!\ Still in alpha stage and on its way to be stable. Every feedback is welcome!
Overview
OpenReviewIO is a standard that describes a format for sharing media (shots, animations...) review informations. It's main purpose is to guarantee review informations compatibility acros... | https://pypi.org/project/openreviewio/ | CC-MAIN-2022-33 | en | refinedweb |
Get protocol-specific service information.
X/Open Transport Interface Library (libxti.a)
#include <xti.h>
int t_getinfo (fd, info) int fd; struct t_info *info;
The t_getinfo subroutine returns the current characteristics of the underlying transport protocol and/or transport connection associated with the file descripto... | http://ps-2.kev009.com/tl/techlib/manuals/adoclib/libs/commtrf2/tgetinfp.htm | CC-MAIN-2022-33 | en | refinedweb |
C/C++ Application How-Tos for Code Assistance
- What To Do When Your Project Has a Question Mark in the Projects Window
- Configuring Build Analyzer for Code Assistance
- Configuring Code Assistance for a Multi-Platform Project
- Configuring Code Assistance When You Cannot Build the Project
- Using Hyperlinks to Naviga... | https://netbeans.apache.org/kb/docs/cnd/HowTos.html | CC-MAIN-2022-33 | en | refinedweb |
NetBeans Nodes API Tutorial.
As its basis, this tutorial uses the source code created in the first tutorial and enhanced further in the second. If you have not yet done these tutorials, it is recommended to do them first.
Optionally, for troubleshooting purposes, you can download the completed sample.
Creating a Node s... | https://netbeans.apache.org/tutorials/60/nbm-nodesapi2.html | CC-MAIN-2022-33 | en | refinedweb |
During the last post we discussed about the several components used in the data pipeline flow. We saw how the different services merged into one flow and finally ingested data into snowflake. Me and my colleague Mehani Hakim worked on the technical aspects of this data Pipeline flow . Here we will see implementation pa... | https://cloudyard.in/2021/12/data-pipeline-flow-snowflake-with-kinesis-glue-lambda-snowpipe-part2/ | CC-MAIN-2022-33 | en | refinedweb |
Adding Unit Tests to a C Project - NetBeans IDE Tutorial
- Requirements
- Introduction
- Install the CUnit Testing Framework
- Create the Project for the Tutorial
- Add CUnit Tests to the NetBeans Managed Project
- Run the C Unit Test
- Add Another CUnit Test
- Debug My CUnit Test
- Add a Simple Test
- Edit the C Simpl... | https://netbeans.apache.org/kb/docs/cnd/c-unit-test.html | CC-MAIN-2022-33 | en | refinedweb |
To summarize Ben's mail, we have three options presented:
* Status quo: record only commit time; never set timestamps in wc
* Simple approach: record only commit time; set timestamp to commit
time in wc if asked
* Complex approach: record mod time of file when committing; set
timestamp to commit time or to recorded mod... | https://svn.haxx.se/dev/archive-2003-06/1122.shtml | CC-MAIN-2022-33 | en | refinedweb |
<<
prosper nyamukondiwa656 Points
setting fuelLevel to the value of the intent
whats the missing part on my code
import android.os.Bundle; public class FlightActivity extends AppCompatActivity { public int fuelLevel = 0; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); ... | https://teamtreehouse.com/community/setting-fuellevel-to-the-value-of-the-intent | CC-MAIN-2022-33 | en | refinedweb |
Introduction.
Main Article.
First, let’s take a look at the way the JVM uses memory. There are two main areas of memory in the JVM – the ‘Heap’ and the ‘Permanent Generation.’ In the diagram below, the permanent generation is shown in green. The remainder (to the left) is the heap.
The permanent generation is used only... | http://www.ateam-oracle.com/visualising-garbage-collection-in-the-jvm | CC-MAIN-2019-35 | en | refinedweb |
How to use a custom SVM with HOGDescriptor, in Python
Hi,
this is a bit against the Idea here, but as its a topic i struggeled quite a bit, i’ll post it here anyways.
The problem is using a custom SVM in HOGDescriptor.detect[MultiScale]. Now, HOGDescriptor wants a float numpy array with mystery content for setSVMDetect... | https://answers.opencv.org/question/56655/how-to-use-a-custom-svm-with-hogdescriptor-in-python/ | CC-MAIN-2019-35 | en | refinedweb |
The loader registry allows applications to cherry-pick which loaders to include in their application bundle by importing just the loaders they need and registering them during initialization.
Applications can then make all those imported loaders available (via format autodetection) to all subsequent
parse and
load call... | https://loaders.gl/docs/api-reference/core/register-loaders/ | CC-MAIN-2019-35 | en | refinedweb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.