HNHacker News
TopNewBestAskShowJobs

SpaghettiCthulu

358 karma · joined July 22, 2020

submissionscomments
SpaghettiCthulu··on List of Companies Affected by the Global Microsoft-CrowdStrike Outage
Kernel module/driver sandboxing, if it cannot be feature complete (I believe it can), should be optional, opt-out, and strongly recommended.
SpaghettiCthulu··on Rye Language
> fungi: rust

Um, rust is an iron oxide, not a fungi.

SpaghettiCthulu··on 1JPM: A Maven/Gradle alternative in a single Java file
Neither. The corrupted cache is in the user-level gradle cache directory, which is untouched by `gradle clean`.
SpaghettiCthulu··on 1JPM: A Maven/Gradle alternative in a single Java file
No, running `gradle clean` only cleans the project-level cache as far as I can tell. It leaves the user-level cache untouched (as far as the issue is concerned). Not sure about that flag you mention though. I'll have to look into that.
SpaghettiCthulu··on Jia Tan "JiaT75": Added error text to warning when untaring with bsdtar (2021)
In this case it doesn't matter whether it's C or Rust. Both languages, if using their default string formatting facilities, are vulnerable.
SpaghettiCthulu··on New cars to be fitted with automatic speed limiters across Europe from this week
It's annoying as hell. It's my car. Just let me turn the damn thing off permanently.
SpaghettiCthulu··on 1JPM: A Maven/Gradle alternative in a single Java file
I strongly disagree. Gradle is extremely buggy where it matters the most. For instance, if I cancel a build part-way through and then run it again, gradle assumes that the in-progress JavaCompile task is completed, and proceeds to generate a Jar file containing resources but no classes. To fix this, I am forced to make useless changes, or clear my entire user-level gradle cache.
SpaghettiCthulu··on Reverse engineering Ticketmaster's rotating barcodes
Sure, it's possible, but come on, it's not practical.
SpaghettiCthulu··on QuickJS, the Next Generation: a mighty JavaScript engine
Yes, and yes. There are libraries for embedding lua in rust programs that allow you to trivially switch between Lua, LuaJIT, and Luau.
SpaghettiCthulu··on PostgreSQL and UUID as Primary Key
Not just integration with other services. It would completely break brower history too!
SpaghettiCthulu··on I have no constructor, and I must initialize
I think it would be perfectly legal to zero-initialize the entire thing and then default-initialize, because initialization assumes the value is undefined.
SpaghettiCthulu··on I have no constructor, and I must initialize
> - Java constructors can return the object before they complete construction, finishing at a later time; this is visible in concurrent code as partially constructed objects > > - Java constructors can throw exceptions and return the partially constructed object at the same time, giving you references to broken invalid objects

Java constructors do not actually return the object. In Java code, it would appear to the caller as though the contructor returns the new instance, but that is not really the case. Instead, the new object is allocated and then the constructor is called on the object in (almost) the same manner as an instance method.

Additionally, Java constructors can only leak a partially initialized object if they store a `this` reference somewhere on the heap (for example, by spawning a thread with a reference to `this`). The assertion that this gives you a reference to a "broken invalid object" is only potentially correct from the perspective of invariants assumed by user-written code. It is perfectly valid and well-defined to the JVM.

> - Just.. all the things about how calling super constructors and instance methods interleaved with field initialization works and the bazillion ordering rules around that

This is a gross mischaracterization of the complexity. There is only a single rule that really matters, and that is "no references to `this` before a super constructor is called". Until very recently, there was also "no statements before a super constructor is called".

> - Finalizers in general and finalizers on partially constructed objects specifically

Finalizers are deprecated.

SpaghettiCthulu··on FUTO Keyboard
Unexpected keyboard [^1] has been a game changer for me. As far as I know, it's the only full-size keyboard that features swiping towards the corners of keys for numbers and special characters instead of tapping and holding. As a bonus, it weighs in at under a megabyte.

Edit: another comment mentioned Thumb-Key [^2], which has a similar swipe feature.

[^1]: https://f-droid.org/packages/juloo.keyboard2/ [^2]: https://github.com/dessalines/thumb-key

SpaghettiCthulu··on Matthew Garrett: "Quick Assange frequent misconceptions thread"
You're seriously trying to compare what WikiLeaks exposed to a bunch of hollywood movies?
SpaghettiCthulu··on EU Council has withdrawn the vote on Chat Control
Because according to these laws, it's criminal even if a child takes their own picture, even if they don't distribute it.
SpaghettiCthulu··on Perplexity AI is lying about their user agent
That's not how it works in this case. The author asked the AI for information about a specific page.
SpaghettiCthulu··on Perplexity AI is lying about their user agent
You said "NOBODY" (pretty sure the all caps means it's extra true).
SpaghettiCthulu··on Perplexity AI is lying about their user agent
> What you cannot do is dictate how my server responds to your request.

The client is under no obligation to be truthful in its communications with a server. Spoofing a User-Agent doesn't "dictate" anything. Your server dictates how it responds all on its own when it discriminates against some User-Agents.

SpaghettiCthulu··on Perplexity AI is lying about their user agent
You're missing the part where Perplexity still makes a request each time it's asked about the URL. You still get the traffic!
SpaghettiCthulu··on Flameshot – Open-source screenshot software
It doesn't work at all for me under hyprland.
SpaghettiCthulu··on XScreenSaver is available on Android. Google requires a privacy policy
Part of the problem is that many users will be just click "Yes" without thinking.

The other part of the problem is that the apps receive an exception or equivalent at all. IMO, they should receive fake access that returns either no items or garbage data as applicable.

SpaghettiCthulu··on Ice – open source menu bar manager for macOS
If true, that's a wild permissions model
SpaghettiCthulu··on A secure embedded operating system for microcontrollers
What a selfish, narrow-minded take.

If I want to modify it, I prefer it to be in a language I understand. The syntax of C/C++ is incomprehensible to me.

See? Anyone can do it. That genre of argument is meritless.

SpaghettiCthulu··on The CompCert C Compiler
But your struct cannot provide an indexing operator (right?)
SpaghettiCthulu··on JetBrains releases RustRover IDE for Rust development
The configuration management in JetBrains' products is far worse than in VSC. On the JetBrains side we have a configuration system based on a tree of XML files, some of which contain system-specific configuration and should not be checked in to version control (sometimes in the same file as shared configuration!). On the VSC side we have a handful of json files where system-specific configuration can be stored in the user's home directory, allowing for easy version control of shared configuration. What killer configuration management feature do JetBrains' products offer that outweighs the aforementioned flaws?
SpaghettiCthulu··on Another US state repeals law that protected ISPs from municipal competition
You really want to give the government a monopoly on internet connectivity?
SpaghettiCthulu··on Elvish, expressive programming language and a versatile interactive shell
I, like the person you replied to, will surely remember it for good thanks to your reminder.
SpaghettiCthulu··on Discord Applying Forced Arbitration - opt-out before it is too late!
That article is from the previous clause added in 2018, if I'm understanding correctly. Does it still apply to the new clause?
SpaghettiCthulu··on Today Microsoft Banned My Country Iran from Minecraft
Not the most approachable option, but you can also setup a mod dev workspace and launch that way. Or download and launch the game directly with a `java -jar ...` comand.
SpaghettiCthulu··on Android 15 may make it harder for sideloaded apps to get sensitive permissions
That's up to the user, not the developer.
← PreviousPage 3 of 11Next →