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 |
|---|---|---|---|---|---|
Is there a way to find out what the modification was in an on_modified or on_selection_modified callback?
Unfortunately not - this is something I'm planning to implement in version 3 (!)
Oh no... that's so long from now...Any tips for a workaround? I don't really want to diff the whole file each modification...
Depends... | https://forum.sublimetext.com/t/on-modified-what-changed/1200/9 | CC-MAIN-2016-36 | refinedweb | 569 | 64.61 |
package Test::Ping; $Test::Ping::VERSION = '0.204'; use strict; use warnings; # ABSTRACT: Testing pings using Net::Ping use Test::Ping::Ties::BIND; use Test::Ping::Ties::PORT; use Test::Ping::Ties::PROTO; use Test::Ping::Ties::HIRES; use Test::Ping::Ties::TIMEOUT; use Test::Ping::Ties::SOURCE_VERIFY; use Test::Ping::Ti... | http://web-stage.metacpan.org/release/Test-Ping/source/lib/Test/Ping.pm | CC-MAIN-2020-24 | refinedweb | 751 | 53.51 |
15.2. Solving equations and inequalities offers several ways to solve linear and nonlinear equations and systems of equations. Of course, these functions do not always succeed in finding closed-form exact solutions. In this case, we can fall back to numerical solvers and obtain approximate solutions.
How to do it...
1.... | https://ipython-books.github.io/152-solving-equations-and-inequalities/ | CC-MAIN-2019-09 | refinedweb | 368 | 60.14 |
Free Response - Self Divisor B¶
The following is part b. Write method firstNumSelfDivisors, which takes two positive integers as parameters, representing a start value and a number of values. Method firstNumSelfDivisors returns an array of size num that contains the first num self-divisors that are greater than or equa... | https://runestone.academy/runestone/books/published/csjava/Unit7-Arrays/selfDivisorB.html | CC-MAIN-2021-43 | refinedweb | 438 | 58.11 |
Hey,
Aside from the discretionary access control (DAC) permissions associated with
files (e.g., “users with UID X can read”), there is an extra permission bit that
can be stored in a file's inode: the
setuid bit.
Once set in an executable, it allows the user who's executing that binary to do so with the UID of the owne... | https://ops.tips/notes/setuid-or-how-sudo-works/ | CC-MAIN-2020-05 | refinedweb | 1,075 | 58.42 |
Creating a Silverlight Client
Select File > Add > New Project and create a new project of type Silverlight Application. Leave the default options for Silverlight 5 and the ASP.NET Web hosting project unchanged. When the new project is ready, in Solution Explorer right-click the project whose name ends with .Web and set... | http://www.informit.com/articles/article.aspx?p=1983304&seqNum=6 | CC-MAIN-2019-51 | refinedweb | 268 | 57.67 |
This is a factorial program which uses array to calculate large factorials.
The problem is sometimes if I enter 1000, it gives the output but stops working there after. I tried it with 2000, 3000, it works fine. I cant understand its erratic behaviour? Is there any problem with my processor? I
#include <cmath> #include... | https://www.daniweb.com/programming/software-development/threads/429421/factorial-erratic-behaviour | CC-MAIN-2017-43 | refinedweb | 268 | 67.59 |
At 12:44 PM 01/20/2006 -0500, Charlie Moad wrote: >Here are the eggs if you want to unzip and look at them. I installed >both unzipped. > > > There are two issues that I saw. First, the matplotlib egg above does not declare a namespace in its matplotlib/__init__.py. Second, the basemap egg does not contain a matplotlib... | https://mail.python.org/pipermail/distutils-sig/2006-January/005888.html | CC-MAIN-2016-50 | refinedweb | 138 | 85.18 |
Creating a Slack slash command with Elixir and Plug
All examples were made with Elixir 1.3, however any Elixir >= 1.0 should work.
Slack Slash Command Overview
Slack has a few different ways for you to write awesome bots for your slack teams. One of the easier ways is through a “slash command.”
A slash command works by... | https://medium.com/hackernoon/creating-a-slack-slash-command-with-elixir-and-plug-602570fb3f7c | CC-MAIN-2019-39 | refinedweb | 1,448 | 72.56 |
In our last article on compression we showed you how to demonstrate run time encoding in Python. In this article we'll show you how to implement another kind of compression, Huffman encoding, which is useful when dealing with small sets of items, such as character strings.
Huffman encoding is a favourite of university ... | https://www.techrepublic.com/article/huffman-coding-in-python/ | CC-MAIN-2019-04 | refinedweb | 903 | 66.47 |
48 Related Items Related Items: South Florida sentinel Preceded by: Morning sentinel Succeeded by: Orlando sentinel (Orlando, Fla. : 1953) Full Text -' ":! > "'i. '':''''! ,I., -. .- r' ; :. 1:: "?:. T" ':< . I its HALF S A 75-"il MIWON,.dus PEOPLE of Orlando.LIVE IN YOUR MORNING Ika .rt. which creates 24 per'celt < rf... | http://ufdc.ufl.edu/UF00079944/00048 | CC-MAIN-2014-42 | refinedweb | 69,138 | 79.46 |
The Idea here is that when you are navigating through your pages you will select some filters on the way as here in Figure 1 where we have selected a Customer an Employee and a Shipper so what I wanted was not to throw away that information when I clicked insert and then get Figure 2.
Figure 1 – Filtered List page
Figu... | http://csharpbits.notaclue.net/2009/01/getting-default-values-from-list-page.html?showComment=1467313727250 | CC-MAIN-2018-51 | refinedweb | 1,578 | 56.66 |
Tech Tips archive
December 22, 2000
WELCOME to the Java Developer ConnectionSM
(JDC) Tech Tips, December 22, 2000. This issue covers techniques for tracking and controlling memory allocation in the Java HotSpotTM Virtual
Machine*. The topics covered are:
These tips were developed using Java 2 SDK,
Standard Edition, v 1... | http://java.sun.com/developer/TechTips/2000/tt1222.html | crawl-002 | refinedweb | 2,599 | 54.73 |
Release Notes¶
Latest Changes¶
- ♻️ Update FastAPI People GitHub Action to send the PR as github-actions. PR #2201 by @tiangolo.
- 🔧 Update FastAPI People GitHub Action config, run monthly. PR #2199 by @tiangolo.
- 🐛 Fix FastAPI People GitHub Action Docker dependency, strike 1 ⚾. PR #2198 by @tiangolo.
- 🐛 Fix FastA... | https://fastapi.tiangolo.com/release-notes/ | CC-MAIN-2020-45 | refinedweb | 8,475 | 54.79 |
memo about Botkit v4 (4.10.0)
So I inherited a bot that used run on an ancient version of Botkit. There were problems and we needed to upgrade the whole thing to Botkit v4. I found the Botkit documentation to be utterly lacking and confusing, so I decided to leave my notes here so I don’t have to look them up again.
(N... | https://lestrrat.medium.com/memo-about-botkit-v4-a7108d6f6e70?responsesOpen=true&source=user_profile---------0---------------------------- | CC-MAIN-2021-43 | refinedweb | 738 | 59.6 |
If you liked what you read feel free to connect with me on linkedin or follow me on dev.to :)
Ho, ho, ho merry... something 🎅
It is that time of year again MS ignite has past by and few new features\ updates have been announced for our favorite programing language C#. Today I'd like to show you how you can use a few o... | https://dev.to/albertbennett/c-100-useful-features-to-know-2f3f | CC-MAIN-2022-05 | refinedweb | 505 | 75.03 |
In this article, I will show you a simple application that can help you navigate your XAML styles. You can download the source from the link given above.
I am sure every WPF developer has met with the following problem: a lot of styles...a lot of images, brushes, different textboxes, and textblocks. And sometimes it is... | http://www.codeproject.com/Articles/185443/Style-Browser-for-WPF | CC-MAIN-2013-20 | refinedweb | 1,177 | 75.2 |
I and test unusual and hard-to-reproduce scenarios. In this post, I’ll walk you through the key components of my API and some ways that I’ve used it.
I wrote my fuzzing API in Clojure. Clojure provides two essential capabilities: a REPL and the test.check library.
Create a Server
We’ll use Ring to create a simple HTTP ... | https://spin.atomicobject.com/2016/06/17/fuzzing-api-test-check/ | CC-MAIN-2019-30 | refinedweb | 615 | 65.22 |
Hi!
Could you please help me to understand if it's possible (i'm newbie to seam):
I have a bean like:
@Name("myAction") @Scope(ScopeType.CONVERSATION) public class MyAction { private MyDTO myDto; public void setMyDto()... public MyDTO getMyDto()... @Create @Override public void onCreate() { myDto = new MyDTO(); //it ne... | https://developer.jboss.org/thread/192889 | CC-MAIN-2018-39 | refinedweb | 246 | 65.93 |
On Thu, Dec 22, 2011 at 5:17 PM, Christophe Fergeau <cfergeau at redhat.com> wrote: > On Thu, Dec 22, 2011 at 02:26:48AM +0200, Zeeshan Ali (Khattak) wrote: >> On Thu, Dec 22, 2011 at 1:46 AM, Zeeshan Ali (Khattak) >> <zeeshanak at gnome.org> wrote: >> > On Thu, Dec 22, 2011 at 1:43 AM, Zeeshan Ali (Khattak) >> > <zees... | https://listman.redhat.com/archives/libvir-list/2011-December/msg00985.html | CC-MAIN-2022-21 | refinedweb | 180 | 74.39 |
:
What Makes CSS So Great?
Using CSS as a Diagnostic Tool
The CSS Anarchist's Cookbook
Cascading Style Sheets: The Definitive Guide
By Eric A. Meyer
May 2000
1-56592-622-6, Order Number: 6226
467 pages, $34.95
WebReview.com's Style Sheet Reference Guide
WebReview.com's "Sense of Style" CSS Columns
XHTML: The Clean Code... | http://www.onjava.com/pub/a/network/2001/01/19/style_attribute.html | CC-MAIN-2014-49 | refinedweb | 2,263 | 68.81 |
Much !
Watch Bill Gates Live in the 5th anniversary celebration of Microsoft Research, India. Also, present would be the Chief Guest, Hon’ble Shri Kapil Sibal - HRD Ministry of India, Hon’ble Shri Prithviraj Chauhan - Minister of State for Science and Technology, India, Mr.N.R.Narayana Murthy – Chairman and Chief Mento... | http://geekswithblogs.net/ranganh/archive/2009/07.aspx | CC-MAIN-2014-42 | refinedweb | 1,508 | 64.61 |
I would love to use Flare3D on a mobile app. Im struggling to get FB to get set up for this.
I have overlayed AIR3.2 and added a flash player 11.2 debugger exe in the players folder as well as playerglobal.swcs for 11.2RC.
When I go to make a new actionscript for mobile project the air namespace is already properly 3.2... | https://forums.adobe.com/thread/976406 | CC-MAIN-2018-22 | refinedweb | 234 | 86.71 |
The.
This module contains diophantine() and helper functions that are needed to solve certain Diophantine equations. It’s structured in the following manner.) set([, -9*m_0 - 5*m_1 - 14, -5) set([) set([(-2*t**2 - 7*t + 10, -t**2 - 3*t + 5)]) >>> diophantine(x**2 + 2*x*y + y**2 - 3*x - 3*y) set([(t_0, -t_0), (t_0, -t_0... | http://docs.sympy.org/latest/modules/solvers/diophantine.html | CC-MAIN-2017-26 | refinedweb | 2,315 | 65.01 |
Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo
You can subscribe to this list here.
Showing
5
results of 5
Is it possible to create *OUTPUT typemaps for my own types (classes)?
So, if I have a function that does:
void fillPtrs(Point* p1, Point* p2);
where Point is... | http://sourceforge.net/p/swig/mailman/swig-user/?viewmonth=200606&viewday=26 | CC-MAIN-2015-18 | refinedweb | 561 | 67.96 |
Haskell's REPL is the ghci tool. It works in a similar manner to Clojure's. The "Prelude" prefix indicates the module that we are currently in (similar to the namespace idea in Clojure). Prelude is the standard Haskell library consisting of standard definitions for various types and functions.
:?(or
:help) gives help o... | http://www.fatvat.co.uk/2009/08/very-basics-of-haskell.html | CC-MAIN-2022-27 | refinedweb | 699 | 71.85 |
Hussein was last spotted kissing a baby in Baghdad in April 2003, and then his trace went cold.
Designed a deck of cards, each card engraved with the images of the 55 most wanted.
shows the strong predictive power of networks.
underlies the need to obtain accurate maps of the networks we aim to study; and the often her... | http://nbviewer.jupyter.org/github/computational-class/cjc2016/blob/gh-pages/slides/15.network_science_intro.slides.html | CC-MAIN-2017-04 | refinedweb | 1,042 | 55.74 |
Declaring Functions Using Prototypes
In the previous example, we defined the function in the code before calling it, so Objective-C knew about the greeter() function before it was called. But the function definition can also come after the call to that function in your code, like this:
#include <stdio.h> int main() { g... | http://www.peachpit.com/articles/article.aspx?p=1567320&seqNum=2 | CC-MAIN-2017-30 | refinedweb | 319 | 65.73 |
gstream-set_line_spacing man page
set_line_spacing
Synopsis
#include <gstream.h>
void set_line_spacing(int ls);
Description
Sets the line spacing in pixels. The supplied value is added to the height of the font so if your font is 12 pixels high, and you call this function with 4, then the outputter will go 16 pixels do... | https://www.mankier.com/3/gstream-set_line_spacing | CC-MAIN-2017-43 | refinedweb | 122 | 63.7 |
#include "Encoder.h"const int encoderPin_A = 8;const int encoderPin_B = 9;int counter = 0;void setup(){ Serial.begin(9600); encoder_begin(encoderPin_A, encoderPin_B); // Start the decoder}void loop(){ int dir = encoder_data(); // Check for rotation if(dir == 1) // If its forward... { counter++; // Increment the counter... | http://forum.arduino.cc/index.php?topic=174967.msg1313024 | CC-MAIN-2015-14 | refinedweb | 237 | 67.65 |
This action might not be possible to undo. Are you sure you want to continue?
Programming Optimization
Introduction Code Architecture Low Level Strategies Common Misconceptions A Few Good Tricks Links High Level vs. Low Level
Introduction
This is a page about the elusive subject of program performance optimization. Bef... | https://www.scribd.com/document/104664089/Programming-Optimization-Techniques | CC-MAIN-2017-09 | refinedweb | 8,202 | 59.4 |
How can I display an image from a file in Jupyter Notebook?
Courtesy of this post, you can do the following:
from IPython.display import ImageImage(filename='test.png')
If you are trying to display an Image in this way inside a loop, then you need to wrap the Image constructor in a display method.
from IPython.display ... | https://codehunter.cc/a/python/how-can-i-display-an-image-from-a-file-in-jupyter-notebook | CC-MAIN-2022-21 | refinedweb | 138 | 56.35 |
Performance ImageIO read803039 Feb 26, 2013 5:05 AM
hi,
for our system i have to read a lot of png images and scale them down to about 25%.
The images are 2500x3500px.
the are read by following code
is there any way to speed this up?
greetings sascha
for our system i have to read a lot of png images and scale them down... | https://community.oracle.com/thread/2506460?tstart=0&messageID=10875456 | CC-MAIN-2015-35 | refinedweb | 565 | 61.22 |
Now that we have our environment prepared we can deploy the function. To do this we need two files; the first is the requirements.txt file, this contains just two lines:
python-twitterkubernetes==2.0.0
The requirements.txt file lets Python know which external libraries to deploy alongside our code. In our file we are u... | https://www.oreilly.com/library/view/kubernetes-for-serverless/9781788620376/b365257c-e2ed-4acd-9408-0cdaae8132c4.xhtml | CC-MAIN-2019-43 | refinedweb | 121 | 65.42 |
using the code provided in the tutorial, I have created my own test program:
- Code: Select all
#!/usr/bin/python
from Adafruit_CharLCD import Adafruit_CharLCD
from subprocess import *
from time import sleep, strftime
from datetime import datetime
lcd = Adafruit_CharLCD()
lcd.clear()
lcd.message("test")
when I run this... | http://adafruit.com/forums/viewtopic.php?f=50&t=34361&start=0 | CC-MAIN-2014-15 | refinedweb | 118 | 61.67 |
On Sat, 2009-04-04 at 22:09 +0000, Antoine Pitrou wrote:
> Antoine Pitrou <pitrou@free.fr> added the comment:
>
> teardown
>
> Why should they? It's only an implementation choice, and not a wise one
> I would say (precisely because people are used to the fact that the
> standard tearDown() method does nothing, and does... | https://bugs.python.org/msg85443 | CC-MAIN-2021-39 | refinedweb | 205 | 67.38 |
This is your resource to discuss support topics with your peers, and learn from each other.
12-11-2009 03:05 AM
According to the attached log, SetionMetrics without FontMetrics no longer has issues with verification/linking errors. It starts, but then fails because an UnsupportedOperationException is thrown (OpenGL not... | https://supportforums.blackberry.com/t5/Java-Development/API-5-0-RIMAPPSA2-signing-required-for-app-that-doesn-t-use/m-p/397624/highlight/true | CC-MAIN-2016-50 | refinedweb | 494 | 65.52 |
Hi everyone, first of all sorry for the poor english wich will follow.
for the lamp's design, i borrow the inspiration from this instructable by Wildman Project...
He did all the cuts with a cnc ( you can find the files with the link), i haven't finish my own cnc so i did the differents decorations patterns with a manu... | http://www.instructables.com/id/Sensitive-Touch-Lamp/ | CC-MAIN-2017-17 | refinedweb | 1,177 | 56.83 |
Silicon.
How do I change the Energy Profiler background color?
Press setup icon at the right of Energy Profiler.
Select Light on the Theme Selection to change the background color from black to white.
What is the frequency range of EFM32JG/PG HFXO?
The frequency range of EFM32JG/PG HFXO is 38 - 40 MHz. The minimum valu... | https://www.silabs.com/community/mcu/32-bit/knowledge-base?filter=added+gt+%272016-04-01T00%3A00%3A00Z%27&filter=added+lt+%272016-04-30T23%3A59%3A59Z%27&filter=isDraft%20ne%20true | CC-MAIN-2020-40 | refinedweb | 1,219 | 50.87 |
* information on the Apache Software Foundation, please see52 * <>.53 */54 package org.jboss.axis.wsdl.symbolTable;55 56 import javax.xml.namespace.QName ;57 58 /**59 * Get the base language name for a qname60 */61 public abstract class BaseTypeMapping62 {63 /**64 * If the qname is registered in the target language,65... | http://kickjava.com/src/org/jboss/axis/wsdl/symbolTable/BaseTypeMapping.java.htm | CC-MAIN-2018-26 | refinedweb | 104 | 58.28 |
Cyrus IMAP 2.2.x Release Notes¶
Changes to the Cyrus IMAP Server since 2.2.13
- ctl_mboxlist now dumps/undumps the mailbox type flags, making it useful for remote mailboxes.
- Added sieve_allowreferrals option to control whether timsieved issues referrals or proxys traffic to backends..
Changes to the Cyrus IMAP Server... | https://www.cyrusimap.org/3.4/imap/download/release-notes/2.2/2.2.x.html | CC-MAIN-2021-21 | refinedweb | 1,356 | 56.96 |
| Join
Rate It (4)
Last post 05-21-2009 8:30 PM by keith.ealanta. 30 replies.
Sort Posts:
Oldest to newest
Newest to oldest
How about a very complex page which is composited by many different modules? e.g. a MSN home page alike web page, it need to display latest news, latest weather forecast, latest blog, forum update... | http://forums.asp.net/t/1196142.aspx | crawl-002 | refinedweb | 2,572 | 60.95 |
Kemper Freeman Jr. doesn’t like the fall roads/transit ballot measure. In fact, he’s funding the opposition. He’s been vocal for years about how he sees transit as a waste of money. Recently, he compared transit supporters to commies and terrorists.
But don’t think Kemper Freeman Jr. isn’t thinking for himself. See, Ju... | http://horsesass.org/puget-sounds-traffic-solution-internment/ | CC-MAIN-2018-43 | refinedweb | 4,511 | 72.05 |
bps_register_shutdown_handler()
Register a callback that will be invoked when the last shutdown function is called.
Synopsis:
#include <bps/bps.h>
BPS_API int bps_register_shutdown_handler(void(*shutdown_handler)(void *), void *data)
Since:
BlackBerry 10.0.0
Arguments:
- shutdown_handler
The function for platform servi... | http://developer.blackberry.com/native/reference/core/com.qnx.doc.bps.lib_ref/topic/bps_register_shutdown_handler.html | CC-MAIN-2017-26 | refinedweb | 213 | 58.89 |
Some findings around the Internet.
XKCD-style graph using Matplotlib? In Ubuntu, you'll need to install these fonts to get the closest possible rendering.
$ sudo apt-get install ttf-mscorefonts-installer fonts-humor-sans $ rm -rf ~/.cache/matplotlib/fontList.cache
Using Matplotlib without X-server? Switch to Agg backen... | https://www.kianmeng.org/search/label/mindfullness | CC-MAIN-2019-09 | refinedweb | 355 | 60.21 |
.
Example 1: Find Frequency of Characters of a String Object
#include <iostream> using namespace std; int main() { string str = "C++ Programming is awesome"; char checkCharacter = 'a'; int count = 0; for (int i = 0; i < str.size(); i++) { if (str[i] == checkCharacter) { ++ count; } } cout << "Number of " << checkCharac... | https://www.programiz.com/cpp-programming/examples/frequency-character | CC-MAIN-2021-04 | refinedweb | 141 | 60.55 |
from collections import OrderedDict from nltk.stem import PorterStemmer as NltkPorterStemmer from overrides import overrides class WordStemmer: """ A ``WordStemmer`` lemmatizes words. This means that we map words to their root form, so that, e.g., "have", "has", and "had" all have the same internal representation. You ... | https://www.programcreek.com/python/?code=allenai%2Fdeep_qa%2Fdeep_qa-master%2Fdeep_qa%2Fdata%2Ftokenizers%2Fword_stemmer.py | CC-MAIN-2021-31 | refinedweb | 189 | 58.48 |
Path Picker with Network Capabilities
Environment: VC6 SP2
This DLL displays a directory tree similar to the one found in "Find in Files" Browse button. See below.
I have noticed several applications requiring a user to select a path that often use CFileDialog which does not fit the task very well. A better option is t... | http://www.codeguru.com/cpp/controls/treeview/directorybrowsers/article.php/c729/Path-Picker-with-Network-Capabilities.htm | crawl-003 | refinedweb | 931 | 60.21 |
You may want to download and install the converter pack update for your version of Windows.
I don't believe that dwg is a default conversion format that is installed when you install Office. You may want to run the installer again, and manually select image conversion formats to load.
Chas
The DWG file extension is an ... | https://www.techrepublic.com/forums/discussions/import-a-dwg-in-a-word-document/ | CC-MAIN-2020-50 | refinedweb | 159 | 70.53 |
I am just starting out with Windows Forms and .NET programming in general and I am learning my trade all over again. My background is as a C++/Win32 GUI and DCOM programmer with a strong MFC and Win32 Functions emphasis.
I relented and now do Windows Forms and ASP.NET programming, and I have discovered how effortless .... | http://www.codeproject.com/Articles/20876/The-Sleep-Function-in-NET | CC-MAIN-2015-32 | refinedweb | 1,439 | 64.2 |
public class AxesGraph extends Graph
The AxesGraph class represents any type of graph that's plotted against an axis - bar graphs, line graphs and so on.
An AxesGraph is made up of several components.
Series, representing the data plotted on the graph. A series may consist of bars, lines etc. A series is plotted agains... | http://bfo.com/products/graph/docs/api/org/faceless/graph2/AxesGraph.html | CC-MAIN-2017-43 | refinedweb | 1,038 | 57.81 |
Hi im new to this community but i am quite ok in c programming. im using aso it will test if a value is equal/greater/less if not adds/subtracts what it needs till its condition is no longer true.so it will test if a value is equal/greater/less if not adds/subtracts what it needs till its condition is no longer true.Co... | http://cboard.cprogramming.com/c-programming/146288-maximum-power-transfer-theorem-printable-thread.html | CC-MAIN-2015-27 | refinedweb | 351 | 91.31 |
fstatvfs, statvfs - get file system information
#include <sys/statvfs.h> int fstatvfs(int fildes, struct statvfs *buf); int statvfs(const char *path, struct statvfs *buf);
The fstatvfs() function obtains information about the file system containing the file referenced by fildes.
The following flags can be returned in t... | http://pubs.opengroup.org/onlinepubs/007908775/xsh/fstatvfs.html | CC-MAIN-2014-35 | refinedweb | 244 | 55.54 |
OpenPitrix 多云环境应用管理平台OpenPitrix 是一个将应用程序打包和部署到诸如 QingCloud,AWS,Kubernetes 等多个云环境中的开放平台
v0.4.4
Nov 4, 2019
Pre-release
zheng1 released this
Signed-off-by: Zhengyi Lai <zheng1@yunify.com>
Assets
8
v0.4.2
fix: add default category when create app (#954)
Assets
8
v0.4.1
May 9, 2019
chilianyi released this
v0.4.0
Mar 30, 20... | https://www.ctolib.com/article/releases/64299 | CC-MAIN-2019-47 | refinedweb | 1,821 | 54.42 |
#include <Servo.h>#include <SPI.h>#include <Ethernet.h>byte mac[] = { 0x90, 0xA2, 0xDA, 0x03, 0x00, 0x10 };EthernetServer server = EthernetServer(80);// Initialize ServoServo myServo;int pos = 0;long prevMillis;int dir = 1;int pause = 5;void setup() { Serial.begin(9600); myServo.attach(9); if (Ethernet.begin(mac) == 0)... | http://forum.arduino.cc/index.php?topic=95644.msg718827 | CC-MAIN-2017-22 | refinedweb | 423 | 60.11 |
Ant - Quick Guide
Apache Ant is a Java based build tool from Apache Software Foundation. Apache Ant's build files are written in XML and take advantage of the open standard, portable and easy to understand nature of XML.
Why do you need a build tool?
Before diving deep into the definition of Apache Ant, one must unders... | http://www.tutorialspoint.com/cgi-bin/printversion.cgi?tutorial=ant&file=ant_quick_guide.htm | CC-MAIN-2014-42 | refinedweb | 2,188 | 65.73 |
Each Answer to this Q is separated by one/two green lines.
I am using truncated SVD from
scikit-learn package.
In the definition of SVD, an original matrix A is approxmated as a product A ? U?V* where U and V have orthonormal columns, and ? is non-negative diagonal.
I need to get the U, ? and V* matrices.
Looking at th... | https://techstalking.com/programming/python/get-u-sigma-v-matrix-from-truncated-svd-in-scikit-learn/ | CC-MAIN-2022-40 | refinedweb | 658 | 54.39 |
51722/how-does-dns-work-in-kubernetes
DNS is a built-in service in Kubernetes. It gets launched automatically when Kubernetes is setup for the first time.
Kubernetes Domain Name Server schedules a DNS Pod and Service on the cluster, and setup the kubelets to inform individual containers to use the DNS Service’s IP to r... | https://www.edureka.co/community/51722/how-does-dns-work-in-kubernetes | CC-MAIN-2020-16 | refinedweb | 205 | 74.49 |
#3192904, was opened at 2011-02-26 14:41
Private: No
Submitted By: j petrick (jpetrick1)
Assigned to: Nobody/Anonymous (nobody)
Summary: v215/py.32 win32 install fails 32 and 64-bit
Initial Comment:
Both pywin32-215.win32-py3.2.exe and pywin32-215.win-amd64-py3.2.exe throw and exception on install:
Traceback (most rec... | https://sourceforge.net/p/pywin32/mailman/message/27925761/ | CC-MAIN-2018-13 | refinedweb | 807 | 68.77 |
guys,
the selector localizedName:locale: is missing from NSTimeZone
Will also need an enum for NSTimeZoneNameStyle
I tried writing my own but didn't get very far, I couldn't see a matching Messaging.void_objc_msgSend_xxx method to use.
Any suggestions?
I tried to reproduce this issue and I am able to reproduce this is... | https://xamarin.github.io/bugzilla-archives/20/20453/bug.html | CC-MAIN-2019-43 | refinedweb | 307 | 52.87 |
17 November 2011 22:13 [Source: ICIS news]
HOUSTON (ICIS)--US Dow Chemical's crude acrylic acid (AA) capacity at ?xml:namespace>
The company would not be more specific about the duration of the expansion period, but a spokesperson said the company’s improvement projects and technological advances at its AA oxidation un... | http://www.icis.com/Articles/2011/11/17/9509448/us-dows-crude-acrylic-acid-debottlenecking-in-texas.html | CC-MAIN-2014-41 | refinedweb | 196 | 58.62 |
Functional Programming
What is functional programming?
We've got quite far into the tutorial, yet we haven't really considered
functional programming. All of the features given so far - rich data
types, pattern matching, type inference, nested functions - you could
imagine could exist in a kind of "super C" language. T... | https://ocaml.org/learn/tutorials/functional_programming.html | CC-MAIN-2021-31 | refinedweb | 2,539 | 69.41 |
Red Hat Bugzilla – Bug 21505
mmap & unlink over NFS cause long-lived .nfs files which break rmdir
Last modified: 2008-08-01 12:22:51 EDT
Just build and try this small example. There are two pieces, some source
in "mapit.c", and the script that uses it to demonstrate the problem, in
"doit". If you place both of those in... | https://bugzilla.redhat.com/show_bug.cgi?id=21505 | CC-MAIN-2017-04 | refinedweb | 272 | 77.03 |
Jira exporting Word templates
Does anyone know what happens to the file when it's being exported? I'm succeeding to export a file with requirements and after making some small changes it cant get uploaded.
So I'm thinking there is some kind of conversion that happens when the file is being exported from Jira.
anyone kn... | https://quabr.com/66854122/jira-exporting-word-templates | CC-MAIN-2021-21 | refinedweb | 2,042 | 56.35 |
Raspberry Pi
Section 2: GPIO
Let's start with an introduction to using the Raspberry Pi's General Purpose Input Output (GPIO) facilities.
Operating a Simple Switch and LED on the Raspberry Pi
GPIO, as may have been explained in other tutorials, stands for General Purpose Input/Output and a GPIO pin can be set high (tak... | https://www.cl.cam.ac.uk/projects/raspberrypi/tutorials/turing-machine/two.html | CC-MAIN-2018-47 | refinedweb | 2,141 | 71.24 |
I'm trying to use Wix Code to create a link on our website where I can control the "onclick" function to call a script that's already installed in our website just before the closing of the body tag. Any ideas or some direction on how I can accomplish this?
Hi,
Welcome to Wix Code :)
In order to control onclick event c... | https://www.wix.com/corvid/forum/community-discussion/modifying-links-to-call-a-script | CC-MAIN-2019-47 | refinedweb | 681 | 81.83 |
Introduction
It is not me that solve the challenge during the competition. Just take it as a warm-up for coming CTF.
Analysis
For those who are not familiar with GO binary, please read this post [1] first.
The binary will take a buffer[32] as its input. It only accepts 0-9a-fA-F in buffer. Then the 32-byte buffer will ... | https://dangokyo.me/2018/07/10/crossctf-2018-qual-re-gogogo/ | CC-MAIN-2019-30 | refinedweb | 255 | 66.44 |
Hi there.
i am trying to create an java class dealing with arrays though i am only new to programming.
i have created a class with a char array field though i am not sure how to initialise it in the constructor.
i am also trying to implement a few methods though a couple i am lost on:
•print(). This method prints the s... | https://www.daniweb.com/programming/software-development/threads/142299/help-needed-with-basic-java-methods | CC-MAIN-2017-09 | refinedweb | 248 | 65.93 |
I've noticed how many programmers declare their variables in the constructo or in a Initializer method.
Why is this?
What is the pros of doing so, and not just declare it where you make your variable?
Posted 06 April 2013 - 07:32 PM
Posted 06 April 2013 - 10:29 PM
This post has been edited by Momerath: 06 April 2013 - ... | http://www.dreamincode.net/forums/topic/317839-declaring-variables-in-the-constuctor/page__pid__1832505__st__0 | CC-MAIN-2016-18 | refinedweb | 104 | 71.85 |
Data.
This page documents data modeling with YugaByte DB’s Cassandra compatible YCQL API.
Keyspaces, Tables, Rows and Columns
Keyspaces
Cassandra keyspaces are a collection of tables. They are analogous to SQL namespaces. Typically, each application creates all its tables in one keyspace.. track the order they are decl... | https://docs.yugabyte.com/latest/develop/learn/data-modeling/ | CC-MAIN-2018-51 | refinedweb | 1,027 | 55.44 |
^$LOCK
Synopsis
^$|nspace|LOCK(lock_name,info_type,pid) ^$|nspace|L(lock_name,info_type,pid)
Parameters
Description
The ^$LOCK structured system variable returns information about locks in the current namespace or a specified namespace on the local system. You can use ^$LOCK in two ways:
With info_type as a stand-alone... | https://docs.intersystems.com/irisforhealthlatest/csp/docbook/Doc.View.cls?KEY=RCOS_slock | CC-MAIN-2021-17 | refinedweb | 1,798 | 61.36 |
#include <pthread.h> #include <stdio.h> #include <sys/select.h> #include <unistd.h> void *f (void*foo) { char buf[128]; //pthread_setcanceltype (PTHREAD_CANCEL_ASYNCHRONOUS, NULL); while (1) { read (0, buf, sizeof(buf)); } } int main (void) { pthread_t t; pthread_create (&t, NULL, f, NULL); sleep (1); pthread_cancel (t... | https://www.gnu.org/software/hurd/open_issues/libpthread_cancellation_points.html | CC-MAIN-2015-35 | refinedweb | 755 | 57.23 |
Many author do not include topics about returning array from a functions in their books or articles. It is because, in most of the cases, there is no need of array to be returned from a function. Since, on passing array by its name, the address of its first member is passed and any changes made on its formal arguments ... | http://www.programming-techniques.com/2011/08/returning-two-dimensional-array-from.html | CC-MAIN-2017-17 | refinedweb | 282 | 58.32 |
A z85 encoder and decoder. Implements the full
dart:convert Codec API.
z85 can be used just like all the
dart:convert codecs (e.g. base64):
import 'package:z85/z85.dart'; void main() { final testBytes = [0x86, 0x4F, 0xD2, 0x6F, 0xB5, 0x59, 0xF7, 0x5B]; final testString = 'HelloWorld'; assert(z85.encode(testBytes) == te... | https://pub.dartlang.org/packages/z85 | CC-MAIN-2019-18 | refinedweb | 145 | 53.98 |
XKCD Plots have Landed in Matplotlib!:
%pylab inline
Welcome to pylab, a matplotlib-based Python environment [backend: module://IPython.kernel.zmq.pylab.backend_inline]. For more information, type 'help(pylab)'.
plt.xkcd() # Yes... plt.plot(sin(linspace(0, 10))) plt.title('Whoo Hoo!!!')
<matplotlib.text.Text at 0x2fade... | http://jakevdp.github.io/blog/2013/07/10/XKCD-plots-in-matplotlib/ | CC-MAIN-2018-39 | refinedweb | 478 | 55.4 |
Faster globals access on Sparc (part 1)
By nike on Jun 01, 2007
For unclear to me reason sparcv9 CPU doesn't have PC-relative addressing, what means that PIC variable access could become really problematic. Consider following innocently looking piece of code:
int a; int foo1() { return a; }compile it with
cc -c -xarch=... | https://blogs.oracle.com/nike/entry/faster_globals_access_on_sparc | CC-MAIN-2015-40 | refinedweb | 309 | 62.92 |
The EASE-2 grid is used for a number of NASA datasets including SMAP. It is described in the following paper:
Brodzik, M. J., Billingsley, B., Haran, T., Raup, B., & Savoie, M. H. (2012). EASE-Grid 2.0: Incremental but Significant Improvements for Earth-Gridded Data Sets. ISPRS International Journal of Geo-Information,... | https://spectraldifferences.wordpress.com/tag/ease-2/ | CC-MAIN-2018-26 | refinedweb | 204 | 56.05 |
At 15.28 30/01/2007 -0500, Jamison Adcock wrote:
>Hi Alberto,
> Thanks for getting back to me so quickly. I've figured out how
>to force validation against a specific schema, but I still need to
>figure out how to first look at the XML document and pull out its schema
>reference (i.e., the value of "schemaLocation"). D... | http://mail-archives.apache.org/mod_mbox/xerces-c-users/200701.mbox/%3CNTEXFE02Yx3G5aYY61L00000055@NTEXFE02.bedford.progress.com%3E | CC-MAIN-2015-32 | refinedweb | 580 | 56.59 |
3.0.0.M1
Table of Contents.
Many thanks to our colleagues David Montag, Andreas Kollegger and Rickard Öberg who not only contributed to Spring Data Neo4j but also provided content and feedback for this book. we were off to a good start. allowing users to rate it.. So later.
We started out by doing some prototyping with... | http://docs.spring.io/spring-data/neo4j/docs/3.0.0.M1/reference/htmlsingle/ | CC-MAIN-2014-42 | refinedweb | 1,245 | 50.43 |
I have run into a peculiar behavior with the Flex 3 ComboBox. If you have a combo box that initially defaults to no item selected and a required validator, the behavior is incorrect given one particular set of user actions. See the below code which is a minimal application I came up with the reproduce the problem.
<?xm... | https://forums.adobe.com/thread/888818 | CC-MAIN-2018-30 | refinedweb | 454 | 61.46 |
0
Hey everyone, I'm new to C++ programming and have just started the semester and having a bit of trouble with my second homework assignment. Here's the assignment: Write a program that accepts a 7-9 digit integer andechoes the number with commas between every three
digits from the right. Here's what I have so far:
#in... | https://www.daniweb.com/programming/software-development/threads/86295/c-help-write-a-program-that-accepts-a-7-9-digit-integer-and | CC-MAIN-2017-17 | refinedweb | 152 | 63.53 |
On 12/11/06, Fawad Halim <fawad at fawad.net> wrote: > The syntax is correct, but you're using the wrong namespace. The file at > that URL uses the namespace for wpt. > > -fawad thanks fawad, I hate it when I make a mistake like that, though sometimes finding a stupid mistake is a relief when trying to figure out why s... | https://mail.python.org/pipermail/chicago/2006-December/001508.html | CC-MAIN-2016-30 | refinedweb | 114 | 79.09 |
Fredrik Lundh wrote: > I'd say that for a typical user, > > $ python -m foo.bar arg > > is a marginal improvement over > > $ python -c "import foo.bar" arg This doesn't work. Any code protected by "if __name__ == '__main__':" won't run in this context (since 'foo.bar' is being imported as a module, not run as a script)... | https://mail.python.org/pipermail/python-list/2004-December/289868.html | CC-MAIN-2014-10 | refinedweb | 393 | 76.52 |
Koans have been proposed as an effective way to learn a new programming language. But what exactly are Koans? According to Wikipedia a Koan (where the o has a macron, a straight bar placed above it - which my text editor refuses to produce) is a "case, story, dialogue, question or statement in the history and lore of Z... | http://blog.code-cop.org/2015/12/testing-koans.html | CC-MAIN-2020-45 | refinedweb | 743 | 64.81 |
IRC bot - full featured, yet extensible and customizable
Project description
pmxbot is bot for IRC and Slack written in Python. Originally built for internal use at YouGov, it’s been sanitized and set free upon the world. You can find out more details on the project website.
Commands
pmxbot listens to commands prefixed... | https://pypi.org/project/pmxbot/1121.1/ | CC-MAIN-2018-26 | refinedweb | 662 | 65.22 |
Created on 2009-01-10.15:43:16 by billiejoex, last changed 2009-02-04.15:34:15 by amak.
def add_channel(self, map=None):
#self.log_info('adding channel %s' % self)
if map is None:
if hasattr(self, '_map'):
map = self._map
del self._map
else:
map = socket_map
if not hasattr(self, '_fileno'):
self._fileno = self.socket.f... | http://bugs.jython.org/issue1226 | CC-MAIN-2018-13 | refinedweb | 139 | 71.82 |
.
Polymer PhysicsThe eld of polymer science has advanced and expanded considerably in recent years,encompassing broader ranges of materials and applications. In this book, the authorunies the subject matter, pulling together research to provide an updated and systematic presentation of polymer association and thermorev... | https://de.scribd.com/document/264320342/Polymer-physics | CC-MAIN-2019-51 | refinedweb | 82,418 | 58.18 |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi--just wanted to call everyone's attention to this link if you're using Tkinter: This describes how to call the Tk Tile extension from Python. The relevance of Tile is that it offers improved theming support for Tk widgets, and it makes a dramatic difference with Aqua. Wi... | https://mail.python.org/pipermail/pythonmac-sig/2004-November/012173.html | CC-MAIN-2016-50 | refinedweb | 366 | 65.83 |
Created on 2008-03-18 07:28 by ocean-city, last changed 2008-10-09 23:52 by amaury.forgeotdarc. This issue is now closed.
# This issue inherits from issue2301.
If there is "# coding: ????" is in source code and
coding is neigher utf-8 nor iso-8859-1, line number (tok->lineno)
becomes wrong.
Please look into Parser/toke... | http://bugs.python.org/issue2384 | CC-MAIN-2016-26 | refinedweb | 1,309 | 68.16 |
Using Inner Classes
Problem
You need to write a private class, or a class to be used in one other class at the most.
Solution
Use a non-public class or an inner class.
Discussion
A non-public class can be written as part of another class’s source file, but is not included inside that class. An inner class is Java termi... | https://www.oreilly.com/library/view/java-cookbook/0596001703/ch08s07.html | CC-MAIN-2020-10 | refinedweb | 236 | 56.96 |
Archive for May 5th, 2015
HP 7475A Plotter: Hacking Chiplotle For Hardware Handshaking
Posted by Ed in Machine Shop, Software on 2015-05-05
Chiplotle seems like a good way to drive the HP 7475A plotter, but some preliminary tinkering showed that the plotter pen paused quite regularly while drawing. The plotter wakes up... | https://softsolder.com/2015/05/05/ | CC-MAIN-2020-05 | refinedweb | 581 | 53.61 |
The 5 Users You'd Meet in Hell
CmdrTaco posted more than 6 years ago | from the what-no-robot-devil dept.. (5, Funny)
RandoX (828285) | more than 6 years ago | (#21671515)
Step 1: Click the third icon from the top in the second column [...]
Etc....
Re:The know-nothing. (5, Funny)
dintech (998802) | more than 6 years ag... | http://beta.slashdot.org/story/94427 | CC-MAIN-2014-42 | refinedweb | 4,189 | 68.3 |
>>.: [generic_pcl] followed by some options of the form <option>=<setting>, e.g.: pixels_across_page=960 Most options are preceded by a comment (indicated by a semicolon ’;’) briefly explaining the option. Each section can contain a ’like’ option. If present this contains the name of another section (possibly in anothe... | http://manpages.ubuntu.com/manpages/intrepid/man5/print.ini.5.html | CC-MAIN-2015-32 | refinedweb | 881 | 50.26 |
Bigtop::TentMaker - A Gantry App to Help You Code Bigtop Files
Start the tentmaker:
tentmaker [ --port=8192 ] [ file ]
Point your browser to the address it prints. Consult the POD for the tentmaker script for other command line options.
Bigtop is a language for describing web applications. The Bigtop language is fairly... | http://search.cpan.org/~philcrow/Bigtop/lib/Bigtop/TentMaker.pm | CC-MAIN-2016-40 | refinedweb | 2,229 | 67.86 |
Originally posted by nik arora: public class X { private int a; private int b; public void setA(int i){ this.a = i; } public int getA(){ return this.a; } public void setB(int i){ this.b = i; } public int getB(int b){ return b; } public boolean equals(Object obj) { return ( obj instanceof X && this.a == ((X) obj).a ); }... | http://www.coderanch.com/t/262711/java-programmer-SCJP/certification/solve-hashcode | CC-MAIN-2015-18 | refinedweb | 179 | 69.38 |
Reflection: run-time class information
Posted on March 1st, 2001
class information
If you don’t know the precise type of an object, RTTI will tell you. However, there’s a limitation: the type must be known at compile time in order for you to be able to detect it using RTTI and do something useful with the information. ... | http://www.codeguru.com/java/tij/tij0122.shtml | CC-MAIN-2015-18 | refinedweb | 1,418 | 58.38 |
Push notification configuration problem
- Friday, June 04, 2010 3:18 PM
I have the problem to make to work of the examples of push notification. I have not found an example complete working. The problem task depends on the configuration on the PC of the web service that would have to send the messages. Someone can say ... | http://social.msdn.microsoft.com/Forums/en-US/windowsphone7series/thread/8ec2d7b2-5153-4b54-ba52-0aa0980d096e/#c6af0970-34f4-456d-bb79-9ff70c04ce68 | crawl-003 | refinedweb | 1,704 | 65.73 |
Rolling DataFrame Window
I wanted to train some sort of sequence model on some mental health data I’d been capturing.
The data was stored as a flat
.csv with a bunch of columns (omitted) representing various things I track per-entry, a couple columns (
date,
timestamp_id) to determine when the entry was, and finally, t... | https://napsterinblue.github.io/notes/python/pandas/rolling_df_window/ | CC-MAIN-2021-04 | refinedweb | 363 | 64.71 |
In this tutorial, you’ll learn about Java if statement and how to use it in Java Programs.
Java if statement can also be called as control flow statements along with if else, if else ladder and switch statement these are used to control the flow of program based on given conditions, so let’s understand Java if statemen... | https://coderforevers.com/java/java-if-statement/ | CC-MAIN-2020-16 | refinedweb | 339 | 58.32 |
Let us write a function which retrieves user information from GitHub API.
import requests def get_github_user_info(username): url = f'{username}' response = requests.get(url) if response.ok: return response.json() else: return None
To test this function, we can write a test case to call the external API and check if it... | https://pythondigest.ru/view/34449/ | CC-MAIN-2018-43 | refinedweb | 316 | 56.76 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.