Hacker Newsnew | past | comments | ask | show | jobs | submit | oneeyedpigeon's commentslogin

> disabling optimizations with /Od

And that weird flag is because it's a windows compiler: cl.exe, not gcc.


I prefer data-driven programming, so a simple:

    return odd_or_evenness[n];
works for me, alongside a pretty big array.

With data-driven programming, I would have expected an SQL table containing all the precomputed results. Unless you carelessly add an index, it has the same asymptotic performance!


    const odd_or_evenness = comptime blk: {
        var buf: [16]bool = undefined;
        var is_even = false;
        for (&buf) |*b| {
            b.* = is_even;
            is_even = !is_even;
        }
        break :blk buf;
    };
This looks like a promising strategy.

This is the way.

It's wild that you would make this claim without taking a few seconds to drop a link. It's such a substantial, controversial claim, it really needs some kind of evidence.

Here in the UK, Tesco is running a pretty similar campaign to the McDonald's one (without the AI): https://www.youtube.com/watch?v=711Cq8_E0oI

I think Brits tend to be more cynical than Americans, though, so it kinda tracks.


That ad is brutal. I feel sorry for people who experience Christmas like this.

That montage version is actually quite uplifting compared to the longer version of each individual segment:

https://www.youtube.com/watch?v=WMUWrBKHoKc

I mean, that's just depressing to watch :(


I'd like to know what Monopoly knock-off is partly in the shot here: https://www.youtube.com/watch?v=ebA8X4HChJM

PSA: if you have family meltdowns playing Monopoly, try following the rules and allowing auctions of un-bought property. At least the game may eventually end then. Or just don't play games intended to be teachable "well isn't this shit" moments.


Misery loves company. Some people just want other people to be as unhappy as they are.

Seemed pretty realistic to me!

One exception: with the stamp cost rise, I think this might be the year even the staunchest card senders may be reconsidering!

I remember my mum sending out 20 or 30 cards all with first class stamps. I don't see many millennials and down doing it. "Not in this economy"!


I find it strange that people don't consider HN as social media. I guess the distinction is that you don't usually directly interact with other users, but it has user-generated content, link uploading, very frequent updates, and voting — it ticks many of the same boxes, imo.

The voting is the closest thing it has to algorithmic content selection, it's not tailored to each user, there's no advertising, and rage-bate headings are discouraged if not forbidden. By today's standards, it's quaint.

Oh, it's very good social media, don't get me wrong. I think that's why people avoid the term: social media has pretty negative connotations, so people don't want to use it for things they like.


It certainly engages the brain in a similar way. I agree that the forums of old were proto-social media.

Note that, even if that's all true (and I do agree that studies should have been conducted), the two positions are:

a) We made this change because we think it will help certain people

and

b) We made this change because we fundamentally disagree with attempts to help certain people, whether effective or not

I think b) is a lot worse than a). Or, to put it another way, has the current administration demonstrated a benefit from this change, or are they behaving at least as badly as "the left"?


No, you're just falling into the sort of left wing "people who disagree with me can only do so because they are a bad person" trap. You can read the full text of the actual memo (and a reasonable interpretation of it) below, but it appears to me that the principle reason as stated is that Calibri is less professional, inconsistent with all other government communications and even inconsistent letterheads on the very same department's material, and that appearance matters. It isn't in fact about "sticking it to the woke", but it does seem like the original decision to use Calibri was not based on anything and just about appearing to be woke.

https://daringfireball.net/2025/12/full_text_of_marco_rubio_...


> No, you're just falling into the sort of left wing "people who disagree with me can only do so because they are a bad person" trap.

I'm not sure where this conclusion came from. I even acknowledged that the original change was problematic.

> the principle reason as stated is that Calibri is less professional

That's fair, but it doesn't erase the 'DEI' comment in the memo. If that weren't there, we might actually be having a discussion about the merits of one font vs. another.

> It isn't in fact about "sticking it to the woke"

Again, that might be believable if the memo hadn't explicitly complained about DEI.


DEI was mentioned in a footnote, it didn't seem to be the main thrust of the memo. I agree it would have been better to not mention it at all, the decision is perfectly defensible on the basis of all the previous non-footnoted points.

I apologise for my first comment, it seems like those critical of the latest decision are painting a simplistic picture - "this was one side attempting to be kind vs other side deliberately being unkind". But it doesn't appear to be the case to me.


They definitely did use the term 'DEI', though, which is pretty much interchangeable as far as they're concerned.

I'm definitely not suggesting someone make one, but Rubio sounds like an awfully good name for a font...

Maybe not, but the BBC's use (and subsequent dropping) of Gill Sans comes close!

> Reuters calling the switch a "font" change instead of a typeface change is troubling

Come on, they're writing for a general audience, not a bunch of pedantic typographers and developers.

> a society that now casually refers to all pasta as "spaghetti"

I have never experienced this; in what contexts have you?

> taught to children

We were 100%, never taught this (in the UK).

> A simple correction would stop this spiral

It wouldn't, it would just mean fewer people understood what the story was about.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: