HNHacker News
TopNewBestAskShowJobs

jh3

414 karma · joined October 22, 2010

submissionscomments
jh3··on Living Dangerously with Claude
What are you doing to keep a JSONL per session? Or is this something built in? I’m interested in estimating token costs in this way.
jh3··on Shave and a Haircut
Wow, so "two bits" is what Roger says in response to Judge Doom in Who Framed Roger Rabbit. I can hear it now, but I never actually knew what was said.
jh3··on Cousins are disappearing. Is this reshaping the experience of childhood?
Sounds like you're the miserable one?
jh3··on Acquia, my Drupal startup
I thought Drupal 6 and 7 were great, but this was about 5-10 years ago. Haven't looked at it since then. It was the first CMS I worked with professionally, so I may be biased, but once I "got it", it became quick to add features (not "Features", which wasn't very fun). This was before everything went headless and javascript :)
jh3··on Had a call with Reddit to discuss pricing
First time hearing about this client. I primarily use the Reddit iOS app, which seems fine. What's better about Apollo?
jh3··on Ask HN: Heavy Metal Music for Programming?
To name a few: YOB, Animals as Leaders, Neurosis, Pelican, Russian Circles, Isis :)
jh3··on The hunt for Nigerians who can change into cats
Exactly! Parental relief.
jh3··on The hunt for Nigerians who can change into cats
Now that I have my own children, I'm convinced this myth is a delay tactic perpetuated by parents :)
jh3··on Ten years of OP-1
Yeah I can see that. The one I had saw regular use when in my possession, but I had it for less than 6 months iirc. It was still in excellent condition.
jh3··on Ten years of OP-1
They retain value. You could buy one used and sell it for more, if not the same price you purchased it at. I think the worst case is you'll essentially be renting it for $100-200 if you really don't like it. This was my experience, anyway.

It's a great device even if your job isn't music production. Easy to use, lots of fun, though I didn't enjoy the form factor.

jh3··on Ask HN: Who is hiring? (January 2018)
You can copy/paste the code into the console of your browsers dev tools.
jh3··on Three Paths in the Tech Industry: Founder, Executive, or Employee
What you're saying is false, but what you're quoting is correct. I definitely wouldn't say "always".
jh3··on Get started making music
The Octatrack is a fun box that can basically replace Ableton: https://www.youtube.com/watch?v=yjavTXRvZBE
jh3··on Squash your commits
> I still fucking hate rebasing and get tripped up by it on the few times I end up having to deal with it.

When I had no understanding of what was going on, I didn't like it either. Now that I use it frequently, I understand it better, so I don't hate it anymore.

I like running `git rebase <main-branch>`, where <main-branch> is typically master, in my-new-thing branch because it lets me deal with any conflicts from upstream one by one.

I also like running `git rebase -i` in my-new-thing when I have a bunch of commits with redundant messages that I want squashed into a single commit before I push the changes. Basically anything that requires messing around with a range of commits is a good use case for `git rebase -i`.

Why do you hate it so much? There's really not much going on that you should have to hate. To me it's like a bunch of small, compartmentalized merges.

jh3··on Move Fast without Breaking Things
> You don't see structural engineers slapping together the first thing that works and patching the building later when parts of it fall down.

That's because if they mess up the first time people can die.

I'm guessing the likelihood of death due to a bug in most web applications is probably much less than that of a bridge :)

Software is great because it's possible to iterate quickly. But ultimately, you have a point. Developers should be willing to fix bugs they've created and/or come across in their projects. We should also try to limit the potential of bugs by releasing small chunks of functional work as often as possible. "Releasing" in this sense can mean to production or just to your qa/test/dev/stage environment. It's just important to have many eyes on the product before it's live.

jh3··on Real-Time Django: Get Started with Django Channels
"Django was born in the fall of 2003, when the web programmers at the Lawrence Journal-World newspaper, Adrian Holovaty and Simon Willison, began using Python to build applications. It was released publicly under a BSD license in July 2005. The framework was named after guitarist Django Reinhardt."

Source: https://en.wikipedia.org/wiki/Django_(web_framework)#History

jh3··on If a thing is worth doing, it is worth doing badly
Everyone else is just overanalyzing everything :)
jh3··on How I got a CS degree with pen and paper and why I'm doing it again
Taking notes on a computer by itself never really helped me learn. I would always write down on paper everything I typed on a computer during class. Doing this would help solidify the lesson in my mind.
jh3··on Drupal 8.0.0 released
project_root/sites/example.com

project_root/sites/example.com.a

project_root/sites/example.com.b

project_root/sites/example.com.a.123

project_root/sites/example.com.a.234

Create these directories. Add a settings.php file to each. Add stuff to sites.php if needed. example.com.a and example.com.b should definitely work. Not too sure about the other two because I haven't created a site in a multi-site setup that is 2 subdirs deep, but it is easy enough to try.

You may also need to symlink the subdirectories (e.g. a) in project_root. See "Subdirectory multi-site" here: https://www.drupal.org/documentation/install/multi-site

jh3··on A Good Vimrc
Here's what works for me:

capslock remapped to ctrl jw for escape in vim

jw is convenient if capslock is used as a control key. I had to pay attention to what I was doing in a vim file in order to remember what I had escape mapped to :)

jh3··on Michael Crichton and Computers
I remember reading Timeline and Prey in high school. They were amazing books to me at the time. I just couldn't put them down. I never cared too much about how scientifically accurate they were though. That's like complaining about the plot holes in Back to the Future. It's entertainment, so to me he did his job well.
jh3··on Ask HN: How do you familiarize yourself with a new codebase?
xdebug and phpstorm is great.
jh3··on GitFlow considered harmful
Committing often allows you to remember the small changes you made throughout the feature. If you let a file sit in the staging area for hours, days, weeks, you will most likely have a hard time remembering why you made all the changes.

Is there a way to do this with the staging area? o.O

jh3··on Ask HN: What are some of the best HN comments that you've read?
Yup :)
jh3··on Ask HN: What are some of the best HN comments that you've read?
bdunn on justifying your costs as a freelancer: https://news.ycombinator.com/item?id=8705179

patio11 and the Fair Credit Reporting Act: https://news.ycombinator.com/item?id=7135833

spolsky on detecting toxic customers: http://news.ycombinator.com/item?id=1987223

tptacek on naming your company: http://news.ycombinator.com/item?id=4684845

The journey of Flappy Bird: https://news.ycombinator.com/item?id=7207943

Programming is terrible: https://news.ycombinator.com/item?id=6469360

On being a consultant: https://news.ycombinator.com/item?id=6443135

Why Do So Many Incompetent Men Become Leaders? https://news.ycombinator.com/item?id=6263458

Are designers crazy? http://news.ycombinator.com/item?id=5002262

Why learning to code is so hard: https://news.ycombinator.com/item?id=4933178

"I don't understand": http://news.ycombinator.com/item?id=4930262

death and regrets: https://news.ycombinator.com/item?id=4540459

jh3··on Wearing a Suit Makes People Think Differently
Depending on how you think about it, purchasing a suit is an investment.
jh3··on Make Money Online: Documenting 10 Years of Failure
> How come you never tried to make something people wanted?

When you're making tens or hundreds of thousands of dollars a month in your 20s, why would you want to do something different?

jh3··on Show HN: The Daily Drop – Discover the Newest EDM Tracks
This is how it's done :)

Also, have you actually gone into record stores and previewed records before buying them? I may purchase this record player[1] as a way to check out records at the store, but I wasn't sure if this was a thing store owners typically allow. Any insight?

[1] http://www.amazon.com/Vestax-VES-HANDYTRAXUSBBLK-Handy-Trax-...

jh3··on Finish one thing today
That's procrastination :)
jh3··on Computers Are Not Designed for Productivity
Run everything in X11. I wish I knew of another way to run a decent tiling manager.
Page 1 of 7Next →