skysight-inc/HackerNews huggingface dataset:
The crucial thing about IndexedMap is that it is not actually order preserving.

If it gets inconvenient to preserve order, it's just not preserved. For example if I put sixty items in, then remove thirty and add forty more, IndexedMap doesn't put all those forty items "after" the remaining thirty from the removal because that's more work.

Python does preserve order, the fact that internally it looks somewhat like IndexedMap is an implementation detail.
I wish that an unhandled error would crash its way up the stack automatically returning error if the next function up can do so, until it is either caught into a variable or can't be returned (panic if error can't be returned).

This would get close to python try/catch with even lighter syntax.

This would cut so much boilerplate hand carrying error up the stack.
We have bamboo and it hardly grows. We bought it to use as potential 'building material' (to support trees and such). We bought it at a bamboo farm where they had many different species and sizes. On the farm was irrigation everywhere and even so they struggled to keep everything wet. Because as it turns out, bamboo will not grow without daily (!) getting water. It will actually rather quickly die. And indeed, the bamboo that we planted barely seems to stay alive. Even though we have some drip irrigation there.

So I would search for ways to cut the water supply to the bamboo shown in the article.
If participating doesn't help you achieve your goals why would you participate?

This is a question a lot of people are unwilling to even consider.

EDIT: out of replies for today, here's what I would have written.

I can say as someone who's been employed at multiple large companies, modern employment does not necessarily (if ever?) provide that (something to work towards.) Who wakes up in the morning and thinks "Ah yes, I just live for the CICD/security patch treadmill. I can't wait for scrum!" Serious carrier jobs these days are largely administrative in nature and I've found that I have to have side projects and hobbies to fulfill the need you're talking about. None of these are particularly expensive and during periods of unemployment I've continued them completely uninterrupted (in fact I did much better since work wasn't sucking away my emotional energy.)

For bell-cot:

Employment doesn't have great prospects either. For marriage and family formation very few men are even dating now and almost everyone gets divorced which in most place means losing half of what you've worked for. The women have destroyed themselves so a lot of men are wondering if they're even worth pursuing.

As far as purely economic goals go modern employment doesn't really provide stability the way it used to and shelter is so expensive saving is extremely hard for most people and home ownership is right out until maybe your mid thirties. In many ways most men except the long tail of ambitious/skilled ones may actually be able to expect a more stable life just living with their parents.
corMine 1 and 2 – Reverse-engineering of a Rust game binary for corCTF 2024
Emphatic agreement.

Towards that ends, I played the enforcer over the products I managed. I focused on the structures and processes, trusting the resulting outcomes. More referee than BDFL.

Everyone was invited to participate in design & decisions. Joint application design, project kickoffs, approval voting for triage, go/no-go events, post mortems, etc.

And once a decision was made, I enforced it. If a decision needed to be revisited, fine, but it'd be revisited as a team. No unilateral decisions. No hiding in the elephant grass and sniping works in progress. No "I told you so". Nobody pulling rank to get what they want.

Once each project/product found its release cadence (eg every 6 months), this team decision making process worked great. Because everyone knew they'd have another bite at the apple in just a few months, it lowered the stakes for each decision. So everyone could emotionally "disagree and commit", confident their personal priorities would be addressed in short order.
It's a former developer that's no longer affiliated with the project since 2021 or thereabouts. They did not part on good terms because he behaved in the same way towards other mpv developers, "my way or the highway".

So you probably shouldn't let anything that old sour your opinion on the current mpv.

(I don't belong to either side, just have been using the player since its inception.)
Not to mention the disabled copy pasting.
no, it doesn't. it's your "level" of english ^^
And available inodes, many forget about those. Suddenly you can't make new files, but you have tons of available disk space. Then you realise that some application creates an ungodly amount of tiny files in a cache directory.
> You'd be surprised - at least in the public transit context with iOS Express Mode, double Apple Pay taps by transit systems have absolutely been recorded plenty of times.

Where? I heard it many years ago a few times but not for a very long time? Maybe it was a bug which got fixed?
Because good decision making requires lots of external context and interpersonal assumptions. These things are not even documented. It's like every outsourcing project for code that I've seen: yes, what was delivered matched the written requirements, but it's useless and needs lots of changes. There's still going to be space for people who understand how things work both in code and in practice. (Cue Office Space "I deal with customers so engineers don't have to. I've got people skills!")

There are also right now cases of: I can write a paragraph of what change I need, or change those two lines myself. I don't expect they will go away entirely and having an agent available will be closer to an extra skill than a full replacement.
Okay, now I get it: you are disappointed by the Pixel specifically.

I don't trust Google's proprietary stuff neither, so I didn't have that in mind: I assume that any stock Android is going to phone home and should I receive a Pixel, I would replace the stock Android on it to one of the FOSS roms anyway, without Google Play services.

> wtf is it doing on this phone?

Again, nothing, I agree with you on this.
if people weren’t using this then they would be supporting a range of apps.

Or one single better non-Microsoft app.

But making people fear that using something else is complicated or expensive is how Microsoft makes money.

If you can't compete, confuse.
> And this goes both ways. The contractor has not much incentive to perform well either.

Can you explain your thoughts here a bit further? The short term contract can be renewed or replaced with a full time contract. This should provide extra incentive to perform well compared to a full time employee (who doesn't have to worry about either), as long the as the company is a good employer.
The last issue that caused them to leave was their desire to move mpv to their own build system, which they believed they could write in a weekend. Other mpv developers thought that was a stupid idea and argued in favor of something more standard, such as meson. That was the last straw for both sides.
I disagree.

I do think it would incentivize new security products/libraries/services focused on helping companies fulfill their security requirements instead of rolling their own crappy solutions.

If a startup cannot secure their customer’s data effectively, I don’t want their product to exist. If that means fewer startups get products off the ground, I fail to see that as a bad thing if a lack of security was the reason.

Slowing the industry down after a decade of breach after breach after breach seems like a reasonable and possible necessary intervention.
There isn't much more to explain.

Every bad thing has to have some nominal selling point as the way to get everyone to take it.

mv3 sales pitch is to remove the ability for plugins to harm users.

It does do that, but:

1: Only by also removing plugins ability to help users

2: and giving google themselves and anyone else google approves of (entities who pay google or who have other influence like government) the very same ability to work against the user that they took away from anyone else. ie they control the entire browser let alone a plugin. They literally control what you can even see at all. You search and they choose whether something is in the results. You search with not-google and they still control if the dns resolves anything. You use other dns and they still control if the ssl is valid, which it doesn't matter if 11 techies know how to overcome all that, they still controlled what 7 billion people saw, and thus what they were allowed to even think, minus a handful of impervious super geniuses like you and me.

3: There are infinite possible ways to address the supposed problem of harmful plugins, just as there are infinite possible ways to attack any problem. Even if one decides to agree that it was necessary to do something about the problem, it was not necessary to do this about the problem.

There used to be a theory that apparently doesn't exist any more, about the appearance of impropriety. The idea goes that in any situation where someone has power over another, especially over the public at large, like a judge or a politician etc, where everyone has to simply trust that they are acting with integrity, that in fact no they don't have to simply trust. The appearance of impropriety is damning enough all by itself. Since no one can prove what someone was thinking, and the position carries enough responsibility and consequence, then the office holder doesn't get to say "it just looks like I awarded this contract to my brother because he's my brother, that's just a coincidense" That might be true in the absolute term like in physics where technically anything is literally possible. But since there is no way to disprove it, and the bad effects are bad enough, we don't have to prove it. The appearance of impropriety is enough, because anyone holding a position like that also already knows that they have a responsibility to act with integrity and not allow any possible question about that. They already know that they can't just give a contract to a family member. And so doing it anyway and expecting to be able to excuse it, is it's own form of impropriety regardless what quality work the brother will do or what the alternatives were.

Google removing utility from the user and granting it to themselves is way way more than merely "the appearance of impropriety".

It doesn't matter what harms some plugins have done.
lol; Of all the evils, these are pretty tame. I know people hate Google, but this feels like we've gone on a witch hunt.
Vector is both amazing and terrible. The configuration language is just awful to work with, but the functionality is amazing and I don't know what I'd replace Vector with.

If you do a lot with logs, have different sources and destination it just must have tool.
> The shell script idea is neat.

Could be something as simple as:

file_path="${1}"
mime="$(file --mime-type --brief "${file_path}")"
ext="${mime#image/}"
mv "${file_path}" "${file_path%.*}.${ext}"

That does no checks (e.g. is the file an image) and may not work on something on something like a video, but it’ll do for common image types such as png, jpeg, webp, heic, gif…
Which application works better on newer phones? Can't see any difference, except maybe games and new AI crap that nobody needs.
> The question that needs to be answer is how far democracy is willing to go outside of democratic bounds to preserve itself.

Leaving aside all inaccuracies that are unavoidable in political situations: Philosophy spent quite some time thinking about this: https://plato.stanford.edu/entries/dirty-hands/
Works On My Machine (tm), your org's admin team probably missed a hidden checkbox that gets moved around between admin pages every odd hour (except on days divisible by 4, where it's missing entirely) (except during chinese new year) (except when that overlaps with a leap year) (except when an odd-numbered amount of users has the wrong license), but you can probably also do it powershell (except it's undocumented) (and deprecated)

...yeah, I don't know either why peopler dislike modern Microsoft.
Owning a company is different to owning say a bicycle. When you go buy a bike, you go into a store, get the bike, leave behind some cash, and you're done. Not a lawyer in sight.

A company is a different animal. Lawyers, bankers, suppliers, partners, accounts and so on. Lots of paper gets signed by founders and investors regarding ownership, liabilities ("for all debts current and future") and so on. When VC capital comes into the mix things get a LOT more complicated.

you can't just "give the company to the employees" because, frankly, that would be really bad for the employees (what liabilities are you taking on?) It'd also be really bad for current founders and investors. (There's likely paper floating around linking you to the company, and that doesn't go away just 'cause you lost interest etc.)

At some point it's all just too complicated and too scary for the old owners and the new owners etc. Basically the risk (to all) just exceeds the potential value of what is there.

Then there's agreements with banks, suppliers and so on, which can on occasion be "non-transferable" so it's not even just as simple as creating a new structure and moving all the IP into that.

I'm speaking generally here - your mileage will be vary a lot depending on the exact circumstances.
I wonder if the government could make a new type of physical cash with digital characteristics to solve this.

If we know the grid was at risk of collapse during conflict or a solar event, it might make sense to mandate cash* below some dollar value as an anti fragile move.
From a merchant perspective, there is a significant group that view this as a feature. Not a bug. Once a merchant gathers you credit card info, they can submit basically any transaction they want at any time. Yes, if you do this enough your payment processor will cut you off. But for businesses like gym membership, NYTimes subscription, car rentals, etc. it's a core feature.

The product in that case is not "payments as a service" to the consumer but in fact "payer as a service" to the business. If consumers didn't represent an unbounded ability to generate recurring revenue there are lots of profitable businesses that would go under overnight.
> I think this situation would've happened regardless of advice vs permission.

I don't think so. If you have a process in place where everyone can and should be heard during the design process and once the design is approved it is owned by everyone and everyone is obligated to fully commit to it, you prevent the sociopaths within your ranks from weaseling out and throw anyone under the bus. You eliminate the motivation to steer people in your team down a bad path to afterwards portray yourself as the only sane, competent guy in the ranks, because you have to explicitly sign off on the project. Once you sign off on the project, any extraordinary miraculous epiphany that happens after the fact is something that you must be held liable for, because it becomes obvious that you were never acting on behalf of the team's best interests. Therefore this sociopath move is no longer something that benefits you, and so the perverse incentives to screw over your team members is no longer there.
Exactly. Now at 40+ I can only hope for a lottery ticket to retire early and do what I really want. Anything else is just too slow or might reduce my wealth.
SolarWind Web Help Desk Java Deserialization Remote Code Execution Vulnerability
It's not mentioned in the article, but those are Spots by Boston Dynamics right?
FWIW, about a third of the high-quality creators I subscribed to on YouTube initially, also maintain a presence on Nebula.

It's not enough to fully switch, but at the very least I get their stuff without mis-gendered advertising — as seen the other day on YouTube, where I was presented with an unskippable ad for sanitary pads.
> photo evidence made with digital cameras should long have been inadmissible in courts

Sworn testimony is admissible in courts. I think the "you can just make evidence up" threshold was passed a few thousand years ago. The courts still, mostly, work.
> even smaller the Archimedes

I have written about the ST continuation efforts:

https://www.theregister.com/2022/12/05/new_atari_display_dri...

And the modern QL OSes:

https://www.theregister.com/2024/01/16/ql_legacy_at_40/

There is modern new QL-compatible hardware on sale today, which still amazes me, 4 decades later.

But saying that... If one were so inclined, which I am, one could argue that the entirety of the Arm platform, including the modern Mac I'm typing this on, is an extension and development of the Acorn Archimedes.

It doesn't run the Acorn OS, but neither do modern x86 PCs. And anyway, the original OS is alive and well and runs on modern hardware:

https://www.riscosopen.org/content/

It doesn't use the original GPU, but nor do PCs. It doesn't use the same RAM layout or anything, but nor do PCs.

But it's a compatible, extended, modernised version of the self-same CPU architecture, just like PCs are. It can emulate the old environment so you can run the old OS, just like PCs can.

Any current Arm64 device, phone or tablet or laptop or server, is every bit as much an Acorn Archimedes as a modern multicore x86-64 computer is an IBM PC.
Lol I quit Twitter (over 1k followers and extremely active) when musk bought it. I didn't replace my addiction with another, no. I simply dropped off the face of the earth and I feel so much better for it.
Am very satisified with https://en.air-q.com/funktionen/air-q-science-option that offers a lot of sensors (https://en.air-q.com/messwerte). Good UI, API-accessible and integration in HA works just fine. Rather pricey though, depending how many sensors you choose.
The Awair Element works very well in my experience. If you check the sensors list, the sum of the cost of just the sensors (that are very high quality ones) will match the total cost of the device. And the software and the design are great as well.
> bad actors are terrible to deal with especially when they hold power on like a PR review.

It's much nicer to deal with overly enthusiastic junior developers that want to rewrite one out of the company's 30 typescript microservices in rust (because they read somewhere it's cool).
What a bunch of bs, made up reasons for why men are becoming NEETs.
Very keen on bamboo in our garden but this article is putting me off. curious if anyone on HN has experience of containing bamboo e.g: digging a trench and pouring concrete to contain it. How deep would we need to go?
If youtube creators posted torrets of their videos I would almost never go to youtube.
> Yes, you realistically cannot implement everything every user wants, but at the same time your software is meant to solve problems.

It's a question of whose problems. It's highly unlikely that we perceive the same problems in the same order of priority, so why should I donate my time to your problems when I am already wishing for more time to implement the solutions to my own? In commercial software there's an obvious incentive to work on features that are in demand by people who will pay for them. Expecting people to act like that incentive still exists even when it doesn't is insane.

> I've been on both sides of this discussion, as an OSS maintainer and user, and have experience with demanding users and arrogant and, yes, _lazy_ developers alike.

The gall to call someone who doesn't want to work on your problems for free "lazy"... Now imagine that you voluntarily participate in a very active OSS project and there are tens of people like you who extend that massive middle finger over and over whenever they can't convince you to donate a work week to their esoteric dream feature.

> Let's stop the narrative that users don't have the right to request features because they're not paying customers, and that this is driving developers to burn out.

The "narrative", again, is "that you're not entitled to demand new features, as a (non-paying) user, you can't allocate dev's time to work on what you want." This is the card you insist is played too often, not that "users don't have the right to request features". I don't see how you could honestly get these two things mixed up.

> Keeping direct communication with your users, and understanding what they find useful or not, should be the driving force of the design and features of your app.

Who are you to decide what should motivate me?
> lock the thread before people start mentioning nazis.

Which will invariably happen. What was that "rule" called again?
> No. The null reference shouldn't exist. That's Tony Hoare's "Billion Dollar Mistake".

This gets repeated so much, so often, that at this point it's safer to assume that the person who is citing it is just so new to programming that they don't realise we've all already seen multiple times, almost always posted by an enthusiastic but ultimately green newbie.

> Rust does not have null references.

So? The word "reference" in Rust is defined by that languages specification, which is not the same definition as the word "reference" used in English, nor in other programming languages.

If you were having a Rust-specific discussion, you should have said so.

> - if I mean that there may or may not be a reference I want Option<&T>

And one of those options is `this reference does not exist`, which is what Tony Hoare referred to as a null reference in his writing(s).

Hence it's the dereference that's a problem in programming languages other than Rust, not the existence of the null reference in languages other than Rust.

Note, I am using the word 'reference' as defined everywhere outside of Rust. I am also using the word 'dereference' as defined everywhere outside of Rust.
This is true and it was a joke at the time.

"The best thing about using a Mac is that you can rely that something in your life is going to go down on you every single day."
This looks interesting. If a Flavour app were calling out to a back end in e.g. Spring Boot, is there a way to combine them into one project?
> How would "AI" even start with issues like "product sometimes runs slow" or "it crashes 1/20 times with this vague error message".

By asking more questions, just like a developer would. This is already available in the chat form, but that's a separate set of skills and would require the other party to give responses. It's a useful test, but I believe not in the context of what swe-bench wants to measure.
If I'm reading GP right: there is a QR code displayed prominently on Discord login screen, which is an image. Opening the link on a phone that is also logged into Discord skips everything and completes login process. That QR code can be sent to a victim under false pretense for account takeover?
Tcl was much earlier, in fact.
Exactly, it's incredibly useful to see the environment in which the application operates and how it reacts.

E.g. does your application spike in memory usage as network latency goes up? How does the application react when /var fills up (you should have an alert for that).

What I've frequently seen, running externally developed applications for customers are applications that hasn't been designed with monitoring in mind, so until you can sort of guide the developers to add all the metrics you'd need, you have to rely on what the operating system can tell you, perhaps with whatever agents are available that particular programming language.
> Tim Cool

Fun typo for Tim Apple. ;-)
Nice article, thanks!

Minor nitpick: PUN is not a device in Windows 11 (I haven't tested on previous versions).
> echo hello>pun:
> type pun
hello

In the section about paging, are there actual systems working in the megabyte range?