HNHacker News
TopNewBestAskShowJobs

svrtknst

450 karma · joined March 23, 2018

submissionscomments
svrtknst··on Brains speed up perception by guessing what's next (2019)
Without prediction, we wouldn't have goalies.

A puck can pretty easily travel something like 30-40 m/s, and shots are regularly taken 4-5 meters from the net.

Goalies have, what, 1/10th of a second to track and evaluate the shot and make a qualified save. If that was pure evaluation and reaction we would be far too slow.

I also think most people who've played goalie in any sport know that you get a _sense_ for where the shot is going. High, low, left, right etc so it's not just guesswork and statistics either.

svrtknst··on Amazon warns employees not to share confidential information with ChatGPT
Don't put secrets into things you dont have control over lol.

ChatGPT is cool and all but I often feel people are too naive when using these tools, with little consideration as to how their inputs are used, if the output is copyright protected, etc.

svrtknst··on All I want for Christmas is these seven TypeScript improvements
I've tried something similar, but splitting the args into Head and Tail and extending the Parameters<F> of the input function and some other trickery Been a little while since I looked at it tho
svrtknst··on All I want for Christmas is these seven TypeScript improvements
I've been bashing my head trying to create some sort of typed pipe for a while, with a syntax matching Elixirs, to avoid having to create curried functions all the time. The farthest I've gotten is that I achieve typing, so long as the function isn't generic. So this works:

  const plus = (a: number, b: number) => a + b;

  pipe(5)
    .thru(plus, 3) // Pipe(8)
           //   ^---- this is inferred as `number`
But this doesn't

  function plus<T extends string|number>(a: T, b: T) {/* ... */}

  pipe("five")
    .thru(plus, "three") // Pipe("fivethree")
             //   ^--- this isnt inferred or narrowed,becoms `unknown` iirc
svrtknst··on Hans Niemann Suing Magnus Carlsen, Chess.com, and Hikaru Nakamura
Is it normal for these suits to be so... salty? in their formulations. I've never read one before, but a lot of the wordings are pretty hilarious.

> Carlsen, having solidifed his position as the "King of Chess", believes that when it comes to chess, he can do whatever he wants and get away with it.

> On September 4, 2022, Niemann soundly defeated Carlsen during an in-person game > Notably, this was not the first time that Niemann beat Carlsen at chess

> Notorios for his inability to cope with defeat, Carlsen snapped. Enraged that the young Niemann, fully 12 years his junior, dared to disrespect the "King of Chess", and fearful that the young prodigy would further blemish his multi-million dollar brand by beating him again

svrtknst··on NIH blocks access to genetics database if research enters “forbidden” territory
Unnecessarily hostile and bad-faith interpretation. We can be more respectful towards each other than that.
svrtknst··on Tesla Has Special Code for Crash Testing in Its Cars, Raising Red Flags
IMO the code runing in cars (and other types of vehicles) should be made available to inspection agencies, pref. written in languages that can make certain guarantees, or at the very least be required to be written in clear, legible manners with certain standards.
svrtknst··on The B-52 was designed in a hotel room over one weekend
bone apple tea
svrtknst··on Lost islands cited in Welsh folklore and poetry are plausible
Not just zero physical evidence - zero evidence _at all_. Afaik it doesn't appear until Plato uses it, and he claims that its thousands of years old or something like that. That should reasonably have traces in other accounts through the years.

I did hear a fairly credible theory that it is just an allegory invented by Plato, but influenced by various other myths and political centers (such as king Minos rule on Crete).

svrtknst··on Show HN: Penumbra, a perceptually optimized color palette based on natural light
Not saying you're right or wrong - personally I like the palette but not the theme - but these comments give off a pretty arrogant attitude that I think is uncalled for.
svrtknst··on Is it safe to keep using period and fertility apps in a post-roe America
which implies that there is no risk of period tracking apps being subpoenaed or selling user data?
svrtknst··on Don't be that open-source user, don't be me
Something I believe is overlooked that is relevant here is the effect of large volumes of feedback, even positive. Sara Chipps wrote about it in her blog post on Stack Overflow[1].

I don't believe we as people are desgined to handle feedback and opinions from a large number of people, and it's very easy for even neutral or benign questions ("is this planned for a release?", "any news on this?") to become grating.

Kinda similar to when kids go "Mom, mom, mom, mom" - nothing harmful is being said, but the cumulative effect is exhausting.

IMO it's a good idea to question, has someone else asked this? has someone else already stated this opinion? before posting on forums.

1. https://stackoverflow.blog/2019/07/18/building-community-inc...

svrtknst··on All IoT devices Bricked after Insteon shuts down?
I use IKEA wireless stuff (which in turn use Zigbee) and, outside of a relatively slim range of products, they work great. Good quality stuff, easy to set up, and continue to work even if my internet cuts out.
svrtknst··on EU to make it mandatory to use customer-replaceable batteries in household items
I'd argue that environmental impact is a health issue.
svrtknst··on Username ending with MIME type format is not allowed
ok boomer
svrtknst··on Rugby: Head impact study shows cognitive decline after just one season
This is an increasingly common sentiment among hockey players too, that softer shoulder pads could be a way to decrease head trauma
svrtknst··on Code Smell of the Day: Type Keys
This is a Hot Take (tm) that I havent fully considered so grains of salt etc, but boolean flags are in essence bad product type. Given a function

  create(entity, bool_a)
we have a function that creates an entity and take a bool flag, and it has 2 possible variants (entity + true, entity + false). If we add another bool flag

  create(entity, bool_a, bool_b)
then it increases to 4 states. Add another and you're dealing with 8 states, and so on and so forth. We likely don't care about all 8 states - rather 4 or 5, but complexity increases.

In this case, with the type key, we're essentially dealing with a sum type that has two variants

  (admin, attributes) | (customer, attributes)

which is fairly clear. if we add another variant to it, we only increase by one

  (admin, attributes) | (customer, attributes) | (distributor, attributes)
svrtknst··on Indian inventor dies in homemade helicopter accident
It's also not just a strip of cloth - it's a decent strip of cloth, fasteners, nuts, bolts, washers, something to fasten the seatbelt etc.

Which isn't a lot and I think this is an unfortunate oversight, but I can see it being a bit difficult to do properly.

Of course, doing it improperly with a rope would probably have been better than not at all.

svrtknst··on Facebook users said no to tracking, and now advertisers are panicking
I don't know if or how it could be leveraged, but marking something as irrelevant is also providing information to the ad system. Even if that data is "Less of this, please".
svrtknst··on What I learned from Erlang about resiliency in systems design (2019)
"Crash" can mean a lot of things, and in Erlang, a crash occurs whenever your functions are unable to perform their task (for instance, there were no functions that match your input data), or when process calls time out. More obvious crashes exist as well - a remote connection hangs up, a computer catches on fire, etc.

You could also use a variety of supervisor strategies or methods to detect what caused the crash.

svrtknst··on What I learned from Erlang about resiliency in systems design (2019)
One benefit of the "let it crash" mentality - provided the language and runtime has the right set of tools - is that you can focus on programming the happy path.

Simplified example, but if part of your app is a parser, you can write functions that parse known tokens. If the input contains bad data, your parser will crash. Its supervisor will detect this and be able to restart the parser,and can pass an error back to the user.

Now, should you add on code that handles known errors more gracefully and provides more info? Absolutely, but you don't have to, and imo that enables a very pleasant programming experience

svrtknst··on Elixir 1.12
There are some nice bits in here.

tap() and then() are fairly minor, but very nice quality-of-life additions.

The work on numerical, livebook, Mix.install etc are healthy steps to take.

Nice work.

svrtknst··on Ask HN: Are you satisfied with Elixir or do you regret choosing Elixir?
> I would rather have had something closer to Koa

I'd just use Plug then. Not every tool suits every job

svrtknst··on Ask HN: Are you satisfied with Elixir or do you regret choosing Elixir?
I'd say your unlikely to pick up the entirety of OTP in a few days, but agree that it should'nt be too daunting to train in it.
svrtknst··on Ask HN: Are you satisfied with Elixir or do you regret choosing Elixir?
I'd say it's rather the other way around. Your infrastructure now solves what Erlang did 25 years ago.

Not to argue your point, though.

svrtknst··on Ask HN: Are you satisfied with Elixir or do you regret choosing Elixir?
Erlang started in the late 80s and saw production use roughly 95
svrtknst··on Audacity: Actions we propose to take on PR 835
What you're getting in return is improved UX and performance, albeit it is a more abstract and collective gain than discounts.

You also get (unless you are a contributor, I guess) a very capable and transparent music editing software for free.

svrtknst··on Audacity: Actions we propose to take on PR 835
Imo the last part is a bit too dismissive. It's not too hard to imagine how telemetry from software can be used for ad targeting, or for more nefarious purposes, since the telemetry would have access to track info, including metadata.

If we're imagining worst-case scenarios, my first thought is "use track info to discover unlicensed music usage". Or for ads.

svrtknst··on Audacity: Actions we propose to take on PR 835
Both yes and no imo. I strongly believe that they have good intentions and that the reception has been a bit in bad faith.

I think it's a reasonable assumption to make, but as a user I'd want insight and granular choices, rather than just "allow telemetry? y/N"

svrtknst··on SVT Encore – Abstract the Transcoding Power of FFmpeg
But its funded by the tax, ergo it literally is their tax money at work here.
← PreviousPage 2 of 6Next →