Better HN
topnewbestaskshowjobs
Log inSign up

efokschaner

65 karma · joined Apr 7, 2019 (7y ago) · 19 submissions

Submissions

comment 2y ago · link · parent

Fun site, I found an Easter egg:

https://urlshortenersaresoyesterdaytrythisamazingsuperlongur...

This reminded me of a backend-less filesharing site I once made

https://efokschaner.github.io/furl-unfurl/#/

comment 4y ago · link · parent

Herb mentions the possibility of `is void` generalizing across pointers, std::optional, and std::future. This seems like it could create ambiguity with a future<void> wherein a non-ready future<void> `is void` and also a ready future<void> `is void`. How should it be handled, I wonder?

3.

Show HN: Remote UDP Tunnel for VS Code(marketplace.visualstudio.com ↗)

1 points · by efokschaner · 4y ago · discuss

comment 4y ago · link · parent

Thanks, that makes sense.

comment 4y ago · link · parent

Thanks for the response. I think my disagreement is in describing that as "without synchronization", somewhere the caller is somehow ensuring there are no writes during their safe parallel reads.

comment 4y ago · link · parent

This is the first time I've heard of "thread compatible" objects/state. The author states: "Most types in C++ are thread-compatible, as this guarantee comes mostly comes for free", and that "Any concurrent call to a non-const method must be synchronized by the caller."

My understanding is that due to things like memory tearing, or the possibility of invariants between object members being in intermediate states, reads are always unsafe when there is a possibility of writes. Therefore, you can't selectively skip having some kind of synchronisation for the const calls (the reads), as something needs to be synchronizing all the reads against any potential writes. So to me this just reads as, "the caller has to manage all the thread safety for all the accesses", which I'd agree is what typically "comes for free" in c++, but I'd hardly call it a "guarantee".

I'm wondering if I'm not seeing some meaningful level of "thread compatibility" in between "thread-safe" and the "accessor beware" behaviour of all c++ that wasn't designed to be thread-safe. Or is there an example of some c++ that is not even "thread-compatible" once the caller has accepted the burden of synchronization?

comment 5y ago · link · parent

This subject is discussed in the pop sci work of PBS spacetime https://youtu.be/GcfLZSL7YGw with reference to articles and books if you're looking for more

comment 5y ago · link · parent

I don't get that option, and instead get a message referencing HSTS, presumably because at some point in the past my browser picked up the HSTS setting for the site.

comment 5y ago · link · parent

Does anyone know how to "thisisunsafe" on mobile Chrome?

comment 5y ago · link · parent

I have dabbled with the pizzapi in the past, classic!

comment 5y ago · link · parent

How fun!

comment 5y ago · link · parent

Anyone have other "novelty" terraform providers which are interesting to share?

comment 5y ago · link · parent

It's probably a worse solution than in-game blueprints.

However it could be educational for teaching Terraform without needing to create real cloud infra.

14.

Show HN: terraform-provider-factorio(github.com ↗)

55 points · by efokschaner · 5y ago · 19 comments

15.

Inverted Aerobraking (2003)(walthelm.net ↗)

1 points · by efokschaner · 6y ago · discuss

comment 6y ago · link · parent

This might be banks trying to detect compromised users. Many "tech support" scams aim to get remote desktop access to users PC's and then have them log in to their bank while scammers are connected. I could see how banks looking for remote access software could be a useful heuristic in fighting this problem.

comment 6y ago · link · parent

I'm not seeing anyone staging an armed rebellion over this definition...

comment 7y ago · link · parent

Not FPS specifically, but you might enjoy Riot Games' tech blog https://technology.riotgames.com/ which has articles on a variety of game technology things such as service deployment, network infrastructure, game performance monitoring etc.

(Disclosure: I work there)

19.

RFC 8565 – Hypertext Jeopardy Protocol (HTJP/1.0)(tools.ietf.org ↗)

1 points · by efokschaner · 7y ago · discuss