skysight-inc/HackerNews huggingface dataset:
> Android phones have gone from ExtUSB to mini-USB, to micro-USB, to USB-C in the same timeframe

Except, so did all of the other devices that charge and connect to computers. Go-pros and gamepads and what-have-you required the same cables and went through the same churn, so buying a new cable wasn't another extra cable to carry around in addition to the ones you need for other things. Apple doesn't get to claim that. If I want to use my bluetooth headphones with my iphone on a trip I have to bring a USB-C cable and a lightning cable.
I've had a similar experience wrt. it getting scorched, but I've found that you can fix it my cleaning it thoroughly.
Just how many web scraping tools do we need? It seems like every month there's a new web scraper on HN, is that really such a common task that we need dozens of tools?
> They are not identical. The aspects you are willing to ignore are more important than the aspects you are willing to accept. Robbery is not just another way of making a living, rape is not just another way of satisfying basic human needs, torture is not just another way of interrogation. And XML is not just another way of writing S-exps. There are some things in life that you do not do if you want to be a moral being and feel proud of what you have accomplished.

Wow.
Custom Eminem Roast Sounbytes - $10 a pop...highschool just got a whole lot crueller :/
Around the time xml was released I asked a (smarter than me) friend what the hubbub was. And he got a pained look on his face and said. People think it'll solve a problem and it won't.

His reasoning was the problem isn't standard file formats. It's turning those into something a program can operate on as data[1]. And XML does not do that for you. No you have suck it in and then manually transform it into 'data'. So it just moves the problem from one place to another place. Which is a trash solution usually.

Far as I know JSON broken as it is does do that. At least with dynamic/ish languages.

[1] gross stuff people used to do like copy data structures in memory directly to a file actually solves that problem while being a maintenance nightmare.
> It feels very wrong, but apparently that's how taxes work. Kind of makes SSN's feel less secure/protection-worthy than I used to believe shrug

It is very right, because social security numbers are not meant to be a secret.

What is wrong is being liable for a debt (or whatever) because a creditor failed to properly verify the identity of a borrower.

Those whole situation can be easily fixed by removing the ability of lenders and governments to claim they verified identity by simply asking for SSN/date if birth.

We have pocket computers with video cameras that can record and transmit spoken agreements within seconds, and we have a nationwide network of USPS offices that already do in person identity verification for issuing passports. Executing the solution is basically done, all that is left is political.
"Military level" is another means-nothing term.

Could be anything from average phishing or some 0-day that happened to be found by gov employee or phishing email, to "a bunch of men kidnapped target and beat them till they gave them access
As someone who has circled back into Java land recently after a number of years away, it is startling the extent to which the use of XML in this environment has boiled away to nearly nothing (the only XML file in our projects is the Maven POM), when these languages were once joined at the hip. The addition of annotations into Java has been a game-changer here, but also related ecosystems like OpenApi are using Json and even Yaml in preference.
This is nonsense. What they're saying is that we need to start designing habitation to be more localized and less dependent on commuting and endlessly expanding suburbia. Suburbs, particularly the US variety (and Australia) are terrible because of the lack of local facilities, hospitality and retail.

Cities need to downsize but at the same time regionalize. Smaller cities with HSR and equivalent will work to reduce the need for individual vehicles, which saves on costs, environment, energy consumption, and people's overall health.

Working in a local community is much better for everyone involved than people spending 1+ hours each way every day to get from their home to their work and back again.

The same applies to retail, hospitality and most other service industries.

Manufacturing (particularly heavy industry) is better to be localized to transport hubs (rail, river, sea ports) because of the tonnage that has to be moved in and out, as well as localizing the polluting and environmental degradation (no one really wants to live next to a steel mill).

The latest CT is that the WEF is trying to somehow lock people into their suburb and restrict freedom of travel. That's complete and utter nonsense.
wow, not many people have seen this movie. 100%.
This is indeed mind boggling from a European perspective. Visa/Mastercard and banks just taking 1.5% of everyone's money because fast and free bank transfers for reasonable amounts don't exist.

People in the US pay all their bills with physical checks and debit cards, which is even more absurd considering that the US banks and credit card companies, last time I checked, still don't require proper 2-factor authentication for online payments or require PIN for in-person payments. Any time I make payments online in Europe, I have to use 2-factor auth and an e-PIN; it adds a whopping 5 seconds to the payment process.

Only large transfers in my country have a fee. I bought a flat a few years ago and sending a 6-figure sum (USD equivalent) to the escrow account only cost me $15 in transfer fees and it arrived a few hours later, though a person from the bank did call to confirm as a security precaution.
The author mentions .env files come from 12factor design, but the 12factor way is just using environment variables directly for configuration.., Environment variables by themselves are language/library agnostic by design and aren't supposed to be cross-platform by design (they're meant to be tied to the "environment" which includes OS)

If you're storing config in a .env file that's read directly by your application (as opposed to sourcing it by your shell or reading it with docker when launching your container), you might just as well use any other file format for your config and call it a config file, not .env.., it'll still be 12factor compatible if the config would still be overridable by environment variables directly...
> The problem is the poor battery management on the phone. Not fair to blame the apps for Apple's failure.

You can't separate the two: if the apps are requesting the phone do more work, that's going to affect the battery life. That's why I suggested looking at the battery usage history since it often has surprises if you don't, and comparing two devices with different workloads doesn’t tell you much.
But what _is_ the reason they can't get through the pipeline (and that you think is a "very good" one)? Isn't just the SEC saying "We don't feel like answering your request. Continue as you see fit, but we can't promise we won't come after you for whatever reason"?
I had a similar feeling. I think it's because XML relatives HTML and SGML (GML anyone?) go so much further back.
So many compared to when?
"It won't be blocked" = they imported the stealth plugin most likely
> XML vs JSON

Fun fact: Tim Bray was the/an editor on both specs:

* https://www.rfc-editor.org/rfc/rfc8259

* https://www.w3.org/TR/xml/

I wonder if he'll commemorate/note the anniversary in some way:

* https://www.tbray.org/ongoing/
Markup is syntax that gives structure to text. Ironically there's a port of HTML to JSON syntax. Guess who did it.
So you wouldn't mind if you keyboard had its own cable as well and gave you plenty of warning before the battery dies? At what point is it ok to complain about an annoying inconvenience that doesn't have to exist?
We're in a crisis of trust. "You have nothing to lose" is wrong. You and the community both have something to lose if identity is not valued. A throwaway is indistinct from a bot paid for by some rich mustache-twirling billionaire or state actor trying to control narrative.
But why? Is it not easier to store the JSON as file and have an env variable that points to it?

JSON as env value is utter madness.
The problem is POSIX. It says operating systems must have mv, cp and all that stuff. This is the reason why people say Linux is not an operating system.

> I wonder why not reimplement coreutils as library functions, to be used within an ad-hoc REPL.

Funny you mention that. I've been working privately on such a "systems programming REPL" in my free time. Basically a freestanding Lisp with pointers and built-in Linux system calls. It's been a huge challenge trying to bootstrap and get the garbage collector working without any libc support, still haven't cracked it.

Languages like Python and Ruby already have system call capabilities. You can literally do anything with those calls. So this already exists in some form, albeit not in the extreme form I envisioned.
No, because they'll just rewrite them in the latest Rust.
His entire discography, the thing that ChatGPT's impersonation of him is based on.
Outstanding method for commenting regexes. I had no idea about (?x). Thanks for this - I'll adopt it going forwards.
Is even easier with a small team to do TBD. Because the amount of integration is reduced the possible need of branches (or their TBD equivalents dark launch/branch by abstraction/feature flags) is greatly reduced. So the branches add ceremony where none is needed.

Though those branches could be needed if you are doing mobile, desktop or library/framework development.
Android does have native code support, but do non-games use it commonly? The Android reviews I've read tend to mention that being a game thing when talking about why it's important to have more RAM.

(And, yes, I should have said “Java's GC vs. ARC” since that tends to have higher peaks)
How Online Speech Is Moderated in the US
https://archive.ph/xeYad
What's embarrassing about a nickname?

Having a disconnected online entity means less-than-pleasant jackasses can't pull something from years or even decades ago, put it out of context, and proceed to troll your life.

Not putting your real life identity on public display for the world to see means you maintain tighter control over how, when, and where your information gets out. Do you really need your real name, face, place of employment, telephone number, email address (with your name in it), and maybe even your home address publicized? More than likely you don't.

Having online identities disconnected from real life means you can use them to safeguard your actually really-fucking-important real life things. Your bank account? Use an email that uses a nickname instead of your real name so any would be hackers have to second guess your email too.

Worst comes to shove and shit hits the fan, you can throw away an online identity and make another one. You can't throw away your real name and face.

There are nothing but benefits by keeping your online and real life identities separate, and if you ask me it's one of the first steps to being truly internet literate.
Well, I see the awkwardness of emitting a log like that, but it's not any worse than emitting a single JSON array and waiting for that closing ']'.

Both can be emitted and parsed in a streaming fashion though, but I wouldn't say that either XML or JSON is suitable for logs. Maybe NDJSON, but it's more like a hack around this limitation.
I still don't see why people use .env when direnv is a thing, and more Unixy.
Why not tax, at least for publicly traded stocks, the unrealized capital gains? (taking e.g. the last price of the year as basis)

In addition to the problem mentioned in the OP, this would also solve taxation for buybacks.
Lenovo started whitelisting their wwan slots a while ago didnt they?
yup, this could be more like Daft Punk using samples.
They aren't strictly comparable. While the heap allocation may be optimised out, there is no way to use native C++ coroutines as guaranteed zero-cost construct due to the automatic heap allocation in the API.

Rust's coroutines currently have practical optimisation issues related to instance size (because the compiler isn't smart enough yet in a few places), and the more powerful generator API very much isn't ready yet, but they give you considerably more control over the memory management.
It's easy to stack- or pool-allocate coroutines there if necessary for performance, while in C++ you wouldn't be able to use the native language feature where frequent or unmonitored heap allocations from fine-grained coroutine use would be a problem. (Apparently this makes them unsuitable for AAA game development, for example.)

Library-provided coroutines may be more versatile.
This hack was very sophisticated and targeted ("plausible-sounding prompts pointing employees to a website that cloned the behavior of our intranet gateway") but wasn't after the easily monetizable stuff (user emails, which in combination with their most used subreddits would be very valuable for targeted spam), but instead went for data on employees and business partners. This sure seems like a setup for attacking a more valuable target.
Different types of workers need different levels of face-to-face interaction.

Marketing teams, creatives and other similar groups need more face-to-face interaction because what they're creating is all about interaction, with the company's customers, their consumers (if not B2C), etc.

Those building the product after the marketing and other designers have created their designs don't require as much F2F time. They need whiteboards and C4 diagrams (in IT at least) when architecting systems, as well as some team F2F for thrashing out system level functionality and how it will be implemented (shared services etc).

But an individual developer, writing code, doesn't need F2F time with anyone. They need the capability to be available (video calls, text chat etc), but it's not an inherent requirement.
That is a design defect. The USB-C spec requires C-C charging so if it has a USB-C port and won't charge with a C-C cable it is defective. Return it and tell them why. I have done this a few times.
> * unreadable coding style: This is not a C++ problem.

I would argue that it is, after a few years of Rust. My style in C++ was formed by my exposure to other people's code. I guess this is true for most people.

Certainly, in C++, as well as in any language, Rust included, there are a myriad of ways to express yourself when solving a problem. Is my C++ coding style unreadable? I don't think so. But I used that language for 30+ years. Let's say I only used it for five years -- what then? I would have much less exposure to other people's code and hence to well written/readable code.

Rust has rustfmt (a code formatter) and clippy (a very opinionated linter). And they get used lots. Most Rust CI now includes `cargo fmt --check` and `cargo clippy` runs than need to come out clean.

This goes a long way in making code canonical. Clippy's amazing suggestions also made me a much better Rust developer in a much shorter time.

Are rustfmt & clippy part of "Rust the language"? No. But in a way they are since there is nothing else they compete with for opinion on how Rust code should be formatted and written.

When you onboard new people and they have adapted the pov that this makes lots of sense, it goes a long way in avoiding code being produced that is difficult to read for others.

And because of this, I do indeed think that it is a problem of a programming language, in 2023, if the default tooling does not include such utilities. And a strong incentive through the community, pretty much all the available learning materials and repos in the wild, encouraging their use.
I haven't bought an Intel CPU in over 15 years but I also don't think that AMD will do that much better if they are left without sufficient competition. We already saw them dropping non-pro Threadrippers, leaving an entire segment with only sidegrades. Hopefully Intel will be able to compete going forward.
All of this is true, I think I made the mistake of assuming some domain knowledge here - he's seen as a bit of a joke character by a lot of people in dance music, largely down to his seeming total lack of self-awareness. In some ways it's actually kinda charming, like here he has a child-like joy at having done this, whereas sometimes it's completely tone-deaf, like this: https://www.youtube.com/watch?v=dEI7oX0XxJw
Original Thunderbolt was by Intel, then Apple came up with how to use it with MiniDP connector. There definitely was more collaboration, but as a simple overview this works.

In 2019 Intel donated the spec royalty free to USB-IF
Same, except I found out on Mastodon and posted it to HN.
If you don't need it don't use it.
Basically this expresses the image as an image where each row is a linear combination of a set of K rows, with different coefficients for each row (or equivalently for columns).

In general it doesn't make sense to compress images this way, since the algorithm is not invariant with respect to 2D image rotation, a very relevant operation for realistic images, but is invariant with respect to row/column permutations, which are not a relevant operation for realistic images.
MarineTraffic Map shows location of marine vessels around the world
> he's not as charismatic as Jobs was

No, but he's obviously a very-stable-genius™.
I would love to hear more about "fsync saga" if you have any references.

I know that PostgreSQL had "problems" with fsync(), but they never ended. They just accepted defeat, but so would everyone else who relies on filesystems to store their data. It's even more ingrained than that. The way hardware works, and, especially, the communication protocols around it (eg. SCSI or NVMe) are structured, fsync() is always going to be a problem.
>Merit means that your input (effort, energy, dedication, discipline) has a large if not decisive effect on your outcome.

But it doesn't, and this can be easily measured. Are you saying this is how you wished things were? Then I agree with you, that's what we should strive for. Are you saying this is how things are? That's just false (hilariously so).
It's a normal Western Digital part, you may also get it from other vendors

https://www.westerndigital.com/de-de/products/internal-drive...
I don’t know what else I expected to hear since progress in these spaces is moving crazy quickly. What models?
It happened in NYC.

Given a bad enough QOL and even the biggest leftist will go all “law and order”.
Yahoo is at 7,000 people prior to these layoffs, working back from the percentage.

In 2019 they had 10,500: https://variety.com/2019/digital/news/verizon-media-layoffs-...!

In 2017, when Verizon acquired them, they laid off 2,100 employees. https://www.fastcompany.com/4040668/tim-armstrong-confirms-y...

The CEO at the time indicated this was a 15% cut (https://www.yahoo.com/entertainment/oath-ceo-tim-armstrong-d...), so working backwards they had 14,000 people in 2017.

So in short Yahoo has shrunk to half over the last decade, despite mergers with AOL and other acquisitions
I wonder why people don't use Ada Programming Language also ? It has Spark subset for formal verification also
>Reddit also stated that there was no evidence the systems used to run Reddit itself and store the majority of data, the primary production systems in other words, was breached.

Ah the classic PR blur. Could mean anything from "all good" to "we don't log - ignorance is bliss".
> My complaint is it should store each email in its own file

Thunderbird supports one-file-per-email (Maildir) accounts, see settings. It's still marked as "experimental" because of some edge cases, but I have not encountered issues in many years, and it makes for a snappier experience.

- https://support.mozilla.org/en-US/kb/maildir-thunderbird

> There's still no way to backup my account settings.

Import / Export settings has ben around for a few versions:

- https://support.mozilla.org/en-US/kb/thunderbird-export
Who is her PR person? Thats a hilariously bad statement to make.

And i guess its not surprising. Having lived there and paid attention to the politicians, it reminds me of what would happen if you put a bunch of high school students in charge.

Good intentions but horrible ideas that bear no resemblance to reality.
> First, making network requests when downloading packages is necessary for the tool to function and unavoidable.

It's technically not unavoidable. The Go authors could have made use of the proxy opt-in rather than opt-out, making the tool less usable as a result. A similar argument applies here, I think.

> Second, the Go telemetry would apparently create a unique, persistent user ID

Where did you see this? I scanned through the "Telemetry Design" article reasonably carefully and couldn't find any mention of this concept, and the type definition for the posted JSON (the `Report` type) doesn't seem to include any such user ID.

In the end, ISTM that you're not complaining about something that actually affects your privacy in any way, but just the _idea_ of telemetry. Is that really something worth taking such a hardline stance on?
>>Over the last 15 or 20 years I’ve tried lots of databases of all flavors and every time come back to Postgres.

Almost the same here, have tried just about everything that comes along, and sooner or later I end up swapping out the database de jour and go right back to sql server in almost all use cases (for the type of projects I do).

I feel like db's are pretty much a solved problem, and can't imagine trying to build and market a brand new one these days. Almost as hard as trying to come up with a new operating system and convincing people to switch.

I wish good luck to anyone that tries, but talk about pushing a boulder up a mountain; definitely doesn't seem like the easy path to success.
Dataset Abuse Is Rife in Computer Vision
This! On my Xubuntu installation(s) the rendering has become so slow to almost be unusable. There were some helpful tips floating around to remedy this situation (turning off webrender seemed to help) but these have stopped working as well.

I am now considering dumping the Bird after almost twenty years of continuous and happy use. The main reason I am still sticking around is because I hope it turns out to be a simple bug that some kind soul will fix.
But that’s in a commercial setting, this is during a musical performance. The audience was not tricked into showing up to an Eminem performance and were not tricked into thinking that Eminem was on stage at any point. This is protected speech.
Hacking the Tax Code
Yeah, security is a cat and mouse game. You need to keep adapting.
Nope! As long there is anonymity of the users (.. even if the names are known) and the way it is presented to the users stays same, that long it won't be fixable.

One thing is the man searching.

By nature, we men are sexually aroused by vision and phantasma/movies/imagination with especially the latter one being selfamplifying.

So if you have a online dating website and the participants present them with only standing pictures and some bio and you have a chat by means of communication, the imagination will kick in.

One doesn't know and see what feelings the receiver have towards the written. Also, the answers can be misinterpreted by both sender and receiver. Resulting in even more arousment.

But, being aroused, our main brain shows DoS. So..

It won't be fixable as long there are men. Woman are differently aroused. Man2man and woman2woman works well, because same understanding.
But sadly `ls ~` will still show it.
I just want an entirely new collection of music by the AI formerly known as Prince so that we can move the lawsuits forward and rule in favor of the new-creator. Derivative works will win. Prince will roll in his grave.
Reverse engineering an e-ink display