skysight-inc/HackerNews huggingface dataset:
> blames software that he told to remove all his files when the files were removed

There's definitely a lot of anger in the report, but underlying that I think there's a valid UX issue in that "discard changes" does not adequately convey what the operation actually did.

In most contexts, "discard changes" just means the current changes not yet saved to disk. Even being familiar with git, I probably would've expected a `git reset` (reverting tracked files to last commit) opposed to deletion of files not being tracked by git. Latter seems hard to justify as "discarding changes" when those files may have existed, unchanged, since before the repo was initialized.

> karma's a biatch, and it looks, from this report, like it's been saving up for a while to get him real good :D

The dev hadn't done anything morally wrong to cause the incident, and I suspect they're relatively young - IMO, despite their rage-post, some empathy's a better response than just taking delight in their frustration. I'd worry that the lesson they come away with is more likely to be "git is dangerous and idiosyncratic" opposed to "I should've used git earlier".
Recent thread https://news.ycombinator.com/item?id=42078581
you have to decide mate...are you looking for that third party to confirm shit or are you into a flame war with me?
Take a look at lc (but not the terminal screenshots! ;)): https://github.com/c-blake/lc

lc is a highly configurable "multi-dimensional"[1] file lister written in Nim focused on flexibility and configurability.

Key features:

- Multi-level sorting by combinations of attributes like size, time, and file type, with user-defined precedence

- Configurable file kind sorting order

- Value-dependent coloring for file attributes such as timestamps, permissions, or sizes.

- Abbreviations: Automatically shorten filenames, user/group names or symlink targets.

- File type classification: Integrates libmagic for file type inspection.

- Hyperlink support

- Per-directory configs: custom behaviors for specific directories using local tweak files (.lc).

- Lightweight (~900 lines of code) with only author's CLI library "cligen" and Nim's stdlib as dependencies.

and more.

[1]: https://github.com/c-blake/lc#vector-typemulti-dimensionalit...
Problem with memory corruption as a bug is that unlike most classes of bug, memory corruption allows remote code execution. (see return oriented programming for the basic version, block oriented programming for the more complex version that bypasses most (all?) mitigation strategies) There are other types of bug that allow remote code execution like this, such as SQL or command-line injection, but those can be solved with better libraries.* However, memory management requires a strong enough type system in the language.

* Sorta, for command-line injection you have to know the way the command you are using processes flags and environmental variables in order to know that the filtering you are doing will work. It is absolutely better to use a library instead if you can get away with it.
That's what I call journalism.
Let me see... Well, there was this thing in the past, called WW2, it was a WW, because well, Germany for example didn't want France buying Brazillian agricultural products, and sunk Brazillian ships using submarines. Thus making Brazil join the war.

Right now Lula wants to form a coalition with Russia, so what makes you think, in case of war, Brazil would keep selling to the EU? Maybe because USA would threathen Brazil? In that case they would focus on feeding themselves, and not the EU still.

In the entirety of human history, a base war tactic is Siege. What makes you think nobody will try it again?
> What level of mental gymnastics is this? This is like saying that cars enable people to not travel.

No, sitting in a car that's traveling, you are actually traveling with it regardless of whether you are driving it, so it's entirely unlike saying that cars enable people not to travel.

It's more like saying that giving everyone access to a private robot driver doesn't somehow democratize driving and instead enables people not to drive. You can instruct the driver to drive where you want to go on your behalf, and you can travel along with them in the car, but it hasn't somehow enabled anyone but the robot to drive. It has however enabled you not to drive: even in situations where you would otherwise have driven you can now rely on your robot driver to do it for you.

What the robot driver has democratized is access to something that can drive for you, not driving. Similarly, what AI/ML/LLM/whatever-based music generators and the like have democratized is access to something that can create music for you, not creating music.

Not even the ATC can be considered to be pilots simply for giving instructions to others who fly planes, even though they give pilots much more detailed and involved instructions than anyone gives e.g. Suno.

> Music is in the ears of the beholder, it doesn't matter how it was produced.

Even if we assume that this is true, it has no bearing on my argument: whether or not it matters how music was produced is irrelevant to the question of who or what created the music.

> If a tool lets more people compose music, which "AI" does, then it's democratizing composing music.

But it doesn't let more people compose music. The "AI", for example Suno, creates the music for you, and your input is more akin to the instructions you give to the driver: extremely high level and entirely removed from the work involved in producing the result. Similarly, as a composer, writing a piece that performing artists then interpret and use as instructions for a performance doesn't somehow make me a performing artist, despite your instructions being much more detailed than any instruction that has ever been given to Suno, and therefore enabling the composer to be more involved in the outcome of the performance.

> Likewise: Crossbows and then guns democratized violence.

Will you agree that the degree of involvement has any bearing on the judgement whether it is something I do or it's something others do for me? For example, that having private robot driver driving me around at my behest doesn't make me a driver myself, but aiming and firing a gun at someone with the intent to cause violence to them makes me violent, despite the fact that I'm not the bullet that ultimately caused the harm?

If so, the reductionist argument is misleading and we have to consider the degree to which you are involved in the process of creation when you tell Suno to produce a song.

> Whether that will be good or bad is not the concern of democracy.

Whether it's good or bad is also completely irrelevant to my argument, and seemingly also to your response to it, so why bring it up at all?
Honestly not sure what you mean by that - in C#, for example it doesn't matter to the compiler where the code comes from, it can be JITed/inlined just the same even if its coming from a different dll.

I haven't seen any perf impact of splitting stuff between files/js modules in typescript either.

What I'm guessing is that you mean that static compilers, like that of C++, need to be able to 'see' large amounts of code to make clever inlining optimizations.

Which shouldn't be the case if the code is well designed, and/or the compiler can prove invariants necessary for optimization without having to look at the body of the code.
So what, no fuckin' chemical ziti now?
You can interoperate via C ABI and just not use the C++ standard types across modules - which is the sane thing to do. Every other language that supports FFI via C linkage does this, only C++ insists on this craziness.
You can still buy old lightbulbs, they are sold as heaters.
Bought a cheap power drill, like "I can't believe how cheap this thing is". It broke after 15 minute of usage.
Surely you recognize that you are an outlier then. Most people have some opinions on at least one popular musician or actor or writer. If you don't, then I'm a little envious. There's so much great stuff out there waiting for you to discover it. I'd recommend checking out the Beatles.
Maybe through Poe.com?
> Not sure, but I think Hangul counts as a second invention of alphabetic writing.

It is my understanding that Hangul is believed to have been influenced by other alphabetic writing (e.g. Phagspa) which themselves descended from the original alphabet. Though it was a distinct creation, the core alphabetic idea was not independently discovered.

> If you count syllabic writing systems (which are not technically alphabetic, but are more so than Chinese, or Mayan or Egyptian hieroglyphics), there are more: Japanese hiragana and katakana, Cherokee syllabics, Pahawh Hmong, Vai (West Africa), and Linear B (and presumably Linear A).

Syllabic writing systems are significantly less powerful than the alphabet (hence why they have generally been superceded by alphabetic ones).

They have been invented multiple times, so you can argue the smooth slope goes up to syllabic writing, sure. But only once has that led to an alphabet.

> There's also Thaana

I hadn't heard of this, but Wikipedia seems to suggest it's descended from Phoenician like everything else (although it has made the step from abjad -> alphabet).
Somewhat annoying, that the configuration is spread out across 2 config files of 2 separate programs (git and ssh) and that the `insteadOf` `url` must match the `Host` in `.ssh/config`, which leaves a lot of room for mistakes and is fiddly, but at least this method works well!

Edit: Hmm it seems to ask me over and over again for my password for a key at every pull or push. Maybe this method somehow disables memorizing the SSH identity?
I suppose because it is not a Scheme and is a Lisp. :)
This feels like a critique that doesn’t understand people, and instead is trying to consider the product by itself.

Who is it for? Well, why not see the actual places buying them.

- Reception/lobby/greeting desks because they’re an aesthetic entry point.

- families who don’t want to deal with a computer. That’s a lot of people who upgrade once in a blue moon, don’t want to deal with shopping for different components like a display/mouse/keyboard. Over the last decade, ever single friend I know has had their parents transition to an iPad or an iMac.

For the last point, it’s not even that they’re technically illiterate. My dad records music in his retirement. My friends dad used to be a software engineer. They just don’t want to futz with stuff anymore.
China has more distributed/rooftop solar than the US, percentage-wise. It's hardly like every big building in the US has rooftop solar, and Zhengzhou is more to the north of the country where there is less incident light.

That said a battery factory is a good place to put solar. The final stage of battery manufacturing is several priming charge/discharge cycles which build up resilient layers inside the battery. You can push power into/out of the grid (or use discharging batteries to charge other cells) but having a big DC source nearby is still going to be convenient.
Apologies for the ADHD induced tangent. Has anyone else noticed that regular little party balloons seem to have a passive noise cancelling effect? If you bring them close to your ear there's a zone of 'dead air' when they are maybe an inch away. My theory was that there's something in passing through the rubber envelope that creates a phase delay or inversion, but it could just all be in my head lol.
I thought dependent types were types that depended on a value? What they are proposing are types that depend on types or compile time constants.
Yep. Datatypes, helper functions, and then the good stuff. In every file. It is actually beautiful and easy.
Then you need to have the hardware sitting idle when the power produced isn't in excess of what can be used. I'd guess that's not economically viable.
Most kids in affluent enough areas get iPads. Less affluent areas get Chromebooks.
That goes back to God’s definition. God gives strength to deal with situations. God doesn’t burden any soul with more than he can bear.

In other words despite you not believing in prayer and not believing god answers your prayers, you are still only burdened with what you can bear.
What is the point? C++ is mostly ABI compatible (std::string broke between C++98 and C++11 in GNU - but we can ignore something from 13 years ago). The is very little valid C++11 code that won't build as C++23 without changes (I can't think of anything, but if something exists it is probably something really bad where in C++11 you shouldn't have done that).

Now there is the possibility that someone could come up with a new breaking syntax and want a C++26 marker. However nobody really wants that. In part because C++98 code rebuilt as C++11 often saw a significant runtime improvement. Even today C code built as C++23 probably runs faster than when compiled as C (the exceptions are rare - generally either the code doesn't compile as C++, or it compiles but runs wrong)
Not a great take - those factories are foreign owned ICE car factories. Hyundai basically underestimated how fast China's EV transition would be.

That's good news for China, full speed domestic EV production.
I read the parent as sarcasm and chuckled.
Their hydrogen obsession has set the world back decades.
Why 'Grep' when such a tool with this name already exists since... 1973? Or even before if we're counting `g/re/p`.
PRC didn't take reusables seriously until a few years ago, really when strategic value of starlink became obvious. They're already making relatively quick progress, as in the expected faster than original catchup mode progress.

Ultimately the issue with simping for SpaceX is that it's still an American company working at American scale. People are conflating SpaceX doing cheap payload advantage at modest scale for actual scale. There's like <20 F9s doing more than 50% of global launches, 80% including starlink. People see 50% and 80%, but ignore that <20 is rookie numbers. Frankly no reason PRC won't have 100 reusables fleet _IF_ demand justifies it (TBH only real justification after megaconstellations is space weaponization). And then like with all PRC catchup, they'll put more than SpaceX lifetime aggregate payload in a few years, and then it won't even be close. Sure Elon can wank about starfactory building 1 vehicle per day, but if there's strategic reasons for it, PRC will be able to build 5 per day at less cost once they sort out the tech stack.
Some people want to live their lives without having to justify their existence to strangers every time they appear in a public space. It's exhausting. There are plenty of spaces where you can have those arguments. It's OK to have spaces where those kinds of arguments are not welcome, too.
Just because you suck at doing something doesn't change what you're attempting to do. They were there to execute elected officials and attempt to stop required processes in the belief that would invalidate an election they lost.

Sounds like an insurrection to me.
It's not a matter of agreeing accidentally, they just plain agree with you.
> Genera knows the actual type of everything

I have this side-project fantasy of a very simple terminal pipe-types project. The basic idea is a set of very basic standardized types, demarcated using escape sequences. Dates, filenames, URLs, numbers, possibly one or two number units as well (time periods, file sizes only).

Tools that already produce columnar data (ls) get a flag that lets them output this format, and tools that work with piped data (cut, sort, uniq) get equivalents or modes that let them easily work with this.

Essentially, simple typed tables held in text, with enhancements for existing tooling to know how to deal with it. Would make my day-to-day on the command line much easier.
Syllabaries have been invented multiple times independently and an alphabet only once, which to me would suggest the alphabetic step is the harder one to make.

Why would you suggest the opposite? I'm a complete layperson in this area, so I understand my view might be quite limited.
https://en.wikipedia.org/wiki/Belaruskali comes to mind...
Addressed on Lex Fridman with Dario Amodei (CEO) and Amanda Eskell of Claude, they both insist the answer is no.

I interpret their explanation for “no” as follows: these are probabilistic outputs, and so given any changes, for some inputs, some outputs will be worse some of the time.

The argument goes that, given they’re probabilistic, even without changes, for some inputs, some outputs will be worse than the last time you gave it that input, some of the time.

To be fair to them, it makes sense that any change would then be met with some vocal users who are genuinely experiencing worse output, but are not generally using a worse product.
Not yet, but it's on my list of things to explore!
Darknet Diaries #151 has an Australian dude explaining a form of this type of attack and how he stole money out of a middle eastern bank for a wealthy client. Maybe it's not exactly the same but it struck me as similar because he uses weak WiFi security as part of the exploit chain as well as hopping between compromised residential networks to obfuscate the origin.
The Great Fluoride Debate
Why? They're all undeniably celebrities, and I guess the point was to have a spread of source of celebrity?
Them: What's your LinkedIn Account?
Me: Don't have one.
Them: Twitter?
Me: Nope.
Them: InstaGram or TicToc?
Me: Nope.
Them: Do you use the web at all?
Me: Only through Lynx. I see a lot fewer ads.
Them: No JavaScript! How do you use YouTube?
Me: I don't, really.
Them: You have no social media?
Me: Well... I *did* order a pizza from Dominos online once...

Yeah... I don't use the web much as you would expect for someone
who's livelihood depends on it. I just wish USENET was still
USEFUL. I have a rant in me about ad-tech and crap-ware on the
web. I'm just enjoying my life without the web too much to
write it. And clearly, HN is my web-tech achilles heel.
Both you and the person you’re replying to are thinking of workstations in the colloquial sense of “powerful computer to work on” instead of a literal station where someone works.

For 90% of people , an iMac is less fuss than other devices.

This thread reminds me of the Microsoft cloud 365 PC they just launched where everyone was confused by the market for it and really just cemented the fact that a lot of engineers aren’t very in touch with the actual workforce out there.
Ask HN: Are Google products broken on Firefox for you?
For the last 1-2 months, I have had some sort of issue with the following:

* Google Meet -- I can no longer share screen.

* Google Sheets -- Pretty much all context menu options don't do anything (e.g: Conditional Format)

* Google Drive -- Can't reliably download files

Nothing shows up in the console either.

I've tried:

* disabling all extensions

* enabling 3rd party cookies

* making sure JS is enabled

* completely reinstalling Firefox

I am on Mac OS Sonoma 14.6.1
Indeed, they just hid it in the logo. If that's not malicious compliance...
Overt support or advocacy for known hate/supremacist groups should fall under the scope of “needs moderation” as well. That sort of content has seen a sharp uptick on X which is one of the reasons why people are now jumping ship.
Creating 1 trillion jobs with logtrees
Sounds like the mocks are overused or used inappropriately in your experience (whether by a colleague or yourself).

Mocks have their place. A prototypical example is at user-visible endpoints (eg: a mock client).
You could also make the same argument about check forgery or wire fraud. "If someone passes a bad check in your name it's not a big deal because you're only one of 8 billion." However when it happens to you, specifically, it's a big deal because you have to fight the bank and the merchant over it.

"You're not special" is a bad argument for why someone impersonating you isn't a problem. I mean even Black Mirror explained why impersonation is a problem in the very first episode many years ago. You don't even have to be a celebrity, you only have to be in someone else's way.
How do we stop BS-spewing "bite mark analysis" experts, and malicious FBI crime lab "results", and habitually mendacious law officers, and ballistic testing experts, and a thousand other sorts of sounds-good BS from tricking juries?

There's really nothing new here. Though many parties would prefer to pretend that our "justice" system's age-old and systematic problems didn't exist.
I think it nicely demonstrates the difference between "own" (legally and appropriately) and "0wn" taking control by hacking but exerting as much control as "own".
Show HN: Box-n-Weave.js – 0-dependency text-to-diagramming lib (16kb gzipped)
I was frustrated with the complexity and size of existing diagram libraries, so I wrote a new one from scratch. Box-N-Weave.js generates box-and-arrow diagrams from text definitions, with a focus on maintainable technical documentation.

Key features:

- Zero dependencies, tiny footprint (16.2kb gzipped vs 745kb for Mermaid.js)
- Clean separation of diagram content, styling, and animations
- Git-friendly text format that can live alongside your code
- Streamlined syntax for common technical diagrams (architecture, flows, state machines, etc.)
- Built-in animation support

The layout algorithm was written from scratch (not using dagre/elkjs/cytoscape) to keep it lightweight while flexible enough to add novel features.

Examples: https://box-n-weave-026ffb.gitlab.io/#examples

Repo: https://gitlab.com/andrewfulrich/box-n-weave

I'd love feedback on bugs, the API design, and use cases you'd want to see supported. The goal is to keep it focused on doing one thing well - making it dead simple to maintain box-and-arrow diagrams as code evolves.
Most of the headphones I've bought have broken within a few years. It's not a "huge" regret though.
im curious about replicating this
I really don’t think it matters. Once society is derailed in a way that all food supply chains are disrupted, unless you like in a house on a forest mountain, you’re not going to survive. It would be full on carnage.
I wish they would update their blog![0] The last post is from Aug. 2018, which definitely gives the impression that the project is dead.

But it's not dead, if you look at their GitHub.[1]

[0] https://reasonml.github.io/blog/

[1] https://github.com/reasonml/reason
> I've tried....

If it is FF only problem (and not present w/ Chrome), have you tried installing a user-agent switcher extension, and pretend you are using Chrome? (To answer the question also: I'm an FF user, but only use Gmail web interface sporadically, and Youtube, also rarely. Both works fine nowadays.)
Climate obsessed people are probably in it for the right reasons but are hysterically annoying from any third party perspective. Keep telling people that cow burps are what is driving bad weather and you can keep being baffled that "deniers" hate any of the solutions you come up with there after. People hate pollution across the board, people hate theoretical models of climate effects based on research divorced from reality that predict weather in 30 years to be a doomsday scenario because of something so obviously mundane while ignoring outsourcing manufacturing to china and india to bus, boat and flight. At this rate we may one day in our lifetime be able to have all the pigs and cattle raised in china and fly them on business class to europe in order to fight the weather via carbon credits.
I think I got what you were saying about the story exactly backwards, sorry.

Reading Comprehension roll: Nat 1.
But if you use web scale tech you can scale to infinity on day one right? :eye-roll:
https://en.m.wikipedia.org/wiki/Algorithm

> In mathematics and computer science, an algorithm is a finite sequence of mathematically rigorous instructions, typically used to solve a class of specific problems or to perform a computation.

Looks good to me.

And did you just question "WHERE" and "ORDER BY" in SQL? I wouldn't do that. There are probably a ton of algorithms and optimizations done there. In my very naive understanding, quick sort is at least worth something.