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 |
|---|---|---|---|---|---|
This post is based on Jeremy Evans‘s Optimization Techniques Used by the Benchmark Winners presentation. Slides | YouTube at Ruby Kaigi 2019. It‘s better to watch his fabulous presentation, but you can come back here for written references. These techniques coming from maintaining Sequel and Roda. These two gems have a... | https://www.tefter.io/bookmarks/311369/readable | CC-MAIN-2020-16 | refinedweb | 3,273 | 61.73 |
First Unique Character in a String
Sign up for FREE 1 month of Kindle and read all our books for free.
Get FREE domain for 1st year and build your brand new site
This problem is one of the competitive questions dealing with strings, so as indicated by the title we need to find first unique i.e non-repeating character i... | https://iq.opengenus.org/first-unique-character-in-string/ | CC-MAIN-2021-17 | refinedweb | 883 | 53.78 |
What's new in FlexCel Studio for .NET
New on v 6.23 - November 2018
Updated minimum Required Android version to 8.0 Oreo. As required by Xamarin and Google Play, now the minimum supported Android version is 8.0 (API Level 26). We removed calls to deprecated methods and now require methods only available in API Level 26... | http://www.tmssoftware.biz/flexcel/doc/net/about/whatsnew.html | CC-MAIN-2019-04 | refinedweb | 28,539 | 66.94 |
DwrProxy improved
DwrProxy improved
This is for Ext 2.x. Please see for the Ext 3.x compatible release.
DwrProxy is now part of a larger ExtJsWithDwr project on GitHub (see form post).
What does this mean?
- DWRProxy has been renamed to DwrProxy (although DWRProxy) is provided for backwards compatibility.
- The code is... | http://www.sencha.com/forum/showthread.php?23884-DWRProxy-improved | CC-MAIN-2014-10 | refinedweb | 621 | 68.47 |
*
A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
|
Flagged Topics
|
Hot Topics
|
Zero Replies
Register / Login
JavaRanch
»
Java Forums
»
Java
»
Beginning Java
Author
Calendar and Scheduling
Paul Denton
Greenhorn
Joined: Apr 07, 2012
Posts: 4
I like...
posted
Apr 08, 2012... | http://www.coderanch.com/t/572866/java/java/Calendar-Scheduling | CC-MAIN-2014-35 | refinedweb | 2,050 | 66.27 |
C++ new and delete
How to create a dynamic array of pointers (to integers) of size 10 using new in C++? Hint: We can create a non-dynamic array using int *arr[10]C++ new and delete
Discuss it
Which of the following is true about new when compared with malloc. 1) new is an operator, malloc is a function 2) new calls con... | https://www.geeksforgeeks.org/c-plus-plus-gq/new-and-delete-gq/ | CC-MAIN-2020-10 | refinedweb | 269 | 69.72 |
IRC log of rif on 2008-06-17
Timestamps are in UTC.
14:39:56 [RRSAgent]
RRSAgent has joined #rif
14:39:56 [RRSAgent]
logging to
14:40:04 [ChrisW]
zakim, this will be rif
14:40:04 [Zakim]
ok, ChrisW; I see SW_RIF()11:00AM scheduled to start in 20 minutes
14:40:26 [ChrisW]
Meeting: RIF Telecon 17-Jun-08
14:40:26 [ChrisW]... | http://www.w3.org/2008/06/17-rif-irc | CC-MAIN-2016-30 | refinedweb | 2,738 | 55.92 |
I hope this week's editorial has provided you with something of interest, please join us again next week when we will bring you more news from JBoss and the JBoss Communities.
If spring has yet to come to us (at least in Europe), there is a definitly a feeling of "waking up", all over the community. Projects are relea... | https://developer.jboss.org/blogs/weekly-editorial/2016/03 | CC-MAIN-2018-39 | refinedweb | 906 | 62.17 |
Contains two functions to compute expanded form of a given path. More...
#include <vcl_string.h>
#include <vxl_config.h>
Go to the source code of this file.
Contains two functions to compute expanded form of a given path.
Given a path in the file system, compute an expanded form. An expanded path is one which does not
... | http://public.kitware.com/vxl/doc/release/core/vul/html/vul__expand__path_8h.html | crawl-003 | refinedweb | 128 | 60.51 |
From: John Femiani (JOHN.FEMIANI_at_[hidden])
Date: 2008-05-11 02:28:47
Luke wrotE:
>
> John wrote:
> >I want the flexibility to allow 'at' to return a reference. The
> >references would then be to the underlying types internal members,
> >which could be of any type.
>
> Why? For a small type like a single coordinate v... | http://lists.boost.org/Archives/boost/2008/05/137257.php | crawl-001 | refinedweb | 837 | 63.8 |
Bugzilla – Bug 193
[constantmerge] Merging globals can cause use of invalid pointers!
Last modified: 2003-12-22 17:53:33
You need to
before you can comment on or make changes to this bug.
A bug in ReadArchiveBuffer() caused gccld to his an assertion during code
optimization passes. This bug stems from a std::string in ... | http://llvm.org/bugs/show_bug.cgi%3Fid=193 | crawl-002 | refinedweb | 1,140 | 61.22 |
, highlighted by its recent inclusion in Java EE 6. Bob Martin advises, with examples, applying a decoupling approach between your application code and your Dependency Injection framework of choice.
In his Dependency Injection Inversion article, [Uncle Bob] Martin presents a message that boils down to this simple state... | http://www.infoq.com/news/2010/01/dependency-injection-inversion/ | CC-MAIN-2015-11 | refinedweb | 1,002 | 51.78 |
I’m excited about this new library I ran into and I would like to share the excitement. It’s called Restito, it’s on GitHub, and I actually found it on a blog from 2012, so… where were you all this time?
Restito is a Java library to mock out REST APIs. It’s self-described as the complement of REST Assured. REST Assured... | https://www.jamasoftware.com/blog/testing-rest-clients-with-restito/ | CC-MAIN-2022-21 | refinedweb | 1,154 | 62.68 |
a callback function ?
Have you a sample ?
Thank a lot
a callback function ?
Have you a sample ?
Thank a lot
Hello
I would suspend my script until my ajax request return result.
How can I dow this ? With requestcomplete event ?
Ext.Ajax.request({
url : action,
Ext.onReady(this.initApp, this, {delay: 1});
Success Work. T... | https://www.sencha.com/forum/search.php?s=c39edb1a3cb96ff39fc6d3a745f90017&searchid=19626979 | CC-MAIN-2017-39 | refinedweb | 401 | 81.09 |
Corporate drama: Boorish CFO out of job after booting out bearish analyst
The resignation of the chief financial officer of China’s PAX Global Technology days after he ordered an analyst from Macquarie Group to leave the earnings briefing in Hong Kong on Aug 10 has a lesson to the corporate world. No matter how talente... | http://www.atimes.com/article/corporate-drama-boorish-cfo-out-of-job-after-booting-out-bearish-analyst/ | CC-MAIN-2017-26 | refinedweb | 950 | 60.14 |
Reading properties file in Java is much easier than you might have thought. Following example illustrates one simple way of reading properties from a properties file.
Let’s say we need to read from myConfig.properties file.
The properties file has following entries.
Directory = C:/prodFiles/
NumberOfFiles = 25
Extensio... | http://zparacha.com/how-to-read-properties-file-in-java | CC-MAIN-2017-51 | refinedweb | 3,314 | 73.47 |
- NAME
- VERSION
- SYNOPSIS
- DESCRIPTION
- INTERFACE
- TEMPLATE SYNTAX
- NOTES
- DEPENDENCIES
- BUGS
- SEE ALSO
- ACKNOWLEDGEMENT
- AUTHOR
- LICENSE AND COPYRIGHT
NAME
Text::Xslate - High performance template engine
VERSION
This document describes Text::Xslate version 0.1021.' }, ], ); #(escaped_string); $vars{email} ... | https://metacpan.org/pod/release/GFUJI/Text-Xslate-0.1021/lib/Text/Xslate.pm | CC-MAIN-2017-17 | refinedweb | 163 | 52.76 |
Documentation ¶
Overview ¶
Package xsd parses type declarations in XML Schema documents.
The xsd package implements a parser for a subset of the XML Schema standard. This package is intended for use in code-generation programs for client libraries, and as such, does not validate XML Schema documents, nor does it provid... | https://pkg.go.dev/aqwari.net/xml/xsd | CC-MAIN-2022-21 | refinedweb | 1,545 | 63.29 |
WinRT Components are COM made friendly. Here we demonstrate how to create a trivial C++ CX, i.e. a native WinRT component and how to use it in each of the languages - C#, Visual Basic, JavaScript and C++.
One of the big changes introduced with WinRT is the use of an object-oriented API. The objects in question are WinR... | http://www.i-programmer.info/programming/winrt/3172-building-and-using-winrt-components.html | CC-MAIN-2015-11 | refinedweb | 1,021 | 60.35 |
Server API » Room¶
A Room class is meant to implement a game session, and/or serve as the communication channel between a group of clients.
- Rooms are created on demand during matchmaking by default
- Room classes must be exposed using
.define()
import http from "http"; import { Room, Client } from "colyseus"; export ... | https://docs.colyseus.io/colyseus/server/room/ | CC-MAIN-2022-33 | refinedweb | 2,345 | 51.14 |
On Thu, Apr 20, 2006 at 12:34:57PM -0400, Stephen Smalley wrote:> On Thu, 2006-04-20 at 17:23 +0100, Christoph Hellwig wrote:> > On Thu, Apr 20, 2006 at 09:15:52AM -0700, Greg KH wrote:> > > On Thu, Apr 20, 2006 at 10:20:11AM -0400, Stephen Smalley wrote:> > > > On Thu, 2006-04-20 at 08:00 -0700, Greg KH wrote:> > > > ... | http://lkml.org/lkml/2006/4/20/181 | CC-MAIN-2014-41 | refinedweb | 323 | 63.39 |
Fitting quiz to answer a few questions about the dataset.
df[‘weekday’] = pd.get_dummies(df[‘day’])[‘weekday’]
df[[‘not_fraud’,’fraud’]] = pd.get_dummies(df[‘fraud’])
df = df.drop(‘not_fraud’, axis=1)
print(df[‘fraud’].mean())
print(df[‘weekday’].mean())
print(df.groupby(‘fraud’).mean()[‘duration’])
2. Now that you hav... | https://tomreads.com/2018/03/11/logistic-regression/ | CC-MAIN-2019-04 | refinedweb | 1,312 | 58.28 |
I have just started working on node js.I have been trying to make chat application using node js. In which a single user can logged in through multiple devices or browsers. If I am not wrong and as I understand each of the browser communicates with different port address since socket connection is defined by IP address... | https://codedump.io/share/Otlh6wDXrYaE/1/socket-connection-in-node-js | CC-MAIN-2017-09 | refinedweb | 418 | 62.17 |
Add Vue to your acknowledged stack
Oleksandr Shvechykov
Updated on
・8 min read
TL;DR
Vue.js can't be called "same good as React" (or even "better"). React, as a code library, its tricks and architectural decisions (like Fiber or Time-slicing, Suspense and Hooks), push JS development way further than we could ever expec... | https://practicaldev-herokuapp-com.global.ssl.fastly.net/lexswed/add-vue-to-your-acknowledged-stack-2gc4 | CC-MAIN-2019-43 | refinedweb | 2,200 | 62.98 |
Library to convert rich text from Draft.js raw ContentState to HTML
Project description
Draft.js exporter
Library to convert rich text from Draft.js raw ContentState to HTML.
It is developed alongside the Draftail rich text editor, for Wagtail. Check out the online demo, and our introductory blog post.
Why
Draft ecosys... | https://pypi.org/project/draftjs-exporter/ | CC-MAIN-2019-51 | refinedweb | 1,417 | 52.46 |
Search through multiples files is a pain in neck, in applications like Sublime Text you can use the "find in files" option (command-shift-F), but you can do that in vim too, using the
:lvim command.
:lvim /seach/gj ./**/*.html
Here is a wrapper function to make it more user friendly:
function! GlobalSeach() let text = ... | https://coderwall.com/p/xoh7ca/global-search-in-vim | CC-MAIN-2017-22 | refinedweb | 113 | 62.48 |
- Keyword Changes
- Functional Changes
- Upgrading from VB 6.0
- Summary
As is obvious by now, VB .NET and VS .NET contain significant changes from previous versions of VB in terms of the runtime architecture and the features of the development environment itself. In addition, the VB .NET language has been changed in a... | http://www.informit.com/articles/article.aspx?p=25773&seqNum=4 | CC-MAIN-2017-04 | refinedweb | 542 | 55.84 |
Help with UI and views.
I'm trying to put a UI on a classic 'Star Trek' game written in Python.
To start with, I want a full-screen background onto which I can put my long-range scanner, my short range scanner, a command menu and perhaps some other boxes.
Would I create a full-screen ui.view for the background and then... | https://forum.omz-software.com/topic/1809/help-with-ui-and-views | CC-MAIN-2018-43 | refinedweb | 624 | 65.22 |
Hi Andrew,
Any chance you can share results.e for debugging purposes?
Nathan
On Fri, Jan 11, 2019 at 3:57 PM andfranklin3@gmail.com wrote:
Hi all,
I'm trying to access Exodus II Data from a [MOOSE]( application. I'm following the instructions provided [here]( My particular script is follows:
import yt file_name = "re... | https://mail.python.org/archives/list/yt-users@python.org/message/Z6QGUNQAD6XJHMJP5SNPBIXZHCVPDLEC/ | CC-MAIN-2022-21 | refinedweb | 152 | 62.24 |
what
owch my head hurts after watching that
Take two Tylenol, watch it again and then tell me if that helped. Haha. Thanks for the review.
Rated 5 / 5 stars
nice
this flash is good
Thanks, I'm glad you liked it.
Rated 5 / 5 stars
The ending
You should have ended it with him yelling he was gay to get out xD
So you want... | http://www.newgrounds.com/portal/view/485749/review_sort/score/review_page/2 | CC-MAIN-2015-40 | refinedweb | 196 | 93.95 |
I coded a Python program to sing the BTS song "Butter"
with pygame and gTTS API
Published on Jun 10, 2021
It was my dream for a very long time to program something to sing. Recently , I found a way to achieve that goal. Though it's not an optimized idea, I was kinda thrilled while doing it. FYI , I am a big fan of BTS,... | https://codengocool.hashnode.dev/i-coded-a-python-program-to-sing-the-bts-song-butter?guid=none&deviceId=6037fcf7-81e3-40fb-8732-233afb0a30c6 | CC-MAIN-2021-25 | refinedweb | 559 | 76.93 |
Erik Andersen wrote: > I just asked my boss, and adding nfs support to busybox' > mount isn't a high priority here at Lineo (they are paying > me to work on it so I do what they pay me to do). Adding insmod > and rmmod is more important, so I guess I'll be working on > that today. I may look into adding it in my spare ... | https://lists.debian.org/debian-boot/1999/11/msg00378.html | CC-MAIN-2017-17 | refinedweb | 165 | 72.97 |
How can I listen on a port with Java?How can I listen on a port with Java?
How can I listen on a port with Java?How can I listen on a port with Java?
Help please? I need to know how I can listen on a port.
The TCPServer code looks to me that it will listen on port 6789 and wait for client input. Change the port to matc... | http://www.codingforums.com/java-and-jsp/264715-java-how-listen-port.html | CC-MAIN-2016-18 | refinedweb | 717 | 67.86 |
Created on 2020-05-20 08:08 by felixxm, last changed 2020-05-30 20:05 by serhiy.storchaka.
We noticed a behavior change in Python3.9.0b1 (it works properly in Python3.9.0a6). One of our tests `handlers.tests.AsyncHandlerRequestTests.test_suspiciousop_in_view_returns_400`[1] hangs on `await`. `/suspicious/` is a view th... | https://bugs.python.org/issue40696 | CC-MAIN-2020-45 | refinedweb | 1,482 | 56.15 |
Using Pipenv
Saturday June 29, 2019
If you use Python, you should use Pipenv for environment/requirement management.
Installing
Do you have Pipenv installed? (Try
which pipenv.) If you don't have
it, install it:
$ pip install --user pipenv
Now you can read
pipenv --help, but I'll continue to highlight
common tasks.
Exi... | https://planspace.org/20190629-using_pipenv/ | CC-MAIN-2020-16 | refinedweb | 549 | 67.86 |
I am having an issue getting directions to return when using ModelBuilder or through a network service with ArcGIS server. In 10.1 desktop the directions work fine, and return in the directions window. Also, The model that I made works in 10, and without the directions it works in 10.1. When the directions are set to n... | https://community.esri.com/thread/52299-directions-in-101-not-working-with-modelbuilder-or-in-anbsp-network-service | CC-MAIN-2018-43 | refinedweb | 215 | 69.21 |
Using Tesseract on Ubuntu
In this tutorial, I will show you how to install and use Google’s Open Source OCR engine Tesseract. First off, let’s discuss step by step procedure to install Tesseract on Ubuntu.
1. Installation
1.1 Installing Dependencies
First of all we need to install all the dependencies that are required... | https://www.linux.com/comment/20639 | CC-MAIN-2018-51 | refinedweb | 402 | 59.5 |
Issues with: Solving a polynomial equation with multiple variables
It's probably very simple but I'm completely new to Sage and could not find a definitive answer. So here's the problem. I have a polynomial equation like this:
v**6 + a(k)*v**4 + b(k)*v**2 + c(k) == 0
For simple forms of a(k), b(k), c(k) etc. solve work... | https://ask.sagemath.org/question/9015/issues-with-solving-a-polynomial-equation-with-multiple-variables/ | CC-MAIN-2017-13 | refinedweb | 431 | 72.97 |
Class::GAPI - Generic API, Base class with autoloaded methods, stub objects, cloning etc.
package Guppy ; use Class::GAPI ; # All of its cool stuff our @ISA = qw(Class::GAPI) ; # is now in our namespace our @Children = qw(Class::GAPI::Fin Class::List::Eyeballs CGI) ; # Autoconstruct Subordinates our @Default_Properties... | http://search.cpan.org/~crosswire/Class-GAPI-1.1/lib/Class/GAPI.pm | CC-MAIN-2017-09 | refinedweb | 1,592 | 60.45 |
Domain and Trust Relationship
Hi, I have made a two way trust relationship between two different domains and it’s working fine but I can’t ping any hostname of the other domain. Is it suppose to resolve the hostnames of the clients among domains? If yes, how to do so? Appreciate the assistance can be proposed. Thanks a... | http://www.networksteve.com/forum/topic.php/Domain_and_Trust_Relationship/?TopicId=9006&Posts=3 | CC-MAIN-2014-52 | refinedweb | 351 | 74.59 |
Open CV: First Look! First App!
This is the first introduction and code-along tutorial to learn OpenCV in Python. We will be looking at installation and super basic functions of OpenCV.
OpenCV History & Facts
Short For Open Source Computer vision, is a programming library for Computer Vision functions. It was an Intel ... | https://medium.com/@almutawakel.ali/open-cv-first-look-first-app-c1ffb0e8025f | CC-MAIN-2017-34 | refinedweb | 1,197 | 67.55 |
0
hey guys, I'm having some difficulty with finding out whether a user inputted string is a palindrome. It doesn't have to identify pure palindromes either, just the basics. Everything was going great, and just as it was looking like I'd get to bed before 3 am, I got hit with a segmentation fault. I messed around with ... | https://www.daniweb.com/programming/software-development/threads/154485/segmentation-fault-recursive-palindrome | CC-MAIN-2017-17 | refinedweb | 201 | 80.82 |
Julia interface to SymPy via PyCall
Sympyfunctionality into
Juliavia
PyCall
SymPy () is a Python library for symbolic mathematics.
With the excellent
PyCallpackage of
julia, one has access to the many features of the SymPy library from within a
Juliasession.
This
SymPypackage provides a light interface for the features... | https://xscode.com/JuliaPy/SymPy.jl | CC-MAIN-2021-10 | refinedweb | 961 | 55.74 |
Ok, so basically I need to d this java application for an assignment. It says Write a java program that uses the ASCII codes and a for loop in a METHOD Alphabet() to display the alphabet in the following format.
I'm not too good at java but this is what i got so far.
Code :
{ public static void main( String args[] ) { ... | http://www.javaprogrammingforums.com/%20object-oriented-programming/4486-listing-alphabet-lower-uppercase-printingthethread.html | CC-MAIN-2014-15 | refinedweb | 239 | 64.2 |
THE STORY of a quiet revolution in asset management begins with Jack Bogle. Actually, it starts in 1974 when Paul Samuelson, an economist and Nobel prizewinner, published an article in the Journal of Portfolio Management arguing that the bulk of mutual-fund managers should go out of business. Most failed to beat the ma... | https://www.economist.com/special-report/2020/11/12/passive-attack | CC-MAIN-2021-43 | refinedweb | 1,668 | 65.01 |
The QTableWidgetSelectionRange class provides a way to interact with selection in a model without using model indexes and a selection model. More...
#include <QTableWidgetSelectionRange>
The QTableWidgetSelectionRange class provides a way to interact with selection in a model without using model indexes and a selection... | https://doc.qt.io/archives/qtextended4.4/qtablewidgetselectionrange.html | CC-MAIN-2020-24 | refinedweb | 275 | 53.58 |
Opened 5 years ago
Closed 5 years ago
#4078 closed bug (fixed)
hReady and hWaitForInput block under Windows
Description
While using a Network.Socket converted to a Handle with socketToHandle, calling hReady or hWaitForInput on that handle will block.
This happens within ghci or when compiled with -threaded and executed... | https://ghc.haskell.org/trac/ghc/ticket/4078 | CC-MAIN-2015-32 | refinedweb | 452 | 50.97 |
Hey everyone,
I'm trying to use the onTriggerEnter function in a C# script placed on a parent Empty that will affect several gameObjects (namely gold coins one has to collect...)
I've tried reading the documentation but I haven't found (or understood) the information I'm looking for: how can I access the colliders of t... | https://answers.unity.com/questions/594421/ontriggerenter-is-unclear-to-me.html?sort=oldest | CC-MAIN-2020-29 | refinedweb | 783 | 58.21 |
(Updated: I moved the begin transaction outside of the try as Chad suggested in the comments.)
If you’re like me, you’re lazy and hate putting try/catch around your transaction handling in your code. It has to be there, but it’s just a pain. You may have code that looks something like:
domainContext.BeginTransaction();... | http://lostechies.com/rayhouston/2008/03/28/a-simple-closure-to-handle-try-catch-around-transactions/ | CC-MAIN-2014-42 | refinedweb | 1,685 | 58.28 |
lambdas Are Better Than procs
Keith Bennett
Updated on
・4 min read
Many Rubyists believe that lambda and nonlambda Procs are pretty much the same and that choosing which one to use is a subjective preference. This is an unfortunate fallacy.
This article will attempt to achieve two purposes:
1) to explain the difference... | https://dev.to/keithrbennett/lambdas-are-better-than-procs-52a1 | CC-MAIN-2020-05 | refinedweb | 860 | 59.94 |
Overview
This is Part 2 of the Rails on Kubernetes series.
- Part 1: Rails and Docker Compose
- Part 2: Kubernetes
- Part 3: Deployments, Rolling updates and Scaling
Updates
- 2017-11-13: Updated all docker images to pull from Alpine.
Code
You can skip straight to the completed deployment here Rails app on Github.
Rail... | https://www.monkeyvault.net/rails-on-kubernetes-part-2/ | CC-MAIN-2020-05 | refinedweb | 1,993 | 57.61 |
It may be time to PEP (or re-PEP), if only to clarify what people are actually asking for. Brian Sabbey's example from message *seems* reasonably clear, but I don't see how it relates in any way to "for" loops or generators, except as one (but not the only) use case. def add(thunk1, thunk2, other): print thunk1(1,2) + ... | https://mail.python.org/pipermail/python-dev/2005-March/052208.html | CC-MAIN-2016-50 | refinedweb | 387 | 68.1 |
I am downloading data from quandl.com with python and I have reached my limit with 50 downloads for today. Users with an account can exceed this limit which I already have an account set up. The error message say I need to put my api key with the request, but to my knowledge it does not say how??
This is the error mess... | https://codedump.io/share/lJFhwNGO2pq5/1/dowloading-data-from-quandlcom-and-want-to-know-how-i-include-my-api-key-with-my-request | CC-MAIN-2017-17 | refinedweb | 169 | 66.23 |
24532/not-able-to-access-the-kubernetes-dashboard
Execute the following command and let me know the output:
kubectl describe svc kubernetes-dashboard --namespace=kube-system
Have you executed this proxy command?
kubectl proxy
Try this and let me know if it works, if it doesn't you'll have to provide some more details l... | https://www.edureka.co/community/24532/not-able-to-access-the-kubernetes-dashboard?show=24533 | CC-MAIN-2021-49 | refinedweb | 153 | 67.65 |
You.
When the offending line is reached, the line that defines
the
AWESOME macro or declares a type named
AWESOME
or otherwise uses the word
AWESOME,
you'll get a compiler error.
If it's a conflicting macro definition, you'll get something like
error: header.h(10): conflicting definition of macro 'AWESOME'
when the fir... | https://blogs.msdn.microsoft.com/oldnewthing/20080410-00/?p=22793 | CC-MAIN-2018-26 | refinedweb | 1,222 | 69.41 |
This note has no formal standing at the W3C or in the TAG. Consider it as having the same status as an extended email to www-tag. I am posting it in HTML as I think it will be more readable and more easily shared in this form. This note is being offered in the hope that it will contribute to the TAGs progress on issues... | http://www.w3.org/2001/tag/2008/02/RepresentationResources.html | CC-MAIN-2018-47 | refinedweb | 2,509 | 57.5 |
Variable Mangling in Bash with String Operators
Editor.
In pattern matching, you can match from the left or from the right. The operators, along with their functions and examples, are shown below: 57. Copyright (c) 2000, Specialized Systems Consultants, Inc. The material in this article may be distributed only subject ... | http://www.linuxjournal.com/article/8919?quicktabs_1=1 | CC-MAIN-2016-07 | refinedweb | 1,855 | 63.59 |
United States
Change
|
All Microsoft Sites
Help and Support
Help and Support Home
Select a Product
Advanced Search
Article ID: 225097 - Last Review: April 26, 2006 - Revision: 3.1
Description of Internet Explorer 4.01 Service Pack 2
Retired KB Content Disclaimer
View products that this article applies to.
This article ... | http://support.microsoft.com/kb/225097 | crawl-002 | refinedweb | 3,403 | 54.42 |
Created on 2011-03-23 02:04 by pitrou, last changed 2012-05-19 17:17 by eric.snow. This issue is now closed.
If you add the following test to text_contextlib:
diff --git a/Lib/test/test_contextlib.py b/Lib/test/test_contextlib.py
--- a/Lib/test/test_contextlib.py
+++ b/Lib/test/test_contextlib.py
@@ -363,6 +363,8 @@ cl... | https://bugs.python.org/issue11647 | CC-MAIN-2018-51 | refinedweb | 1,293 | 56.45 |
I’m running @pythonetc, a Telegram channel about Python and programming in general. Here are the best posts of August 2018.
Factory method
If you create new objects inside your
__init__, it may be better to pass them as arguments and have a factory method instead. It separates business logic from technical details on h... | https://coinerblog.com/python-stories-august-2018-5af3036ff225/ | CC-MAIN-2019-30 | refinedweb | 1,151 | 55.44 |
Northside Woman October 2013
Northside Woman is a woman's work and play publication and companion website that covers news and features for the northern Atlanta suburban female. To read on mobile devices, turn pages by sliding from side to side.
OCTOBER 2013 Dragon Boat Breast cancer survivors take to the water Lakesid... | http://issuu.com/appen-inc/docs/nsw_100113_36 | CC-MAIN-2015-27 | refinedweb | 14,099 | 71.24 |
Is there an app function to simply flip images vertically / horizontally ?
I see there is funtion to do rotate and mirror. but nothing about flipping.
Shashi
Is there an app function to simply flip images vertically / horizontally ?
I see there is funtion to do rotate and mirror. but nothing about flipping.
Shashi
Can'... | https://software.intel.com/en-us/forums/intel-integrated-performance-primitives/topic/374952 | CC-MAIN-2017-43 | refinedweb | 641 | 64.71 |
Saturday, July 01, 2017
when I looking for a more lightweight search engine, mongodb came cross my mind. it does supports text search.
I know mongodb has lots of bad comments, but as I said it's getting better, its wiredtiger storage engine supports compression
I decided give a try. use it to replace MySQL and elastics... | https://jchk.net/blog/2017-07 | CC-MAIN-2019-13 | refinedweb | 1,876 | 71.55 |
Things will go wrong with code, and Elixir provides supervisors which describe how to restart parts of your system when things don't go as planned.
"Elixir is a dynamic, functional language designed for building scalable and maintainable applications."
If you have the time, these videos give a nice contextual introduct... | https://awesomeopensource.com/project/dwyl/learn-elixir | CC-MAIN-2022-27 | refinedweb | 5,703 | 64 |
Alt::IO::All::new - Rewrite of IO::All
> cpanm Alt::IO::All::new use IO::All;
This is a rewrite of the infamous IO::All. The new design is detailed below.
This is a very early release. It's just barely operational. Enough to upload to CPAN under the new experimental
Alt- namespace.
This is a design document for an upco... | http://search.cpan.org/dist/Alt-IO-All-new/lib/Alt/IO/All/new.pod | CC-MAIN-2014-23 | refinedweb | 723 | 62.17 |
Everyone hates NetBIOS, so why is it still around? If you recall, NetBIOS is an ancient (1983) session-level interface and transport protocol developed by Sytec for IBM to network together PCs. It's noisy (broadcast-based), insecure (commands like
net view and
nbtstat can tell attackers a lot about a NetBIOS network), ... | http://archive.oreilly.com/lpt/a/4844 | CC-MAIN-2015-06 | refinedweb | 1,583 | 59.23 |
Allow multiple views to match the same URL.
Project description
Have you ever wanted multiple views to match to the same URL? Now you can.
You may once have tried something like this:
urlpatterns = [ url('/app/(\w+)/$', app.views.people), url('/app/(\w+)/$', app.views.place), ]
However, if you try this, /app/san-franci... | https://pypi.org/project/django-multiurl/ | CC-MAIN-2021-10 | refinedweb | 375 | 52.26 |
A Basic Template¶
FluxReader comes with a template script, called FluxReaderTemplate.C. Its contents will be reproduced here with more details than the actual comments that appear in the script. However, before this, note that all scripts should have a similar format and flow: they start with some standard preprocessor... | https://cdcvs.fnal.gov/redmine/projects/fluxreader/wiki/Building_Scripts | CC-MAIN-2019-39 | refinedweb | 883 | 56.76 |
> Both the code to enable the CDROM port and the code that enables> the SoundBlaster Emulation is now fully selectable in 'make menuconfig'.> If a user doesn't want either section of code included in his customized> sound driver then he can just leave the new options unselected. When the> option is unselected the assoc... | http://lkml.org/lkml/1998/4/22/21 | CC-MAIN-2015-48 | refinedweb | 215 | 52.9 |
In computer programming, loop repeats a certain block of code until some end condition is met.
There are 3 type of loops in C++ Programming:
C++ while Loop
The syntax of a while loop is:
while (testExpression) { // codes }
where, testExpression is checked on each entry of the while loop.
How while loop works?
- The whi... | https://www.programiz.com/cpp-programming/do-while-loop | CC-MAIN-2020-16 | refinedweb | 409 | 67.65 |
One way to define laziness is as follows: a language has strict evaluation if and only if \(f(\bot) = \bot\) for every function \(f\) definable in the language.
We can use this definition to solve another problem: comparing algorithms across lazy and strict languages. In particular, it allows us to ask questions like "... | http://blog.vmchale.com/article/xiphophyllous-trees | CC-MAIN-2021-17 | refinedweb | 192 | 56.18 |
For this particular example, I will be working on Wndows (sorry X users). I might write a similar guide once I am more comfortable with programming in Linux.
What You Will Need
- Visual C# 2010 Express (Get it here)
- Pirate Metal
- Source Code (For when you are done with the guide.This is not an invitation to skip wha... | https://null-byte.wonderhowto.com/news/simple-xor-text-encryption-and-decryption-visual-c-0132606/ | CC-MAIN-2020-29 | refinedweb | 805 | 68.36 |
I can’t think of a single person who enjoys writing comments in code. I don’t, my friends and colleagues don’t, and I’m pretty sure there isn’t a meetup group for fans of it. Outside of code that I write for blog posts, I can pretty much guarantee there are only place where I write comments is in interfaces.
The simple... | http://www.objectify.be/wordpress/2012/11/02/back-to-basics-good-comments-are-targeted-comments/ | CC-MAIN-2017-22 | refinedweb | 1,049 | 63.49 |
plug alternatives and similar packages
Based on the "Framework Components" category.
Alternatively, view plug alternatives based on common mentions on social networks and blogs.
surface9.8 8.7 plug VS surfaceA server-side rendering component library for Phoenix
commanded9.8 7.5 plug VS commandedUse Commanded to build E... | https://elixir.libhunt.com/plug-alternatives | CC-MAIN-2022-40 | refinedweb | 1,177 | 51.14 |
How can I directly call a ruby function from the command-line?
Imagine, I would have this script test.rb:
class TestClass
def self.test_function(some_var)
puts "I got the following variable: #{some_var}"
end
end
ruby test.rb
ruby test.rb TestClass.test_function('someTextString')
I got the following variable: someTextSt... | https://codedump.io/share/KIfuQlmEDwRI/1/call-ruby-function-from-command-line | CC-MAIN-2017-13 | refinedweb | 157 | 67.15 |
On 12/01/2009, at 10:26 PM, Noah Slater wrote:
> On Mon, Jan 12, 2009 at 05:15:39PM +1030, Antony Blakey wrote:
>> --- Revised Proposal ---------
>>
>> Each document, whether canonical or derived, has a globally unique
>> identity consisting of a UUID and the document ID.
>>
>> In the case of a canonical document, the ... | http://mail-archives.apache.org/mod_mbox/couchdb-user/200901.mbox/%3CF504A486-CED3-4A81-B513-84CAACFC869F@gmail.com%3E | CC-MAIN-2013-48 | refinedweb | 260 | 68.91 |
It is frequently asserted that "the UNIX philosophy" is to build complexity out of simpler, reusable parts.
This has resulted in a rich toolbox to build shell scripts out of.
There is not always an available command to use in a shell script, so you might need to write something yourself to fill the gap; or you might ha... | https://yakking.branchable.com/posts/writing-composable-programs/ | CC-MAIN-2020-40 | refinedweb | 556 | 52.12 |
use Dancer2;
use List::Util qw(any);
sub use_any_subroutine {
foreach my $foo (@$foo_array) {
next unless any { $_ == $foo->id } @hello_world;
}
return;
}
List::Util::any
Both Dancer2 and List::MoreUtils export an
any function into your namespace.
For Dancer2, it's part of its DSL and is used as a route definition that... | https://codedump.io/share/tKa67k4S1KbN/1/prototype-mismatch-sub-mainany-none-vs-amp-at-exporterpm | CC-MAIN-2017-34 | refinedweb | 263 | 57.5 |
This page documents the 1.2 (latest stable) release. See 1.0/TracPlugins if you need the previous version.
Contents
- Plugin discovery
- Installing a Trac plugin
- Setting up the plugin cache
- Web-based plugin administration
- Troubleshooting
Trac plugins
Trac is extensible with plugins. Plugin functionality is based ... | https://trac.edgewall.org/wiki/TracPlugins | CC-MAIN-2017-22 | refinedweb | 1,244 | 57.16 |
9.1 What is ZooKeeper
ZooKeeper is all about implementing distributed system using Hadoop. If one sender and receiver are communicating and due to some reason network fails then following things would happen –
- Sender has no idea of receipt receive the message
- Receiver may not have received at all
- Receiver’s proce... | http://wideskills.com/hadoop/zookeeper-administration | CC-MAIN-2019-13 | refinedweb | 757 | 60.55 |
This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
On Sun, 12 Oct 2008, Andi Kleen wrote: > Also the tracer function has to get the caller information from the > stack now instead of through the frame pointer. To avoid incompatibility > I use a new entry point "mcount_nofp" in thi... | http://gcc.gnu.org/ml/gcc-patches/2008-10/msg00518.html | CC-MAIN-2017-13 | refinedweb | 105 | 76.32 |
Chuck Esterbrook wrote:
>
> At 02:03 AM 12/5/2000 +0000, Tom Schwaller wrote:
> >DBPool.py and the dummy example DB.py is attached (I put DBPool.py
> >into the Cans directory because I needed the thread pool cross servlet
> >wise. Is there another way of reaching the same goal?)
>
> Once it's easier to subclass Applica... | http://sourceforge.net/p/webware/mailman/message/5308084/ | CC-MAIN-2014-52 | refinedweb | 166 | 76.42 |
a yearning loss to silence me,
the struggle breaks the black and white, calling, transmitting,
the echo breaks, electric air,
her pulse it stretches from never to everywhere.
A yearning loss to silence me, the struggle breaks the black and white, calling...
a yearning loss to silence me,
sonata
hey how ya goin
day off,... | http://hollaforums.com/thread/1316184/anime/a-yearning-loss-to-silence-me-the-struggle-breaks.html | CC-MAIN-2017-30 | refinedweb | 7,555 | 81.83 |
Closed Bug 1142006 Opened 5 years ago Closed 5 years ago
All my Try builds fails on OSX with "dyld: Symbol not found: _strndup"
Categories
(Firefox Build System :: General, defect)
Tracking
(firefox39 fixed)
mozilla39
People
(Reporter: mats, Assigned: glandium)
Details
(Keywords: regression)
Attachments
(1 file)
Try ru... | https://bugzilla.mozilla.org/show_bug.cgi?id=1142006 | CC-MAIN-2020-29 | refinedweb | 580 | 55.44 |
@TaskAction void run() { logging.captureStandardOutput(LogLevel.INFO) def classpath = new DefaultClassPath(getCodenarcClasspath()) antBuilder.withClasspath(classpath.asFiles).execute { // ... thou shalt not leak! } }
29 August 2015
Tags: jvm groovy gradle permgen yourkitTweeter
This is my first blog post after 4 months... | http://melix.github.io/blog/ | CC-MAIN-2016-07 | refinedweb | 13,901 | 53 |
"
Adding additional namespaces is not a trivial thing to do, though it always
seems so minor to the person driven by marketing to quickly hack something
in.. V4 of ReiserFS accesses all file attributes via the
filesystem namespace (see our mainpage at, there is a
section on semantics in it). In V4, attributes are just ... | http://lwn.net/Articles/82480/ | crawl-002 | refinedweb | 534 | 56.39 |
The Q-Learning algorithm has a Q-table (a Matrix of dimension state x actions – don’t worry if you do not understand what a Matrix is, you will not need the mathematical aspects of it – it is just an indexed “container” with numbers).
This translates into the following pseudo algorithm for the Q-Learning.
The agent is ... | https://www.learnpythonwithrune.org/simple-machine-learning-trading-bot-in-python-evaluating-how-it-performs/ | CC-MAIN-2021-25 | refinedweb | 1,260 | 54.79 |
Module::Mapper - Find source for modules and optionally map to another directory
use Module::Mapper; # # explicit mode # $options = ( All => 1, IncludePOD => 1, Verbose => sub { print STDERR $_[0], "\n"; }, UseINC => 1, Libs => [ './lib', './otherlib' ], Scripts => [ './bin/mapmodule' ], Output => './classdoc', Modules... | http://search.cpan.org/~darnold/Module-Mapper-1.01/lib/Module/Mapper.pod | CC-MAIN-2015-40 | refinedweb | 585 | 53.92 |
Quiz
Review today's material by taking this three-question quiz.
Questions
What operator do you use to call an object's constructor method and create a new object?
+
new
instanceof
What kinds of methods apply to all objects of a class rather than an individual object?
Universal methods
Instance methods
Class methods
If... | https://www.informit.com/articles/article.aspx?p=174371&seqNum=9 | CC-MAIN-2022-27 | refinedweb | 230 | 64 |
Post your Comment
Jump Start UI for Eclipse
Jump Start UI for Eclipse
Jump Start UI is a development tool that literally
jumpstarts your UI desigining process by generating initial display and binding
Eclipse Plunging/UI
;
Jump
Start UI for Eclipse
Jump Start UI is a development tool... Eclipse Plunging/UI
... the Ecl... | http://www.roseindia.net/discussion/20416-Jump-Start-UI-for-Eclipse.html | CC-MAIN-2015-06 | refinedweb | 621 | 61.67 |
#include <wx/icon.h>.
Predefined objects/pointers: wxNullIcon
Default ctor.
Constructs an icon object with no data; an assignment or another member function such as LoadFile() must be called subsequently.
Copy ctor.
Creates an icon from an array of::Icon->newBits(bits, width, height, depth = -1);
Creates a bitmap from ... | https://docs.wxwidgets.org/3.1.0/classwx_icon.html | CC-MAIN-2019-09 | refinedweb | 331 | 68.77 |
Configure Send and Receive Connectors for an Exchange 2007 Hybrid Deployment
Applies to: Exchange Server 2010 SP1
Topic Last Modified: 2012-07-23
Estimated time to complete: 5 minutes
Before the Exchange 2010 hybrid server can send or receive messages to or from the cloud-based organization, you need to create a Send c... | https://technet.microsoft.com/en-us/library/gg981528(v=exchg.80).aspx | CC-MAIN-2017-39 | refinedweb | 534 | 54.63 |
On Wed, Dec 12, 2007 at 07:20:01PM -0500, David Nusinow wrote: > I use mutt but I don't have the library of scripts that I'm sure many DD's > have to deal with debian-specific stuff, although I'd love one. Would > anyone besides me be interested in pooling mutt scripts useful for DD's on > the wiki or something? I beli... | https://lists.debian.org/debian-devel/2007/12/msg00367.html | CC-MAIN-2017-26 | refinedweb | 101 | 73.51 |
[Sessionmanager-Plugin] Name not shown in PluginManager & Error @ Start
Two issues with the SessionManager-Plugin:
a) After installation in the “Installed” -Tab In the “Plugin”-, “Category”- and “Stability”- columns show no entry only the “Installed Version”- column shows 1.4.2. to identify the Plugin…
b) at Npp (v.6.8... | https://notepad-plus-plus.org/community/topic/11189/sessionmanager-plugin-name-not-shown-in-pluginmanager-error-start | CC-MAIN-2017-39 | refinedweb | 914 | 58.89 |
Yes, I just got bitten by this as well. I'm hoping Alex can comment on the
commit because I'm not super familiar with this or what was being fixed by
the change to an OR. It used to be that they keys would generate if you
were running as user 'cloud' OR the developer configuration flag was set.
This was accomplished wi... | http://mail-archives.apache.org/mod_mbox/cloudstack-dev/201301.mbox/%3CCALFpzo5RWqKbu9bejFoRxYzBq8sseNKOe5=zvws-odyPx-ygQQ@mail.gmail.com%3E | CC-MAIN-2019-18 | refinedweb | 463 | 60.14 |
[ ]
David Crossley commented on FOR-675:
------------------------------------
I had already tried adding the "namespace-uri" parameter to the Forrest sitemaps (see above)
but that had no effect. The value was as declared in the site-author/content/xdocs/site.xml
(). I tried again today to no avail.
The sample that you ... | http://mail-archives.apache.org/mod_mbox/forrest-dev/200509.mbox/%3C348784646.1127962547777.JavaMail.jira@ajax.apache.org%3E | CC-MAIN-2016-26 | refinedweb | 229 | 62.34 |
In today’s Programming Praxis exercise, our goal is to solve the problem posed to potential employees by a tech firm a couple of years ago: find the first 10-digit prime in the digits of e. Let’s get started, shall we?
A quick import:
import Data.List
First we reuse the unbounded spigot algorithm for calculating e from... | http://bonsaicode.wordpress.com/2012/06/22/programming-praxis-billboard-challenge-part-1/ | CC-MAIN-2014-15 | refinedweb | 236 | 70.53 |
Download presentation
Presentation is loading. Please wait.
Published byLondon Yarrow Modified about 1 year ago
1
13-1 Lecture slides to accompany Engineering Economy 7 th edition Leland Blank Anthony Tarquin Chapter 13 Breakeven and Payback Analysis © 2012 by McGraw-Hill All Rights Reserved
2
LEARNING OUTCOMES © 2012 ... | http://slideplayer.com/slide/3824154/ | CC-MAIN-2016-50 | refinedweb | 1,179 | 51.62 |
I have been working on this python script and I cannot figure out why it is not working. I have about 15 Web Feature Layers I want to regularly export to individual geodatabases then download them using the script. If I try to just download them it returns a 1kb zip file. So after looking online for a solution a ran ac... | https://community.esri.com/message/811940-exporting-multiple-web-feature-layers-as-geodatabase | CC-MAIN-2020-24 | refinedweb | 539 | 55.54 |
sensor_set_background()
Enable or disable background mode.
Synopsis:
#include <sensor/libsensor.h>
int sensor_set_background(sensor_t *sensor, bool enable)
Since:
BlackBerry 10.0.0
Arguments:
- sensor
The sensor to modify.
- enable
1 to enable background mode, or 0 to disable it.
Library:libsensor (For the qcc command,... | https://developer.blackberry.com/native/reference/core/com.qnx.doc.sensor.lib_ref/topic/sensor_set_background.html | CC-MAIN-2015-32 | refinedweb | 129 | 52.97 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.