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 |
|---|---|---|---|---|---|
, raising integers to high powers
[2]
Luckily, we can reuse the efficient algorithms developed in the previous article, with very few modifications to perform modular exponentiation as well. This is possible because of some convenient properties of modular arithmetic.
Modular multiplication
Given two numbers, a and b, ... | https://eli.thegreenplace.net/2009/03/28/efficient-modular-exponentiation-algorithms | CC-MAIN-2019-22 | refinedweb | 1,091 | 60.75 |
So far I have a very basic application that can read simple arguments such as -t or -s. What I want to do is when the program picks up on the argument it will run a function. The two things I am not sure of though is how to read anything after the first argument and then what to store that second argument as to pass it... | http://cboard.cprogramming.com/cplusplus-programming/107710-reading-terminal-arguments.html | CC-MAIN-2015-32 | refinedweb | 330 | 76.05 |
FULL PRODUCT VERSION : java version "1.7.0" Java(TM) SE Runtime Environment (build 1.7.0-b147) Java HotSpot(TM) 64-Bit Server VM (build 21.0-b17, mixed mode) ADDITIONAL OS VERSION INFORMATION : Microsoft Windows [Version 6.1.7601] A DESCRIPTION OF THE PROBLEM : When an JComboBox is showing its dropdown list in an Apple... | https://bugs.java.com/bugdatabase/view_bug.do?bug_id=7094099 | CC-MAIN-2020-24 | refinedweb | 276 | 68.87 |
Could be a timing thing. I have a script that does basically the same thing (but inventories running services that are using my FGDB so only those are stopped/started) and I've had to put in a bunch of "sleep" times in to let the file system, etc catch up. I have to play with the time needed, but in most cases 5-10 se... | https://community.esri.com/t5/arcgis-enterprise-questions/10-4-1-token-response/td-p/10340 | CC-MAIN-2022-21 | refinedweb | 561 | 70.53 |
** Changed in: zorba Status: New => In Progress -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba.
Advertising
Title: file:read-text-lines() blocking Status in Zorba - The XQuery Processor: In Progress Bug description: I wrote the following query: import m... | https://www.mail-archive.com/zorba-coders@lists.launchpad.net/msg07495.html | CC-MAIN-2016-44 | refinedweb | 114 | 57.16 |
One you want a more useful toString() implementation. In the end you might have 100 lines of code that could be rewritten with 10 lines of Scala or Groovy code. Java IDEs like Eclipse or IntelliJ try to reduce this problem by providing various types of code generation functionality. However, even if you do not have to ... | https://www.mscharhag.com/java/reduce-boilerplate-code-in-java-with-project-lombok | CC-MAIN-2019-18 | refinedweb | 997 | 55.64 |
/* $OpenBSD: ftree.c,v 1.28 2008/05/06 06:54:28 henning Exp $ */ /* $NetBSD: ftree.c,v 1.4 1995/03/21 09:07:21 const char sccsid[] = "@(#)ftree.c 8.2 (Berkeley) 4/18/94"; #else static const char rcsid[] = "$OpenBSD: ftree.c,v 1.28 2008/05/06 06:54:28 henning Exp $"; #endif #endif /* not lint */ #include <sys/types.h> #... | http://opensource.apple.com//source/file_cmds/file_cmds-220.7/pax/ftree.c | CC-MAIN-2016-40 | refinedweb | 2,085 | 67.59 |
Windows Communication Foundation From the Inside
Since I did the survey question on extensibility, I thought I'd do this followup on configuration. The two are often talked about together but have very different needs.
Question:
What's the one thing you would change about how configuration is done for WCF applications?... | http://blogs.msdn.com/drnick/archive/2008/11/12/1-question-survey-on-configuration.aspx | crawl-002 | refinedweb | 1,071 | 53.71 |
In this post, we’re going to explain Kubernetes, also known as K8s. In this introduction, we’ll cover:
- What Kubernetes is
- What it can’t do
- The problems it solves
- K8s architectural components
- Installation
- Alternative options
This article assumes you are new to Kubernetes and want to get a solid understanding... | https://www.bmc.com/blogs/what-is-kubernetes | CC-MAIN-2021-49 | refinedweb | 2,331 | 55.34 |
Truncating Long File Names and Displaying an Ellipses
This function truncates a file path to fit within a given pixel width by replacing path components with ellipses.
BOOL PathCompactPath( HDC hDC, LPTSTR lpszPath, UINT dx );
- Returns TRUE if successful, or FALSE otherwise.
- hDC
- Handle to the device context used f... | http://www.codeguru.com/cpp/misc/misc/fileanddirectorynaming/article.php/c339/Truncating-Long-File-Names-and-Displaying-an-Ellipses.htm | CC-MAIN-2015-32 | refinedweb | 374 | 68.06 |
Today's lab will focus on open data, using main(), and using Python from the command line.
Software tools needed: web browser and Python IDLE programming environment with the pandas and matplotlib packages installed.
See Lab 1 for details on using Python, Gradescope, and Blackboard.
Much of the data collected by city a... | https://stjohn.github.io/teaching/csci127/s19/lab7.html | CC-MAIN-2021-43 | refinedweb | 800 | 62.88 |
The C (and C++) preprocessor is a powerful but dangerous tool. For sure, it helps with a number of problems, from conditional code inclusion to explicit code generation, but it has a few problems. In fact, more than a few. It is evil.
The C preprocessor (hereafter CPP) should be used with extreme care. For one thing, t... | https://hbfs.wordpress.com/2009/11/17/defines-are-evil/ | CC-MAIN-2017-22 | refinedweb | 1,836 | 63.09 |
Bit twiddling: Simple O(1) membership test
Disclaimer
Bit twiddling is fun. Plus, it has several advantages:
It gives you a greater understanding of the nuances of the (C) language. As we all know, learning C is important. If you're a computer engineer and have weak C-fu, then it is time, grasshopper.
Bit twiddling is ... | http://blog.cdleary.com/2009/04/bit-twiddling-simple-o1-membership-test/ | CC-MAIN-2017-30 | refinedweb | 971 | 66.78 |
Ticket #469 (closed Bugs: fixed)
multitoken broken
Description
Due to the changes in the parser, multitoken is broken in program_options [boost 1.33]. Looking at the code it is relatively clear why - the parser is too "greedy" and eats up all the options following the multitoken one without checking when to stop (for e... | https://svn.boost.org/trac/boost/ticket/469 | CC-MAIN-2017-09 | refinedweb | 652 | 54.32 |
import "github.com/elves/elvish/pkg/cli/apptest"
Package apptest provides utilities for testing cli.App.
Initial size of fake TTY.
var Styles = ui.RuneStylesheet{ '_': ui.Underlined, '*': ui.Stylings(ui.Bold, ui.FgWhite, ui.BgMagenta), '+': ui.Inverse, '/': ui.FgBlue, '#': ui.Stylings(ui.Inverse, ui.FgBlue), '!': ui.Fg... | https://godoc.org/github.com/elves/elvish/pkg/cli/apptest | CC-MAIN-2020-16 | refinedweb | 507 | 61.93 |
Code covered by the BSD License
4.96
by
James Tursa
30 Nov 2009
(Updated
23 Feb 2011)
Beats MATLAB 300% - 400% in some cases ... really!
|
Watch this File
MTIMESX is a fast general purpose matrix and scalar multiply routine that has the following features:
- Supports multi-dimensional (nD, n>2) arrays directly
- Suppor... | http://www.mathworks.com/matlabcentral/fileexchange/25977-mtimesx-fast-matrix-multiply-with-multi-dimensional-support | CC-MAIN-2014-42 | refinedweb | 10,478 | 64.81 |
Opened 10 years ago
Closed 8 years ago
#10445 closed enhancement (fixed)
A Polyhedron should have a "is_simplicial" method.
Description
Presently, one can not ask if a polytope is simplicial (cf. for the definition).
I would like to have something like:
sage: p = polytopes.n_cube(3) sage: p.is_simplicial() <-----------... | https://trac.sagemath.org/ticket/10445 | CC-MAIN-2021-21 | refinedweb | 447 | 64.3 |
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8b2) Gecko/20050501 Firefox/1.0+
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8b2) Gecko/20050501 Firefox/1.0+
Mozilla will not build on Mac OS X "Tiger" 10.4, even using the "legacy" GCC 3.3
compiler bundled with t... | https://bugzilla.mozilla.org/show_bug.cgi?id=292530 | CC-MAIN-2016-22 | refinedweb | 14,859 | 59.19 |
Suppose we have an array nums and a value k, we have to check whether the elements in nums can be made 0 by performing the following operation exactly k number of times or not.
So, if the input is like nums [2, 2, 3, 5] k = 3, then the output will be True because at first delete 2 from array, so the array will be [0, 0... | https://www.tutorialspoint.com/check-if-the-given-array-can-be-reduced-to-zeros-with-the-given-operation-performed-given-number-of-times-in-python | CC-MAIN-2021-25 | refinedweb | 139 | 51.48 |
One.
Both these tools can do more complicated stuff than that described in this article, but my aim is to motivate people who may not have tried them out to give them a go and see how much work they can save you for even simple tasks.
I've assumed that you know the basics of designing a database--why
you have several t... | http://www.perl.com/pub/2003/07/15/nocode.html | CC-MAIN-2015-48 | refinedweb | 2,171 | 54.56 |
Agenda
See also: IRC log
<trackbot> Date: 24 September 2015
Wo hoo! Good to have you back zakim bot :-)
<Makx> so I understand the problem was that the start time given on the agenda (12:00 Berlin) was in error. I see that 8:00 Sao Paulo is 13:00 CEST.
<Makx> Some of us were here an hour ago.
:-( A thousand apologies M... | http://www.w3.org/2015/09/24-dwbp-minutes.html | CC-MAIN-2018-39 | refinedweb | 13,860 | 58.82 |
Yes, this is a homework problem, but I have already submitted it for a grade, so please don't think I am trying to get you to complete it for me. So, now I am really just trying to learn what I should have done so that I will be able to fix this problem in the future, as I have LabView, Microcontrollers, and VeriLog co... | http://cboard.cprogramming.com/c-programming/147253-do-while-loop-problem-printable-thread.html | CC-MAIN-2015-27 | refinedweb | 646 | 68.91 |
#include <hallo.h> * Hunter Peress [Mon, Dec 30 2002, 06:18:03AM]: > > Has anyone got some real-world evidence that this makes a difference? > > I'm thinking about things like how many pages/second an Apache server + ... > Next, there has been talk about this in the debian community before. I > googled, and here are so... | https://lists.debian.org/debian-devel/2002/12/msg01750.html | CC-MAIN-2019-22 | refinedweb | 364 | 73.68 |
Lectures on GUI and Swing, May 2011
Chris Johnson, Alexei Khorev
Nowadays, all computer programmes which are intended for interaction with the human user are created with Graphical User Interface (while "In the Beginning was Command Line", by Neal Stephenson). According to Wiki: "allows for interaction with a computer ... | http://cs.anu.edu.au/student/comp2100/lectures/gui/gui.html | crawl-003 | refinedweb | 6,459 | 55.95 |
Recent:
Archives:
This month, I will explore SSL as implemented by the JSSE (Java Secure Socket Extension), and show you how to build secure network applications in Java using SSL and JSSE.
Let's begin with a simple demonstration. JSSE provides an SSL toolkit for Java applications. In addition to the necessary classes ... | http://www.javaworld.com/javaworld/jw-05-2001/jw-0511-howto.html | crawl-002 | refinedweb | 427 | 55.54 |
The Q3ComboTableItem class provides a means of using comboboxes in Q3Tables. More...
#include <Q3ComboTableItem>TableItem.
The Q3ComboTableItem class provides a means of using comboboxes in Q3Tables.
A Q3ComboTableItem is a table item which looks and behaves like a combobox. The advantage of using Q3ComboTableItems rat... | http://doc.qt.nokia.com/4.6-snapshot/q3combotableitem.html#count | crawl-003 | refinedweb | 447 | 52.97 |
MySQL Stored Procedure Programming
samzenpus posted more than 7 years ago | from the a-little-lite-afternoon-reading dept.
(3, Insightful)
ShieldW0lf (601553) | more than 7 years ago | (#18786829) (2, Insightful)
Andy Tai (1884) | more than 7 years ago | (#18786889)
Not really FUD (3, Interesting)
Anonymous Coward | mo... | http://beta.slashdot.org/story/83483 | CC-MAIN-2014-42 | refinedweb | 4,079 | 69.52 |
Two years ago I came up with an idea (Russian only) of making a generic library for creating testcases. Months have passed, thoughts circulated in my mind over and over, and finally I sculpted something in code. Far many things are yet not implemented, but I already frequently use ones which are.
Here it is:. You can d... | http://codeforces.com/blog/ifsmirnov | CC-MAIN-2017-51 | refinedweb | 349 | 67.04 |
28, 2007 1:06 pm Jesse Barnes wrote:
> On Friday, September 28, 2007 12:51 pm Ian Romanick wrote:
> > > No, I'm not sure what should happen in this case. Doing a vblank
> > > sync'd buffer swap or vblank wait on an offscreen drawable
> > > doesn't make much sense does it? In what cases might those calls
> > > occur?
>... | https://sourceforge.net/p/dri/mailman/message/17108683/ | CC-MAIN-2017-04 | refinedweb | 721 | 72.97 |
The following is a guest post by David Clark. I think David's new Sass library "Scut" is pretty interesting. It's like a design utility library, which is distinct from a design pattern library in that it enforces no particular structure or particular visual design. I've always found this kind of thing fascinating, larg... | https://css-tricks.com/introducing-scut-new-sass-utility-library/ | CC-MAIN-2016-07 | refinedweb | 5,395 | 60.24 |
I first got interested in build tools implemented as embedded DSLS (Domain Specific Languages) by Martin Fowler's article on Rake [[1]]. Build languages like make or nant are classic DSLs, although the term 'little language' [[2]] has been around a lot longer and in fact is an important part of the Unix development phi... | http://lua-users.org/wiki/LuaBuildBou | crawl-001 | refinedweb | 1,377 | 65.62 |
Hi All,
This is my question:
Write a function that counts the number of times it is called. Name the function count_it(). Do not pass it anything. In the body of count_it(), print the following message:
The number of times this function has been called is: ###
where ### is the number. (Hint: Because the variable must b... | http://cboard.cprogramming.com/cplusplus-programming/66848-variable-scope.html | CC-MAIN-2014-35 | refinedweb | 141 | 79.19 |
#include <db.h> int DB->remove(DB *db, const char *file, const char *database, u_int32_t flags);
The
DB->remove()->remove() method should not be called if the remove is
intended to be transactionally safe; the
DB_ENV->dbremove() method
should be used instead.
The
DB->remove() method may not be called after calling the
... | http://docs.oracle.com/cd/E17275_01/html/api_reference/C/dbremove.html | CC-MAIN-2015-18 | refinedweb | 208 | 58.62 |
Good evening,
Is it possible to use an onClick method as a prop in a mapped component? Here is the code:
const newArr = [ { name: 'John', age: 25 }, { name: 'Sam', age: 23 } ] const {useState} = React const ListOfPeople = () => { const [display, setDisplay] = useState('') return ( <div> <h1>{display}</h1> {newArr.map(p... | https://forum.freecodecamp.org/t/onclick-on-mapped-components/491445 | CC-MAIN-2022-05 | refinedweb | 116 | 62.88 |
Hi,
My problem is that any program that I create involving entering of data by the user,in other words,programs having command line, std::cin>> turn themselves off and the dos window shuts down before the printing of the final calculated answer.
Note that this is not the case where the window pops for a split second,I ... | http://cboard.cprogramming.com/cplusplus-programming/37306-disappearing-act.html | CC-MAIN-2015-35 | refinedweb | 155 | 71.85 |
I figured it’d be neat to show you how my plasmoid works so you could use it when developing your own plasmoids. Here’s the main.py of my data engine. The indentation is off, in case you try to copy and past this in.
Here are the imports:
from PyQt4.QtCore import *
from PyKDE4.kdecore import *
from PyKDE4 import plasma... | http://www.ericsbinaryworld.com/2012/02/15/developing-my-first-plasmoid-the-data-engine-in-python/ | CC-MAIN-2020-05 | refinedweb | 760 | 58.58 |
In this tutorial we’ll discuss and implement iOS UI Navigation Controller. It’s another common UI element that’s used as the base for many iOS apps.
Table of Contents
A Navigation Controller also holds a UIView class instance. The primary use of a navigation controller is to create and hold a hierarchy of view controll... | https://www.journaldev.com/10602/ios-navigation-controller-and-segues | CC-MAIN-2021-25 | refinedweb | 1,123 | 57.87 |
- 23 Mar, 2018 17 commits
Update Prettier Print Width to 100 See merge request gitlab-org/gitlab-ce!17953
Resolve "Limit number of failed logins using LDAP for authentication" Closes #43525 See merge request gitlab-org/gitlab-ce!17886
Request Chinese Traditional proofreader permissions. See merge request gitlab-org/git... | https://gitlab.com/gitlab-org/gitlab-foss/commits/5b6931b8e70dbd1c67233cb5f64a553e3ce7e465 | CC-MAIN-2019-43 | refinedweb | 634 | 57.98 |
Mail::Box-Overview - objects used by Mail::Box
The MailBox package is a suite of classes for accessing and managing email folders in a folder-independent manner.
This package is an alternative to the
Mail::Folder and
MIME::* packages.
It abstracts the details of messages,
message storage,
and message threads,
while pro... | http://search.cpan.org/~markov/Mail-Box/lib/Mail/Box-Overview.pod | CC-MAIN-2015-18 | refinedweb | 1,680 | 56.86 |
cannot ping any neutron router interface
I am trying to install openstack using the instructions given in this link...
I am not able to ping the subnet from my controller node. I have a three node setup, all of which are virtual machines with single nics. I am running these VMs on VMware workstation. On my controller n... | https://ask.openstack.org/en/question/61418/cannot-ping-any-neutron-router-interface/ | CC-MAIN-2021-04 | refinedweb | 177 | 84.37 |
Subject: [boost] [function] new implementation
From: Domagoj Saric (dsaritz_at_[hidden])
Date: 2010-10-30 08:53:42
Hi,
<...those that followed the latest function related discussions can skip the
first paragraph...>
For about a year and half now (or even more but that's about how long I've
been involved in the matter) ... | https://lists.boost.org/Archives/boost/2010/10/172593.php | CC-MAIN-2020-29 | refinedweb | 1,017 | 50.57 |
csKeyboardDriver Class Reference
Generic Keyboard Driver. More...
#include <csutil/csinput.h>
Detailed Description
Generic Keyboard Driver.
Keyboard driver should generate events and put them into an event queue. Also it tracks the current state of all keys.
Definition at line 99 of file csinput.h.
Constructor & Destru... | http://www.crystalspace3d.org/docs/online/api-1.4/classcsKeyboardDriver.html | CC-MAIN-2017-17 | refinedweb | 202 | 62.24 |
Loops in Python – comparison and performance
Python is one of the most popular programming languages today. It’s an interpreted and high-level language with elegant and readable syntax. However, Python is generally significantly slower than Java, C#, and especially C, C++, or Fortran. Sometimes performance issues and b... | https://www.blog.duomly.com/loops-in-python-comparison-and-performance/ | CC-MAIN-2020-05 | refinedweb | 1,692 | 73.88 |
calender working in struts - Struts
calender working in struts when i execute the following code ,that is working properly
if i convert to struts html tags that code is not working
please help me to rectify the problem
code not working properly
code not working properly protected void doPost(HttpServletRequest...);
}
}... | http://www.roseindia.net/tutorialhelp/comment/7043 | CC-MAIN-2015-14 | refinedweb | 1,994 | 67.45 |
I am new to unity and I have no idea how to add a force to an object at a position that is not (0,0,0) Relative to the object. When i started adding forces i used the function Ridgedbody.AddForce this just added a force that was relative to the game maps center location. I then used Ridgedbody.AddRelativeForce this gav... | https://answers.unity.com/questions/601235/how-to-add-forces-and-torques-relative-to-an-objec.html | CC-MAIN-2022-27 | refinedweb | 550 | 57.98 |
build tool for node.js projects
build tool for node.js projects.
The primary motivation for this project is to watch a dependency graph of file timestamps, and react to updates automatically. The usecase is editing the code of a long-running application, such as a server, and having the code automatically rebuilt, and ... | https://www.npmjs.com/package/boon | CC-MAIN-2015-40 | refinedweb | 197 | 66.84 |
CGTalk
>
Software Specific Forums
>
Autodesk Maya
>
Maya Programming
> need code review for a code snippet
PDA
View Full Version :
need code review for a code snippet
DEVILSAN
11-22-2012, 08:34 AM
Today, after finishing chapter 7 of Maya Python for Games & Film, book I started practicing on the code, since I also have ... | http://forums.cgsociety.org/archive/index.php/t-1081245.html | CC-MAIN-2013-20 | refinedweb | 247 | 61.6 |
Index
Links to LINQ
This.
If you would like to receive an email when updates are made to this post, please register here
RSS
You've been kicked (a good thing) - Trackback from DotNetKicks.com
What's the usability scope of the "dynamic" keyword? If it's only inside method/property members, that will be quite limiting on... | http://blogs.msdn.com/charlie/archive/2008/01/25/future-focus.aspx | crawl-002 | refinedweb | 19,049 | 62.48 |
Data Visualization is an accessible way to represent the patterns, outliers, anomalies, etc. that are available in data by plotting graphs and charts. Data Visualization is a powerful tool because as soon as the human eyes see a chart or plot they try to find out a pattern in it because we get attracted to colours and ... | https://analyticsindiamag.com/a-beginners-guide-to-seaborn-pythons-visualization-library/ | CC-MAIN-2021-31 | refinedweb | 926 | 55.34 |
Red Hat Bugzilla – Bug 693608
Review Request: icinga - Open Source host, service and network monitoring program
Last modified: 2014-01-20 01:33:12 EST
Spec URL:
SRPM URL:
SOURCE URL:
Description: Icinga - System Monitoring Application
First packaged created/released. Thank you for any assistance.
rpmlint is throwing 72... | https://bugzilla.redhat.com/show_bug.cgi?id=693608 | CC-MAIN-2017-30 | refinedweb | 5,566 | 64.1 |
VAT
All prices are VAT free.
Please be aware your country might charge you custom fees,
import taxes or VAT
when importing parts from the UK, please look into this before purchasing any items.
If you want to stay under
the limit, for example EU has a arrangement for duties/fees to be taken by UK sellers for under €150/... | https://www.carbonfbr.com/faq | CC-MAIN-2021-49 | refinedweb | 224 | 62.38 |
Closed Bug 1341006 Opened 3 years ago Closed 3 years ago
High atoms-mark-bitmaps memory footprint
Categories
(Core :: JavaScript: GC, defect)
Tracking
()
mozilla54
People
(Reporter: bugzilla.mozilla.org, Assigned: bhackett1024)
References
Details
(Keywords: memory-leak, regression, Whiteboard: [MemShrink:P1])
Attachmen... | https://bugzilla.mozilla.org/show_bug.cgi?id=1341006 | CC-MAIN-2020-24 | refinedweb | 1,038 | 72.53 |
Advertise Jobs
Perl
module
-
Part of CPAN
distribution
Inline-CPP 0.23.
Inline:;
}
END_OF_CPP_CODE
The Inline::CPP module allows you to put C++ source code directly
"inline" in a Perl script or module. You code classes or functions in
C++, and you can use them as if they were written in Perl.
Inline::CPP
Inline::CPP ju... | http://aspn.activestate.com/ASPN/CodeDoc/Inline-CPP/CPP.html | crawl-002 | refinedweb | 584 | 68.97 |
-
DESCRIPTION
The examples in this FAQ assume a standard POSIX shell, like
bash or
dash,
and a user, A U Thor, who has the account
author on the hosting provider
git.example.org.
Configuration
- What should I put in
user.name?
You should put your personal name, generally a form using a given name and family name. For ... | https://git-scm.com/docs/gitfaq/2.34.0 | CC-MAIN-2022-27 | refinedweb | 2,097 | 62.07 |
Numpy tile allows you to repeat the whole NumPy array in one dimension or two dimensions. There is also another function that allows you to repeat elements of the array. It is numpy.repeat(). But in case you want to repeat the whole array then the NumPy tile() method is used. In this entire tutorial, you will know how ... | https://www.datasciencelearner.com/numpy-tile-method-implementation-python/ | CC-MAIN-2021-39 | refinedweb | 461 | 75.4 |
Dane Hillard
Writing Publishing Python Packages 🐍📦 ⬆️ Author of Practices of the Python Pro 🐍📘 Principal Engineer at ITHAKA
Education
University of Michigan
Work
Lead web application developer at ITHAKA
I'm writing Publishing Python Packages
Practices of the Python Pro out now!
Practices of the Python Pro is on Pro... | https://practicaldev-herokuapp-com.global.ssl.fastly.net/easyaspython | CC-MAIN-2022-33 | refinedweb | 256 | 61.77 |
Retail software development kit (SDK)
Important
This topic applies to Dynamics 365 for Retail and Dynamics 365 for Finance and Operations.
This topic provides general information about the Retail SDK. The Retail SDK includes code, code samples, templates, and tools that you can use to customize retail functionality.
Ov... | https://docs.microsoft.com/kk-kz/dynamics365/unified-operations/retail/dev-itpro/retail-sdk/retail-sdk-overview | CC-MAIN-2019-26 | refinedweb | 2,561 | 56.15 |
I'm doing some tutorials online...and I'm stuck at an exercise:Define a function
L#L#L#
L
#
S
False
S
L#L#L#
L
def postalValidate(S):
while " " in S:
S.remove(" ")
for i in range(1,6,2):
S.isdigit(S[i])
for j in range(0,5,2):
S.upper(S[j]
S.isalpha(S[j])
return True
This is clearly a job for regular expressions, althou... | https://codedump.io/share/TRGRrW8ADPu1/1/validate-postal-code | CC-MAIN-2019-09 | refinedweb | 357 | 71.65 |
Web Scraping Framework
Project description
- And much, much more
- Grab has written by the guy who is doing site scraping since 2005
Example of Grab usage:
from grab import Grab g = Grab() g.go('') g.set_input('login', 'lorien') g.set_input('password', '***') g.submit() for elem in g.doc.select('//ul[@id="repo_listing"... | https://pypi.org/project/grab/0.5.3/ | CC-MAIN-2018-51 | refinedweb | 128 | 53 |
Due to the policy change imposed by Google to protect users from harmful code, there were a number of change required to the extension.
I also took advantage of the changes to upgrade to a new jQuery file and refactor some other code.
This:
{
/"
]
}
(Manifest Version 1) The 'update_url' element defined the XML file use... | http://www.codeproject.com/Articles/98631/Google-Chrome-Extension-CodeProject-Reputation-Wat?msg=3822436 | CC-MAIN-2015-48 | refinedweb | 198 | 64.41 |
My data is a csv that looks like:
1 abc
1 def
2 ghi
3 jkl
3 mno
3 pqr
abc; def
jkl; mno
mno; pqr
First, your input csv file is not really a csv. It's more a file that can be parsed using
str.split. Well.
Now, I'll get the tokens and use
itertools.groupby using first column as key to group items with same first column.
... | https://codedump.io/share/IV26FUMg2ahF/1/transforming-a-csv-to-a-list-of-co-occurrence-pairs-in-python | CC-MAIN-2017-30 | refinedweb | 182 | 84.37 |
Written By Leo Yorke,
Edited By Lewis Fogden
Thu 07 December 2017, in category Data science
In the first part of this series of blog posts we created a simple webscraper in Python that would go to Yahoo Finance and fetch a table of currency exchange rates. There are a couple of drawbacks using our previous approach. Fi... | http://blog.keyrus.co.uk/a_simple_approach_to_webscraping_part_2.html | CC-MAIN-2022-05 | refinedweb | 1,583 | 60.75 |
On 09/26/2011 11:35 PM, Laine Stump wrote:
On 09/26/2011 04:31 PM, Eric Blake wrote:Commit ecd8725c dropped attempts to probe the cgconfig service on new enough Fedora where systemd took over that aspect of the system, but mistakenly used F14 instead of F15 as the cutoff point. * libvirt.spec.in (with_cgconfig): Check ... | https://www.redhat.com/archives/libvir-list/2011-September/msg01073.html | CC-MAIN-2015-22 | refinedweb | 204 | 57.47 |
Shifting data for creating lag features in time series modeling
I have a pandas dataframe in the below format. I am trying to convert the time series problem into a regression problem, hence in the process of creating lag features. But the "Price" is dependent not only on month and year, but also on columns make, AA, V... | https://quabr.com/64095457/shifting-data-for-creating-lag-features-in-time-series-modeling | CC-MAIN-2020-45 | refinedweb | 449 | 84.88 |
January 2018 (version 1.10.0-beta)
1.10.0 Update
Happy new year! 🎊 🎉
This year we are going to do our best. Keep a watchful eye on us.
We've released a 1.10.0 DeepScan service.
Keep reading for the highlights for this release.
Release Summary
This version includes a number of updates that we hope you will enjoy. The ... | https://deepscan.io/docs/updates/2018-01 | CC-MAIN-2020-50 | refinedweb | 765 | 51.44 |
How do I make this so once the user inputs a number and presses enter(or something) it runs the
if
else statements?
public static void main(String[] args) {
System.out.println("please guess the number between 1 and 100.");
boolean run = true;
int y = 0;
Random ran = new Random();
int x = ran.nextInt(99);
while (run == ... | http://www.dlxedu.com/askdetail/3/79f8466f995f9f78221860e0d3353039.html | CC-MAIN-2019-13 | refinedweb | 392 | 51.24 |
Dec 10, 2007 10:37 PM|NigelLinnett|LINK
First of all congrats on getting this released. Must have been a lot of work, and panicked work over the weekend I guess.
Now for the problem. I have the VS2008 Pro RTM trial installed on Vista Ultimate. The only add-on installed is Resharper.
I created a new MVC Web Application ... | http://forums.asp.net/p/1192523/2051697.aspx?Problem+with+MVCToolkit | CC-MAIN-2014-42 | refinedweb | 650 | 60.21 |
The latest update for Windows 11 is a big one — and we’re not just talking about the size of the download. The update in question is KB5010414, and it’s something we have already touched on a couple of times.
Much of the focus has been, entirely understandably, on the new features the update brings; KB5010414 is about ... | https://websetnet.net/kb5010414-update-for-windows-11-fixes-loads-of-problems-as-well-as-adding-new-features/ | CC-MAIN-2022-33 | refinedweb | 966 | 51.89 |
Upgrading to prompt_toolkit 2.0¶
Prompt_toolkit 2.0 is not compatible with 1.0, however you probably want to upgrade your applications. This page explains why we have these differences and how to upgrade.
If you experience some difficulties or you feel that some information is missing from this page, don’t hesitate to ... | https://python-prompt-toolkit.readthedocs.io/en/stable/pages/upgrading/2.0.html | CC-MAIN-2022-33 | refinedweb | 1,319 | 57.87 |
Hello Sorry if this is confusing I'm really new to python and have been stuck trying to figure this out for hours now.
I'm trying to write a function for a text based battlship game. I need the function to do this is_occupied:
(int, int, int, int, list of list of strs) -> bool
The first to int's are suppose to refer to... | https://www.daniweb.com/programming/software-development/threads/415993/i-m-new-to-python-trying-to-write-battle-ship-function-i-m-stuck | CC-MAIN-2022-21 | refinedweb | 221 | 58.86 |
Choosing between numerous options for styling your app could be a project in and of itself. 🤯
I've tried several styling solutions and approaches on frontend like:
- Vanilla CSS
- CSS extensions like Sass or Less
- CSS modules (and Sass)
Projects which used them were written either with Vanilla JS or with some modern ... | https://practicaldev-herokuapp-com.global.ssl.fastly.net/bornfightcompany/style-your-frontend-with-a-engineering-flavour-by-using-jss-4h06 | CC-MAIN-2021-25 | refinedweb | 1,168 | 65.22 |
Definitions of macros used in FEM code. More...
#include <fstream>
#include "itkFEMObjectFactory.h"
Go to the source code of this file.
Definitions of macros used in FEM code.
itkFEMMacro.h defines macros that allow simple and consistent FEM code creation. Use these macros whenever posible (always)!
Definition in file ... | http://www.orfeo-toolbox.org/Doxygen/itkFEMMacro_8h.html | CC-MAIN-2013-48 | refinedweb | 166 | 62.54 |
Unofficial WAD3 File Spec
Table of content
Introduction
The following file specification concerns the WAD3 file format used Valve's famous GoldSrc Engine. The file extension is ".wad". Contrary to the BSP v30 file format that has been derived from the Quake 1 BSP (v29) format, the WAD3 format is tecnically fully compat... | http://hlbsp.sourceforge.net/index.php?content=waddef | CC-MAIN-2018-22 | refinedweb | 750 | 57.91 |
Introduction: A-Z Guide to Interfacing TFT LCD Displays W/ Arduino
In this article, you will learn how to use TFT LCDs by Arduino boards. From basic commands to professional designs and technics are all explained here. At the end of this article, you can :
- Write texts and numbers with your desired font.
- Draw shapes... | https://www.instructables.com/id/Absolute-Beginners-Guide-to-TFT-LCD-Displays-by-Ar/ | CC-MAIN-2020-24 | refinedweb | 2,945 | 66.94 |
Opened 8 years ago
Closed 8 years ago
Last modified 7 years ago
#9402 closed (duplicate)
Whitespace validates in any field that is required
Description
How to reproduce:
Create a form with a CharField that has required=True .
Put whitespace into the field ( for example 4 spaces ).
Submit the form. It will validate as i... | https://code.djangoproject.com/ticket/9402 | CC-MAIN-2016-26 | refinedweb | 280 | 67.96 |
explanation
;
Hi,can I know what is the meaning for the above coding?I have find the explanation in internet,but not very clear about it. Thank you
explanation to your code - Java Beginners
explanation to your code sir,
I am very happy that you have...)?And i have imported many classes.but in your code you imported a v... | http://www.roseindia.net/tutorialhelp/comment/2957 | CC-MAIN-2015-18 | refinedweb | 2,356 | 67.04 |
Getting the current Kotlin version is easy, but the actual
KotlinVersion class is much more interesting. This post shows how to get the Kotlin version programmatically, but then looks at the details of the
KotlinVersion class, including how it demonstrates a great way to write an
equals method and more.
Note that this ... | https://kousenit.org/2019/11/09/a-deep-dive-into-the-kotlinversion-class/ | CC-MAIN-2020-29 | refinedweb | 1,566 | 54.63 |
.NET Remoting with Events in Visual C++
In my previous column, I introduced the basics of .NET remoting. I showed how to create a remoted class, host it in a server application, and call methods of the class from a client application.
The communication in that simple example was all client-driven. When the client wante... | http://www.codeguru.com/cpp/cpp/cpp_mfc/functions/article.php/c6989/NET-Remoting-with-Events-in-Visual-C.htm | CC-MAIN-2015-48 | refinedweb | 1,179 | 57.91 |
for connected embedded systems
df
Report disk space free (POSIX)
Syntax:
Report disk space free:
df [-abdhw] [-n node] [file...]
Report mapping points:
df -m [-w] [-n node]
Options:
- -a
- (QNX extension) Display all block devices, with the exception of any for which no size information is available. Information will b... | http://www.qnx.com/developers/docs/qnx_4.25_docs/qnx4/utils/d/df.html | crawl-003 | refinedweb | 746 | 63.8 |
Overview
Atlassian Sourcetree is a free Git and Mercurial client for Windows.
Atlassian Sourcetree is a free Git and Mercurial client for Mac.
Pyramid_health
Simple healthcheck endpoint for Pyramid, with maintenance mode and application checks.
- PyPI:
- Bitbucket:
Installation
Install using setuptools, e.g. (within a ... | https://bitbucket.org/Ludia/pyramid_health | CC-MAIN-2017-43 | refinedweb | 368 | 51.44 |
"non-static variable cannot be referenced from a static context" is biggest nemesis of some one who has just
Now before finding answer of compiler error "non-static variable cannot be referenced from a static context", let's have a quick revision of static. Static variable in Java belongs to Class and its value remains... | http://javarevisited.blogspot.com/2012/02/why-non-static-variable-cannot-be.html?showComment=1373639342023 | CC-MAIN-2014-52 | refinedweb | 651 | 51.89 |
What Are Packages in Java?
A set of classes and interfaces grouped together are known as Packages in JAVA. The name itself defines that pack (group) of related types such as classes, sub-packages, enumeration, annotations, and interfaces that provide name-space management. Every class is a part of a certain package. Wh... | https://www.simplilearn.com/tutorials/java-tutorial/packages-in-java | CC-MAIN-2022-05 | refinedweb | 1,267 | 50.23 |
31 August 2012 12:20 [Source: ICIS news]
LONDON (ICIS)--Second-quarter net profit at Poland's Synthos sank 48% year on year to zlotych (Zl) 117m ($35m, €28m) from Zl 225m as its synthetic rubber division faced margin squeezes on tougher markets, the company said on Friday.
Sales revenues rose 22% year on year to Zl 1.6... | http://www.icis.com/Articles/2012/08/31/9591526/rubber-margin-erosion-takes-toll-on-q2-net-profit-at-polands-synthos.html | CC-MAIN-2014-10 | refinedweb | 235 | 69.72 |
Voila, an open-source python library that is used to turn the jupyter notebook into a standalone web application It supports widgets to create interactive dashboards, reports, etc. Voila launches a kernel when it is connected to a notebook and executes all the cells but it does not stop the kernel there so that the use... | https://analyticsindiamag.com/complete-guide-to-voila-to-turn-a-jupyter-notebook-into-a-standalone-web-application/ | CC-MAIN-2020-45 | refinedweb | 822 | 53.61 |
″ in “Additional compiler arguments”
- Open Project Properties > Flex Build Packaging > BlackBerry Tablet OS > Advanced tab.
- Add “-forceAirVersion 2.5″
-″ to “2.6″.
Hi Jason,
Will you make the playbook_overrides.swc available?
Forgot to upload the ZIP. Updated. Thanks!
Hey Jason, I ran into a (hopefully) minor issue ... | http://blogs.adobe.com/jasonsj/2011/05/flex45_air25_playbook.html | CC-MAIN-2014-10 | refinedweb | 2,671 | 53.37 |
1.1 anton 1: \ source location handling 2: 1.19 ! anton 3: \ Copyright (C) 1995,1997,2003,2004: 1.3 pazsan 20: \ related stuff can be found in kernel.fs 1.1 anton 21: 1.9 anton 22: \ this stuff is used by (at least) assert.fs and debugs.fs 1.1 anton 23: 1.10 anton 24: : loadfilename#>str ( n -- addr u ) 1.12 anton 25: ... | http://www.complang.tuwien.ac.at/cvsweb/cgi-bin/cvsweb/gforth/source.fs?annotate=1.19;sortby=log;f=h;only_with_tag=MAIN;ln=1 | CC-MAIN-2021-17 | refinedweb | 129 | 80.07 |
WordPress.com Implements the Twitter API 39
This morning Matt Mullenweg announced on his blog that WordPress.com has enabled posting and reading blogs via the Twitter API. Now any Twitter app that supports a custom API URL (Tweetie is one such) can be used to either post updates to a WordPress.com blog, or to read upda... | http://tech.slashdot.org/story/09/12/12/2153209/wordpresscom-implements-the-twitter-api | CC-MAIN-2013-20 | refinedweb | 1,501 | 74.39 |
Download presentation
Presentation is loading. Please wait.
Published byRoxana Willard Modified over 2 years ago
1
The Interpretation of Financial Statements Chapter 16 © Luby & O’Donoghue (2005)
2
Why use ratio analysis Provides framework Comparison to previous years Trends identified Identify areas of concern Targets... | http://slideplayer.com/slide/3857957/ | CC-MAIN-2017-17 | refinedweb | 1,860 | 52.6 |
.de SE \" start example .sp .5 .RS .ft CR .nf .. .de EE \" end example .fi .sp .5 .RE .ft R .. .TL Bash \- The GNU shell* .AU Chet Ramey Case Western Reserve University chet@po.cwru.edu .FS *An earlier version of this article appeared in The Linux Journal. .FE .NH 1 Introduction .PP .B Bash is the shell, or command lan... | http://opensource.apple.com/source/bash/bash-80/bash/doc/article.ms | CC-MAIN-2016-26 | refinedweb | 6,003 | 66.13 |
How would you configure a DNS Name Server per NIC (eth0 vs eth1) interface on RHEL/Centos 6?
E.
I've added:
DNS1:10.0.0.2 > /etc/sysconfig/network-scripts/ifcfg-eth0
DNS1:19.168.0.2 > /etc/sysconfig/network-scripts/ifcfg-eth1
However these values get ignored, and it always defaults to the setting in resolv.conf
"namese... | http://serverfault.com/questions/423882/configure-a-dns-server-per-nic-interface-eth0-eth1 | CC-MAIN-2016-30 | refinedweb | 683 | 68.77 |
This is a problem I encountered more than once, and today I finally found a "solution". I place "solution" in quotes because it's more of a workaround for something that seems to be a problem of the Python Windows installer.
I ran into the problem on a Windows 7 box running ActivePython 2.6, but according to this Pytho... | http://eli.thegreenplace.net/2010/12/14/problem-passing-arguments-to-python-scripts-on-windows/ | CC-MAIN-2017-09 | refinedweb | 338 | 70.9 |
Ext JS to React: Static and Config MembersJavaScript
This is part of the Ext JS to React blog series.
In the previous blog in this series, we looked at how to define classes with React. In this blog post, we’ll expand upon that by looking at adding static members to a class. Also, Ext JS has a special config system. It... | https://moduscreate.com/blog/ext-js-react-static-config-members/ | CC-MAIN-2018-09 | refinedweb | 1,242 | 56.25 |
Investors in Flowserve Corp (Symbol: FLS) saw new options become available today, for the September 18th expiration. At Stock Options Channel, our YieldBoost formula has looked up and down the FLS options chain for the new September 18th contracts and identified one put and one call contract of particular interest.
The... | https://www.nasdaq.com/articles/interesting-fls-put-and-call-options-for-september-18th-2020-07-16 | CC-MAIN-2021-43 | refinedweb | 435 | 63.9 |
A:
#include <stdio.h>
int main(void)
{ printf("hello"); return 0; }
with gcc -Wall -o hello hello.c. Run the exectable with strace hello. Are
you impressed? Every line you see corresponds to a system call. strace[1][2].:
# ls -l /dev/hda[1-3]
brw-rw---- 1 root disk 3, 1 Jul 5 2000 /dev/hda1
brw-rw---- 1 root disk 3, 2 ... | https://www.linuxtopia.org/online_books/Linux_Kernel_Module_Programming_Guide/x431.html | CC-MAIN-2020-40 | refinedweb | 225 | 70.84 |
Swot analysis and company overview of starbucks
You are to imagine that you are the national Marketing Manager for a company that operates a chain of coffee shops. This can be any type of company from an established large multinational (i.e. Starbucks, Coffee Bean & Tea Leaf) to a small-medium enterprise (UK Based Cost... | http://www.ukessays.com/essays/marketing/swot-analysis-and-company-overview-of-starbucks-marketing-essay.php | CC-MAIN-2014-42 | refinedweb | 2,619 | 52.49 |
Python Password Generator
Learn how to create a random password generator in Python.
We know that passwords are a real security threat. To keep your account safe and prevent your password from being hacked you have to make your password hard enough that nobody can guess.
Keeping you updated with latest technology trend... | https://data-flair.training/blogs/python-password-generator/ | CC-MAIN-2020-45 | refinedweb | 859 | 52.9 |
RIF example UC9: BPEL Orchestration of Rule-Based Web Services
Kindly send comments on this page to GaryHallmark
Contents
- RIF example UC9: BPEL Orchestration of Rule-Based Web Services
- Summary
- Background
- Source data and rules
- Translation of PR with only assert actions into RIF Core
- Issues
- Changes
Summary
... | http://www.w3.org/2005/rules/wg/wiki/UC9_Worked_Example.html | CC-MAIN-2013-48 | refinedweb | 827 | 53.21 |
How to replace intrementally?
I have a question, I’m a noob, and don’t know anything about programming. How can I lets say replace numbers from “x” to “y” in fours?
I want to edit unix times from 1588384800 to 1588393920 and change the date to the next day. And each column contains 4 of the same unix time.
I may not be... | https://community.notepad-plus-plus.org/topic/19349/how-to-replace-intrementally | CC-MAIN-2021-17 | refinedweb | 740 | 73.68 |
src/examples/yang.c
Flow in a rotating bottom-driven cylindrical container
A cylindrical container is partially filled with liquid. The bottom disk spins at constant speed. A steady state is eventually reached for which the hydrostatic pressure due to the deformation of the free-surface balances the centrifugal force. ... | http://basilisk.fr/src/examples/yang.c | CC-MAIN-2021-39 | refinedweb | 749 | 68.36 |
Overview of RST Types and Namespaces¶
The information on this page is outdated. Package descriptions can be found here
This page shall give a short summary of the stable RST Types and their semantic structuring into distinct namespaces. As such, it shall give component developers a brief overview of the overall library... | https://code.cor-lab.de/projects/rst/wiki/Namespaces | CC-MAIN-2021-43 | refinedweb | 311 | 50.67 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.