skysight-inc/HackerNews huggingface dataset:
LLMs don't steal/pirate works, "copying" is the word you're looking for. So much faster, cheaper and precise to copy than to use LLMs. What LLMs do is to combine user information with patterns learned from data. Almost never a full work, they rarely generate more than 1000 words at once. Books are 100x larger
I have 20tb+ of movies, tv shows, anime, documentations

I do not allow jellyfin to scrape online. Everything goes through tinymediamanager (kodi format). There isn't a single missing piece in my library .
No, you just invoke the function and pass it zero arguments, that's it.

Sure, you can build your whole theoretical framework of computation with only the functions of exactly one argument, and then deal with tuples to fake multi-valued arguments/multiple return values — but you don't have to do that. You may as well start from the functions with arbitrary (natural) number of arguments/return values, it's not that hard.
Easiest way I know of:

Ctrl+R to start reverse search

Type enough to locate last command

Ctrl+X, Ctrl+E to launch command in $EDITOR

Wrap in fn() {} or alias

Save as, or append to some file, e.g. in Vim `:w >> ~/.aliases`
Wait, what? Why? Plase explain this, is this just an .ax thing?
The Oldest Ttrpg Forum on the Net
Just do a chargeback.
It rhymes so it's easy to remember
I make dynamic apps and I have never had this issue with state. I've made visualization generators, image editors, live charts and html editors that run in the browser. the stuff I'm making has a lot changing elements and handling the state is not an issue for me. Maybe it's because I learned programming from game development I see web dev with a different perspective?
Pin is a state rather than a property of the data itself.

This has a very nice effect of allowing merging and inlining of Futures before they're executed.

It's similar to how Rust does immutability — there's no immutable memory, only immutable references.
The creeping enshittification of Plex is really putting me off.

I know you can unfuck it, however I don't want to reward that toxic behaviour with usage
I wonder if it might have been a beast at some tasks, but not others?

I imagine these chips might have been optimized for throughput on well-suited and carefully tuned programs, where the compilers could be convinced to put out good code (since it was apparently something like a VLIW).
I can only speak from my experience, but I really struggled with it. Ok, I understand moving. Pin is ... not moving. But the struct can still move, just ... not when you have a pointer to the struct. Ok, weird, but ok. Pin has a weird, limited set of functions to access the data fields of the struct. Some are unsafe. And then there's Unpin, which sounds like its not-not-move, so, something can move? No. From std:

> Implementing the Unpin trait for T expresses the fact that T is pinning-agnostic: it shall not expose nor rely on any pinning guarantees.

So, ??. Then there's macros for pin-project, which most projects in the wild use, but some are unsafe. Why? Which of my fields can I safely expose using pin-project?

I tried to implement a custom SSE-style streaming protocol over HTTP, to make a rust server implementation of Braid. I spent about a week trying, including pouring over the implementations of server-sent events and websockets in one of the HTTP libraries. Ultimately I failed to get it to work. (This is before TAIT and some other recent features, so things are probably be better now.)

I picked up javascript to write my server instead, and I had the protocol implemented about 20 minutes, in just 20 or so lines of code.

I adore rust, and I'd much rather a rust implementation than one based on nodejs. But I ran into skill issues here. Pin and futures in rust are hard. Or at least, I found them hard. I'm sure if I took another crack at it I'd be able to figure it out. But I don't want to spend so many of my brain cells on the language. I want to spend my attention thinking about my problem domain. Like I can in javascript.

Rust is an amazing language. But yeah, I really think that pin doesn't meet the standard that the rest of the language sets. I think it could use a rethink.
> (For what it’s worth, if you use a prover-adjacent language such as Agda or Idris, this is exactly how things are going to work there.)

You don't even have to go that far, Rust supports this concept. The built-in empty type is called `!`, and cannot be constructed. It's partially unstable, and there's a bunch of things you can't do yet, but you can use it as a return type.
Been there, I get it.

My most recent reddit bans, I as a trans person was in a vaguely trans subreddit just trying to be postive and help out.

Person was talking about obgyn stuff, they never mentioned their gender, i typed it as they were a lady. They flipped out i misgender them.

Reddit banned me for promoting hate; I appealed. They replaced the ban with a warning. Meanwhile I'm trans and was just trying to help.

I go back to the original conversation and OP gets even more angry that I'm not banned for being a transphobe. They call me CIS and I explain that I'm trans and not CIS, that CIS is a slur they shouldn't use.

I get banned for promoting hate. I appeal, reddit overturns again. I went back for 1 more message and quit reddit. Censorious echo chamber with literally no value.

Ironically reddit then goes ahead and invites me buy into their IPO because I have a million karma. Lol ridiculous.
I think it was hexen that implored you to buy a 486 if the viewport window was set to the smallest size. That's all I could think about when I saw potato mode!
I'd like to point out that, for example, Ctrl+a is not specific to bash, it's a readline[0] keybinding. A subset of those will work in the text box in which I am typing this comment. C-f and C-b work, even C-h, but not C-w. Perhaps this key combo is reserved for closing the firefox tab on windows? Anyway, I love readline and wish it would work on literally all text inputs.

0. https://en.wikipedia.org/wiki/GNU_Readline
No that’s the search engine trap - which hotel shall I go to is a map not a search page. It’s a marketing exercise - which influencer, which email drop, which word of mouth.

It’s everything that was before Google captured all the advertising revenue there ever was. And reduced it to a list on a black ink on white page

Airlines are in a race to the bottom because there are only 8 bits in the 1970s booking system so there is only a competition on seat price. Chnage that to be able to have different parameters and we compete on other factors

If hotels are just competing for price on booking.com then they are heading to the same trap - beautiful architecture, fantastic location, smiling staff, 1950s movie stars making films in the courtyard- none of it matters if it’s price per room in NYC.

The only way cows stop being treated like cattle is to make sure every human sees them as individuals - it’s a lot of work. But the struggle is worth the abbatoir.
I like that theory, its like how people today can't stop eating junk food even though they know its bad for them :)
Maybe it was a plot by Uruk's Big-Ag pushing subsidized barley porridge on the masses and hijacking their gut-brain axis so they left their epicurean utopia in the marshes.
So we officially accept that certain voting people, irrational people are constantly heavily intoxicated or had no understanding?

Interestingly enough, tx to a talk from a brain researcher i understood that there are two major brain modes we run:
Either the i just observe and do things i observed (were it doesnt' matter that you are gay or black but still vote for trump) and the logical mind were you see a conflict in stuff like this.

LLMs are interestingly enough somewere inbetween.
This is some variant of the "you are using your iPhone while criticizing corporations" argument.
Even if you donated to Jellyfin, and the money went to the developers of Jellyfin clients, which are listed everywhere as part of the project?
Thank you so much. It means a lot to me :)
The whole point is not doing the rendering on Facebook servers but on the user terminal.
The mass budgets they mention point to a super heavy lifter, or, in SpaceX terms, a Superheavy-Heavy, as you'd need 3 times the payload to LEO of a standard Starship.

That's a very interesting prospect.

Or, of course, assemble 3 big pieces in orbit.
No More Blue Fridays
Why are all of radanskoric's replies in this story marked as [dead]? He is replying to people here and all his comments won't show for people who don't have showdead enabled

And when I check his profile, almost every comment he's made is also marked as [dead] - but I don't see a good reason why?
I'm reading hn for over 10 years and i comment on it too much / spend to much time here.

I just create a new account to get away from fomo and add a little bit more effort to commenting.

But as you can see, it doesn't work very well
Thanks for the comment!
I would really like to see something based on LLMs and there is one project, that someone has posted there.
Somebody needs to tell her that I guess - the article was very sure she was destitute?
Kind of. Remember the RPis are brought up by their GPU before the ARM cores become active.
It’s not just limited to politicians

A whole generation is unwilling to acknowledge their mortality, step aside and make room (although unlike politicians many aren’t because they can’t afford to)
OP should be very cautious about climbing the pole. They're likely to absolutely hate it up there. They're going to have to become someone they're not, and be that all the time.

Look, there's nothing wrong with broadening your range - with learning empathy, and how to make small talk, and such. But don't take a role that expects you to be outside your normal self 100% of the time.
it's funny because, obviously, they can't really advertise this and the torrent extension, but that seems to be the main way people are actually using it. so a lot of people end up trying stremio, and then voice (valid!) criticisms that in reality just don't apply to how people actually use stremio.
the parent implies: difference in status of jews -> repression of jews
My point is that the status difference is not required for a regime to repress some group. It might make it easier, but not required.
Not sure this even joking really.

ADHD people often self medicate with alcohol or coffee.

Video Games have definitely been in the mix for 'self-medicating'.

That is why I'm wondering why so many people in this thread say 'just play such and such game X'. Games can be addicting, to be addicted to a game isn't necessarily helping the person.

But games can also help. So there has to be some mechanism, some particular game play mechanism that is helping. That is what needs to be studied. Then we could pick the ones already on the market with that mechanism.
Mojeek employee here, will raise this to be looked into, can you let me know which country you're searching from so we can replicate it? Cheers
I had thought of Adam Kingsinger or Liz Cheney, but Romney is also an interesting option.

None are likely, maybe Liz Cheney the most though (imagine if her father campaigned for her).
> Is there that much "promoting" of unchecked unwrap()/expect()/etc. going on? How do you distinguish that from "genuine" cases of violations of the programmer's assumptions?

More like promoted indirectly, I think by being used widely on reference code and tutorials the programmers absorbs as a familiar and quick to write method without planning much. And at same time by not being actively promoted that such methods should not be used within a library runtime or similar at least, because many people do not see it as wrong, what convert it in philosophy I guess.

When the dependency chain of library loading is fired, almost always I checked some unwrap ends within the program's runtime, so distinguishing whether those are genuine cases of violations (IMHO they can't be genuine if a lib can panic the program), or if it was just a unfinished prototyping part or etc, I think is not exactly important as individual until it reach terms of generalized behavior along the language libraries, and even seen in some programs of the community.

> IIRC this is being worked on, especially given Linus's position on panics in the kernel.

These are good news
Yes, they helped a lot, but because I was already interested in high performance programming and was looking to improve myself on these fronts. Also, I have started my job after my B.Sc., so there was a positive feedback between my work and research (I fed my work with research and fed my research with my know-how from my job, which was encouraged and required by the place I work).

You need to know a lot of things to do this. Actually it's half dark art and half science. Vendors do not always tell the full story about their hardware (Intel's infamous AVX frequency, and their compilers' shenanigans when it detects an AMD CPU), and you need to be able to bend the compiler to your will to build the binary the way you want. Lastly, of course, you shall know what you're doing with your code and understand how it translates to assembly and what your target CPU does with all that.

To be able to understand that kind of details, we have valgrind/callgrind, perf, software traces, some vendor specific low-level tools to see what processor is doing, and pure timing-related logging.

Game engines are different beast, I do scientific software, but a friend of mine was doing game engines. Highly optimized graphics drivers are black boxes and that's a whole different game. It's not very well documented, trade secrets ridden, and tons of undocumented behaviors which drivers do to optimize stuff. Plus, you have to use the driver very complex and sometimes ugly ways to make it perform.

While this is hard to start and looks like a big mountain, all this gets way easier when you develop a "feeling for the machine". It's similar how mechanics listen to an engine and say "it's spark plug 3, most probably". You can feel how a program runs and where it chokes just by observing how it runs.

This is why C/C++ is also used in a lot of low level contexts. Yes, it allows you to do some very dangerous things, but if you need to do things fast, and you can prove mathematically that this dangerous thing can't happen, you can unlock some more potential from your system. People doing this is very few, and people who do this recklessly (or just code carelessly) give C/C++ a bad name.

It's not impossible. If Carmack, Unreal, scientific software companies, Pixar, Blender and more are able to do it, you can do it, too.
There are pleny of people here saying the equivalent that "not paying will only encourage people to take things from your backpack instead".
Seems like that would strongly encourage me to keep my directories tidier.
How to build good relationships inside and outside your engineering team
Amazing stuff, although if Doom had worked well on a 386 back in the 90s I'd probably not have ended up in IT.

Spent countless hours trying to get games working by messing about with config.sys/autoexec.bat, defragging, UMA, DMA channels, etc.
I understand where it comes from, but I can't ignore the feeling that this is anxiety driven development.

Sure, the farther away from your control and trust circle, the more you're inclined to check assumptions that are already guaranteed. It's a valid reason to do this as you explained, but I think the tradeoff has to be considered:

Generally speaking, checking assumptions that are already guaranteed is a _bug_. It violates the DRY principle[0], and will break your program, when those guarantees relax or the assumptions become tighter at one place or another, because they diverge.

And again, it can be confusing for maintainers and makes it harder to reason about a program and make sensible changes. The anxiety that drives the checks will leak right into the reader who might be wary of breaking Chesterton's Fence. Now you have someone testing everything in order to figure out if there are code paths that only hit one or the other of the checking code and stuff like that.

Needless to say it can also make performance worse, because you're doing more work than needed, especially if the checks require fetching data from disk or the network etc. This type of performance degradation is quite common.

[0] The real/actual one, not the one where people factor out superficially repetitive code.
The only thing that does on my end is 4k HDR DolbyVision (no transcoding) and that is because it runs on a shitty firetv 4k max gen2. Kodi also cannot handle this on that device
Ask HN: What server host do you use for your personal projects?
My VPS host is currently experiencing an outage that’s not even listed on the status page, and I’m starting to look at better options. Recommendations?

I’m on the east coast, but suggestions for other regions are appreciated too.
Async is not for webdev only.
Recently I have found that claude sonnet 3.5 is extremely good at coming up with bash one liners that do what you ask for fantastically.
> And don't want to pay the space and time overhead of wrapping in an std::optional which will use a whole other byte at least for not good reason

This. monostate's behavior should be captured in the std::optional spec. There's no need to create a new type.
What is needed are canonical representation of data and then you must parse, re-encode, and verify that the re-encoded data matches bit for bit what was parsed.

Not in unit tests but when the app is running: you take the data in, you parse it, you re-encode/re-serialize it/re-whatever it. If it's not matching the data that came in, the data that came in is rejected.

And that should just be one of the steps taken to verify that the data looks legit.
https://www.golem.de/news/abwesenheitsassistent-der-schrecke...

Its a german news site for it people.

But i have seen ai image already on the street, unfortunate i was in public transport and not able to take a picture fast enough when i saw it and i currently work most of the time from home.
Show HN: Chrome Extension to access the OpenAI API from any textbox
Type /ai + your prompt in any textbox and the ChatGPT will do the job

I've made this project so I could learn how to create Chrome extensions.

I know there are already a lot of alternatives for it, but this was a learning project and I would love some feedback on the code.

(
I was unable to make it work on sites that use the React Lexical editor, i.e Reddit, Facebook, etc :(
)
This is strange logic that ignores the idea of copyright. Just because I allow you to view my work for free does not mean I relinquish copyright protection. If I write a song that I perform for free, it doesn’t give you license to record and sell that song, for example.
Also needed to have Trump announce a VP pick first. Because otherwise Trump would have picked a black man without question (Tim Scott probably although maybe Ben Carson)
https://trac.ffmpeg.org/ticket/5718
Big fan of this, but I still feel like getting anything working through ROCM is a chore and a half. There's a dire need for standardisation across hardware and software stacks in ML.
Good question, you might want to email dang hn@ycombinator.com and ask - it goes back to 2022 and might be related to excessive self promotion, something else, or even an accidental click.
I have a UI app with a backend API server. Sometimes I want clients to update their UI to get new features (UI payload is cached in the browser)

I have a version in the UI and the backend. If the UI is on an older version then I can either force reload the client or display a prompt to the user saying there's a new version of the app.

Is it more complex with react server components?
Mozilla fixes 25-year-old Thunderbird bug
I have, but it was because there was some weird issue between my inference engine, GPU drivers, and kernel version. Switching from Rocky to Ubuntu and updating Ollama and ROCm (all at once, there were a few weeks between attempts) fixed my issue.
You can register for a new gTLD, but it requires quite some funds and work.
Parton my naiveté, but if you wanted a value that's either a thing, or not-a-thing, why wouldn't you express that with a std::optional? What advantage does std::monostate have versus option types?

Brevity, I guess? I suppose the most brief way to express absence or presence of value in C++ is a pointer, but I could be tried at the Hague for that take.

None of this is to be facetious, I'm really trying to learn here. I'm not a C++ guy by trade. C and Rust are my day-to-day languages.
Yes but most LLM usage is for a single reader - the user who prompted the model. The output is rarely published. Maybe there should be a different rule for using LLM text to author public books and articles.
Show HN: Banana or Taco – silly simple game
I spent an hour making this silly game for my daughter and she thought it was a hoot. Thought I'd share it if there were others that might get some brief entertainment. It actually started as a plan to teach her some basic JavaScript so I'll probably enhance it with better score tracking, other game options, other silly games (open to suggestions). Thanks all!
Hear the gospel:

$ set -o vi
How do you know how to repaint the screen when a variable changes without blocking the UI?
Recently I've learned that half of the people are slow caffein metabolizers. The caffein stays longer in their system and it might negatively affect their sleep. Considering how many people drink coffee, I think a lot of people are affected by this.
To acquire strategies to alleviate some problems, this might be helpful, similar to coaching and therapy.

I have, however, serious doubts that it can be a substitute for stimulants. ADHD affects so many parts of one's life such that attention sometimes seem a very small part of the disorder. Miraculously, at least for some people, stimulants create a kind of automatic improvement in other areas too. I hope that general discourse about ADHD moves towards easier access to those drugs, not replacing them.

Also, please don't speculate about ADHD, especially about people who suspect they might have it.

ADHD experience differ a lot among people and even in different situations for an individual. Because of this aspect, a lot of people have complicated relationships with their diagnoses.

Self-doubt, for various reasons, is a very common trait of people with ADHD. Strongly worded claims about ADHD might be very harmful to people who plan to seek help or struggle to follow their treatments.
> Proper data fetching and rendering cannot happen without a router.

Got any suggestions for where to look if I'd like to learn more about what that means exactly?
> what I meant to say is that MIPS ISA is open and could be used instead. There's nothing special about RISC-V.

It is well documented that the researchers at Berkeley who invented RISC-V wanted to use the MIPS ISA but were told they would have to pay several million dollars for the right, wouldn't even get RTL for a CPU core for that, and would not be allowed to publish anything they implemented themselves.

So, no, people "can't just use the MIPS ISA".

With RISC-V you don't have to ask anyone's permission, and don't have to pay anyone anything unless THEY developed a core and you choose to license it from them rather than develop your own or use a free one.

There do happen to be some technical advantages to RISC-V, but they are by far outshadowed by the the freedom advantage.
Atuin should help with large histories; https://atuin.sh/

Graduating specific oneliners into functions/scripts is also a good chance to clean them up a bit, but it's a balance that's hard to strike - too many aliases and scripts, and you quickly forget they exist :-)
You make it sound like there is still an easy to spot difference. When i look at the print quality of pictures on a news paper, its the opposite and at least for me, i don't need more than retina and i was very eager to switch to 4k to have higher dpi.

But 14' with retina im very happy.

I'm actually more surprised by hdr on my lg oled 4k. Its actually quite nice when done well.
Mathematicians got nothing on lazy programmers