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 |
|---|---|---|---|---|---|
.
#include <fstream>
#include <iomanip>
#include <stdlib.h>
using namespace std;
typedef unsigned char BYTE;
typedef unsigned long DWORD;
void DumpMemory ( const BYTE* pMem, const size_t sz, const char* pFile) {
DWORD dw;
//
// Try to remove files that have the same name
//
_unlink ( pFile );
ofstream os;
os.open ( pFi... | https://www.experts-exchange.com/questions/21901440/memory-dump.html | CC-MAIN-2017-51 | refinedweb | 844 | 62.38 |
31 May 2011 17:26 [Source: ICIS news]
LONDON (ICIS)--Zaklady Azotowe Pulawy (ZAP) will push ahead with a plan to build a zloty (Zl) 3bn ($1.1bn, €750m) power plant having found a new joint-venture partner for the project, the Polish fertilizer, melamine and caprolactam (capro) producer said on Tuesday.
ZAP initially ho... | http://www.icis.com/Articles/2011/05/31/9464912/polands-zap-finds-new-partner-for-power-plant-project.html | CC-MAIN-2015-18 | refinedweb | 251 | 61.56 |
package org.springframework.scheduling.quartz does not exist
package org.springframework.scheduling.quartz does not exist Hi,
I am using Spring 4.1.1 in my web application and its giving following error:
error: package org.springframework.scheduling.quartz does not exist
What
package javax.ws.rs does not exist
package ... | http://www.roseindia.net/tutorialhelp/comment/69476 | CC-MAIN-2015-35 | refinedweb | 2,066 | 51.65 |
We’ve seen a simple example of how to add an event handler in WPF. However, a glance at the list of events available for any object shows that WPF provides a lot of flexibility in how you handle a user action such as pressing a Button with a mouse click. We’ll have a look at some of those features here.
First, we need ... | https://programming-pages.com/2012/01/19/wpf-event-handling-anatomy-of-a-button-click/ | CC-MAIN-2018-26 | refinedweb | 1,974 | 70.33 |
Neural networks for regression with autograd
Posted November 18, 2017 at 02:20 PM | categories: autograd, python | tags: | View Comments
Today we are going to take a meandering path to using autograd to train a neural network for regression. First let's consider this very general looking nonlinear model that we might f... | http://kitchingroup.cheme.cmu.edu/blog/2017/11/18/Neural-networks-for-regression-with-autograd/ | CC-MAIN-2020-05 | refinedweb | 1,486 | 69.28 |
MonkeyC
Sublime Text 3 syntax files for Garmin MonkeyC language for ConnectIQ platforms
Details
Installs
- Total 217
- Win 95
- OS X 95
- Linux 27
Readme
- Source
- raw.githubusercontent.com
MonkeyC
This is a Sublime Text language definition and plugin for the MonkeyC language. MonkeyC is a Garmin-developed language fo... | https://packagecontrol.io/packages/MonkeyC | CC-MAIN-2019-35 | refinedweb | 1,018 | 56.15 |
Last month’s column introduced java.nio, one of the most significant new packages found in Java 2 Standard Edition Version 1.4. java.nio finally adds high-performance I/O features — memory-mapped files, non-blocking I/O, and managed buffers — to Java.
Last month’s column focused on Buffer, a new set of classes that hol... | http://www.linux-mag.com/id/1212/ | CC-MAIN-2016-44 | refinedweb | 2,478 | 58.69 |
Hi again,
I´ve one entity in which a start and a end day is stored. Now I want to store a status for each day in another entity. Following an example:
Entity A:
start date: 01.10.2012
end date: 03.10.2012
No I´d like to create for each date from the 1st to the 3rd a row in Entity B.
So the result in Entity B should be:... | https://my.webratio.com/forum/question-details/how-to-calculate-dates-between-start-and-end-point;jsessionid=077B53396149C00DA0A90036DFF58882?nav=43&link=oln15x.redirect&kcond1x.att11=437 | CC-MAIN-2021-17 | refinedweb | 482 | 74.49 |
In this tutorial I am going to show a simple Tree data structure implemented in Java.We will see how to create Tree data structure and also a mechanism of traversing the tree in a very easy way. The Tree which we will create in this tutorial will be the java representation of the image shown below.
Tree Node
Each node ... | http://programtalk.com/java/java-tree-implementation/ | CC-MAIN-2017-09 | refinedweb | 585 | 64.61 |
replace-attoparsec
Find, replace, and split string patterns with Attoparsec parsers (instead of regex)
See all snapshots
replace-attoparsec appears in
replace-attoparsec-1.4.4.0@sha256:4788d229537540a44cde551e1fc5ec8fee201c0c199f122824d7a63a9f44b07d,2075
Module documentation for 1.4.4.0
- Replace
- Replace.Attoparsec
r... | https://www.stackage.org/nightly-2021-03-01/package/replace-attoparsec-1.4.4.0 | CC-MAIN-2021-17 | refinedweb | 359 | 53.98 |
EXIT(2) BSD System Calls Manual EXIT(2)
NAME
_exit -- terminate the calling process
SYNOPSIS
#include <unistd.h> void _exit(int status);
DESCRIPTION
The _exit() function terminates a process, with the following conse- quences: o All of the descriptors that were open in the calling process are closed. This may entail de... | http://www.manpagez.com/man/2/_exit/ | CC-MAIN-2015-06 | refinedweb | 255 | 63.09 |
Since some time addr2line, and libbfd as used by perf, fail to associate the symbol name to inlined frames. Note the "??" in the output of addr2line in the reproducer below:
$ cat test.cpp
#include <cmath>
#include <complex>
#include <iostream>
#include <random>
using namespace std;
int main()
{
uniform_real_distributi... | https://sourceware.org/bugzilla/show_bug.cgi?format=multiple&id=23715 | CC-MAIN-2022-33 | refinedweb | 479 | 60.21 |
Occasionally, you need to send messages to all users on your system. Warning users of planned downtime for hardware upgrades is a good example. Sending e-mail to each user individually is extremely time consuming and wasteful; this is precisely the kind of task that e-mail aliases and mailing lists were invented for. K... | http://etutorials.org/Linux+systems/red+hat+linux+bible+fedora+enterprise+edition/Part+III+Administering+Red+Hat+Linux/Chapter+11+Setting+Up+and+Supporting+Users/Sending+Mail+to+All+Users/ | CC-MAIN-2018-30 | refinedweb | 447 | 69.31 |
sleeped connections return to pool after some time in jboss as 7.1Ramesh Chokkapu Jun 11, 2013 1:27 AM
Hi Good Morning,
My pool stat :
Here 12 connections are in Active. but only max 2 connection are working, remaining 10 conncetions are in sleep.
i need these sleeped connections return to pool after some time.
what i ... | https://developer.jboss.org/thread/229234 | CC-MAIN-2018-17 | refinedweb | 580 | 60.61 |
Am Donnerstag, 9. März 2006 20:17 schrieb Henrique de Moraes Holschuh: > Or do you want to do this to avoid an ifeq..endif block in debian/rules > files that are currently required to detect if --host should be issued to > configure ? Personally just because I don't like the currently different naming of native-to-arch... | https://lists.debian.org/debian-devel/2006/03/msg00343.html | CC-MAIN-2016-30 | refinedweb | 140 | 67.35 |
A brand new alpha of the breath-taking KDE 3.1 development branch has been announced. This release sports everything from wonderful new eye candy to tons of popular new features including new and exciting "easter eggs" (aka bugs) just waiting to be discovered. Remember, this is not a stable release -- those of you conc... | https://dot.kde.org/comment/96087 | CC-MAIN-2016-44 | refinedweb | 2,273 | 76.11 |
Diagnosing Memory Leaks
Mike Hall
Microsoft Corporation
Steve Maillet
Entelechy Consulting
October 15, 2002
Summary: Looks at the tools and functionality built into Microsoft® Windows® CE .NET 4.1 that can be used to track memory leaks in a custom operating system, specifically, debug zones, Remote Performance Monitor,... | https://msdn.microsoft.com/en-us/library/aa459167.aspx | CC-MAIN-2015-27 | refinedweb | 3,400 | 53 |
a JAVA interface for a MAX patcher
Does anyone know if it’s possible to build a Java interface, interacting with a Max patcher?
I mean, I have a Max patcher, on which you can configure some values. I want to build a Java interface, so that the user can configure the patcher via the Java interface.
It involves that the ... | http://cycling74.com/forums/topic/a-java-interface-for-a-max-patcher/ | CC-MAIN-2014-42 | refinedweb | 391 | 72.87 |
Hey all,
I'm new to Jython, and I've started working on the bz2 module implementation. I've looked at the PortingPythonModulesToJython wiki, and I was following that, but I can't seem to get my bz2 module to be recognized:
Traceback (most recent call last):
File "test_bz2.py", line 11, in <module>
import bz2
ImportErro... | https://sourceforge.net/p/jython/mailman/attachment/750813.84690.qm@web111308.mail.gq1.yahoo.com/1/ | CC-MAIN-2016-36 | refinedweb | 166 | 82.44 |
Getting Started with JasperReport
JasperReport is a popular reporting tool used by the Java programmer. Interestingly, what started as Teodor Danciu's (creator of JasperReport library, 2001) need for an inexpensive reporting solution, has today bloomed into a full-fledged reporting library. This facilitated the need fo... | http://www.developer.com/java/getting-started-with-jasperreport.html | CC-MAIN-2014-42 | refinedweb | 1,404 | 51.14 |
25 October 2013 23:00 [Source: ICIS news]
HOUSTON (ICIS)--Here is Friday’s end of day ?xml:namespace>
CRUDE: Dec WTI: $97.85/bbl, up 74 cents; Dec Brent: $106.93/bbl, down 6 cents
NYMEX WTI crude futures finished up on pre-weekend short covering, extending the correction from a sell-off earlier in the week as a result ... | http://www.icis.com/Articles/2013/10/25/9719253/EVENING-SNAPSHOT---Americas-Markets-Summary.html | CC-MAIN-2014-52 | refinedweb | 308 | 59.5 |
<SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: black; FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'">The idea of drive through Thal desert was floated by few friends at the time of Cholistan desert Rally. The intention was to see how feasible Thal would b... | https://www.pakwheels.com/forums/general-4x4-discussion/189135-ijc-drive-through-thal-dxpedition-4 | CC-MAIN-2016-50 | refinedweb | 687 | 78.48 |
# How to build a high-performance application on Tarantool from scratch

I came to Mail.ru Group in 2013, and I required a queue for one task. First of all, I decided to check what the company had already got. They told me the... | https://habr.com/ru/post/530002/ | null | null | 9,626 | 62.54 |
26 August 2009 23:59 [Source: ICIS news]
LONDON (ICIS news)--Polyethylene (PE) prices have strengthened this week due to tight supply and import pressure in both northern and southern Africa, market participants said on Wednesday.
According to global chemical market intelligence service ICIS pricing, low density PE (LD... | http://www.icis.com/Articles/2009/08/26/9243071/pe-firms-across-africa-due-to-tight-supply-import-pressure.html | CC-MAIN-2015-06 | refinedweb | 262 | 58.42 |
CGTalk
>
Software Specific Forums
>
Autodesk Maya
>
Maya Programming
> Maya API: QT Mouse Hover
PDA
View Full Version :
Maya API: QT Mouse Hover
migusan76
11-08-2010, 05:27 AM
Hi, I just wanted to share my code for a partial working mouse hover code using QT and maya. It was something I was working on and might not eve... | http://forums.cgsociety.org/archive/index.php/t-933209.html | CC-MAIN-2014-42 | refinedweb | 596 | 57.98 |
I have worked through my first Velocity project today, and I would like to blog about the steps necessary to use caching.
First, you should read my previous post and install AppFabric on your machine.
I used Visual Studio 2010 beta 2 to create the solution. You can download the solution here. I create WPF project in or... | http://www.dotnetspeak.com/net/getting-started-with-velocity-appfabric-caching-library/ | CC-MAIN-2022-21 | refinedweb | 466 | 65.01 |
Dive into the world of social Web development to explore the new features released by the Facebook platform, and the new timeline interface. Here’s a look at how adding a social aspect to your Web application can be good for how it evolves.
Most of us spend a major chunk of our day on Facebook. The platform has introdu... | http://opensourceforu.com/2012/05/timeline-apps-a-new-era-in-developing-facebook-apps/?shared=email&msg=fail | CC-MAIN-2018-05 | refinedweb | 1,380 | 56.39 |
I have started learning C (so, you know.. pointers).
I have this code:
#include <stdio.h>
#include <string.h>
int main (int argc, char* argv[])
{
char c = 'c';
char* cptr = &c;
printf("c = %c\n", c);
printf("*cptr = %c\n", *cptr);
printf("c address = %p\n", &c);
}
c = c
*cptr = c
c address = 0x7fff0217096f
c
Isn't [the... | https://codedump.io/share/79xM4vbnFguR/1/value-of-pointer-in-c | CC-MAIN-2021-25 | refinedweb | 160 | 56.76 |
I’ve tried to use the relatively new Array at method MDN in my front-end code and the app crashes in Safari and older browsers where it is not supported. Even though there is a polyfill for it (according to MDN) this doesn’t seem to be present in the ecmascript package that I’m using in my project, hence it is not work... | https://forums.meteor.com/t/polyfill-for-array-at-method/57168 | CC-MAIN-2022-05 | refinedweb | 116 | 61.19 |
Patent application title: OPERATING A SERVICE ON A NETWORK AS A DOMAIN NAME SYSTEM SERVER
Inventors:
Dean Drako (Los Altos, CA, US)
Zachary Levow (Mountain View, CA, US)
Assignees:
BARRACUDA NETWORKS INC.
IPC8 Class: AG06F1730FI
USPC Class:
726 5
Class name: Access control or authentication network credential
Publicati... | http://www.faqs.org/patents/app/20100011420 | CC-MAIN-2014-23 | refinedweb | 3,541 | 51.18 |
26. Writing our own Classes¶
A class is a type. Up until this point in the book we’ve seen many classes and objects — Button, Canvas, Turtle, Random, Timer, etc. are all classes that we’ve used, but we’ve not yet designed our own classes (other than GUI windows). In this chapter we’ll learn to design our own (non-GUI) ... | http://7-fountains.com/7FD/ThinkSharply/ThinkSharply/classes_and_objects_I.html | CC-MAIN-2018-51 | refinedweb | 2,821 | 69.52 |
When you continuously index timestamped documents into Elasticsearch, you typically use a data stream so you can periodically roll over to a new index. This enables you to implement a hot-warm-cold architecture to meet your performance requirements for your newest data, control costs over time, enforce retention polici... | https://www.elastic.co/guide/en/elasticsearch/reference/7.15/getting-started-index-lifecycle-management.html | CC-MAIN-2021-49 | refinedweb | 1,459 | 53.81 |
On Sat, May 23, 2009 at 9:20 AM, Michael Niedermayer <michaelni at gmx.at> wrote: > On Fri, May 22, 2009 at 11:13:44PM -0300, Ramiro Polla wrote: >> On Fri, May 22, 2009 at 9:24 PM, Ramiro Polla <ramiro.polla at gmail.com> wrote: >> [...] >> > Applied with the #endif comment as /* !HAVE_X86_64 */ >> >> > +#if ARCH_X86_... | http://ffmpeg.org/pipermail/ffmpeg-devel/2009-May/075850.html | CC-MAIN-2016-22 | refinedweb | 155 | 78.35 |
Component family Databases/Amazon Redshift Function This component runs a specified query in Amazon Redshift and then unloads the result of the query to one or more files on Amazon S3. Purpose This component allows you to unload data on Amazon Redshift to files on Amazon S3. database connection fields that follow are c... | https://help.talend.com/reader/mjoDghHoMPI0yuyZ83a13Q/uxr7cuoa1W_q0khn_1B3pw | CC-MAIN-2020-16 | refinedweb | 681 | 63.59 |
On Thu, 8 Apr 2004, Simon Peyton-Jones wrote: > You've become a very sophisticated Haskell programmer! Thank you, but I think it may only seem that way. I'll post a complete program up somewhere and they we'll see where I really stand. Among other things, I don't yet have a feel for idiom/style (e.g. when do you define... | http://www.haskell.org/pipermail/haskell/2004-April/013935.html | CC-MAIN-2014-23 | refinedweb | 532 | 59.43 |
and BeOS, and runs on Mac OS X using Apple's X11 server. It was originally created for the GIMP, a popular image-manipulation program, and later became the toolkit for GNOME, the GNU Network Object Model Environment.
In Part 1 of this article, published in TPJ last month, I gave a brief overview of the event-based pro... | http://www.drdobbs.com/web-development/programming-graphical-applications-with/184416069 | CC-MAIN-2016-30 | refinedweb | 2,819 | 51.68 |
"prs05@prosa.com" wrote:
> Hi!
> I'd like to know the number of currently active threads of a servlet from within that
very servlet... I don't know if I've explained well: I'd like to make a method that counts
the active threads, to know in a certain moment how many "servlet copies" are running. I'll
use this da<tum to... | http://mail-archives.apache.org/mod_mbox/tomcat-users/200110.mbox/%3C3BCC7DD6.4079CDC3@cybershop.ca%3E | CC-MAIN-2014-52 | refinedweb | 170 | 71.04 |
Created on 2016-09-16 07:17 by Sébastien de Menten, last changed 2016-09-17 18:24 by rhettinger. This issue is now closed.
It would be useful to be able to clear a single item in the cache of a lru_cache decorated function.
Currently with:
@lru_cache
def foo(i):
return i*2
foo(1) # -> add 1 as key in the cache
foo(2) #... | https://bugs.python.org/issue28178 | CC-MAIN-2020-34 | refinedweb | 219 | 72.66 |
Greetings masters of coding!
I must begin by noting that I am fairly new to all of this, but I learn quickly and appreciate any advice. I am in my second quarter of C/C++ programming and I ran into this little doozy.
What seemed simple enough, I was tasked with writing a program that reads in state abbreviations and sp... | https://cboard.cprogramming.com/cplusplus-programming/139210-program-seems-right-but-not-executing-properly-cplusplus.html | CC-MAIN-2017-30 | refinedweb | 372 | 64.44 |
I’m pleased to let you all know that Microsoft released the first beta version of the next version of Visual Studio, Visual Studio Team System and Visual Studio Team Foundation Server. This of course also includes the next version of the .NET Framework and most of the new BCL features we’ve been blogging about in the l... | https://blogs.msdn.microsoft.com/bclteam/2007/04/20/visual-studio-code-name-orcas-beta-1-has-been-released-inbar-gazit/ | CC-MAIN-2016-36 | refinedweb | 1,162 | 65.73 |
Smart Digital Magnetometer HMR2300 - Digital Magnetometer HMR2300 The Honeywell HMR2300 is a three-axis
TRANSCRIPT
Smart Digital Magnetometer HMR2300 The Honeywell HMR2300 is a three-axis smart digital magnetometer to detect the strength and direction of an incident magnetic field. The three of Honeywellsometers config... | https://vdocuments.site/smart-digital-magnetometer-hmr2300-digital-magnetometer-hmr2300-the-honeywell.html | CC-MAIN-2019-18 | refinedweb | 4,159 | 50.87 |
4Pcs LED Solar Powered Fence Wall Lights Step Path Decking Garden 3 Colors Lamp. AU $14.66 to AU $15.66. 12Pcs Solar Powered LED Garden Lights Outdoor Automatic Patio Yard Lawn Lamp AU. AU $12.69 to AU $37.99. LED Solar Lights Street Flood Light Motion Sensor Remote Outdoor Garden Lamp 90W. AU $60.95.Get a Quote
I used... | https://www.gierman.pl/77d8b844c1a62cc194d3329b0215d6d8 | CC-MAIN-2021-39 | refinedweb | 1,068 | 64.91 |
Python's generators sure are handy
While rewriting some older code today, I ran across a good example of the clarity inherent in Python's generator expressions. Some time ago, I had written this weirdo construct:
for regex in date_regexes: match = regex.search(line) if match: break else: return # ... do stuff with the ... | http://blog.cdleary.com/2008/01/pythons-generators-sure-are-handy/ | CC-MAIN-2017-30 | refinedweb | 399 | 71.04 |
public class Solution { public ListNode deleteDuplicates(ListNode head) { ListNode newHd = new ListNode(0);//0 or whatever number you like, does not matter ListNode res = newHd;//Copy of newHd, because newHd is gonna change during the iteration. We are going to return res.next. ListNode next = head;//Assign head to nex... | https://discuss.leetcode.com/topic/51480/aug-short-and-clean-and-click-here-java | CC-MAIN-2018-05 | refinedweb | 162 | 66.94 |
Google, no matter which coding contest you’re participating in or practising for, there’s a high chance that the IDE will tell you that your program encountered a runtime error.
The error message simply says “Sample Failed: RE“. And even when you click on the eye button, it says “RE“, which means Runtime Error. It does... | https://www.techrbun.com/google-coding-competitions-runtime-error-solved/ | CC-MAIN-2022-21 | refinedweb | 1,025 | 72.56 |
Wiki
SCons / GregNoel / OptionsAndConfigure
This is not in any way ready for review and comment, but Steven is working on dealing with command-line flags that haven't been specified in advance, and that part is mostly done, so I'm publishing this so he can look at it for ideas. Please don't edit this; I'll update it wh... | https://bitbucket.org/scons/scons/wiki/GregNoel/OptionsAndConfigure?highlight=SubstitutionEnvironment | CC-MAIN-2015-35 | refinedweb | 3,303 | 54.52 |
Alan Kay Receives ACM Turing Award 120
TheAncientHacker writes "Alan Kay, the creator of the Smalltalk computer language (and a good deal of what we call Object Oriented Programming) is the winner of this year's Turing Award from the ACM. Kay is also the co-winner of this year's Charles Stark Draper Prize. For more, ch... | http://developers.slashdot.org/story/04/04/22/1243254/alan-kay-receives-acm-turing-award | CC-MAIN-2014-52 | refinedweb | 2,225 | 67.45 |
Writing to a file using a MemoryMappedFile in C# .NET
November 13, 2015 Leave a comment
You can use memory-mapped files to map a file to a place in memory that multiple processes can access. The necessary objects reside in the System.IO.MemoryMappedFiles namespace.
The following example will create a MemoryMappedFile o... | https://dotnetcodr.com/2015/11/13/writing-to-a-file-using-a-memorymappedfile-in-c-net/ | CC-MAIN-2022-40 | refinedweb | 383 | 56.66 |
In today’s exercise, our goal is to write an algorithm that, given an alphabet and a length, generates all possible sequences that do not have two adjacent indentical subsequences. Let’s get started, shall we?
Some imports:
import Control.Monad import Data.List
We build up the list of possible sequences from the end. W... | https://bonsaicode.wordpress.com/2012/12/11/programming-praxis-stepwise-program-development-a-heuristic-algorithm/ | CC-MAIN-2016-50 | refinedweb | 227 | 54.42 |
This thread has now been closed to direct all further updates about this release onto the latest announcement:
This preview release of Xamarin Studio introduces a new type system based on Roslyn and other important changes such as a revamped project model, a new visual style, and better support for F#. We want to show ... | https://forums.xamarin.com/discussion/comment/159795/ | CC-MAIN-2019-47 | refinedweb | 1,668 | 74.39 |
Microsoft.
Office. Tools. Ribbon Namespace
The Microsoft.Office.Tools.Ribbon namespace contains components, controls, and supporting collections, classes, and enumerations that enable you to customize the Ribbon in the user interface (UI) of several Microsoft Office applications.
Classes
Interfaces
Enums
Delegates
Rema... | https://docs.microsoft.com/en-us/dotnet/api/microsoft.office.tools.ribbon?view=vsto-2017 | CC-MAIN-2020-45 | refinedweb | 217 | 50.26 |
Member Since 2 Years Ago Livewire Get The Auth::user()->id
Sorry it was my bad i have forget to add user_id to the fillabel array in the model
Replied to Livewire Get The Auth::user()->id
yes 100% sure that user logged in and i haveing the following errror: "SQLSTATE[HY000]: General error: 1364 Field 'user_id' doesn't ... | https://laracasts.com/@Norbertho | CC-MAIN-2020-50 | refinedweb | 3,331 | 51.18 |
July 2017
Volume 32 Number 7
[Machine Learning]
Introduction to the Microsoft CNTK v2.0 Library
Disclaimer: CNTK version 2.0 is in Release Candidate mode. All information is subject to change.
The Microsoft Cognitive Toolkit (CNTK) is a powerful, open source library that can be used to create machine learning predictio... | https://docs.microsoft.com/en-us/archive/msdn-magazine/2017/july/machine-learning-introduction-to-the-microsoft-cntk-v2-0-library | CC-MAIN-2020-05 | refinedweb | 4,285 | 55.74 |
Often I find myself having a expression where a division by int is a part of a large formula. I will give you a simple example that illustrate this problem:
int a = 2;
int b = 4;
int c = 5;
int d = a * (b / c);
In this case, d equals 0 as expected, but I would like this to be 1 since 4/5 multiplied by 2 is 1 3/5 and wh... | http://www.dlxedu.com/askdetail/3/302820d3a2c1a4bde0fa2fa486ff913c.html | CC-MAIN-2018-47 | refinedweb | 1,070 | 62.27 |
5D III Cinema DNG not importing correctlyloopyumpa Oct 31, 2013 7:05 PM
When I import 5D III cinemadng's into Premiere 7.1, the footage comes in with a weird pink overlay. It's not just a tint shift, but some sort of color distortion. After Effects and Photoshop both read the file just fine via Camera Raw. Is anyone el... | https://forums.adobe.com/thread/1326153 | CC-MAIN-2017-22 | refinedweb | 2,890 | 59.03 |
This recipe provides an easy-to-use, decorator-based solution to the problem of using functions from other languages, especially C, in Python. It takes advantage of Python's new annotations to provide simple type checking and automatic conversion. If you like it, you may also want to check out my C structure decorator
... | https://code.activestate.com/recipes/576731-c-function-decorator/ | CC-MAIN-2022-05 | refinedweb | 209 | 53.81 |
only just found out that i could and how to execute python code on my server, and only just found out i can execute python code in the terminal app in os x; all you've got to do is type python, and you're away.
anyway, just dipping my toes into python... what is python good and bad for? (i know the syntax is nice and c... | https://www.sitepoint.com/community/t/python-just-getting-toes-wet-pros-cons/96229 | CC-MAIN-2017-09 | refinedweb | 1,820 | 72.05 |
Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Swing / AWT / SWT:
Swing / AWT / SWT
painting a custom JComponent on a JLayeredPane
alex schulze
Greenhorn
Posts: 7
posted 12 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
EDIT: this is an... | https://coderanch.com/t/425740/java/painting-custom-JComponent-JLayeredPane | CC-MAIN-2021-10 | refinedweb | 1,263 | 54.83 |
AudioPlayerSwift alternatives and similar libraries
Based on the "Audio" category
AudioKit9.8 8.9 L2 AudioPlayerSwift VS AudioKitPowerful audio synthesis, processing and analysis, without the steep learning curve.
SwiftySound7.0 3.0 L5 AudioPlayerSwift VS SwiftySoundSwifty Sound is a simple library that lets you play s... | https://swift.libhunt.com/audioplayerswift-alternatives | CC-MAIN-2020-24 | refinedweb | 737 | 51.75 |
Go's object-oriented model revolves around interfaces. I personally believe that interfaces are the most important language construct and all design decisions should be focused on interfaces first.
In this tutorial, you'll learn what an interface is, Go's take on interfaces, how to implement an interface in Go, and fin... | https://code.tutsplus.com/tutorials/how-to-define-and-implement-a-go-interface--cms-28962 | CC-MAIN-2021-21 | refinedweb | 1,558 | 55.44 |
Sergey Nivens - Fotolia
Spring MVC tutorial: How Spring Boot web MVC makes Java app development easy
Spring Boot has provided an opinionated approach to developing microservices. In this Spring MVC tutorial, we show how Spring Boot has changed Java web development as well.
There's a great deal of talk about how Spring ... | https://www.theserverside.com/tutorial/Spring-MVC-tutorial-How-Spring-Boot-aids-Java-web-development | CC-MAIN-2019-30 | refinedweb | 1,275 | 52.7 |
Perhaps I misunderstand the 'scala script' option (it doesn't seem to be documented in the product help), but I tried creating a new file with just a function definition like:
def foo(msg: String) {}
or even just a single line file like:
println("Hello world")
...but when trying to compile I get an compilation error:
s... | https://intellij-support.jetbrains.com/hc/en-us/community/posts/205999589-How-to-use-scala-script- | CC-MAIN-2020-16 | refinedweb | 317 | 62.17 |
Simulating Rails like Environments in Django
I was always a fan of Rail environments and as part of some work upgrading this site to the latest version of Django I decided to clean up my whole deployment process. Part of that involved replacing everything in settings.py with the following snippet of code:
ENV = "develo... | http://morethanseven.net/2008/11/01/simulating-rails-environments-django/ | crawl-002 | refinedweb | 304 | 51.68 |
Dr. GUI .NET 1.1 #3
June 17, 2003
Summary: Dr. GUI shows the canonical polymorphism example, an application that derives drawable objects from a common abstract base class. He also demonstrates using an interface, and a few design patterns to factor out common code when implementing an interface or abstract base class.... | https://msdn.microsoft.com/en-us/library/aa302310.aspx | CC-MAIN-2018-51 | refinedweb | 12,113 | 61.97 |
ES6 Features That Can't Be Ignored (part 1)
Now that we have some great starter projects for Angular 2 and React, it's easy to hit the ground running with ES6. I summed up the features that will change the way JavaScript Developers code. You can get a full Angular 2 environment here or you can go to es6fiddle or babelj... | https://javascripttuts.com/es6-features-can-make-life-easy/ | CC-MAIN-2019-26 | refinedweb | 752 | 55.24 |
CLR via C#, Second Edition
Programming Microsoft Visual C# 2005: The Language
Programming Microsoft ASP.NET 2.0 Applications: Advanced Topics
Programming Microsoft ADO.NET 2.0 Applications: Advanced Topics
Programming Microsoft ASP.NET 2.0 Core Reference
Format: Paperback
Author: Francesco Balena
ReleaseDate: 10 May, 2... | http://www.linux-directory.com/programming/Programming-Microsoft-Visual-C-2005-The-Base-Class-Library-Pro-Developer.shtml | crawl-001 | refinedweb | 513 | 67.15 |
Create a HTML Mashup in SAP Cloud for Customer to Consume a Google Map API and combines it with Cloud Application Studio: Add Facet (Embedded Component) based on BO Extensions by @stefankrauth.
This will be the final screen of this tutorial:
The outline for this document will be:
1. Create a Business Object Extension ... | https://blogs.sap.com/2017/08/28/html-mashup-for-google-maps-api-in-sap-cloud-for-customer-c4c-a-step-by-step-tutorial/ | CC-MAIN-2018-43 | refinedweb | 2,156 | 68.67 |
this code GLCD.DrawLine(31,31,31,0); creates a vertical line not a horizontal
This may be a really silly question. Is there a document that shows all the commands for these glcd screens? Or do you just have to pick apart the examples. IV got my screen working but im having trouble getting complex functions to materiali... | http://forum.arduino.cc/index.php?topic=56705.msg464175 | CC-MAIN-2015-11 | refinedweb | 457 | 68.26 |
In the next few posts, we will be working with Isolated Storage on the phone. In this post, we are going
to cover the basics of saving to, and reading from storage. As we move forward we will modify this application with more complexity and best practices.
If you have every used the System.IO namespace in your .Net pro... | https://thesociablegeek.com/uncategorized/wp7-saving-to-isolated-storage/ | CC-MAIN-2022-40 | refinedweb | 538 | 55.95 |
.net; 27 28 import java.io.*; 29 30 /** 31 * This class provides input and output streams for telnet clients. 32 * This class overrides write to do CRLF processing as specified in 33 * RFC 854. The class assumes it is running on a system where lines 34 * are terminated with a single newline <LF> character. 35 * 36 * Th... | http://checkstyle.sourceforge.net/reports/javadoc/openjdk8/xref/openjdk/jdk/src/share/classes/sun/net/TelnetOutputStream.html | CC-MAIN-2017-51 | refinedweb | 632 | 68.2 |
AWT List | Adding and Deleting list
AWT in java
The Standard for of AWT is Abstract Window Toolkit. It is Java‘s original platform-dependent windowing, graphics, and user-interface widget toolkit preceding Swing. The java.awt package provides classes for AWT API such as TextField, Label, TextArea, RadioButton, CheckBox... | http://www.letustweak.com/basic-stuffs/awt-list-adding-deleting-list/ | CC-MAIN-2019-30 | refinedweb | 493 | 67.55 |
Introduction
In this article we would be talking about implementing TDD (Test-Driven Development) in a WebAPI for a blog, Excited? But before we dive into all the coding, we would talk a little about TDD.
So what is Test-Driven Development?
I actually like the definition from Wikipedia, appears to give the whole pictur... | https://dev.to/mrsimi/build-a-tdd-restful-webapi-for-a-blog-using-dotnet-core-5fo8 | CC-MAIN-2020-50 | refinedweb | 1,684 | 72.05 |
Using Crawlera with Splash is possible, but you have to keep some things in mind before integrating them.
Unlike a standard proxy, Crawlera is designed for crawling and it throttles requests speed to avoid users getting banned or imposing too much load on websites. This throttling translates to Splash being slow when a... | https://support.scrapinghub.com/support/solutions/articles/22000188428-using-crawlera-with-splash-scrapy | CC-MAIN-2018-51 | refinedweb | 698 | 62.88 |
This article shows how to run a system command from Python and how to execute another program.
Use
subprocess.run()to run commands
Use the subprocess module in the standard library:
import subprocess subprocess.run(["ls", "-l"])
It runs the command described by args. Note that args must be a List of Strings, and not on... | https://www.python-engineer.com/posts/python-execute-system-command/ | CC-MAIN-2022-21 | refinedweb | 255 | 52.56 |
After I explained in previous posts seperately how to use RSA in C# and RSA in PHP, I today want to show how to use this combining both languages.
I am doing this, since the implementation is somewhat tricky, especially concerning the different used public / private key formats and the coding of the data when transmitt... | http://csharp-tricks-en.blogspot.com/2015/04/rsa-with-c-and-php.html | CC-MAIN-2017-51 | refinedweb | 1,178 | 50.43 |
I would like to start a series of posts devoted to best practices when designing mobile applications. So in this first post I will describe the MVC pattern that I have been using when creating CF applications for the customers.
I realize that a lot has been written on the subject, explaning what the MVC pattern is. If ... | http://blogs.msdn.com/priozersk/archive/2007/08/06/implementing-mvc-pattern-in-net-cf-applications-part-1.aspx | crawl-002 | refinedweb | 861 | 60.04 |
.
.
XSL: I like your style
People who work in SGML and need to format it generally use DSSSL (Document Style Semantics and Specification Language) to do the job. DSSSL is a dialect of Scheme, itself a venerable and popular form of LISP (which stands either for "List Processing" or lots of irritating, superfluous parent... | https://www.javaworld.com/article/2076396/java-xml/xml-for-the-absolute-beginner.amp.html | CC-MAIN-2018-22 | refinedweb | 5,469 | 57.5 |
[
]
Jakob Homan updated HADOOP-6080:
--------------------------------
Attachment: HADOOP-6080-v20.patch
HADOOP-6080.patch
Attaching two new files:
* Updated patch. Previous patch missed updating the help text for rmr to include -skipTrash
option. No change to actual code.
* Patch for Hadoop 20 off of the Hadoop-20 bran... | http://mail-archives.apache.org/mod_mbox/hadoop-common-dev/200906.mbox/%3C208199559.1246332347273.JavaMail.jira@brutus%3E | CC-MAIN-2017-47 | refinedweb | 211 | 60.41 |
On Mon, 2006-23-10 at 08:46 -0400, Tres Seaver wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Benji York wrote: > > Jim Fulton wrote: > >> Perhaps we should change the package option so that it uses the > >> pkg_resources > >> API to load ZCML files from packages. > > > > +1 I'd prefer not having to speci... | https://www.mail-archive.com/zope3-dev@zope.org/msg06764.html | CC-MAIN-2016-44 | refinedweb | 168 | 72.56 |
So I’ve got this project where I would like Radiant to render the
initial page, but do subsequent updates to various divs via AJAX. I
decided this because I don’t want a separate but identical layout files
within Radiant and the app/views/layout of my extension. I won’t be the
one to use this CMS once it is installed a... | https://www.ruby-forum.com/t/ajax-controller-view-methods-helpers-in-extension-tag-block/106895 | CC-MAIN-2022-33 | refinedweb | 1,102 | 53.31 |
With so much JavaScript development on the client side, it only makes sense that developers and organizations would want to develop server side applications using JavaScript as well. Node.js has become a popular choice for building server side applications using JavaScript because of its asynchronous event-driven model... | https://keyholesoftware.com/2014/11/29/node-js-meets-net-edge-js/ | CC-MAIN-2018-43 | refinedweb | 1,046 | 61.43 |
Organize Code with Modules
After completing this unit, you’ll be able to:
- Describe how support for modules has evolved over the years.
- Recognize the basic syntax used to define modules.
- Distinguish between different importing styles.
- Demonstrate how named exports results in read-only properties.
If you are a de... | https://trailhead.salesforce.com/en/content/learn/modules/modern-javascript-development/organize-code-with-modules | CC-MAIN-2019-22 | refinedweb | 1,056 | 66.84 |
after yesterday's webinar
after yesterday's webinar
I'm really temped to start using the Designer. I really like how the export file generated seperate the UI component from the business and tie them together.
However, from what I could understand from the presentation, you can only export to a specific folder ? In a b... | http://www.sencha.com/forum/showthread.php?111822-after-yesterday-s-webinar | CC-MAIN-2014-49 | refinedweb | 127 | 62.27 |
Gerry Reno wrote: > Gerry Reno wrote: >> Andrew Straw wrote: >>> Gerry Reno wrote: >>>>. >>> >>> I figured out what the reason for >>> --single-version-externally-managed is >>> -- it is required for namespace packages to function properly. Thus, I >>> can't remove it, as doing so would be a regression. >>> >>> However... | https://mail.python.org/pipermail/distutils-sig/2009-September/013394.html | CC-MAIN-2016-40 | refinedweb | 370 | 66.74 |
Microsoft is tipping the scales in its favor with ASP.NET Web Matrix, a free download that lets you create ASP.NET Web applications, services, etc. This IDE runs on Windows 2000 and Windows XP machines. Here's an overview of Web Matrix, as well as the steps you need to take to create a .NET Web solution using Web Matri... | http://www.techrepublic.com/article/dive-into-net-with-web-matrix/5805075/ | CC-MAIN-2016-36 | refinedweb | 1,539 | 66.54 |
Hello,
probably it’s stupid question, but I’ve spent last 2 hours to find the solution, with no result.
Everybody tell to use getTextFromValue(); or getValueFromText(); But nobody tells how exactly use it?
Those methods just return value, but I don’t want to return anything. I want to set text value other than Slider v... | https://forum.juce.com/t/slider-text-value-other-than-slider-value/27298 | CC-MAIN-2018-34 | refinedweb | 509 | 59.7 |
tag: DigitalOcean Community Questions 2017-10-16T20:25:35Z tag: 2017-10-16T20:25:34Z 2017-10-16T20:25:35Z How do I create a signed public 'share' URL similar to the 'Quick Share' option in Spaces? <p>How do I create a signed public 'share' URL similar to the 'Quick Share' option in Spaces?</p> <p. </p> <p>The DigitalOc... | https://www.digitalocean.com/community/questions/feed.atom | CC-MAIN-2017-43 | refinedweb | 12,556 | 57.37 |
Apply a force to the rigidbody..
If you don’t specify a ForceMode2D the default will be used. The default in this case is ForceMode2D.Force which adds force over time, using mass.
To use the example scripts below, drag and drop your chosen script onto a Sprite in the Hierarchy. Make sure that the Sprite has a Rigidbod... | https://docs.unity3d.com/ScriptReference/Rigidbody2D.AddForce.html | CC-MAIN-2020-16 | refinedweb | 221 | 54.29 |
(This page was started based on a thread in a mailing list. Please add your own experience here for the benefit of you collegue developers over the world. Please also add negative experiences. Also, please edit the proposed format for entries if you have a better idea; it's just a first setup now.)
Entries here should ... | https://wiki.apache.org/myfaces/What_Tools_Do_You_Use_to_Develop_Web_Applications_Using_JSF?action=recall&rev=2 | CC-MAIN-2017-47 | refinedweb | 647 | 57.87 |
This.
Status: very very sketchy, disorganised collection of URLs, excerpts and commentary. This is a pile of stuff for some (possibly non-existent) future version to flesh out. Suggestions for other related materials welcomed (W3 folk, feel free to edit directly).
Author: dan brickley.
@@in-progress. This is a dump of ... | http://www.w3.org/2000/09/XGraph/ | CC-MAIN-2015-06 | refinedweb | 1,307 | 55.24 |
Hi,
Recently I bought a 2s9v1 motordriver and connected to two motors to M0 and M1 channels.
It seems to work nicely (both reverse and forward) when timeout configuration is not set (timeout = 0x00).
However, if I set the timeout to 0x01 (for the shortest timeout), the reverse mode doesn’t work while the forward mode s... | https://forum.pololu.com/t/2s9v1-motor-reverse-not-working-when-timeout-is-set/13087 | CC-MAIN-2018-51 | refinedweb | 205 | 71.55 |
Sharing the goodness…
Beth Massi is a Senior Program Manager on the Visual Studio team at Microsoft and a community champion for business application developers. Learn more about Beth.
More videos »
Very often in business applications we need to validate data through another service. I’m not talking about validating th... | http://blogs.msdn.com/b/bethmassi/archive/2012/01/30/calling-web-services-to-validate-data-in-visual-studio-lightswitch.aspx | CC-MAIN-2014-35 | refinedweb | 1,511 | 54.73 |
We were using Pandas to get the number of rows for a parquet file:
import pandas as pd df = pd.read_parquet("my.parquet") print(df.shape[0])
This is easy but will cost a lot of time and memory when the parquet file is very large. For example, it may cost more than 100GB of memory to just read a 10GB parquet file.
If we... | http://donghao.org/category/bigdata/ | CC-MAIN-2022-21 | refinedweb | 115 | 73.47 |
The Python assert statement is one of the tools that as a Python developer is available to you to make your programs more robust.
What is the Python assert statement?
The assert statement allows to verify that the state of a Python program is the one expected by a developer. Expressions verified by assert should always... | https://codefather.tech/blog/python-assert-statement/ | CC-MAIN-2021-31 | refinedweb | 2,718 | 62.07 |
DB2. Table 1. SQLSTATE Class Codes Class Code 00 01 02 07 08 09 0A 0F 0K 0N Meaning For subcodes, refer to...
Unqualified Successful Completion Warning No Data Dynamic SQL Error Connection Exception Triggered Action Exception Feature Not Supported Invalid Token Resignal When Handler Not Active SQL/XML Mapping Error
Tab... | https://ru.scribd.com/document/109565004/DB2-SQLSTATE-Values-and-Common-Error-Codes | CC-MAIN-2019-43 | refinedweb | 10,043 | 57.67 |
Prev
Java Enum Code Index
Headers
Your browser does not support iframes.
Re: Collection interfaces (Was: Creating a byte[] of long size)
From:
ClassCastException <zjkg3d9gj56@gmail.invalid>
Newsgroups:
comp.lang.java.programmer
Date:
Sat, 10 Jul 2010 05:32:00 +0000 (UTC)
Message-ID:
<i190kf$3fp$2@news.eternal-september... | http://preciseinfo.org/Convert/Articles_Java/Enum_Code/Java-Enum-Code-100710083200.html | CC-MAIN-2021-49 | refinedweb | 1,393 | 55.78 |
Home › Forums › WPF controls › Xceed DataGrid for WPF › Disappointing performance with 10 columns, 36 rows?
- AuthorPosts
- User (Old forums)MemberMarch 7, 2008 at 2:08 pmPost count: 23064
I’ve just started working with this product, so maybe I’m doing something wrong, but I notice that if I bind a DataGridControl to a... | https://forums.xceed.com/forums/topic/Disappointing-performance-with-10-columns-36-rows/ | CC-MAIN-2021-25 | refinedweb | 1,393 | 64.41 |
JavaScript and functional programming go hand in hand. There are times when our functions will be expensive in terms of performance. Performing the same functions with the same input over and over again could degrade the experience of the application and it is unnecessary.
Memoization is an optimization technique in wh... | https://dev.to/bhagatparwinder/memoization-in-javascript-2ncl | CC-MAIN-2021-49 | refinedweb | 416 | 61.87 |
D (The Programming Language)/d2/Strings and Dynamic Arrays
Lesson 8: Strings and Dynamic Arrays[edit]
In this chapter, you will learn about strings in depth. In the meantime, you will also learn about another type: the dynamic array.
Introductory Code[edit]
Dynamic Arrays[edit]
import std.stdio; void main() { int[] a =... | http://en.wikibooks.org/wiki/D_(The_Programming_Language)/d2/Strings_and_Dynamic_Arrays | CC-MAIN-2014-41 | refinedweb | 1,064 | 63.09 |
OpenGL-ES
[edit] OpenGL ES
OpenGL ES is an API that allows programmers to draw 3D graphics on mobile and embedded devices. Hardware accelerated OpenGL ES 1.1 and 2.0 are available on Maemo devices beginning with the N900.
[edit] OpenGL variants
OpenGL ES is a subset of the full OpenGL standard, and therefore the two AP... | http://wiki.maemo.org/OpenGL-ES | CC-MAIN-2018-51 | refinedweb | 1,731 | 59.6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.