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 |
|---|---|---|---|---|---|
On Wed, 2006-02-15 at 11:17 -0500, Stephen Smalley wrote: > On Wed, 2006-02-15 at 09:49 -0600, Timothy R. Chavez wrote: > > This makes sense to me. I'll go ahead and make the change. I wouldn't > > even technically need the function or function call in my patch since > > selinux_available() simply returns ss_initialize... | https://www.redhat.com/archives/linux-audit/2006-February/msg00074.html | CC-MAIN-2014-15 | refinedweb | 141 | 63.7 |
significant.
If you don’t know where to start, then we particularly recommend Avro, which is also supported in the Confluent Platform. In the next section we briefly introduce Avro, and how it can be used to support typical schema evolution.
Avro¶
Defining an Avro Schema"} ] }
You can then use this Avro schema, for ex... | https://docs.confluent.io/current/avro.html | CC-MAIN-2018-47 | refinedweb | 589 | 57.1 |
C-ing a Flashing Light
In my previous article, I showed how combining two instructions into one can speed up a very small countdown loop. In this article, I’ll demonstrate how a single non-optimizing compiler option can have an even greater impact on performance.
C-ing It
Using assembly language in low-level code isn’t... | http://mindplusplus.wordpress.com/2012/10/02/c-ing-a-flashing-light/?like=1&_wpnonce=6484ab78b3 | CC-MAIN-2013-48 | refinedweb | 2,528 | 64.41 |
16 May 2012 08:28 [Source: ICIS news]
SINGAPORE (ICIS)--Prices of Asian acrylonitrile-butadiene-styrene (ABS) resin have fallen further this week to reach the trough for the year.
Offers of prompt parcels were reduced by $30-40/tonne (€23.7-31.6/tonne) from the week ended 11 May to the $1,900-1,950/tonne CFR (cost & fr... | http://www.icis.com/Articles/2012/05/16/9560075/asian-abs-prices-at-new-low-for-2012-after-losing-more-ground.html | CC-MAIN-2014-10 | refinedweb | 293 | 63.83 |
ZF Home Page
Issue Tracker
Code Browser
Wiki Dashboard
Contributors Wiki
Developers Wiki
Proposers Wiki
Most Wanted
Contributor License Agreement
Mailing Lists
Code Contributor Guide
Documentation Contributor Guide
Developer Notes
Zend_OpenId is a set of components that allow anyone to create OpenID authentication serv... | http://framework.zend.com/wiki/display/ZFPROP/Zend_OpenId | crawl-002 | refinedweb | 3,204 | 64.71 |
Android, you have several techniques available for implementing custom 2D graphics and animations in views.
In addition to using drawables, you can create 2D drawings using the drawing methods of the
Canvas class. The
Canvas is a 2D drawing surface that provides methods for drawing. This is useful when your app needs ... | https://developer.android.com/codelabs/advanced-android-kotlin-training-canvas?hl=Es-419 | CC-MAIN-2021-31 | refinedweb | 3,090 | 58.38 |
UFDC Home | Help | RSS TABLE OF CONTENTS HIDE Front Cover Front Matter Preface Frontispiece Science in Biblical Expression... What is a lost soul? Sabbath Lights Could we have forseen Concentrating the Spiritual Abyssinia On the Individuality of the... "Professional" Prophets Fable On the Higher Education of American..... | http://ufdc.ufl.edu/UF00072065/00001 | CC-MAIN-2015-32 | refinedweb | 50,926 | 66.88 |
Typedef container enabling iteration over compile-time type list. More...
#include <Tsqr_TestUtils.hpp>
Typedef container enabling iteration over compile-time type list.
One can use the typedefs in a Cons to "iterate" recursively over a list of types, that is defined at compile time. CarType may be any type; these are ... | http://trilinos.sandia.gov/packages/docs/dev/packages/kokkos/doc/html/structTSQR_1_1Test_1_1Cons.html | CC-MAIN-2014-15 | refinedweb | 128 | 75.91 |
On Wed, 13 Jun 2001, Neil Macneale wrote: > In article <9g5fc4$m8u$01$1 at news.t-online.com>, "Jochen Riekhof" > <jochen at riekhof.de> wrote: > > > I am missing something like the c/Java ?: operator. > > The ?: operator is overrated. For the time you save typing, you > are wasting someone else's because they need to ... | https://mail.python.org/pipermail/python-list/2001-June/077346.html | CC-MAIN-2020-24 | refinedweb | 447 | 73.47 |
in reply to
Writing a Test Harness
I am not sure if it is related but the has been a lot of CPAN activity in the Tapper namespace lately from AMD and it seems to me from the docs to be a large scale test-harness of some kind. You might want to do some code diving and see if it is useful.
Indeed. It is not really clear ... | http://www.perlmonks.org/?node_id=896527 | CC-MAIN-2016-07 | refinedweb | 133 | 70.06 |
22 July 2011 05:00 [Source: ICIS news]
SINGAPORE (ICIS)--Indian Oil and Haldia Petrochemical (HPL) have raised their domestic list prices for polypropylene (PP) for the third consecutive week because of short supply of spot material, sources close the companies said on Friday.
The price increment was announced at India... | http://www.icis.com/Articles/2011/07/22/9479266/indian-oil-haldia-petrochemical-hike-pp-offers-for-third-week.html | CC-MAIN-2015-11 | refinedweb | 260 | 58.82 |
On Thu, May 21, 2009 at 11:01 AM, Ben Finney
ben+python@benfinney.id.au<ben%2Bpython@benfinney.id.au
wrote:
Jeremiah Dodds jeremiah.dodds@gmail.com writes:
hmm, the 80-character convention does not stop me from unconsciously writing really complex list comprehensions, I just write them like so:
def foo(f, a, b, c): ret... | https://mail.python.org/archives/list/python-ideas@python.org/message/SHVF5R42XP7MHEUAXSAWK7LBWHDA2RPY/ | CC-MAIN-2020-29 | refinedweb | 348 | 68.7 |
Introduction
The Csound Python API provides classes and functions to use the Csound API fromPython. An interesting issue with Python is that we can use an enhanced versionof the Python shell, IPython [1], for interactive sessions.In this paper, a basic class encapsulating commands to run a Csound session ispresented, a... | http://www.csounds.com/journal/issue14/realtimeCsoundPython.html | CC-MAIN-2015-40 | refinedweb | 5,430 | 67.45 |
Same great maps plus a SLA, support, and control over ads
The Google Maps API is now integrated with the
Google AJAX API loader, which creates a common namespace for loading and using multiple Google AJAX APIs. This
framework allows you to use the optional
google.maps.* namespace for all classes, methods and
properties... | http://code.google.com/apis/maps/documentation/reference.html | crawl-001 | refinedweb | 1,176 | 57.06 |
cloner don't refresh
On 02/02/2017 at 10:13, xxxxxxxx wrote:
Hi ,
when I try to change the cloner type with python in the script manager , the mode changes , but the interface don't update until I set the type manually .
I tried the .message , with some flags but couldn't find the right one , any advice on how to solve... | https://plugincafe.maxon.net/topic/9936/13379_cloner-dont-refresh | CC-MAIN-2019-22 | refinedweb | 643 | 69.21 |
This page explains the quotas and limits for Google Kubernetes Engine clusters, nodes, and GKE API requests.
GKE's per-project limits are:
- Maximum of 50 clusters per zone, plus 50 regional clusters per region.
- Maximum of 5000 nodes per cluster.
- Maximum of 1000 nodes per cluster if you use the GKE ingress controll... | https://cloud.google.com/kubernetes-engine/quotas | CC-MAIN-2019-09 | refinedweb | 144 | 58.89 |
Original content created by Cam Davidson-Pilon
Ported to Python 3 and PyMC3 by Max Margenot (@clean_utensils) and Thomas Wiecki (@twiecki) at Quantopian (@quantopian).
%matplotlib inline import numpy as np import scipy.stats as stats from IPython.core.pylabtools import figsize import matplotlib.pyplot as plt figsize(12... | http://nbviewer.jupyter.org/github/CamDavidsonPilon/Probabilistic-Programming-and-Bayesian-Methods-for-Hackers/blob/master/Chapter6_Priorities/Ch6_Priors_PyMC3.ipynb | CC-MAIN-2018-39 | refinedweb | 4,715 | 51.75 |
Address fields autofill app for forms using brazilian CEP field.
django-cep
This application enables Django powered websites to have autofilled address fields in forms based on brazilian CEP field.
Installation
To install django-cep simply run:
pip install django-cep
Configuration
We need to hook django-cep into our pr... | https://pypi.org/project/django-cep/ | CC-MAIN-2017-51 | refinedweb | 251 | 56.96 |
HELP [URGENT]968683 Oct 16, 2012 9:46 AM
Hi, I really need someone to help me with this code it needs to be done by tonight and it wont work if some one would be willing to fix it for me it would be greatly appreciated
Edited by: 965680 on Oct 16, 2012 7:46 AMEdited by: 965680 on Oct 16, 2012 7:46 AM
import java.awt.*;... | https://community.oracle.com/thread/2454742 | CC-MAIN-2015-22 | refinedweb | 713 | 53.98 |
Hi, Is there any way to read the Internet header from the email? and changing it?Reply
I have a question. Is is possible to record the position of the customized commandbar when user closes outllook? Therefore, i could create the customeized commandbar next time at the same spot.
In my addins,everytime i close the word... | http://www.codeguru.com/comment/get/48256910/ | CC-MAIN-2016-22 | refinedweb | 620 | 74.49 |
You can read a static version of the notebook on nbviewer.
OR
You can run the code in a browser by clicking this link and then selecting distribution.ipynb from the list.
The following is a summary of the material in the notebook, which you might want to read before you dive into the code.
Random processes and variable... | https://allendowney.blogspot.com/2016/06/what-is-distribution.html | CC-MAIN-2021-39 | refinedweb | 1,074 | 54.52 |
While creating ML models, our end goal is the deployment that takes it to the production which can take input and give an output of business models. The easiest form of deployment would be a GUI (Graphical User Interface).
Gradio helps in building a web-based GUI in a few lines of code which is very handy for showing d... | https://analyticsindiamag.com/guide-to-gradio-create-web-based-gui-applications-for-machine-learning/ | CC-MAIN-2021-39 | refinedweb | 660 | 57.37 |
Im trying to use Dapper in an ASP.Net Core application to map multiple tables to one object with other objects as its properties.
My tables are as follows (just basic summary):
address_type table (lookup table)
phone_number table (no user ids stored in this table, this table is just phone records)
Basically whats happe... | https://dapper-tutorial.net/knowledge-base/49987559/dapper-mapping-multiple-joins-to-single-object-returning-no-records | CC-MAIN-2021-10 | refinedweb | 822 | 58.89 |
==== ==== First aid, freeze dried food, preparedness seeds, long-term food storage kits, veggie packs, meat packs, and more! Be prepared for the polar shift and the 12/21/12 doomsday prediction! ==== ==== ID: 3138402 Author: Wayne Arthur Alexander Date Published: Oct 22, 2009 Title: The Rapture? Summary: I have observe... | https://issuu.com/wildersolutions/docs/the_rapture_907 | CC-MAIN-2017-13 | refinedweb | 1,151 | 64.71 |
Main.cpp + mainwindow.ui = ??
i just need to know,
is it possible to ".show()" my work in .ui and .cpp files in 1 window??
for example:
@
#include "mainwindow.h"
#include <QApplication>
#include <QLabel>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
QLabel lbl("123");
MainWindow w;
w.show();
lbl.show()... | https://forum.qt.io/topic/27377/main-cpp-mainwindow-ui | CC-MAIN-2017-34 | refinedweb | 248 | 68.97 |
hai
Thanks dude!, Very useful!
Post your Comment
J2ME Timer MIDlet Example
J2ME Timer MIDlet Example
This Example shows how to use of timer class. In this example we are using
the Timer class to create the time of execution of application
J2ME Timer Animation
J2ME Timer Animation
This application illustrates how to use... | http://www.roseindia.net/discussion/22797-J2ME-Timer-MIDlet-Example.html | CC-MAIN-2014-52 | refinedweb | 417 | 63.59 |
Preface
This is part 11 gives an introduction to building Scala applications using SBT (the Simple Build Tool). This will be done in the context of the Scalabha package, which I have created for primarily for my Introduction to Computational Linguistics class. Some supporting code is available in Scalabha for some basi... | http://www.javacodegeeks.com/2011/11/scala-tutorial-sbt-scalabha-packages.html | CC-MAIN-2015-22 | refinedweb | 3,928 | 56.45 |
C++ Check whether the number is Armstrong or not
Hello Everyone!
In this tutorial, we will learn how to Check whether given number is Armstrong or not, in the C++ programming language.
What is an Armstrong number?
In number theory, an Armstrong number in a given number base is a number that is the sum of its own digits... | https://studytonight.com/cpp-programs/cpp-check-whether-the-number-is-armstrong-or-not | CC-MAIN-2021-04 | refinedweb | 442 | 62.41 |
>>."
Also try Perl 6 (Score:5, Insightful)
Re:Seriously? (Score:0, Insightful)
to those of you for whom basic reasoning and reading comprehension are too much to ask, i did NOT just claim that perl is dead. I only claimed that the frequency of releases alone is not a criteria for determining its dead-ness or alive-ness... | https://developers.slashdot.org/story/09/10/03/1357211/Perl-5110-Released/insightful-comments | CC-MAIN-2016-44 | refinedweb | 1,096 | 72.56 |
Convert word doc to pdf
- Wednesday, January 10, 2007 11:51 AM
Hi,
I need to convert word document to pdf file using C#.2
Iam having
- MS visual studio 2005 professional (and also MS VS.2003 enterprise ed)
- MS Office 2007
- I have downloaded SaveAsPDFandXPS (used to convert doc to pdf)
- Microsoft Visual Studio 2005 T... | http://social.msdn.microsoft.com/Forums/en-US/vsto/thread/f8989c05-d04a-4b4a-be0f-fc0055691de7 | CC-MAIN-2013-20 | refinedweb | 2,461 | 58.18 |
The Sierpinski triangle has come up several times on this blog. Here’s yet another way to produce a Sierpinski triangle, this time by taking the bitwise-and of two integers. The ith bit of x&y is 1 if and only if the ith bit of x and the ith bit of y are both 1.
The following C program prints an asterisk when the bitwi... | https://www.johndcook.com/blog/2019/11/26/fractal-via-bit-twiddling/ | CC-MAIN-2019-51 | refinedweb | 153 | 73.17 |
46
On Tue, 30 Sep 2003 grubert@... wrote:
> zope stx uses intending as a markup
> for titles, reST uses intending for quotes and underline for markup.
>
> what would be needed is a stx-reader or RTFM.
Well, what I need is a online tool which processes Zope-Book source
to well and reasonable formatted HTML (and other f... | https://sourceforge.net/p/docutils/mailman/docutils-develop/?viewmonth=200309 | CC-MAIN-2017-30 | refinedweb | 3,058 | 59.5 |
In terms of sandboxing, your distribution might slap a clunky SELinux or AppArmor policy on Flash, but it may or may not be on by default.
Given the above, and the fact I'm a 64-bit Linux user, I was really happy to see Chrome's latest dev channel include a native 64-bit Pepper Flash plug-in. What does this mean?
- Sec... | http://scarybeastsecurity.blogspot.com/2012_02_01_archive.html | CC-MAIN-2015-22 | refinedweb | 235 | 55.34 |
Refactoring; }
$basePrice = $this->quantity * $this->itemPrice; if ($basePrice > 1000) return $basePrice * 0.95; else return $basePrice * 0.98;
if ($this->basePrice() > 1000) return $this->basePrice() * 0.95; else return $this->basePrice() * 0.98; ... function basePrice() { return $this->quantity * $this->itemPrice; }
... | https://refactoring.guru/replace-temp-with-query | CC-MAIN-2018-47 | refinedweb | 127 | 71.31 |
+9
Can i declare a struct in a header file test.h, define it in test.c file and after that use the struct in otherFile.c where i included the header file test.h.
Or do i have to define the struct in the header file completly to use it in .c files where i included the header?
11/12/2019 9:32:23 PM
12 Answers
+6
You can ... | https://www.sololearn.com/Discuss/2067422/struct-in-header-file/ | CC-MAIN-2019-51 | refinedweb | 633 | 75.91 |
Here are a few things you'll have to change in your Silverlight 1.1 apps to get them working with the 1.1 Alpha Refresh:
Get the SDK here: Microsoft Silverlight 1.1 Software Development Kit Alpha Refresh
*** Note, as Jack Bond (thanks Jack) pointed out in the comments to this post, there seems to be a problem with the ... | http://blogs.msdn.com/b/mikeormond/archive/2007/08/06/moving-to-silverlight-1-1-alpha-refresh-a-quick-checklist.aspx | CC-MAIN-2015-48 | refinedweb | 345 | 75.5 |
Months ago Freshbooks and 1Password decided to stop working together. I use Freshbooks to track my time for my business and I use 1Password for easy login to sites in general. For some reason, 1Password's auto-fill function stopped functioning on the Freshbooks login page.
I reached out to 1Password was pleased with th... | http://www.blogbyben.com/2019/04/1password-and-freshbooks-not-on.html | CC-MAIN-2019-30 | refinedweb | 284 | 64.1 |
Answered by:
How to reference new C# class in XAML
Hi,
I am using Visual Studio Express to create a Phone 7 application. I created a new c# class inside the project and now I want to just reference to it to add it as a Resource in the Main.xaml page.
So I am not sure how to reference it.
It seems to me that I would hav... | https://social.msdn.microsoft.com/Forums/vstudio/en-US/36b0f0b6-a7cb-49de-b277-1fdaf69c7360/how-to-reference-new-c-class-in-xaml?forum=wpf | CC-MAIN-2016-40 | refinedweb | 259 | 68.81 |
Groovy Goodness: Getting All But the Last Element in a Collection with Init Method
In Groovy we can use the
head and
tail methods for a long time on
Collection objects. With
head we get the first element and with
tail the remaining elements of a collection. Since Groovy 2.4 we have a new method
init which returns all e... | https://blog.jdriven.com/2015/01/groovy-goodness-getting-last-element-collection-init-method/ | CC-MAIN-2022-40 | refinedweb | 126 | 76.32 |
> On 25 October 2011 19:42, Brian LeRoux <brian.leroux@nitobi.com> wrote:
>
> > Aim to tag Friday and Steve will package a release Monday. We'll do
> > this on the* repos.
> >
> > Objections?
> >
> > Note this is not an Apache Callback release per se --- this is
> > transitory for sure. Lots remains to be done for that... | http://mail-archives.apache.org/mod_mbox/incubator-callback-dev/201110.mbox/%3C669FD20FA9C6D4408948A6DB6DBE9B790CBC4F8B@TK5EX14MBXC122.redmond.corp.microsoft.com%3E | CC-MAIN-2017-13 | refinedweb | 200 | 57.16 |
Solution Sharing
This is how I did it. I think it’s a lot more intuitive than the provided solution:
def frequency_dictionary(words):
frequency = {}
for word in words:
if word in frequency:
frequency[word] += 1
else:
frequency[word] = 1
return frequency
I did it in one line
def frequency_dictionary(words):
return{key:(... | https://discuss.codecademy.com/t/solution-sharing/462893 | CC-MAIN-2020-16 | refinedweb | 1,785 | 70.33 |
Bug #7799
File descriptor limit issues with large number of entries
0%
Description
From: Jeff Dost <jdost@ucsd.edu>
Subject: Factory glideFactoryEntryGroup.py not respecting FD limits
Date: February 5, 2015 at 7:12:16 PM CST
To: "glideinwms-support@fnal.gov" <glideinwms-support@fnal.gov>
Hello glideinWMS support,
I am ... | https://cdcvs.fnal.gov/redmine/issues/7799 | CC-MAIN-2020-50 | refinedweb | 922 | 51.78 |
Michael Niedermayer wrote: > Hi > > Attached patch adds generic metadata support to > ffmpeg.c, and the avi muxer and demuxer > The implementation should be pretty much as simple as possible. > > Differences to aurels variant > * flat metadata, no trees This is OK for me. I don't really care about trees. Anyway it's ra... | http://ffmpeg.org/pipermail/ffmpeg-devel/2009-January/066694.html | CC-MAIN-2014-10 | refinedweb | 741 | 65.93 |
Opened 6 years ago
Closed 22 months ago
#15779 closed Bug (fixed)
admin cannot edit records with value 'add' as primary key
Description
Problem
If you have a model with a primary key field that has the value 'add' you won't be able to edit it in the admin screens. the admin will take you to the add page instead of the ... | https://code.djangoproject.com/ticket/15779 | CC-MAIN-2017-04 | refinedweb | 1,172 | 70.02 |
Migrating to Meteor 1.4
Breaking changes
These are all the breaking changes — that is, changes you absolutely have to worry about if you are updating your app from 1.3.x to 1.4. However, we recommend that you also consider the recommended changes listed below.
The
babel-runtime npm is usually required
The
babel-runtime... | https://guide.meteor.com/1.4-migration.html | CC-MAIN-2018-09 | refinedweb | 1,096 | 56.66 |
CodePlexProject Hosting for Open Source Software
Hi *,
i'm currently upgrading my projects from 2.2 to 4.0 with no big problems so far. But the test-projects are missing Microsoft.Practices.Composite.TestSupport for MockUnityContainer.
Do i still have to use the old .dll or is this namespace also moved somewhere to Mic... | https://compositewpf.codeplex.com/discussions/235823 | CC-MAIN-2017-39 | refinedweb | 189 | 79.06 |
Two ways of writing a recursive one-liner: (1) write the function with return statement in a single line such as in
def f(x): return f(x+1), or (2) assign a lambda function to a variable name and use the variable name in the return expression of the lambda function such as in
f = lambda x: f(x). To define a recursion b... | https://blog.finxter.com/python-one-line-recursion/ | CC-MAIN-2022-21 | refinedweb | 1,098 | 55.84 |
Created on 2013-09-08 16:41 by jason.coombs, last changed 2014-02-25 15:23 by python-dev. This issue is now closed.
In Python 2.x and 3.2, I used to use a Request subclass I created for overriding the method used:
class MethodRequest(request.Request):
def __init__(self, *args, **kwargs):
"""
Construct a MethodRequest. ... | http://bugs.python.org/issue18978 | CC-MAIN-2015-06 | refinedweb | 458 | 68.77 |
40292/prevent-jobs-to-be-killed-from-web-ui
You need to be careful with this. I am not sure about completely disabling the permission to delete jobs but you can disable deletion of jobs and stages from the Web UI. Use the following property with spark submit and you won't be able to delete the jobs from the Web UI.
val... | https://www.edureka.co/community/40292/prevent-jobs-to-be-killed-from-web-ui | CC-MAIN-2020-16 | refinedweb | 138 | 70.19 |
Released. FluidSynth works on all major platforms, so pyFluidSynth should also.
FluidSynth 1.0.7 (or later version) (earlier versions probably work, untested)
NumPy 1.0 or later
pyFluidSynth is available as a source distribution from PyPI.
pyFluidSynth is packaged as Python source using distutils. To install, run the f... | http://code.google.com/p/pyfluidsynth/ | crawl-003 | refinedweb | 494 | 63.15 |
Although it is possible to chain many if-else statements together, this is difficult to read. Consider the following program:
Because doing if-else chains on a single variable testing for equality is so common, C++ provides an alternative conditional branching operator called a switch. Here is the same program as above... | http://www.learncpp.com/cpp-tutorial/53-switch-statements/comment-page-2/ | CC-MAIN-2018-13 | refinedweb | 5,224 | 62.68 |
While working on the updated script in Automating vCloud Director 1.5 & Oracle DB Installation, I did some digging in my lab deployment and noticed a few interesting things about the new vCloud Director 1.5 installation.
The first thing I noticed after configuring a new Provider vDC and the vCloud Agent (stored in /opt... | http://www.virtuallyghetto.com/2011/09/cool-undocumented-features-in-vcloud.html?showComment=1315907331197 | CC-MAIN-2017-17 | refinedweb | 985 | 54.05 |
MBSRTOWCS(3) BSD Programmer's Manual MBSRTOWCS(3)
mbsrtowcs, mbsnrtowcs, mbsnrtowcsvis - convert a multibyte character string to a wide character
#include <wchar.h> size_t mbsrtowcs(wchar_t * restrict pwcs, const char ** restrict s, size_t n, mbstate_t * restrict ps); size_t mbsnrtowcs(wchar_t * restrict pwcs, const ch... | http://mirbsd.mirsolutions.de/htman/sparc/man3/mbsrtowcs.htm | crawl-003 | refinedweb | 672 | 52.6 |
The short answer is "Yes."
Of course, the running time depends on exactly how big the dataset is. NCL's character matrix parsing speed is about as fast as PAUP*'s parsing (and we NCL writers are very proud of that), and its tree reading is slower that PAUP's but not terribly slow.
v2.1 and later are much more efficient... | http://phylo.bio.ku.edu/ncldocs/v2.1/funcdocs/FAQ.html | CC-MAIN-2017-17 | refinedweb | 594 | 61.67 |
> setarch i686 mock -r fedora-devel-i386 foo.src.rpm > > The 'setarch i686' is the important part. It really seems to me that mock ought to be taught to do this. There's no good reason that "you need setarch foo if `uname -m` !~ bar" shouldn't be part of that very config file that -r selects. > (some packages may actua... | http://www.redhat.com/archives/fedora-devel-list/2007-October/msg00474.html | CC-MAIN-2015-22 | refinedweb | 114 | 84.17 |
Ember.js and Data GET
Now for number 4 in the Ember Data and REST server saga. Don't miss the others:
- Serving a Static Directory With Flask
- Installing Ember.js and Setting Up an App
- Setting Up The Database For Ember.js REST
Installing Ember Data
Because Ember Data is still under very active development, I recomme... | https://codepen.io/asommer70/post/ember-js-and-data-get | CC-MAIN-2018-43 | refinedweb | 619 | 66.94 |
Python Cansi Combo
This is a pretty long blog-entry about combining python and good old fashioned C. The reason I keep it here is... well I was curious and wanted to learn this - what better way is there than to make a tutorial of it.
Combining the programming language C and the programming language Python is fun, and ... | http://pererikstrandberg.se/blog/index.cgi?page=PythonCansiCombo | CC-MAIN-2017-39 | refinedweb | 2,965 | 71.34 |
Before you begin
This 25-minute tutorial shows you how to create a Groovy template with interactive Design Time Prompts (DTPs).
Background
Similar to working with Calculation Scripts, you can create Groovy-based script templates for reusability and maintenance purposes. Templates also enable you to add Design Time Prom... | https://www.oracle.com/webfolder/technetwork/tutorials/obe/cloud/epm/Groovy/Templates/index.html | CC-MAIN-2021-39 | refinedweb | 762 | 50.63 |
Created on 2013-10-18 07:45 by kousu, last changed 2014-03-08 17:54 by python-dev. This issue is now closed.
This code doesn't work. I think it should.
import dbm
with dbm.open("what is box.db", "c") as db:
db["Bpoind"] = Boing
Indeed, there is nothing supporting PEP 343 for dbm on my system:
[kousu@galleon ~]$ grep -r... | https://bugs.python.org/issue19282 | CC-MAIN-2017-22 | refinedweb | 366 | 69.68 |
Provided by: libdpm-dev_1.13.0-1_amd64
NAME
rfio_chmod, rfio_fchmod - change access mode of a directory/file
SYNOPSIS
#include <sys/types.h> #include "rfio_api.h" int rfio_chmod (const char *path, mode_t mode); int rfio_fchmod (int s, mode_t mode);
DESCRIPTION
rfio_chmod sets the access permission portion of the mode o... | http://manpages.ubuntu.com/manpages/eoan/man3/rfio_fchmod.3.html | CC-MAIN-2020-40 | refinedweb | 208 | 59.4 |
Flavor the focus at annual food trade show.
- From: ba_ba_b00ie@xxxxxxxxx (ba ba booie)
- Date: Sun, 5 Feb 2006 02:04:03 -0500
Fancy that Health, flavor the focus at annual food trade show.
By Jolene Thym, FOOD WRITER
Some of the food trends included flavored sea salts, and products made
with them, Urban Zen green tea ... | http://newsgroups.derkeiler.com/Archive/Rec/rec.music.gdead/2006-02/msg01256.html | crawl-002 | refinedweb | 2,184 | 73.98 |
Show Preview
- thecontinium
Hi.
I have looked high and low with no luck but this feels like it should be simple. I am trying to programmatically emulate swiping left in the editor to show the preview of a markdown file.
Is there a way to open a file in preview using a url or is there a workflow / python interface to sh... | https://forum.omz-software.com/topic/4472/show-preview | CC-MAIN-2020-40 | refinedweb | 180 | 56.15 |
How to version Jupyter notebooks¶
Introduction¶
This guide will show you how to:
Install neptune-notebook extension for Jupyter Notebook or JupyterLab
Connect Neptune to your Jupyter environment
Log your first notebook checkpoint to Neptune and see it in the UI
By the end of it, you will see your first notebook checkpo... | https://docs-legacy.neptune.ai/getting-started/quick-starts/how-to-version-notebooks.html | CC-MAIN-2021-17 | refinedweb | 449 | 51.89 |
Plone 3.0 (Aug 21, 2007)
This release is no longer supported! If you are using this release, please upgrade to a newer version if possible.
Aims to make Plone more efficient to work with. This release adds versioning, locking, inline editing and validation, link integrity, intranet/extranet workflows, wiki support, Ope... | http://plone.org/products/plone/releases/3.0 | crawl-002 | refinedweb | 8,175 | 57.98 |
Java Concurrency, Part 3: Synchronization With Intrinsic Locks
Learn more about Java synchronization with intrinsic locks.
Join the DZone community and get the full member experience.Join For Free
After learning how to create threads and manipulate them, it’s time to go to one of the most important things: synchronizat... | https://dzone.com/articles/dnp-java-concurrency-%E2%80%93-part-3 | CC-MAIN-2021-04 | refinedweb | 892 | 60.55 |
I have installed the Panda3D-1.6.0-pre.dmg package under MacOS X (Leopard). My application consists of two windows - the Panda3D and a TkinterGUI. When starting the application both windows appear, but it’s hardly possible to interact with the Tk GUI. It seems that not all events on the Tk window are processed.
Example... | https://discourse.panda3d.org/t/panda3d-and-tk-event-scheduling-problem-under-mac-os-x/5211 | CC-MAIN-2022-27 | refinedweb | 165 | 54.49 |
If you're interested in writing analysis and source-rewriting tools with Clang's libTooling, you may have run into the following ominous error while trying to invoke a tool on some code:
$ clang-check -analyze div0.c LLVM ERROR: Could not auto-detect compilation database for file "div0.c" No compilation database found ... | http://eli.thegreenplace.net/2014/05/21/compilation-databases-for-clang-based-tools | CC-MAIN-2017-13 | refinedweb | 1,473 | 54.83 |
Java Switch Statement – Learn its Working with Coding Examples
We all use electrical switches in our regular lives to control the electrical equipment. For each particular electrical equipment, there is a unique switch to operate them. And, each switch can activate or deactivate only one item. Similarly, switches in Ja... | https://techvidvan.com/tutorials/java-switch-statement/ | CC-MAIN-2021-17 | refinedweb | 1,615 | 54.83 |
Originally posted by David Harkness: This was just discussed one or two weeks ago either in this forum or one of the Java in General ones -- probably this one I'd hope. Actually, I assume you're talking about using static methods instead of a DAO instance, correct? The main problem with this is that you can't ever swap... | http://www.coderanch.com/t/301716/JDBC/databases/Data-Access-Objects-static-methods | CC-MAIN-2014-52 | refinedweb | 851 | 65.01 |
At 11:20 AM 11/1/2006 -0600, Ian Bicking wrote: >So I've got a couple specs out there that build on WSGI, and hopefully >other people will be introducing more. These specs are (or should be) >fairly light and optional, suggesting useful compatibilities between >WSGI components rather than anything that changes WSGI its... | http://mail.python.org/pipermail/web-sig/2006-November/002324.html | crawl-002 | refinedweb | 879 | 62.27 |
AS3 Tutorials Novice
Contents
1 Introduction
This article is part of the Actionscript 3 tutorial series.
Make sure you also run through the section on Compiling a program. You may want to print that page and keep it at hand as you will need to repeat the process for each example given in these tutorials.
2 Stage 1 : (A... | http://edutechwiki.unige.ch/en/AS3_Tutorials_Novice | CC-MAIN-2018-30 | refinedweb | 1,564 | 70.73 |
MATLAB’s Mersenne Twister Random Number Generator: Seed 0 gives the same numbers as Seed 5489
This shows one way of dealing with the need for many independent streams
Skipping Ahead the Mersenne Twister Random Number Generator
Reading your post I checked the C version of Mersenne Twister:
I commented the code in main, ... | http://www.walkingrandomly.com/?p=5480 | CC-MAIN-2014-52 | refinedweb | 786 | 70.73 |
#include <SimpleModbusSlave.h>/* SimpleModbusSlaveV10 supports function 3, 6 & 16. This example code will receive the adc ch0 value from the arduino master. It will then use this value to adjust the brightness of the led on pin 9. The value received from the master will be stored in address 1 in its own address space n... | http://forum.arduino.cc/index.php?topic=553118.msg3772903 | CC-MAIN-2018-51 | refinedweb | 954 | 57.2 |
This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.
On Fri, Nov 30, 2001 at 12:11:30PM -0400, Brad Spencer wrote: > > Even if the off-the-cuff idea above were implemented -- and it /is/ ugly > > as sin :-) -- we couldn't recommend that users make use of names in the > > impleme... | http://gcc.gnu.org/ml/libstdc++/2001-11/msg00341.html | crawl-001 | refinedweb | 154 | 73.88 |
OpenCV cv2.minMaxLoc() is often used to find the maximum and minimum value in a numpy array. In this tutorial, we will use an example to show you how to use this function.
Look at this example:
import numpy as np import cv2 a=np.array([[1,2,3,4],[5,67,8,9]])
We have created a numpy array a, which is 2*4.
In order to fi... | https://www.tutorialexample.com/learn-python-opencv-cv2-minmaxloc-by-examples-opencv-tutorial/ | CC-MAIN-2020-45 | refinedweb | 137 | 65.73 |
All of our programs so far have lived entirely inside the
main()
function. In other words, all the code was in one big pile. So far
this has not been much of a problem because our programs were small.
But we did use functions that others have written. For example, we
have used cmath’s
pow() and
sqrt() functions. Even
c... | http://csci221.artifice.cc/lecture/functions.html | CC-MAIN-2020-05 | refinedweb | 2,106 | 66.17 |
This to load image from local disk, and how to load image from Internet. First example is how to load an image from disk, then I’ll show how to modify it, to load image from Internet.
import javafx.application.Application; import javafx.scene.Scene; import javafx.scene.image.Image; import javafx.scene.image.ImageView; ... | https://www.javacodegeeks.com/2013/10/javafx-2-how-to-load-image.html | CC-MAIN-2017-22 | refinedweb | 216 | 52.97 |
Image: from the 1989 annual report.
From 1983 to 2015, every woman, man, kid, and baby received an Alaska Permanent Fund Dividend check with an amount calculated by a 1982 law. It was rarely questioned publicly until the last five years because of ample petroleum revenues and several years of cushion thanks to the bill... | https://benmatheson.github.io/blog/pfdincome/ | CC-MAIN-2019-47 | refinedweb | 2,483 | 58.92 |
server. Start by downloading the Jetty distribution files, at the time of writing the latest version was jetty-distribution-9.0.5.v20130815. Unzip this file and copy the lib directory to a place where your Java application (which we will build in a moment) can find it. Now create a Java project and start with the WebS... | https://jansipke.nl/websocket-tutorial-with-java-server-jetty-and-javascript-client/ | CC-MAIN-2019-22 | refinedweb | 865 | 58.28 |
Robert Femi689 Points
This one should be short and sweet. Challenge Task 1 of 1
Why isn't the code accepted if I put ("True") and ("False") but it's accepted if remove brackets and quotation marks? Spent a LONG time figuring that out and would like to learn why so at least it won't be a complete waste of time. Would ap... | https://teamtreehouse.com/community/this-one-should-be-short-and-sweet-challenge-task-1-of-1 | CC-MAIN-2021-25 | refinedweb | 206 | 68.1 |
java.lang.Object
javax.jms.QueueRequestorjavax.jms.QueueRequestor
public class QueueRequestor
The
QueueRequestor helper class simplifies
making service requests.
The
QueueRequestor constructor is given a non-transacted
QueueSession and a destination
Queue. It creates a
TemporaryQueue for the responses and provides a
re... | http://docs.oracle.com/javaee/6/api/javax/jms/QueueRequestor.html | CC-MAIN-2017-30 | refinedweb | 115 | 52.66 |
Array::Group - Convert an array into array of arrayrefs of uniform size N.
use Array::Group qw( :all ); @sample = ( 1 .. 10 ); $rowsize = 3; ngroup $rowsize => \@sample ; # yields ( [ 1, 2, 3 ], [ 4, 5, 6 ], [ 7, 8, 9 ], [ 10 ] ); dissect $rowsize => \@sample ; # yields ( [ 1, 5, 9 ], [ 2, 6, 10 ], [ 3, 7 ], [ 4, 8 ] )... | http://search.cpan.org/dist/Array-Group/lib/Array/Group.pm | crawl-003 | refinedweb | 229 | 76.66 |
In my role as a web developer who sits at the intersection of design and code,.
In my experience, however, there is an outlier where many developers believe that custom elements don’t work, specifically those who work with React, which is, arguably, the most popular front-end library out there right now. And it’s true,... | http://design-lance.com/3-approaches-to-integrate-react-with-custom-elements/ | CC-MAIN-2021-10 | refinedweb | 1,397 | 53.1 |
Built-in Global Variables
When an instance of the
ShowBase class
is created, many of its member variables are written to the built-in scope
of the Python interpreter, making them available to any Python module without
the need for extra imports.
While these are handy for prototyping, we do not recommend using them in b... | https://docs.panda3d.org/1.10/python/reference/builtins#the-global-clock | CC-MAIN-2022-33 | refinedweb | 835 | 55.64 |
- NAME
- VERSION
- SYNOPSIS
- DESCRIPTION
- USAGE
- EXPORTED FUNCTIONS
- AUTHOR
NAME
Test::Roo::Role - Composable role for Test::Roo
VERSION
version 1.004
SYNOPSIS
A testing role:
# t/lib/MyTestRole.pm package MyTestRole; use Test::Roo::Role; # loads Moo::Role and Test::More requires 'class'; test 'object creation' => ... | https://metacpan.org/pod/Test::Roo::Role | CC-MAIN-2017-04 | refinedweb | 220 | 57.57 |
In the previous two articles in this series, I explained the rationale and design considerations for an XML/RDF vocabulary to describe open source projects. The Description of a Project (DOAP) vocabulary will meet the needs of project maintainers who find they must register their software at myriad Web sites, and for a... | http://www.ibm.com/developerworks/xml/library/x-osproj3/ | crawl-003 | refinedweb | 1,883 | 53.81 |
CS::Mesh::iAnimatedMesh Struct Reference
[Mesh plugins]
State and setting for an instance of an animated mesh. More...
#include <imesh/animesh.h>
Detailed Description
State and setting for an instance of an animated mesh.
These meshes are animated by the skeletal animation system (see CS::Animation::iSkeleton) and by m... | http://www.crystalspace3d.org/docs/online/api/structCS_1_1Mesh_1_1iAnimatedMesh.html | CC-MAIN-2013-48 | refinedweb | 390 | 58.89 |
Classical OpenGL Gears running in GLW framework.
Welcome to GLW – OpenGL Window! As the title says, GLW is a very simple to use OpenGL framework. You can use it as a drop-in framework in your applications to open an OpenGL window. As drop-in, I mean just copy source and header files into your own code and skip any libr... | http://www.codeproject.com/script/Articles/View.aspx?aid=371849 | CC-MAIN-2015-06 | refinedweb | 3,710 | 69.41 |
Crawlers written in Java
Looking for help
Looking for help I am looking for a valid helper to solve flex 4 problems I have found after switching from flex 3.
We would work directly on my code with team viewer in the beginning.
Thanks for your help
Paolo
Open Source E-mail Server
code for complete control.
POPFile: Ope... | http://www.roseindia.net/tutorialhelp/comment/21639 | CC-MAIN-2014-10 | refinedweb | 2,862 | 63.19 |
FILE * fopen ( const char * filename, const char * mode );
<cstdio>
Open file
Opens the file whose name is specified in the parameter filename and associates it with a stream that can be identified in future operations by the FILE object whose pointer is returned. The operations that are allowed on the stream and how t... | http://www.cplusplus.com/reference/clibrary/cstdio/fopen/ | crawl-002 | refinedweb | 105 | 65.62 |
On Sun, Oct 01, 2000 at 08:31:10AM -0700, Me wrote: > As for the subject, I have noticed that ne2000 card > support was compiled > into gnumach for the 2000-03 hurd tarball, but I can > only get the card > detected if the card is on io=0x300. Is there a place > to change this so > that multiple ne2000 cards could be su... | https://lists.debian.org/debian-hurd/2000/10/msg00025.html | CC-MAIN-2017-30 | refinedweb | 250 | 68.33 |
This site uses strictly necessary cookies. More Information
How can i set mouse cursor position?
Answer by Ashkan_gc
·
Dec 24, 2009 at 01:42 PM
in mono you can use the system.windows.form.cursor.position but it needs the windows.form.dll and you need to add this assembly to your project. for mouse clicks you should use... | https://answers.unity.com/questions/9408/set-cursor-position.html?sort=oldest | CC-MAIN-2021-25 | refinedweb | 804 | 66.33 |
24C04 is a two-wire serial EEPROM which is an abbreviation of Electrically Erasable Programmable Read-Only Memory. This EEPROM IC provides an I2C communication interface. It is basically a memory device which stores information and retains it even when we remove the power. It has a memory capacity of 512 words. Each wo... | https://microcontrollerslab.com/24c04-two-wire-serial-eeprom-interrfacing-arduino/ | CC-MAIN-2021-39 | refinedweb | 907 | 58.58 |
>>.
Sad that you consider abandoning this project... I'd like to use it in my game, but pyBox2D seems a little bit hard and non-pythonic. Maybe I'm just too lazy.
Anyway, the BoxCutter example is great! But it crashes sometime with that message:
Assertion failed: d.y >= 0.0f, file Collision/Shapes/b2PolygonShape.cpp, l... | http://pybox2d.blogspot.com/2008/10/202b0-released.html | CC-MAIN-2017-34 | refinedweb | 1,011 | 76.62 |
For this assignment, you may work alone or with a partner of your choice. If you work with a partner, both partners should contribute equally to the assignment and both partners must fully understand everything you submit. Remember to follow the pledge you read and signed at the beginning of the semester. For this assi... | https://www.cs.virginia.edu/~evans/cs1120-f11/problem-sets/problem-set-8-part-2-typed-aazda | CC-MAIN-2018-05 | refinedweb | 2,989 | 54.22 |
I am forking a number of processes and I want to measure how long it takes to complete the whole task, that is when all processes forked are completed. Please advise how to make the parent process wait until all child processes are terminated? I want to make sure that I stop the timer at the right moment.
Here is as a ... | https://codedump.io/share/lYZCCEjYq1ww/1/how-to-wait-untill-all-child-processes-called-by-fork-complete | CC-MAIN-2017-04 | refinedweb | 414 | 66.37 |
This is the mail archive of the cygwin mailing list for the Cygwin project.
Hi, Sinan, Please don't send personal mail with Cygwin questions unless specifically requested. All Cygwin-related queries should go to an appropriate Cygwin mailing list (see <>). The lists can also be accessed as newsgroups via <> (see the "U... | http://cygwin.com/ml/cygwin/2004-04/msg00030.html | CC-MAIN-2015-35 | refinedweb | 675 | 65.42 |
It's probably an easy program to fix but as a newbie I'm having trouble understanding the concept of class.
I'm supposed to create a person class to represent a person. (You may call the class personType.) To simplify things, have the class have 2 variable members for the person's first and last name. Include 2 constru... | http://cboard.cprogramming.com/cplusplus-programming/71262-need-help-get-working.html | CC-MAIN-2015-11 | refinedweb | 228 | 60.75 |
In this presentation from GOTO Conference CPH 2015, Marin shows how to create animations in UIKit with Swift that work with Auto Layout UIs. He looks into using existing constraints in animations, as well as replacing those constraints to create better animations. He also touches on how and when to trigger animated and... | https://academy.realm.io/posts/gotocph-marin-todorov-auto-layout-animations-ios/ | CC-MAIN-2021-17 | refinedweb | 2,791 | 65.83 |
Objective like.
Note - I recommend that everyone read Chapter 2, "More About C Variables." In my experience, many who should be familiar with the material it contains are not familiar with that material.
There are many books on C. The original Kernighan and Ritchie book, The C Programming Language, is still one of the ... | https://www.codeproject.com/Articles/111970/Excerpt-from-Learning-Objective-C-A-Hands-On-G | CC-MAIN-2018-13 | refinedweb | 7,545 | 60.24 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.