HackerTrans
TopNewTrendsCommentsPastAskShowJobs

hbien

no profile record

comments

hbien
·2 года назад·discuss
Unfortunately for both of us, 9% of zero is zero :(
hbien
·3 года назад·discuss
Working for a company you believe in is one good reason. 800,000 reasons is 799,999 more.
hbien
·3 года назад·discuss
I've been using vim (now neovim) for almost 20 years now.

In terms of efficiency/productivity/time saved, my guess is that it's not worth it.

In terms of happiness, I love it. I live in vim+tmux+bash. My setup is extremely personalized. If anything annoys me about my day-to-day activities, I can just change it. It can be a time sink, but I enjoy it.
hbien
·3 года назад·discuss
Ty for the benefit of the doubt and seeing the best in others :)
hbien
·3 года назад·discuss
>> at the end of the day, we're trying to exchange useful products for money

> If you're just trying to make money, then you shouldn't call yourself a hacker.

I hate gatekeeping like this.

For anyone who needs to hear it: you don't need to be a starving artist. You are not a sell-out for wanting to exchange useful products for money. You can call yourself a hacker.
hbien
·3 года назад·discuss
:wq
hbien
·3 года назад·discuss
I really like:

Non Designer's Design Book - for higher level guidelines on design

Refactoring UI - for tactical suggestions on UIs

Some other books: Bootstrapping Design and Design for Hackers
hbien
·4 года назад·discuss
ah, are these are "standalone" or static binaries with no dependencies then? I think end users may need to have the crystal runtime installed as a dependency.
hbien
·4 года назад·discuss
Great job! How were you able to do a stand-alone binary for Mac? I was able to for Linux via their Alpine/MUSL image, but never figured out how to for Mac.
hbien
·4 года назад·discuss
I've had my car broken into twice in SF. Everyone's response to this is always "you can't leave valuable things in your car". Both times, my car was empty. Nothing was stolen. I have never left anything valuable in my car -- visible or hidden, trunk or otherwise. Not sure why people keep giving me this advice.

I always keep a roll of duct tape and some cardboard in the car now. I tape up my quarter glass (the smallest of the rear windows that thieves love to break) and cover it with cardboard, to make it look like its already been broken into. I also leave my back seat down w/ a clear view into the empty trunk. That's the only thing that works.
hbien
·4 года назад·discuss
It's not in the official binary releases yet. You'll have to compile your own Crystal via `make interpreter=1` to use it. Instructions here: https://crystal-lang.org/install/from_sources/
hbien
·4 года назад·discuss
The author linked to this article to explain it: https://medium.com/@dan_manges/the-modular-monolith-rails-ar...

----

From the article:

We don’t have an app/ directory in our Rails project. All of our code is either in gems/ or engines/.

Gems contain Ruby code that does not depend on Rails. We use ActiveSupport, but we do not use ActiveRecord or ActionPack. The gems are all stateless.

Engines contain Ruby code that does depend on Rails. Persistence happens at this layer through ActiveRecord. API and Web interfaces are exposed at this layer through ActionPack.