skysight-inc/HackerNews huggingface dataset:
> mistakes you are going to make creating keybindings in the fly.

I have no clue what you mean. What is a mistake? In the fly? I'm talking about my permanent (until I intentionally change it) config, not some temporary real-time thing.

> What might make perfect sense at first will seem really dumb once you've added 20 more shortcuts, and then you'll have to either stick with it or start over and relearn.

Yes, but the alternative is starting with someone else's mistakes. I would rather deal with my own, because at least then I know what they are.

> You won't even know what you don't know if you don't use the work others have done creating the UI

Isn't that the status quo? If you want to use an unfamiliar feature, looking up the default keybind should be no easier than looking up the function itself.
Do I think Activision Blizzard's Leadership is a cesspool that needs to change? Yes. Do I think a good way to do that is to form every large entertainment monopolies? No, no I do not. We need some trust busting.
I, too, know people with odd habits.

They are still statiscal oddities.
I'm afraid that if you get a stock grant from your employer, that puts you beyond where the IRS can send you a pre-filled form that is correct.

Sure, but that's a tiny fraction of the population. Nobody is saying the IRS should send you a fixed return. Only that they should send what they have, and if nothing needs changed, great, society is better off.
I couldn't tell if this was satire or not but it seems to be completely serious?
If changing job is a major trauma I would advice seeing a therapist. This is not a standard for most people.
One strategy that never fail me is the The Pomodoro Technique. I usually only do one and then I stay motivated to complete the task.

https://en.wikipedia.org/wiki/Pomodoro_Technique
Amazon is building an AI-powered ‘conversational experience’ for search
Brainslow: A modern Anki-compatible spaced repetition learning app with customizable timescales.
Not American, but as I understand it the IRS has to pay interest in the case of an overpayment? That's a disincentive for them to screw you over.
Amazon Plans to Add ChatGPT-Style Search to Its Online Store
Huh? What adversarial tension is needed for filing?

It’s literally data entry.

Tax prep/accounting (what to put where for cases where there is ambiguity) can always be different.

That doesn’t apply to W2 earners though (in 99% of cases)
Run Stable LM with Brev
If you're willing to put that aside, it's great.

Hopefully this is the death knell for TVs that cost over a grand yet come with bloated adware and other bullshit that you can't uninstall. If I want ads on my TV, you'd best be sure I'd like to be paid for viewing those ads.

Fuck paying for the privileged of be advertised to.
"We've determined that over the past six months, you have been provided 47 opportunities to enjoy Hunt's Catsup®. Our consumer data partners indicate to us that you continue to purchase Heinz brand when shopping for your family or loved ones. Unfortunately, this often indicates tampering with the Second Smart Screen. Please confirm your adherence to the Terms and Conditions by taking advantage of the wonderful offers we provide."
Sophisticated services that offer SSE will have many different endpoint domains to get around browser limits on simultaneous connections to the same service.

endpoint-00.example.com
endpoint-01.example.com
endpoint-02.example.com

etc. It isn't specific to SSE. It's any HTTP request. SSE is just the most obvious because the connections stay open for long periods.
At scale, though, it just pushes poorer people into accepting it, since it frees up cash for other uses. So it turns into a propaganda and monitoring device that mostly targets a pretty specific group.
Do you have a source/link for that original goal? I wasn’t aware of this, and as such expect that I can rely on kafka for my events. Also, if this is really the case it should be mentioned on the homepage of Kafka.

Just checked kafka’s homepage, it mentions mission critical, durable, fault tolerant, stores data safely, zero message loss, trusted… Seems they’ve moved on from their original goal.
Inverted Vision Experiment Clip
I've never worked with Web Workers, but the doc page mentions them at the very top. Isn't that the intended workaround? Have a background thread that receives the events & coordinates, rather than having each page deal with them?
I never found them to cause cravings. IDK WTF people are talking about.
AI Hacking Games (Jailbreak CTFs)
RSS Tools at Rssgizmos.com
I use this at work (Enterprise SAAS web software) and we had to implement a backup "polling every 5 seconds" for clients that would not support it. It's quite rare though. We assume that some caching proxy might be waiting for the GET request to be fully done to cache it and then give it to the user or something like this. The SSE would then never get updates, while every normal HTTP request would work
Mont Blanc's pens have been quite competently cloned by Chinese firms. I have a Jinhao x159 which performs well at a fraction of the cost.

So I can see how this is a way of making a moat for themselves, it's just also a terrible way of doing so.
They'd have a heck of a problem at my house because my internet is regularly out for days at a time.
Making a Lantern Full of Fireflies [video]
1. The language is Processing

2. The argument is the high end of the range (0 to n [https://processing.org/reference/random_.html])

3. I dunno why, it seems like it's just cool. It seems to demonstrate that random(random(...)) collapses to 0, which is exactly what I expected but it's pretty cool.
Sorry to be blunt, but what is of interest here?

Aesthetics?

P.S. In case anyone is confused, the arg to random is the upper limit (not the seed), and r = diameter * (1 - value)
Gimlet – GitOps Developer Platform
I wonder if the issues around owning of training data may allow larger, well funded companies to acquire ownership (for example, buying stack overflow content). This might allow larger players to starve smaller players.
But it is different because you can't dereference x without the check. In other words, you can't really make an accident.

My language has maybe<T>, and I have automatic "re-wrapping" (not sure if there is a better term). where

For example, with

record R { int x; }
maybe<R> r;

I can access r.x yet the type is maybe<int>.
But messages themselves are already sent out-of-band as a POST request, if I understand correctly. Don't see why that couldn't be extended to include typing indicators.
Which black brush did I use to tarnish developers (out of which I am one)? And where did I say "all developers"?

I think you might be a bit overly sensitive and overreactive (the Mary Sue I was talking about).
Thank you so much for the feedback! Unfortunately I screwed up the Discord link in the post – it's http://discord.wordbots.io/ , not https:// – but it was too late to modify the HN post after I noticed that.

Glad that you and your son have had fun playing it! He's definitely made the most cards in Wordbots of any user so far, so that's pretty cool :-)

I'll respond to each issue in turn:

Re: decks and card rarity – I hadn't thought of this when implementing card rarities (which right now take effect only in draft mode), but it's a good idea. I'll make an issue for it.

Re: state desync – I've never noticed this issue in testing, but I will admit that the multiplayer code is pretty sloppy (this part isn't exactly my strong suit). In theory the game should be fully deterministic (and the RNG is seeded identically for both players and the server), but it's possible that either a socket message got lost somewhere or there's some nondeterminism in some card behavior that I neglected to notice. If you encounter this again, please let me know what happened right before the desync – it'll help us narrow down the issue. And hashing the state and checking it periodically seems like a good measure to take for now; I'll make an issue for it.

Re: End Turn button unresponsive – This is a bug we've had in the past, and it was caused by an error occurring during combat, resulting in the game state thinking that an attack animation was still happening (so the turn couldn't end yet). I'm pretty sure that it's fixed now, but if you encounter it again, check the game debug log and JS console to see if anything weird happened right before.

Re: card draw trigger – Oops, this looks like an issue with how `afterCardDraw` is being triggered, should be an easy fix on my end. I'll take a look.

Re: Activate popover – Yeah, this is feedback we've gotten in the past, and we're looking into what a better UX for object activation could look like.
What happens when a person feels “over advertised” to? Two video ads at once, three, at some point does consumer psychology begin to turn? I can’t take certain broadcast media already because at some level I’m physically aware of how unrewarding it is. I wonder what would happen if people encountered a situation so manipulative it was like a trauma.
The magic bullet theory is back, almost 100 years later!

https://en.wikipedia.org/wiki/Hypodermic_needle_model
Maybe this comment can spur several startup ideas.

Why is it that we can have highly advanced AI, phones, and monitoring systems but so much of what we do is as if we're living before the internet?

Obviously politics (not just a left/right divide, but even at local and budget levels) plays a role. But let's be real, street lights (and cross walk) should be algorithmic and sensor driven, stores should have trivially developed web interfaces (AI can help this just from SAM), SSN being used for identification but also not (and being terrible at it), and so much more. This is literally every industry and ESPECIALLY anything that the government does. I don't want to hear voting online, but please talk to me about DMV online (not literally to me). These things aren't flashy, and maybe that's the problem, but I hate living in both the 22nd century and the 17th at the same time (exaggeration).
Thanks, will do. The TC novel has some nuclear bomb engineering, but my protagonist takes it to a whole other level, or tries :)
The political system is this way because the cities/urban areas and the rural areas have fundamentally different interests, and the vast majority of the resources and land area isn’t in urban areas.

The federal gov’t has enough power to make either of these groups miserable; and so each is using it to fight out who gets to do so.

Picking one to win isn’t going to stop the conflict, but it could turn it into a shooting war.
I don't think it's right to hold a comment on HN to the same standards as a magazine article, though. It's entirely possible to write that sentence you had a problem with in a way that describes what happened without any confusion.
US Lawmakers Want to Boost Ethanol’s Green Appeal as EVs Threaten Fuel Use
> Dozens of companies sell online products to file

They all suck, and in a better society, that number for normal people would be close to 'zero', because the IRS could just send me a bill to attest to and sign.
You may have a simple tax situation, then.

There's a lot in this thread about standard vs. itemized deduction, but since Trump's tax reforms, the standard deduction has always vastly outweighed itemization for me, and I believe, most Americans.

The part that causes me the most grief nowadays is the 1099-B; there's a few of required tax inputs related to investments that just aren't captured on that form. (Although in recent years, I've started taking better notes, and now I can just refer to past years' resolutions for repeat scenarios.)

But even just punching in the requisite numbers I think takes me longer than 30 minutes…

Then there just seems to be an annual surprise per year. ESPP sales complicated one year; they're a weird mix of income and gains. I had a stock split occur one year, resulting in a fractional share that was liquidated for some really odd capital gains. Moving has complicated state taxes numerous times due to states with poor definition of what constitutes a "resident". I've been plagued by a number of errors on various forms (including twice on the W-2!).

But the upthread remark — that the IRS knows the answers — should apply to my situation. Basically everything tax-related about me, the IRS already knows. They can just send a bill; if I don't trust it, I can look it over for correctness & perhaps trigger some sort of correction process. (Presumably today, they'd just audit me if I was too far off their number.) About the only thing I think that might cause a discrepancy is charitable donations.
Yes, that's `ShardedWorker`.
On desktop, fast enough to run state-of-the-art games, decode 4k av1/h265 videos at 60fps (thread performance) without a 1kW power supply and water cooling. Since there will be a transition period before heavy assembly optimization starts to kick in (similar to dav1d decoder), would start with gcc/clang generated machine code. Oh, and should compile a full blown linux kernel and those horrible gcc/llvm as fast as their arm/x86_64 counter-parts. Compression/decompressing would be a good benchmark too.

Mobile: ratio power consumption/performance to run as smooth as the latest samsung galaxy flag ship the CPU-wise worst android apps, off AC.

Server: erf, I guess that would be tons of cores with tons of ram and cache then back to full blown linux kernel/gcc/llvm compilation speed&compression/decompressing&etc.

We are talking about world domination of a worldwide royalty free/ultra stable in time ISA (oxymoron).
They're well supported on modern browsers, both mobile and desktop. If you need to support IE then you can use a polyfill. It's essentially just a long-running HTTP request. The main issue I've run into before is if your server has a response timeout configured then you'll need to disable or work around it, otherwise it will disrupt the event stream whenever the timeout is hit, since the event stream is just an HTTP response.
I think it's a combined vector of the drawing action - i.e. a true circle stays in place.
I don't think this will work, because it seems like the average person prefers being lied too, or put another way, people prefer to live in blissful ignorance.

A $300 TV gives you the illusion of privacy, sure you see some ads, but you always have seen ads with your paid cable subscription, so what's the difference.

With this, a free TV immediately makes me skeptical and defensive. "Nothing in life is free". Plus, Telly is doing a hostage situation - Here's the $300 tv for free, but if you fuck with anything, we'll charge you $2k (or whatever it is).

I don't see this going well for Telly.
I write a reasonable amount of kotlin these days and it's night and day.
There's a lot of evidence of internalized capitalism on this site, but I'm happy to see a variety of opinions for and against remote coming out in the comments
I have some thoughts on this as a career writer who’s friends with plenty of other career writers—but most of those friends write the kind of content discussed here, whereas I'm a technical writer who works on software documentation (hence why I'm on HN :P).

Technical writers do pretty well; we don’t make as much as engineers, but the pay is nothing to sneeze at. My friends who write blog posts, industry reports, and other corporate content (also usually in the software industry) do reasonably well too. But all the other writers I know are struggling.

What’s interesting to me is that the struggling writers have jobs that most people would find more exciting than what I do: they write essays, or fiction, or they’re journalists at Conde Nast publications. Unless you’re a particular kind of nerd, interviewing SMEs and writing quickstart guides is a lot less glamorous than interviewing public figures and having your name featured in bylines.

In some ways it does seem like the perceived glamor of these jobs is a double-edged sword: the allure of what you do makes it less likely that you’ll jump ship to something less exciting but more lucrative (similar to how game industry devs tend to make less than regular software engineers, from what I’ve heard—you can exploit people’s enthusiasm), and the fact that it’s a cool job means everyone else is also trying to do it (also not unlike the game industry—if you won’t take the job for subpar pay, there’s ten other people lined up who will). There’s a lot of competition, and that subtly devalues your own work, even if the work you do is better than your peers’. Also, not at all to denigrate what my non-technical writer friends do, but jobs that are “just” writing get flooded with applicants because everyone thinks they can write. The barrier to entry is, ostensibly, pretty low, even if most people are poorer writers than they realize and even if most writing jobs require skills beyond simply writing.

Although lately I have seen an influx of people with no experience in the software industry or related tools assuming that it’s easy to break into technical writing; I wonder if the job’s been showing up on those “10 Easy Roles Anyone Can Do From Home” listicles or something. You do have to be a competent writer, of course, but half of my job is working on pull requests and building awful little React components for our docs site.
It is common to express denotational semantics as SAT/SMT expressions.

For example, consider a function f(x) = x << 1.

A valid sat semantics for this function is: y == f(x) implies y == 2 * x.
There is this agreement, and also the fact that browsers can forget previous messages, unlike any xhr-based custom implementation since the EventSource object does not provide methods to access previous contents. I don't know how well this package handles this.

I agree with the note about the auto retry mechanism of EventSource. It does no good, is unavoidable and a big annoyance. The work we had to do to work around it in Tracim (previous job) [1] was pure madness. I see this part has not been touched since I left by the way.

https://github.com/tracim/tracim/blob/develop/frontend_lib/s...
The big problem i've run into with SSE is the connection limit [1]:

> Warning: When not used over HTTP/2, SSE suffers from a limitation to the maximum number of open connections, which can be specially painful when opening various tabs as the limit is per browser and set to a very low number (6). The issue has been marked as "Won't fix" in Chrome and Firefox. This limit is per browser + domain, so that means that you can open 6 SSE connections across all of the tabs to www.example1.com and another 6 SSE connections to www.example2.com. (from Stackoverflow). When using HTTP/2, the maximum number of simultaneous HTTP streams is negotiated between the server and the client (defaults to 100).

The natural way to use SSE is to create an EventSource on each page. If you do this, and your user opens six tabs, they can now no longer make HTTP requests to your site. Not just SSE requests, any HTTP requests at all!

It's also quite natural, i think, to want to use multiple separate streams. It's very convenient to write separate endpoints for various kinds of data that a page might want, for example one for streaming numerical data, one for control messages, and one for descriptive events; or one for each panel on a dashboard. Here, you can hit the limit on a single page.

I wrote a thin layer over my HTTP server's APIs which lets me write a single handler which can send events via either SSE or a websocket. Then, when i build a page, i use websockets, but if i want to debug, i can still use curl to make a normal HTTP request. Also, other apps can use SSE to pull data, which only requires an HTTP client, not a websocket client.

[1] https://developer.mozilla.org/en-US/docs/Web/API/EventSource
This problem is fixed by using HTTP/2.
My feelings aren't strong on that issue the way they are for other things.

For instance I program a lot of Java for high-throughput servers and "old A.I." code that involves logic, parsing, implementing databases, etc. I appreciate, for instance, that Java has fast and reliable facilities for multithreaded programming.

I also like programming Python for data analysis, machine learning, as well as some simple http and IoT servers that use aiohttp.

Having scikit-learn (in Python) means I don't have to write some very complex code myself or write JNI bindings to C code which is almost as bad as writing the C code. It saves me so much effort that it doesn't make much difference what language I am writing in.

If I were going to complain about Python, however, it would be that the solver in pip doesn't work 100% of the time, which is not so bad, but the community is obsessed with finding other solutions that work 87% of the time or 93% of the time (they imagine this is easier, but what do they do with the bug report that it only works 92.8% of the time?) and doesn't get that if my packaging system worked 100% of the time it would lift a huge burden off my mind and make me more productive.

Similarly some would a dynamic language is more productive because you can work in the REPL and not be waiting for the compiler all the time, but you can wait a long time for Javascript builds with Babel (though longer for Typescript), compiles are must slower in the static language Rust than they are in the static language Go, but also I feel my development cycle in Java is pretty quick thanks to running unit tests with a working debugger (I think programmers in some languages can't conceive of having a functional debugger.)
One step closer to the TV programming in Idiocracy[0]: https://te.xel.io/img/posts/2016-05-14-facets-of-greatness-t...

[0] https://www.imdb.com/title/tt0387808/
Yes! This the dystopian future I was hoping for!

What's crazy is that TV's are already crazy cheap. I was in the grocery store a few weeks ago spending $5 on some lettuce and right next to the checkout was a big stack of 50" TV's that they were selling for $199.

I'm simplifying here, but how is mining a dozen rare-earth materials, making a handful of integrated circuits, casting a flawless LCD panel, pick and placing circuit boards, winding coils for magnetic speakers, molding a case out of plastic and shipping the entire large box across the world the equivalent of growing 40 heads of Romaine lettuce? Doesn't the lettuce just kinda grow from seeds with occasional watering?

Maybe a good startup would be a refrigerator that only opens after you let it track your movements, preferences, listen in on your conversations and then watch a few targeted advertisements in exchange for some free lettuce?
This is a drawing app using P5.js

Click the "</>" at the top to read the code.

There's a popular "Let's Code" YouTube channel called The Coding Train that uses it. It's quite acccessible.
The documentation suggests random() without arguments is not supported

random(high)
random(low, high)

https://processing.org/reference/random_.html
Time to use one of those dynamically loaded digital credit cards then set to max $1 charge amount hehe
Reminds me of Vonnegut on the “shapes” of stories:

https://bigthink.com/high-culture/vonnegut-shapes/
Very true. I have my issues with the Netherlands (no country is perfect) but the majority is atheist and religion holds no power here.
If you are on w2 and owe big taxes, then you are intentionally under withholding. Unless you won IPO or buyout jackpot, then spend your time planning your retirement, not credit card churn (unless that’s your plan all along).
> Fuck paying for the privileged of be advertised to.

You've described TV in a nutshell.
I agree it is bad for researchers, but I think you should consider "comments like this" are coming from users.

AI was a highly unusual field in terms of sharing latest research. Car companies don't share their latest engine research with each other. Car users are happy with Consumer Reports and researchers shouting how degradation of Journal of Engine Research is massive and negative will land on deaf ears.