skysight-inc/HackerNews huggingface dataset:
The fact that every webdev carries around/trades personal "reset" stylesheets to undo everything the browser does by default is insane. It really highlights the disconnect between W3C and reality.
May be time to dust off that raylib + crystal project and go try a game jam. I think I'll use this wrapper https://github.com/sol-vin/raylib-cr
The usual way to deal with it is to respond to form submissions with an HTTP redirect to another page. The user can still hit the back button, but the scary popup won't occur.

However, you run the risk of the user re-submitting the form anyway. Since this is involving orders and money, you may want the order confirmation / submit page to have a nonce or temporary ID representing the checkout session in the URL such that, upon revisiting that page, you can lookup the order status on the backend and redirect them to the order success page again.
it's unclear to me what you gain running ollama in wsl like this compared to switching to a productive native operating system [like nixos] or just installing the windows release of ollama and quietly forgetting about it.

i use nixos.wsl at work to have the same emacs configuration as on my laptop, and that's fine except the windows filesystem performance makes me want to throw the whole system in a dumpster. but on my home gaming machine i have some games that only run on windows so i just installed ollama's windows installer which works with my GPU and installs an autostart entry.

these days the windows box sits in a dark corner on my network with tailscale (again just the windows install), running sunshine too to start steam games on my laptop.
We use it to generate sitemaps with >30 million entries. Ported a Rails task that took ~9 hours to Crystal, using a library with the same API as the Ruby gem we had used. Essentially a copy-paste-tweak that took a couple hours of effort. Crystal version now runs in prod in about 30 minutes.
The scale is far too big. You cannot take into account the millions of permutations of websites and browser extensions when testing changes like this.
Python already has built-in data structure literals that allow you to express lispy DSLs:

html(['ul', {'class': 'foo'}, *(['li', item] for item in items)])

I guess template strings do make it more concise. Kind of like Racket's "#lang at-exp racket".

The benefit of lisp-like representation is you have the entire structure of the data, not just a sequence of already-serialized and not-yet-serialized pieces.
Are the commenters defending the chaos serious or just trolls?
I have actually requested an even more intelligent/aggressive size optimization for nested enums, where values are automatically reassigned to not coincide/conflict to enable tag-less differentiation. Consensus was that it’s a big ask though doable, but maybe possible to implement in a more restrictive version.

https://rust-lang.zulipchat.com/#narrow/channel/131828-t-com...
Thank you for playing my game. Yes, it is possible to make it to the top right sector and deliver your cargo. It is not easy - I recommend choosing the option to take extra fuel right at the start since running out of fuel is usually what kills most runs.

The dreadnaught is tough but not impossible. Torpedoes will help but a few lucky hits with lasers will also do the job.
Show HN: web-based tax sheet I've been using for the past 3 years
a compiler has one requirement that llms cannot provide. It has to be robust.
I must have missed the time we used tungsten telephone poles and cobalt bombs?
This sounds vaguely similar to the plot of The Final Cut.

https://en.wikipedia.org/wiki/The_Final_Cut_(2004_film)
it's now production ready I think, there is a book and udemy course, a demo is at https://demo.fyne.io/

wails does not have a mobile option still
wot if ya mum ran on batteries
Wow that Brazilian institute... surely they knew?
That's a very archaic view of AI, like 70's era symbolic AI.
If you're releasing something today, should you talk about what it can do now or what it might be able to do in two years?
It's for sure some of that, here is also a good podcast that covers this and how a lot of these issues start in childhood and how you can avoid it. It's for parents but it's interesting when thinking about why adults act the way they do.

https://www.youtube.com/watch?v=euqaDgWEj6k
oh you are a mind reader now ? great
It's not that Black Mirror is bad. It's that, as the article points out, we don't have a fictional vision of the future to use as a goal.

The author mentions Jill Lapore's 2017 article in the New Yorker, which is sort of a survey paper of dystopian fiction from that period.[1] No alternatives are presented.

For most of human history, the big problem was making enough stuff. There just wasn't any way to make enough stuff for everybody. In the 20th century, high volume manufacturing got going. By the 1950s, the US had this totally worked out. At long last, society really could make enough stuff for everybody.
Science fiction of the 1950s is mostly utopian. With scarcity conquered, the future looked bright.

But it didn't work out.

Think about why for a while. I'll wait.

[1] https://www.newyorker.com/magazine/2017/06/05/a-golden-age-f...
most ppl have near zero chance of getting to principal engineer at google. but getting to mediocre paper pushing managment job is achievable for most .
I built this project to help pay estimated tax. This is useful when I trade stocks that result in unplanned capital gain or income. Before this project, I got myself into tax penalty because I underpaid my estimated tax.

You can probably get the same functionality from Excel, but I think the numbers are more readable when rendered with minimum HTML + CSS.

Sharing it for other hackers who'd like to do their own tax <3
I promise, no trolling from me in this comment. I never understood the advantage of Python f-strings over printf-style format strings. I tried to Google for pros and cons and didn't find anything very satisfying. Can someone provide a brief list of pros and cons? To be clear, I can always do what I need to do with both, but I don't know f-strings nearly as well as printf-style, because of my experience with C programming.
Because it defragments and cleans the brain.
Incentives to buy new hardware.
>The question asked why would people get angry about AI on an internet forum? The answer is that they don't.

But they do lol.
All I see is Lisp:

#Operator:
- Operand 1
- Operand 2
> Reputation is everything at this level, so they hire some human workers to catch and fix the edge cases that end up badly.

The most important part of your reputation is admitting fault. Sometimes your product isn't perfect. Lying to your investors about automation rates is far worse for your reputation than just taking the L.
I didn't say "obtain consent," I said serve a cookie banner. If you are only setting essential cookies, the banner can just say "This site is using cookies," with no opt-out or preferences button. But it does need to appear.
The EU has always been on the side of free trade (agreements with Turkiye, Canada, Japan, Mercosur, the failed TTIP etc have been worked on for many years).

But it's also always been protective of the internal market and e.g. added tariffs on Chinese steel recently.

The EU has always been export driven.
For general understanding of LLMs, Andrej Karpathy's recent deep dive is a great intro: https://youtu.be/7xTGNNLPyMI
As someone who has casually read Garfield from time to time, I'd describe Jon (the man in the comic) as a lovable loser. A lot of the jokes in the comics are at his expense.
> The government abruptly shut down the public subsidy program with insufficient funds to cover cars sold.

How would the Government know whether they had insufficient funds if nobody had put in their rebate claims?
Wish Go had introduced memory arenas. Most of the use cases for pools could have been cleanly solved by arenas.
I'd love the article to clarify this, because it stuck out to me as well. But as you pointed out, I think that's what they meant: the lighthouse warning is called "H1UserAgentFontSizeInSection"
defaultdict is so regularly useful for just this reason!
How does Jim Davis feel about the Garfield Lovecraft stuff?
How about:

- Gemini, help me tell if this is sarcasm
It's also much, much faster than o1-pro. That feels like a bigger win every time I use it.
They wouldn't be in Berlin, you want to go to cheaper labor places than Las Vegas, which are plentiful in the US, and even more plentiful in Mexico if you want reasonably low latency to the US.

I'd be more concerned about the remote driver's internet connection crapping out. The car probably has multiple simultaneous cellular connections (e.g. PepLink SpeedFusion hot failover type thing).
Wait the philipines is real?!
I agree with this take, aside from a plot nuance about all his memories, there was one base factual lie (paternity) that propagated through his memories. I also occasionally rewatch that episode to try to convince myself that the Willow Grain would not be a panacea for so many of the worlds ills that it would outweigh any shame-motivated reason to dislike it.

Put another way, easy and on-demand access to objective truth seems to present a resolution to so many stupid arguments that it just has to net out as a positive where people quit dying on rhetorically silly hills.

As you correctly identify the weakness is when you want access to the objective truth of another. They need not be inclined to share it and this presents a social issue, as opposed to a technical or factual issue.
IMHO, based on zero evidence, for scheduling, very few people are scheduling events beyond a minute of precision. TAI is a better timescale than UTC, but UTC is better supported and leap seconds might be going away, so pretending they don't exist is probably a better choice.

But timezones are super byzantine. Especially when the rules update. More especially when the rules update on short notice.

If you scheduled an event at 5 pm local time at some place on some day and the rules change, the event's UTC (and TAI) would change. But you may want to confirm with the user, because maybe they're calling into an event somewhere else and they entered their local time but the event is really scheduled in the other time.

You might also have fun when multiple clients are using the same event and the clients and the server don't all agree on timezone definitions. iCalendar suggests that the timezone definition be included in the files, but my experience is definitions are often missing and most things ignore the definitions if present; you've got to include a timezone name the software is going to process as you want or you won't have a good time (or use UTC and hope)

If the event was scheduled in the DST window, the time may no longer exist, or may be ambiguous. iCalendar has rules for that, but they might not actually meet your user's needs (otoh, who is scheduleding things at 2-3am on a Sunday ... probably not a lot of people)
They're not testing the browser, they're testing the Web. Testing in the real world with real users is the only way to adequately probe the effects of potentially breaking changes like this.

This is not new either. Many such changes have been reverted after discovering that they broke more things than expected. One example is the Object.groupBy static method, which was initially Array.prototype.group.
What invalid bit pattern? A u8 can be anything from 0 to 255, so the Option necessarily has to put its discriminant into another byte. If you replace it with a NonZeroU8, then the compiler will duly use the forbidden 0 value for the first Option level, and a separate byte for all further levels.

(Granted, in the None variant, the byte used for the u8 is not usable, but if we're already using a separate discriminant byte, 256 variants should be plenty.)
May I present you Garfeld, the musical? https://youtube.com/watch?v=x4-lNQHxSfI

It is surprisingly good.
Show HN: Oliver's Army – I Built A
Star Trek has been hijacked by people who have no understanding whatsoever of the franchise's spirit. Perhaps this is a symptom of something deeper: not only are they unable to conceive of optimistic stories, they can't even imagine a dystopic original show. Instead, they resort to co-opting an existing franchise and disfiguring it.
But there's no invalid u8 bit pattern.
Yeah… was about to ask that. I just run Ollama on windows. What am I actually solving by running it virtualized in WSL?
There are no rules and you can do whatever you want.

But businesses are usually closed at certain times because it's not economical to keep them open. There are not enough customers looking to buy a pair of socks at 3AM to justify paying someone to sell socks. Or depending on where you live there are laws protecting workers so they get a bigger pay if they work at night etc. There could be other reasons.

If none of those things apply then it is pointless to apply the same restrictions as if they did apply. That would be like driving a car at the speed of a horse carriage.
I've never really enjoyed this show but I found myself liking this clean version much more.

It feels slower and more natural. It also helps because I wouldn't have laughed at any of those spots with it without laugh track.
What is the reason of such advantage over Go? The latter is known to be geared towards concurrency, and also for having a very fast GC.
do people not read kafka in high school anymore?

https://en.wikipedia.org/wiki/The_Trial

did people not understand the historical context of his work when they did read him?
I still think even one within a section (or even div like nested sections) shouldn't be a warning... but I hadn't heard of <section> until today (seemingly it's been in browsers for decades, I just hadn't seen it USED anywhere) so I'm not sure if that implies something other than a logical structural block. From the context it seemed like a different type of div or span.
I've been using this to help me read papers with mathematical notation in them. I screen share with https://aistudio.google.com/live and then ask (out loud) questions like "what do these symbols mean?" - it's a huge help for me, since I never memorized all of that stuff.
Just saw a good video on this that was published a few days ago: https://www.youtube.com/watch?v=HvW-RtTRm8w
It shouldn't. It's part of an anti-feature called "studies": https://support.mozilla.org/en-US/kb/shield
Your Phone, Your Data: How to Safeguard Your Digital Life When Entering the U.S.
This site's mobile experience mirrors my feelings when having to edit deeply nested and templated YAML.
Same goes for a lot of TV shows shot on film vs tape vs early digital cameras. Tape and early digital cameras have a much lower quality ceiling than stuff shot on film.
In my experience, reddit will shadow ban accounts if your IP changes frequently (at least more than once per day). The likely scenario for this is if you are connecting to a VPN connection multiple times per day. For me, in the past, this has been a guaranteed eventual shadow ban. You basically get caught in their bad actor filter or something.
I kind of think both are true. I will remember Winston as great thinker who is extremely aware his world. And the tragedy or death of him is death of his awareness. His ability to think. In all the protagonist I have seen in tragedies, he is peculiar. While reviewing one another writer's work, Orwell said

> ‘... was a bad writer, and some inner trouble, sharpening his sensitiveness, nearly made him into a good one; his discontent healed itself, and he reverted to type. It is worth pausing to wonder in just what form the thing is happening to oneself.’

In the first act, the writing was so cold and I could not feel any connection to Winston. Even, when getting intimate with Julia, he is thinking,

> In the old days, he thought, a man looked at a girl’s body and saw that it was desirable, and that was the end of the story. But you could not have pure love or pure lust nowadays. No emotion was pure, because everything was mixed up with fear and hatred. Their embrace had been a battle, the climax a victory. It was a blow struck against the Party. It was a political act.

I don't know when I started to feel things and empathize with him so much. When you think about circumstances and how he feels, he is cold as it gets, always scheming.

And in the most hopeful time of his life, he say these

> ‘We are the dead,’ he said.

> ‘We’re not dead yet,’ said Julia prosaically.

> ‘Not physically. Six months, a year – five years, conceivably. I am afraid of death. You are young, so presumably you’re more afraid of it than I am. Obviously we shall put it off as long as we can. But it makes very little difference. So long as human beings stay human, death and life are the same thing.’

But, when you think of an inner life, he has one of the richest and rare ones. We empathize with that, and when crystal ball falls, it was the most tragic thing I have experienced. I think, genius of Orwell is that he made the character and the idea indistinguishable.
American and multi-national companies often build such factories in low-income countries. It's not that no one in the US knows how to build factories. It's purely a cost/regulation question.
> simply because people use older versions, use different browsers, etc.

Yes, but in this case asking the user to update to the latest version won't fix the problem either. I agree it's a terrible idea.
It seems then, debates about (oligarchy-owned) AI-safety are parallel to debates about the safety of cybernetically-planned economies..

(If any of you are interested, I think the abstract core of the issue is about the porous boundary between excludability & rivalry*)

Since we're doing anti-Soviet puns:

1. From the top comment (imho comments are usually more thoughtful than essays :)

This philosophy of lack of accountability, of detaching individuals from the consequences of their choices is to me the fundamental flaw at the heart of... well, I was going to say "Western democracy" but that's a dubious expression, so whatever it is we live under now.

Is it not enough to tax corporate personhood (or *cough* AI-hood or *cough* useful parrot-cy or cough agen-cy) as a public resource, then?!

[Luckily, search engines haven't become sentient.. yet]

>Stafford Beers’ cybernetic perspective on corporate organization (Beers is the originator of “The purpose of a system is what it does")

https://archive.today/latest/https://thetechbubble.substack....

2. Also from top comment (Potemkin AI pdf alt link)

https://direct.mit.edu/books/oa-edited-volume/5319/chapter/3...

* https://economics.stackexchange.com/a/29598
> because they are too honest and will spill the beans on the product's shortcomings, or inundate the customer with irrelvant details

Yeah, getting upset an EE who has the skills to build a cellphone from scratch isn't actually moonlighting as a writer doing a blogspam version of a podcast interview fits that quite well
> 5) Uh-oh, the model is underperforming, and the human worker pipeline is now some significant part of the full workflow.

AI stands for "Actually, Indians."
FWIW many institutions don't want a middle ground between a registration/request being received, and it being in limbo somewhere.

We could compare it to refusing mailed in registrations or not setting up a post box for out of office submissions, those are long lived practices depending on the office, and they "just" brought it wholesale to the online world.

If it's that much easier for the staff to hold a mental model of what they do and how they work, I'd respect their choice even if it feels so alien in the online side.
Ask HN: Why do we (tend to) obsess about syntax but dismiss writing well?
I feel that we bikeshed variable names but then tend to send the most noisy Slack/Email/whatever messages. Yet, there’s so much discussion around naming, but not so much around information transmission.
It's Ruby like syntax is awesome. It reads like psuedo code.
I don’t understand

I get that you can assemble a phone PCB with SMT parts yourself, that’s not that crazy

But is there actually an American made SoC that can be used for a phone?
>We always were sort of maintaining two different bills of materials of Chinese componentry and Western componentry because they're different. Then we produced five different iterations of the Librem 5 phone through Chinese contract manufacturing. And we iterated through those five changes over the course of about 18 months. At that point, we finally had a production ready product. And then we were able to take everything that we did and bring it to US soil.

How many iterations can they get done in US in 18 months? That's what's going to kill Made in USA, if you can't get the design done on time, not a few $100 extra in PRC vs west sourced BOM, but millions more spent on development over longer time frame because lack of talent. Is the short/medium term solution still to send "homework" to Chinese prototype teams? I suppose economics of PRC speed and few prototypes > 100%+ tariffs.
It's a shame you weren't consulted, I suppose.
> Algos are bad. they inherently carry a huge risk to accentuate the biases of the datasets from which algos were created.

They do not do this “inherently.” They don’t do it at all if they don’t have or create a feedback mechanism.
Sure, the people making these things should feel bad about it, and ideally change their choices... But if 5% of Firefox users can't use your page, and your page is important, they'll consider Firefox broken and go use something else.

Firefox isn't doing so well on market share, and appearing to be broken isn't going to help.
Meta Whistleblower Sarah Wynn-Williams Testifies to Senate Judiciary Committee
Her actual testimony starts around 24:30
There's also Guy Maddin's Seances, sort of a sister project to The Forbidden Room. It's free online: https://seances.nfb.ca/
Mirror: https://web.archive.org/web/20250307234303/www.rnlawgroup.co... (web.archive.org/web/20250307234303/www.rnlawgroup.com/your-phone-your-data-how-to-safeguard-your-digital-life-when-entering-the-u-s/)
thx for warning. With me, its ok. No false-flagging by big GOOG. Only flagged, what does deserve flagging.

But, with my girl and with her outlook.com account created last November (2024) - without exception - every new email / unknown sender is pushed to spam folder. Unless the sender is manually marked as "no spam". We don't really know why..

- Tell me Why??? Ain't nothing 'bout spam filters

- Tell me Why??? Ain't nothing 'bout missed emails

- Tell me Why? I never thought, I'll have to care. That's just a nooo-gooo.

(Backspam Boys - Tell me why)
> any normal fire engine costing more than $1,000,000 just leaves me gob-smacked. Even $500,000 would seem outlandish to me

No, they said 500k would also be outlandish. But the commenter correctly caught that 500k would in fact be exactly the same price, inflation adjusted. This makes a big difference.
The expectation is that the startup lies until they make it. It isn't too dissimilar to theranos.
AFAIK the battitori are employed directly from the Consorzio, the trade association which owns the brand.

So what's written in the _disciplinare_ is the expectation that the wheel is flawless and that the experts will validate it at certain times. The details of how the validation is performed is vague, it mentions using the hammer but doesn't specify stuff like "it sounds X".
There’s a much better option. Cap the card transaction fees by offering a public alternative.