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 |
|---|---|---|---|---|---|
Blog Post
Servlet: Transfer File to Desktop App
Feb 13, 2015
This article shows a Java Servlet program transfer a binary data file to a Java desktop client application.
An application with a desktop and web components has a data transfer requirement. The data is to be transferred from the web app to the client app. The... | http://javaquizplayer.com/blogposts/blogpost11.html | CC-MAIN-2017-39 | refinedweb | 1,694 | 52.46 |
Check if Count of 1s can be Made Greater in a Binary string by Changing 0s Adjacent to 1s
Understanding
This blog addresses a coding challenge that involves the use of greedy algorithms. Greedy algorithms are one of the simplest-to-understand algorithms. The logic behind such algorithms can be speculated intuitively. I... | https://www.codingninjas.com/codestudio/library/check-if-count-of-1s-can-be-made-greater-in-a-binary-string-by-changing-0s-adjacent-to-1s | CC-MAIN-2022-27 | refinedweb | 648 | 72.87 |
#include <wx/ribbon/page.h>
Container for related ribbon panels, and a tab within a ribbon bar.
Constructs a ribbon page, which must be a child of a ribbon bar.
Destructor.
Expand a rectangle of the page to include external scroll buttons (if any).
When no scroll buttons are shown, has no effect.
Create a ribbon page i... | https://docs.wxwidgets.org/3.1.5/classwx_ribbon_page.html | CC-MAIN-2021-31 | refinedweb | 531 | 65.22 |
Next evolution of SwitchYard testing ... ???Tom Fennelly Jul 19, 2011 8:20 AM
SwitchYard testing at the moment involves:
- Extending the SwitchYardTestCase class and
- Annotating the test with @SwitchYardTestCaseConfig annotation to define one or all of:
- A SwitchYard XML configuration file.
- A set of one or more Tes... | https://developer.jboss.org/message/617619?tstart=0 | CC-MAIN-2018-51 | refinedweb | 502 | 65.62 |
I am having a very difficult time decrypting the string in Perl. I am not sure if the problem is with the Java, the Perl, or both. So I am presenting both programs below.
For the Java encryption, the IV is set to all 64-bit zero and the padding is PKCS5Padding. Of course, I tried to match this on the Perl side. C::CBC ... | http://www.perlmonks.org/?node_id=551481 | CC-MAIN-2014-52 | refinedweb | 572 | 57.47 |
On 11/02/2012 11:34 AM, Andrea Pescetti wrote:
> On 01/11/2012 NoOp wrote:
>> The _nonstandard_ 'Delivered-To' is used for loop-detection: ...
>> and is not defined by any RFC.
>
> Interesting to know, thanks.
>
>> The easiest& best solution IMO would be to add it as an X header
>> (example: X-Delivered-To: moderator).... | http://mail-archives.apache.org/mod_mbox/incubator-ooo-users/201211.mbox/%3Ck79s46$qgj$1@ger.gmane.org%3E | CC-MAIN-2017-09 | refinedweb | 258 | 52.19 |
Jun 07, 2007 07:05 PM|Steve Carson|LINK
I have a DLL created from C++ code that I want to call from an APS.NET AJAX Enabled Web Application. When I try to add a reference to this dll I get a message:
"A reference to 'D:\Documents and Settings\......fred.dll' could not be added. No type libraries were found in the compo... | http://forums.asp.net/t/1119635.aspx?C+DLL+Reference+from+C+ | CC-MAIN-2015-11 | refinedweb | 996 | 74.49 |
QNX Developer Support
pci_read_config16()
Read 16-bit values from the configuration space of a device
Synopsis:
#include <hw/pci.h> int pci_read_config16( unsigned bus, unsigned dev_func, unsigned offset, unsigned count, char* buff );
Arguments:
- bus
- The bus number.
- dev_func
- The name of the device or function.
-... | http://www.qnx.com/developers/docs/6.3.0SP3/neutrino/lib_ref/p/pci_read_config16.html | CC-MAIN-2013-20 | refinedweb | 166 | 50.63 |
Need a little help with strings843789 Apr 29, 2009 10:48 PM
So I would like to have the user input a month by using the abbreviation ex. (mar or apr) instead. So I want month to be a string right? When I tried that I get an error. What should this look like?
Edited by: NewJavaKid on Apr 29, 2009 10:47 PMEdited by: NewJ... | https://community.oracle.com/thread/1255832 | CC-MAIN-2017-30 | refinedweb | 606 | 69.28 |
Changing Colours - Online Code
Description
This is a code in java which shows a simple example of animation where colours of each block use to keep on changing themselves and also you can choose colours from the list
Source Code
import java.awt.Color; import java.awt.Component; import java.awt.Dimension; import java.aw... | http://www.getgyan.com/show/648/Changing_Colours | CC-MAIN-2017-13 | refinedweb | 108 | 62.24 |
Optimizing Query Performance
InterSystems SQL automatically uses a Query Optimizer to create a query plan that provides optimal query performance in most circumstances. This Optimizer improves query performance in many ways, including determining which indices to use, determining the order of evaluation of multiple AND... | https://docs.intersystems.com/healthconnectlatest/csp/docbook/DocBook.UI.Page.cls?KEY=GSQLOPT_OPTQUERY | CC-MAIN-2021-25 | refinedweb | 10,912 | 55.64 |
Recently, I am working on acquiring images with pycro-manager. My task can be demonstrated as this:
The sample flows in the capillary, and there is an interval between each adjacent sample. All I want is to capture each sample. Here is my schematic.
At first, my camera is working in live mode and calcite the minimum of... | https://forum.image.sc/t/how-to-stop-an-acquisition-in-pycro-manager/47955 | CC-MAIN-2021-10 | refinedweb | 180 | 58.38 |
06 July 2012 17:09 [Source: ICIS news]
LONDON (ICIS)--The majority shareholder in chemical distributor Brenntag, private equity investment vehicle Brachem Acquisition, has completed its exit from the company with the sale of its remaining 13.3% stake, Brenntag said on Friday.
Brachem sold 6.87m shares in Brenntag for €... | http://www.icis.com/Articles/2012/07/06/9576248/private-equity-firm-exits-from-brenntag-with-611m-share.html | CC-MAIN-2015-06 | refinedweb | 182 | 62.27 |
Due at 11:59pm on 02/25/2015.
Download lab05.
Trees are a way to represent a hierarchy of information. A
file directory is a good example of a tree structure.
There is a
root folder that contains several other folders —
bin,
user, etc. — and within each of these there exists a similar
hierarchy.
The name "tree" comes f... | http://gaotx.com/cs61a/lab/lab05/ | CC-MAIN-2018-43 | refinedweb | 1,054 | 65.56 |
Changing Theme of a Tkinter GUI
Hello everyone, In this tutorial, we will learn about how to change the theme of Tkinter GUI. We create a GUI application using Tkinter but we don’t know how to change those boring traditional widgets with something that looks more attractive to the user. We do not get external theme sup... | https://www.codespeedy.com/changing-theme-of-a-tkinter-gui/ | CC-MAIN-2021-10 | refinedweb | 422 | 56.86 |
Exporter::Declare - Exporting done right
Exporter::Declare is a meta-driven exporting tool. Exporter::Declare tries to adopt all the good features of other exporting tools, while throwing away horrible interfaces. Exporter::Declare also provides hooks that allow you to add options and arguments for import. Finally, Exp... | http://search.cpan.org/~exodist/Exporter-Declare-0.114/lib/Exporter/Declare.pm | CC-MAIN-2015-40 | refinedweb | 1,525 | 57.27 |
The Rhodes Local Edition (RLE)¶
by Peter Wentworth
A word of thanks …
We switched from Java to Python in our introductory courses a year ago, and so far we think the results look positive. More time will tell.
This book was a great starting point for us, especially because of the liberal permission to change things. Ha... | https://runestone.academy/runestone/books/published/thinkcspy/FrontBackMatter/preface.html | CC-MAIN-2019-35 | refinedweb | 1,134 | 59.74 |
Feature idea: Smart highlighting uses a different highlight color for non-case matched entires
- Andrew Dunn
Right now you can choose to match case, or not match case, but you could take that further. As you no doubt know, nameSpace is not equivalent to namespace.
Right now, smart highlighting uses a greenish color bac... | https://notepad-plus-plus.org/community/topic/12984/feature-idea-smart-highlighting-uses-a-different-highlight-color-for-non-case-matched-entires | CC-MAIN-2017-17 | refinedweb | 176 | 69.52 |
WSUS Product Team thoughts, information, tips and tricks and beyond :-)
Hi
If you would like to receive an email when updates are made to this post, please register here
RSS?
By default on our network our end users do not have access to the Control Panel, Windows folder, or the run command. We were discussing doing thi... | http://blogs.technet.com/wsus/archive/2007/10/25/wds-update-revision-follow-up.aspx | crawl-002 | refinedweb | 8,178 | 72.66 |
This document provides a working example of a functional SOAP client in Python, using only HTTP and XML modules. The Google API is used as an example. A familiarity with HTTP, XML, and the concepts described in A Gentle Introduction to SOAP are presumed.
The Google API is described and implemented in terms of a simple ... | http://www.intertwingly.net/stories/2002/12/20/sbe.xhtml | crawl-003 | refinedweb | 583 | 53.41 |
NAME
getgroups - get group access list
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <sys/types.h> #include <unistd.h> int getgroups(int gidsetlen, gid_t *gidset);
DESCRIPTION
The getgroups() system call gets the current group access list of the user process and stores it in the array gidset. The gidsetlen a... | http://manpages.ubuntu.com/manpages/maverick/man2/getgroups.2freebsd.html | CC-MAIN-2014-52 | refinedweb | 199 | 56.55 |
Name: gm110360 Date: 03/11/2004 A DESCRIPTION OF THE REQUEST : This proposal suggests changes to make the Java switch statement more useful. See: Normally you can't use Strings or Objects in javas switch statements. I would like to use Strings in switches. Therefore I would like to see this introduced. JUSTIFICATION : ... | https://bugs.java.com/bugdatabase/view_bug.do?bug_id=5012262 | CC-MAIN-2018-51 | refinedweb | 390 | 57.77 |
I.
I've started experimenting. It seems to work functionally pretty well. But is looks very ugly.
Text looks fuzzy.
Also
VerticalTextAlignment="Center"does not seem to work (works/looks fine on iOS):
But on mac the labels are top aligned
_OSX))]
namespace WordGames.OSX
{
public class TextToSpeech_OSX : ITextToSpeech
{
... | https://forums.xamarin.com/discussion/93585/preview-xamarin-forms-for-macos/p1 | CC-MAIN-2019-39 | refinedweb | 535 | 68.06 |
Test 3: Utilizing a C++ Object on Both the Host and GPU
In this test (Listing Five), the entire
ParallelCounter object is copied to and from the host with
cudaMemcpy(). The object
foo is initialized on the host, incremented on the GPU with the
doPassedCounter() kernel, and copied back to the host, where the
getCount() ... | http://www.drdobbs.com/tools/atomic-operations-and-low-wait-algorithm/240160177?pgno=2 | CC-MAIN-2016-07 | refinedweb | 1,726 | 58.48 |
I can hardly read that... but it seems like the user is stppiring out all white space (except for tabs) and some tags and then joining it back into one giant string with no line breaks... looks like a big bowl of 'wrong' to me
Post your Comment
array split string
]);
}
}
}
Split String Example in Java
static void Main(... | http://roseindia.net/discussion/39886-Java-String-Split-Example.html | CC-MAIN-2014-35 | refinedweb | 1,158 | 72.56 |
Posted On: Mar 22, 2018
Amazon Elastic Container Service (Amazon ECS) now includes.
When you use Amazon ECS service discovery, you pay for the Route 53 resources that you consume, including each namespace that you create, and for the lookup queries your services make. Service health checks are provided at no cost. For ... | https://aws.amazon.com/about-aws/whats-new/2018/03/introducing-service-discovery-for-amazon-ecs/ | CC-MAIN-2019-09 | refinedweb | 145 | 65.22 |
VDR developer version 1.7.35 is now available at A 'diff' against the previous version is available at MD5 checksums: 3b9d0376325370afb464b6c5843591c7 vdr-1.7.35.tar.bz2 4b6fb681359325ad33a466503503e772 vdr-1.7.34-1.7.35.diff WARNING: ======== This is a *developer* version. Even though *I* use it in my productive envir... | http://www.linuxtv.org/pipermail/vdr/2012-December/027036.html | CC-MAIN-2014-15 | refinedweb | 296 | 60.21 |
by Álex 2013-03-12 20:00 talks djugl march django python metaclass
This talk was made by Peter Ingles, you can check his twitter here: @inglesp.
What is write above is basically what he said, mixed with some of my
thoughts. The talk was really good, and even using metaclasses almost
daily (
forms.Form) you don’t feel t... | http://agonzalezro.github.io/djugl-advanced-python-trought-django-metaclasses.html | CC-MAIN-2018-17 | refinedweb | 250 | 73.88 |
How can I bind on modified event to a specific view?
On my desperate last attempt what I came up is this:
Basically I want to get the input_view and output_view (output) into a variable and when input_view changes I want to update the output view. However the event listener - or the updates to the output view - should ... | https://forum.sublimetext.com/t/how-to-get-the-specific-views-on-modified-event/8277/5 | CC-MAIN-2017-39 | refinedweb | 756 | 59.7 |
FRAM TinyShield Tutorial
This FRAM Shield allows you to add memory to your TinyDuino projects that can read and write at a virtually instant rate. Built around the Fujitsu MB85RS1MT, this board allows for some extra processing memory when your Arduino device is powered on and retains it even while power is shut off.
Th... | https://learn.tinycircuits.com/Memory/FRAM_TinyShield_Tutorial/ | CC-MAIN-2022-33 | refinedweb | 550 | 56.96 |
Red Hat Bugzilla – Bug 612409
yum shows negative installed size for big packages (y-m-p uses 32bit numbers for SQLite).
Last modified: 2014-01-21 01:18:27 EST
Created attachment 430250 [details]
yum output
Description of problem:
When you try to install a big package, like openoffice.org-debuginfo, yum reports Installe... | https://bugzilla.redhat.com/show_bug.cgi?id=612409 | CC-MAIN-2018-34 | refinedweb | 1,451 | 68.47 |
Spring IDE is a useful graphical development tool. It can make Spring application development easy. This article will show you how to install it as an Eclipse plugin.
1. Install Spring Plugin From Eclipse Marketplace
- Open Eclipse, click the menu item Help —> Eclipse Marketplace.
- Input the keyword Spring IDE in the ... | https://www.dev2qa.com/how-to-install-spring-ide-eclipse-plugin/ | CC-MAIN-2021-31 | refinedweb | 982 | 68.16 |
#include <setjmp.h> void longjmp(jmp_buf env, int val); void siglongjmp(sigjmp_buf env, int val);
Feature Test Macro Requirements for glibc (see feature_test_macros(7)):
siglongjmp(): _POSIX_C_SOURCE >= 1 || _XOPEN_SOURCE || _POSIX_C_SOURCE
siglongjmp() is similar to longjmp() except for the type of its env argument. I... | https://schworak.com/linux/?chap=3&cmd=longjmp | CC-MAIN-2019-04 | refinedweb | 119 | 57.81 |
A py.test plugin providing fixtures and markers to simplify testing of asynchronous tornado applications.
Project description
A py.test plugin providing fixtures and markers to simplify testing of asynchronous tornado applications.
Installation
pip install pytest-tornado
Example
import pytest import tornado.web class M... | https://pypi.org/project/pytest-tornado/ | CC-MAIN-2018-22 | refinedweb | 332 | 53.47 |
The author selected /dev/color to receive a donation as part of the Write for DOnations program.
Introduction
As a developer, there are many ways you can demonstrate your skills, accomplishments, and work. These include open source contributions, personal projects, speaking engagements, blog posts, etc. However, doing ... | https://www.xpresservers.com/how-to-build-a-jamstack-portfolio-with-angular-11-and-scully/ | CC-MAIN-2022-05 | refinedweb | 10,831 | 58.48 |
#include <deal.II/base/quadrature.h>
Base class for quadrature formulae in arbitrary dimensions. This class stores quadrature points and weights on the unit line [0,1], unit square [0,1]x[0,1], etc.
There are a number of derived classes, denoting concrete integration formulae. Their names names prefixed by
Q. Refer to ... | http://www.dealii.org/developer/doxygen/deal.II/classQuadrature.html | CC-MAIN-2017-17 | refinedweb | 900 | 57.98 |
In this session, we conclude on neural networks (You will finally get use convolutional neural networks for image classification), and we will start working with unsupervised learning models, and in particular clustering.
The idea behing convolutional neural nets is to extract high level features from the images in ord... | https://nbviewer.org/github/acosse/IntroMLFall2019/blob/master/Labs/Lab7.ipynb | CC-MAIN-2022-33 | refinedweb | 2,058 | 56.25 |
NAME
gd_add, gd_madd -- add a field to a dirfile
SYNOPSIS
#include <getdata.h> int gd_add(DIRFILE *dirfile, const gd_entry_t *entry); int gd_madd(DIRFILE *dirfile, const gd_entry_t *entry, const char *parent);
DESCRIPTION
The gd_add() function adds the field described by entry to the dirfile specified by dirfile. The g... | http://manpages.ubuntu.com/manpages/precise/man3/gd_add.3.html | CC-MAIN-2015-06 | refinedweb | 526 | 54.83 |
read − read from a file descriptor
#include <unistd.h>
ssize_t read(int fd, void *buf, size_t count);
read() attempts to read up to count bytes
from file descriptor fd into the buffer starting at
buf.
If count is zero, read() returns zero and
has no other results. If count is greater than
SSIZE_MAX, the result is unspe... | https://alvinalexander.com/unix/man/man2/read.2.shtml | CC-MAIN-2019-09 | refinedweb | 122 | 76.22 |
tvm.schedule¶
The computation schedule api of TVM.
- class
tvm.schedule.
IterVar¶
Represent iteration variable.
IterVar is normally created by Operation, to represent axis iterations in the computation. It can also created by schedule primitives like
tvm.schedule.Stage.split.
See also
tvm.thread_axis
- Create thread ax... | https://docs.tvm.ai/api/python/schedule.html | CC-MAIN-2019-09 | refinedweb | 808 | 51.34 |
So I'm wondering how to round a double to the nearest eighth in C (not C++, C#, or Java. I've tried searching the answer before posting here, and that's the only languages I found such a tutorial for.) Does anyone have an idea on how to do this?
Thanks in advance,
Peter
As you stated, you want your number rounded up to... | https://codedump.io/share/YeHniNw5E7IQ/1/how-to-round-a-decimal-to-the-nearest-eighth-in-c | CC-MAIN-2017-17 | refinedweb | 155 | 71.75 |
Unanswered: Can we combine Sencha Touch and jQueryMobile
Unanswered: Can we combine Sencha Touch and jQueryMobile
I.
You probably can in some respects use both frameworks but the main issue will be performance - and download size. Its not a good idea for many other reasons like namespaces IMO.
In this case I would use ... | http://www.sencha.com/forum/showthread.php?184642-Can-we-combine-Sencha-Touch-and-jQueryMobile&p=747608 | CC-MAIN-2014-35 | refinedweb | 322 | 75 |
A directory service has two major features. First, it distributes its information base among many different servers. Second, users can access directory information by querying any of those servers. Making this work requires defining a namespace in which each object's location can be quickly determined.
As we saw in the... | http://codeidol.com/community/windows/ldap-namespace-structure/20458/ | CC-MAIN-2018-39 | refinedweb | 2,356 | 56.25 |
Re: Refresh the cache
Gordon, Jack wrote: We were told by our vendor to clear the cache. That may not be the right term, but the process that they have us do is to remove the folders from the following directory: D:\Tomcat 4.1\work\Standalone\localhost OK - you can't do that without stopping Tomcat. Mark
Re: Tomcat 6 c... | https://www.mail-archive.com/search?l=users@tomcat.apache.org&q=from:%22Mark+Thomas%22 | CC-MAIN-2021-39 | refinedweb | 4,595 | 65.12 |
Welcome to part 4 of the web scraping with Beautiful Soup 4 tutorial mini-series. Here, we're going to discuss how to parse dynamically updated data via javascript.
Many websites will supply data that is dynamically loaded via javascript. In Python, you can make use of jinja templating and do this without javascript, b... | https://pythonprogramming.net/javascript-dynamic-scraping-parsing-beautiful-soup-tutorial/?completed=/tables-xml-scraping-parsing-beautiful-soup-tutorial/ | CC-MAIN-2019-26 | refinedweb | 527 | 70.29 |
Create a scheduler task in 5 simple steps – java
July 9, 2011 2 Comments
Most people don’t know how to run some specific task at specific time in java. For example send daily email at 11:59 or do a daily wind up job or weakly database clean up job, etc. So here you will find how to schedule task in java in 5 simple ste... | https://harryjoy.me/2011/07/09/create-a-scheduler-task-in-java/ | CC-MAIN-2018-13 | refinedweb | 327 | 67.76 |
An example of using libplayerc++. More...
An example of using libplayerc++.):
/* <libplayerc++/playerc++.h> int main(int argc, char *argv[]) { using namespace PlayerCc; PlayerClient robot("localhost"); SonarProxy sp(&robot,0); Position2dProxy pp(&robot,0); for(;;) { double turnrate, speed; // read from the proxies robo... | http://playerstage.sourceforge.net/doc/Player-cvs/player/group__cplusplus__example.html | CC-MAIN-2014-41 | refinedweb | 269 | 50.02 |
I am using the Eric IDE for Python. It is using autocompletion and it should be very useful.
But, we develop python scripts that use objects from a C++ library that we convert using Swig. Unfortunately, swig create a .py file that maps each C++ object's method replacing all arguments with an
*args
#ifdef SWIG
%module t... | https://codedump.io/share/tHdQsfIIdJqI/1/swig-c-gtpython-2x-conversion-and-method39s-arguments | CC-MAIN-2017-47 | refinedweb | 226 | 55.44 |
Bug in JDK 6 / Confusion in JSR specifications
Here's the code:
import javax.xml.soap.*; public class Test { public static void main(String[] args) throws Exception { MessageFactory factory = MessageFactory.newInstance(); SOAPMessage message = factory.createMessage(); AttachmentPart attachment = message.createAttachmen... | http://blogs.cocoondev.org/dims/archives/004755.html | crawl-001 | refinedweb | 357 | 69.38 |
Top: Basic types: unit
#include <pstreams.h> class unit { compref<instm> uin; compref<outstm> uout; virtual void main() = 0; virtual void cleanup() = 0; void connect(unit* next); void run(bool async = false); void waitfor(); }
Units represent functionality similar to console applications in UNIX. Each unit has its own ... | http://www.melikyan.com/ptypes/doc/unit.html | crawl-001 | refinedweb | 777 | 65.62 |
Problem :
You will be given two arrays of integers and asked to determine all integers that satisfy the following two conditions:
- The elements of the first array are all factors of the integer being considered
- The integer being considered is a factor of all elements of the second array
These numbers are referred to... | https://sltechnicalacademy.com/between-two-sets-hackerrank-solution/ | CC-MAIN-2021-04 | refinedweb | 364 | 62.21 |
#include <Puma/Parser.h>
Generic parser abstraction. Setups the parser components ready to be used for parsing an input file (see class Puma::Syntax, Puma::Builder, and Puma::Semantic).
The result of parsing a source file is the so-called translation unit (see class Puma::CTranslationUnit). It encapsulates the result o... | http://puma.aspectc.org/manual/html/classPuma_1_1Parser.html | CC-MAIN-2020-16 | refinedweb | 129 | 51.75 |
CodePlexProject Hosting for Open Source Software
Hello.
I've devloped my own module (content type). In my module I display list of items wich use Content.ControlWrapper.cshtml from core.
The menu for each item contains only edit action. I've copied Content.ControlWrapper.cshtml file to my module to root of views folder... | http://orchard.codeplex.com/discussions/234486 | CC-MAIN-2017-04 | refinedweb | 982 | 69.38 |
Boilerplate for asyncio applications
Project description
Table of Contents.
Warning
Note that aiorun.run(coro) will run forever, unlike the standard library’s asyncio.run() helper. You can call aiorun.run() without a coroutine parameter, and it will still run forever.
This is surprising to many people, because they som... | https://pypi.org/project/aiorun/2020.2.1/ | CC-MAIN-2020-34 | refinedweb | 1,337 | 54.42 |
Bug #4273
Performance problem in 9.9HE related to use of bulk copy
100%
Description
A test stylesheet runs in under 4 seconds on Saxon 9.8 HE or Saxon 9.9 EE, but takes over 30 minutes on Saxon 9.9 HE.
See forum post for details.
The HE performance is dominated by calls on TinyTree.bulkCopy(); bulk copying is not used ... | https://saxonica.plan.io/issues/4273 | CC-MAIN-2021-49 | refinedweb | 2,598 | 62.27 |
🙂 -> #76827
While testing full disk conditions, if we try to import huge dump, we will see:
2015-04-24 09:07:52 7faf8bcab700 InnoDB: Error: Write to file ./sales/sales.ibd failed at offset 247463936. InnoDB: 1048576 bytes should have been written, only 299008 were written. InnoDB: Operating system error number 11. In... | https://mysql.az/2015/08/24/the-origin-of-assertion-failed-errors-in-mysql/ | CC-MAIN-2019-39 | refinedweb | 633 | 66.54 |
+1 for Biopython :)
in addition, you can load ids from file using just
ids= set( x.strip() for x in open(idfile) )
and you don't need to
import re
I; } }
As usual, Use BioPerl.
if you are working with fasta files and sequences just more than once, invest the time to install and use the basics of BioPerl. It has been te... | http://www.biostars.org/p/2822/ | CC-MAIN-2013-48 | refinedweb | 1,253 | 73.47 |
Library tutorials & articles
Read and write Open XML files (MS Office 2007)
- Introduction
- Excel 2007 Open XML Specifics
- Implementation
Implementation
Our);
}View.);
} Hashtable for fast searching and an ordinary
ArrayList where items are sorted by their index. We could pull it out only with ArrayList but then we w... | http://www.developerfusion.com/article/6170/read-and-write-open-xml-files-ms-office-2007/3/ | crawl-002 | refinedweb | 263 | 56.05 |
Part 1 - The basics
In this part of the Getting Started you will be introduced to the basic Windsor Container operations. You might be wondered: what about Castle MicroKernel? It is enough to say that when you are using the Windsor Container, you are, by consequence, using the MicroKernel as well.
We will use a Winform... | http://www.castleproject.org/container/gettingstarted/part1/index.html | crawl-002 | refinedweb | 163 | 51.34 |
Donut generates x86 or x64 shellcode from VBScript, JScript, EXE, DLL (including .NET Assemblies) files. This shellcode can be injected into an arbitrary Windows processes for in-memory execution. Given a supported file type, parameters and an entry point where applicable (such as Program.Main), it produces position-in... | https://haxf4rall.com/2019/11/08/donut-generates-x86-x64-or-amd64x86-position-independent-shellcode-that-loads-net-assemblies-pe-files-and-other-windows-payloads-from-memory/ | CC-MAIN-2019-47 | refinedweb | 2,140 | 59.9 |
Join devRant
Search - "true"
-
- Coding Teacher: "you'll need your laptops for the exam. To prevent you from cheating I'll disable the network now"
...pulls out the network cable on his machine...
"okay you can start now"
🤦🏻♂️16
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- This made my day (and is the 3rd freaking time I try ... | https://devrant.com/search?term=true | CC-MAIN-2019-39 | refinedweb | 1,802 | 70.23 |
dispatch_to question
Expand Messages
- Hello, all ...
Am I seeing things, or is SOAP::Lite limited to only dispatching to
modules that actually live in a .pm file? In other words, I want to
declare the module and the server in one source file (and not have the
module be in a separate .pm file), yet when I do this, SOAP... | https://groups.yahoo.com/neo/groups/soaplite/conversations/topics/4315?viscount=-30&tidx=1 | CC-MAIN-2017-26 | refinedweb | 214 | 73.37 |
This blog will discuss features about .NET, both windows and web development.
LINQ to SQL maintains object relationships between all tables, mimicing how the database looks. What I mean by that is that you can drill down (or up) through a database hierarchy in an object-oriented fashion, simply by referencing the prope... | http://dotnetslackers.com/Community/blogs/bmains/archive/2008/03.aspx | CC-MAIN-2014-35 | refinedweb | 2,147 | 62.88 |
.
Package setup¶
A pre-requisite to the following sections will be to install a few packages. We will do this expediently by creating a
requirements.txt file in the project, which will install the Python packages listed in the file prior to every job
or workspace session.
Go to the Files page of your project.
Click the... | https://docs.dominodatalab.com/en/4.3/get_started/7-deploy.html | CC-MAIN-2021-25 | refinedweb | 2,457 | 51.65 |
On Tue, 28 Nov 2017 15:40:09 +0200 Konstantin Belousov <kostik...@gmail.com> wrote:
Advertising
> On Tue, Nov 28, 2017 at 02:26:10PM +0100, Emmanuel Vadot wrote: > > On Tue, 28 Nov 2017 13:04:28 +0200 > > Konstantin Belousov <kostik...@gmail.com> wrote: > > > > > On Tue, Nov 28, 2017 at 11:41:36AM +0100, Emmanuel Vadot... | https://www.mail-archive.com/freebsd-current@freebsd.org/msg172240.html | CC-MAIN-2018-30 | refinedweb | 630 | 56.15 |
Tableau SDK error on version 10.2Vathsala Achar May 12, 2017 8:54 AM
There is an error with the python library for Ubuntu that needs fixing for Version: 10200.17.0505.1445
Traceback (most recent call last):
File "/home/vathsala/opensource/trext/trext/db/typemap.py", line 1, in <module>
from tableausdk.Types import Type... | https://community.tableau.com/thread/235979 | CC-MAIN-2017-43 | refinedweb | 501 | 70.5 |
In this article,.
For years, the relative merits of a stateful vs. stateless architecture have been debated. For a long time, we have been told that, for example, stateful session beans in EJB are evil, and that in order to scale-out a Web application you can not keep state in the web tier, but have to persist state in... | http://www.artima.com/lejava/articles/distributed_continuations.html | crawl-002 | refinedweb | 2,018 | 52.09 |
. If that’s alright with you, let’s get buckled in!
You’ll be able to view the entire tutorial at this gist.
What do we need to get started?
You’re going to need both an API and a Client side application for this project. You can get started with creating your first API with this tutorial and you can also break into a ... | https://www.davidmeents.com/create-a-react-js-support-ticketing-system-using-mongodb/ | CC-MAIN-2018-43 | refinedweb | 1,675 | 57.47 |
Forms¶.
When you define a form, you need to add it to your domain file.
If your form’s name is
restaurant_form, your domain would look like this:
forms: - restaurant_form actions: ...
See
examples/formbot/domain.yml for an example.
Configuration File¶
To use forms, you also need to include the
FormPolicy in your policy... | https://rasa.com/docs/rasa/1.2.9/core/forms/ | CC-MAIN-2020-34 | refinedweb | 681 | 51.38 |
A trigger is a named PL/SQL unit that is stored in the database and executed (fired) in response to a specified event that occurs in the database. Topics:
Overview of Triggers Guidelines for Designing Triggers Privileges Required to Use Triggers Creating Triggers Coding the Trigger Body Compiling Triggers Modifying Tri... | https://www.scribd.com/document/148763729/triggers-11G | CC-MAIN-2019-09 | refinedweb | 16,164 | 51.24 |
.
John Papa
MSDN Magazine November 2003
We're running SSIS 2008, moving data from an Oracle 10g database to a SQL 2008 database. The SSIS is running on the same machine as the SQL Destination server. The server has 8 gigs and is windows 2003 sp2
The issue we're having is when our package pulls a blob data type from ora... | http://www.dotnetspark.com/links/19951-ssis-user-defined-data-type-alias-data-types.aspx | CC-MAIN-2016-44 | refinedweb | 409 | 54.52 |
in reply to Re^2: Numeric sorting WITHOUT <=>in thread Numeric sorting WITHOUT <=>
Your last snippet has a memory leak.
Mer.
sub mergesort {
return $_[0] if @_ == 1;
my $i = int( @_ / 2 );
my @a = mergesort(@_[0..$i-1]);
my @b = mergesort(@_[$i..$#_]);
my @sorted;
while (@a && @b) {
if ($a[0] < $b[0]) { push @sorted, s... | http://www.perlmonks.org/index.pl/jacques?node_id=998282 | CC-MAIN-2016-44 | refinedweb | 149 | 86.91 |
#include <iostream> using namespace std; main(int argc, char *argv[]) { int choice; cout << "WELCOME CRIMINALS\n\n"; cout << "Are u ready to comit some crimes and make some MULAH\n"; cout << "1. HELL YES\n"; cout << "2. Naw im cool\n"; cout << "Your Choice"; cin >> choice; if(choice == 1 ) { cout << "\n\n\n Were do u w... | http://www.dreamincode.net/forums/topic/307299-need-help-with-text-based-game-making-choices/ | CC-MAIN-2017-43 | refinedweb | 110 | 82.95 |
CS::ScfStringSet< IF > Class Template Reference
The string set is a collection of unique strings. More...
#include <csutil/scfstrset.h>
Detailed Description
template<typename IF>
class CS::ScfStringSet< IF >.
Instances of the set are locked are for concurrent accesses.
Definition at line 48 of file scfstrset.h.
Constru... | http://www.crystalspace3d.org/docs/online/new0/classCS_1_1ScfStringSet.html | CC-MAIN-2016-22 | refinedweb | 339 | 62.85 |
UVM(9) BSD Kernel Manual UVM(9)
uvm - virtual memory system external interface
#include <sys/param.h> #include <uvm/uvm.h>
The UVM virtual memory system manages access to the computer's memory resources. User processes and the kernel access these resources through UVM's external interface. UVM's external interface incl... | http://www.mirbsd.org/htman/sparc/man9/uvm_pagerealloc.htm | CC-MAIN-2014-52 | refinedweb | 2,328 | 61.97 |
- NAME
- VERSION
- SYNOPSIS
- DESCRIPTION
- Getting started with Getopt::Flex
- Specifying Options to Getopt::Flex
- Configuring Getopt::Flex
- METHODS
- REPOSITORY
- AUTHOR
NAME
Getopt::Flex - Option parsing, done different.
VERSION
version 1.07
SYNOPSIS}); if(!$op->getopts()) { print "**ERROR**: ", $op->get_error(); ... | https://metacpan.org/pod/release/RPKELLY/Getopt-Flex-1.07/lib/Getopt/Flex.pm | CC-MAIN-2018-39 | refinedweb | 1,649 | 56.55 |
:Simon 'corecode' Schubert wrote: :> DF's termcap needs to be changed. But racing all possible terminal :> (emulators) to grab their changes is a definite no-go. There is such a : :Could a process be established for updating termcap so anyone who wants to upgrade :DF's termcap, for their preferred terminal emulator, co... | http://leaf.dragonflybsd.org/mailarchive/kernel/2004-08/msg00252.html | CC-MAIN-2015-22 | refinedweb | 133 | 55.34 |
PHP Interview Questions – Part 3
The PHP-openssl extension provides several cryptographic operations including generation and verification of digital signatures.
2.How a constant is defined in a PHP script?
The define() directive lets us defining a constant as follows:
define (“ACONSTANT”, 123);
3.How can you pass a va... | http://www.lessons99.com/php-interview-questions-3.html | CC-MAIN-2018-43 | refinedweb | 2,282 | 60.01 |
26 September 2012 06:14 [Source: ICIS news]
By Andrea Heng
?xml:namespace>
SINGAPORE
This marks an unusual trend in the hydrous ethanol market, which is usually bullish in the final quarter of the year.
“The current market trend is unlike what was seen in previous years. Compared with the previous year, prices are quit... | http://www.icis.com/Articles/2012/09/26/9598594/Asia-hydrous-ethanol-to-stay-flat-in-Q4-on-subdued-trade.html | CC-MAIN-2014-41 | refinedweb | 210 | 66.17 |
GCC Bugzilla – Bug 9861
method name mangling ignores return type
Last modified: 2006-09-13 04:02:22 UTC
The following Generic Java code was compiled to the two classes which can be found in the attachment.
// TestGJ.java begins here
class Test<Type> {
protected Type x () {
return null;
}
}
public class TestGJ extends T... | https://gcc.gnu.org/bugzilla/show_bug.cgi?id=9861 | CC-MAIN-2015-18 | refinedweb | 431 | 65.42 |
GetLogicalDriveStrings function
Fills a buffer with strings that specify valid drives in the system.
Syntax
Parameters
- nBufferLength [in]
The maximum size of the buffer pointed to by lpBuffer, in TCHARs. This size does not include the terminating null character. If this parameter is zero, lpBuffer is not used.
- lpBu... | https://msdn.microsoft.com/en-us/library/aa364975(v=vs.85).aspx | CC-MAIN-2015-32 | refinedweb | 233 | 56.96 |
24 January 2008 23:21 [Source: ICIS news]
By Joseph Chang
NEW YORK (ICIS news)--The decline in the values of publicly traded chemical stocks will bring down merger and acquisition (M&A) valuations as well, an investment banker said on Thursday.
“There has been a realignment of valuation across the sector, with diversif... | http://www.icis.com/Articles/2008/01/24/9095562/ma-transaction-multiples-to-decline.html | CC-MAIN-2014-52 | refinedweb | 253 | 54.12 |
I know this question has been asked before, but I didn't understand any of the answers. My crouch script works, but it is not smooth. The camera just teleports instead of smoothly moving down. Here's my code: (by the way: I cut out the part where I resize the collider and the center of the character controller and so o... | https://answers.unity.com/questions/482882/how-can-i-smooth-out-the-crouch-movement.html?sort=oldest | CC-MAIN-2020-40 | refinedweb | 659 | 52.76 |
kdevplatform/language/duchain
#include <duchainlock.h>
Detailed Description
Customized read/write locker for the definition-use chain.
Definition at line 41 of file duchainlock.h.
Constructor & Destructor Documentation
◆ DUChainLock()
Constructor.
Definition at line 57 of file duchainlock.cpp.
◆ ~DUChainLock()
Destruct... | https://api.kde.org/appscomplete-api/kdevelop-apidocs/kdevplatform/language/duchain/html/classKDevelop_1_1DUChainLock.html | CC-MAIN-2021-49 | refinedweb | 271 | 61.22 |
C++ Friend Functions
A or class template, in which case the entire class and all of its members are friends.
To declare a function as a friend of a class, precede the function prototype in the class definition with keyword friend as follows −
class Box { double width; public: double length; friend void printWidth( Box ... | http://www.tutorialspoint.com/cplusplus/cpp_friend_functions.htm | CC-MAIN-2018-17 | refinedweb | 204 | 54.7 |
..
1. Use a Coding Standard
It’s easy to write bad, unorganized code, but it’s hard to maintain such code. Good code typically follows some standard for naming conventions, formatting, etc. Such standards are nice because they make things deterministic to those who read your code afterwards, including yourself.
You can... | http://www.sitepoint.com/10-tips-for-better-coding/ | CC-MAIN-2014-10 | refinedweb | 1,079 | 60.35 |
Synchronous classes in Python
Monday, November 16, 2009
What I'd like to build is an object that when doing anything with it would first acquire a lock and release it when finished. It's a pattern I use fairly-regularly and I am getting bored of always manually defining a lock next to the other object and manually acqu... | http://blog.devork.be/2009/11/synchronous-classes-in-python.html | CC-MAIN-2019-09 | refinedweb | 802 | 67.04 |
decomposeProjectionMatrix leads to strange rotation matrix
I don't understand why this (
decomposeProjectionMatrix) doesn't give the same rotation matrices as the input ones:
import cv2 import numpy as np import math def Rotx(angle): Rx = np.array([[1, 0, 0], [0, math.cos(angle), -math.sin(angle)], [0, +math.sin(angle)... | https://answers.opencv.org/question/162836/decomposeprojectionmatrix-leads-to-strange-rotation-matrix/ | CC-MAIN-2021-21 | refinedweb | 514 | 52.36 |
While reading one of our Insider News posts which linked to Evan Miller's site, he mentioned a mathematical means of producing a Fibonacci number without using loops or recursion. I decided to post the C# version of it here, but in no way do I claim credit to creating this. I thought it was interesting enough to share ... | http://www.codeproject.com/Tips/508629/Fibonacci-Without-Loops-or-Recursion?fid=1822574&df=90&mpp=10&sort=Position&spc=None&tid=4453987 | CC-MAIN-2013-20 | refinedweb | 191 | 51.48 |
We’re going to build a program that uses a turtle in python to simulate the traffic lights.
There will be four states in our traffic light: Green, then Green and Orange together, then Orange only, and then Red. The light should spend 3 seconds in the Green state, followed by one second in the Green+Orange state, then o... | https://kharshit.github.io/blog/2017/08/11/turtle-in-python-a-traffic-light | CC-MAIN-2020-16 | refinedweb | 555 | 65.22 |
Wrapper class in Python
In this tutorial, you are going to learn about the Wrapper class in Python with example. Continue following this article…
What is a Wrapper Class?
A Wrapper class is used to organize codes after creating classes with wrapper logic to organize instances that are created later in the program.
Thes... | https://www.codespeedy.com/wrapper-class-in-python/ | CC-MAIN-2021-10 | refinedweb | 295 | 65.12 |
How to: Use the Global Namespace Alias (C# Programming Guide)
The ability to access a member in the global namespace is useful when the member might be hidden by another entity of the same name.
For example, in the following code, Console resolves to TestApp.Console instead of to the Console type in the System namespac... | http://msdn.microsoft.com/en-us/library/c3ay4x3d(v=vs.100).aspx | CC-MAIN-2014-52 | refinedweb | 356 | 51.55 |
Defining tasks¶
As of Fabric 1.1, there are two distinct methods you may use in order to define which objects in your fabfile show up as tasks:
- The “new” method starting in 1.1 considers instances of
Taskor its subclasses, and also descends into imported modules to allow building nested namespaces.
- The “classic” me... | http://docs.fabfile.org/en/1.5/usage/tasks.html | CC-MAIN-2018-05 | refinedweb | 614 | 57.57 |
.
p>Hey all.
This weekend I typed Dev102 on google just to see what I will get and guess what? We have joind the big league
We have site links!! This is what you get when you type Dev102 in Google:
Now all we have to do is get the links to point to the interesting stuff.
Well we’ve arrived at the last part of our serie... | http://www.dev102.com/2009/03/ | CC-MAIN-2014-35 | refinedweb | 168 | 91.51 |
Can you find the luckiest coin?
A FiveThirtyEight Riddler puzzle.
By Vamshi Jandhyala in mathematics Riddler
February 18, 2022
Riddler Express
It’s time for a random number duel! You and I will both use random number generators, which should give you random real numbers between $0$ and $1$. Whoever’s number is greater ... | https://vamshij.com/blog/riddler-2022/luckiest-coin/ | CC-MAIN-2022-21 | refinedweb | 650 | 65.62 |
Is there special significance to 16331239353195370.0?
Using
import numpy as np I've noticed that
np.tan(np.pi/2)
gives the number in the title and not
np.inf
16331239353195370.0
I'm curious about this number. Is it related to some system machine precision parameter? Could I have calculated it from something? (I'm think... | https://python-decompiler.com/article/2016-07/is-there-special-significance-to-16331239353195370-0 | CC-MAIN-2019-35 | refinedweb | 483 | 59.09 |
A group blog from members of the VB team
This is the 5th installment in my series of posts about extension methods. You can find links to the rest of the series here. Originally I had planned on discussing extension method versioning issues, but I've decided to postpone that topic to my next post and talk about extensi... | http://blogs.msdn.com/b/vbteam/archive/2007/02/15/extension-methods-and-generics-extension-methods-part-5.aspx | CC-MAIN-2014-35 | refinedweb | 2,560 | 58.82 |
Good day.
I've been trying to port HGE () to Python for more than 4 months now...
HGE is a hardware accelerated 2D game engine.
It comes with the source and examples. In the folder "include", you can find "hge.h", the file that i am talking about in all the post.
#
I tried to load the DLL functions with Python Ctypes l... | https://www.daniweb.com/programming/software-development/threads/161782/hge-and-python | CC-MAIN-2017-43 | refinedweb | 637 | 79.16 |
qooxdoo JavaScript library
Introduction
The qooxdoo Javascript library is object-oriented, using minimized set of HTML, CSS and DOM. Classes in qooxdoo support full namespaces and do not extend the native JavaScript types, thus has global variables.
It is offering a wide set of "widgets" that remind closely their desk... | http://developer.nokia.com/community/wiki/index.php?title=Getting_started_with_qooxdoo_JavaScript_library&oldid=198996 | CC-MAIN-2014-42 | refinedweb | 309 | 51.58 |
ASP.NET Screen Scraping
August 23, 2011 Leave a comment
ASP.NET and the .NET framework make it unbelievably easy to retrieve web content (that’s it, whole web pages) from remote servers. You might have various reasons to retrieve remote web content, for example you might want to get the latest news headlines from popul... | https://alamzyah.wordpress.com/2011/08/23/asp-net-screen-scraping/ | CC-MAIN-2019-04 | refinedweb | 408 | 68.06 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.