HNHacker News
TopNewBestAskShowJobs

joshuahutt

226 karma · joined June 10, 2014

submissionscomments
joshuahutt··on Ask HN: What's your quarantine side project?
Makes me wonder if having votes trickle _up_ the thread that produced them would make for a useful experiment?
joshuahutt··on The Knapsack Problem Is All Around Us
This was one of the first problems I tackled as a developer. My naive approach was to calculate the values of the offers independently, pick the top one, and then continue to try to apply remaining offers. Obviously, it's not the optimal solution, but I thought it worked well for the problem, because people like thinking they got a really big discount, even if their total savings might be less.
joshuahutt··on The Erlang Rationale
>As of V8 v7.3, --async-stack-traces is enabled by default. https://v8.dev/blog/fast-async
joshuahutt··on The hotel bathroom puzzle
Yes, so you have a lock on the door that you can only manipulate from your room. Unlock it when you need to use the bathroom, lock it otherwise.
joshuahutt··on The hotel bathroom puzzle
That thought occurred to me, too, but I realized that you could add locks that could only be locked from the bedroom sides.
joshuahutt··on Show HN: A site that lets you search and subscribe to “Who is hiring?”
This is my favorite one: https://whoishiring.io/
joshuahutt··on Repl.it 1.0: IDE that Grows from Playgrounds to Fullstack Apps
That's great to hear! :)
joshuahutt··on Repl.it 1.0: IDE that Grows from Playgrounds to Fullstack Apps
I've been using repl.it for a couple of (or more, I suppose) years now, and it's been very helpful to have a simple, reliable REPL to jump into, test things out, and to share code. I've turned students and colleagues to it, too. I'm excited to see where you're taking it. I hope it continues to load and run quickly.

Just wanted to say thanks for building it, and keep up the great work!

joshuahutt··on Show HN: A dating app that matches people based on their password
But the rest of the passwords wouldn't be in plain text...
joshuahutt··on So Close
A greedy one.
joshuahutt··on Show HN: Effects of House and Senate Bill on California Residents
I'm curious as to why you even used a server at all. From the looks of it, you could have shipped the server code with the frontend and saved some bandwidth.
joshuahutt··on Show HN: Effects of House and Senate Bill on California Residents
Holy history, Batman!

I dragged the sliders around for a minute, and my browser history was completely decimated by identically-named entries.

Maybe replace the existing state rather than pushing the new one?

joshuahutt··on Firebase Predictions Beta
What's the pricing model?
joshuahutt··on Node.js 8 Moves into Long-Term Support, Node.js 9 Becomes Current Release Line
If you're not using HMR and you're worried about iteration time, you're missing the biggest win. The time it takes to transpile a function is negligible.

http://matthewlehner.net/react-hot-module-replacement-with-w...

joshuahutt··on Ellen Pao: My lawsuit failed. Others won’t
The person you replied to already pointed out that the difference has no bearing on their ability to do the work in question, and that, as such, men and women should be treated equally in that area.

>Where those biological differences aren't effective (e.g. typing on a keyboard), then yes, men and women should be treated the same.

You argued against a strawman.

joshuahutt··on Error Handling in React 16
I was skeptical at first, but after reading through how it works and why it was done, I love it. In fact, it would have made quite a few bugs much easier to track down.
joshuahutt··on The quitting economy
I discovered early on that, at least in larger companies, advancement in a role is based on your strategic value to the company, and not even remotely related to your work ethic. If your manager is willing to go to bat for you, you stand a chance of getting a meaningful raise. And that depends on whether you can demonstrably make their job easier.

Working "hard" only serves to let you feel good about yourself.

joshuahutt··on Ask HN: What's your biggest struggle with Microservices?
This is common, but it shouldn't be. If you have setup scripts to run each service, or if they're containerized, it's just a little additional work to get to where you can spin them up with a single command.
joshuahutt··on Ask HN: What is your password management solution?
I used KeePass on Windows, and I use KeeWeb on Mac. KeeWeb is fast to search, allows for the inclusion of arbitrary data and tags, has a password generator, and it does autotype, which is nice. Also, it's open source.

http://keepass.info/ https://keeweb.info/

joshuahutt··on Idiomatic Redux: Implementation and Intent
An underrated alternative, at that. I had a great experience transitioning from Redux to MobX.
joshuahutt··on Idiomatic Redux: Implementation and Intent
I went from Redux to MobX in one of my recent projects and it was a breath of fresh air. It's so much easier to work with, and more performant in my situation, too.
joshuahutt··on Web Scraping: Bypassing “403 Forbidden,” captchas, and more
Where would the key be generated?
joshuahutt··on Apple starts rejecting apps with “hot code push” features
I always thought they were Eggcorns.

http://eggcorns.lascribe.net/

joshuahutt··on What makes WebAssembly fast?
> a real language like C#

While I can agree that C# has tons of language features that make it more powerful than JavaScript, I take issue with the idea that those features are the defining characteristic of a "real" language. I think there are many reasons to choose C# over JS, but there are also a non-trivial of reasons to make the opposite choice.

https://blog.codinghorror.com/the-principle-of-least-power/

joshuahutt··on DynamoDB cannot store empty strings
I enjoyed RethinkDB a lot. Sad to see the business go belly-up.

Have you evaluated Couchbase? I've been looking for an excuse to try it, but I usually just fall back on Postgres.

joshuahutt··on Twitter and Yes, Inc
...the opposite of a "shameful acquihire"?

Maybe they couldn't get him/them to abandon the app without buying it out.

joshuahutt··on Feds Walk into a Building and Demand Everyone's Fingerprints to Open Phones
Authorization typically means what actions the authenticated user is allowed to perform, not that the authenticated user has herself conveyed some kind of approval.
joshuahutt··on Why I'm Not a React Native Developer
I must not be a true programmer, then. :/
joshuahutt··on Top-level await in JavaScript is a footgun
Also, if you're trying to do something after multiple async operations, you've got to manually count your callbacks. (As opposed to using Promise.all)
joshuahutt··on Some bad Git situations and how I got myself out of them
You can use `git stash apply` to apply the stashed changes without removing them from the stash.
← PreviousPage 3 of 4Next →