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 |
|---|---|---|---|---|---|
00001 //-*-c++-*-
00002 #ifndef INCLUDED_Thread_h_
00003 #define INCLUDED_Thread_h_
00004
00005 #ifdef PLATFORM_APERIOS
00006 # warning Thread class is not Aperios compatable
00007 #else
00008
00009 #include "Shared/Resource.h"
00010 #include <stddef.h>
00011
00012 struct timespec;
00013
00014 //! provides Thread relat... | http://www.tekkotsu.org/dox/Thread_8h-source.html | crawl-001 | refinedweb | 1,702 | 62.98 |
I am not sure of how are used the "Resource" in the Ant code, but it
makes me think of the Eclipse adapters (probably a design pattern ?):
Though it changes the tests of the appendability, the touchability,
etc... of a Resource in the ant code, the "instanceof+cast" would be
replaced by some "getAdapter". This solution... | http://mail-archives.eu.apache.org/mod_mbox/ant-dev/200811.mbox/%3CF18B1657-6F73-43F0-92D1-AE2AF4BFBC96@hibnet.org%3E | CC-MAIN-2019-51 | refinedweb | 136 | 67.86 |
.
Field 1 : start date
Field 2 : end date
Field 3 . total number of days.
Expected result:
Filed 3 = field 2 - field 1
i used the following script
<script type="text/javascript">
var startdate = new Date();
var enddate = new Date();
var days = 0;
startdate = document.getElementById('Start Date').value;
enddate = docume... | https://community.atlassian.com/t5/Jira-Service-Desk-questions/Using-Scripts/qaq-p/678738 | CC-MAIN-2019-13 | refinedweb | 631 | 60.24 |
Iteration Inside and Out, Part 2↩ ↪
February 24, 2013
You’ll probably want to have read part one first unless you’re feeling brave.
In our last episode, we learned that iteration involves two chunks of code: one generating values, and one consuming them. During a loop, these two chunks take turns in a cycle of generate... | https://journal.stuffwithstuff.com/2013/02/24/iteration-inside-and-out-part-2/ | CC-MAIN-2020-24 | refinedweb | 2,765 | 66.44 |
I frequently receive PDF files where the first page is either empty or is just a cover page for which I have no use. Can you suggest a quick and efficient way (Applescript, Service, or ???) for me to delete just that first page and save the file?
If this can be automated via Preview or Adobe Acrobat Professional, that ... | http://superuser.com/questions/385042/how-do-i-set-up-a-osx-service-to-delete-the-first-page-of-a-pdf?answertab=oldest | CC-MAIN-2015-40 | refinedweb | 756 | 70.84 |
.
String is a global object that may be used to construct String instances.
String objects may = new String(s_prim = s_also_prim = "foo"); s_obj.length; // 3 s_prim.length; // 3 s_also_prim.length; // 3 'foo'.length; // 3 "foo".length; // 3
(A string literal is denoted with single or double quotation marks.)
String obj... | https://docs.sencha.com/extjs/6.5.0/classic/String.html | CC-MAIN-2018-30 | refinedweb | 4,244 | 58.89 |
jQuery Custom Selectors - Holy Cow That Is So Badass!
One.
- <html>
- <head>
- <title>jQuery Custom Selector Test</title>
- <script type="text/javascript" src="jquery-latest.pack.js"></script>
- <script type="text/javascript">
- // Extend the jQuery object to include the
- // custom selector "hottie" for the ":" expres... | http://www.bennadel.com/blog/547-jquery-custom-selectors-holy-cow-that-is-so-badass.htm?_rewrite | CC-MAIN-2015-35 | refinedweb | 768 | 75.4 |
Buying a Small, Light Linux Notebook Computer? 1048
"I have no Windows software and will not be running any, not even via WINE. I have no
desire to go through the hassle of purchasing software I'm not going to use and
then fighting to get a token rebate that doesn't actually equate to the cost of a Windows license. Nor... | https://hardware.slashdot.org/story/03/02/17/0213201/buying-a-small-light-linux-notebook-computer | CC-MAIN-2016-30 | refinedweb | 7,613 | 72.26 |
Hello! I’m Paul Goodson, and I’m a Program Manager on the Microsoft Intune Customer Experience (CXP) Team. Today I’d like to talk about how you can do some cool things with Windows Phone 8.1 and Microsoft Intune. This blog post will focus on how to do the basics such as deploying an app or wiping a device since those t... | https://cloudblogs.microsoft.com/enterprisemobility/2014/11/04/extending-windows-phone-8-1-management-and-inventory-with-oma-uri-settings-and-mof-files/ | CC-MAIN-2018-34 | refinedweb | 1,095 | 54.83 |
If you’ve built applications using javascript and some form of Web API, you’ve probably run into the “separate models” problem.
This is where you define one model in the backend (in .NET, typically a C# class) and return instances of it via your API (serialised to JSON to send over the network).
public class CartLineIt... | https://jonhilton.net/blazor-shared-models/ | CC-MAIN-2020-40 | refinedweb | 740 | 54.46 |
Beta Draft: 2014-03-25
Developers can run and debug IMlets on the Raspberry Pi board directly from the NetBeans IDE 8.0 Beta or using the Oracle Java ME SDK 8.0 EA 2. This chapter describes how to add the board to the Device Manager in the Oracle Java ME SDK 8.0 EA and how to debug an IMlet on the board from the NetBea... | http://docs.oracle.com/javame/config/cldc/rel/8/rpi/html/getstart_rpi/debugging.htm | CC-MAIN-2016-36 | refinedweb | 1,358 | 50.33 |
#include <rte_ipsec_sa.h>
#include <rte_mbuf.h>
#include <rte_ipsec_group.h>
Go to the source code of this file.
RTE IPsec support.
librte_ipsec provides a framework for data-path IPsec protocol processing (ESP/AH).
Definition in file rte_ipsec.h.
Checks that inside given rte_ipsec_session crypto/security fields are fi... | https://doc.dpdk.org/api-20.11/rte__ipsec_8h.html | CC-MAIN-2021-39 | refinedweb | 141 | 60.41 |
Compiler Warning C4950
Visual Studio 2005
Error Message'type_or_member' : marked as obsolete
A member or type was marked as obsolete with the ObsoleteAttribute.
C4950 is always issued as an error. You can turn off this warning with the #pragma warning or /wd; see warning or /w, /Wn, /WX, /Wall, /wln, /wdn, /wen, /won (... | https://msdn.microsoft.com/en-US/library/t62ch7kw(v=vs.80).aspx | CC-MAIN-2015-32 | refinedweb | 108 | 50.77 |
This tutorial explains the fundamentals of Java enums with examples. It starts with defining enum types. Next it explains where enums can be defined – in a class file of their own, alongside another class definition, or as a member of another class. Next the
values() and
valueOf() static methods of enum are covered, al... | https://www.javabrahman.com/corejava/the-complete-java-enums-tutorial-with-examples/ | CC-MAIN-2018-34 | refinedweb | 2,605 | 54.02 |
import "github.com/cockroachdb/cockroach/pkg/util/uuid"
codec.go generator.go sql.go uuid.go uuid_wrapper.go
const ( V1 byte // Version 1 (date-time and MAC address) V3 // Version 3 (namespace name-based) V4 // Version 4 (random) V5 // Version 5 (namespace name-based) )
UUID versions.
UUID layout variants.
Size of a UU... | https://godoc.org/github.com/cockroachdb/cockroach/pkg/util/uuid | CC-MAIN-2019-47 | refinedweb | 1,208 | 58.99 |
:
Before You Begin
Currently, IntelliJ IDEA Scala plugin is in beta stage and is being actively developed. Here is the list of what you will need to try it:
- One of the latest IntelliJ IDEA EAP builds (can be downloaded from IntelliJ IDEA EAP page).
- Scala SDK should be downloaded and installed on your computer.
Sett... | http://confluence.jetbrains.com/display/SCA/Getting+Started+with+IntelliJ+IDEA+Scala+Plugin?focusedCommentId=33456959 | CC-MAIN-2014-52 | refinedweb | 935 | 76.32 |
Introduction
PDB
PGS
IntroductionPyPact provides access to PACT from Python. This is provided as a package with two modules. The package is pact and the modules are pdb and pgs. The pdb module provides access to Score, PML and PDBLib. The pgs module provides access to Score, PML, PDBLib and PGS. Only one module should ... | https://wci.llnl.gov/codes/pact/pypact.html | CC-MAIN-2018-05 | refinedweb | 2,972 | 60.41 |
setAttribute('style', ...) workaround for IE
08 January 2007
JavaScript
I knew had I heard it before but I must have completely missed it anyway and forgotten to test my new Javascript widget in IE. None of the stylesheet worked in IE and it didn't make any sense. Here's how I did it first:
var closer = document.create... | http://www.peterbe.com/plog/setAttribute-style-IE/ | CC-MAIN-2014-10 | refinedweb | 1,593 | 68.06 |
This is a very basic question, but I can't seem to find the answer anywhere. In a Scala method with no return value, how can I exit the method prematurely?
For example,
def printPositiveNumbersSum (n1: Int, n2: Int) = {
if (n1 < 0 || n2 < 0)
// How do I break out of this method here?
println(n1 + n2)
}
return
printPosi... | https://codedump.io/share/Cc0q63J96AsK/1/how-to-break-out-of-or-exit-a-void-method-in-scala | CC-MAIN-2017-47 | refinedweb | 280 | 72.46 |
04 October 2012 04:12 [Source: ICIS news]
SINGAPORE (ICIS)--The fire at ExxonMobil's complex at ?xml:namespace>
The US-based oil and gas company did not elaborate on which unit was affected.
The fire started at around 17:00 hours local time (22:00 hours GMT) on Wednesday, it said in a statement.
No injuries were report... | http://www.icis.com/Articles/2012/10/04/9600883/fire-at-us-exxonmobils-baytown-complex-limited-to-a-process-unit.html | CC-MAIN-2014-42 | refinedweb | 150 | 53.61 |
Pidgin is a multi-protocol instant messaging client.:
To install the port: cd /usr/ports/net-im/pidgin/ && make install cleanTo add the package: pkg install pidgin
cd /usr/ports/net-im/pidgin/ && make install clean
pkg install pidgin
PKGNAME: pidgin
ONLY_FOR_ARCHS: nil
NOT_FOR_ARCHS: nil
distinfo:
TIMESTAMP = 148947218... | http://www.freshports.org/net-im/pidgin/ | CC-MAIN-2017-26 | refinedweb | 1,107 | 70.29 |
Native Cross-Platform Apps with Tabris
Tabris is the first Java toolkit for the cross-platform development of native mobile applications. It combines native user experience with tailor-made, native controls and functions.
But what exactly does native mean?
The wide range of existing platforms available poses a genuine ... | http://www.infoq.com/articles/tabris | CC-MAIN-2015-14 | refinedweb | 1,949 | 56.15 |
20 February 2008 10:35 [Source: ICIS news]
?xml:namespace>
(adds updates throughout)
SINGAPORE (ICIS news)--Samsung Engineering has signed additional procurement and construction contracts with Saudi Kayan Petrochemical worth $341m (€232m) to build a polypropylene (PP) plant as part of a new petrochemicals complex at A... | http://www.icis.com/Articles/2008/02/20/9102144/samsung-wins-341m-saudi-pp-plant-deal.html | CC-MAIN-2015-06 | refinedweb | 261 | 65.96 |
The EventTarget.addEventListener() method registers the specified listener on the EventTarget it's called on.
Adds a node to the end of the list of children of a specified parent node.
.attributes is a collection of all attribute nodes registered to the specified node.
.attributes is a collection of all attribute nodes... | https://www.scala-js.org/api/scalajs-dom/0.9.5/org/scalajs/dom/raw/Attr.html | CC-MAIN-2022-33 | refinedweb | 845 | 57.37 |
working trafficlight!
Kelsey kelskjs
Ranch Hand
Joined: Nov 07, 2003
Posts: 36
posted
Feb 09, 2004 13:45:00
0
Hello. I am new to
JAVA
and I am really confused by this problem that I am trying to work on..I am supposed to write a program using BlueJ to create a stoplight with a black rectangle as its base and three ind... | http://www.coderanch.com/t/372865/java/java/Creating-working-trafficlight | CC-MAIN-2014-52 | refinedweb | 1,549 | 70.53 |
In our previous tutorial we learnt how to install python on our windows machine and how to interface Arduino with python using a simple LED control project. If you are new, I would strongly recommend you to fall back to the previous tutorial since this tutorial is a continuation of the same.
You might have already star... | https://circuitdigest.com/microcontroller-projects/interfacing-arduino-with-vpython-creating-graphics | CC-MAIN-2019-47 | refinedweb | 1,642 | 63.09 |
On Sun, Dec 27, 2020 at 11:36 AM Greg Ewing greg.ewing@canterbury.ac.nz wrote:
On 27/12/20 10:15 am, Christopher Barker wrote:
It does seem like ** could be usable with any iterable that returns pairs of objects. However the trick is that when you iterate a dict, you get the keys, not the items, which makes me think th... | https://mail.python.org/archives/list/python-ideas@python.org/message/7BO62PFYBMXYPJFB6V4YBMMK774SGBY7/ | CC-MAIN-2021-43 | refinedweb | 168 | 79.5 |
Hello!
I am starting a small text based game, I have created my set and get methods for my player class:
import java.util.*; public class player extends main{ /* * Player attributes: * Name * Weight * Morale * Money */ //PLAYER ATTRIBUTES private String name; private int weight; private int morale; private int money; p... | https://www.daniweb.com/programming/software-development/threads/425792/text-based-game-question | CC-MAIN-2017-22 | refinedweb | 356 | 60.79 |
Light on theory and long on practical application, “Mono: A Developer’s Notebook” book bypasses the talk and theory, and jumps right into Mono 1.0. Here is a PDF sample chapter of the newly released Mono book (we will have a review in a couple of weeks).
Mono: Core .NET
2004-08-12 Mono 19 Comments
This is good. But if ... | https://www.osnews.com/story/8014/mono-core-net/ | CC-MAIN-2021-31 | refinedweb | 823 | 76.22 |
Red Hat Bugzilla – Bug 642248
avogadro SIGABRT from __cxa_rethrow of boost::python::error_already_set - The _C_API object in the sip python module is invalid
Last modified: 2010-11-24 17:39:40 EST
abrt version: 1.1.13
architecture: x86_64
Attached file: backtrace
cmdline: /usr/bin/avogadro
component: avogadro
crash_fun... | https://bugzilla.redhat.com/show_bug.cgi?id=642248 | CC-MAIN-2017-13 | refinedweb | 393 | 66.64 |
/* * . */ /* * Release: "cancel" a checkout in the history log. * * - Enter a line in the history log indicating the "release". - If asked to, * delete the local working directory. */ #include "cvs.h" #include "save-cwd.h" #include "getline.h" #include "yesno.h" static const char *const release_usage[] = { "Usage: %s %... | http://opensource.apple.com/source/cvs/cvs-42/cvs/src/release.c | CC-MAIN-2016-22 | refinedweb | 1,276 | 55.03 |
This article is adapted from my online course Intro to The Serverless Framework.
There are times when you may want one Lambda in your project to invoke another Lambda. Although it is wise to keep your code modular and decoupled, thus not tying two Lambdas together as a functional unit, there are exceptions.
In the past... | https://lorenstewart.me/2017/10/02/serverless-framework-lambdas-invoking-lambdas/ | CC-MAIN-2018-51 | refinedweb | 1,098 | 57.67 |
31 Days of Mango | Day #15: The Progress Bar
Join the DZone community and get the full member experience.Join For Free
This article is Day #15 in a series called 31 Days of Mango, and was written by guest author Doug Mair. Doug can be reached on Twitter at @doug_mair or at doug.mair@gmail.com.
Any time you have a opera... | https://dzone.com/articles/31-days-mango-day-15-progress | CC-MAIN-2020-45 | refinedweb | 1,525 | 55.84 |
Go to the first, previous, next, last section, table of contents..
The functions described in this section are declared in the header file `gsl_qrng.h'.
GSL_ENOMEM.
void * state = gsl_qrng_state (q); size_t n = gsl_qrng_size (q); fwrite (state, n, 1, stream);
The following quasi-random sequence algorithms are available... | http://linux.math.tifr.res.in/programming-doc/gsl/gsl-ref_18.html | CC-MAIN-2017-39 | refinedweb | 183 | 68.6 |
Hey Guy’s, Welcome to PracticeHouse. The house is full of exercises program to increase our skill level up.
In this post I am going to share our first exercise program for python is – Create a program that takes the name and the age from the user as input and then send them a message that which year they will be 100 ye... | https://practicehouse.com/python-exercise-programs-001-create-a-python-program-to-take-user-input/ | CC-MAIN-2019-22 | refinedweb | 339 | 81.73 |
Results 1 to 1 of 1
hi there, I am writing a simple char device that generates pseudo-random numbers, the problem is when I try to read from that char device, i.e when I write this ...
- Join Date
- May 2009
- 35
writing a simple char device, help needed
I am writing a simple char device that generates pseudo-random nu... | http://www.linuxforums.org/forum/kernel/148435-writing-simple-char-device-help-needed.html | CC-MAIN-2014-52 | refinedweb | 279 | 50.43 |
Walkthrough: Creating a Basic Control Designer for a Web Server Control
This walkthrough demonstrates how to create a basic control designer to provide a design-time user interface (UI) for a Web server control.
When you create a custom ASP.NET server control, you can create an associated designer to render the control... | https://msdn.microsoft.com/en-us/library/12yydcke(v=vs.85)?cs-save-lang=1&cs-lang=fsharp | CC-MAIN-2017-51 | refinedweb | 1,344 | 53.21 |
qRegisterMetaType of custom C-style struct for usae with QSignalSpy in QTest
Hi,
1. I have C headers for driver, which contains a lot of structures. I use the structures as signals' arguments. Here is example of a such a like structure (most simple one just for example)
typedef struct { uint16_t Capabilities; } PingSrs... | https://forum.qt.io/topic/64678/qregistermetatype-of-custom-c-style-struct-for-usae-with-qsignalspy-in-qtest | CC-MAIN-2017-39 | refinedweb | 443 | 50.02 |
Hey there,
I'm trying to find out what the best way to create a simple popover is without having to fork out for it.
I want to be able to do pretty much exactly what happens on this site, wait for the popover to come down after the page has loaded, I would like something similar to that.
I don't even know if this can b... | http://community.sitepoint.com/t/how-to-create-popovers/3612 | CC-MAIN-2015-06 | refinedweb | 564 | 72.36 |
Hoops~ C I T RU C U N T Y 0 Lecanto gins- :-C basketball : HIGH FORECAST: Mostly beats Wesley- 74 sunny in the morning, *ksChapel in " regional LOW then cloudy. North quarter final 43 winds 5 to 10mph. PAGE -"I --- I PAGE 2A P , - >n ez Bank-bested by 'Band-Aid Bandit' Deputies: Heist is man's 37th incident AMY SHANNO... | http://ufdc.ufl.edu/UF00028315/00049 | CC-MAIN-2017-34 | refinedweb | 31,138 | 90.26 |
Explore Python Gensim Library For NLP
In this tutorial, we will focus on the Gensim Python library for text analysis.
Gensim is an acronym for Generate Similar. It is a free Python library for natural language processing written by Radim Rehurek which is used in word embeddings, topic modeling, and text similarity. It ... | https://machinelearninggeek.com/explore-python-gensim-library-for-nlp/ | CC-MAIN-2022-40 | refinedweb | 2,733 | 57.77 |
Your Account
by Robert Cooper
Looking at the short example:
1. The "binding" is one way, perhaps only the call to new SwingBinder(this, new LoginForm()). I would expect a binding framework to allow for propertyChangeEvents.
If you had:
LoginForm login = new LoginForm();
SwingBinder binder = new SwingBinder(this, login)... | http://archive.oreilly.com/pub/post/thoughts_on_data_binding_and_s.html | CC-MAIN-2014-35 | refinedweb | 510 | 55.74 |
This is your resource to discuss support topics with your peers, and learn from each other.
11-29-2010 02:42 PM
I have a .png, how do I set it to be the background image of a textinput? Also, how do I set the 9-cell grid to define how the .png will stretch according to the size of the textinput?
I've tried wrapping the... | https://supportforums.blackberry.com/t5/Adobe-AIR-Development/How-do-I-skin-a-TextInput-component/m-p/697915 | CC-MAIN-2016-30 | refinedweb | 1,056 | 58.08 |
This add-on is operated by Alpine Shark, LLC
Proxy Your API Calls to Stop Sharing IP Quotas
QuotaGuard
Last updated 12 December 2015
Table of Contents
QuotaGuard is an add-on for proxying API requests so they don’t originate from Heroku IP addresses.
Services like Google Maps Geocoding will now work as if you had your ... | https://devcenter.heroku.com/articles/quotaguard | CC-MAIN-2016-18 | refinedweb | 1,119 | 50.43 |
Want to see the full-length video right now for free?
You can download a cheat sheet and install instructions for all of the tools shown in this video.
In the first half of this tutorial, we'll learn about a couple of commands that let us quickly jump to files by name. In the second half, I'll demonstrate how to set up... | https://thoughtbot.com/upcase/videos/navigation-between-ruby-files | CC-MAIN-2019-13 | refinedweb | 2,802 | 71.95 |
Hey everyone. As always I'm sorry for my noobness when it comes to java, but I got a question I can't seem to find answered anywhere else on the web. I'm trying to make a simple program that takes whatever number the user types in, and makes a linked linked with the # of random numbers that the user typed. So if the us... | https://www.daniweb.com/programming/software-development/threads/421787/inserting-numbers-into-a-linkedlist | CC-MAIN-2018-13 | refinedweb | 187 | 73.27 |
This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.
Daniel Berlin wrote: > Subject: > > Re: C++ debugging progress > From: > > Daniel Berlin <dan@cgsoftware.com> > Date: > > Wed, 28 Nov 2001 02:43:43 -0500 (EST) > > To: > > Daniel Jacobowitz <drow@mvista.com> > CC: > > <libstdc++@gc... | https://www.sourceware.org/ml/gdb/2001-11/msg00321.html | CC-MAIN-2019-39 | refinedweb | 161 | 65.93 |
OCJP Practice Papers - Java Basics
OCJP Practice Papers - Java Basics : Covers all the basic questions
Which of the following method signatures is a valid declaration of an entry point in aJava application?
A. public void main(String[] args)
B. public static void main()
C. private static void start(String[] mydata)
D. ... | http://toppertips.com/ocjp-practice-papers-java-basics | CC-MAIN-2020-40 | refinedweb | 2,353 | 61.33 |
BBC micro:bit
Reed Switch
Introduction
A reed switch is a switch that is actuated by the presence of a magnetic field. When you bring a magnet close to the switch, you do the equivalent of pressing a button. Depending on the exact reed switch you are using, the switch is either opened or closed when the magnet is intro... | http://www.multiwingspan.co.uk/micro.php?page=reed | CC-MAIN-2019-09 | refinedweb | 328 | 72.26 |
tag:blogger.com,1999:blog-232339592014-10-02T00:53:14.884-04:00Medicated MoneyAfter being diagnosis with ‘Docitis,’ the medical condition of ‘one’s acquiring more and more debt!,’ my wife (28) and I (27) decided to begin a serious overhaul of our finances. This is our prescription to medicating our money, and curing ou... | http://feeds.feedburner.com/MedicatedMoney | CC-MAIN-2018-13 | refinedweb | 4,777 | 70.94 |
Hi Guys, I try to get familiar with my i.MX RT1050 EVK Board (what a beast...).
For that i would like to toggle a pin (GPIO_AD_B1_08) as fast as possible. With the following code i get to ~4.4Mhz.
What can i expect ?
Is my configuration ok, or did i miss something ?
And maybe i already didn't understand bit manipulatio... | https://community.nxp.com/thread/469064 | CC-MAIN-2019-35 | refinedweb | 224 | 60.61 |
Writing your first Django app, part 3
This document is for Django's SVN release, which can be significantly different from previous releases. Get old docs here: 0.96, 0.95.
This tutorial begins where Tutorial 2 left off. We’re continuing the Web-poll application and will focus on creating the public interface — “views.... | http://www.djangoproject.com/documentation/tutorial03/ | crawl-001 | refinedweb | 1,036 | 58.69 |
The Java Tutorials have been written for JDK 8. Examples and practices described in this page don't take advantage of improvements introduced in later releases..
Another implication of the fact that a generic class is shared among all its instances, is that it usually makes no sense to ask an instance if it is an insta... | https://docs.oracle.com/javase/tutorial/extra/generics/fineprint.html | CC-MAIN-2019-09 | refinedweb | 414 | 58.38 |
In my previous post I focused on InterBase 2020 and outlined five good reasons why InterBase should be your next database engine. In this post I want to look at five awesome additions to Delphi that help you write lean, modern and fully compliant Windows 10 applications.
To the average non-technical computer user, Wind... | https://blogs.embarcadero.com/5-unique-delphi-features-for-windows-10/ | CC-MAIN-2021-43 | refinedweb | 2,382 | 57.71 |
I'm a complete Linux beginner. Thank you.
We are making a system using Laravel.
Install Laravel5.5 on Linux and execute php artisan command
The following error will occur:
[Addition] I checked the following errors and found that Laravel 5.6 is required, but I cannot install Laravel 5.6 for the rental server. In the loc... | https://www.tutorialfor.com/questions-101162.htm | CC-MAIN-2020-40 | refinedweb | 339 | 54.93 |
Exception: java.lang.IllegalAccessException: Class sun.applet.AppletPanel can not access a member of class Hello with modifiers ""
First off: Welcome to the Java Ranch, we hope you’ll enjoy visiting as a regular
however, your name is not in keeping with our naming policy here at the ranch. Please change your display na... | http://www.coderanch.com/t/391983/java/java/access-member-class-modifiers | CC-MAIN-2013-20 | refinedweb | 281 | 64.81 |
We’ve looked at dictionaries as able to represent what something is. For example, this dictionary represents a student:
my_student = { 'name': 'Rolf Smith', 'grades': [70, 88, 90, 99] }
If we want to calculate the average grade of the student, we could create a function to do so:
def average_grade(student): return sum(... | https://blog.tecladocode.com/learn-python-day-13-objects-in-python/ | CC-MAIN-2019-26 | refinedweb | 780 | 63.39 |
SharePoint Web Services provides us a good feature that allows us to access or change the SharePoint items remotely. We can use the Web Services to add more power to our application.The following are the core features of SharePoint Web Services:
The following table contains some of the web services inside SharePoint 20... | http://www.c-sharpcorner.com/UploadFile/40e97e/sharepoint-2010-web-services/ | CC-MAIN-2015-48 | refinedweb | 668 | 51.55 |
tyler bucasas2,453 Points
exit challenge
my code keeps receiving a "Exception: EOF when reading a line" someone please let me know if I'm on the right track, thank you!
import sys while True: start = input("press 'n' or 'N' to quit") if start.lower != 'n' or 'N': print("Enjoy the show!") else: sys.exit()
2 Answers
Oszk... | https://teamtreehouse.com/community/exit-challenge | CC-MAIN-2019-30 | refinedweb | 394 | 84.27 |
Advanced: Making Dynamic Decisions and the Bi-LSTM CRF¶
Dynamic versus Static Deep Learning Toolkits¶
Pytorch is a dynamic neural network kit. Another example of a dynamic kit is Dynet (I mention this because working with Pytorch and Dynet is similar. If you see an example in Dynet, it will probably help you implement ... | https://pytorch.org/tutorials/beginner/nlp/advanced_tutorial.html | CC-MAIN-2019-43 | refinedweb | 2,027 | 50.23 |
Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
Language Bindings
Then why not put the active part inside that widget ... | https://forum.qt.io/category/15/language-bindings | CC-MAIN-2017-13 | refinedweb | 771 | 59.6 |
Created on 2019-12-17 17:51 by RunOrVeith, last changed 2021-06-22 14:45 by eric.smith. This issue is now closed.
When creating a dataclass with a default that is a field with a default factory, the factory is not correctly resolved in cls.__init__.__defaults__. It evaluates to the __repr__ of dataclasses._HAS_DEFAULT_... | https://bugs.python.org/issue39078 | CC-MAIN-2021-49 | refinedweb | 344 | 67.15 |
Odoo Help
Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
Create a dynamic list of checkboxes in a view [Closed]
The Question has been closedby
Hello,
I am learning how to develop custom ... | https://www.odoo.com/forum/help-1/question/create-a-dynamic-list-of-checkboxes-in-a-view-1965 | CC-MAIN-2017-09 | refinedweb | 306 | 73.98 |
CodePlexProject Hosting for Open Source Software
I don't know that Why RouteCollection Class in System.Web namespace don't contain MapServiceRoute method. (I am using VS2010 Ultimate, .Net framework 4).
MapServiceRoute is in namespace Microsoft.ApplicationServer.Http.Activation in the following assembly Microsoft.Appli... | https://wcf.codeplex.com/discussions/256919 | CC-MAIN-2017-13 | refinedweb | 104 | 55.2 |
Author Note: The original article was written in Feb 2002. Here I am after 9 years later. Fixed some grammar and code bugs and updated it to .NET 4.0. BTW, this article is almost reaching 2 million views.Programming Arrays in C#
Programming C# is a new self-taught series of articles, in which I demonstrate various topi... | http://www.c-sharpcorner.com/UploadFile/mahesh/WorkingWithArrays11232005064036AM/WorkingWithArrays.aspx | CC-MAIN-2016-18 | refinedweb | 3,246 | 58.08 |
Objectives
- Demystify infrared light.
- Introduce infrared sensors (IR).
- Learn how to use a IR remote control with your Arduino .
- Example sketchs.
- The switch-case statement.
Bill of materials
INFRARED REMOTE CONTROLS
We are so used to infrared remote controls that we don’t give time over to think about them. The... | http://prometec.org/58-infrared-sensors/ | CC-MAIN-2019-13 | refinedweb | 2,170 | 59.13 |
[ ]
Konstantin Shvachko commented on HADOOP-227:
--------------------------------------------
Merging of fsimage with the edits can be done using O(sqrt( number of files )) memory.
Suppose the number of files in fsimage (sorted by path name) is N.
I divide fsimage into blocks so that each block has B=sqrt(N) namespace ... | http://mail-archives.apache.org/mod_mbox/hadoop-common-dev/200612.mbox/%3C33063628.1165285404390.JavaMail.jira@brutus%3E | CC-MAIN-2016-50 | refinedweb | 263 | 70.13 |
Few weeks ago, I noticed while browsing Twitter that Ryan Cavanaugh had some issues with his microwave :
Ryan Cavanaugh@searyanc
My microwave has multiple software bugs, seemingly caused by race conditions. Sometimes cooking ends with the clock not at 00:00. Sometimes the cooling fan doesn't turn on (!). Sometimes a bu... | https://dev.to/maxime1992/building-a-reactive-microwave-for-ryan-cavanaugh-with-rxjs-3b1a | CC-MAIN-2020-40 | refinedweb | 3,513 | 53.81 |
Porting Graphical Apps to Windows CE, Part 1
Finding Unsupported Graphics APIs
Up to this point, we've been working with porting user interface elements to Windows CE. We started there because we have a big advantage in that arena: Most user interface elements are defined in the application's resource file, which provi... | http://www.developer.com/ws/pc/article.php/1573381 | CC-MAIN-2017-04 | refinedweb | 1,278 | 60.65 |
Adding Intelligence with Cognitive Services
- PDF for offline use
-
- Sample Code:
-
- Related Articles:
-
Let us know how you feel about this
0/250
last updated: 2017-02
Microsoft Cognitive Services are a set of APIs, SDKs, and services available to developers to make their applications more intelligent by adding feat... | https://docs.mono-android.net/guides/xamarin-forms/cloud-services/cognitive-services/ | CC-MAIN-2017-13 | refinedweb | 867 | 53.92 |
Preventing spamming
So I'm making a backend for a project, which manages the signing up and stuff.
I spammed a few requests as a test:
import threading,requests
def spam_req():
while True:
r=requests.post('
while True:
threading.Thread(target=spam_req).start()
And this lagged down the backend a lot, I couldn't even get... | https://replit.com/talk/ask/Preventing-spamming/146002 | CC-MAIN-2022-21 | refinedweb | 124 | 82.65 |
In this tutorial, you will learn how to read a text file and display non-duplicate words in ascending order. The given code reads the file and stored the file text into StringBuffer. The buffer object is then passed to StringTokenizer which broke the text of file into words. We have stored these words into ArrayList. A... | http://www.roseindia.net/tutorial/java/io/displayNonDuplicateWords.html | CC-MAIN-2015-06 | refinedweb | 215 | 50.94 |
Thanks for the report. I'll look into it!
When the following program is run through valgrind, it states an error:
#include <stdlib.h> #include <string.h> #include <curl/curl.h> int main() { struct curl_httppost * post = NULL; struct curl_httppost * last = NULL; char * request = malloc( 4096 ); memset( request, 1, 4096 ... | https://sourceforge.net/p/curl/bugs/1262/ | CC-MAIN-2017-13 | refinedweb | 355 | 75.2 |
Dear All,
I am new to PyRosetta and I am trying to calculate the ddG after point-mutation. The calculation logic is like the following:
1) clean the pdb file and use cartesian relax to minimize its energy
2) perform the point mutation with mutate_residue() function
3) calculate the score before and after the mutation t... | https://rosettacommons.org/comment/12580 | CC-MAIN-2022-27 | refinedweb | 571 | 50.12 |
It's not too hard to do this since Java 1.5, which added the Process and ProcessBuilder classes.
Here's an example program that starts up Firefox at a particular website:
public class OpenSite{
public static void main(String arg[]){
try { Process p = new ProcessBuilder("firefox",
"").start(); }
catch(java.io.IOExceptio... | https://beginwithjava.blogspot.com/2010/08/ | CC-MAIN-2022-40 | refinedweb | 222 | 79.6 |
How to program CYW954907EVAL-1F for data transfer between two modules using 802.11?HaTr_4568521 May 2, 2020 1:06 AM
I'm having a pair of CYW954907EVAL-1F boards and need to program them so that files stored on the SD card of one such module can be transferred to another such module using 802.11 protocol (802.11ac to be... | https://community.cypress.com/thread/54374 | CC-MAIN-2020-50 | refinedweb | 2,239 | 54.83 |
C language metaprogramming and code generation from Python
Project description
calligra is a pure Python package that tries to modelize a subset of the C langage syntax in order to reason about C types, from Python scripts. Its main goals are to do metaprogrammation and code generation. It does not parse C code itself ... | https://pypi.org/project/calligra/ | CC-MAIN-2021-25 | refinedweb | 666 | 51.34 |
12 February 2010 14:59 [Source: ICIS news]
By Nel Weddle
LONDON (ICIS news)--The European ethylene market may have passed its 2010 peak as tight supply eased amid improved cracker operations and derivative prices softened in Asia, market sources said on Friday.
Ethylene had been viewed as balanced to short, and from De... | http://www.icis.com/Articles/2010/02/12/9334477/europe-ethylene-may-have-peaked-as-tight-supply-eases.html | CC-MAIN-2013-20 | refinedweb | 558 | 58.21 |
Here are some questions about C programming which I come across and answer very frequently on programming newsgroups. All of them can be used in C++ programs as well. You might find them helpful.
I need help with my homework!If you want to use any of the functions on this page in a C++ program, see C++ Notes.
Please do... | http://home.att.net/%7Ejackklein/ctips01.html | crawl-002 | refinedweb | 3,350 | 70.23 |
22 May 2012 12:10 [Source: ICIS news]
SINGAPORE (ICIS)--?xml:namespace>
Many local distributors tested the market with higher price offers amid the more positive market sentiment, the industry sources added.
The retail prices of locally produced and imported PE grades were at yuan (CNY) 9,600-11,000/tonne ($1,517-1,738... | http://www.icis.com/Articles/2012/05/22/9562453/china-pe-pp-retail-prices-rebound-on-stronger-crude-lldpe-futures.html | CC-MAIN-2014-35 | refinedweb | 121 | 53.04 |
I need to write a function in C that reads a small text file , stores every character in a variable, and then stops reading when it reaches EOF. I assume I need to use fread();
I need precise info on my problem, I have been searching around only finding which parameters go into fread(); but no luck on how to loop until... | http://www.antionline.com/showthread.php?239870-help-with-fread-in-C | CC-MAIN-2017-51 | refinedweb | 547 | 81.12 |
Operator, oh could you help me place this call?
See, the number on the matchbook is old and faded…
- Jim Croce, “Operator (That’s Not the Way it Feels)”
When was the last time you called the telephone operator? Do operators even exist anymore? With your lists of contacts in your cell phone, Outlook, and Lync, how could... | https://blogs.technet.microsoft.com/csps/2011/04/07/how-to-export-lync-contacts-to-excel/ | CC-MAIN-2019-22 | refinedweb | 2,594 | 58.18 |
Torsten Knodt wrote:
> Hello,
> I've used LinkSerializer with the command line environment.
> In cocoon-users I had a talk with Vadimir (LinkSerializer not seeing
> links (href, src)) and he explained me how LinkSerializer works.
> Now I'm thinking about documenting this, but I think the following
> change would be the... | http://mail-archives.apache.org/mod_mbox/cocoon-dev/200208.mbox/%3C3D5B1CFC.9090205@verizon.net%3E | CC-MAIN-2017-17 | refinedweb | 172 | 65.73 |
String interpolation / format inspired by Python's f-strings.
fmt vs. &
You can use either fmt or the unary & operator for formatting. The difference between them is subtle but important.
The fmt"{expr}" syntax is more aesthetically pleasing, but it hides a small gotcha. The string is a generalized raw string literal. ... | https://nim-lang.github.io/Nim/strformat.html | CC-MAIN-2021-39 | refinedweb | 1,470 | 57.77 |
ServletContextListener example
ServletContextListener example
Before going into the details of
ServletContextListener we should understand what is ServletContext... servlet in the web
application.
ServletContextListener is a interface which
ServletContextListener example
ServletContextListener example
...;
ServletCont... | http://www.roseindia.net/tutorialhelp/comment/81125 | CC-MAIN-2014-42 | refinedweb | 1,185 | 63.39 |
React Native - View
View is the most common element in React Native. You can consider it as an equivalent of the div element used in web development.
Use Cases
Let us now see a few common use cases.
When you need to wrap your elements inside the container, you can use View as a container element.
When you want to nest ... | https://www.tutorialspoint.com/react_native/react_native_view.htm | CC-MAIN-2018-39 | refinedweb | 192 | 64.3 |
.
As usual, this article is written using literate programming. The article source is a literate Curry file, which you can load into KiCS2 to play with the code.
I want to thank all the people from the Curry mailing list who have helped me improving the code in this article.
Preliminaries
We import the module
SearchTre... | https://jeltsch.wordpress.com/2015/08/30/miu-in-curry/ | CC-MAIN-2017-09 | refinedweb | 532 | 54.7 |
Given a string S and a string T, count the number of distinct subsequences of T in S.
A subsequence of a string is a new string which is formed from the original string by deleting some (can be none) of the characters without disturbing the relative positions of the remaining characters. (ie, “ACE” is a subsequence of ... | http://www.crazyforcode.com/distinct-subsequences/ | CC-MAIN-2016-50 | refinedweb | 315 | 67.45 |
On Mon, Sep 23, 2013 at 6:45 AM, Chris Lambacher <chris at kateandchris.net>wrote: > > On Sun, Sep 22, 2013 at 10:41 PM, Zero Piraeus <z at etiol.net> wrote: > >> I may be misunderstanding the use case given in the issue, >> > > To clarify the use case, since it is my bug, this is so that the enum > values are always a... | https://mail.python.org/pipermail/python-dev/2013-September/128901.html | CC-MAIN-2021-04 | refinedweb | 471 | 72.87 |
Console
The Particle Console is your centralized IoT command center. It provides interfaces to make interacting with and managing Particle devices easy. This guide is divided into two main sections, tools for developers and tools to manage product fleets.
Note: The Console does not yet work in Microsoft Internet Explor... | https://docs.particle.io/getting-started/console/console/ | CC-MAIN-2022-27 | refinedweb | 8,366 | 61.16 |
In this tutorial we will learn about Process Whitelisting, which is part of Alcide Runtime Security (ART). We will see how DevOps and/or SecOps teams can enable the detection of unauthorized or compromised processes running on pods in their kubernetes clusters.
For this tutorial, we will leverage GitHub Actions to do o... | https://codelab.alcide.io/codelabs/runtime-codelab-05/ | CC-MAIN-2020-24 | refinedweb | 783 | 54.32 |
OK, so you want to create a windows service and you’re not a .NET guru? This is exactly what got me in trouble with my wife. It started off easy enough, but before the weekend was through, my wife was getting on to me for spending so much time at the computer. She thought that I should be spending quality time with our... | https://www.osnews.com/story/5568/a-visual-quickstart-guide-to-windows-net-services/ | CC-MAIN-2021-31 | refinedweb | 3,803 | 75.61 |
Yes, there will be internet access on the evaluation machine.
Yes, there will be internet access on the evaluation machine.
Can you provide more information?
Also, the Known Issues doc says:
- When running the solution within the VS .NET IDE please confirm that the port number assigned to the ASP .NET Development Serve... | http://channel9.msdn.com/Forums/Coffeehouse/73109-How-to-enter-the-Coden-my-way-to-PDC-Contest?page=3 | CC-MAIN-2014-41 | refinedweb | 1,292 | 59.3 |
Amazing Link in Japanese
G-DEP Associate Research Engineer 東京大学大学院工学系研究科 岡安優
Motivation
DLに夢を抱きつつ、よくわからないでいきなりTensorflow!! GPU!!
CUDA!!!!! and cuDNN!! COME ON! -> Install Error Parade.....
ということで、この記事ではこれからGPUでの高速計算を本格的に行っていきたい上記のような自分への戒めを込めた勉強用の記事となります。
Content
- GPU computing and CUDA
- Basic Hardware
- Get CUDA!
- ... | https://qiita.com/Rowing0914/items/59112d8b992156eaceef | CC-MAIN-2018-30 | refinedweb | 1,293 | 79.56 |
Is it possible to print a page without opening it? I was thinking in principal you could create a new window, write the JavaScript dynamically using write() and call the print() function. Is this possible?
Thanks.
Hello !
As far as i know, it is not possible.When you ask for printing with Javascript, you call the print... | https://www.sitepoint.com/community/t/can-you-print-a-page-without-opening-it/2784 | CC-MAIN-2017-13 | refinedweb | 1,239 | 73.68 |
Sum of Numbers coderinme
Sum of Numbers coderinme
Finding the sum of two numbers entered by the user manually would be very hectic, frustrating as well as a time taking process. To make it simple Let us now write a program in Java that reads two integers from the user in the main program. It passes these two integers a... | https://coderinme.com/sum-of-numbers/ | CC-MAIN-2019-09 | refinedweb | 180 | 56.76 |
Type: Posts; User: terryeverlast
Nevermind, I got it with using FtpGetCurrentDirectory and FtpSetCurrentDirectory
I'm trying to upload files to a ftp server using WININET(windows internet). Trying to do this recursive.
How can I get the full path of the WIN32_FIND_DATA member cFileName?
I tried...
My question, What hap... | http://forums.codeguru.com/search.php?s=8caf6c66ace0682d0a59bbd0c819b95d&searchid=8139691 | CC-MAIN-2015-48 | refinedweb | 611 | 67.35 |
Some test text!
Welcome to PDFTron. C++ C++ applications on Linux. Your free trial includes unlimited trial usage and support from solution engineers.
tar xvzf PDFNetC64.tar.gzor
tar xvzf PDFNetC.tar.gz.
CPP. Navigate into the
CPPdirectory and create a new CPP file called
myApp.cpp. This guide will assume your applicat... | https://www.pdftron.com/documentation/guides/get-started/cpp/linux/ | CC-MAIN-2019-43 | refinedweb | 141 | 64.98 |
only demonstrational - it does nothing more than that it logs an event in Site Manger -> Administration -> Event log for each creation, modification or deletion of a user or document.
The following points summarize what needs to be done in order for the connector to be functional. Most of the steps have already been p... | http://devnet.kentico.com/docs/6_0/integrationguide/enabling_the_sample_integration_connector.htm | CC-MAIN-2017-17 | refinedweb | 523 | 53.61 |
This,
and entity references..6 Summary of Presentation Elements. The content elements are the MathML elements defined in Chapter 4 Content Markup. The content elements are listed in Section 4.4 The Content Markup Elements..2.4 Content Markup Containedrows. Although the
math element is
not a presentation element, it is ... | http://www.w3.org/TR/2003/WD-MathML2-20030411/chapter3.html | CC-MAIN-2015-18 | refinedweb | 2,167 | 53.71 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.