News for hackers. Stuff that matters.

bhoeting

Re:Shunting-yard algorithm on Tuesday February 19, 2019 @08:06AM (#19198636)
Hah, a few years ago I learned Go by building a simple programming language (super basic with Lua-like syntax) and definitely used this article to help me. I made a slight modification so it could support functions with multiple arguments. Fun times.

https://github.com/bhoeting/blast/blob/master/parser.go#L82

Re:Xi: an editor for the next 20 years [video] on Wednesday January 31, 2018 @02:30PM (#16276786)
Hmm, that didn't see to work for me. I think I have a different issue. Thanks, though!
Re:Xi: an editor for the next 20 years [video] on Tuesday January 30, 2018 @08:49PM (#16270708)
I tried it after reading this comment. You weren't kidding. Unfortunately, my Vim isn't rendering properly. About 10 lines in the middle of the screen are blank for some reason. Both in and out of Tmux. Oh well. I'm just happy that I can look forward to Metal rendering being merged into stable.
Re:Xi: an editor for the next 20 years [video] on Tuesday January 30, 2018 @08:40PM (#16270675)

    brew cask install iterm2-nightly
Re:Ask HN: Which programmer do you look up to? on Saturday November 04, 2017 @10:07AM (#15625058)
I've never heard of Raymond Hettinger before but I'm currently watching one of his videos [1] and it's amazing. Thanks for sharing your list, I'll definitely look up some more of these people.

[1] https://www.youtube.com/watch?v=OSGv2VnC0go

Re:Ask HN: Which programmer do you look up to? on Saturday November 04, 2017 @09:44AM (#15624970)
Gary Bernhardt. He does a great job at teaching Vim/Bash/Git workflow in his screencasts, which is typically something that's hard to learn on your own. I remember my mind getting blown when he did this in vim `:nmap ,t :w\|:!clear && ruby %<cr>` (if you don't use vim, this remaps comma-t to run the current ruby file you're editing). I still use that little trick all the time and it always amuses my friends.
Re:LSD 'microdosing' is trending in Silicon Valley on Saturday February 25, 2017 @12:52PM (#13732749)
It does. You're supposed to microdose every 4 days to avoid tolerance buildup.
Re:Introducing the 2nd Generation Boosted Board on Friday May 20, 2016 @12:04AM (#11735480)
FWIW, I've only gotten shit for it once. A person yelled "Get a real skateboard" to me, but he was in a cab (who the fuck rides a cab in SF in 2016?) so I just laughed. Most people seem to think it's cool. Even without startups/techies, Boosted Boards still seem very fitting for San Francisco.