December 2010
14 posts
2 tags
TextMate & Ruby: Quick run of another file using...
While developing using TextMate and Ruby, i got bored by switching tabs between, to run base(general) file. Then, i dived into how the mate runs ruby-files. And wrote some solutions:
It should detect file to run, using current file
It should detect file to run, using current project, if previous is false
First rule realization, using comments, i.e. line that have # and scope isn’t...
3 tags
Now my mlgame-parser is fully ready
Just some example of converting expionage reports
[25.12.2010 18:12:45] denja3 (Хаос [68-0-0]) vs BPestilence (Pestilence [69-1-44]) S: 30 D: 03 AL: 3
[25.12.2010 21:45:16] EARTHMAIL (база [69-0-4]) vs BPestilence (Pestilence [69-1-44]) S: 21 D: 03 AL: 4
[25.12.2010 22:09:23] denja3 (Хаос [68-0-0]) vs BPestilence (Pestilence [69-1-44]) S: 30 D: 05 AL: 2
[25.12.2010 22:34:33] denja3 (Хаос...
Ремишевский и вице-президент, главный конструктор по средствам выведения РКК...
8 hours of Diving into RocketAMF & Flex AMF...
… and what i got and why i did that?
Got: Custom AMF3 Deserializer of Flex/Flash-game Why: dunno =/ Programming Skills increase: AMF, AS3, Ruby… Software Skills increase: tcpdump, wireshark
2 tags
RocketAMF: Parse AMF with headers
When you use RocketAMF.deserialize, it shows an error, when AMF starting with headers.
And in documentation said, that you should run RocketAMF as amf-server to get full-features, btw you can do:
pp RocketAMF::Envelope.new.populate_from_stream data
To parse amf with headers :)
You probably only have to interrupt someone a couple times a day before they’re...
– Paul Graham from an essay in 2005 (via 37signals)
Why i love Belarus?!
After ice-skating for 2 hours, i went to shop to get some coke…
When i entered shop, i seen a guard beating(not as much as you think) some drunk-guy, and asked a cashier to press “The Button”, now i start counting.
I took some coke bottles, payed for them (really paid, guard didn’t beat me too xD), while packing up, got time to looked at this “twix”-guys :D
And...
iTunes U + Stanford: Programming Methodology...
One of the Best lections i had listen, that’s Stanford’s Programming Methodology (CS106A) with Mehran Sahami. It’s available throught iTunes U, on Apple’s Learning Center.
Good jokes, some NLP(Yeah, Mehran rox, with human manipulation), and good explanatios about programming processes… Yeah, may be i knew all this stuff, but getting experience in explain such stuff...