HNHacker News
TopNewBestAskShowJobs

SpaceNugget

286 karma · joined July 24, 2017

submissionscomments
SpaceNugget··on Ferron – A fast, memory-safe web server written in Rust
I might be wrong, but I think you took offence to me suggesting you might be confused. If so, I'm sorry. I didn't mean it in a negative way, I was trying to soften my language but I phrased it badly.

Regardless, my point was that Rust _the language_ does not provide garbage collection. The Arc/Rc structs are where the reference counting is implemented. You can create reference counted objects in C, like GObjects in GLib. However, I think you would agree with most people that C does not have garbage collection. Otherwise the concept of a language having or not having garbage collection is diluted to the point of meaninglessness. At that point I think memory management is a more apt term.

SpaceNugget··on Trump temporarily drops tariffs to 10% for most countries
Do you not believe that there can be mutually beneficial trade situations where both/all parties involved might be happy?

    Pissing off your allies is good because if they're happy, that means you didn't squeeze them enough.
Is incredibly simple minded, self centered, and also just not true.
SpaceNugget··on Ferron – A fast, memory-safe web server written in Rust
(Atomic) Reference Counted structs. They count their own references, there is no external mechanism tracking all of the reference counts at runtime. Modern rust does not include a garbage collector. You might be confusing a garbage collector with the general concept of memory management, which is a feature of (AFAIK) every high level language. Many C projects also have reference counted structs, but a reference count and a call to malloc/free doesn't quite qualify as garbage collection to most developers.
SpaceNugget··on NLRB acting general counsel rescinds non-compete labor policy
Why have a federal government at all if states are perfectly well suited to all forms of human rights oversight, lawmaking, etc?
SpaceNugget··on The OBS Project is threatening Fedora Linux with legal action
whichever one(s) the owner of the name "firefox" allows to be called firefox. Open source code does not automatically mean you get to use the name of the project in your redistribution of it.
SpaceNugget··on It is time to standardize principles and practices for software memory safety
It's not that all developers are dumb/stupid. It's that even the smartest developers make mistakes and thus having a safety net that can catch damaging mistakes is helpful.
SpaceNugget··on Science YouTuber physicsgirl (Dianna Cowern) stands for the first time in 2 yrs
I'm currently on a course of antibiotics. They said the tissue around the appendix was to infected and they were scared they would rip it and damage something. They are giving me the option to have the appendectomy after I successfully recover with antibiotics but advise against it. I wish we had started with the antibiotics but here we are now.
SpaceNugget··on Science YouTuber physicsgirl (Dianna Cowern) stands for the first time in 2 yrs
I'm very sorry to hear that your father died a preventable death.

I'm currently in a Dutch hospital, recovering from an (attmpted, they ended up leaving it inside me, can't fully explain why) appendectomy. From calling the after hours huisarts number with a stomach ache to being on the operating table was less than 24 hours for me. The hospital stay have been amazing and I doubt I would have had such prompt treatment back in Canada.

But I have also had to argue with the receptionist for over 10 minutes to be able to speak with my GP here for a consult after I paid for private bloodwork with two critical results and 6 out of normal range... So I feel like it's down to luck here when they decide to take things seriously.

SpaceNugget··on In the belly of the MrBeast
This trick has been around forever, it's actually got a name, "goodhart's law"
SpaceNugget··on Matt Mullenweg deactivates WordPress accounts of contributors planning a fork
They didn't, they emphasized it.

How do you figure that the people mentioned are partners with an unrelated wordpress hosting platform?

SpaceNugget··on I had to take down my course-swapping site or be expelled
I have seen the name pop up before, but I have never actually visited slashdot before. I think it was popular a bit before my time. This link made me heavily reconsider how much "worse" I thought internet discourse had gotten in the past 10 years. It looks like way back in 2004, it was still a bunch of people who didn't read the article before commenting arguing past each other to shout into the void the loudest. I guess that's a bit comforting and a bit sad.
SpaceNugget··on The two factions of C++
Most C++ developers care greatly about the quality of their code, and suggesting that since the code isn't in a life threatening situation like a flight controller or medical device it can be buggy with no repercussions is pretty silly.

Your examples of GCC and Webkit are both projects that have spent enormous amounts of effort to be as memory safe as they can be, and have both had many memory safety related CVEs in the past. As was already pointed out, you still have to pay the cost of engineering memory safe code, even when your compiler/static analysis doesn't have your back.

SpaceNugget··on How I configure my Git identities
That certainly looks less trivial than writing it directly in your .gitconfig file. It's the same condition and setting as what's in the article, but now with a build/templating stage and a new programming language to learn with unusual syntax.
SpaceNugget··on ESP32: leaving love notes and entering demoscene territory (2022)
Emoons' editor is featured in the article. I don't understand these kinds of comments.
SpaceNugget··on Will Figma become an awkward middle ground?
Fun fact: A factoid is something that seems like it could be a fact but is in fact false. I know it's commonly misused as a synonym of "fact" and I don't really care, it's evolving as a word and that's fine. But I really enjoy the sentence "Fun fact: A factoid is something that seems like it could be a fact but is in fact false." so I can't help but share :D
SpaceNugget··on Just Use MSYS2 You Say?
> First you install VSCode then spend then next 12 hours getting docker to run dev containers inside a WSL2 image (which is just a VM that can't talk to the internet) and TADA

I hate developing on windows as much as the average arch user, but if setting up vscode with docker on windows takes you 12 hours it's a you problem. There are lots of reasons why using docker containers is appealing, especially for students.

Mostly because they generally end up installing ten different odd and outdated software packages for each eccentric overly opinionated instructor they have. Each of whom rarely care to spend enough time to help these novice students understand how to resolve the issues they sometimes create on their only computing device they need to use for all of their other classes in the process.

If the student can get docker installed, at least they are more likely to be able to keep a somewhat stable machine.

SpaceNugget··on Terminal Workspace with Batteries Included
You are thinking of byobu. Zellij is an independent replacement for tmux.
SpaceNugget··on Stop Microsoft users sending 'reactions' to email by adding a postfix header
Google maps doesn't need to be able to connect to your wifi in order to use it for location detection. i.e. You still need to add _nomap to the ssid.
SpaceNugget··on Open source 'Eclipse Theia IDE' exits beta to challenge Visual Studio Code
One of those threads is about lazy.nvim, not lazyvim. The other is a question about what to do after accidentally installing lazyvim with the wrong shell on windows, not about plugin updates breaking things.
SpaceNugget··on Microsoft Account to local account conversion guide erased from Windows 11 guide
I have had both freesync and gsync workingwith no fuss for literal years. First with a 1070 and then with a 6800xt. I have never owned an HDR monitor so I can't personally speak to how well that works, but apparently it works just fine on the steam deck.

Even if it didn't, the number of people for whom HDR support is a make or break feature is likely not very high. Non developers use linux daily with the steam deck. I set up my mom with my xps 15 with Ubuntu on it when her laptop mobo died. While she wasn't a huge fan of having to learn a new UI, she was able to use it without issue for facebook/email/netflix/taxes/online banking for a few months until a good deal on a replacement came up and I got my laptop back.

I don't think if you are objective you can call linux so far behind windows. They are on par, each has their own annoyances and strengths, but for the average person they are just web browsing machines anyway.

SpaceNugget··on Perplexity AI is lying about their user agent
How is using perplexity any more so making a copy than your browser is making a copy? Unless you are distributing your website on thumb drives or floppy disks all distribution is achieved by making a copy. That's how networks work.

Your logic would also imply that viewing a website through a VPN not operated by yourself would require the VPN operator to have a redistribution license for all the content on the website which is not the case.

How do you think google is able to scrape whatever they like and redistribute summaries of the pages they have visited without consulting everyone who has ever made a website for a redistribution license.

That being said, Copyright is not enforced or interpreted consistently. It seems that individual cases can be decided based on what people ate for lunch on the day of the case, who the litigants are, and maybe the alignment of the planets.

SpaceNugget··on U.S. clears way for antitrust inquiries of Nvidia, Microsoft and OpenAI
It does. You can't replace the X and Y in "Structuring X to avoid Y" and still end up with the same implication.

Structuring your business to avoid breaking the law is good.

Structuring your business to avoid some otherwise regular audits that would reveal whether you are breaking the law is obviously suspicious. One might think that there is a reason why getting audited might result in negative consequences for your business.

SpaceNugget··on Donating forks to the dining hall
If someone speeds up when they see a car in another lane signalling that they are going to merge, in order to prevent that car from safely merging, when the merge would have been safe to perform had they not sped up to prevent it, they are definitely driving incorrectly.
SpaceNugget··on Engineering for Slow Internet
Well, in TFA, if you re-read the section labeled "Detailed, Real-world Example" yes, that is exactly what the person was encountering. So no hyperbole at all actually.
SpaceNugget··on "No way to prevent this" say users of only language where this regularly happens
I'm not super familiar with Zig, but that appears to be the same as the rust function signature fn setData<P, B>(pins: P, bus: B, data: u8) -> B;

in rust, the P and B are resolved at compile time, not at runtime. If you wanted dynamic dispatch the types would be Box<dyn B>

SpaceNugget··on Bossware is a big legal risk
There's a (_relatively_ benign) bossware-like software on my work provided laptop. It forces updates of browsers and common software like the company VPN. When it updates and restarts my browser, it helpfully mentions that if the browser itself was unable to restore my tabs, I can always ask IT to look up what tabs I had open before the update. Maybe ask your IT services if they can help you remember what you had open a few days ago.
SpaceNugget··on Vancouver’s new mega-development is big, ambitious and Indigenous
That's for federal income tax. In BC the top provincial income tax bracket is 20.5%, so a total 53.5%. I assume the person is also including property tax, EI, MSP premiums or other vaguely government related payments, or rounding up pretty generously to get to 60%.
SpaceNugget··on Single dose of LSD provides immediate and lasting relief from anxiety, study say
I had a similar experience with a similar time frame. It didn't completely go away, but I stopped noticing it as much. Except for situations where it's hard to not notice like at night or when it's dark or I actively pay attention to it, I ignore it without having to think about it most of the time.
SpaceNugget··on Wonnx real-time webcam image classication using WebGPU
No, the inference accuracy of the image classifier is dependent on the model used and this is a demo of the code executing the model in a browser with GPU acceleration not the model itself. You can plug and play any model in the onnx format e.g. https://github.com/onnx/models. As a comparison, complaining about the "abysmal quality" of the dummy model on display here is like saying blender is bad 3d modeling software after opening it for the first time because all it models is a blank cube.
SpaceNugget··on Rust-Written Linux Scheduler Showing Promising Results for Gaming Performance
eBPF doesn't run in user space in the context of eBPF in the linux kernel. It's verified so that the kernel can be sure it won't loop forever and then gets JIT'ed and run in kernel space.

There are some user space BPF vms like https://github.com/iovisor/ubpf and Solana.

← PreviousPage 3 of 5Next →