Better HN
topnewbestaskshowjobs
Log inSign up

serial_dev

6,535 karma · joined Mar 8, 2019 (7y ago) · 1,560 submissions

Submissions

comment 1y ago · link · parent

I mean, I think you have unreasonable expectations for a 1K word blog post. Or maybe I have very low standards and no matter how disappointing a post is, I accept it... could be. However, if I read a blog post on "Rewrite React from Scratch", I'm expecting to see some reactivity and that's it.

As a reader, after I see I barely need to scroll to the end of the article (and the repo isn't very big either), I immediately understood that they aren't rewriting C++ standard library from scratch. Of course they can't give all the answers on how to maintain backwards compatibility with decades of legacy stuff with probably billions of devices and exotic use cases..

comment 1y ago · link · parent

Same, I don’t think that’s idiomatic at all

comment 1y ago · link · parent

Maybe I’m missing something because the mobile version is unreadable, but it’s basically one short page with like 3 sections of how to work with ints??

comment 1y ago · link · parent

Yes, they distinguish between a rewrite and a port (first time I heard the distinction like that, but it intuitively makes sense).

A Go port looks roughly the same as TypeScript, same “shape”, same concepts, so they don’t need to re-architect the code, they can just “translate” TypeScript to Go, then clean up where makes sense or needed. For a good while (definitely years, probably half a decade, if you ask me) while both projects are maintained, adding fixes and features will be therefore easy. The two codebases can be expected to have almost the same output and bugs, both is good for maintainability.

With Rust, the translation wouldn’t work as Rust is significantly different. This would mean rethinking everything, the architecture would diverge, resulting in two possibly very different set of bugs. With different structure, tweaking both at the same would be very difficult.

comment 1y ago · link · parent

Well, what I said is also true for Rust and Go. Sure if your Go code is faster than your Rust code, one could argue you have skill issues in Rust, but if to get the Rust program faster than your Go program requires 10x time (or more), it’s fair to say that Go is faster and simpler, even if it would be more precise to say that the Go code you can write performs as well as the Rust code you can write.

comment 1y ago · link · parent

But how can you make sure that people annotate their functions with localscope?

comment 1y ago · link · parent

I understand their improvement figures exactly as you wrote, "C could be as fast, but with a lot more effort".

Yes, if your code in Lang-X is faster than C, it's almost certainly a skill issue somewhere in the C implementation.

However, in the day-to-day, if I can make my code run faster in Lang-X than C, especially if I'm using Lang-X for only a couple of months and C potentially for decades, that is absolutely meaningful. Sure, we can make the C code just as fast, but it's not viable to spend that much time and expertise on every small issue.

Outside of "which lang is better" discussions on online forums, it doesn't matter how fast you can theoretically make your program, it matters how fast you actually make it with the constraints your business have (time usually).

comment 1y ago · link · parent

How much AI computational power do I need to "set a timer for 8 minutes"? It's all just a sham to take away the little privacy you have left.

comment 1y ago · link · parent

I'd love to de-amazon (neuter) my Alexa's, and somehow flash custom firmware on it. We have some devices around the house, and switching to the linked Home Assistant Voice would be a significant expense now.

comment 1y ago · link · parent

What are these "out of the box devices"? I looked into things a couple of years ago, and back then it was all too much effort to set things up and keep things running and integrated, so I just went with Smart Life stuff from AliExpress. But would love to have Home Assistant if it means I don't need to spend weekends just reading docs, pairing, setting things up, connecting stuff...

comment 1y ago · link · parent

I like your confidence in the competitors. Which ones do you recommend?

I need a timer, integration with smart home (turn things on and off), play songs and radio, I need to announce to my other devices. And the set up should not be a month long side project.

How much will it cost me to replace Alexa in at least 5 rooms...

comment 1y ago · link · parent

Don’t delete it, I don’t mind, and I don’t want to discourage anyone’s free speech, that includes mine, too (so please deal with my thoughts).

All I’m saying is that only because French and German government paid for this piece of open source software, maybe next time look in the mirror and ask yourself first:

Is this really about Macron vs Trump?

Instead of looking at this as me restricting your free speech, this is an intervention and I encourage you to not see Trump and Macron in everything.

comment 1y ago · link · parent

“I was just following orders” is only a bad excuse if your side loses.

comment 1y ago · link · parent

It’s really odd, indeed, that people think some reorg and a smooth politician didn’t in fact change the very nature of the surveillance companies.

comment 1y ago · link · parent

While I can honestly believe both (it was a surveillance van vs it was a sewer maintenance company), do you think that the intimidation and surveillance of Snowden or Assange won’t last until the end of their lives?

comment 1y ago · link · parent

It really is just unnecessary and arrogant gate keeping.

OP for now just wants to talk to people, I assume to understand their issues, what they tried, what makes it better and what makes it worse for them. Talking to people volunteering for a call is not dangerous.

For all we know, OP will not see any pattern that fits their hypothesis and leaves it at that.

comment 1y ago · link · parent

Interesting stuff!

Video or gif would be nice! It’s like a UI library need at least a screenshot, this thing needs a video demo of sorts.

Q: why write that the docs is by LLM? In my opinion if it’s correct, and it makes sense, I don’t care even if an alien gave it to you.

comment 1y ago · link · parent

Instagram web is so bad that it’s the only logical explanation.

comment 1y ago · link · parent

Yes, I recognized your name!

Maestro being open source, being able to run it locally AND having two providers where we can just sign up and start running our tests was an important factor going with them.

We ended up going with Moropo as their pricing matched our needs better. Even if in the future we had issues with them, we could just go to a different provider is a big plus.

comment 1y ago · link · parent

Vanilla Flutter tests, Honey, Patrol, these are the ones I remember.

And yes, amongst those Patrol was the best but at the time we decided, the Maestro experience was significantly better.

comment 1y ago · link · parent

We loved Maestro but we didn’t like the pricing and the team wanted something more predictable. We are using Moropo and it’s been great. Very affordable, good DX, and it’s all basically just Maestro with extras.

The advantages of using open source! It would be great if it became industry standard and more companies would offer it as a service.

comment 1y ago · link · parent

I’ve been using Maestro for two very large Flutter apps and it’s been so ahead of every other option is not even funny.

No long compilation times, no half baked testing dev experience, supports iOS and Android, no pumpAndSettle BS, No Flutter hacks, multiple cloud providers (cloud.mobile.dev, moropo), you can interact with native elements, so you can work with push notifications, system dialogs, system settings, email clients, web views, browsers, and a very simple test definition files that every capable QA engineer can maintain with very little supervision from developers (no need for dart expertise for writing tests).

I can only recommend it.

comment 1y ago · link · parent

I’m sorry I don’t have any questions about the game. to me the most shocking part of your post is how you were let go after 10 years at the company.

Do you know why Facebook let you and/or your team go?

comment 1y ago · link · parent

Just like nuclear fusion is always 30 years away, you can find a handyman and schedule an appointment with a voice assistant / chatbot in 6 months, and everyone will use self driving cars in 5 years.

comment 1y ago · link · parent

AI doesn’t care, the people using AI care. If you really write for other people, I’d recommend you reconsider blogging again.

Even if you write primarily for yourself (vanity, marketing, client acquisition, there is nothing wrong with that) and not for other people, I’d still recommend you publish your stuff. Not publishing will have always <= effect than publishing, even if AI slurps it up.

comment 1y ago · link · parent

Reviews have a lot of noise, but it feels like it’s still the best source, unless anyone can recommend a better alternative.

Reviews are the worse way to test this hypothesis except all the others.

1
171819
52