skysight-inc/HackerNews huggingface dataset:
Do you rewrite your auth system to modern standards or migrate your infra to k8s ? Some projects take months to complete and don’t deliver value until fully done, so it is valuable to spend some time to do some upfront planning to weigh your options
> I have not found an answer for testing React components that seems like a good use of resources
> …
> I'd really love to have a system that would give me a heads up that some CSS I changed has a spooky effect on a distance on part of the UI because of the complexity of selectors but that's asking a lot

I would’ve agreed until recently. I always found basically all other forms of testing valuable (unit tests of almost everything on the BE, unit tests of FE business logic, BE integration tests, E2E tests), but not testing of the visual elements of the FE.

But the company I work at, ~6 months ago we gave this product a try, and honestly it’s pretty incredible: https://www.meticulous.ai/

They basically record sessions of real usage in our staging environment, and then replay them against your branch, like taking all the same interactions, and mocking responses to all network calls. It records tonnes of these sessions and is very smart about which ones it uses for a given change. It flags any visual differences, and you can OK them (or not). There’s a bit of work to initially integrate, but then you don’t write any tests, and you get pretty amazing coverage. It has the odd false positives, but not many, and they’re easy to review/approve in their web UI. They’re also a small startup willing to work super closely with you (we share a Slack chat with them, they’re very open to feedback and iterating quickly on it).

I swear I’m not a paid shill or affiliated with them in any way, just a user who really loves the product. I was skeptical it’d work well at first, but it’s honestly been great, has caught many potential regressions, I feel we’re getting much better coverage than we would with handwritten UI tests. It’s very worth a look IMO if you’re not satisfied with your visual tests. It’s not an E2E testing tool, because the network requests are recorded/replayed (so it can’t stop BE changes that break the FE), but it’s amazing for testing so many elements of the FE.
> It's also a product that is doable as a single person or very small team. With modern technologies (React or Svelte, hosted databases etc.) it's relatively simple to clone

The core product is relatively simple. But software packages like Pivotal aren't sold on their core functionality, they are sold on their value-adds like integrations, automations etc which take much longer and much more manpower to build.
Ask HN: What's up with live location timer defaults?
This is a minor nitpick that just irks me to no end, but I figured there weren't many good places to ask. Maybe someone here implemented the first iteration of this. It doesn't matter whether you're using WhatsApp, Telegram or what have you. Whenever there's a "share live-location" option, the defaults suck.

It's most often either 15 minutes, 1 hour or 8 hours.

99% of the time I need it for 2 hours and a half. If it's 8 hours, I forget about it and it wastes all of my phone battery (this often leads to dangerous situations in my country). If it's 15 minutes, people start nagging me to turn it back on.

What's with this limitation? It seems like a super easy thing to parametrize. The feature is nice but I always get this bug behind my ear. Why is it this way?
Thank you for the translation from "person-in-the-know" to "clueless-bystander" :-D
Americans have passports?
OceanGate, Titan and Rush: Going Down with the Ship
This is good advice, but very tricky for parents. How do you know what is too much? How do you reconcile this advice with the innate desire to protect your child, which is turned up to 11 for a disabled child?

Not easily, I imagine is the answer. Still important stuff to keep in mind.

I think what's most important is that you love and your respect your child, even while protecting him. That means listening to him when he expresses his feelings about how you do what you do. If you do that, and are able to back off when necessary, they'll probably be okay.

(My mother was on the low end of the "overprotective spectrum." As a kid this bugged me, especially with interactions with other people. As an adult, I appreciate what she was trying to do, even if she was a bit overzealous at times.)
You are dense. Imagine a government authorizes 10B for a bridge and then in 5 years a bridge shows up.

Now instead, imagine in 1978 [1] a government authorizes "United States federal law that establishes procedures for the surveillance and collection of foreign intelligence on domestic soil" and in 2008 [2] amends it to not be a big deal if they're foreign or not and then 5 years later it turns out they're doing just that.

These bills are not secret. Were not secret. Have never been secret. It's not my fault you didn't read them but it doesn't make Snowden novel.

[1]: https://en.wikipedia.org/wiki/Foreign_Intelligence_Surveilla...

[2]: https://en.wikipedia.org/wiki/Foreign_Intelligence_Surveilla...
This is basically malware
The rules listed (1,2,6,7 round down; 3,4,8,9 round up). AFAIK these are also the official Eurozone cash rules for countries that choose not to circulate 1 and 2 eurocent coins. (Altho of course, electronic transactions are exact to the penny.) So you might want to cover this use case.
Don't count big pharma out just yet . . .
This is stupid. The law shouldn’t be written in such a way that companies can exploit silly loopholes, nor should it be written in such a way that is so invasive to normal business operations.
just do the greatest hits, and maybe songs of love and hate.
Has the overbearing tone of painfully detailed world building with very little narrative power I've come to expect from Chiang. Guy has cool ideas but really likes to describe how cool his ideas are in detriment of telling a compelling story.
Those are useful questions but I don’t think they’re the only ones that matter. Here’s another one for consideration:

What is the minimum level of privacy that a person should be entitled to, no matter their economic status?

If we just let the free market decide these questions for us, the results won’t be great. There are a lot of things which shouldn’t be for sale.
I don't really get the premise, as if we didn't have suicide bombers in public places/transportation - we already live in a reality where stuff can just explode.

Not to mention that it's a state of war, it's not some random attack, don't see why it's any scarier than getting hit by some random rocket.
I've heard good things about Uptime Kuma.
I am still confused to why they wrote the law before deciding what it would apply to, it just seems crazy.

Also does anyone know what other companies are under the DMA?
You can easily set up a Docker/CNCF registry[0] container running locally. It can be run either as a caching pull-through mirror for a public registry (allowing you to easily run public containers in an environment without internet access) or as a private registry for your own image (this use-case). So if you want both features, you currently need two instances. Securing it for public use is a bit less trivial but for local use it's literally a 'run' or two.

So you can do 'docker build -t localhost/whatever' and then 'docker run localhost/whatever'. Also worth checking out podman to more easily run everything rootless.

If all you need is to move images between hosts like you would files, you don't even need a registry (docker save/load).

[0]: https://distribution.github.io/distribution/
Hmm... doesn't really offer a suggestion for measuring progress. FWIW, in our dev team, we don't talk about "percent done," but say "percentage of unit tests that pass without mockups" and then "percentage of requirements covered by unit tests." The first measure is pretty easy to quantify, but the second is where ambiguity and guesswork creeps in.
True, but condemning it as a war crime would do a lot to limit its use. Poison gas is also cheap and easy to deploy, but it’s rarely used because of the stigma.
Those are all wonderful songs and included in the 2002 compilation 'The Essential Leonard Cohen', which incidentally is how I discovered his music.
For those looking for gentler alternatives to the more hardcore cleaners, a general purpose spray cleaner that I’m partial to, are the yellow bottles of windex, which are lactic acid + surfactant.
Reading the implementation details kinda got me wanting to do a c11 threads based port.
We do have some success in regulating abhorrent uses of technology. See mustard gas and chemical weapons in general. Sure, some will persist, but it is preferable to not attempting to restrict such uses.
Indeed, but also not everyone gets the payoff that GP did. We did IPv6 only and abandoned it after a while because there were some show-stoppers in our cloud provider that didn't work (at the time, this was a few years ago). It ended up being a good investment in the two people spearheading the work, but otherwise was a waste of time/money.
> I think a better example would be You (AirBnB Host) rent a house to Person and Person loses the house key.

This is not a direct analogue, a closer analogy would be when the guest creates a copy of the key (why?) without my direct consent (signing a 2138 page "user agreement" doesn't count) and at some later point when I am no longer renting to them, loses the key.
Too bad militants don't really follow those same rules regarding uniforms etc. Trust was lost long ago, before even the first suicide bomber wearing civilian clothes set themselves off in a crowded market.
>I'm referring to running in a weird v6-only configuration and fighting with software which expects a normal configuration with v4.

To which software are you referring? I'm not familiar with such code.
The intelligence agencies literally use ad data to do "targeted killing" what are you even talking about?

Ex-NSA Chief: 'We Kill People Based on Metadata'...
> [T]eachers should only be teaching works of literature that have one and only one objectively correct interpretation, like the Bible.

That's a non-sequitur. What they are saying is that: "if a text can mean anything, then by definition it means nothing."

Not coincidentally, this nothingness is part of the postmodernist project of "destabilizing meaning" which is in direct opposition to, as a rejection of, the progress of technology and science, which instead seeks to discover empirically what things are and what the truth is.
Why would you resign? You could have reported it yourself and then you would have whistleblower protections - if the company retaliated against you (e.g. fired you), you then would have had a strong lawsuit.
Thank you for taking the time to write this response. Unfortunately, even though I agree that tokenization makes it pretty hard for the LLM to count characters, I'm still not convinced that it is a fundamental problem for doing so. I think the lack of (or limited amount of) symbolic processing is an even more important factor.

> But there is no way it can count characters in tokens, it just doesn't see them.

If that is the case, then how can most LLMs (tested with ChatGPT and Llama 3) spell out words correctly?
I think Maciej worked at Delicious, which then got acquired by Yahoo. He then created Pinboard as a Delicious competitor, while Yahoo ran Delicious into the ground (as he predicted). Then when Delicious users had flocked to Pinboard, he acquired Delicious from Yahoo.
I feared a simple, pontificating thought piece from the title. The author, in fact, provides a technical deep dive onto how the engineers fabricated a battery bomb and discusses easy supply chain attacks. A fascinating and well researched blog post.
this In JavaScript
This is concerning. As I am typing on a laptop with fingerprint reader, one could make that battery explode after successful identification.
What a world...
Tangent: We don't see the way we commonly think we do.

Unlike the human vision system, there's no mention of the fovea, the foveated gaze which forces us to spend attention and build a mental model of the world, nor the need to focus on objects at various distances. While it's astounding how well deep networks have handled image input, it's definitely not like that of a human, or most other animals.
I named my son after him, and had to rename my cat after he was born - my cat is now Mr Cohen.

I did not discover him, though, I grew up to the sound of Suzanne and the rest of the Songs, one of the tapes my mother played fairly regularly when I was little. He, along with Tom Waits, was the soundtrack of my childhood and of course something you grow to appreciate more, not less, with age.

I think Suzanne is probably my favorite song of his. It's got one of the most soothing melodies, simple and gently repetitive, undulating, like the river itself. The imagery of Jesus, of the cross as a lonely wooden tower, as a man broken and forsaken, in contrast to a life-affirming personification of nature in Suzanne; the whole river / boat / sailor theme running throughout; it's just very well put together and thematically tight.
One would counter that if private money was at all interested in resolving this problem they may have done so at any time in the last 3 decades, which is only the most severe the crisis has been, not it's full duration.

One would also counter that regulations regarding the accuracy of speech existed in 1987 and were by most accounts, pretty effective at keeping news informative and balanced, as opposed to after those regulations were retired and we got politics being covered like sports and the political divide becoming larger and larger as time goes on because making people angry and scared of the Other is pretty profitable, while getting them balanced, informed coverage is both more expensive and not as appealing to the consumer.
I think either this, or his last two albums.

The Hills[1] is just sublime.

[1] https://www.youtube.com/watch?v=FesS3D-7o1g
TI 89 was my goto in college. The algebraic equation solver was pretty good.
Out of the box they are locked down to prevent transmission on certain frequencies for legal reasons. This is trivial to get around with a firmware flash.
Doesn't the Fed recognise mills ? They are not extinct.
Right. I get offers for my decades-old domains every day or two now.
Nope, doesn't work with Yiddish/German language, too abrupt and hard. I would say Hebrew since it flows naturally with the word Hallelujah, but even that...
Reddit currently has 40,000 outage reports and climbing.
I too don’t understand the need for transcoding if the goal is to get best quality. Any transcoding will reduce quality, and given the capability of modern players, the best quality is just the original media file.
Iosevka is the one for me: https://www.programmingfonts.org/#iosevka
Out of curiousity, what do you dislike about spreadsheets/google docs? This has been my primary means of tracking progress historically. I've tended to find that all other mechanisms just add unecessary overhead.
That's how I rationalize it. I had an early Bitcoin opportunity I missed out on but realized I'd have cashed out the second I could make a quick $1000 or something. Now my strategy with stuff like that is to keep a tiny "FOMO" amount even after selling the majority.
I'd definitely write a build systen in lua, looks promising!
His Technics is used in places, such as "Tower of Song". But "First We Take Manhattan" was recorded using a Synclavier, which at the time was as cutting-edge as you could get.
> In 2025, creators will also be able to use Dream Screen for generating 6 second standalone video clips for their Shorts, like a cinematic underwater reveal of the Golden Gate Bridge.

While this is clearly an announcement for investors (see how they bring up the Transformers paper again), I fail to understand the value add for Youtube content.

Just like scrolling through AI generated Facebook photos is not engaging, so too will be the glut of AI generated Youtube shorts.
It was working fine 2 hours ago. Now it's down, but that happens from time to time... Too soon to panic.
Senior Engineer tends to be a catch-all phrase for people who have 3+ years of experience but, for whatever reason, are getting into the next level of promotions (Staff for IC/TLs, manager for EMs). Most people are in this group, and there's nothing wrong with being here.
Because I don't want to be associated with companies that break the law and violate regulations knowingly.
I've long had a reputation of integrity, and it's one of the few things I have left having almost nothing else.
> the point of all those processes is to help you make things more efficiently

I think this viewpoint -- that these processes somehow could increase efficiency if only they were good -- has a lot to do with why engineers dislike systems like Jira, because they will never see the increased efficiency they are looking for.

Let me restate it in a way that I think is a little more nuanced:

The point of systems/processes is to lessen the amount of inefficiency in a group of people working together as that group a) gets larger, and b) experiences turnover.

Nothing's ever going to be as efficient as a single engineer that can build everything with all the details in their head at that very moment. But there's a limitation on size of problems you can solve doing that! So many people working on large problems hate their processes, because each individual person is doing less than if they were in a tiny, stable team, and they can feel this, even if the organization is making great progress.

(And then, at the largest sizes of organization, it's almost impossible to stop the org from crumbling from the weight of its own complexity. People do spend an awful lot of effort trying, though).
And yet every paint manufacturer has hundreds of swatches of various colors that their paint 'comes in', even though there is practically an infinite possibility of colors available.

I've seen many custom JIRA workflows, where you define specific states that can progress to other states. Nearly all of them, over time, were modified so that any state can move to any other state.

And if you engineers don't use the tool you provide, the data in it is useless. Engineers are typically very smart and will just twist any tool they don't like.

Declaration: In order to have accurate state between projects and bugs, everything needs to be tracked in JIRA.

Result: 70% of your Jira stories are now
"This JIRA tracks an issue stored in the Github repo, see the repo for current status"
It's really frustrating. I currently want to buy a mattress and a refrigerator. The results for those are so awful as to be useless.
Does pay stay the same? Genuinely asking. Like is someone with 15 years of experience not getting paid more than someone with 1, even if hired for the same position? And we can obviously argue how that’s even possible but that’s a separate issue altogether.
Oh sweet, thanks for the tip. Time to go digging :-)
Generally you only have one point to send per series.
You send all the points for ‘now’, then in N seconds you send them all again.
Sure and if you pay a statutory fine times 10 million then it becomes a big deal and therefore companies would be incentivized to protect it better the larger they get.

Right now they probably get some near free rate to offer you credit monitoring and dgaf.
The 'introduction' from what is now v1, a 15mn read:

https://scp-wiki.wikidot.com/we-need-to-talk-about-fifty-fiv...
Potential Attacker on the Company Payroll
Yes, they are fun, but not notably useful, at least not yet. And only useful for pretty specialized tasks like key exchange.
The software which Habgdnv was referring to? Seq being their most recent problematic encounter, but there's apparently more. I don't know the details, you'd have to ask them.
Can this or Formance interact with credit card systems, checking accounts, and layer 2 crypto wallets? If not, how is the money even going to come in or out?
> But this "meh, I couldn't care less what happens"

I disagree with that interpretation. To me it reads as “the arguments are silly and unproductive. So far Rust looks positive to me but it’s early to say for sure”. That sounds perfectly reasonable to me.

And honestly, I hope Linus ignores criticism like yours¹. I hope that after the “reform” he feels happier and more adjusted and that he has a renewed love in doing good over being efficient. Software ultimately exists to serve people, so we’d all do well to put humanity first.

¹ Though I don’t mean to single you out.
Step 1: Microsoft has a proprietary alternative to an open standard, people complain.

Step 2: Microsoft begins adopting the open standard, people complain.
Realistically, you can't. You're at the mercy of the NSA, CIA, and all of the other sufficiently funded and motivated actors. You might even get hit by mistake. This is the world we live in.
You know I thought it was a very early one, but I looked it up on Google and it said 1990 so I just blindly accepted it. Must have been a reference to a reissue perhaps..
The first thing I listened to from him was his very last album, "You Want it Darker", released less than a month before he passed. I don't know whether it's the best way to start, but I absolutely love the album, and it made a huge impact on me. It's one of the most emotional sets of music I've ever heard. You can hear his voice straining to its limits, he's putting everything he's got into it.
Show HN: Keep Your Next Viral AI App Free for Longer with Local Embeddings
Hey HN!

I'm the founder of Function, a platform that enables developers to run Python functions on-device. We've been quietly building for the past several months, but we figured we could launch some low-hanging fruit:

Function LLM patches your OpenAI client to generate embeddings on-device, both in the browser and in Node.js. The library itself is so tiny that it doesn't even need to be a standalone library. The more interesting piece is how it uses Function to generate embeddings on-device, fully cross-platform.

For the embedding model, we've partnered with Nomic AI to use their `nomic-embed-text-v1.5` model. We plan to add more embedding models before adding support for text generation with small LLMs.

At this point, you're probably wondering how we differ from the likes of Ollama. Unlike the other players in the space, we believe that the whole point of on-device AI is to push as much of your app's heavy computation to your users' devices--not to spin up a 'local' AI service still running on AWS or other cloud. This way, you save tons of cash by simply not having a hosted inference service; build users' trust with privacy by default; and have way less complicated serving infrastructure at scale.

Function handles much of the heavy lifting for you. We compile Python functions to run on Android, browser, iOS, macOS, Linux, and Windows. And we're exhaustive in using whatever hardware (GPU, NPU, etc) or ISA (CoreML, CUDA, etc) a particular device offers.

---

Relevant Links:
- Function LLM on GitHub (please ): https://github.com/fxnai/fxn-llm-js
- Document Retrieval Demo (fully on-device): https://fxn-llm-js.vercel.app/
- Function Docs: https://docs.fxn.ai/introduction
- Function Waitlist (to write your own fxns): https://fxn.ai/waitlist