skysight-inc/HackerNews huggingface dataset:
I occasionally need to remove PII from json payloads before sharing it on slack, would be nice if there was some kind of obfuscate option for either all json values or just some that’d replace all values with **.
As-is, in plain text. Not HTML. It should be comfortably viewable in raw text, which precludes HTML.
You'll think about this discussion the next time it happens again on a nez git repo you've just created.

Why is adding a .gitignore line a problem you ask, but then someone could ask why is committing those .DS_store files a problem in the first place… In both cases the problem is that you are adding garbage unrelated to the project.
This is the relevant preprint

https://arxiv.org/abs/1903.02651
Not sure I get your comment. What does "we'd mostly solved the problem" mean during interview? And what does "keep going" refer to?
A simple Slurm guide for beginners
Not sure if you actually been to RO but every small shop has 3-4 payment terminals, each bank branded, and based on the card they use a different terminal thus ensuring minimal charge or even 0.

In DE or NL, you operate via an intermediary ( like payone, etc ) and a single terminal. Maybe here comes the difference.

PS. Larger shops/markets ( like kaufland, carrefour, etc ) have also just one, but I guess they negociate the fee.
Show HN: DatePrefixCopy, prefixing file names with yymmdd_
Windows-only, written in Lisp. Reasoning: some companies do that for "version control". They all use Windows. This is a zero-click solution.
Maybe they are mentioning the first interview which is almost always with a clueless HR.
> Now, I picked Trump because it's one current politician that approximately everyone on the planet has an opinion about

In a global audience, very few people care at the moment. That won't change until he comes back into office and starts to use these nukes.

I encourage you to actually interact with native people on the street the next time you go on a trip abroad. It is very rare to find someone interested in US politics that doesn't live in the USA.

American pop culture, which is what I consider Tylor Swift to be a part of, continues to have strong influence globally. Though that's also on a diminishing trend - mainly because their productions have been getting way worse over the last decade (at least wrt movies and TV shows)

/Edit: we've also gotten quite offtopic with this discussion, because being interested in trump is something very different to caring about what he writes on Twitter
An Old-School Chat Room with WebRTC Video Call Support
This chat room takes a different approach—there are no predefined or public room lists. You create your own room and then share the group name & password or a link with your friends to join. The group name & password can be chose at will.

If you don’t have anyone to chat with right away, you can open a new browser tab or use another device to join the room you just created.

I can assure you that the server will never have access to any chat content. The front-end code is lightweight, and if you have the tools or want to analyze it with AI:

The encryption key for the chat content is derived from the group name and password, with salt added and a special process applied. The chat room ID is determined by hashing the group name and password. Something like this:

key = keygen(funcA(hashA(group_name, group_pass, salt_A)));
RoomId = hashB(group_name, group_pass, salt_B));

The server only knows the RoomId. The client knows both the RoomId and the key, but the key cannot be derived from the RoomId. This ensures that neither the server nor any network operators can access your chat content.

If there are just two people in the chat room, you can start a video call by clicking the phone icon. If there are more than two people, you’ll need to select a person first before initiating a call.

Have fun! https://cnt2.cf/groups/login.html
Oh yeah, to clarify, I mean when she like 10.

I believe banning kids from using smart phones is much more enforceable than individual bans on particular sites
Good grief, he's not that old ... https://en.wikipedia.org/wiki/Walter_Bright

Maybe mentally append a '/s' to the comment you replied to.
And if you know how to cook you can at least try and improve the food or make your own ingredients :-P

(ok the analogy starts breaking down at some point but you get the idea :-P)
ident(1) and specially formatted string constants maybe https://linux.die.net/man/1/ident
The problem is the raw shitty truth. Not that it isn't hidden, but the mess that it shows.

The underlying reason for this mess is that several popular tools, especially in the systemd and containerization-adjacent space, are built on a bunch of non-standardized userspace hacks (e.g. per-process tmpfs chroot jails) that pollute the mount table of the host system. That is the trainwreck.
Sadly this requires a "donor" tag to impersonate (which then can't be used for as long as you want this to work), or using OpenHaystack which requires using a Mac in order to get the data.
man 3 malloc:

The malloc(), calloc(), realloc(), and reallocarray() functions
return a pointer to the allocated memory, which is suitably
aligned for any type that fits into the requested size or less.
On error, these functions return NULL and set errno.

Problem is that thanks to overcommit malloc sort of always succeeds, and then many (most?) code doesn't check that malloc successfully returned and proceeds to march on towards a later obscure failure, hence below:

> It's not an orderly 'abort: malloc failed' or process termination like I would've expected. Instead, you get weird intermittent failures that don't look like OOMs
A defense-in-depth approach with a special eye to compartmentalization/separation/sandboxing coupled with principle-of-least privilege is a good stance to take, I think. Also keep in mind that "security is a process, not a product". There is no silver bullet no tool will save you from yourself...

With this in mind:

- https://qubes-os.org - Use separate VMs for separate domains. Use disposable VMs for temporary sessions.

- https://github.com/legobeat/l7-devenv - My project. Separate containers for IDE and (ephemeral) code-under-test. Transparent access to just the directories needed and nothing else, without compromising on performance and productivity. Separation of authentication token while transparent to your scripts and dev-tools. Editor add-ons are pinned via submodules and baked into the image at build-time (and easy to update on a rebuild). Feedback very welcome!

- In general, immutable distros like Fedora Silverblue and MicroOS (whatever happened to SUSE ALP?) also worth considering, to limit persistence. Couples well with a setup like the one I linked above.

- Since you seem to be in a Node.js context, I should also mention @lavamoat/allow-scripts (also affiliated via $work) as something you can consider to reel in your devDeps: https://github.com/LavaMoat/LavaMoat/tree/main/packages/allo...
Financial theory says otherwise.

The value of an asset is the value of its discounted cash flows.
Ask HN:Fake MRR as a Marketing Strategy
I've stopped trusting the MRR. It seems that lately, more and more people are using this dirty strategy to attract an audience to their product.

It works like this:

1. Wow, he made $2,000 with one launch on PH.
2. The product must be a quality product if so many people bought it.
3. I'll give it a try.

Also, MRR's screenshots are creating a network effect on Twitter. The tweets of this character, automatically become more valuable, because he earned, he won.

I think this has started to gain momentum in the last year or two. What do you think?
Yeah, I keep forgetting HN needs explicit sarcasm tags.
Who is "people" here? The children or the parents? The children are literally children; to them the funny numbers we use really are just funny numbers, they don't know how they relate to real value. As for the parents, a few credits here and there to shut them up and keep them out of trouble is probably considered worthwhile. When I was little they got football shirts, yoyos, trading cards etc. Same thing.
Show HN: I have created an extension to run ALife simulations on VSCode
I don't think you can fix burn out with new responsibilities and challenges. At least it didn't work for me.

Before you will make any significant changes in your life I highly recommend to take long vacations. It depends how severe the burn out is. Maybe you need 2 weeks, maybe 1 month, maybe 2 months will help.
I use this and it's great. Consumes basically no power, too. I'd like it if it could talk to Google's "Find device" network, but it's already working really well with Apple's network.
> Why can't they just issue their own device to minimize app store fees.

Lmao.

Microsoft tried that and failed. Amazon tried that and failed. The market has enough room for iOS and Android and nothing else.
It doesn't, I use it without an AirTag on my Linux machine. It works fine.
"Update: Existing Users Grandfathered in; New Users will Pay a Small App Subscription Fee"
https://anovaculinary.com/en-fi/blogs/blog/update-existing-u...

>Who will this impact? Only new customers will have to pay for a subscription. Existing customers who have an account with us before August 21st, 2024, will not be charged a subscription fee.

>What does it cost and what do customers get? The subscription will cost $1.99 per month or $9.99 per year USD.
I have experience with mobile operators in Brazil and western Europe, and all providers support esim there. So I'm not 100% sure where you get the 'fact' that outside the USA it's not supported on most networks.

Besides some annoyances (try to switch phone while your plan is on esim. I hope you dont reset your old phone before you transferred the esim to your new phone), esim really works.
https://archive.is/djjCY

Wasn't able to easily decline cookies.
Here's the same page on the better wiki: https://minecraft.wiki/w/Tutorials/Redstone_computers
You said “was”, so are you back to a regular salaried job now? Because it was not sustainable?
If the log endpoint is external to your process and two different copies of the logging crate in the same process writing to it cause problems, two identical copies of the logging crate in different processes will likely also cause problems. The solution here is global synchronzation, not just within one process.

If the log endpoint is internal to your process, how did you end up with two independent mutexes guarding (or not guarding) access to the same resource? It should be wrapped in a shared mutex as soon as you create it, and before passing it to the different versions of the logging crate. And unless you use unsafe, Rust's ownership model forces you to do that, because it forbids having two overlapping mutable references at the same time.
What is the Minecraft online experience like these days? I only ever hear about people playing self hosted servers with friends. Are there still big servers with unique game modes kicking? Seems like it would be hard to keep sustainable
>One thing that could be very useful is a website tracking job postings and their close dates.

Not convinced this will be useful to you. Most job boards have a default display period (typically 30 days) and it's rare that a job will be closed manually within that timeframe. Job posts on careers pages are likely to be more accurate but the data is going to be extremely tricky as a lot of career page content tends to be catch-all content to ensure an 'always on' pipeline of candidates and the teams that manage these career pages aren't always efficient at closing roles once they've been filled.
Sure you made it but that’s probably not the norm. Also, there are plenty of people that do a three month boot camp course late in life and end up doing well in software and tech careers. You don’t really have to be loading roms when you’re seven years old for it to work out.
Depending on your perspective it's either not unique to Linux at all (every OS now has an integrated package manager), or it's entirely unique (no OS not directly derived from UNIX uses the same design).

It's worth remembering that Linux forks off from the AT&T UNIX design very early, and UNIX didn't have any notion of software management. It was an OS which assumed you'd compile programs yourself, probably because you wrote them yourself. It came out of a research lab funded by a government-granted monopoly, so it was designed for relatively expensive and powerful hardware. Like every early OS UNIX had very little in the way of userspace services so a pragmatic hack was to use the notion of well known directories to locate things like man pages or binaries. The concept of software being overlayed onto the same directory structure followed naturally from that, which means the FS doesn't have any metadata in it describing what belongs to what. Vendors viewed the problem of software management as primarily one of how to add and remove optional components supplied by the base OS, and how to execute upgrades. By that point the ship of sorting files by type rather than by component name had already sailed, so they added package manager databases on top to track the extra metadata the FS design couldn't.

Microsoft and Apple approached things differently. The FS was in their conception primarily a way for users to organize their own files. DOS didn't offer any services that required registration so users got used to the idea of organizing programs into directories as they wished, and the background in cheap and heterogenous hardware meant that programs were often in semi-random locations determined by things like how many floppy drives or hard disks the computer owner had purchased. Thus when Windows came along and started offering integrated services, assuming specific physical locations on disk wasn't viable. So they invented the registry which served as the inverse of how UNIX did things: the registry was full of magic directories where small files could be placed to register things, and the FS was where the association between files and components (app folders) was kept.

And it all sort of went from there.
> My wife and are considering building down there

As luck (and hard work) would have it, Propublica just give you a better idea of where _not_ to build..

Increase the distance safety margin by an arbitrary 1000%, take into account the dominant wind direction, and, fingers crossed, you'll find a safe place. Godspeed.
The cost isn't the issue here: the problem is you still have to undock and dispose of the capsule without it running back into the station.
It's fashion. It's the same phenomenon as kids wanting to spend $100 to get the coolest shoes (in the real world).
> valve does contribute to gaming on Linux

They only do it because they are painfully aware their rent-seeking behavior is entirely at whims of ms/apple and they want to have some moat.
It's not only kids that buy these.
I know a lot of 40+ year old men that buy skins and useless junk in video games all the time.
They spend a ton of money on cosmetic junk in short lived video games.
It's puzzling to me, but i see it all the time.
It originally meant "local to your site" and was assumed to be a network mount.
> I also marvel that such a shallow comment could have such an adverse affect on someone.

Some of us are wired differently, and some of us are bullied to death. I'm both. Everyone can't create calluses against these kinds of shallow comments by playfighting, esp. if it turns bullying at life-threatening levels, and nobody intervenes, because they let children to be children.

As a result I grew very asymmetrically from get go. I got very ahead in maturity without the defenses I needed to front and process criticism. I left painting because everything I did was shot down (but I have won two awards for my age groups earlier), I had severe dance phobia for 20+ years because somebody mocked how I dance, and I left writing philosophical pieces because my English teacher mocked me.

Yes, I now dance, and write philosophical things (but not publish them), an old friend who was an art student said I can certainly draw, but I feel no enthusiasm now. The only thing I were unable to get me from me was computers, and I now have a Ph.D. (oh, my math teachers called me a failure, dozens of times, hah!).

So, no, we shouldn't raise people with "emotional battery induced numbness", but shall teach them to deal with harassing people by making them understand the mechanics. It's harder, but it doesn't make you collect these comments in an emotional waste basket and dump on an unsuspecting person who unintentionally triggered you on a bad day. Instead, you process and get rid of them, and it makes you genuinely happy without an overfilled emotional trash compactor inside.
The Unitree GO2 Pros are manufactured in China, but supplied by Brit Alliance, a UK company.

The DJI drones used by Ukraine en masse are developed and made in China too.
> most people like being able to pause a video on a specific frame to be able to study it more closely

I think the vast majority of people just want to be able to watch the film they downloaded.
My dealbreaker with Zed is that it takes away my autonomy and agency.

1. Zed downloads binaries without user input as soon as you open a file; think LSPs and linters. This is a hot topic and has been for a while.[0]

I would rather my editor break (or even better, fail gracefully and helpfully), than obscure what amounts to being a significant action that I believe warrants user involvement.

2. I can't tell what gets sent to Zed's servers.

I don't have time to audit all the code, but as an example, this PR, [Allow Al interactions to be proxied through Zed's server so you don't need an API key][1], has +3,628 -8,918 changes and even just by the title seems to suggest that using the Assistant feature may result in requests being sent to Zed's servers.

This is a dealbreaker for me because, not only is this not documented anywhere, it seems in contradiction to the EULA.

"User Content is transmitted from Your environment only if You collaborate with other Zed users by electing to share a project in the Editor. Once You share a project, Zed may transmit User Content consisting of file paths, file contents, and metadata regarding the code returned by language servers."[2] It doesn't mention if using the Assistant feature is part of the network based solution or that it's the same as "sharing a project," but I'm not an Editor-EULA lawyer.

Arguably, this is true is any open source project, though my stance is generally to be more alert to privacy concerns with software from newly-backed pre-profitable startups. I don't want to spend my rare editor-tweaking time on nonconfigurable privacy and security control workarounds.

Edit: As if on cue, another PR to seemingly default to sending data to zed.dev: https://github.com/zed-industries/zed/pull/16454

[0]: https://github.com/zed-industries/zed/issues/12589

[1]: https://github.com/zed-industries/zed/pull/7367

[2]: https://web.archive.org/web/20240718140959/https://zed.dev/e...
> This whole article very true, but somewhat irrelevant to 2024.

The author is complaining about inconvenience. If I'm in the shell, and I want to see how much disk space I have, asking a LLM for a command then running the command then asking the LLM to parse it is still inconvenient, compared to just typing "df -h" and getting a reasonable output.

The fact that Claude or whoever can parse that output seems irrelevant to the article as I understand it. "AI" is not a magic silver bullet.
Broadcaster is one we use in production for PUB/SUB stuff with OPA/OPAL. https://pypi.org/project/broadcaster/
Nix is the right tool for this, developing a tool to make Nix's UX easier is a great idea. Thanks for this!
I learned early on to automate the test system. It went from a 30-minute setup to run a 5-hour test (which I wrote) to one command that took maybe a minute to run all tests (which I also wrote, and by the end, you could specify just what tests you wanted to run). And yes, that one command generated all the test data and ran all the processes required to test.

Towards the end, management was asking to test for negatives ("Write tests to make sure that component T doesn't get a request when it isn't supposed to," when component T was a networked component that queried a DB not under our control). Oh, and our main business logic made concurrent requests to two different DBs and again, I had to write code to test all possible combinations of replies, timeouts and dropped traffic to ensure we did The Right Thing. Not an easy thing to unit test, as the picture you linked to elegantly showed (and, you side stepped my question I see).

The entire engineering team for the project was maybe 20, 25 people, but each team (five total) had full control over their particular realm, but all were required for the project as a whole. Our team did C and C++ on Solaris; three teams used Java (one for Android, and two on the server side) and the final team did the whole Javascript/HTML/CSS thang.

You're right that we didn't see much flux from the other teams, nor from our customer (singular---one of the Oligarchic Cell Phone Companies), but that's because the Oligarchic Cell Phone Company doesn't move fast, nor did any of the other teams want do deal with phone call flows (our code was connected to the Phone Network). We perhaps saw the least churn over the decade simply due to being part of the Phone Network---certainly the other teams had to deal with more churn than us (especially the Android and JS/HTML teams).

Also, each team (until new management took over) handled deveopment differently; some teams used Agile, some scrum, some none. Each team had control. Until we didn't. And then things fell apart.

If I was developing a library, the only tests I might have would be to test the public API and nothing more. No testing of private (or internal) code as that would possibly churn too much to be useful. Also, as bugs are discovered, I would probably keep the code that proves the error to prevent further regressions if the API doesn't change.

One thing I did learn at that job is never underestimate what crap will be sent your way. I thought that the Oligarchic Cell Phone Company would send good data; yes for SS7 (the old telephony protocol stack), but not at all for SIP (the new, shiny protocol for the Intarweb age).
It automatically enables the preview feature, which I absolutely don't want (less about the preview itself, more about the fact when the preview is enabled, the tabs won't actually switch (so you can see the content in tab) until you release the hotkeys.

There used to be two separate switches (as it should be), but one core developer (Dão Gottwald) arbitrarily decided to merge the two together, despite multiple oppositions in the thread [1], because he thought "[w]ithout previews, switching in recently used order between more than two tabs would be unusable".

I'm still salty about this after all the years, not because how the feature I liked was gone, but it's the first first-hand experience I had that shows how the direction of OSS projects can be dictated by a single person and you can do nothing about it.

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1335108
No you can’t.

They don’t work from your local development env and also work in your CI env.

Mostly Brisk was designed to run your complete test suite on every codes save (ie local save) but it also works great from your CI.

We can run entire test suites in seconds which is performance you don’t get with those systems you named (which are generally for building/compiling)
In the mid 90s, I had been working on an SGI Indigo for a couple of years (3d post facility in London). We were in line for a hardware upgrade, and my junior colleague wanted us to switch to a Windows PC setup. From price / performance, it was hard to argue against it. I loved SGI hardware though, it was sad it fell by the wayside somewhat.
>It won't completely solve the problem for people like the man here, but it would certainly help

How can you know?