HNHacker News
TopNewBestAskShowJobs

esprehn

2,026 karma · joined July 18, 2011

submissionscomments
esprehn··on GitHub merge queue is generally available
Where do you see that limitation?

The docs say there's a separate event for merge_group which I assume means you can configure different checks.

https://docs.github.com/en/repositories/configuring-branches...

esprehn··on A quick look back at when Microsoft made an interactive Barney toy
Presumably the thinking was it would raise brand awareness and sell Windows licenses. Schools in that era were also Mac heavy so focusing on PC toys was possibly a way to get kids into the MS ecosystem.
esprehn··on TypeScript please give us reflection/runtime types
How do you feel like promises went in the wrong direction?

(I'd also add modules to your list fwiw, they were designed without taking performance into account.)

esprehn··on Goravel, Web framework inspired from Laravel in Golang
It seems like they thought a lot about making sure everything could be mocked and tested: https://www.goravel.dev/digging-deeper/mock.html
esprehn··on Google has a secret browser hidden inside the settings
It's not actually WebKit, that's just a package name that was poorly chosen a decade ago.

https://developer.android.com/develop/ui/views/layout/webapp...

It's the system WebView, it's just not using Custom Tabs.

https://developer.chrome.com/docs/android/custom-tabs/

esprehn··on No Markdown support in Google Drive after all these years
It's not synchronous, sync xhr on the web is pretty rare these days.
esprehn··on Adobe Account Expiration
Strangely I received this notification but when I go to login it says there's no account with that email. In general it seems like this account expiration process is kind of sloppy.

It definitely doesn't make sense to expire accounts in use by desktop software where the user doesn't login to the website.

When I've seen companies do sloppy stuff like this in the past it's because some employee manually queried for accounts but their SQL query was missing a bunch of cases.

esprehn··on Ferengi Rules of Acquisition
I'd assume he does a fair bit of reading. The characters know a lot of things you'd only pick up with constant study. Most of them graduated from them academy ages ago.
esprehn··on The Pentagon’s $52k trash can
San Francisco keeps the inefficient toilet spending crown with the $1.7m toilet:

https://slate.com/business/2022/10/san-francisco-toilet-mill...

esprehn··on Go 1.21 Release Candidate
I agree the semantics seem weird, I've occasionally wanted the equivalent of x = clear(x) but I can't think of a time when I've wanted to set all the values to the zero value.

The bug doesn't seem to discuss use cases for it either. The most I could find is: https://github.com/golang/go/issues/56351#issuecomment-13326...

Which boils down to "doing what clear(slice) does cannot be implemented efficiently today" but I'm not sure how having an efficient way to do something folks don't want is useful?

There's already a memory clearing optimization in the compiler: https://github.com/golang/go/issues/19266

So yeah I'm not sure under what situations folks will use clear(slice).

esprehn··on Go 1.21 Release Candidate
clear couldn't allocate a new array unless it was s = clear(s) like append. Maybe that would have been better semantics though.
esprehn··on Go 1.21 Release Candidate
To match the semantics of dst = copy(src). Multiple languages model operations like this in assignment order.
esprehn··on Go 1.21 Release Candidate
Go slices are passed by value so there's no way for clear() to resize the underlying array without reassignment.

I suppose it could have been x = clear(x) or clear(&x), but certainly if you understand Go semantics then seeing any function call do Foo(slice) already signals that the call can't modify the length since there's no return value.

esprehn··on Missing Titanic sub faced lawsuit over depths it could safely travel to
The tether is not connected directly, it's connected to a TMS that then has a smaller cable connected to the submersible.

Ex.

https://www.researchgate.net/figure/Schematic-image-of-a-wor...

https://f-e-t.com/subsea/vehicles/tether-management-systems/

There's also this one which looks like it can get to the depths of the Titanic:

https://nautiluslive.org/tech/rov-argus

So it was certainly possible to do this with a tether, but it would have been much more expensive.

esprehn··on Sacrifice the first 13 years of your life to Google for 2M
Google doesn't use the promo committee process anymore for most levels, the whole perf process was overhauled in the past year.

https://buildyourfuture.withgoogle.com/programs/grad

esprehn··on We don’t trade with ants
We're pretty decent self healing machines that can reproduce and have millions of years of robustness to various environmental surprises built in.

Until we get all the way to nanobots I suspect the AI overlords will keep us around as workers.

esprehn··on Show HN: Ezno, a TypeScript checker written in Rust, is now open source
This is extremely early per the disclaimer at the top, like too early to even run most toy programs.

In general I'm kind of skeptical of the approach these rewrite in rust/go projects are going. Maybe as wasm plugins for hot paths in existing tools, but it's not clear to me that the full rewrites are where we want to be long term as a community.

esprehn··on DirectX 12 Support on macOS
How are you defining miniscule market share? Per statcounter macOS is 19% globally now and 34% in the US. It's much higher than in the past.
esprehn··on React, but in Python
That's how the new "react server components" work too. It's more sophisticated than this but the network concept is the same.

Blazor was the pioneer here.

esprehn··on US urged to reveal UFO evidence after claim that it has intact alien vehicles
You might appreciate Superman Red Son which explores what could have happened if Kal-El landed on a Ukrainian farm instead of Kansas. It's obviously got bias but it's fun to think about what happens if all the hero "stuff" didn't happen in the US.

https://en.m.wikipedia.org/wiki/Superman:_Red_Son

esprehn··on SwiftData
What part makes you think of Recoil? CoreData (and now SwiftData over it) are more like ActiveRecord in my experience.
esprehn··on Digg's v4 launch: an optimism born of necessity (2018)
That is/was tech culture, but also the cost of catering an event like this is not that high. Maybe a couple thousand dollars to boost morale? It probably cost the same as a couple of MacBooks or office chairs and those are consolidated costs to individual employees. The catering is divided by everyone.
esprehn··on Digg's v4 launch: an optimism born of necessity (2018)
Later Facebook stopped using Cassandra though, and continues to use MySQL.
esprehn··on Apple Vision Pro: Apple’s first spatial computer
The original iPhone was also 599, much cheaper than the laptop it was "replacing". The Vision Pro is priced so high it's not in the same category of luxury items.
esprehn··on No_color
Piping to cat won't work for an interactive tool though.
esprehn··on Firefox displayed a pop-up ad for Mozilla VPN over an unrelated page
Are you sure that code is related to this? That looks specific to the new tab page while the linked bug on HN shows a random website.
esprehn··on VanJS (Vanilla JavaScript): smallest reactive UI framework
This is really just a DSL to make dom:

https://github.com/vanjs-org/van/blob/3f98060971a8ff141179ef...

And a very simple system that replaces the dom from scratch each time any data changes:

https://github.com/vanjs-org/van/blob/3f98060971a8ff141179ef...

That's bad for performance (recomputing the style/layout and repainting even for minor changes), bad for accessibility, breaks focus, etc.

It's unlikely the smaller bundle size compared to preact and friends wins anything once you've abandoned all reuse of the rendering engine computations.

esprehn··on Alien was released 44 years ago today
> Also all were flabbergasted at seeing an "empowered woman character" from "literally like 50 years ago". Came as a little bit of a shock for them. :o)

The interesting thing there is that the story and dialog was written for a male character and then swapped to a woman for commercial reach reasons. They'd didn't really change the dialog when they did that change though.

Had it Ripley been originally written as a woman I'm not sure her character would have been as empowered and I'm also not sure the movie would be the masterpiece that it is.

esprehn··on Investigating the impact of HTTP3 on network latency for search
HTTP/1 is surprising, what browser is that coming from?
esprehn··on FreeBSD spends 7% of its boot time running a bubblesort on its SYSINITs
I think the focus here was for firecracker VMs used by lambda? If you're paying 2ms on every invocation of every function that'll add up. OTOH it seems like SnapStart is a more general fix.
← PreviousPage 8 of 18Next →