|
I am considering using a boilerplate for the introduction to this article, and keeping the actual noteworthy content the dynamic aspect going forward. So, let’s give it a try with last week’s opening: “Another week, another set of great podcasts for your listening pleasure. Enjoy.” Permalink.
|
|
12. Virtual Environments and Packages — Python 3.7.4 documentation (pipenv) . A python command-line tool which draws basic graphs/charts in the terminal . Argparse cookbook : For simple python scripts. Best 50 Python Books for Programmers with All Skill Sets . Code Like a Pythonista: Idiomatic Python . Dataset: databases for lazy people . Dive Into Python 3 book . Dive Into Python book . Drawille : Python drawing in ascii/unicode br....
|
|
Hexagonal Grids . Big O Notation – Explained as easily as possible | Hacker News . Comprehensive Big O Notation Guide in Plain English, using Javascript . Just Simply | Stop saying how simple things are in our docs . Show HN: DevBooks – Help Developers find indy books | Hacker News . Writing Well-Documented Code - Learn from Examples - Code Catalog . (How to Write a (Lisp) Interpreter (in Python)): parse, tokenize, read from tokens, e....
|
|
On local host ssh-keygen cat ~/.ssh/id_dsa.pub | ssh user@remotehost 'cat >> ~/.ssh/authorized_keys' On remote host chmod 700 ~/.ssh chmod 600 ~/.ssh/authorized_keys UPDATE: Add "AddKeysToAgent yes" to .ssh/config and enter password only once .
|
|
The Git Logo Image from git-scm.com . I have had the opportunity to explain Git and the basics of its operation on more than one occasion. It's something that I enjoy doing, especially because I believe it is an indispensable skill for collaboration in industry and academia. I have always distributed a small "cheat sheet" with the most-used commands, and I am posting it here (for no reason other than I can find it quickly in the fut....
|
|
Yes; fantastic piece from Sid O’Neill. I myself have begun to wonder the same things lately, questioning how I became so pedantic and obsessed with things of such little real importance that I would wax on endlessly about a simple ad , of all things. Yet, unlike Sid, I have been able to suppress those uncomfortable questions until very recently. As time marches on, however, and the amount of time I devote to this hobby only grows, this is ..
|
|
I once visited a team that had fifteen layers in their code. That is: If you wanted to display some data in the database in a web page, that data passed through 15 classes in the application. What did these layers do? Oh, nothing much. They just copied data from one object to the next. Or sometimes the “access object layer” would perform a check that objects were valid. Or perhaps the check would be done in the “boundary object layer”.
|
|
I never had a problem with the aesthetics of iOS 7, and continue to have no troubles whatsoever with it running atop my iPhone 4S: my phone never restarts, and my battery works just fine — especially for a device rapidly approaching its third birthday. Nevertheless, I can appreciate that many have had numerous and insurmountable problems in these areas as well as in many others, and that these issues have made iOS 7 a very difficult release....
|
|
Eve 0.4 adds cool features like Document Versioning and Coherence Mode. Cerberus 0.7 allows regex validation amongst other niceties. Make sure to check the official v0.4 announcement for all the details.
|
|
Gearing up for Midwest Game Developers Summit this weekend. Tune in next week for my first expo post-mortem. In the mean time, the old trailer was looking woefully outdated, so here's a brand new one!
|
|
When I moved back to the PHP version of Gastropoda I implemented snail death, so that snails actually die when their energy reaches 0. This resulted in all of my snails dying because they were both far below 0 (the cron job that depleted their energy daily continued to run while I was on a different branch).
|
|
sudo apt-get install texinfo build-essential xorg-dev libgtk-3-dev libjpeg-dev libncurses5-dev libgif-dev libtiff-dev libm17n-dev libpng12-dev librsvg2-dev libotf-dev
|
|
Aditya Dwivedi recently did an interview with me about searchcode. You can view it here over on yourstory.com and it covers how the idea came about, some of the issues and where I think the future lies for the project. Going to include an extract below in case bit rot sets in. How this Aussie coder is making life easy for techies around the world with searchcode You are busy building your product and then someone comes and tells yo..
|
|
Quite some time ago, I started this draft with a simple premise: precluding success is failure of at least one effort in a given area. Put differently, those who have yet to fail in their chosen profession can never attain greatness in that field. Along with this supposition, I included one more stipulation as an addendum to the previous statement: one can, however, substitute knowledge, to a degree, for failure. Regardless of the knowledge..
|
|
When I was a young child, I remember listening to an old radio receiver with my grandfather, looking for morse transmission. 30 years later, I take the opportunity to get my radio amateur license in the US, it was not difficult (Technicial license is easy), especially cause US radio amateurs are using the metric system (almost all the time …), the only difficulties were to learn some terms and simple formulas from french to english and to k..
|
|
If you've spent any time looking at the items that I post, you've probably gathered that I'm a developer, but that I have a rather strange habit of not talking about code. I talk about build automation, source control, compiler output, virtualization, proxy servers, and continuous integration, but I barely talk about matters of code. So if I love coding, why do I spend my time talking talking about DevOps rather than code?
|
|
When Greedy Algorithms are Good Enough: Submodularity and the (1—1/e)-Approximation
-
www.jeremykun.com
-
11 years ago
-
eng
Greedy algorithms are among the simplest and most intuitive algorithms known to humans. Their name essentially gives their description: do the thing that looks best right now, and repeat until nothing looks good anymore or you’re forced to stop. Some of the best situations in computer science are also when greedy algorithms are optimal or near-optimal. There is a beautiful theory of this situation, known as the theory of matroids. We haven’..
|
|
When Greedy Algorithms are Good Enough: Submodularity and the (1—1/e)-Approximation
-
www.jeremykun.com
-
11 years ago
-
eng
Greedy algorithms are among the simplest and most intuitive algorithms known to humans. Their name essentially gives their description: do the thing that looks best right now, and repeat until nothing looks good anymore or you’re forced to stop. Some of the best situations in computer science are also when greedy algorithms are optimal or near-optimal. There is a beautiful theory of this situation, known as the theory of matroids. We haven’..
|
|
When Greedy Algorithms are Good Enough: Submodularity and the (1—1/e)-Approximation
-
www.jeremykun.com
-
11 years ago
-
eng
Greedy algorithms are among the simplest and most intuitive algorithms known to humans. Their name essentially gives their description: do the thing that looks best right now, and repeat until nothing looks good anymore or you’re forced to stop. Some of the best situations in computer science are also when greedy algorithms are optimal or near-optimal. There is a beautiful theory of this situation, known as the theory of matroids. We haven’..
|
|
This situation really is crazy. Part of the problem, though, at least where Twitter is concerned, is that Twitter does not use the t.co shortener until after a tweet is posted, which means after it imposes the 140 character limit. Especially for me where every link to one of my own articles that I post starts with “zacjszewczyk.com/Structure”, this makes not using my own shortener — in this case, Bitly — completely impractical. Even then ..
|
|
cron: The Unix clock daemon that executes commands at specified dates and times according to instructions in a "crontab" file. Image from openclipart.org . Drupal is an amazing system, there is no denying it. Every once in a while, however, small problems come up that no one anticipates, and your entire system grinds to a halt. This recently happened with me when needing for Drupal to run some heavy processes in cron. It croa....
|
|
cron: The Unix clock daemon that executes commands at specified dates and times according to instructions in a "crontab" file. Image from openclipart.org . Drupal is an amazing system, there is no denying it. Every once in a while, however, small problems come up that no one anticipates, and your entire system grinds to a halt. This recently happened with me when needing for Drupal to run some heavy processes in cron. It croa....
|
|
cron: The Unix clock daemon that executes commands at specified dates and times according to instructions in a "crontab" file. Image from openclipart.org . Drupal is an amazing system, there is no denying it. Every once in a while, however, small problems come up that no one anticipates, and your entire system grinds to a halt. This recently happened with me when needing for Drupal to run some heavy processes in cron. It croa....
|
|
Building the new SoundCloud iOS application — Part I: The reactive paradigm
-
developers.soundcloud.com
-
11 years ago
-
eng
Recently, SoundCloud launched the new iOS application which was a complete rewrite of the existing iOS application. The Mobile engineering…
|
|
Building the new SoundCloud iOS application — Part I: The reactive paradigm
-
developers.soundcloud.com
-
11 years ago
-
eng
Recently, SoundCloud launched the new iOS application which was a complete rewrite of the existing iOS application. The Mobile engineering…
|
|
Spam is bad! Kill it with fire! Image from openclipart.org . Due to the irritating nature of spam email, companies have started hardening their policies for how they handle emails that originate from various sources. A recent change that has hurt a lot of sites and mailing lists lately is that email providers have begun to make their DMARC policies very strict. Specifically, email providers are saying, "If the email says that it is....
|
|
Spam is bad! Kill it with fire! Image from openclipart.org . Due to the irritating nature of spam email, companies have started hardening their policies for how they handle emails that originate from various sources. A recent change that has hurt a lot of sites and mailing lists lately is that email providers have begun to make their DMARC policies very strict. Specifically, email providers are saying, "If the email says that it is....
|
|
Spam is bad! Kill it with fire! Image from openclipart.org . Due to the irritating nature of spam email, companies have started hardening their policies for how they handle emails that originate from various sources. A recent change that has hurt a lot of sites and mailing lists lately is that email providers have begun to make their DMARC policies very strict. Specifically, email providers are saying, "If the email says that it is....
|
|
Another week, (thankfully) another set of great podcasts for your listening pleasure. Be sure to pay special attention to this series’ latest addition, and — as always — enjoy. Permalink.
|
|
Capture HTTP traffic with Fiddler on Devices with no Proxy option
-
blog.gripdev.xyz
-
11 years ago
-
eng
Hi, This is how I ended up writing a custom DNS server to redirect network traffic.. code is here . I recently got a smart TV and I wanted to see what it was up too, having heard all the stories of them leaking personal information left right and center. Fiddler is my go to tool for any HTTP inspection, so I went about look for a proxy setting in on the TV … there isn’t one.
|
|
I spent a couple of weeks porting Gastropoda from PHP to Node.js after caving in to peer pressure and hearing “PHP sucks” from every side imaginable.
|
|
Lightning talk introduce pair programming based on information gleaned from RailsConf 2014. Bulk of the credit for this presentation goes to Chuck Lauer Vose of New Relic and Joe Moore of Pivotal Labs.
|
|
An overview of Ruby, jRuby, Rails, Torquebox, and PostgreSQL that was presented as a 3 hour class to other programmers at The Ironyard in Greenville, SC in July of 2013. The Rails specific sections are mostly code samples that were explained during the session so the real focus of the slides is Ruby, "the rails way" / workflow / differentiators and PostgreSQL.
|
|
Learn why traditional method swizzling breaks UIKit's touch forwarding and discover a better approach that preserves _cmd integrity.
|
|
The problem with Google Glass is not that it is inherently creepy, but rather that it has the potential for many uses of dubious morality; and as our minds happened upon those possibilities in the wake of Glass’ unveiling, and we paused to ponder an appropriate reaction to these eventualities, it became socially acceptable to walk around smacking these expensive devices off the faces of those who deigned to wear them. Like a small child who..
|
|
Working with web applications in NodeJS is great. Using the same language and libraries on the client and server simplified the thinking. And NodeJS has fast tests and restart for a super quick edit-verify cycle when you’re coding. I like to write tests to verify the server-side and client-side logic, but do you know that the whole solution really is working? You can of course test your service manually after deploying, but that becomes ted..
|
|
A friend of mine had a photovoltaic system (consisting of 14 solar panels) installed on his rooftop last year. As I was looking for another raspberry pi project I convinced him I would setup a reliable monitoring solution that will lead him to an access to the data in real-time data. The current setup comes with an inverter by the company Kostal. The Kostal Piko 5.5 runs an internal web server showing statistics like current power, daily en..
|
|
Here at SoundCloud, in order to provide counts and a time series of counts in real time, we created something called Stitch. Stitch was…
|
|
Here at SoundCloud, in order to provide counts and a time series of counts in real time, we created something called Stitch. Stitch was…
|