beizhia | 6 years ago | on: My Emacs Productivity Tricks/Hacks
beizhia's comments
beizhia | 6 years ago | on: HTTP static server one-liners
crystal eval 'require "http/server"; server = HTTP::Server.new([HTTP::LogHandler.new, HTTP::StaticFileHandler.new(".")]); server.bind_tcp(8080); server.listen'beizhia | 6 years ago | on: Emacs: The Editor for the Next Forty Years [video]
Once you create a macro like that you can run it, name it, save it to your config, bind it to a key, whatever suits your workflow.
I never really thought of how much I do this manually, so I just set it up for myself right now. I'll probably rewrite it as an elisp function though.
beizhia | 6 years ago | on: Emacs: The Editor for the Next Forty Years [video]
beizhia | 6 years ago | on: CSS Utility Classes and “Separation of Concerns” (2017)
Personally I think visual consistency is important and you shouldn't make things look different in different places, but it's not always up to me.
beizhia | 6 years ago | on: Why are CVS receipts so long? (2018)
beizhia | 7 years ago | on: The Parker “51” (2018)
Having nice pens makes me want to use them more, and writing more has helped me organize my thoughts better, especially when writing code. I'd highly recommend it to everyone.
beizhia | 7 years ago | on: Addicted to vaped nicotine, teenagers have no clear path to quitting
The e-cig helped, but the real motivator is that I wanted to run and play soccer more effectively. Vaping was just a tool that kept me away from cigarettes.
beizhia | 7 years ago | on: Dotsies (2012)
beizhia | 7 years ago | on: Firefox desktop market share now below 9%
I do still pop open chrome for the devtools when I'm working on web stuff. I wish I didn't have to, but there's one thing that FF doesnt have that I need at work: goto line in the sources browser.
Lots of our files at work are several thousand lines (I know...), and its a huge missing feature to me.
I might see if I can code it up myself and submit a patch, but that's not exactly trivial.
beizhia | 7 years ago | on: Ask HN: What's the best documentation you've ever read?
beizhia | 7 years ago | on: Ask HN: Which YouTube channels do you watch regularly?
LazyGameReviews - Old PCs, peripherals, and software
ForgottenWeapons - the mechanics and history of the weapons of the past
AvE - Thorough teardowns of tools, fabricobbling, enginerding, etc
Extra Credits - Game design and more
Artifexian - Worldbuilding and some linguistics
Alliterative - Chasing down word etymologies
beizhia | 7 years ago | on: Show HN: Write every day, measure your progress, achieve your writing goals
Writing with pen and paper just feels more immediate.
I also got some fountain pens a couple years ago, and I made a bit of a hobby out of it. Having nice tools makes thw work easier, and sorta motivated me to write more in the first place.
beizhia | 8 years ago | on: 1 in 10 Americans in survey say they deleted their Facebook account over privacy
I also deleted the instagram app from my phone, and blocked reddit on all my PCs. Hackernews might be next I'm afraid - I just don't see that it's a good use of my time anymore. I've even been considering getting a non-smartphone next time I need a new phone. Maybe it's just a reaction to everything going on online, but I'm enjoying being free from social media.
beizhia | 8 years ago | on: Ask HN: High functioning alcoholism – anyone?
I started drinking LaCroix, and its to the point where I'm going through a 12 pack every couple days. I had to start buying the generic brands to save money.
I still drink beer, wine, and whiskey, but not nearly as much as I used to. I think I've saved a lot of money this way too. I also took up running about a year ago, and that got me to stop smoking too, even though that was only like 1 or 2 cigarettes a day, and not even every day. I've been changing up my diet too, and that's had a huge impact.