HNHacker News
TopNewBestAskShowJobs

dergachev

201 karma · joined October 7, 2011

Alex Dergachev co-founder of evolvingweb.ca @dergachev on github and twitter
submissionscomments
dergachev··on Ways to learn a language as an adult?
Different techniques work well depending on your current level. Immersion always helps, and for me recently that meant diving into reading online news articles in French, which really helped with expressions, idioms, and jokes. I tried a few "Google Translate" chrome extensions but none were good for looking up just a phrase effectively, so I wrote my own, BabelFrog. It has almost no options (just From and To languages) and instantly displays of the translate of the word or phrase you selected. Give it a try maybe. http://babelfrog.com/
dergachev··on Good News You May Have Missed in 2014
I would add they just came out with a drug to cure hepatitis C. That's amazing news for 3.2 million Americans with the disease, including my dad. http://www.webmd.com/hepatitis/news/20140729/pill-hepatitis-...
dergachev··on Taming math and physics using SymPy [pdf]
Good stuff, but maybe it would be nice to do a mini tutorial in the blog post itself. I only like PDFs if I'm going to spend 20m+ reading something.
dergachev··on Command Line Faxing
We've been using myfax.com for $10/month and it works the same way. Hasn't failed us once in many years, but kind of pricy. Maybe worth considering a cheaper alternative.
dergachev··on YoAuth
Is it easy to "Yo" back someone if they're not in your contacts? On the android app I don't see how to do that.

Also, the security of this seems questionable.

There are other, more interesting uses of the yo API: https://medium.com/@YoAppStatus/yo-developers-api-e7f2f0ec5c...

dergachev··on Show HN: ElasticUI – AngularJS Directives for ElasticSearch
I built a simple nodejs-based proxy that's meant to sit in front of a world exposed solr instance: https://github.com/dergachev/solr-security-proxy/

Perhaps it could be adapted to the elasticsearch scenario.

dergachev··on NPR open-sources Copytext, a library for handling spreadsheets as Python objects
Nice, thanks for sharing this!

Also, I'm exploring simpler alternatives to oauth2 for command-line acccess to the Google Drive SDK, and your password approach is interesting. My current use case is extracting the HTML from a Google Doc and converting that to LaTeX with a custom template: https://github.com/dergachev/gdocs-export

dergachev··on Stripe: Bitcoin Sign-up
Actual article by cperciva about accepting bitcoin via stripe, not sure why that wasn't linked directly: http://www.daemonology.net/blog/2014-03-27-tarsnap-bitcoin.h...
dergachev··on 2048
The source code's here, in case anyone is interested: https://github.com/gabrielecirulli/2048
dergachev··on Fig – Fast, isolated development environments using Docker
Looks pretty slick. For a recent project, I ended up building a 100 line Makefile, and fig could have covered about 70% of that. That said, Makefile are good to have around
dergachev··on Lightweight Docker experience on OSX
Hmm this replaces Vagrant (which I know and like) with a custom script (https://raw.github.com/steeve/boot2docker/master/boot2docker) which I have to learn.

Also running docker on a non-ubuntu host means you're doing it differently than 95% of people out there, so you'll be on your own when it comes to mysterious errors and the like.

In case you're feeling brave, here's an anecdote from just this morning. My colleague ran into a mysql bug on docker he couldn't figure out. Googling the error messsage + "docker" instantly produced this page http://stackoverflow.com/questions/21026790/cant-delete-mysq... where it was explained that by using ubuntu 13.10 instead of 12.04 would make the problem go away... saving us many hours of further debugging. What good would that advice do if we were using TinyCore Linux?

dergachev··on Execute SQL against structured text like CSV or TSV
Cool stuff, and it's written in go!

I made a simple ruby version of this a while back: https://github.com/dergachev/csv2sqlite

Subsequently also I discovered CSVKIT, a python implementation which is probably more robust:

https://github.com/onyxfish/csvkit

dergachev··on Malware installed by Cron job
Seriously. If this company was surprised to discover the use of cron for the malware, imagine what kind of stuff they might have missed.

Here's a particularly creative technique I recently came across: https://gist.github.com/dergachev/7916152

dergachev··on Quick tip for developers who use OS X
Sweet! To take it to the next level:

pbpaste |sed 's/FIND/REPLACE/g' | pbcopy

Maybe make this into a script you can run from alfred. ;)

Also if you want to have access to pbcopy remotely, try this:

http://evolvingweb.ca/blog/exposing-your-clipboard-over-ssh

dergachev··on Google announces ban on "multi-purpose" Chrome extensions
What about things extensions Tampermonkey, are those at risk by this?
dergachev··on Secret contract tied NSA and security industry pioneer
If it only cost $10m to bribe one of the biggest security companies around, how much does it cost to bribe a single open source developer who volunteers on tools like OpenSSL? What if you add blackmail to the mix?

Makes me realize that we need bitcoin-style "hack or bruteforce our encryption schemes and you can legitimately get paid lots of money" bug bounties.

dergachev··on Canada Post to phase out urban home mail delivery
I've lived in downtown Montreal for the last ten years. For as long as I can remember, they've been doing exactly this with packages. Even if you're home, the mailman will just leave a slip saying that you can pick up your package at the local Canada Post outlet.

I have to wonder whether this will mean a huge boon to mail scanning services like outboxmail.com

dergachev··on Linear algebra tutorial in four pages
That's a good idea. Perhaps when teaching people familiar with SVG, you can start by showing them the transform matrix syntax and explaining what it does. https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/t...
dergachev··on Linear algebra tutorial in four pages
For me what makes it really interesting is the realization that all of linear regression (think y = mx + b) is based on linear algebra, specifically the notion that figuring out a best-fit line (in the case of a single-dimensional input variable) is projection of the N-dimensional vector space of observations (where you have N data points) onto the best-fitting 2 dimensional vector spaces (assuming you're fitting a slope and an intercept).

When thought of this way, a lot of linear algebra has geometric interpretations and for me this makes it a lot less abstract.

dergachev··on Linear algebra tutorial in four pages
I really enjoyed the Gilbert Strang videos on linear algebra back when I was taking the course at McGill: http://ocw.mit.edu/courses/mathematics/18-06-linear-algebra-...
dergachev··on No bullshit guide to math and physics, v4.0
Congrats to Ivan and team, this update reflects many months of work and a lot of improvements. Hope many students who are trying to learn a semester's worth of calculus in just the next few weeks can benefit from this update.
dergachev··on The Architecture of Open Source Applications
Yeah, way to go!!
dergachev··on Show HN: PkgHub.io - Simple Ubuntu Package Hosting
This link throws a 502: https://pkghub.io/users/andytinycat/projects/puppet-omnibus/...
dergachev··on IsoHunt to Shut Down as Part of Settlement With Studios
That's brilliant.
dergachev··on ngrok tunnels: better, faster, stronger
Would it make sense to try to get this to start on boot?
dergachev··on Why we moved away from AWS
OVH actually supports running the Proxmox virtualization distro on their servers. That means you can easily get a 32GB dedicated server with raid1 SSDs (around $100/month here in Canada) and spin up VMs to your heart's content. Proxmox also supports running your host nodes in a cluster, which allows for live migration. And if the math isn't already ridiculous, keep in mind that all the running OpenVZ containers (which proxmox supports) actually share a single kernel, and thus share a good chunk of RAM.

That being said, OVH is notorious for lack of support, and my experience so far (6 months) suggests that using them is not without risk. So at the moment I'm automating everything so that if an OVH engineer does decide to accidentally pull the plug on my server(s), I can failover in an hour or two.

dergachev··on Google timer
I noticed that Google Flights ad box only pops up when your query is served by Google Flights (eg it starts in north america).

So "flights to LON" will not bring up a schedule, while "flights from LON" will. And for most of my purposes, I only care about the destinations, not exact times, so this works fine.

dergachev··on Command-line tools for data science
csv2sqlite actually generates the table definitions for you, so I think that's a big improvement when you just downloaded a CSV file with 30 columns in it and need to quickly verify it or extract some data from it.

Also supports parsing multiple CSV files at once, so you can easily do joins.

dergachev··on Command-line tools for data science
These are great!

I wrote a quick ruby script that converts one or more CSV files into an SQLITE db file, so you can easily query them.

https://github.com/dergachev/csv2sqlite

dergachev··on Show HN: 30-second Slideshows for Hackers
Seems similar to mdpress, a ruby script which I've used successfully.

https://github.com/egonSchiele/mdpress

← PreviousPage 2 of 3Next →