MtL | 9 years ago | on: Intern Impact: Brotli compression for Play Store app downloads
MtL's comments
MtL | 14 years ago | on: Mixins in Backbone.js
Do you find that you are able to reuse your mixins easily, or do they evolve slowly to become general and reusable components?
MtL | 14 years ago | on: Aligning your Git logs
l = "!f() { git log $@ --abbrev-commit --date=short --pretty=format:'%x00%h%x00%cd%x00%s%x00%an%x00%d' | gawk -F '\\0' '{ printf \"%s\\033[31m%s\\033[0m \\033[32m%s\\033[0m %-80s \\033[30;1m%s\\033[0m\\033[33m%s\\n\", $1, $2, $3, gensub(/(.{79}).{2,}/, \"\\\\1\",\"g\",$4), $5, $6 }' | less -R ; } ; f"
MtL | 15 years ago | on: SBCL quicker than C?
$ gcc -c -Q -Os -O3 --help=optimizers > Os-O3-opts
$ gcc -c -Q -O3 --help=optimizers > O3-opts
$ diff Os-O3-opts O3-opts
$
MtL | 15 years ago | on: Compiler Benchmarks Of GCC, LLVM-GCC, DragonEgg, Clang
MtL | 15 years ago | on: Diet hacker data point
MtL | 15 years ago | on: Ask HN: How do I give my son a head start?
1. Always give your son a new healthy challenge. Let him develop as fast as he can while he is in his prime. If school has a fixed tempo of learning, challenge him in other areas; sports, music, critical thinking, computers, social skills, moral values and ethics, practical skills, helping others, etc.
2. Read "Outliers" by Malcolm Gladwell. He has a few points that made me realize just how much it means to come from a good background, with parents that realize how their kid should be raised to become a independent and successful person.
3. Realize that your son will never become exactly what you wanted him to be. You can introduce him to the world of IT, and you can show him how it is fun to produce your own programs or web pages, but he has to take the choice to pursue an IT career by himself.
MtL | 15 years ago | on: My dalliance with smart drugs - and the lesson I learned
MtL | 15 years ago | on: It Gets Better: Google Employees
MtL | 15 years ago | on: The reverse job applicant
MtL | 15 years ago | on: programming challenge
Start producing 4 more (2 jars) at timestep 1.
Start producing 4 more at timestep 6.
Start producing 22 more at timestep 12.
22 + 4 + 4 + 5 = 35
MtL | 15 years ago | on: Cx: A bash function for comfortable extraction of *.tar/*.tar.gz/*.tar.bz2
MtL | 15 years ago | on: Browsers used in 5500+ HN visits yesterday
MtL | 15 years ago | on: Scott Adams: Your Next Gym
There is a ton of machines that are of no use to people that want to use the gym to actually make progress, to stay healthy and get strong/fast/lean/whatever-floats-your-boat. All these machines take up the space of the barbells, dumbbells and racks, and they steal the attention away from those things as well. The end result is that the average people in a gym in 2010 are in worse shape than the average people in a gym in 1970. I hope this trend is not allowed to continue.
PS: Let me tell you a fun, competitive game that require little modern technology (just some creativity and a barbell and a rack); bring your friends to spot you in the gym, and have a competition in the squat rack ("who does the most reps with 225lb in one set?").
MtL | 15 years ago | on: Scott Adams: Your Next Gym
+ No RFID chip in my backpack will make a mountain hike with 50lb weight added any more fun, any more useful, any more easy or anything else.
+ No RFID chips in the my plates will make my sets of squats or deadlifts any more fun or easy.
+ No RFID chip in my pants will make my hill sprints any more fun, easy or anything else.
+ No RFID chips in my food or fridge will make eating fruits, veggies, meat, eggs, fish, berries and dairy any more fun than it already is.
MtL | 15 years ago | on: Vitamin D deficiency is a widespread problem
MtL | 15 years ago | on: No more confusions on tricky C declarations
The easier, more useful version: http://ieng9.ucsd.edu/~cs30x/rt_lt.rule.html
MtL | 16 years ago | on: They Make Apps
MtL | 16 years ago | on: Smashing the stack for fun and profit
MtL | 16 years ago | on: RentHop (YC S09): Easier Apartment Hunting, Without The Broker Fee