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 |
|---|---|---|---|---|---|
As a researcher who writes publications regularly, I'm frequently faced with the issue of producing neat graphs. This wasn't always easy for me, and I had to use the available tools in the best way I could, but I wasn't satisfied with the graphs I produced most of the time. I always used to wonder how other researchers... | https://code.tutsplus.com/tutorials/introducing-matplotlib--cms-26543 | CC-MAIN-2018-22 | refinedweb | 1,106 | 62.07 |
Acme::CPANAuthors - We are CPAN authors
use Acme::CPANAuthors; my $authors = Acme::CPANAuthors->new('Japanese'); my $number = $authors->count; my @ids = $authors->id; my @distros = $authors->distributions('ISHIGAKI'); my $url = $authors->avatar_url('ISHIGAKI'); my $kwalitee = $authors->kwalitee('ISHIGAKI'); my @info = ... | http://search.cpan.org/~ishigaki/Acme-CPANAuthors-0.22/lib/Acme/CPANAuthors.pm | CC-MAIN-2015-35 | refinedweb | 652 | 56.55 |
An API for the Thinkst Canary Console
Project description
Thinkst Applied Research
Overview
The Python Canary API Wrapper allows access to the Canary Web API.
Installation
The API is supported on python 2.7. The recommended way to install the API Wrapper is via pip.
pip install canarytools
For instructions on installin... | https://pypi.org/project/canarytools/1.0.12/ | CC-MAIN-2021-04 | refinedweb | 434 | 50.43 |
It's not the same without you
Join the community to find out what other Atlassian users are discussing, debating and creating.
I am not sure which script runner function to use or how to code for a change in the issue.priority field. We want to send an email when a Priority 1 issue is down graded (so not = 1-Critical).... | https://community.atlassian.com/t5/Jira-questions/How-do-I-send-an-email-when-a-Priority-1-issue-is-down-graded-so/qaq-p/675397 | CC-MAIN-2018-51 | refinedweb | 189 | 64.81 |
.
System.Console.WriteLine()
This is because Console is a member of the System namespace. However, since System is usually always included as a using directive, you can just write Console.WriteLine().
String is also part of the System namespace, but the ToLower method is not static -- in other words, it operates on ins... | https://www.experts-exchange.com/questions/20778540/Easy-Question-I-think.html | CC-MAIN-2017-51 | refinedweb | 228 | 65.93 |
Method Overloading in C#
In this article, I’m trying to explain the concept of method overloading.
Method overloading is the concept of polymorphism which means one name multiple forms. It defines that method can have same name with different parameters or signatures. It allows you to have same name method in one class... | https://www.mindstick.com/blog/503/method-overloading-in-c-sharp | CC-MAIN-2016-44 | refinedweb | 274 | 52.19 |
01 November 2011 07:21 [Source: ICIS news]
SHANGHAI (ICIS)--?xml:namespace>
The country’s purchasing managers’ index (PMI) fell by 0.8 percentage points to 50.4% in October from September, according to data released by the China Federation of Logistics & Purchasing (CFLP) on Tuesday.
From September to October, the new ... | http://www.icis.com/Articles/2011/11/01/9504282/china-oct-pmi-declines-to-50.4-manufacturing-to-slow.html | CC-MAIN-2014-49 | refinedweb | 264 | 60.61 |
RepeatPattern
Since: BlackBerry 10.0.0
#include <bb/cascades/RepeatPattern>
Specifies how and if an image should be repeated within a container.
The RepeatPattern::Type is used by ImagePaint and ImagePaintDefinition to specify if and how the image should be repeated over the filled area.
Fill: stretches the image to fi... | https://developer.blackberry.com/native/reference/cascades/bb__cascades__repeatpattern.html | CC-MAIN-2016-50 | refinedweb | 219 | 54.73 |
ran the JIT CodeGen bringup tests from CoreCLR and one of them failed (tests/src/JIT/CodeGenBringUpTests/Localloc.cs).
Reduced to the following code:
> using System;
>
> public class Program
> {
> public static void Main()
> {
> try {
> unsafe {
> byte* a = stackalloc byte[0];
> *a = 0;
> }
> }
> catch (Exception) {
>... | https://xamarin.github.io/bugzilla-archives/33/33138/bug.html | CC-MAIN-2019-39 | refinedweb | 145 | 63.39 |
Hey everyone, I'm writing a program for a class. It's a relatively simple C program that I'm compiling in Dev C++. I'm trying to make it as complex as possible, but I'm just a college freshman and don't know much beyond the basics of programming.
I'd like to enable option to have the user select an input file and outpu... | https://www.daniweb.com/programming/software-development/threads/36281/cryptology | CC-MAIN-2018-30 | refinedweb | 303 | 56.79 |
The
BufferedWriter class of the
java.io package can be used with other writers to write data (in characters) more efficiently.
It extends the abstract class
Writer.
Working of BufferedWriter
The
BufferedWriter maintains an internal buffer of 8192 characters.
During the write operation, the characters are written to the... | https://www.programiz.com/java-programming/bufferedwriter | CC-MAIN-2021-04 | refinedweb | 593 | 58.79 |
What I'm trying to do is check if a string is a palindrome or not. I'm supposed to ignore all non-letter characters but it doesn't appear to be working. Any suggestions?
For ex. When I type in "He lived as a devil, eh?" it tells me that it's not a palindrome even though it is.
Code:#include <iostream> #include <string>... | https://cboard.cprogramming.com/cplusplus-programming/175245-palindrome-program-not-working-post1273593.html?s=bee9f12521a887647ea58b0f788caa3c | CC-MAIN-2020-05 | refinedweb | 121 | 78.04 |
As has come up repeatedly over the past few years, nobody seems to be very happy with the way that NumPy's datetime64 type parses and prints datetimes in local timezones. The tentative consensus from last year's discussion was that we should make datetime64 timezone naive, like the standard library's datetime.datetime:... | https://mail.python.org/pipermail/numpy-discussion/2015-October/073932.html | CC-MAIN-2021-39 | refinedweb | 256 | 65.86 |
I'm sticking with Link list tho @_@
It's your choice, but remember that the
list container from STL is also a linked list (a doubly linked list)
I'm sticking with Link list tho @_@
It's your choice, but remember that the
list container from STL is also a linked list (a doubly linked list)
Since I'm sticking with linked... | https://www.daniweb.com/programming/software-development/threads/191481/pressing-a-button-makes-a-new-thing/2 | CC-MAIN-2018-05 | refinedweb | 848 | 71.65 |
import "github.com/cube2222/octosql/parser/sqlparser/dependency/hack"
Package hack gives you some efficient functionality at the cost of breaking some Go rules.
String force casts a []byte to a string. USE AT YOUR OWN RISK
StringPointer returns &s[0], which is not allowed in go
StringArena lets you consolidate allocati... | https://godoc.org/github.com/cube2222/octosql/parser/sqlparser/dependency/hack | CC-MAIN-2020-34 | refinedweb | 144 | 63.19 |
I want to darken current screen a bit before poping up a new surface. I know there is no function in pygame to do this and that I will have to process the image to darken it. But as long as I know the only way to get current displaying surface in pygame is by saving it to disk as a file which slows down the game. Is th... | https://codedump.io/share/xZljaIrOSS6w/1/pygame-how-to-darken-screen | CC-MAIN-2017-09 | refinedweb | 268 | 81.43 |
Recently Browsing 0 members
No registered users viewing this page.
Similar Content
- UEZ?
- By Jemboy
Recently I was working on a script with icons using GuiCtrkCreatIcon.
I decided to change the sub folder name of the icons to a more meaning name, however made a typo.
I tested the .exe on my test computer and it worke... | https://www.autoitscript.com/forum/topic/179077-how-to-get-icon-associated-with-an-extension/?tab=comments#comment-1285277 | CC-MAIN-2021-49 | refinedweb | 742 | 62.07 |
Hi all!
*OS*: Mint Linux 17,
64bit Linux (3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
*Python*: Python 2.7.7 |Continuum Analytics, Inc.| (default, Jun 2 2014, 12:34:02) [GCC 4.1.2 20080704 (Red Hat 4.1.2-54)] on linux2
*PyRosseta*: PyRosetta.Ubuntu-12.04LTS.64Bit.devel-r... | https://rosettacommons.org/node/3719 | CC-MAIN-2021-43 | refinedweb | 339 | 52.46 |
C++ Tutorial: Day 5!
Day 5!
Bugs/Typos
Forgot semicolon. Thanks to @SpaceFire
Please upvote to help dominate the tutorial section.
REMEMBER. ALL FUNCTIONS MUST END WITH A SEMICOLON
Day 5!........... For Loops!
What in the world are For Loops?
Definition: For Loops are disigned to iterate a number of times.
Basically a ... | https://replit.com/talk/learn/C-Tutorial-Day-5/42757 | CC-MAIN-2021-25 | refinedweb | 980 | 74.79 |
What is Big O notation?
It is the language we use to talk about how long an algorithm takes to run which allows us to compare the efficiency of different approaches to a problem.
When we talk about Big O we are talking about the concept of asymptotic analysis which focuses on how the runtime of an algorithm increases a... | https://dev.to/mmcclure11/introduction-to-big-o-notation-50di | CC-MAIN-2022-40 | refinedweb | 838 | 68.4 |
.NET Programmers In Demand, Despite MS Moves To Metro 319
mikejuk writes "Are you a newbie programmer looking for a job? It seems your best bet is to opt for .NET. According to technical jobs website Dice.com, companies in the U.S. have posted more than 10,000 positions requesting .NET experience — a 25 percent increas... | http://developers.slashdot.org/story/11/10/09/163218/net-programmers-in-demand-despite-ms-moves-to-metro?sdsrc=prevbtmprev | CC-MAIN-2013-48 | refinedweb | 1,914 | 75.71 |
State
There are two types of data that control a component:
props and
state.
props are set by the parent and they are fixed throughout the lifetime of a component. For data that is going to change, we have to use
state.
In general, you should initialize
state in the constructor, and then call
setState when you want to ... | http://facebook.github.io/react-native/docs/0.21/state | CC-MAIN-2018-51 | refinedweb | 274 | 72.66 |
In addition to sending emails, you can also receive email with Amazon Simple Email Service (SES). Receipt rules enable you to specify what SES does with email it receives for the email addresses or domains you own. A rule can send email to other AWS services including but not limited to Amazon S3, Amazon SNS, or AWS La... | https://boto3.amazonaws.com/v1/documentation/api/latest/guide/ses-rules.html | CC-MAIN-2019-35 | refinedweb | 285 | 53.71 |
Points in Python
This guide provides an overview of the RhinoScriptSytntax Point Geometry in Python.
Points
In Python, a Rhino 3D point is represented as a Point3d structure. Conceptually, Point3d exist in memory as a zero-based list containing three numbers. These three numbers represent the X, Y and Z coordinate valu... | http://developer.rhino3d.com/guides/rhinopython/python-rhinoscriptsyntax-points/ | CC-MAIN-2017-51 | refinedweb | 731 | 56.45 |
We’re building a hybrid mobile app out of an existing web app. The front end will run out of a webview, and we’re adapting the back end to run on-device in React Native.
One of the challenges we encountered was how to share code between our existing monorepo built with webpack and our new React Native app (which bundle... | https://spin.atomicobject.com/2019/09/24/typescript-web-react-native/ | CC-MAIN-2019-51 | refinedweb | 1,055 | 57.77 |
MirageJS to increase developer productivity
October 10, 2019
A few months ago I wrote about how mocked apis can help in the real world where we frequently build frontends for with APIs that are not ready yet.
In ember,
ember-cli-mirage was the solution, but outside the ember world, there was no go to solution to develo... | https://alexandrempsantos.com/mirage-to-increase-developer-productivity/ | CC-MAIN-2019-43 | refinedweb | 1,260 | 61.97 |
package Chemistry::Bond; our $VERSION = '0.38'; # VERSION # $Id$ =head1 NAME Chemistry::Bond - Chemical bonds as objects in molecules =head1', ); =head1 DESCRIPTION This module includes objects to describe chemical bonds. A bond is defined as a list of atoms (typically two), with some associated properties. =head2 Bond... | https://web-stage.metacpan.org/dist/Chemistry-Mol/source/lib/Chemistry/Bond.pm | CC-MAIN-2022-05 | refinedweb | 521 | 62.98 |
Django models outside of models.py
By default, Django models are
placed in
models.py files inside apps. However, this
single file can outgrow the needs of large apps that require
storing dozens or hundreds of models. There are three techniques
you can use to deallocate Django models from
models.py
files inside apps.
Dj... | https://www.webforefront.com/django/modelsoutsidemodels.html | CC-MAIN-2021-31 | refinedweb | 1,233 | 66.94 |
Hey all,
I recently started learning C++ off the tutorials on this site and they are great. I've started making my own simple program which takes in information and trying to make it display it in a structured format. I first used int name, and int alias. When i ran the program it would work fine but when it came to ci... | http://cboard.cprogramming.com/cplusplus-programming/56185-program-skipping-some-input.html | CC-MAIN-2015-35 | refinedweb | 358 | 69.92 |
We are excited to announce the availability of a new storage version 2013-08-15 that provides various new functionalities across Windows Azure Blobs, Tables and Queues. With this version, we are adding the following major features:
1. CORS (Cross Origin Resource Sharing): Windows Azure Blobs, Tables and Queues now supp... | http://blogs.msdn.com/b/windowsazurestorage/archive/2013/11/27/windows-azure-storage-release-introducing-cors-json-minute-metrics-and-more.aspx | CC-MAIN-2014-52 | refinedweb | 1,557 | 64.41 |
SUSI WebChat now has a search feature. Users now have an option to filter or find messages. The user can enter a keyword or phrase in the search field and all the matched messages are highlighted with the given keyword and the user can then navigate through the results.
Lets visit SUSI WebChat and try it out.
- Clickin... | https://blog.fossasia.org/implementing-search-feature-in-susi-web-chat/ | CC-MAIN-2017-39 | refinedweb | 1,010 | 57.57 |
Equivalent Features On Windows And Unix
This page is meant to capture the current state of
agreement
on
UnixFunctionalityVsWindowsFunctionalityDiscussion
. It is simply a list of features on each operating system and its associated tools, and then its
suggested
equivalent on the other system. The hope is that we might ... | http://c2.com/cgi-bin/wiki?EquivalentFeaturesOnWindowsAndUnix | CC-MAIN-2014-10 | refinedweb | 938 | 62.78 |
Chapter Table of Contents a similar way as the
DIV. For example you can set a form style:
form = SQL)}}
This is a regular HTML form that asks for the user's name. When you fill the form and click the submit button, the form self-submits, and the variable
request.vars.name along with its provided value is displayed at t... | http://www.web2py.com/books/default/chapter/29/07/forms-and-validators | CC-MAIN-2013-48 | refinedweb | 3,166 | 58.08 |
Question
Why do managers focus on the effect that an investment will have on reported earnings rather than on the investments cash flow consequences?
Answer to relevant QuestionsWhat factors determine whether the annual ac-counting rate of return on a given project will be high or low in the early years of the investme... | http://www.solutioninn.com/why-do-managers-focus-on-the-effect-that-an-investment | CC-MAIN-2017-13 | refinedweb | 169 | 61.06 |
LIBPFM(3) Linux Programmer's Manual LIBPFM(3)
pfm_get_event_next - iterate over events
#include <perfmon/pfmlib.h> int pfm_get_event_next(int idx);
Events are uniquely identified with opaque integer identifiers. There is no guaranteed order within identifiers. Thus, to list all the events, it is necessary to use iterat... | http://man7.org/linux/man-pages/man3/pfm_get_event_next.3.html | CC-MAIN-2017-30 | refinedweb | 313 | 52.05 |
Project: WPF using Entity Framework & MVVM Architecture with MEF.
This article is about how could we implement length check (MaxLength) validation in WPF, based on the actual allowed length of the column in database (through Entity Framewrok). We will be using style and tag property to achive this effect in a generic w... | http://www.codeproject.com/Tips/716350/How-to-Implement-Max-Length-in-WPF-Entity-Framewor | CC-MAIN-2014-10 | refinedweb | 1,329 | 55.13 |
I'm using webbrowser, so I can open a html to an performance test I'm currently doing.
This small piece of code is the begin of the automation. The goal of the function
perf_measure
url
import webbrowser
def perf_measure(url=""):
try:
webbrowser.open(url)
except webbrowser.Error, e:
print "It couldn't open the url: ", ... | https://codedump.io/share/pKjGotidfeE5/1/measuring-the-time-to-load-a-page---python | CC-MAIN-2018-13 | refinedweb | 138 | 71.92 |
You have to understand the basics of DirectShow.
Please do these things first:
You should download the code before reading this article.
Imports System
Imports System.Diagnostics
Imports System.Drawing
Imports System.Runtime.InteropServices
Imports System.Windows.Forms
Imports DirectShowLib
Imports System.Runtime.Inter... | http://www.codeproject.com/Articles/18511/Webcam-using-DirectShow-NET?fid=410456&df=90&mpp=10&sort=Position&spc=None&tid=3570428 | CC-MAIN-2014-42 | refinedweb | 3,358 | 50.43 |
In this module of the Python tutorial, we will learn about Python JSON. We will know about Python JSON module and converting the Python object into JSON data and vice versa. Further, we will also learn how to format the resultant JSON data after converting the Python object into JSON.
JSON is an acronym for JavaScript ... | https://intellipaat.com/blog/tutorial/python-tutorial/python-json/ | CC-MAIN-2021-31 | refinedweb | 742 | 63.9 |
- in what position is a file opened?
- web page loading ...
- OOP with windows message loops problem
- getting system time with better than a second resolution
- Editing a text file
- Making an installer?
- Problem with #import
- grab text from a wepage?
- Decimal To Binary Algorithm
- html object library
- problem lin... | http://cboard.cprogramming.com/sitemap/f-3-p-517.html | CC-MAIN-2015-27 | refinedweb | 212 | 69.99 |
- 12 Jul, 2013 1 commit
- 22 May, 2013 1 commit
- 21 May, 2013 1 commit
- 11 Mar, 2013 1 commit
They save only little bit of work to the CPU and are suspicious to casual reader, even when they should be safe in theory.
- 08 Mar, 2013 1 commit
- Jeremy C. Reed authored
Some slight grammar changes. Mostly in comments, bu... | https://gitlab.isc.org/adwol/kea/-/commits/87c3781cf964f63b044153a39b05518f72d8b80e/src/lib/config/tests/ccsession_unittests.cc | CC-MAIN-2022-33 | refinedweb | 758 | 69.52 |
Today we're going to take a closer look at collections in Python, and two special features (iterators and generators) that let you create your own collection-like objects with special properties.
1. The Collection Protocol (again)
You probably recall from an earlier lab exercise that there are some special methods you ... | http://zesty.ca/bc/explore-11.html | CC-MAIN-2017-13 | refinedweb | 1,731 | 65.32 |
Reimplement a QGraphicsView for Stellarium. More...
#include <StelMainView.hpp>
It is the class creating the singleton GL Widget, the main StelApp instance as well as the main GUI.
This is useful for e.g. chinese.
This depends on the time the last user event happened.
The format of the file, and hence the filename exte... | http://stellarium.org/doc/0.18/classStelMainView.html | CC-MAIN-2018-39 | refinedweb | 122 | 73.17 |
#include <fcntl.h> /* For O_* constants */ #include <sys/stat.h> /* For mode constants */ #include <semaphore.h>.
On success,
sem_open()
returns the address of the new semaphore; this address is
used when calling other semaphore-related functions. On
error,
sem_open() returns
SEM_FAILED, with
errno set to indicate the ... | http://manpages.courier-mta.org/htmlman3/sem_open.3.html | CC-MAIN-2021-17 | refinedweb | 163 | 67.96 |
After spending quite a bit of time typing out the code to assign values returned from a DataReader to the properties of my business object I began to think that there must be a better way. Then I started to play with DotNetNuke. I began reading some of the documentation for DNN and ran into a rather interesting helper ... | http://www.codeproject.com/KB/database/BusinessObjectHelper.aspx | crawl-002 | refinedweb | 3,841 | 53 |
I need some help in trying to find out how to cast a method that is within an object which is inside a LinkedList.
Let me try to explain:
I already know that I have to use a wrapper to convert an object back into another state. The think I am confused about is how to use a method from the object. What I am doing is sto... | https://www.daniweb.com/programming/software-development/threads/20326/calling-object-methods-within-a-linkedlist | CC-MAIN-2021-10 | refinedweb | 223 | 71.95 |
Python Programming/Modules and how to use them
From Wikibooks, the open-content textbooks collection
Modules are libraries that can be called from other scripts. For example, a popular module is the
time module, or the time module. You can call it using:
import time
. Then, open up
time.py You will see a bunch of vario... | http://en.wikibooks.org/wiki/Python_Programming/Modules_and_how_to_use_them | crawl-001 | refinedweb | 175 | 64.51 |
Working with images is boring. If you were to include an image on a website, you have to assure:
- That the images are properly resized for each screen
- That we serve the right image based on the device pixel density
- That we serve modern image formats when possible
- That the images are compressed
But also..
- That ... | https://dnlytras.com/blog/gatsby-images/ | CC-MAIN-2022-40 | refinedweb | 1,188 | 53.21 |
E
There are several potentially helpful answers here, but I think there are two important points that haven't been made:
No, it is not possible to programmatically determine that Windows and all startup programs have finished booting. This is essentially the Halting Problem and no program out there will be able to answ... | http://superuser.com/questions/729738/how-to-tell-when-windows-and-all-startup-programs-have-completed-booting/729746 | CC-MAIN-2014-52 | refinedweb | 1,318 | 71.44 |
The previous post looked at random Fibonacci sequences. These are defined by
f1 = f2 = 1,
and
fn = fn-1 ± fn-2
for n > 2, where the sign is chosen randomly to be +1 or -1.
Conjecture: Every integer can appear in a random Fibonacci sequence.
Here’s why I believe this might be true. The values in a random Fibonacci seque... | https://www.johndcook.com/blog/2020/10/31/random-fibonacci-conjecture/ | CC-MAIN-2021-10 | refinedweb | 830 | 70.13 |
Asked by:
How to disable windows 7 speech recognition COMMANDS
I'm developing an application that utilizes MSSR. The program has its own unique grammar system, which works just fine.
My problem is this...occasionally while using my application, MSSR misinterprets something said and identifies it as one of the many prep... | https://social.msdn.microsoft.com/Forums/windowsdesktop/en-US/f2f213d6-d801-49a1-b7dd-4139a357c517/how-to-disable-windows-7-speech-recognition-commands?forum=windowsgeneraldevelopmentissues | CC-MAIN-2015-18 | refinedweb | 1,139 | 55.84 |
On Thu, 22 Jun 2000, Raul Miller wrote: > The changes between 2.005-2 and 2.005-4 are trivial, and 2.005-4 was > intended for both potato and woody. > > Here's the changes: > > [1] in perldl.conf, get rid of -lMesaGL and -lMesaGLU Yes, this was part of my patch to get it to compile. > That's it. > > So, really, the onl... | https://lists.debian.org/debian-devel/2000/06/msg01785.html | CC-MAIN-2017-43 | refinedweb | 389 | 78.55 |
In this section, you will learn to convert decimal number into binary.
AdsTutorials
In this section we will discuss about conversion of Decimal to Binary in Java. You know that number having base 10 is a decimal number, for example 10 is a decimal number which can be converted to binary and written as 1010.
Example : C... | http://roseindia.net/java/java-conversion/conversion-DecimalToBinary.shtml | CC-MAIN-2017-43 | refinedweb | 288 | 50.73 |
Next: Local Socket Example, Previous: Local Namespace Concepts, Up: Local Namespace [Contents][Index] is the
macro used by POSIX.1g.
This is a synonym for
PF_LOCAL, for compatibility’s sake.
This is a synonym for
PF_LOCAL, for compatibility’s sake. to designate the local
namespace. See Socket Addresses.
char sun_path[1... | https://www.gnu.org/software/libc/manual/html_node/Local-Namespace-Details.html | CC-MAIN-2017-43 | refinedweb | 119 | 51.95 |
Custom Forms and the Form Monad
October 20, 2010
Michael Snoyman
I think it's fair to say that forms are one of the most complicated parts of web development. A huge part of this complication simply comes from the tedious, boilerplate style code we need to write. A library such as formlets can do wonders to clean this ... | http://www.yesodweb.com/blog/2010/10/custom-forms | CC-MAIN-2016-18 | refinedweb | 973 | 63.09 |
Law of Demeter
Law of Demeter
Join the DZone community and get the full member experience.Join For Free
Learn more about how CareerBuilder was able to resolve customer issues 5x faster by using Scalyr, the fastest log management tool on the market.
Reduce.
public class Item { private final Map<String, Set<String>> attr... | https://dzone.com/articles/law-demeter | CC-MAIN-2018-30 | refinedweb | 167 | 58.89 |
Dutch National Flag Problem
Given an array with 0s,1s and 2s, sort array in increasing order. Another way to phrase this problem is sort balls with three different colors : red, blue and white, where balls of each color are placed together. This is typically know as Dutch national flag problem and algorithm to solve it... | https://algorithmsandme.com/tag/dutch-flag-problem/ | CC-MAIN-2020-05 | refinedweb | 891 | 64 |
Storage for 3 collinear points to serve as 1-D projective basis. More...
#include <vgl_1d_basis.h>
Storage for 3 collinear points to serve as 1-D projective basis.
This class is (the unit point) (1,1), and the third one (point at infinity) (1,0).,1) and (1,0).!)
Definition at line 92 of file vgl_1d_basis.h.
Definition ... | http://public.kitware.com/vxl/doc/release/core/vgl/html/classvgl__1d__basis.html | crawl-003 | refinedweb | 370 | 77.33 |
Red Hat Bugzilla – Bug 443257
firstboot does not run on KDE installation
Last modified: 2008-08-02 19:40:37 EDT
On a fresh KDE installation of 20080418 rawhide, firstboot did not run.
Unfortunately, I just blew away that VM for some preupgrade testing, but the
steps to reproduce are essentially install with KDE and not... | https://bugzilla.redhat.com/show_bug.cgi?id=443257 | CC-MAIN-2017-26 | refinedweb | 489 | 68.87 |
Tutorial: Charting with Gnuplot from F#
Applies to: Functional Programming
Authors: Tomas Petricek and Jon Skeet
Get this book in Print, PDF, ePub and Kindle at manning.com. Use code “MSDN37b” to save 37%.
Summary: This tutorial shows how to create charts using gnuplot from F#. It demonstrates how to call gnuplot direc... | https://docs.microsoft.com/en-us/previous-versions/visualstudio/visual-studio-2010/hh297126(v=vs.100) | CC-MAIN-2018-51 | refinedweb | 2,285 | 54.73 |
> T.
Blazor is a framework that allows you to write C# fullstack. If you are developing a fullstack web application, you usually have to involve JavaScript at some point. You either add it to improve the interaction of your pages or you split between having a backend in .NET and the frontend in JavaScript using for exa... | https://techcommunity.microsoft.com/t5/apps-on-azure/deploy-your-net-blazor-app-in-minutes-with-azure-static-web-apps/ba-p/1739102?WT.mc_id=DOP-MVP-5003880 | CC-MAIN-2021-21 | refinedweb | 1,007 | 66.84 |
Update of /cvsroot/python/python/dist/src/Python In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24384/Python Modified Files: pystate.c Log Message: Revert rev 2.35. It was based on erroneous reasoning -- the current thread's id can't get duplicated, because (of course!) the current thread is still running. The c... | https://mail.python.org/pipermail/python-checkins/2004-October/043608.html | CC-MAIN-2016-36 | refinedweb | 343 | 64.81 |
In C#, a string is an object of System.String class in Dot Net framework. Objects of String class are immutable (once created cannot be changed). Basically, the C# string type is a sequence of characters (text).
Creating a string variable using the keyword string is a common practice to do any manipulations to a string... | https://www.tutorialgateway.org/csharp-string/ | CC-MAIN-2021-43 | refinedweb | 282 | 56.25 |
CodePlexProject Hosting for Open Source Software
Hello:
I new to Orchard, but not to MVC/development. Setting up an Azure instance and it's working pretty good, though finding a lot of modules are limited. Modifying as needed. So far, Orchard seems like the way to go!
I have an SEO issue though with Orchard, and it's n... | http://orchard.codeplex.com/discussions/284209 | CC-MAIN-2017-26 | refinedweb | 759 | 58.79 |
Debugging your source code is a critical part of any application development process and Android is no exception.
A lot of people post comments or email me asking me to help them with their application that isn’t working. The first thing I try to ask for are the log files. I do this because 90% of the time, the log fil... | https://www.thepolyglotdeveloper.com/2014/12/debugging-android-source-code-adb/ | CC-MAIN-2022-21 | refinedweb | 835 | 54.12 |
Common code between the AC-3 encoder and decoder. More...
#include "avcodec.h"
#include "ac3.h"
#include "get_bits.h"
Go to the source code of this file.
Definition at line 76 of file ac3.c.
Referenced by calc_lowcomp(), and ff_ac3_bit_alloc_calc_mask().
Definition at line 86 of file ac3.c.
Referenced by ff_ac3_bit_all... | http://ffmpeg.org/doxygen/trunk/ac3_8c.html | CC-MAIN-2015-32 | refinedweb | 102 | 65.08 |
Dennis Korbar wrote:I'm not sure if there is a way to check it before, but how about this workaround?
public class A
{
A(int x, int y) {
if(this instanceof B && (x<5&&y<10))
throw new IllegalArgumentException("Invalid Values");
}
}
Rob Prime wrote:If I were your employer and you would hand in that code, I would fire yo... | http://www.coderanch.com/t/426195/java/java/super-statement-subclass-constructor | CC-MAIN-2015-40 | refinedweb | 141 | 69.72 |
Working in Visual Studio, we often find ourselves needing to rename our project and/or solution and the directories they live in. In particular, when we clone a project from Github, what we end up with.
Let's take a quick walk through.:
$ git clone
You should now find the cloned project in target directory::
In Solutio... | http://www.codeproject.com/script/Articles/View.aspx?aid=697108 | CC-MAIN-2015-32 | refinedweb | 251 | 51.48 |
SerialException: could not open port 'COM3' WindowsError(5, 'Access is denied')
I've been trying to send a trigger through a CEDRUS StimTracker Duo. The information on here about using serial ports seemed fairly straight forward, but implementing the scripts has not worked for me despite many modifications to the scrip... | http://forum.cogsci.nl/discussion/comment/14190/ | CC-MAIN-2019-35 | refinedweb | 3,351 | 62.07 |
Watch this Author's files
I am aware of the namespace problem... will fix it shortly and upload the new code. For now, just remove the 'IB.' prefix .');
Hi Jev, Is it possible to give me an example how to execute the positions via your api? So many thanks.
Jev, At a quick glance this seems excellent since I last saw ma... | http://www.mathworks.com/matlabcentral/fileexchange/authors/113441 | CC-MAIN-2013-48 | refinedweb | 125 | 87.31 |
Welcome to my State Design Pattern Tutorial! I explain how the state pattern is used by using it to simulate an ATM machine.
I explain how you come to decide on the different states. I then show you how to design the interface that each state will use. We think about the methods that are needed for every class that imp... | http://www.newthinktank.com/2012/10/state-design-pattern-tutorial/?replytocom=24451 | CC-MAIN-2019-22 | refinedweb | 2,005 | 57.06 |
:
Installing Java Development Kit (JDK)
Installing Eclipse for Java
Installing Google Web Toolkit (GWT) SDK
Installing all relevant Eclipse plugins, such as Gradle, Android Development Tool (ADT), Google App Engine (GAE), GWT, and RoboVM
Using the LibGDX Gradle setup app to create our first LibGDX project
Exploring Lib... | https://www.packtpub.com/product/libgdx-game-development-essentials/9781784399290 | CC-MAIN-2020-40 | refinedweb | 4,271 | 72.36 |
OpenStack administration is documented in detail in the OpenStack Compute Administration Manual. In this section, we discuss key tasks you should perform that will allow you to launch instances. Refer to the official OpenStack documentation for more information.
For these tasks, you must be logged in to the Dashboard a... | http://www.rackspace.com/es/knowledge_center/article/rackspace-private-cloud-software-creating-an-instance-in-the-cloud | CC-MAIN-2014-15 | refinedweb | 2,636 | 54.63 |
The idea of function parameters in Python is to allow a programmer who is using that function, define variables dynamically within that function. For example:
def simple_addition(num1,num2): answer = num1 + num2 print('num1 is', num1) print(answer) simple_addition(5,3)
Here, we defined our function name as simple_addit... | https://pythonprogramming.net/function-parameters-python-3-basics/ | CC-MAIN-2022-40 | refinedweb | 351 | 58.92 |
Lock v2 for iOS
This reference guide will show you how to implement the Lock user interface, and give you the details on configuring and customizing Lock in order to use it as the UI for your authentication needs. However, if you'd like to learn how to do more with Auth0 and Swift, such as how to save, call and refresh... | https://auth0.com/docs/libraries/lock-ios/v2 | CC-MAIN-2019-04 | refinedweb | 727 | 50.94 |
IDE development and code completion for messages
When I create a .msg file and then build my package using rosmake, it places the generated header file in package_name/msg_gen/cpp/include/...
However, when I include that header file in my program, ROS allows me to use
#include "package_name/messageexample.h"
The issue ... | https://answers.ros.org/question/38137/ide-development-and-code-completion-for-messages/ | CC-MAIN-2021-31 | refinedweb | 267 | 62.78 |
SYNOPSIS
#include <mqueue.h>
mqd_t mq_open(const char *name, int oflag, ...);
DESCRIPTION
The
The name argument points to a string naming a message queue.
The name string must begin with a slash character (/) and must
conform to the rules for constructing a a path name.
Processes calling
If name not the name of an exis... | https://www.mkssoftware.com/docs/man3/mq_open.3.asp | CC-MAIN-2021-39 | refinedweb | 788 | 62.78 |
On 04/20/2010 04:37 PM, Joel E. Denny wrote: > On Tue, 20 Apr 2010, Eric Blake wrote: > >>>>> if you use autoconf 2.64 (prior to that, if the existence and >>>>> compilation checks disagree, autoconf went with the existence check). >>>> >>>> We are using autoconf 2.65. >> >> Then I'm confused how /opt/csw/include/getop... | http://lists.gnu.org/archive/html/bug-gnulib/2010-04/msg00346.html | CC-MAIN-2016-44 | refinedweb | 337 | 69.28 |
Since.
CONTENTS
1. The Method
2. Client ID
2.1. Session-scoped Custom Dimension
2.2. Custom JavaScript Variable
2.3. Window Loaded Trigger
2.4. Event Tag
2.5. End result
3. Session ID
3.1. Session-scoped Custom Dimension
3.2. Custom JavaScript Variable
3.3. Modified Page View Tag
3.4. End result
4. Hit timestamp
4.1. H... | http://www.simoahava.com/analytics/improve-data-collection-with-four-custom-dimensions/ | CC-MAIN-2016-44 | refinedweb | 8,866 | 72.56 |
I was interested to see how spammers are tacking emails and I thought to create something like that .This little project shows you how to track emails you sent by adding a little track quote at the end. I also create it a program to remove this kind of tracking and flag the email as SPAM.
There is only one function to ... | http://www.codeproject.com/KB/aspnet/EmailTracker.aspx | crawl-002 | refinedweb | 279 | 70.94 |
I try to install umap on an alwaysdata server.
I follow this tutorial :
At the migrate step
umap migrate
i have this error:
File "/home/*******/umap/lib/python3.6/site-packages/django/db/backends/base/base.py", line 171, in connect
self.connection = self.get_new_connection(conn_params)
File "/home/*******/umap/lib/pyth... | https://help.openstreetmap.org/questions/55468/umap-installation-postgresql-connection-error | CC-MAIN-2020-29 | refinedweb | 665 | 58.18 |
This code does not work as stated in the comment.$(CONFIG_MODVERSIONS) is always empty because it is expanded beforeinclude/config/auto.conf is included. Hence, 'make modules' withCONFIG_MODVERSION=y cannot record the version CRCs.This has been broken since 2003, commit ("kbuild: Enable modules to bebuild using the "ma... | https://lkml.org/lkml/2020/5/31/49 | CC-MAIN-2020-34 | refinedweb | 229 | 55.54 |
i have this line in my Web.Config <add key="localhost2" value="http:\\0.0.0.0\export\" /> in vb Code: <a href='" & ConfigurationSettings.AppSettings("localhost2") & TransactionNo & "\" & fi.Name & "' target='_blank' >" & fi.Name & "</a>" the Publish URL : How i can encrypt the 803 value or prevent the user from change ... | https://www.daniweb.com/members/955478/hibapro/threads | CC-MAIN-2019-22 | refinedweb | 1,517 | 50.77 |
Is there a program that takes a Microsoft Word document and produces a spreadsheet of all the words contained in the document and the number of times the word appears?
e.g.
cat 23
said 15
jumped 12
dog 7
cat 23
said 15
jumped 12
dog 7
EDIT:
I appreciate the answers regarding VBA macros, but I was hoping for a readily a... | http://superuser.com/questions/251324/program-to-get-unique-words-and-their-count-from-a-word-document/251347 | CC-MAIN-2015-32 | refinedweb | 441 | 64.95 |
symlink - make a symbolic link to a file
#include <unistd.h>
int symlink(const char *path.
Upon successful completion, symlink() shall return 0; otherwise, it shall return -1 and set errno to indicate the error.
The symlink() function the path2 argument exceeds {PATH_MAX} or a pathname component() function may fail if:... | http://pubs.opengroup.org/onlinepubs/000095399/functions/symlink.html | CC-MAIN-2019-13 | refinedweb | 141 | 54.12 |
Previously I was using powershell script for exporting PA config, now I attempted to write one with Python, took me a while to read data from the xml tag… I was using BeautifulSoup4 library to read the data from the tags easily.
Here’s the code with comments
import requests from bs4 import BeautifulSoup as BS import os... | https://cyruslab.net/2017/10/02/export-palo-alto-firewall-config-without-panorama-with-python/ | CC-MAIN-2022-27 | refinedweb | 209 | 59.8 |
- Cookie policy
- Advertise with us
© Future Publishing Limited, Quay House, The Ambury, Bath BA1 1UA. All rights reserved. England and Wales company registration number 2008885.
The last few projects have been relatively easy, but with your skills racing forward as they are it's definitely time you tackled something m... | http://www.tuxradar.com/content/hudzilla-coding-academy-project-ten | CC-MAIN-2017-04 | refinedweb | 6,479 | 61.97 |
- data Server
- serverThreadId :: Server -> ThreadId
- serverMetricStore :: Server -> Store
- forkServer :: ByteString -> Int -> IO Server
- forkServerWith :: Store -> ByteString -> Int -> IO Server
- getCounter :: Text -> Server -> IO Counter
- getGauge :: Text -> Server -> IO Gauge
- getLabel :: Text -> Server -> IO... | http://hackage.haskell.org/package/ekg-0.4.0.2/docs/System-Remote-Monitoring.html | CC-MAIN-2014-52 | refinedweb | 645 | 59.9 |
30 May 2012 17:01 [Source: ICIS news]
LONDON (ICIS)--Crude oil futures extended losses on Wednesday pressured by mounting concerns over the eurozone debt crisis and reports that ?xml:namespace>
By 15:00 GMT, the front-month July Brent crude oil contract had hit an intra-day low of $103.28/bbl, a loss of $3.40/bbl from ... | http://www.icis.com/Articles/2012/05/30/9565616/crude-falls-on-eurozone-concern-china-indicating-no-large-stimulus.html | CC-MAIN-2014-52 | refinedweb | 179 | 76.11 |
Practical Naive Bayes — Classification of Amazon Reviews
BlogNLP/Text AnalyticsPredictive AnalyticsStatisticsBayes|classificationposted by Jack Schultz July 17, 2017 Jack Schultz
If you search around the internet looking for applying Naive Bayes classification on text, you’ll find a ton of articles that talk about the ... | https://opendatascience.com/practical-naive-bayes-classification-of-amazon-reviews/ | CC-MAIN-2020-40 | refinedweb | 3,124 | 69.11 |
AWS Cloud Operations & Migrations Blog
Visualize Amazon EC2 based VPN metrics with Amazon CloudWatch Logs
Organizations have many options for connecting to on-premises networks or third parties, including AWS Site-to-Site VPN. However, some organizations still need to use an Amazon Elastic Compute Cloud (Amazon EC2) in... | https://aws.amazon.com/blogs/mt/visualize-amazon-ec2-based-vpn-metrics-with-amazon-cloudwatch-logs/ | CC-MAIN-2022-27 | refinedweb | 1,209 | 51.72 |
In the last tutorial we created a small REST API. So now that the “producing REST API” step is completed, it’s time to start consuming it in another Spring boot project. Last time we’ve already set up a module for this project, called spring-boot-rest-client.
Creating a REST client
To create a REST client with Spring, ... | http://g00glen00b.be/consuming-rest-apis-with-spring/ | CC-MAIN-2017-26 | refinedweb | 1,926 | 62.17 |
CDT/Archive/designs/StaticAnalysis/CheckerIdeas
< CDT | Archive | designs | StaticAnalysis(Redirected from CDT/designs/StaticAnalysis/CheckerIdeas)
This page is collection of ideas for checker that can be implemented for C/C++ Static Analysis in CDT (Codan). Feel free to add your own ideas or links.
Checkers
- Unused #... | https://wiki.eclipse.org/CDT/designs/StaticAnalysis/CheckerIdeas | CC-MAIN-2021-43 | refinedweb | 551 | 59.23 |
Well, I cannot say that this is a regular article. It is rather a small manual and presentation of my tool: Driver Loader, "DLoad". One may say - there are a lot of device driver loaders on the net, but when I typed in Google search engine: "Driver Loader" - I got only one provided by OSR group on the first page. One c... | http://www.codeproject.com/Articles/43461/Driver-Loader-DLoad-from-Scratch?msg=3314795 | CC-MAIN-2015-11 | refinedweb | 1,684 | 57.77 |
[B]int[/B] - An integer number [B]bool[/B] - Boolean, it can be only True or False [B]float[/B] - Floating point number [B]double[/B] - Double precision floating point number [B]char[/B] - A single character [B]string[/B] - String of textBefore using a variable, it needs to be initialized. The syntax is:
type identifie... | http://forum.codecall.net/topic/60570-c-lesson-about-variables/ | CC-MAIN-2019-51 | refinedweb | 547 | 58.11 |
I'd read somewhere that developers are lazy. It's an old joke passed around, most likely stemming from a quote often miscredited to Bill Gates: "I will always choose a lazy person to do a difficult job because a lazy person will find an easy way to do it."
Now this may be true for some, but when I rediscovered my love ... | https://practicaldev-herokuapp-com.global.ssl.fastly.net/connorgladwin/python-and-the-art-of-laziness-31hi | CC-MAIN-2021-17 | refinedweb | 789 | 75.24 |
We had a lengthy discussion recently during code review whether
scala.Option.fold() is idiomatic and clever or maybe unreadable and tricky? Let’s first describe what the problem is.
Option.fold does two things: maps a function
f over
Option‘s value (if any) or returns an alternative
alt if it’s absent. Using simple pat... | http://www.javacodegeeks.com/2014/06/option-fold-considered-unreadable.html | CC-MAIN-2015-40 | refinedweb | 483 | 65.73 |
Part 1 introduced Redis, focusing largely on the 5 data structures and showing how you might use them. In this part we'll build a simple app backed by Redis.
Before we start, you might have noticed that Redis' API isn't like most. Rather than having 4 generic CRUD methods, Redis has a number of specialized methods. So ... | https://www.openmymind.net/2011/11/8/Redis-Zero-To-Master-In-30-Minutes-Part-2/ | CC-MAIN-2019-13 | refinedweb | 1,236 | 74.39 |
December 2, 2002
These release notes contain important information and caveats for the Cisco Content Transformation Engine 1400 Series (CTE) and Design Studio Release 2.7. This document supplements information in the Cisco Content Transformation Engine 1400 Series Configuration Note and the Design Studio User Guide.
Th... | http://www.cisco.com/en/US/products/hw/contnetw/ps797/prod_release_note09186a0080118c2c.html | crawl-002 | refinedweb | 1,805 | 63.8 |
Problem: Determine if a number is prime, with an acceptably small error rate.
Solution: (in Python)
import random def decompose(n): exponentOfTwo = 0 while n % 2 == 0: n = n/2 exponentOfTwo += 1 return exponentOfTwo, n def isWitness(possibleWitness, p, exponent, remainder): possibleWitness = pow(possibleWitness, remain... | https://jeremykun.com/2013/06/16/miller-rabin-primality-test/?like_comment=2992&_wpnonce=f1c7ca38a2 | CC-MAIN-2020-24 | refinedweb | 712 | 53.21 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.