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 09/05/2010 05:29 PM, James Morris wrote:> On Sat, 4 Sep 2010, John Johansen wrote:> >> On 09/04/2010 04:57 AM, Jiri Slaby wrote:>>> Hi,>>>>>> stanse found that you possibly double lock ns->lock:>>> aa_remove_profiles>>> -> write_lock(&ns->lock)>>> -> __remove_namespace(ns)>>> -> destroy_namespace(ns)>>> -> write_loc... | http://lkml.org/lkml/2010/9/6/287 | CC-MAIN-2015-27 | refinedweb | 113 | 68.5 |
:
Developing the Business Logic
Introduction
In this article, we will focus on the business logic tasks that need to be implemented in a loan request process. The part of the loan request process we will cover in this article can be seen in figure 1.
First, we take a look at the script task and, then, we implement the ... | http://www.javabeat.net/developing-the-business-logic-in-activiti/ | CC-MAIN-2014-42 | refinedweb | 2,509 | 53.1 |
A few days ago Microsoft announced TypeScript 4.3 Beta. Here are 3 updates that I found the most interesting and a list of the rest of the updates. Let's go!
overrides + noImplicitOverrides compiler option
TypeScript now takes care of method names' safety when overriding parent class methods. When a method is marked wi... | https://dev.to/alexkhismatulin/typescript-4-3-quickly-my-top-3-updates-1n4a | CC-MAIN-2022-27 | refinedweb | 491 | 70.84 |
Converting from Hypersonic to MYSQLChristopher Bird Jun 17, 2004 4:23 PM
This is actually a series of messages strung together from a posting at "theserverside.com" I didn't get many helpful answers here, so I am submitting the evidence to this august group and begging for assistance.
Sorry the post is so long, I wante... | https://developer.jboss.org/thread/76048 | CC-MAIN-2018-17 | refinedweb | 1,273 | 51.65 |
Ram.
I don't know about you, but I surely got excited about the package from his intro video:
It's a simple screen cast with good music.
In the GitHub rMaps repository you can find the simple installation instructions as well as three different examples. They all work if you run them in the latest version of RStudio ot... | http://www.r-bloggers.com/rmaps-released/ | CC-MAIN-2014-42 | refinedweb | 302 | 68.87 |
In this scenario, the user wants to run a MariaDB database container out of their home directory, and they want to mount a volume from their home directory into the container. Let's discover how to manage security when mounting volumes in rootless containers.
Managing SELinux
I have talked several times about how SELin... | https://www.redhat.com/sysadmin/user-namespaces-selinux-rootless-containers | CC-MAIN-2021-31 | refinedweb | 760 | 52.9 |
Synopsis:
Running into an issue where whole cluster stopping reads and writes for a period of time (size of the cluster did not matter), when a single node in the cluster fails when running Async java client.
Resolution:
The issue observed from the async client on the java benchmark tool suspect is that this issue woul... | https://discuss.aerospike.com/t/java-configure-time-out/709 | CC-MAIN-2019-09 | refinedweb | 236 | 67.93 |
Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
On 17/03/2013 at 05:48, xxxxxxxx wrote:
User Information:
Cinema 4D Ve... | https://plugincafe.maxon.net/topic/7040/7950_finding-3d-point-under-the-cursor | CC-MAIN-2022-40 | refinedweb | 1,734 | 54.83 |
I'm using Rails on a side project I'm playing with. Many of my peers would probably ask why would I do this to myself. The answer is simple: Rails helps me get stuff done quickly because it is super boring. It is so boring that it makes me excited.
My app is split in two: a widget that every website can use — a JS bund... | https://gal.hagever.com/posts/hotwire-in-preact-apps | CC-MAIN-2021-49 | refinedweb | 1,614 | 62.68 |
...making Linux just a little more fun!.
Citrix Systems agreed to acquire XenSource, an open source leader in virtual infrastructure solutions. Originally created at the University of Cambridge, the Xen virtualization "engine" is now developed collaboratively by an active open source community of senior engineers at ma... | http://www.tldp.org/LDP/LGNET/142/TWDT.html | CC-MAIN-2016-40 | refinedweb | 1,987 | 53.92 |
Reimport a module in python while interactive
This should work (for Python < 3.4):
reload(my.module)
From the Python docs
Reload a previously imported module. The argument must be a module object, so it must have been successfully imported before. This is useful if you have edited the module source file using an extern... | https://codehunter.cc/a/python/reimport-a-module-in-python-while-interactive | CC-MAIN-2022-21 | refinedweb | 261 | 65.52 |
Kohn-Sham wavefunctions of the oxygen atom and CO molecule¶
In this section we will look at the Kohn-Sham wavefunctions of the O atom and CO molecule and compare them to results from molecular orbital theory.
The first script
O.pysets up an oxygen atom in a cubic supercell with non-periodic boundary conditions and calc... | https://wiki.fysik.dtu.dk/gpaw/exercises/wavefunctions/wavefunctions.html | CC-MAIN-2020-05 | refinedweb | 624 | 60.11 |
C++ Quiz
You've answered 0 of 71 questions correctly. (Clear)
Question #124 Difficulty:
According to the C++11 standard, what is the output of this program?
#include <iostream> using namespace std; struct A {}; struct B {}; template<typename T = A> struct X; template<> struct X<A> { static void f() { cout << 1 << endl;... | http://cppquiz.org/quiz/question/124 | CC-MAIN-2016-50 | refinedweb | 125 | 73.58 |
I have a linux proc entry in
/proc/sys/fs/offs/ts/enable
echo 1 > /proc/sys/fs/offs/ts/enable
echo 0 > /proc/sys/fs/offs/ts/enable
def set_mode(enable=True):
with open('/proc/sys/fs/offs/ts/enable', 'w') as p:
if enable:
p.write("1")
else:
p.write("0")
p.flush()
There are a couple of problems with your code.
Firstly, y... | https://codedump.io/share/4wAp2Ix8N3HV/1/what-is-the-recommended-way-to-update-a-proc-entry-from-python | CC-MAIN-2017-26 | refinedweb | 222 | 65.32 |
Troy Curtis Jr wrote:
> On Wed, May 28, 2008 at 12:56 PM, Julian Foad wrote:
>.
[...]
>
> My first thought was "no thank you, I've already looked into that and
> its too much for me". But your comment about it being limited to
> subversion/svn caught my interest, so I looked at it again. Sure
> enough, you were right, ... | http://svn.haxx.se/dev/archive-2008-05/1342.shtml | CC-MAIN-2016-22 | refinedweb | 463 | 63.19 |
Setting up Tailwind With create-react-app
Matt Hagner
Updated on
・8 min read
What is Tailwind?
Tailwind is a functional CSS framework that is ergonomic to use, but low level enough to make it fully customizable. You can configure it, add plugins, and override defaults. It generates CSS class names for you so that you c... | https://dev.to/hagnerd/setting-up-tailwind-with-create-react-app-4jd | CC-MAIN-2020-05 | refinedweb | 2,515 | 65.42 |
With the NativeScript 6.0 release we announced a new beta of the NativeScript core theme, which looks a little something like this.
In this article we’ll take a deeper look at the new theme, including what changed, and how to try out the new theme for yourself today. Let’s start by looking at how you can get up and run... | https://blog.nativescript.org/an-early-look-at-the-new-nativescript-core-theme/index.html | CC-MAIN-2021-21 | refinedweb | 2,026 | 64.2 |
Create and Package a Lambda Function
In order for a Python Lambda function to run on an AWS Greengrass device, it must be packaged with specific folders from the Python AWS Greengrass core SDK. In the following, you will:
Download the Python AWS Greengrass core SDK to your computer (not the AWS Greengrass device).
Deco... | https://docs.aws.amazon.com/greengrass/latest/developerguide/create-lambda.html | CC-MAIN-2018-09 | refinedweb | 875 | 51.85 |
In this section, the simple web service that was introduced in Using SOAP services is extended to handle SOAP headers.
If you have followed the steps outlined in the previous section, you can skip steps 1 through 4 and go directly to step 5.
To create a web service server
Create a database.
Start a server using this da... | http://dcx.sap.com/1100/en/dbprogramming_en11/working-soap.html | CC-MAIN-2017-22 | refinedweb | 1,175 | 62.27 |
Hello. I just bought a Wemos D1 R2 to have alexa in a school project. Then i figured out that the pinouts of the wemos are super complicated to me. Could anyone help me to port over the pins and code? Here is the pinouts that i had in my Uno:
#include <SPI.h> #include <MFRC522.h> #include <LiquidCrystal.h> #include <Wi... | https://forum.arduino.cc/t/porting-arduino-uno-code-to-wemos-d1-r2/697001 | CC-MAIN-2022-33 | refinedweb | 121 | 75.81 |
This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.
> Patches that follow will remove uses of IS_IN_* variables with the s/remove/replace/ > Verified that there are no relevant source changes. One source change > that will crop up repeatedly is that of nscd_stat, since it uses ... | https://sourceware.org/legacy-ml/libc-alpha/2014-11/msg00152.html | CC-MAIN-2020-16 | refinedweb | 294 | 50.23 |
Free Open Source Electronic Document Management System
Project description instructions visit the Mayan EDMS documentation at:
The final version of the book “Exploring Mayan EDMS” available now!
Click the image or visit:
Hardware requirements
- 2 Gigabytes of RAM (1 Gigabyte if OCR is turned off).
- Multiple core CPU (... | https://pypi.org/project/mayan-edms/3.4.9/ | CC-MAIN-2020-34 | refinedweb | 13,009 | 54.29 |
, part 2 and part 3 in case you have not gone through that already. Let’s continue the idea …
For Web … Smaller and Lesser is Better
In the previous posts, we have reached to a point where we have included the required JavaScript libraries to the project using bower. All these files are in their respective folders unde... | https://www.mindzgrouptech.net/2017/01/29/angularjs-with-asp-net-mvc-part-4/ | CC-MAIN-2017-13 | refinedweb | 1,026 | 51.14 |
United States
Change
|
All Microsoft Sites
Help and Support
Help and Support Home
Select a Product
Advanced Search
Visual Basic .NET 2002
Code Syntax
Compiler
Controls
Documentation
Performance
Upgrade
How-to articles - Visual Basic .NET 2002
How to create a file-compare function in Visual Basic .NET or in Visual Basic... | http://support.microsoft.com/ph/2964 | crawl-002 | refinedweb | 538 | 59.19 |
ImageModel QML Type
The ImageModel type provides a model of place images. More...
Properties
- batchSize : int
- place : Place
- totalCount : int
Detailed Description
The ImageModel is a read-only model used to fetch images related to a Place. Binding a Place via ImageModel::place initiates an initial fetch of images. ... | http://doc.qt.io/qt-5/qml-qtlocation-imagemodel.html | CC-MAIN-2016-50 | refinedweb | 256 | 53.37 |
Threads and channels¶
A thread is the basic execution entity. A scheduler controls the execution of threads.
A simple thread that waits to be resumed by another thread.
#include "simba.h" void *my_thread_main(void *arg_p) { UNUSED(arg_p); while (1) { thrd_suspend(NULL); std_printf(FSTR("Thread resumed.\r\n")); } return... | https://simba-os.readthedocs.io/en/11.0.0/developer-guide/threads-and-channels.html | CC-MAIN-2019-30 | refinedweb | 163 | 60.61 |
Introduction
A Stack is a linear data structure in which a data item is inserted and deleted at one record. A stack is called a Last In First Out (LIFO) structure. Because the data item inserted last is the data item deleted first from the stack.
Stacks are used most used is system software such as compilers, operating... | http://codemyne.net/Articles/2010/12/Stack-in-Clanguage | CC-MAIN-2021-43 | refinedweb | 284 | 63.02 |
Text Attributes class.
This class is used (in general by secondary inheritance) by many other classes (graphics, histograms). It holds all the text attributes.
Text attributes are:
The text alignment is an integer number (
align) allowing to control the horizontal and vertical position of the text string with respect t... | https://root.cern/doc/master/classTAttText.html | CC-MAIN-2020-29 | refinedweb | 793 | 67.65 |
Tutorial
Getting Started with NestJS
If you’ve worked on a Node.js application, you may have noticed that it became more difficult to maintain over time. The more you add new features to the application, the larger the codebase becomes.
Nest.js is a server-side Node.js framework for building efficient, reliable and sca... | https://www.digitalocean.com/community/tutorials/getting-started-with-nestjs | CC-MAIN-2021-31 | refinedweb | 2,436 | 54.12 |
Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search Coderanch
Advance search
Google search
Register / Login
Mike Smith
Ranch Hand
85
22
Threads
0
Cows
since Sep 23, 2005 (22/10)
Number Likes Received (0/3)
Number Likes Granted (0/3)
Set bumper stickers in profile (0/1)... | https://www.coderanch.com/u/107613/Mike-Smith | CC-MAIN-2022-05 | refinedweb | 2,899 | 56.66 |
On 12/6/2012 11:50 AM, Matt wrote: > It works now. Steven and Alex, thanks for your help! > > I ended up leaving sample.py and foo.py and bar.p the way they were, and in __init__.py putting: > > from foo import * > from bar import * > > So my mistake was not importing the foo and bar modules into sub_one/__init__.py. >... | https://mail.python.org/pipermail/python-list/2012-December/636246.html | CC-MAIN-2019-30 | refinedweb | 218 | 84.57 |
Slashdot Log In
Victory for small business in domain disputes
A reader sent us the link-o-meter to the story about how Clue Computing beat toy giant Hasbro over a 3 year long legal dispute over clue.com (Hasbro owns the Clue board game). Some are hoping that this will mean small business have a precent to call in in th... | http://slashdot.org/articles/99/09/09/1712221.shtml | crawl-001 | refinedweb | 2,931 | 59.43 |
On (Fri) Aug 06 2010 [12:12:45], Daniel P. Berrange wrote: > On Wed, Jun 23, 2010 at 08:14:04PM +0530, Amit Shah wrote: > > qemu-config.c doesn't contain any target-specific code, and the > > TARGET_I386 conditional code didn't get compiled as a result. Removing > > this enables the driftfix parameter for rtc. > > > > ... | http://lists.gnu.org/archive/html/qemu-devel/2010-08/msg00432.html | CC-MAIN-2014-41 | refinedweb | 176 | 68.97 |
At least thats the short story; we need to turn to some code to make this more concrete. C types generally export a C module with a constructor function. Because of that (and because they are simpler), lets start off by studying the basics of C module coding with a quick example.
When you add new or existing C componen... | https://flylib.com/books/en/2.723.1/a_simple_c_extension_module.html | CC-MAIN-2018-34 | refinedweb | 3,539 | 60.65 |
I will try to make this a purely minimal example to be as applicable to as many people as possible as well as protect any sort of code sharing that might violate an NDA. Hope this is okay!
I am using CppUTest and CppUMock (compiling with gcc/g++ and makefiles created with CMake) in conjunction with Gitlab Continuous In... | https://codedump.io/share/CYWLXiss6Ldz/1/cpputest-unit-testing-framework-multiple-definition-exception | CC-MAIN-2018-17 | refinedweb | 316 | 62.34 |
a singleton, two-level, colorful, thread-safe, knob-free, logging library for in-house software
Project description
logthis
logthis is a singleton, two-level, colorful, thread-safe, knob-free, logging library for in-house software.
singleton: There is no object to create. There are only two logging functions, say() and... | https://pypi.org/project/logthis/ | CC-MAIN-2018-34 | refinedweb | 429 | 65.22 |
On Sat, 2 Sep 2000, Roman Zippel wrote:> Hi,> > On Thu, 31 Aug 2000, Alexander Viro wrote:> > > Go ahead, write it. IMNSHO it's going to be much more complicated and> > race-prone, but code talks. If you will manage to write it in clear and> > race-free way - fine. Frankly, I don't believe that it's doable.> > It will ... | https://lkml.org/lkml/2000/9/2/66 | CC-MAIN-2018-39 | refinedweb | 1,598 | 66.23 |
Monitor your ML runs live wherever you are
Would you like to know that your model training failed, the loss stopped improving, or the GPU consumption is going crazy? You can. Run experiments anywhere, log anything you want, and see it all in one place.
It is a good practice to have control over your model training proc... | https://neptune.ai/use-cases/monitor-machine-learning-runs-live | CC-MAIN-2020-50 | refinedweb | 520 | 50.67 |
JSON Adapter for ABAP Function Modules
This blog explains how to use an ABAP class that allows calling function modules with a URL and a JSON representation of ABAP data.
The code to this project is available in this GitHub repository: cesar-sap/abap_fm_json · GitHub.
If you have problems installing it via SAPLink or a... | https://blogs.sap.com/2013/03/05/json-adapter-for-abap-function-modules/ | CC-MAIN-2021-04 | refinedweb | 12,897 | 72.66 |
It's too late tonight, but monday morning I will likely be committing a major revamping of the buildworld code. It will do a number of things: STAGE1: * It compartmentalizes the bootstrap/buildtools from the cross-build setup from the world stage. Instead of unfathomable subdirectory names in /usr/obj/usr/src/* the sta... | http://leaf.dragonflybsd.org/mailarchive/kernel/2004-03/msg00397.html | CC-MAIN-2015-22 | refinedweb | 413 | 66.74 |
for connected embedded systems
ualarm()
Schedule an alarm
Synopsis:
#include <unistd.h> useconds_t ualarm( useconds_t usec, useconds_t interval );
Arguments:
- usec
- The number of microseconds that you want to elapse before the first alarm occurs, or 0 to cancel any previous request for an alarm.
- interval
- The numb... | http://www.qnx.com/developers/docs/6.4.0/neutrino/lib_ref/u/ualarm.html | crawl-003 | refinedweb | 343 | 65.32 |
>>.
Wyvern = Wyrm (Score:3, Interesting)
Why? What's the worst that could happen? What's the best?
Why is the NSA interested in something like that directly? What is the potential for abuse?
Is it to make code analysis that much more centralized and (supposedly) simple?
Why didn't this come up with itself before now?
R... | https://developers.slashdot.org/story/14/08/10/2250205/new-nsa-funded-code-rolls-all-programming-languages-into-one?sbsrc=md | CC-MAIN-2016-44 | refinedweb | 4,922 | 64.91 |
If you use NumPy for numerical computations, which I recommend if you program in Python, one of the key things to do is to process entire arrays in one go as much as possible (this is also true for MATLAB). Using these so-called vectorized operations makes sure that the operation is run using compiled code instead of i... | https://tomroelandts.com/index.php/articles/how-to-compute-the-mandelbrot-set-using-numpy-array-operations | CC-MAIN-2021-04 | refinedweb | 1,144 | 64.71 |
Background
In this tutorial series, we are going to learn modern c++ using the raspberry pi. So, what do I mean when I say modern? In August of 2011, a new version of the c++ standard was released that included some exciting new features. So, in this tutorial series, we will be taking advantage of these enhancements.
T... | https://www.element14.com/community/community/code_exchange/blog/2013/01/02/c-tutorial--hello-raspberry-pi | CC-MAIN-2018-22 | refinedweb | 759 | 80.41 |
I have this program with a class DNA. The program counts the most frequent k-mer in a string. So, it is looking for the most common substring in a string with a length of k.
An example would be creating a dna1 object with a string of AACCAATCCG. The count k-mer method will look for a subtring with a length of k and out... | https://codedump.io/share/qKJWFqjKdkpw/1/how-to-write-a-method-that-counts-the-most-common-substring-in-a-string-in-ruby | CC-MAIN-2017-13 | refinedweb | 901 | 75.91 |
Please tell me the exact logic to solve this question. I’ve tried a lot but always end up with WA. Here is the link of the question -
It w1 is odd, the we need one n1 object to fill the last one space. If n1==0, then the point is wasted.
so, if w1 is odd, then subtract 1 from it (the last space), if n1>0, add 1 to answ... | https://discuss.codechef.com/t/fill-the-bags/9482 | CC-MAIN-2020-40 | refinedweb | 284 | 90.09 |
CodePlexProject Hosting for Open Source Software
Hi all,
I'm looking to build a form widget that posts the data to a controller action. Seems simple enough but I'm struggling. I don't want the widget to have a content part as it doesn't need it. All the example I've seen contains ContentParts and I've actually
built my... | https://orchard.codeplex.com/discussions/271245 | CC-MAIN-2017-09 | refinedweb | 692 | 66.57 |
This is an introduction to the Jena client API to the AllegroGraph RDFStore™ from Franz Inc.
The Java Jena API offers convenient and efficient access to an AllegroGraph server from a Java-based application. This API provides methods for creating, querying and maintaining RDF data, and for managing the stored triples.
T... | https://franz.com/agraph/support/documentation/current/java-tutorial/jena-tutorial.html | CC-MAIN-2018-43 | refinedweb | 7,360 | 51.55 |
After such a long time since it was announced, Canon's first mirrorless EOS camera --- Canon EOS M has finally got in hand.. The only problem, as many Canon DSLRs may have, is the incompatibility which will jump out when you want to import Canon EOS M 1080p MOV to Final Cut Pro 7 on Mac.
Obviously, what matters is not ... | http://www.brorsoft.com/how-to/import-canon-eos-m-1080p-mov-files-final-cut-pro7.html | CC-MAIN-2016-22 | refinedweb | 306 | 85.79 |
This guide assumes you've already setup Comatose (see Installation).
Comatose supports a hierarchal arrangement of pages. A page tree, in other words. Every page has the following attributes:
Provided by acts_as_tree:
The slug is generally a URI accessible name based on the title. For example, if your page is titled "M... | http://code.google.com/p/comatose-plugin/wiki/GettingStartedGuide | crawl-002 | refinedweb | 2,265 | 58.99 |
Energy efficiency This little light of mine Investments in efficiency are getting more attention See article
Readers' comments
Reader comments are listed below. Comments are currently closed and new comments are no longer being accepted.
Sort:
It is one thing to provide information. It is another thing to get consumers... | http://www.economist.com/node/21551496/comments | CC-MAIN-2014-10 | refinedweb | 1,286 | 64.1 |
- Article Catalog
- Introduction to News Sentiment Analysis with Eikon Data APIs - a Python example
This article will demonstrate how we can conduct a simple sentiment analysis of news delivered via our new Eikon Data APIs. Natural Language Processing (NLP) is a big area of interest for those looking to gain insight an... | https://developers.uat.refinitiv.com/en/article-catalog/article/introduction-news-sentiment-analysis-eikon-data-apis-python-example | CC-MAIN-2022-27 | refinedweb | 2,220 | 61.77 |
Updated:.
var v = new { Amount = 108, Message = "Hello" };.
var productQuery =
from prod in products
select new { prod.Color, prod.Price };
foreach (var v in productQuery)
{
Console.WriteLine("Color={0}, Price={1}", v.Color, v.Price);
}.
Date
History
Reason
July 2008
Added information about cast restrictions to introdu... | http://msdn.microsoft.com/en-us/library/bb397696.aspx | crawl-002 | refinedweb | 425 | 66.54 |
Today, you will learn how to remove the background color from a sprite sheet using AS3, and blit the result to a bitmap canvas. Read on to learn more!
Final Result Preview
Let's take a look at the final result we will be working towards:
Step 1: Drawing the Spritesheet
So, it is time to draw your spritesheet. Open up y... | https://code.tutsplus.com/tutorials/blitting-with-as3-removing-a-bitmaps-background-color--active-9981 | CC-MAIN-2019-47 | refinedweb | 1,321 | 74.59 |
toktok
Fast and most complete/customizable tokenizer in Python.
It is roughly 25x faster than spacy's and nltk's regex based tokenizers.
Using the aho-corasick algorithm makes it a novelty and allows it to be both explainable and fast in how it will split.
The heavy lifting is done by textsearch and pyahocorasick, allo... | https://libraries.io/pypi/tok/0.0.9 | CC-MAIN-2019-35 | refinedweb | 349 | 61.33 |
When adding an overlay to a Google Maps implementation, be sure to read the documentation thoroughly, which I of course didn’t resulting in the fact that I missed the important part about XHTML and VML which on its turn resulted in the fact that it wouldn’t work in IE.
This happened to me whilst working on the roadmap ... | https://www.bram.us/2006/10/02/my-google-maps-overlay-issue-resolved/ | CC-MAIN-2021-39 | refinedweb | 151 | 67.22 |
TrackPacer Part 3 - Controlling Thousands of LEDs
This is the last post in a 3 part series detailing the construction of our latest hardware project - TrackPacer. In this post, I'll cover the different ways you can control large numbers of LEDs using an Arduino and open source libraries, as well as describe the techniq... | https://www.viget.com/articles/trackpacer-part-3-controlling-thousands-of-leds/ | CC-MAIN-2022-27 | refinedweb | 818 | 68.5 |
Kentico Xperience 13 Beta (2 Part Series)
Table of Contents
- How to Get the Kentico EMS 2020 Beta
- Running The Beta on .NET Core
- Coding Kentico on ASP.NET Core
- Why Is Kentico EMS on ASP.NET Core Important?
- Conclusion
The first Kentico EMS 2020 beta was released in the Autumn of 2019, with a focus on updates to ... | https://practicaldev-herokuapp-com.global.ssl.fastly.net/seangwright/kentico-ems-2020-beta-beta-2-on-net-core-494b | CC-MAIN-2020-29 | refinedweb | 2,275 | 59.19 |
#include <sys/types.h> #include <db.h>
The record number data structure is either variable or fixed-length records stored in a flat-file format, accessed by the logical record number.(3) is defined in the <db.h> include file as follows:
typedef struct { unsigned long flags; unsigned int cachesize; unsigned int psize; i... | http://www.makelinux.net/man/3/R/recno | CC-MAIN-2014-42 | refinedweb | 171 | 59.53 |
Monitoring the health of your computer system is incredibly important. That's why Microsoft built performance monitoring into Windows NT. Jeffrey Richter shows you a C++ class that lets you easily use performance data within your own apps.
Jeffrey Richter
Implementing a Web View Namespace Extension Using Active Directo... | http://www.microsoft.com/msj/0898/default.aspx | CC-MAIN-2014-52 | refinedweb | 139 | 51.78 |
Ask a Jedi: Handling RSS feeds with custom data
This post is more than 2 years old.
Neal asks:.)
I'm trying to use cffeed to read RSS feeds provided by National Public Radio (I manage a few websites for community radio stations that purchase NPR programming). Everything works great, except that NPR uses a custom namesp... | https://www.raymondcamden.com/2008/04/23/Ask-a-Jedi-Handling-RSS-feeds-with-custom-data | CC-MAIN-2021-17 | refinedweb | 568 | 65.32 |
Hi people, I am having trouble with my splash screen. Basically, it just flashes really quickly and I can't get to to pause for long enough. See attached file.
I've attached my program as a zipped file.
After you have download it you need to right click and extract it otherwise it won't work.
Awaiting your earliest rep... | https://www.daniweb.com/programming/software-development/threads/39461/splash-screen-woes | CC-MAIN-2017-09 | refinedweb | 156 | 61.12 |
Math::Prime::Util - Utilities related to prime numbers, including fast sieves and factoring
Version 0.32
# my $aref = primes( 5_000, 10_000 ); # If you want them in an array instead my @primes = @{primes( 500 )}; # You can do something for every prime in a range. Twin primes to 10k: forprimes { say if is_prime($_+2) } ... | http://search.cpan.org/~danaj/Math-Prime-Util-0.32/lib/Math/Prime/Util.pm | CC-MAIN-2014-15 | refinedweb | 5,453 | 63.49 |
I have a scenario where I add a few of the same component (a container to hold a object) which is derived from mx Panel to a HDividedBox. The layout is set to "absolute".
public class ObjectContainer extends Panel { this.layout = "absolute"; //rest of the code
Now the HDividedBox nicely displays the containers with a d... | https://forums.adobe.com/thread/831875 | CC-MAIN-2018-30 | refinedweb | 276 | 66.33 |
View all headers
Path: senator-bedfellow.mit.edu!bloom-beacon.mit.edu!tribune.meitca.com!uunet!in2.uu.net!144.212.100.12!news.mathworks.com!iagnet.net!newsfeed.internetmci.com!164.67.42.145!nntp.info.ucla.edu!134.87.113.1!news.bc.net!torn!kone!news.ccs.queensu.ca!fletcher
From: fletcher@democracy.queensu.ca (Alex)
News... | http://www.faqs.org/faqs/games/mud-faq/diku/ | CC-MAIN-2018-39 | refinedweb | 6,447 | 74.49 |
YAML - YAML Ain't Markup Language (tm)
use YAML; # Load a YAML stream of 3 YAML documents into Perl data structures. my ($hashref, $arrayref, $string) = Load(<<'...'); --- name: ingy age: old weight: heavy # I should comment that I also like pink, but don't tell anybody. favorite colors: - red - white - blue --- - Clar... | http://search.cpan.org/~ingy/YAML-0.39/lib/YAML.pod | crawl-002 | refinedweb | 1,583 | 68.77 |
PHPUnit 开发团队宣布 PHPUnit 6.0.0 发布了。此版本添加了新功能,更改并删除了现有功能,并修复了错误。此处提供了详细的更改列表。
Dropping support for PHP 5.6
According to our release process, PHPUnit must be compatible with all versions of PHP that are actively supported by the PHP project.
Active support for PHP 5.6 ended on December 31, 2016. The only actively supported... | https://www.oschina.net/news/81761/phpunit-6-0-0-released | CC-MAIN-2022-27 | refinedweb | 476 | 60.01 |
The information in this post is out of date.
Visit msdn.com/data/ef for the latest information on current and past releases of EF.
In Entity Framework 3.5 (.NET 3.5 SP1), there are more than a few restrictions that were imposed on entity classes. Entity classes in EF needed to either be sub classes of EntityObject, or ... | https://blogs.msdn.microsoft.com/adonet/2009/05/11/sneak-preview-persistence-ignorance-and-poco-in-entity-framework-4-0/?replytocom=22023 | CC-MAIN-2018-30 | refinedweb | 1,273 | 54.42 |
0
Hi all!
Quick summary:
I'm attempting to shutdown a socket, but the framework that I'm inheriting an Interface from already contains an implementation of a "shutdown" method. Therefore, I am unable to call "shutdown" for the socket.
Longer Explanation:
How can I fix this? I originally tried looking for a namespace it... | https://www.daniweb.com/programming/software-development/threads/414588/existing-method-overridden-by-inherited-class | CC-MAIN-2017-26 | refinedweb | 140 | 71.24 |
Writing a New Port¶
The Mido port API allows you to write new ports to do practically anything.
A new port type can be defined by subclassing one of the base classes and overriding one or more methods. Here’s an example:
from mido.ports import BaseOutput class PrintPort(BaseOutput): def _send(message): print(message) >... | https://mido.readthedocs.io/en/latest/implementing_ports.html | CC-MAIN-2022-33 | refinedweb | 959 | 68.16 |
25 September 2012 15:55 [Source: ICIS news]
MOSCOW (ICIS)--Russia's Lukoil on Tuesday restarted the ethylene and propylene units at its Stavrolen petrochemical plant which were shut down after a fire in December last year, it said.
The high-density polyethylene (HDPE) units is expected to restart in coming days, a sour... | http://www.icis.com/Articles/2012/09/25/9598532/russias-lukoil-restarts-stavrolen-ethylene-propylene-units.html | CC-MAIN-2015-14 | refinedweb | 101 | 60.65 |
I’m looking to use GR along with Interact.jl for a 3D visualization in IJulia, and I noticed that
GR.trisurface seems to have some difficulties with overlapping polygons (as matplotlib does).
Is there currently a way to achieve a ray-traced surface plot in Julia? I have been using Asymptote to render such figures stati... | https://discourse.julialang.org/t/triangulated-surfaces-in-gr-ray-tracing/6348 | CC-MAIN-2018-30 | refinedweb | 202 | 68.06 |
Dapper allows you to map a single row to multiple objects. This is a key feature if you want to avoid extraneous querying and eager load associations.
Example:
Consider 2 classes: Post and.
When I do this (My classes are different names, but same construct), I get a Post and a User, a Post and a User. I'm using the Web... | https://dapper-tutorial.net/knowledge-base/41884734/how-do-i-return-one-to-many-records-in-a-specific-order-with-dapper-and-multi-mapping- | CC-MAIN-2021-21 | refinedweb | 631 | 56.66 |
Hi.. -... server please tell me.
Hi friend,
For solving the problem.......
i am Getting Some errors in Struts - Struts
i am Getting Some errors in Struts I am Learning Struts Basics,I am Trying examples do in this Site Examples.i am getting lot of errors.Please Help me
Reply Me - Struts
Reply Me Hi Friends,
I am new in... | http://roseindia.net/tutorialhelp/comment/2557 | CC-MAIN-2014-10 | refinedweb | 867 | 76.62 |
Vbscript sqlserver työt
...-BackupAction "Log" -BackupFile "sqlserversharetest[kirjaudu nähdäksesi URL:n]" -ServerInstance "sqlserver1" Backup-SqlDatabase -Database "Databasenumber2" -BackupFile "sqlserver1sharetest[kirjaudu nähdäksesi URL:n]" -ServerInstance "sqlserver1" Backup-SqlDatabase -Database "Databasenu...
i a... | https://www.fi.freelancer.com/job-search/vbscript-sqlserver/3/ | CC-MAIN-2018-51 | refinedweb | 1,139 | 58.08 |
Parse Trees
With the implementation of our tree data structure complete, we now look at an example of how a tree can be used to solve some real problems. In this section we will look at parse trees. Parse trees can be used to represent real-world constructions like sentences or mathematical expressions.
The diagram bel... | https://bradfieldcs.com/algos/trees/parse-trees/ | CC-MAIN-2018-26 | refinedweb | 1,803 | 72.36 |
In this post, I am going to discuss a few tips on customizing debugging windows. This may be very helpful during debugging of an application. While debugging, you may want to simplify debug window or you may want to clean up all the unnecessary fields that are not important during debugging from debugging windows. Here... | http://www.codeproject.com/Articles/105590/Few-Tips-on-Customizing-Debugging-Window-View-in-V.aspx | CC-MAIN-2015-40 | refinedweb | 621 | 52.29 |
Simple implementation of archive writing to own ACF format binary file. More...
#include <CFileWriteArchive.h>
Simple implementation of archive writing to own ACF format binary file.
This imlementation is very fast and efficient and should be used if any standarized file format is needed.
Definition at line 24 of file ... | http://ilena.org/TechnicalDocs/Acf/classifile_1_1_c_file_write_archive.html | CC-MAIN-2018-30 | refinedweb | 182 | 62.75 |
Merge remote-tracking branch 'aosp/upstream-master' into update-effcee Includes: 6527fb2 Fail parsing checks if var def regexp is bad 0eb6499 Fail parsing checks if the regexp is bad. ecbc165 Add effcee-fuzz 3842fdc Add Bazel build rules. 4bef5db Require Python 3 8bf4e0a Add Clang warning -Wextra-semi Change-Id: If2475... | https://android.googlesource.com/platform/external/effcee/+/291037172dcb79318a7d0214a194e985c9ad0d7b | CC-MAIN-2020-34 | refinedweb | 1,019 | 58.08 |
descriptive information about an Fargate profile.
See also: AWS API Documentation
See 'aws help' for descriptions of global parameters.
describe-fargate-profile --cluster-name <value> --fargate-profile-name <value> [--cli-input-json <value>] [--generate-cli-skeleton <value>]
--cluster-name (string)
The name of the Ama... | https://docs.aws.amazon.com/cli/latest/reference/eks/describe-fargate-profile.html | CC-MAIN-2021-49 | refinedweb | 300 | 50.63 |
Device independent layout for QML
This article needs to be updated: If you found this article useful, please fix the problems below then delete the {{ArticleNeedsUpdate}} template from the article to remove this warning.
Reasons: hamishwillee (21 Feb 2012)
Article provides only part of the layout/scalability/orientatio... | http://developer.nokia.com/community/wiki/index.php?title=Device_independent_layout_for_QML&oldid=175339 | CC-MAIN-2014-35 | refinedweb | 724 | 65.42 |
Qt/QML 5.6.0, Android virtual keyboard + AA_EnableHighDpiScaling problem
Normally, when you have a TextField and you select it for text input, the Android virtual keyboard pops up, and the text field control is magically raised above the keyboard so you can see what you are typing. This works fine, until you enable AA_... | https://forum.qt.io/topic/66457/qt-qml-5-6-0-android-virtual-keyboard-aa_enablehighdpiscaling-problem/2 | CC-MAIN-2018-30 | refinedweb | 196 | 56.45 |
How to sort Python list with date
sort dataframe by date python
sorted python
datetime python
python sort datetime strings
python sort timestamps
sort datetime column python
sort list of dates java
I have a list in Python like this
myList = [' Google 2018-07-10', ' Apple Inc 2018-07-11', ' Microsoft 2018-07-12']
i want... | https://thetopsites.net/article/51652979.shtml | CC-MAIN-2021-25 | refinedweb | 1,087 | 70.53 |
go to bug id or search bugs for
Description:
------------
(I choose "Reflection related" as "Package affected" because that was the closest thing I could see but this really more of a core language thing.)
PHP already has a function to create class aliases via class_alias():
class Foo { }
class_alias('Foo', 'Bar');
$x ... | https://bugs.php.net/bug.php?id=73437 | CC-MAIN-2019-43 | refinedweb | 419 | 57.3 |
Take 40% off React Hooks in Action by entering fcclarsen3 into the discount code box at checkout at manning.com.
Figure 1 shows a basic illustration of React’s job: it should use the current state to render the UI. If the state changes, React should re-render the UI. The illustration shows a name in a friendly message.... | https://freecontent.manning.com/managing-component-state-with-the-usestate-hook/ | CC-MAIN-2021-49 | refinedweb | 2,779 | 60.65 |
1. Crawl a Facebook group for feed periodically.
2. Parse out the Feeds for a particular person.
3. Tweet to me when that happens.
For #1 and #3, I have already done that before with Twython and AWS Lambda in this post. So I just need to figure out how to crawl Facebook group. Here were the steps I took:
1. Create a Fa... | http://blog.pythonicneteng.com/2016/10/combine-facebook-api-with-twitter-bot.html | CC-MAIN-2017-47 | refinedweb | 395 | 68.16 |
soundplayer_play_sound_async()
Play a system sound and do not wait for completion.
Synopsis:
#include <bps/soundplayer.h>
BPS_API int soundplayer_play_sound_async(const char *name, char **id)
Since:
BlackBerry 10.2.0
Arguments:
- name
The name of the system sound.
- id
If not NULL, the ID used in the play sound request... | http://developer.blackberry.com/native/reference/core/com.qnx.doc.bps.lib_ref/topic/soundplayer_play_sound_async.html | CC-MAIN-2014-35 | refinedweb | 143 | 61.02 |
lp:charms/trusty/apache-hadoop-hdfs-secondary
Created by Kevin W Monroe on 2015-06-01 and last modified on 2015-10-07
- Get this branch:
- bzr branch lp:charms/trusty/apache-hadoop-hdfs-secondary
Members of Big Data Charmers can upload to this branch. Log in for directions.
Branch merges
Related bugs
Related blueprints... | https://code.launchpad.net/~bigdata-charmers/charms/trusty/apache-hadoop-hdfs-secondary/trunk | CC-MAIN-2017-13 | refinedweb | 287 | 65.73 |
Sean_Seanston 880 Report post Posted March 15, 2010 Shouldn't be topic-worthy I know but I've searched around and still can't solve my problem. Maybe I'm doing something small wrong but it seems to look just like other example code from what I can tell but maybe there's something different with the context... I want to... | https://www.gamedev.net/forums/topic/565231-trouble-sorting-a-vector-of-objects/ | CC-MAIN-2017-34 | refinedweb | 245 | 63.29 |
?.
Thanks
you are the best
Did not had to wait for long. Asked for it in different blog few days back
I hope you find the post useful!
I believe so. Things are getting deeper here.
Will we get recursive LSTM MODEL for multi step forecasting soon?
Will eagerly wait for that blog.
Thanks
Maybe.
Sir,
Hope to see that soon... | https://machinelearningmastery.com/multi-step-time-series-forecasting-long-short-term-memory-networks-python/ | CC-MAIN-2017-43 | refinedweb | 6,336 | 73.98 |
Due to the large screen sizes, we do not need (or want) to zoom/pan to form fields. We also do not need the next/prev buttons to appear. Tablet keyboards have a "Tab" button to make moving between fields easier.
We still want the combobox UI and the form suggestion bubble.
We should try to trigger this based on screen ... | https://bugzilla.mozilla.org/show_bug.cgi?id=656373 | CC-MAIN-2016-26 | refinedweb | 486 | 61.02 |
Using Azure App Services to Integrate with Salesforce
- Posted in:
- salesforce
- integration
- azure
Microsoft recently announced Azure App Service, a new Azure service which integrates Web Apps, Mobile Apps, Logic Apps and API Apps in one service. Scott Guthrie’s blog has a very good article that explains this new se... | http://bloggiovannimodica.azurewebsites.net/post/using-azure-app-services-to-integrate-with-salesforce | CC-MAIN-2020-45 | refinedweb | 5,423 | 60.45 |
I am writing tests for a module Child which inherits from Parent, and have run into a oddity which I can't grasp.
These modules are part of a larger framework and it is pretty difficult to strip it down to a non-working snippet of code.
However these are the facts before the crime:
my $o = Child->new;
print ref($o); #C... | http://www.perlmonks.org/index.pl/?node_id=379356 | CC-MAIN-2018-17 | refinedweb | 603 | 71.75 |
Java encryption voicepekerjaan [log masuk untuk melihat URL] Then Throw New InvalidOperationException("Private key is not loaded") End If Dim num As Integer = [l...
..
...performs deploys on target servers with Authentication solution (encryption) another solution you can recommend. See this link [log masuk untuk melih... | https://www.my.freelancer.com/job-search/java-encryption-voice/ | CC-MAIN-2018-47 | refinedweb | 505 | 54.12 |
import random random.seed(1) import matplotlib.pyplot as plt from collections import defaultdict import scipy import scipy.optimize import numpy as np values = [0, 1] ans = defaultdict(int) for N in range(100000): tot = 0 for i in range(1000): tot += random.choice(values) ans[tot] += 1 start, end = 350, 650 x = np.aran... | https://baoilleach.blogspot.com/2015/ | CC-MAIN-2018-34 | refinedweb | 492 | 53.88 |
How John Got 15x Improvement Without Really Trying
By rchrd on Nov 17, 2011
The following article was published on a Sun Microsystems website a number of years ago by John Feo. It is still useful and worth preserving. So I'm republishing it here.
How I Got 15x Improvement Without Really Trying
John Feo, Sun Microsystem... | https://blogs.oracle.com/run/tags/optimization | CC-MAIN-2016-07 | refinedweb | 5,496 | 61.97 |
Hello.I've just returned from ELC2007 andI haven't read all posts in this thread yet,but I want to comment to this function.> In AppArmor, we are interested in pathnames relative to the namespace root.> This is the same as d_path() except for the root where the search ends. Add> a function for computing the namespace-r... | https://lkml.org/lkml/2007/4/21/95 | CC-MAIN-2016-50 | refinedweb | 354 | 58.38 |
Generates books based on other books using nltk
Project description
bookgen
A python library using nltk to analyse two books and generate a new one.
Installation
pip install bookgen
Usage
from bookgen import BookGen book = BookGen("word_base_book.txt", "sentence_base_book.txt") # book.download() will download the nltk ... | https://pypi.org/project/bookgen/ | CC-MAIN-2020-16 | refinedweb | 171 | 66.03 |
On Sat, Jan 8, 2011 at 7:06 PM, Ron Adam rrr@ronadam.com wrote:
On 01/06/2011 09:28 PM, Nick Coghlan wrote:
My original suggestion was along those lines, but I've come to the conclusion that it isn't sufficiently granular - when existing code tinkers with "__module__" it tends to do it at the object level rather than b... | https://mail.python.org/archives/list/python-ideas@python.org/message/FCYVGIVJWFDJEKCBH2FZAVT2P4NWQ7BJ/ | CC-MAIN-2021-04 | refinedweb | 1,191 | 52.6 |
from fastai.vision.all import *
We're going to use the MNIST training code from the official PyTorch examples, slightly reformatted for space, updated from AdaDelta to AdamW, and converted from a script to a module. There's a lot of code, so we've put it into migrating_pytorch.py!
from migrating_pytorch import *
We can... | https://docs.fast.ai/migrating_pytorch | CC-MAIN-2020-50 | refinedweb | 234 | 53.41 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.