HNHacker News
TopNewBestAskShowJobs

MtL

15 karma · joined May 20, 2009

submissionscomments
MtL··on Intern Impact: Brotli compression for Play Store app downloads
Makes you wonder how much they'd save by using Courgette, like the Chrome team does.
MtL··on Mixins in Backbone.js
Great article!

Do you find that you are able to reuse your mixins easily, or do they evolve slowly to become general and reusable components?

MtL··on Aligning your Git logs
I usually want to pass arguments to git log, not to less. This is not possible with the default piped alias. This is remedied by wrapping it in a function, and pasting the arguments explicitly to git log using the bash shorthand $@. Here is an updated version of your l80 that supports passing parameters to git log:

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··on SBCL quicker than C?
There is no difference at all, since the latter takes precedence (read the man pages):

$ 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··on Compiler Benchmarks Of GCC, LLVM-GCC, DragonEgg, Clang
Where is their list of flags applied when building the test programs?
MtL··on Diet hacker data point
Boom, there goes his insulin sensitivity.
MtL··on Ask HN: How do I give my son a head start?
I have three pieces of advice I wish every parent in the world could see:

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··on My dalliance with smart drugs - and the lesson I learned
Have any programmers in here had any experiences with nootropics (*racetams, DMAE, etc)?
MtL··on It Gets Better: Google Employees
Wtf is this shit? I thought the video was gonna get better, it only got more boring :(
MtL··on The reverse job applicant
I wouldn't hire the guy. He does not communicate well what he does and what kind of position he is looking for, he spends a couple of paragraphs telling the world how useless he is, and he did not show any initiative to start something himself while he was unemployed. Nice try, but it's not sufficient to convince me.
MtL··on programming challenge
We have 5 from the start.

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··on Cx: A bash function for comfortable extraction of *.tar/*.tar.gz/*.tar.bz2
It's worth mentioning that this is in the ubuntu (and debian?) repos. 'sudo apt-get install dtrx'
MtL··on Browsers used in 5500+ HN visits yesterday
Hooray for chrome! I'm a little disappointed to see so many users on mac/windows, though :(
MtL··on Scott Adams: Your Next Gym
You make a valid point, that the use of this fancy-schmancy technology is optional. The reason I am still worried, and the reason why I hold on tight to my old-fashioned principles, is that most gyms nowadays are very poor for serious training;

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··on Scott Adams: Your Next Gym
We do not need all these gimmicks. We need people to know what is good for themselves, and start doing something about it. Call me oldfashioned, but I am of the impression that:

+ 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··on Vitamin D deficiency is a widespread problem
Try one with added lemon aroma, they should be relatively easy to get hold of. Concentrated fish oil capsules give me a more nasty aftertaste than the real liquid oil.
MtL··on No more confusions on tricky C declarations
Meh! This is just an overly complication of the right-left rule, which makes you think about "complex" 2D geometry instead of a couple of simple spatial pointers in the declaration you are trying to parse..

The easier, more useful version: http://ieng9.ucsd.edu/~cs30x/rt_lt.rule.html

MtL··on They Make Apps
Oh my god what a horrible design, and total lack of usability.
MtL··on Smashing the stack for fun and profit
Funny, I just re-read that paper yesterday =) Aleph One is a hero in my eyes, he made my childhood much more interesting.
MtL··on RentHop (YC S09): Easier Apartment Hunting, Without The Broker Fee
Unfortunately it is useless for me, as it is NYC specific. For us located in other areas, padmapper is more useful.
MtL··on Milw0rm Shut Down By Owner
More details:

"milw0rm's back up & posting will start once again, I can't let all of the emails in my submit box to just sit there." - str0ke

Source: http://twitter.com/str0ke/status/2550494236

MtL··on The Power (and Peril) of Praising Your Kids
Then give the children a chance to develop themselves further; more advanced tasks, other variations of the same task, ask them to explain to you how they think when they solve the task, give them something completely different to spend 20 minutes learning/doing, etc.
MtL··on [dead]
Weight itself is not a complicated issue. Eating healthy is not a complicated issue. Staying in reasonable shape is not a complicated issue. Unfortunately, many people overcomplicate it. It is easy to observe that the people who overcomplicate it, are the same people who believe that since it's simple, it should be easy.