HNHacker News
TopNewBestAskShowJobs

markdog12

5,157 karma · joined November 13, 2014

submissionscomments
markdog12··on Using WebTransport
> https://caniuse.com/webtransport

Yeah, it seems there's an older entry in there that's confusing. Not sure.

> There's no usecase mentioned that is not possible today

WebTransport does not really do anything that was previously impossible from an API standpoint, it improves on existing methods.

> Head Of Line blocking can be easily solved by opening multiple WebSocket connections. WebTransport just has that solved instead within the protocol.

Yes, and solving it within the protocol is simpler and more efficient.

> It needs a bunch of examples

Agreed, that would be nice.

markdog12··on Using WebTransport
I politely disagree. The article seems to intentionally compare existing APIs, and explains its relation to websockets fairly well, IMO.

https://web.dev/webtransport/#is-webtransport-a-replacement-...

markdog12··on Using WebTransport
> Chrome on Android doesn't either

Interesting, do you have a source? Or did you try it?

> I am not sure what WebTransport would enable that isn't already possible with current APIs. Unreliable datagrams? WebRTC. Reliable bidirectional communication? WebSockets. WebTransport probably would make some of the usecases easier or more efficient but it's value proposition isn't well communicated or better yet, demonstrated.

The article does seem to answer these questions.

markdog12··on Ladybird: A new cross-platform browser project
My favorite part:

> Q: Why bother? You can’t make a new browser engine without billions of dollars and hundreds of staff.

Sure you can. Don’t listen to armchair defeatists who never worked on a browser.

markdog12··on Use.GPU
Yeah, and it's still behind an explicitly labelled "Unsafe WebGPU" flag. Description has this warning:

> Warning: As GPU sandboxing isn't implemented yet for the WebGPU API, it is possible to read GPU data for other processes.

Their own wording says it's unsafe, and possible to read GPU data from other processes, but can run from a site that has the origin trial enabled.

Is that really the case? Or should they change their wording?

markdog12··on Use.GPU
Someone patched Chrome to enable raytracing with WebGPU: https://github.com/maierfelix/chromium-ray-tracing
markdog12··on After a Legal Fight, Oberlin Says It Will Pay $36.59M to a Local Bakery
Some more interesting context from your link:

When the author anonymously interviewed students, he gathered the following responses:

• “I totally have [taken things from a store downtown without paying for it].

I think I’ve stolen from Gibson’s twice. I took a packet of those noodles that come in boxes… It wasn’t expensive and I felt like it. I just preferred not paying for it, but I could have.”

• A female student admitted that she has stolen many things from Gibson’s Bakery and Ben Franklin’s. “I took a wine bottle. I had a large winter jacket and I put the bottle in the lining and I walked right out.” And, “I took pens from Ben Franklin because individually the pens cost $4 and I thought it was a racket.”

• “Probably [I have stolen from downtown] but let me think about it…yeah, no, I do that all the time.” The same student then talked about how they stole a one-hundred-dollar ($100) bottle of wine from Gibson’s Bakery.

• “I have stolen from Gibson’s, Kim’s, IGA. I took some dumb stuff. From Gibson’s I took some steak knives for an avocado that I also stole. I was really drunk and that was really bad.”

• “I think I’ve taken candy and just small shit from Ben Franklin’s and the Oberlin Market.”

• “[I have taken] a few pens from Ben Franklin over the years… they’re hard to resist.”

• One said she’s never paid for Chapstick while at Oberlin for four years.

• The author: “I myself have stolen from the very people I’ve interviewed for this story. I could have paid for the items easily, but I chose to steal them instead.”

This student and/or institutional attitude was supported by the statistics provided from the Oberlin Police Department of thefts at Gibson’s Bakery from January 1, 2011 to November 14, 2016. These statistics show that of the 40 adults arrested for theft during that time period, 33 of those adults (82.5%) were Oberlin College students.

markdog12··on A 14kb page can load much faster than a 15kb page
I wish you could do this with Brave (without uBlock Origin).
markdog12··on Kubernetes Failure Stories
Previously:

https://news.ycombinator.com/item?id=20163500

https://news.ycombinator.com/item?id=18953647

https://news.ycombinator.com/item?id=26106080

markdog12··on Tell HN: Google Cloud suspended our production projects at 1am on Saturday
We've also received the same threatening emails, even though it was an error on their end, and everything was paid. We were also assured it was an issue on their end, and to ignore the emails. This is wildly irresponsible stuff.
markdog12··on AWS switch from gzip to zstd – about 30% reduction in compressed S3 storage
Good article on zstd: https://gregoryszorc.com/blog/2017/03/07/better-compression-...
markdog12··on Android 13
Detailed post here: https://blog.esper.io/android-13-deep-dive/
markdog12··on Things I've learned building a modern TUI framework
I think that must have changed recently (this year, maybe). I know something changed for sure because the method was always there, but it did not return a Future, like it should have, and did not have the optional Map. I don't recall seeing anything in the changelog.

I'll give it a try.

markdog12··on Things I've learned building a modern TUI framework
It's been 357 years, and Dart still can't go full screen without a hack like this: https://github.com/munificent/hauberk/blob/master/web/main.d...

https://github.com/dart-lang/sdk/issues/11506 (Jun 25, 2013)

markdog12··on Google Kubernetes Engine adds support for Arm nodes
Looks like it's only available in NA central for now, boooo: https://cloud.google.com/compute/docs/regions-zones#availabl...
markdog12··on Crafting Interpreters: A Review
Same author wrote Game Programming Patterns: http://gameprogrammingpatterns.com/
markdog12··on Java record pattern matching in JDK 19
And it's getting patterns too: https://github.com/dart-lang/language/tree/master/working/05...
markdog12··on WebAssembly 2.0 First Working Draft
And Dart has an experimental wasm backend that leverages that work in v8 here: https://github.com/dart-lang/sdk/blob/main/pkg/dart2wasm/dar...
markdog12··on Infinite Mac: An Instant-Booting Quadra in the Browser
https://twitter.com/programmer_just/status/12530987592668938...
markdog12··on When FFI function calls beat native C
How does it run with the new FFI?
markdog12··on Fuchsia Workstation
I find it odd that you consider Dart an "odd programming language", given it is a very "mainstream" language. One of its core goals is to be unsurprising and easy to learn.
markdog12··on AVIF has landed (2020)
For anyone wanted to try it out, Firefox and Chromium-based browsers have flags to enable it.

Firefox: about:config, image.jxl.enabled

Chromium: about:flags, Enable JXL image format

markdog12··on Vitamin D supplements lower risk of autoimmune disease, researchers say
I regularly go outside with my shirt off at -10C, as long as there's no wind and the sun's beaming, I'm nice and warm. Got a bit of a suntan last week. Wife thinks I'm crazy :)
markdog12··on Self-host your static assets (2019)
Imagine if every web page loaded this fast?
markdog12··on Curious lack of sprintf scaling
Anyone reading this will probably also be interested in his related post: https://aras-p.info/blog/2022/02/03/Speeding-up-Blender-.obj...
markdog12··on Curious lack of sprintf scaling
> Technically, there are no bugs anywhere above - all the functions work correctly

They were all correct. But yeah, scary how primitives can result in such poor performance. FWIW, they ended up using {fmt}: https://developer.blender.org/D13998

markdog12··on Curious lack of sprintf scaling
You mean like this, from the article?

> Given that this is an Apple operating system, we might know it has a snprintf_l function which takes an explicit locale, and hope that this would make it scale. Just pass NULL which means “use C locale”:

And then the chart and discussion following it?

markdog12··on Fengari – Lua for the Browser
> Granted, reusing a GC is a good reason to use JavaScript.

WebAssembly GC phase 2 standardized: https://twitter.com/tlively52/status/1493681050693738501

Dart already has a prototype: https://github.com/dart-lang/sdk/commit/6faa5f3bd00ad8cbc640...

markdog12··on Modern human incursion into Neanderthal territories 54k years ago at Mandrin
> Wasn't an American President killed in a pistol duel not 130 years ago or so?

You're probably thinking of Treasury Secretary Alexander Hamilton, who died of his wounds from a duel with Vice-President Aaron Burr. It was 1804.

https://en.wikipedia.org/wiki/Burr–Hamilton_duel

I believe Andrew Jackson killed a man in a duel before he became President: https://www.history.com/this-day-in-history/andrew-jackson-k...

markdog12··on Gitlab is down
Prob just a coincidence, but our Memorystore (hosted redis) instance went down with a "repairing" status around the same time.
← PreviousPage 4 of 20Next →