skysight-inc/HackerNews huggingface dataset:
> Every step updates shared databases (frequently plural).

That's fine. It all happens within a single unit. A unit should mutate shared state within the unit. Testing would be pretty much useless without.

> If we call that entire sequence of steps a "unit" test, would you start with testing the entire sequence of steps, or would you recommend testing the individual steps first?

For all intents and purposes, you can't test the individual steps. All subsequent steps are dependent on the change in inventory state in step 1. And the product of step one is undoubtedly internal state, so there is no way for the test to observe the state change in isolation (unless you do something stupid). You have to carry out the subsequent steps to be able to infer that the inventory was, in fact, updated appropriately.

After all, the whole reason you are testing those steps together is because you recognize that they represent a single instance of functionality. You don't really get to choose (unless you choose to do something stupid, I suppose).

> And if we did test the individual steps first, we would give that testing a different name?

If the individual steps can be tested individually (ignoring a case of you doing something stupid), it's not actually and end-to-end process, so your example would make no sense. Granted, we have already questioned if it is a bad example.
https://www.tesla.com/legal/additional-resources#patent-pled...

Except the actual terms state that:

"A party is "acting in good faith" for so long as such party and its related or affiliated companies have not: asserted, helped others assert or had a financial stake in any assertion of (i) any patent or other intellectual property right against Tesla" [emphasis mine]

So Tesla agrees to not pursue you for patent infringement as long as you agree to not pursue Tesla for patent and copyright and trademark infringement and trade secret misappropriation. What a fine and upstanding fair agreement.

And, just in case it is not clear it also states:

"marketed or sold any knock-off product (e.g., a product created by imitating or copying the design or appearance of a Tesla product or which suggests an association with or endorsement by Tesla) or provided any material assistance to another party doing so."

which is a explicit carveout for Tesla's copyright and trademark even though they demand you give up yours.

[edit]: Added trade secret misappropriation as a reply mentioned since that is traditionally considered a intellectual property right as well.
Vendor iterates until client gets an usable environment, even if that means 50 forks of different libraries with custom patches that in the end work only on that one system.
Unpopular opinion, but I still really like SVN and prefer Mercurial and Fossil to Git as distributed systems. You can install TortoiseSVN for a non-technical user and give them a quick rundown on how to checkout asset files from SVN, how to lock/unlock it when they need it and when they are done and how to commit they can more or less understand it and work with it. GFL getting someone to understand how to use Git LFS or dealing with merge conflicts on asset files.

Git's LFS/annexe extensions are serviceable for developers and technical folks but really are subpar compared to a centralized version control options.
Should probably include trade secrets for good measure
The conversation on this podcast[1] with the managing partner at the PE firm who did this deal is worth a listen, interesting if you are curious how these deals come about.

1 - https://www.capitalallocators.com/podcast/blue-triton-brands...
As the old saying goes, "news is what happens to the editor."
Yea they are prop funds instead.
The distinction is less clear these days. What is clear is that they're frequently limited partners pitching in millions for venture funds.
I made this mobile app that shows insights from news with the power of AI
Even if you believed Tesla/Elon in 2014, you'd still be parking your business over a trapdoor that could be pulled open at any time in the future. It's like anything a leader ever says: They can mean it sincerely at that point in time, but they can't answer for the future when they've moved on or sold the business or the environment has changed.
Induction ranges do not work with aluminum cookware.
I can verify the links are accurate now because I am using the "three month trial" -- without being signed in can you preview music at all? maybe my itunes is needing an update. I won't dismiss the possibility that I'm an uncouth mongrel savage with out-of-date binaries.
Are video games actually fun? I used to spend a lot of time playing, until I had an epiphany and realized that it was more like working an unpaid part-time job. I was playing because I sort of felt obligated to reach the next level or finish the campaign or whatever, but I wasn't actually enjoying it and no one else cared about my achievements. So, I just quit and never looked back.

Maybe I was just playing the wrong games.
No they are an endowment which isn't too much different.
Turns out "Attention" is really all you need!
Around 2003-2006 immediately before git (and mercurial) there were a bunch of new open source distributed VCSes. http://moinmo.in/NewVCS lists a few of them from the time.

Bazaar, Bazaar-NG, Codeville, Darcs, Monotone

Git and Mercurial used ideas from a few of them and made them faster and more usable.
For git it helped that there was a large project primed to switch to a new VCS.

https://dwheeler.com/essays/scm.html is another good source from that period

(disclosure I helped with Monotone a bit)
> ClearCase by Atria Software introduced a robust branching model, and the ability to configure workflows to the preferences of individual teams within enterprises.

Clearcase was awesome and terrible at the same time. Being able to version directories was somewhat novel then, so that was nice. Config specs - what a cool idea. Felt like a bunch of folks who had worked on filesystems/NFS asked themselves "hey what if we made a filesystem that could give a window into a VCS?". So cool, so compelling and yet so many devils in those details. At the time, things like clearmake and derived objects had such tremendous potential.
The blogpost is more informative: https://blog.research.google/2023/12/videopoet-large-languag...
After that extra 4 minute delay, the pilot made a bluff because he had get-there-itis and the ATC controller called the bluff. Honestly I don't see what the controller did wrong here. If anything was unprofessional it was threatening to call an emergency and then arguing with ATC
> Arc A770 is a pretty serious competitor. It's the lowest-cost way to run OPT-175B.

With what software?
Enforcing the type hints at runtime gets really expensive if you allow for complex/higher order types. Typed Racket has had trouble with this since it tries to actually be a sound gradual typing system. Interesting work here: https://dl.acm.org/doi/pdf/10.1145/3434334 on speeding it up via static analysis (figuring out what dynamic enforcement points you can statically eliminate).
There's improper quoting in the `sudohost` function. You have to use either `printf %q` or `${var@Q}` to properly quote a variable or array into a single string (appending `@Q` is perhaps the only time `${*}` or `${arr[*]}` is safe to use). If you're using a deficient shell, you can badly implement `printf %q` via `sed` (but beware of newlines).

I'm skeptical that `cd` is a reasonable/sufficient thing to do given how many other parts of process environment get dropped, or for that matter that `SHELL` is ever a safe thing to reference.

***

Regarding the general advisability of this approach ... using normal `ssh root@remotehost` is strictly more secure than `ssh user@remotehost` and then using `sudo` (since it cuts the attack surface in half), contrary to the common FUD (which dates to a time when you couldn't expect people to use keys).

But this article's approach seems worse than `sudo` in at least some ways.
the safest stores with the least amount of theft are going to be 1) membership clubs which require ID cards to enter or 2) stores that operate like a vending machine... most stores already have order online functionality, they just need to implement it in kiosks in a lobby area of the store and have staff bring it out. For most people, there is no need to even enter the store anymore. I order online at Walmart, Target, Sams Club, Best Buy, etc and they just bring it to your car. The whole issue of theft goes away at that point, IMHO
Ask HN: How many hours a day can you reliably do high difficulty cognitive work?
I'm doing lots of coding and find that even when i'm well rested and in otherwise good conditions, after n hours of coding or studying hard (using pomodoro technique, going for high density rests and so on) I just get so spent/tired I'm unable to code or study hard until the next day. This is naturally quite inconvenient because it means I reach my objectives in slower fashion.
Is there anything wrong with me? How can I take the number of hours I can work on hard coding problems towards the number of hours I can be awake?

Thx for the Advice,
Santy
They were put in holding pattern with estimate of 10min, 20min later they again get told it will be another 10min and after 14mins go by the pilot asks "hey you have been repeatedly putting me off with 10min estimates I'm about to run low on fuel" how is that disrespectful?
It's a 10 year old post. Facebook was doing a similar PR stunt around the same time. It's already proven to be nowhere near the benevolent gesture it appears to be.
The thing about podcasting is, unlike video, it is extremely cheap to host and distribute podcasts. The technology is old and well understood and can run from a basic website. The syndication format is RSS. Spotify and everyone else has trouble adding value to that. Also, podcasting is mostly about the guests and they can bounce around to different shows that are in the networks and outside them.
I truly hope so, but there is so much momentum that it is going to be tough to topple. Any competitor which does not offer a git compatibility interface is dead on arrival.

I dislike git for many reasons, but to get people to change is going to take a big "thing" that git cannot do. Incremental improvements are not going to justify the switching cost.
As a side note the only advice needed for arguing for "flat earther" should be "use scientific method limited to what you yourself can verify".

Which is funny because as fake content creation becomes reality - we'll all have to pivot slightly into this direction of scepticism.

Content and source verification will become more difficult and more important.
https://gregbenzphotography.com/hdr-gain-map-gallery/

There you go, HDR photos that display correctly everywhere. Bunch more information on this here https://gregbenzphotography.com/hdr-images/jpg-hdr-gain-maps...

It's what Pixel now captures by default as well.
That's not an unreasonable desire, and to satisfy it there are true color pictures of Uranus including one from a space ship that flew by: https://en.m.wikipedia.org/wiki/Uranus#/media/File%3AUranus_...

As the article points out, they are extremely boring to look at. A lot of space objects are that way.

The mission of the JWST is to look at these other wavelengths where there is more interesting activity and where the signal from that activity survives the trip to (near) earth.
yep. If a hacker can somehow control 192.168.1.1 or 192.168.0.1 they get access to your microsoft.com cookies at least. I'm sure there are more microsoft specific ways to leverage this too (e.g. data/updates hosted on microsoft.com that misuse HTTPS as a poor man's authentication. The curl | sh crowd are especially susceptible to this problem.)
"One of the peculiar phenomena of our time is the renegade Liberal. Over and above the familiar Marxist claim that ‘bourgeois liberty’ is an illusion, there is now a widespread tendency to argue that one can only defend democracy by totalitarian methods. If one loves democracy, the argument runs, one must crush its enemies by no matter what means. And who are its enemies? It always appears that they are not only those who attack it openly and consciously, but those who ‘objectively’ endanger it by spreading mistaken doctrines. In other words, defending democracy involves destroying all independence of thought."

This was written by a socialist (George Orwell) in 1945.
Oh

I come from a warm country that doesn't really have a winter break (winter means a few days of moderate rain per week for me), and culturally speaking we don't have as much emphasys on December holidays
> Are video games actually fun?

Rarely for Xbox, Playstation, and PC, but frequently for Nintendo. Mario Kart with friends is a certified hoot.
Probably a work number closer to 100% than to 90%
Agreed, so the preference order is 1. Pass in the data you need 2. Pass in a function that gives you the data you need 3a./3b. Pass in an object (or function like a factory) that gives you the function that gets you the data you need.
I remember this differently. SVN had great _branching_ but horrific merge support. They resisted improvements to merging, because they wanted something theoretically perfect.

Git came along with great merge support and the entire world loved it.
I hesitate to ask on HN (given that this is an arm of YC) but can anyone explain the rise of Sam?

He had a startup that seemingly had an uninteresting exit (raised 30M sold for 43M). Then he’s somehow PG’s protege and the role of YC president is invented for him.

Next thing you know he’s attempting a replacement for traditional currencies (worldcoin) and running the most technologically significant startup in the world (OpenAI) funded by everyone from Elon Musk to Microsoft.

Meanwhile he’s got infinite side hustles like the one in this article.

Obviously a guy that people trust with their money but from my perspective (nowhere near his circles) there are some missing pieces in this meteoric rise.

Anyone know of a resource to help me fill in the gaps?
How does a flame decide what to burn?
>It's not clear who's in the wrong here; just an unintended consequence from many well-intentioned decisions.

Attention should be given not just to what was said, but how it was said. It is obvious the controller was frustrated. It conveys the impression that at least part of his decision-making was influenced by spite and not good intentions.
China is doing pretty well on that front, yeah...
This goes back to 2010. How good is the best face recognition today?
Maybe you're thinking about NY Post?
You can search for NYT headlines and articles using the term at:

https://www.nytimes.com/topic/subject/world-war-ii-193945
> Testing third-party code is often well within the purview of first-party integration testing.

Not really. While you may end up testing third-party code incidentally in the process of you testing your first-party code, explicit tests directed at third-party code necessarily requires testing implementation details, and testing implementation details is how you get constantly breaking tests every time you try to change something and developers giving up on testing in frustration.

The value proposition of testing is that it documents the user interface in a way that is independent of implementation, allowing you to continue to iterate on the implementation while having assurances that, no matter what you do under the hood, the user experience does not deviate from what is documented.
I always compare it to a Amstrad PC1512, given its memory.

Still even with limitations, there was a ton of stuff we could do in MS-DOS, let alone a more powerful system with dual core and built-in networking.
> If I ever write a Wayland compositor, I'll add an out of process WM interface

This is something I've been wondering for a long time - how long will it take before someone writes a Wayland-based server that provides an interface for window managers, system trays, and whatever other clients running in other processes, mimicking what X does?
I really enjoy the Garbage Day email newsletter. (disclaimer, I am a paid subscriber.)

Distills the cesspool of the algorithmic feeds to present up-to-date trends, popular memes, etc. as well as a general commentary of the sad state of the modern Internet and our engagement-driven AI-training future.

I don't have a desire to join all the 'socials' myself, but it is nice to try and view at arm's length what 'the new generation' is seeing and thinks is popular.
this is nothing short of amazing, thank you. is there a lot of work needed for external display support?
I used to sit in class and speak in my head exactly what the teacher was saying, which made it feel like I was somehow predicting what the teacher was going to say next.
Show HN: Sadhguru AI
Built a Sadhguru AI on his personal knowledge base using embedchain.
First-ever quantum transport of images without physically sending images
First-ever teleportation-like quantum transport of images across a network without physically sending the image with the help of high-dimensional entangled states
Everything i don't know about the podcast industry is the truth?

I know Spotify has been hemorrhaging cash and paying Joe Artist like absolute crap for more than a decade. Not sure what TC is trying to tell me?
I was about to complain about Adobe charging Canadians in USD (thus resulting in a different bill each month) but it seems they now list prices in CAD. The practice was still going in 2020. I wonder if there was a legal impetus for the change.
I used SVN a lot before hg and git came out, and liked it, but once distributed systems were available it was just so much easier to clone copies and keep them wherever I wanted that I switched over and never looked back. I prefer hg for many of my personal projects (and not just coding--I store things like my blog in hg repos) because I find it simpler than git for basic repo operations.
Stuff Your Kindle Day Dec. 2023: How to get free books
It’s ironic that you accuse Tolstoy of invading Ukraine when the text already speaks for itself.
The title sounds like a typical podcast line.
Put simply: the breakthrough here massively cuts the physical qubits needed to do error-correcting (in the pursuit of logical qubits). What they demonstrated in this regard was vastly more efficient than the current state of the art (as well as what IBM is hoping to achieve in its next generation chip). It seems to have pulled game-changing quantum computing years closer to reality.

The paper: https://www.nature.com/articles/s41586-023-06927-3
My interpretation is that rather than lack of agency, the paper demonstrates perfect analogy of what agency turns out to be in real life. Not our willpower or decisionmaking in the minutiae, but rather a general pattern of our behavior over time. Removing the explicit causal link for the click, making it rather implicit based on an algorithm over their past behavior, is still a ”reflection” of their will. If they happen to identify with the mimicked behavior or not is less significant. I think it’s fitting because in real life the noise of minute events can detract from ”us”, but over time our values and character is revealed through actions and results.

Let’s extend the concept. Deploying AI agents in the future say with my values and simulated life experience, they would (maybe) act independently of me but according to my instruction or general desires and values. It’s not far removed from an employer instructing their employees, or a parent instructing a child. Or removing instruction, perhaps just expectation of a certain type of maneuvering in the world. Or presuming no expectation at all, let’s say I have an AI copycat without knowing about it, acting like me but in another setting, there would be remnants of my will in how it acts. Like information theory or energy laws, since it has information replicating me that it uses to act in the world, it’s like a lack of entropy, my will is preserved and extended.
Disclaimer: None of what was just written makes too much sense, and many what-ifs.
With the "reliably" requirement, my number is "1".
Unfortunately the authorities tend to only allocate public resources to protecting the rich. There's little to no risk attacking tiny game devs.
Show HN: I built an open source AI video search engine to learn more about AI
Hi there! When Supabase announced their recent hackathon, I thought it was a good time to build something to learn more about so many of the new AI models and tech out there. From the different techniques of embedding documents to the future RAG.

With the rise of short form content with TikTok and Youtube. A lot more knowledge is in videos than ever before. Finding specific answers within millions of videos can be difficult for any one person to go through. So the question is if there is Google that indexes text on website making it easier to find based on the context of on your question, why is there no Google that indexes video content making it easier for users to find answers within them.

So I built this to showcase that it's very much possible with the technology and infrastructure that is readily available.

I've indexed thousands of videos from Youtube and will be adding more, some of the things coming soon:
- Index TikTok videos
- Using whisper to transcribe audio in videos that don't have captions
- Auto scraping both Youtube and Tiktok everyday to add new content

The tech stack:
- Supbase (PostgreSQL, PG_Vector, Auth)
- Hasura (GraphQL layer, permissions)
- Fly (Hosting of Hasura)
- JigsawStack (Summary AI, Chat AI)
- Vercel (NextJS hosting, Serverless functions)

The code is opensource here:https://github.com/yoeven/ai-video-search-engine

Would love some feedback and thoughts on what you would like to see?
Some people simply don't want to be helped, to recover, or to tackling other problems.

This is an unfortunate reality. A person can become broken and doesn't want to be fixed.
Corruption, in a word
All Joe Artist except that one Joe they're constantly shoving in my face even though I've never once listened to anything that would remotely suggest I'd want to.
In the thread about Firefox switching defaults to Wayland, there were some complaints about some accessibility software not being supported by Wayland. If the “tottering pile of godawful hacks” is required to not exclude blind people, it doesn’t seem that godawful…

Personally I’d prefer to use Sway, but last time I tried Zoom on Sway it gave me a lot of trouble. X11 might not be getting much future development, but it is done and it works, so who cares? It can just stay the same in perpetuity for all I care as long as it keeps working.
This article doesn't nearly live up to the ambitious headline. It didn't really have much to say. If anything, it doesn't even touch on the real problem facing most podcasts: the severe decline in podcast advertising revenue. Which doesn't have anything to do with Spotify.
Interesting. Reminds me newspeak language.
But why would Firefox go out of its way to use Vulkan on Windows or macOS when it doesn’t have to because it can just use the native OS functionality and let the OS worry about implementation details?
Have you considered, for a moment, that the thief ever being able to register the device as their own is the entirety of the problem?

The owner of the device doesn't own the keys to it, apple does. That's how the OP lost access in the first place.

I will admit that, this situation was preventable, had apple required the "find my device" feature to be active upon setup. The fact is however, they do not.
You can't have it both ways, if you're going to have a walled garden, then wall off the garden, no half measures, you're responsible for everything, including this mishap.
From statistics I recall reading years ago, a significant amount of retail theft comes directly from employees. So, until you automate those roles away, there's still theft there.