skysight-inc/HackerNews huggingface dataset:
The point is you do not know if file is a stream, an archive, too big, currently empty or just contains bad data for your current test. So using cat file is a way to standardize debugging or make development easier.
I am one of these people who recently created an account to give it a look. My entire feed was dominated by anime drawings and people eulogising how good Bluesky is because ???. I could not find anything I was actually interested in. I have not been back.
I don't.

Let me rephrase that.

I do, but only in very, very rare circumstances. Basically only when you a) know that the typical use case is going to involve large ns, like millions to billions, b) the loop body takes a long time per invocation, or c) have profiled a performance issue and found that improving it would help.

If you're working with sets of 10 items, just write the damn nested loop and move on. Code jockeying is unlikely to be faster, and even if it is, it doesn't help enough to matter anyway.

Computer science theory likes to ignore constants. Big-O notation does that explicitly. But in the real world, it's usually the constants that kill you. Constants, and time to market.
I've heard some students are concerned that any text submitted to an AI-detector is automatically added to training sets and therefore will eventually will be flagged as AI.
Observer A and observer B are mermaids. A throws a switch that turns on a light on a light house. Relative to each observer, the can see the cause and effect. B invents a periscope that allows them to see faster than light. Now B will be able to see the light turn on before the switch is flipped.

Replace periscope with “wormhole” and you get a more traditional experiment. The question of can we use this to violate casualty is non-sensical, because we can’t violate casualty (even with faster than light travel). In the traditional experiment, if I see the light turn on, the cause has already happened; sending a message “back in time” won’t change that.

However, this is only because all frames of reference stay the same. If you could actually travel back in time, who knows what would happen. That’s largely why this whole conversation makes no sense. You can’t violate casualty with FTL, only with time machines and FTL isn’t a Time Machine.
Google Drive Blackout in Italy After Another Major Anti-Piracy Blunder
Not the OP, but obviously it wasn't a metal detector, otherwise it would've detected all brands of laptops as weapons. It's probably an image based detector.

The problem is, if it has been that badly tested that it detects Lenovo laptops as weapons, there is a good chance that it doesn't properly detect actual weapons either.
That’s not objectively true at all. I learned to use Rust long before I ever touched a Node setup, and the first time I wanted to run a JS app it took me a lot longer to figure out how to do it than it did to type `cargo run foo`.

Neither is easier than the other. Whichever one you already know will be easier for you, and that’s it.
Sounds like a self-fulfilling prophecy. We educate everyone to be the smartest person in the class, and then we don't have jobs for them. And then we complain that education is not good enough. Shouldn't we conclude that education is already a bit too good?
Yea that's much, much better. I also note that it goes for the retry instead of locking.
All I got from the linked article was

> TikTok owner, ByteDance, says it has sacked an intern for "maliciously interfering" with the training of one of its artificial intelligence (AI) models.

Are there other links with additional info?
This is probably the coolest use case I have seen of HN API
Isn't that a necessary step in figuring out the issue and how t prevent it?
True, that is not a good look.

> This formatting and font mixing is difficult to read on mobile.

I guess for us it's obvious that it's a meta comment, but I can understand the confusion. Still, it could have figured out that "readability on mobile" doesn't really apply to C++, a programming language.

I'll add a section to the prompt reminding it that comments can be meta or even non-factual (gasp), so that it doesn't try to shoehorn meaning into comments like this one.
>unless they're doing engineering work for local governments in which case it's required.

In those states, the local governments should be required to only use software from vendors where all the "software engineers" (i.e. every employee that uses that title) in that company actually have PE licenses, including Microsoft.
ITER: The Blanket
E2E are less maintainable because by definition. They are the type of tests that has the most dependencies on sub-systems and other systems - this means if a test fails you ll need to work more to figure out what went wrong, than in an integration test, which depends on less sub-systems.
Are LLMs Any Good at Ranking People?
I worked for a company where what you said was entirely true - for all offices except the one in Gurgaon.

Those guys had some ridiculous job titles.
Can you explain what fou mean by <file> | abc? I have no clue what that would mean. Further what does undoable mean in a shell context?
My company has obliged me to use windows so that they put "spying antivirus".

At home I use Linux but I have a windows machine where I get the latest and greatest software from FOSS and fix Windows only open source windows or make sure things compile on windows too.
And anyone who expands the horizon to the real world, instead of focusing on the artificial one of contests, knows that the language matters a great deal
should add option to turn off background music
so for anyone that "just browses the web" (which is overwhelming majority) there is virtually no difference/benefit?

I don't play online games, don't use VPN, have a couple of services on my local RPi that has port forwarded on router and that's it...

ipv6 could be handy when testing some service on my laptop and trying with external services but this happens so rarely that it's not an issue... on the flipside, whenever I enable ipv6 I usually run into problems :|
Split Queues to Share Cloud Development Environments
> GS1 are the ultimate gate keeping monopoly.

It is a gate that actually needs to be kept, though. Like domain names - which provides an example of how it might be done in a way that allows for competition to lower prices. Although there are of course differences. But dividing the number space across a few competing entities seems a simple solution that should work to some degree.
I had suspicions about Slack's connections to the Church of the SubGenius, but I was obviously unable to prove anything concrete.

https://en.wikipedia.org/wiki/Church_of_the_SubGenius#Conspi...

SubGenius members believe that those in the service of the conspiracy seek to bar them from "Slack",[27] a quality promoted by the Church. Its teachings center on "Slack"[5] (always capitalized),[20] which is never concisely defined, though Dobbs is said to embody it.[2][29] Church members seek to acquire Slack and believe it will allow them the free, comfortable life (without hard work or responsibility) they claim as an entitlement.[14][30] Sex and the avoidance of work are taught as two key ways to gain Slack.[20] Davidoff believes that Slack is "the ability to effortlessly achieve your goals".[27] Cusack states that the Church's description of Slack as ineffable recalls the way that Tao is described,[9] and Kirby calls Slack a "unique magical system".[31]

Are the founders/leaders of Slack.com involved with this so-called "Church"? (Actually a parody religion that hates Christianity.)

Surely, the naming of their flagship app cannot be a mere coincidence or accident. It seems absurd that business managers who value productivity should introduce an app named "Slack" without some weird incentives.
Knowledge is power.

France is bacon.
I'd be really interested to run AI detectors on essays from years before the ChatGPT era, just to see if anything gets flagged.
I feel less informed after reading the article than I did after reading the headline.
Same as their security infrastructure then.
I mean that implementing things like passkeys required a lot of front-loaded work from them, without getting any compensation. So it's understandable that they're trying to push people to get subscriptions.
Not at all, I feel the same. In fact, last time I had that reaction was yesterday, listening to an audiobook which was employing the same dubious technique.
No, it's pretty annoying really; I don't know why people do that. I don't like it on youtube/podcasts either. It adds nothing at all at best and distracts at worst.
I watched a hbo series about this once, I think it was called Pied Piper.
Every bit of Microsoft open source is created at least partly as a sales strategy for Azure. They usually start within the Azure infrastructure because, well, why wouldn’t they? Then eventually they tend make it to where you can use them outside of Azure but they never quite leave the part where they are “better” if you’re an Azure customer.

Time will tell if Drasi is going to go the path where it becomes more easily useable outside of Azure (and in this case AWS) or it’ll go more of a Bicep route.
The EU will make vendors liable for bugs
Around the same time websites like polygon came to the forefront to produce rage bait for echo chambers rather than thoughtful articles.
A Video Game Flopped Harder Than Anything at the Box Office This Year, Unnoticed
Nothing is a losing proposition if you can convince investors for long enough.
At least in my experience, this is also how Azure continues to function. Certainly reduces stress in the working environment
> After this post, I will refrain from personally commenting on the WP Engine case until a judge rules on the injunction.

Congratulations to the lawyer who finally made him realize that shooting his mouth off was a winning strategy.
> One reason for my skepticism is that I just don’t think we’ve exhausted all the possibilities of making JavaScript tools faster.

Exhausting is very exhausting, so at a fraction of that effort you could build on better foundations
This is awesome. I like it
> as I get older, I find that I have less energy for reading,

As I get older (50 now), I have 0 patience for anything else than reading; it's much faster than listening and rereading stuff I didn't get the first time is easier and faster. I listen to stuff (including zoom/calls) to stuff that doesn't hold much importance/value; maybe it triggers something, then I go read about it instead.
People buying a Chromebook down at the mall will never see GNU userland.

Folks using Silverblue and Flatpak distributions get to use GNU userland.
I don’t like the idea of infinite ownership, which is the current problem of copyright. The public may never be able to own these ideas and build off of them. Further, just because you own something in one country doesn’t mean you can own it in another country. For a physical example, you can’t own a gun in the US and take it to Australia.

If publishers didn’t engage in tactics like “library pricing” and preventing people from actually purchasing the books, I might feel differently. Right now, I see this archiving stuff as a Robin Hood story (which fwiw, every version of this story you may have seen/heard is probably still copyrighted) and I hope the publishers die or are replaced.
Working with Your Passion
GNOME allows GNU userland to be used.
You mean vtable for inheritance? There's no ownership relation here.
What I find fascinating is that they have a form to request single UPC barcode numbers. But that form is effectively putting an item in a shopping cart of an online store.

So they perfected the "numbers as a service" business model up to the point that your average Joe can now buy themselves their own UPC number for $30 with almost the same simplicity as buying a book on Amazon. Maybe they should literally start selling UPC numbers on Amazon next?
The Firefox CEOs earn something like 7M dollars per year while the browser is losing market share and in my opinion one bad decision is made after another (killing extensions, not signing extensions, claiming browser is safe but then updating via some strange mechanism, investments in random projects, not maintaining the core which is the browser).

So 2x more than CEO of the QR company.
“<file foo” is POSIX: https://pubs.opengroup.org/onlinepubs/9799919799/utilities/V... (see the absence of mention that redirection needs to be after the command)
I think GP means that a synchronous blocking call in an async runtime would block and bring the executor (event loop) to a global halt.

Think

import { readFileSync } from 'node:fs';

async function main() {
const data = readFileSync(
'/etc/machine-id',
{ encoding: 'utf-8' },
);

console.log(data);
}

await main();

VS

import { readFile } from 'node:fs';

async function main() {
const data = await new Promise((resolve, _reject) => {
readFile(
'/etc/machine-id',
{ encoding: 'utf-8' },
(_err, data) => {
resolve(data);
},
);
});

console.log(data);
}

await main();

(no error handling to bring the point better across).
That wasn't free; people would charge money to write essays, and essays found online would be detected as such.
Totally agree.

There used to be a commercial that would play on Canadian TV stations. It showed the view of a river, once with calm and tranquil sounds and then played again with ominous sounds like from a horror movie. When you are presented the river with tranquil sounds, you are happy and calm. When you are presented the river with eerie sounds, you dislike it. The message at the end of the video was to inform Canadians to think more critically about the media they consume, and to question if they are being led down a forced narrative rather than being given facts to question for themselves.

When I see modern day Reddit, Instagram, Facebook, etc, almost all of the videos are backed by music which is trying to bias the user. It makes me uncomfortable.
As an engineering major who was forced to take an English class, I will say that on many occasions I purposely made my writing worse, in order to prevent suspicion of AI use.
This discussion is a good place to start: https://news.ycombinator.com/item?id=39750181
> I have seen sooooo many junior folks struggle for days to do something that is 10 lines in any scripting language.

> Those folks who program but don't know a scripting language far outnumber the rest of us.

What domain are you in? This sounds like the complete inverse of every company I've ever worked at.

Entire products are built on Python, Node ect, and the time after the initial honeymoon phase (if it exists) is spent retrofitting types on top in order to get a handle, any handle, on the complexity that arises without static analysis and compile time errors.

At around the same time, services start OOM'ming left and right, parallellism=1 becomes a giant bottleneck, JIT fails in one path bringing the service performance down an order of magnitude every now and then etc...

> Congratulations on being a programming god. This discussion isn't for you.

On the behalf of mediocre developers everywhere, a lot of us prefer statically typed languages because we are mediocre; I cannot hold thousands of implicit types and heuristics in my head at the same time. Luckily, the type system can.
Turns out living the FOSS dream is kind of hard.
> What exactly makes JavaScript so unsuitable?

If you look at JavaScript's history (especially for backend development), it reads like a series of accidents: First, the JS language was hacked together at Netscape in the space of a few months in 1995, and after that it was quickly baked in into all web browsers and therefore became very hard to change in a meaningful way. Then, Google developed the V8 engine for Chrome, and someone thought it would be a great idea to use it for running JS in the backend. My thoughts on that were always: "just because you can do something doesn't mean that you should"...
I usually interpret `command <fileA >fileB` as meaning "shove fileA into this command, and shove output into fileB". The "arrows" make visual sense this way.

`<fileA command` OTOH at least visually gives off the impression that it's sending the command's output to the left (changing the prompt, perhaps?)
I wonder which tech company will be the first to take this too far and implode because of some easily-avoidable cataclysm. I think in some ways you could say Twitter / X already did although they are still limping along for now...
> last I heard the ATF was tracking those down as an NFA violation.

I was responding to this portion of the comment, where they referred to the ATF and NFA - a federal agency and law.

I was updating them that was no longer true as of a few months ago.
You can't seriously think that the incredible defensibility and natural resource wealth of the USA would suddenly go away if we taxed the shit out of rich people. Norway is rich and effective and much flatter than the USA so I think perhaps flatness isn't as rigidly tied to negative outcomes as you seem to think.
Paywall: https://archive.ph/guNgg
New CAPTCHA idea: "Write a 200-word essay about birds".
Can’t wait to try this.
I don't think Amazon is making a good decision here, but what makes you think the existing workers who are happy to work from the office would not be willing to work from home during a crisis if asked?

A global crisis necessitating a transition to working from home should not immediately result in a company like Amazon needing to substantially hire more staff, in fact, that is probably a big part of what got them into this situation.
PostgreSQL has pg_advisory_xact_lock which releases the lock automatically when the transaction is over.
> If you're working with sets of 10 items

If you are working with a hardcoded 10 items, and you are certain that won't change significantly, sure.

If not I strongly disagree, because I've seen way too often such cases blow up due to circumstances changing.

Now, if it is very difficult to avoid a nested loop then we can discuss.

But it can simply be due to being unaware that some indexed library call is in fact O(n) or something like that, and avoiding it by using a dictionary or some other approach is not hard.

While constants matter to some degree, the point of big-O is that they don't so much if you get handed two orders of magnitude more data than you expected.

I'll gladly sacrifice a tiny bit of performance for code that doesn't suddenly result in the user not being able to use the application.
> People who sabotage things tend to do it against all sides (you can always find an excuse to sabotage if you try hard enough).

'Holy Generalization, Batman!'
They should be bold and make it six days a week.
I work in media technology, and the amount of equipment in that field (think: room control systems, touch panels, projectors, media players, remote controled power switches) that does only support IPv4 is staggering.

As it might be wise to banish those devices into an isolated net anyways that might not matter too much — but a transition to IPv6-only has many places where hard- and software is the blocking factor.
No, it's not a title. He did enough engineering to be the one who did the key decisions.
The fact that US labour laws are this weak is a travesty. You can just circumvent severance by making working conditions unpleasant and you don’t even need to hide it.
You and Alex Jones.
If two hosts have both mutually accessible ULA and GUA addresses, they will prefer _GUAs_ to talk to each other. So the connection will be susceptible to the prefix withdrawal if the upstream goes down (BTW, IPv6 did nothing sane for multihoming either).

> Are you taking about mDNS still referencing the withdrawn prefix?

That too.
This article merely relays what ByteDance says, so it’s nothing but PR, unrelated to journalism. No idea what it’s doing on bbc.com.
So `abc | <file>` would write the stdout of `abc` to the file? Meaning that if you forgot to mark your script as executable, you’ve now lost all your work? I think `abc > <file>` works perfectly fine and pipes don’t need to substitute this behavior.
This guy is not competent to talk about what he's talking about.

>"JavaScript is, in my opinion, a working-class language. It’s very forgiving of types (this is one reason I’m not a huge TypeScript fan)."

Being "forgiving of types" is not a good thing. There's a reason most "type-less" languages have added type hints and the like (Python, Typescript, etc) and it's because the job of a programming language is to make it easier for me to tell the CPU what to do. Not having types is detrimental to that.
Sounds more like a layoff strategy now.
If you check the flames on Reddit, not sure if he will keep at it, the WG21 feedback has been pretty disapointing, hence this paper, as kind of response to those replies.

Most folks at WG21 think profiles will magically solve the problem, even though many of the ideas are only available on paper, not a random C++ compiler.

The biggest issue is that while a language like Ada also has profiles, the safety culture is much different, and they are part of the ecosystem since Ada83, not something that was added later.
If you want to do a mass layoff, be honest about it.
I worry a lot about password managers on mobile. Such as:

* if an app has a single developer (keepassium? strongbox?), how much money would it take them to add a back door? 1M USD? 10M USD? Let’s say they are exceptionally honest, and won’t take money. How about threats to their lives or families?

* if an app has a small number of engineers with commit access (bitwarden? 1paasword?) could any one of them be compromised by money or threats?

* Would password managers from Google/apple/microsoft fare better because they already face these risks and have controls? Or maybe not?
Hang on, can you explain why this is passive and not active?

> Harnessing the described phenomenon, we created the first semiconductor-free active electronic devices fully 3D printed via material extrusion. We demonstrate this breakthrough through the implementation of monolithically 3D-printed logic gates.
AI making stuff up? Unbelievable.
You link to table level locks which are different from advisory locks: https://www.postgresql.org/docs/current/explicit-locking.htm...

Are you sure that you're talking about the same locks? What are the pitfalls exactly?
No one is making the working conditions unpleasant. The company which pays you to do work wants its employees to be in the office. If you don’t like it. Don’t work there.

Looks like all the employees about to lose their work from home jobs are upset and downvoting.
> But compliance to the hybrid work order was fiercely enforced, with some employees who did not adhere to the policy told they were "voluntarily resigning" and were locked out of company systems.

I wonder how this will play out.

Previously the perception seems to have been that WFH was OK. So it seems like a pretty big change to their working conditions. Just making a massive change to somebody’s working conditions and then shutting off access if they don’t comply… I mean, how long will they pay them to do nothing?

It seems like they are just being fired to me?

We have shit worker protections in the US generally, but at least I hope some folks file for unemployment.
Is severance guaranteed by law? I don’t think it is in California at least
Why 2014? Why not 2022 when ChatGPT was released? Or 2019 for ChatGPT 2? Why not 2005 when the first dual-core Pentium was released? After that, the two cores meant that you could be sure what order your program would run things. Or why not 2012 when Intel added the RdRand instruction to x86? Or 2021 when Linux 5.17 was released with random number generation improvements? Or 1985 when IEEE 754 floating point was released. Before that, it was all integer math but after that, 0.1 + 0.2 =
0.30000000000000004. Not that I have any objection to 2014, I'm just wondering why you chose then.
Aren’t they just reverting to the same working conditions they had from the time they were founded until sometime in 2020?

Circumventing severance here seems like quite an overstatement.
The LLM would become the OS.