News for hackers. Stuff that matters.

shivawu

Re:How we made JSON.stringify more than twice as fast on Monday August 04, 2025 @07:31PM (#44792556)
On the other hand, I consider v8 the most extreme optimized runtime in a weird way, in that there’re like 100 people on the planet understand how it works, while the rest of us be like “why my JS not fast”
The other thing is.. installer generally only runs once on a single machine, not sure how useful it is to “show the changes since last run”
Re:A Critical Look at MCP on Saturday May 10, 2025 @04:19PM (#43948646)
Obviously the article is making valid points. But a recent epiphany I had is, things by default are just mediocre but works. Of course the first shot at this problem is not going to be very good, very much like the first version of JavaScript is a shitshow and we’ll take years to pay down the technical debts. In order to force a beautiful creation, significant effort and will power needs to be put in place. So Id say I’m not surprised at all and this is just how the world works, in most cases.
Re:Cognitive load is what matters on Wednesday December 25, 2024 @02:59PM (#42510812)
I agree except I think 100 lines is definitely worth a method, whereas 15 lines is obviously not worthy for the most cases and yet we do that a lot.

My principle has always been: “is this part a isolated and intuitive subroutine that I can clearly name and when other people see it they’ll get it at first glance without pausing to think what this does (not to mention reading through the implemention)”. I’m surprised this has not been a common wisdom from many others.

Re:Starbase: SQLite on the Edge on Sunday October 06, 2024 @04:18PM (#41759944)
Am I right to say that this is a template on top of cloudflare durable objects, not an actual software of its own?
Re:I avoid async/await in JavaScript on Tuesday August 13, 2024 @05:09PM (#41239892)
This is I believe how ziglang works on its asynchronous story
Re:Structure of FTS5 Index in SQLite on Sunday December 17, 2023 @02:02PM (#38675362)
Yeah this is exactly what I ended up doing, like two days ago. It’s quite a pitfall… (and not optimal in terms of performance)
Exactly this. This incident has proven MSFT’s strong hands without a board seat and they don’t really need it if things do/did go off the rails.
How does it work with nodejs? Iirc they don’t support ebpf
Re:How a startup loses its spark on Sunday August 13, 2023 @12:34AM (#37106709)
Engineers at small startups are generally founder minded. They’re like founders, and are passionate about the product and the problem. That’s how they get to decide/involve in the decision about what to work on
Thanks for replying!

Another question is, what motivated you to start this effort in the first place? And why do you think it's useful. I haven't read the book, so not really sure

Great job! How long did you spend on writing the book?
Re:Show HN: Workouts – Learn by doing real developer projects on Wednesday November 13, 2019 @05:37PM (#21530479)
What you said makes sense, but only to limited set of people.

Not all people are interested/capable of learning how it works underneath. There're like, I don't know, hundreds of thousands of React developers in the world, very few of them understand how React really works underneath.

This is actually one of the goals that React was invented and popularized inside Facebook. It's just sooo easy to pick up and start building.

That being said, for our product, it's not only about React and its basics. We can totally create a workout project for React internals. That depends on what you guys need :) We started with these two projects because it seems a common useful and popular thing, and we're able to do them ourselves.

Re:Show HN: Workouts – Learn by doing real developer projects on Wednesday November 13, 2019 @05:02PM (#21530106)
Pay to get work! That's one way to phrase it, I'll remember that, LOL
Re:Show HN: Workouts – Learn by doing real developer projects on Wednesday November 13, 2019 @05:01PM (#21530098)
The first part makes perfect sense.

> That said I don’t often get asked for source code during interviews these days, so probably the ability to host the minified code for a demo would be enough.

I'm a little bit confused about this piece. Are you suggesting we host the minified code on our site + the demo? Because in the first part, I thought you wouldn't want that because employer should see this as a tutorial thing if they see anything on a third party website other than your own website?

Re:Show HN: Workouts – Learn by doing real developer projects on Wednesday November 13, 2019 @04:12PM (#21529632)
Thanks for the feedback!

Sounds like a good idea to provide a free trial. But I also want to make sure that people are actually interested in paying.

What specifically do you mean, by "how the spec is laid out, and how the solution is laid out"? I guess I understand the spec part, but what about the solution?

The from-university statement, so true, it's an art. We're trying to explore to find the perfect balance :)

Re:Show HN: Workouts – Learn by doing real developer projects on Wednesday November 13, 2019 @04:09PM (#21529597)
Thanks for the feedback!

The homepage is actually sorta old. I'll update it.

Re:Show HN: Workouts – Learn by doing real developer projects on Wednesday November 13, 2019 @04:09PM (#21529586)
That's actually... interesting. I haven't thought about it this way. I guess you mean people want it to be part their portfolio, which actually makes a lot of sense. I don't have the best answer yet, but I guess one thing is that, we could host the source code on our site and have some sort of portfolio page here.
I'm curious about why you chose to open source it. For me personally, I would be happy to pay for the hosted version if it's useful, and not worry about hosting my own.
Re:Show HN: Workouts – Learn by doing real developer projects on Wednesday November 13, 2019 @02:15PM (#21528228)
Thanks for the comment. Yes and no.

On the job seeking perspective, what you said is right. Typically what people do is signing an NDA, but even with that, the question/solution still sometimes leak on the Internet.

On the learning scenario, it's sorta true, but mostly sharing the solution would ruin the motivation, at least for me personally. If I know there's a solution sitting there, I wouldn't be interested in repeating it again.

I know it's sorta silly... But my mind works best when I only focus on the problem, and how to solve it. As long as I know there's a solution, I couldn't stop myself looking at it whenever I was stuck at any tiny bit.

Re:Show HN: Workouts – Learn by doing real developer projects on Wednesday November 13, 2019 @02:10PM (#21528145)
I don't personally know a lot about ML, but what you said matches what I heard from friends who does ML.

What's your thoughts on Kaggle? Is it similar?

Re:Show HN: Workouts – Learn by doing real developer projects on Wednesday November 13, 2019 @02:09PM (#21528136)
Glad you like it! Mind sharing a bit about your learning experience, so that I can learn from it? :)
Re:Show HN: Workouts – Learn by doing real developer projects on Wednesday November 13, 2019 @02:09PM (#21528122)
Thanks! Let me know if things work for you. You can reach me with the Intercom chat window too.
Re:Show HN: Workouts – Learn by doing real developer projects on Wednesday November 13, 2019 @02:08PM (#21528105)
Could you be more specific about what is the "spec" you're looking for?

As for examples, we do have some examples of separate tasks (non projects) in the tasks page, that should explain how things work really well.

Re:Show HN: Workouts – Learn by doing real developer projects on Wednesday November 13, 2019 @02:06PM (#21528090)
Yes, it's true. Sorry about the confusion.
Re:Show HN: Workouts – Learn by doing real developer projects on Wednesday November 13, 2019 @02:06PM (#21528086)
Sorry it wasn't clear enough. Yeah, I'll try to deliver that message more clearly...
Re:Show HN: Workouts – Learn by doing real developer projects on Wednesday November 13, 2019 @01:54PM (#21527909)
Thank you! :D
Re:Show HN: Workouts – Learn by doing real developer projects on Wednesday November 13, 2019 @01:39PM (#21527713)
Thanks for the feedback. I'll try to make it happen...

We were originally thinking since you need a computer to actually do the project, so didn't bother making the mobile version at the beginning.

Re:Show HN: Workouts – Learn by doing real developer projects on Wednesday November 13, 2019 @01:37PM (#21527696)
Thanks for that! That's exactly the idea, and the thing we build needs to be useful in the real world, not some artificial thing that never exists :)

Older »