HNHacker News
TopNewBestAskShowJobs

chrisoverzero

862 karma · joined March 23, 2013

submissionscomments
chrisoverzero··on ElonJet Is Now Suspended
>If you agree its fine, would you apply the same reasoning to [favorite politician]?

What, like Air Force One? https://twitter.com/USAirForceVIP

chrisoverzero··on CRDT: Fractional Indexing
Does a Vec<u8> with that calculation listed end up smaller than two integers of (presumably) arbitrary length?

When I read about the problem, I imagined using the mediant to calculate “between”. I think that mediant of $value and 1/1 would work for “after” and mediant of $value and 0/1 would work for “before”.

There must be a requirement I’m missing, though!

mediant: https://en.wikipedia.org/wiki/Mediant_(mathematics)

chrisoverzero··on Norvig's Law (2002)
> However they very much do like that you already have 57% market share […]

But if they want you to double it, you’re going to have some bad news to report.

chrisoverzero··on Kiwifarms Dropped by Their ISP
> Which is why yelling "FIRE!" in a crowded theater is also not speech (despite people also thinking that's another gotcha example to free speech)

Next, you’ll be telling us that it’s OK for the government to arrest socialists for passing out anti-war flyers.

chrisoverzero··on Norvig's Law (2002)
I’m running a subscription-based service, but I’ve stalled at 57% market penetration. Can you give me some advice on how I can double my market penetration from this point?

Remember, what I’m looking for is 114% market penetration. Any help you can provide will be gratefully appreciated.

chrisoverzero··on Experimenting a new syntax to write SVG
> Colon-separated attributes

I admit that this section threw me a little bit for a loop. I mean, I can't assume the author doesn't know this, but this article and the repo give no indication that these are being used properly as rebindable prefixes mapping to namespace declarations. They're not just names-with-colons-in.

In fact, CSS already has syntax for namespaces[0]:

    @namespace prefix url(XML-namespace-URL);
    /* or */
    @namespace prefix "XML-namespace-URL";
    
    /* which is then referenced as */
    prefix|element { }
…so I imagine it would have been a smaller innovation to continue to use the pipe as the delimiter.

    @namespace url(http://www.w3.org/2000/svg);
    @namespace xlink url(http://www.w3.org/1999/xlink);
    
    use {
      xlink|href: #circle;
    }
(But rebindable prefixes have turned out to be bad on the open web[1], so maybe not.)

[0]: https://developer.mozilla.org/en-US/docs/Web/CSS/@namespace

[1]: https://wiki.whatwg.org/wiki/Change_Proposal_for_ISSUE-120#W...

chrisoverzero··on CSS calc(100% – 0) is invalid, but calc(100% - 0px) is valid
There’s nothing to fix, basic or otherwise. Safari is following the specification. There’s even a clarifying note about exactly this:

> Because <number-token>s are always interpreted as <number>s or <integer>s, "unitless 0" <length>s aren’t supported in math functions. That is, width: calc(0 + 5px); is invalid, because it’s trying to add a <number> to a <length>, even though both width: 0; and width: 5px; are valid.

— https://www.w3.org/TR/css-values-4/#calc-type-checking

(This also appears in the latest Editor’s Draft.)

chrisoverzero··on Age verification providers say don’t worry about California design code
> If Apple can perform a digital attestation of a derived attribute, e.g. "older than 18", rather that disclosing name, DoB, address to the visited website […]

I don’t know about websites, but one of Apple’s examples is almost exactly that – “older than 21” – for purchasing alcohol (in the US, yes, yes) without giving over all of the rest of the information on your ID.

chrisoverzero··on Microformats Wiki
The HTML Standard disagrees:

> […] authors are encouraged to use values that describe the nature of the content, rather than values that describe the desired presentation of the content.

[*]: https://html.spec.whatwg.org/multipage/dom.html#global-attri...

chrisoverzero··on Republishing a fork of the sanctioned Tornado Cash repositories
> […] when does USA ever ratify treaties into (federal) law […]

Never. Or immediately, depending on your perspective. Either way, there’s no need for further paperwork.

> Treaties to which the United States is a party also have the force of federal legislation […]

— https://www.senate.gov/about/powers-procedures/treaties.htm

chrisoverzero··on RFC 9293: Transmission Control Protocol (TCP)
No need to wait; HTTP got a similar full overhaul across several RFCs. Read all about it from one of the editors:

- https://www.mnot.net/blog/2022/06/06/http-core

- https://www.mnot.net/blog/2022/06/08/http-extensions

chrisoverzero··on RavynOS – Finesse of macOS, freedom of FreeBSD
> […] double-clicking the Finder titlebar only expands it vertically […]

This behavior is called “Zoom”, and it’s defined per-application by that application. You could change that system-wide to minimize.

> […] when I close a window and then press Cmd+tab, the icon is still there, and if I select it nothing shows up.

Yes, the application hasn’t quit. You’ve only closed its last window.

chrisoverzero··on “It’s time for Apple to fix texting”
> Received messages are always black on grey.

What on Earth are you talking about?

chrisoverzero··on Google fires engineer who called its AI sentient
> Yes but what about the second law of thermodynamics. I mean the law of entropy. […] still it breaks with us being here.

Of course! I mean, entropy can decrease locally – say, over the entire planet – but that would require some kind of… like, unimaginably large, distant fusion reactor blasting Earth with energy for billions of years.

chrisoverzero··on Building a Rust Mentality
That seems more like “move fast, add things”. I’m not sure how one could sensibly expect a compiler to be able to compile language features from the future.
chrisoverzero··on GCC Rust Approved by GCC Steering Committee
It’s not as complex as you’re choosing to make it. When someone tells you, “There’s free beer at Oktoberfest,” is your first thought that the beer has no monetary cost, or that the beer is unencumbered by particular legal restrictions?

Now someone tells you, “There’s free speech at Oktoberfest.” Is your first thought that there’s no monetary cost to expression, or that the expression is unencumbered by particular legal restrictions?

(Happily, Oktoberfest has both.)

Think of them as the _slightly_ longer "Free as in 'free beer' " and "Free as in 'free speech' ". When beer is described as “free,” it’s understood to be gratis. When speech is described as free, it’s understood to be libre. These are used as examples for more ambiguous situations, since software can be one, the other, both, or neither.

chrisoverzero··on The Continuous Delivery Test
Read this as “Do you use git?” This is opposed to svn, cvs, something home-grown, or passing thumb drives back and forth among developers.
chrisoverzero··on Uncle Bob and Silver Bullets (2017)
> Write a few lines of test code that fail

OK, write the test…

> write a few lines of production code to make it pass

…before the feature.

I recognize the color you’re trying to add (it’s more like TFTFTF than TTTFFF), but it remains Test-Driven Development.

chrisoverzero··on Uncle Bob and Silver Bullets (2017)
You’ve named four developers who work primarily (exclusively?) in video games.

Why is that, do you think?

chrisoverzero··on Uncle Bob and Silver Bullets (2017)
Are you trying to say that “Test-Driven Development” is “writ[ing] tests for their code”?

Test-Driven Development means that the tests are written before the features.

chrisoverzero··on Ask HN: Should I learn Rust or Go?
Yes.
chrisoverzero··on No-op statements syntactically valid only since Python X.Y
Let’s all stop half-remembering this quote and get it straight from the source:

> There should be one – and preferably only one – obvious way to do it.

> Although that way may not be obvious at first unless you're Dutch.

chrisoverzero··on What Is JSON Patch?
> so the spec has implementation specific behavior […]

No, that’s specified in the JSON Pointer spec, which this spec depends on: https://datatracker.ietf.org/doc/html/rfc6901

> […] that's not fully specified by just the spec?

Specs depend on previous specs nearly all the time. Thank goodness for hyperlinks.

chrisoverzero··on Everything with a battery should have an off switch
Tell us why you think it’s relevant.
chrisoverzero··on Keycloak: Open-Source Identity and Access Management
> Beware: they aren't using Docker Hub anymore. Newer versions are on Quay only

Oh, right, Quaycloak.

chrisoverzero··on I want off Mr. Golang’s Wild Ride (2020)
That doesn’t really have anything to do with a statement about Rob Pike’s design intent.
chrisoverzero··on I want off Mr. Golang’s Wild Ride (2020)
Sure, but is writing the error check by hand what creates the benefit? Or is it having the error check?
chrisoverzero··on I want off Mr. Golang’s Wild Ride (2020)
> I'm not fond of this framing, which suggests that go is for bad programmers and rust is for good programmers.

Right, go is for inexperienced programmers.

> The key point here is our programmers are Googlers, they’re not researchers. They’re typically, fairly young, fresh out of school, probably learned Java, maybe learned C or C++, probably learned Python. They’re not capable of understanding a brilliant language but we want to use them to build good software.

Or so Rob Pike thinks. However, as I get more and more experienced, the shortcomings of go become too much to bear.

chrisoverzero··on Why didn't our ancient ancestors get cavities?
Antiseptic regrows enamel?
chrisoverzero··on Impressions from a first-time Mac user
> It was so absurd that I though[t] it was damaged.

If you’re not getting haptic feedback, it is damaged.

← PreviousPage 3 of 8Next →