HNHacker News
TopNewBestAskShowJobs

38

200 karma · joined July 12, 2023

submissionscomments
38··on Lesser known tricks, quirks and features of C
> All OSes, System utils etc. are still done in C/C++.

first of all, no. plenty of OS are made in other languages. also, the big OS WERE written in C, and only remain so in order to avoid redoing millions of lines of code.

> and then a interface to them are given through wrappers in other languages

again this is only done because the OS is using an outdated language, so people are forced to work with it.

> C is still in the top five in the TIOBE index today

that doesnt matter, this does:

https://madnight.github.io/githut/#/pull_requests/2024/1

38··on Lesser known tricks, quirks and features of C
> C appears more and more relevant these days

C is not relevant any more, not sure what world you are living in. it only has any relevance because it was the best option at the time decades ago, and so people are forced to use it when making syscalls. thats it.

38··on U.S. court orders LibGen to pay $30M to publishers, issues broad injunction
Not sure how you missed this from my previous comment, but here it is again

> Not 1:1, but it's absolutely correlated

38··on GitHub won't let me turn off 2FA
Awful take from lobsters:

> The warranty thing is subtle, because open source software has developed an unwritten social contract that is different from what the license says.

No, it hasn't. Some entitled people expect paid software and support from a free product, and get confused and upset because they didn't bother to read the license.

> Authors who publish code are expected to take some responsibility for it, at minimum patching security issues, and reasonably guarding commit access to the repo.

Nope. License makes it extremely clear that no warranty is provided.

38··on U.S. court orders LibGen to pay $30M to publishers, issues broad injunction
> a download is not a lost sale

It very much is. Not 1:1, but it's absolutely correlated. I've made several purchases for things that I tried to pirate and couldn't find.

38··on Lesser known tricks, quirks and features of C

    > int (*ap1)[10] = &arr;
Wow that's garbage syntax. With Go it would be

    var ap1 *[10]int = &arr
38··on Rawdrawandroid – Build Android apps without any Java, in C and Make
I am not a fan of Java, but going from Java to C is not an improvement.
38··on Rawdrawandroid – Build Android apps without any Java, in C and Make
Make? Jesus Christ people are still using that? It's like people don't realize that other languages have been created in the last 20 years
38··on HTTP: , FTP:, and Dict:?
Given that most current AI generated code is dogshit, I would say we are well off from that.
38··on Cloudflare misidentifies Hetzner IPs as being located in Iran
I mean, so? Why should it matter where they are located?
38··on Why wordfreq will not be updated
its so easy to solve this problem, not sure why anyone hasnt done it yet.

1. build a userbase, free product

2. once userbase get big enough, any new account requires a monthly fee, maybe $1

3. keep raising the fee higher and higher, until you get to the point that the userbase is manageable.

no ads, simple.

38··on Keyhole – Forge own Windows Store licenses
thats not what the discussion is about, stop hijacking the thread to push your narrative.
38··on Keyhole – Forge own Windows Store licenses
ah yes, the legally unenforceable overbroad terms of service? those?
38··on Keyhole – Forge own Windows Store licenses
right, so at this point you dont own the device any more, you are renting it.
38··on Keyhole – Forge own Windows Store licenses
the "but muh security" argument is absolute horseshit 99% of the time. and the 1% that actually need it, are going well beyond automatic updates to secure their systems.
38··on Keyhole – Forge own Windows Store licenses
Exactly why you should never, ever, enable auto update, for anything. Too often it ends up breaking something or patching something you don't want patched. It allows a profit seeking company to enable or disable software functionality on your device, regardless if it's in your interest.
38··on Malaysia started mandating ISPs to redirect DNS queries to local servers
You can spoof the TLS Hello since at least 2021
38··on CSS @property and the new style
Obviously you don't know what a VPS is
38··on CSS @property and the new style
people seem to forget that computers exist, and these things call programs exist, that can execute on computers, even if a browser is not even installed on the computer
38··on CSS @property and the new style
The web doesn't need to be anything more than a document delivery program. You thinking it needs to be an app delivery system is a deep error in judgement
38··on CSS @property and the new style
I agree, God forbid a native do something better than a web app. Let's make web dev even more complicated, I was just saying how simple it is currently
38··on The web's clipboard, and how it stores data of different types
rich text content should never be the default paste. just give me the damn text I copied
38··on Language and shell in Go with 92% test coverage and instant CI/CD [video]
how is this an on topic comment?
38··on "Everything" is a filename search engine for Windows
source:

https://voidtools.com/Everything-SDK.zip

38··on Working with Protobuf in 2024
such an awful format, I wish people would stop using it
38··on BuffDB is a Rust library to simplify multi-plexing on edge devices
you're not getting it. imagine if every single public website today using JSON switches to protobuf, you instantly lost most if not all ability to reverse those sites.
38··on BuffDB is a Rust library to simplify multi-plexing on edge devices
just imagine a world where protobuf replaces JSON, would you really want that? you're not thinking big picture
38··on BuffDB is a Rust library to simplify multi-plexing on edge devices
> Self-describing is point-less for serializations

you couldn't be more wrong. what happens when you lose the schema, or never had access to it in the first place? think from the point of view of reverse engineering

38··on BuffDB is a Rust library to simplify multi-plexing on edge devices
not self describing. if it was just the field names I could deal with that, but even the values are ambiguous, since the same type is used for Bytes and embedded Messages. the worst part is the wire type integer has two unused values, so they easily could have added a wire type for embedded messages
38··on BuffDB is a Rust library to simplify multi-plexing on edge devices
> protobuf

such an awful format, I wish people would stop using it

← PreviousPage 4 of 23Next →