Better HN
topnewbestaskshowjobs
Log inSign up

doodlesdev

3,169 karma · joined Nov 9, 2020 (6y ago) · 852 submissions

Hi, how's your day?

https://www.doodlesdev.com

Submissions

comment 3y ago · link · parent

I trust them more because I choose who mantains the repos I use. I trust them more because I already have to trust them: they provide almost every single piece of software I run on my machine. In this case I'm on Fedora which has a good track record for security, stability, and only allowing free software.

It's not to say that I don't trust the Rust project, nowadays I kinda have to, but curl sh installation is messy and separated from the rest of the system. If they just packaged rustup into an rpm and set up their own repos I could point dnf to it would make system maintenance so much easier.

I just want them to use the tools that already exist instead of reinventing the wheel with an esoteric 700 lines-long sh script. This applies to Rust and any other kind of tooling that does the same installation workflow. I understand the reasoning behind it, but I believe the other options should also be considered and supported.

comment 3y ago · link · parent

I love Rust but I have to agree installing rustup like that feels like a crime to my machine. For some time I would only install rustup when inside an air-tight virtual machine since I can't really bother to read the sh script every single time I'm going to download it.

It's 2023, we have package managers, we have packages, we have containers, why are we still shipping software like this? Even worse is the fact that you can generally find Rust in your package manager of choice but it will often be outdated and you won't be able to choose your versions the same you would with rustup.

I don't know, I'm not sure I have a solution, but I just wish maintainers would put a little more effort into trying to support package managers as the de-facto way to set up a tool chain such as Rust. Even if you want to keep the meta-package manager such as nvm or rustup, at least let me download _them_ from my distros repositories instead of running a random sh script from the internet.

comment 3y ago · link · parent

Had the same problem as OP, residential IP. It's apparently Cloudflare blocking me. Doesn't bother me, I'll just find something else to read.

Really, honestly people, PLEASE stop using Cloudflare, I beg you.

514.

Help Us Sustain Open-Vsx.org(blogs.eclipse.org ↗)

3 points · by doodlesdev · 3y ago · discuss

comment 3y ago · link · parent

I, for one, welcome Our AI Overlords.

comment 3y ago · link · parent

Yes they were. It says they stored billing address and some pieces of credit card data.

comment 3y ago · link · parent

A few questions this still doesn't answer: why was there credit card data in their Redis cluster, and why were they the only ones affected that I know of? Still, this response seems much more reasonable than what I was expecting from OpenAI considering the seriousness of the issue. Anyways, thank you very much for the summary, I didn't find this blog post in the publications that were talking about the issue.

comment 3y ago · link · parent

   > we had a significant issue in ChatGPT due to a bug in an open source library, for which a fix has now been released and we have just finished validating.
WHICH open source library? Seems like they fucked up and are looking for a scapegoat. There's no excuses for issues like this. Also, I believe this is yet again one more reason for companies and developers to consider row-level security [0], it simply erases the possibility of a malformed query returning data that shouldn't be accessible altogether.

[0]: https://www.postgresql.org/docs/current/ddl-rowsecurity.html

comment 3y ago · link · parent

Yup. Additionally, if you need portability (i.e. don't want to depend on the system libc) you may use Gnulib [0].

[0]: https://www.gnu.org/software/gnulib/manual/html_node/Multith...

comment 3y ago · link · parent

If you need a framework: NextJS (no, don't suggest Remix, every single good feature about it has been copied by every library and their grandpas)

If you only need a bundler: Vite

If you want to be happy: Don't.

comment 3y ago · link · parent

Just keep in mind that SSR in Angular is a bit more painful than in other libraries. It's also quite bloated in both development and production. Other than that I quite like it. RxJS takes some time to learn but pays off well.

If you're ok with learning something with less adoption but similar batteries-included feel I'd recommend learning SvelteKit. I see it do a lot of things that Angular does well without failing were it's bad (i.e. breaking changes every six months).

comment 3y ago · link · parent

Welcome to the club. Relax, the pain eventually passes. After you leave webdev, never before that.

comment 3y ago · link · parent

One can dream.

comment 3y ago · link · parent

   >  My phone went from 50% to zero halfway through the final interview before onsite. I ran to my car to charge and called back 10 minutes later. Interview was dead. Such is life.
That must've been extremely frustrating. Just out of curiosity, what was the phone lol? I'd be _MAD_ if that ever happened to me. Like really mad. But as you said, such is life.

comment 3y ago · link · parent

I think I just found a reason to use Twitter. This might be the best Twitter account I've ever seen lmao.

comment 3y ago · link · parent

Website is down for now. Archives:

https://web.archive.org/web/20230323094802/https://foundatio...

https://webcache.googleusercontent.com/search?q=cache:https:...

comment 3y ago · link · parent

Every third game one player would get voted off the team in a 5v5 game, and you don't remember many problems? That's a serious issue, it absolutely isn't normal.

comment 3y ago · link · parent

Wait, what? You think users shouldn't have the right to resell hardware _they bought_? Can you clarify further what you disagree with here?

edit: Oh I misread, I thought you disagreed with him, sorry.

comment 3y ago · link · parent

What about Mono and Unity?

comment 3y ago · link · parent

Note: prefer uBlock Origin over getadblock since it's FOSS

531.

The Rise of Meson (2021)(gms.tf ↗)

2 points · by doodlesdev · 3y ago · discuss

comment 3y ago · link · parent

Yeah sorry about the ninja edit. Very often I reply to a comment without actually finishing and then edit it. I thought Hacker News was delaying my comments by 1 minute though according to my configs? Anyways, I agree that you don't really need a deep understanding of the hardware nowadays to write C, but my point is that it's still useful to learn because you still need more understanding of the hardware than you need to write something such as Ruby.

The point the OP was making is that it still forces you to learn more about the hardware than other languages. Arguably, it also forces you to learn more about the software itself with things being much more explicit than in a modern complex language such as Rust. I'm also just not aware of _any_ language that actually maps well to what the CPU is doing nowadays since they are such complex pieces of silicon.

comment 3y ago · link · parent

It still is more low level than any other language currently (that can be run on multiple architectures) which I think is what the OP was saying. If you compile C without compiler optimizations, it will generate code that is exactly what you wrote. The argument the paper makes is that the instructions available in modern processors and the way we use them to optimize code (such as instruction level parallelism) is a consequence of C being so important despite being made for much older and much simpler machines. Because if the generated binaries from any C compiler without optimizations isn't low level then you might as well say the same about x86 assembly, and then you're basically out of options.

comment 3y ago · link · parent

For web UIs my preferred framework is SvelteKit. It's based on Svelte which is more of a language than a library but code is basically HTML, CSS and JavaScript, it's simple and fast. I really want to migrate to using something such as Yew for scripting web UIs though, I can't take JavaScript/TypeScript anymore lol.

comment 3y ago · link · parent

GitHub sponsors has been out of beta for a long time, they take 10% of the donations if the code is under an organization which is very common for OSS projects. Of course one of the ways to get around it is to sponsor the lead developer, which is sometimes available as an option. Or just sponsor the developer some other way which doesn't go through Microsoft such as Liberapay or Opencollective.

comment 3y ago · link · parent

I think the fact it's so "archaic" or "outdated" is actually a good thing, by increasing friction you make sure only well thought patches make it to the maintainers. Take, for example, how hard it would be to keep patches high quality if they were using GitHub as an upstream instead of a mirror. Also, it's really cool because it's truly decentralized, email is one of the last protocols that are decentralized and well-supported. Overall, I like it and I think it shouldn't change.

537.

Everything You Never Wanted to Know about C++'s random_device(pcg-random.org ↗)

2 points · by doodlesdev · 3y ago · discuss

comment 3y ago · link · parent

The original API when it was originally released was much saner. That was before JavaScript even had "classes" which meant React classes didn't have nearly as much boilerplate. After they migrated the API for React class components to be JavaScript classes it all went downhill. And then the functional people came and the rest is history.

comment 3y ago · link · parent

   > Or more cynically, "Industrial Society and Its Future".
I always see myself calling the unabomber crazy, but then I remember he was a mathematician which studied in the MIT and he was probably much smarter than I could ever dream of being. "The Industrial society and it's consequences was a disaster for the human race" is something that passes through my mind somewhat often, sometimes jokingly, sometimes not. Maybe he did have a point.

edit: He studied at Harvard, not the MIT, memory failed me there. I don't condone any of his actions (i.e. bombing people).

1
171819
29