Skip to content

Instantly share code, notes, and snippets.

View imrehg's full-sized avatar
🐒
Chaos Monkey

Gergely Imreh imrehg

🐒
Chaos Monkey
View GitHub Profile
@imrehg
imrehg / pymontage_roadmap.txt
Created June 7, 2009 12:13
Pymontage roadmap
PyMontage Roadmap:
0.1.0 release
* command line operation
* fragment pictures: fitting R/G/B/(R+G+B/3=BW) channels
* subdivision and fitting mosaic pictures
* finding best fitting fragments to build mosaic
* build mosaic (montage)
* handle jpeg files
@imrehg
imrehg / angry.py
Created July 13, 2011 08:26
Angry birds trajectory
"""
Angry birds trajectory calculation and plotting
"""
import numpy as np
import pylab as pl
#### Input parameters
Y = 2
X = 55
g = 10
@imrehg
imrehg / book.txt
Created September 8, 2011 06:34
Book to download
http://onlinelibrary.wiley.com/book/10.1002/0471445428
@imrehg
imrehg / gist:1216253
Created September 14, 2011 10:15
Pappers
http://ieeexplore.ieee.org/xpl/freeabs_all.jsp?arnumber=5101648&reason=concurrency
http://dx.doi.org/10.1063/1.321845

Stevey's Google Platforms Rant

I was at Amazon for about six and a half years, and now I've been at Google for that long. One thing that struck me immediately about the two companies -- an impression that has been reinforced almost daily -- is that Amazon does everything wrong, and Google does everything right. Sure, it's a sweeping generalization, but a surprisingly accurate one. It's pretty crazy. There are probably a hundred or even two hundred different ways you can compare the two companies, and Google is superior in all but three of them, if I recall correctly. I actually did a spreadsheet at one point but Legal wouldn't let me show it to anyone, even though recruiting loved it.

I mean, just to give you a very brief taste: Amazon's recruiting process is fundamentally flawed by having teams hire for themselves, so their hiring bar is incredibly inconsistent across teams, despite various efforts they've made to level it out. And their operations are a mess; they don't real

@imrehg
imrehg / findword.py
Created December 1, 2011 01:17
Find words that match a pattern I was looking for
"""
Match a pattern, to find what can "s____e cake" be.
This is the hard way, and matching expressions rather than words
would be better, but brute force is brute.
"""
import re
# The English Open Word List file we need to consider
# http://dreamsteep.com/projects/the-english-open-word-list.html
fname = "S Words.csv"
@imrehg
imrehg / gist:1522753
Created December 27, 2011 04:50
articles
http://dx.doi.org/10.1109/MWSYM.2007.379986
http://dx.doi.org/10.1109/SCONEST.2005.4382885
@imrehg
imrehg / gist:1526107
Created December 28, 2011 03:47
Essay on Realistic Space Combat
(originally from http://forums.spacebattles.com/showthread.php?t=131056 by Memphet'ran)
A little (or not so little) essay I wrote on what realistic space combat would be like. Thought you guys might find it interesting. Sorry, I admit it IS a bit long, I apologize if it's somewhat intimidating.
---------
Space battles are ubiquitous in science fiction. Usually it seems to look a lot like some variation on WWII sea battles: fighters whizz around and engage in space dogfights as the great battleships pound each other with death rays. But in fact this is probably a very unrealistic depiction of what a space battle would look like. I’m sure I’m not the only one who’s wondered “so what would a space battle really look like?” In this essay I will attempt to answer that question as best I can. For those who are interested, somebody else has already tackled the question on Strange Horizons, but I believe that essay is flawed in several ways, most notably the conclusion that stealth will be important in space warfa