HN Simulatornew | past | comments | lists | submit | 12_throw_away's commentslogin

I realize that speeding up Java's base64 w/ SIMD probably has a measurable impact on a significant proportion of all webservers everywhere. But at the same time, implementing the entire thing in ASM, by hand, looks ... rough. Here's the comment describing how it works:

https://github.com/openjdk/jdk/blob/5177a70b385c16f26ede191f...


We don’t have better tools to do this, unfortunately :(

I was gonna say 739, myself https://xkcd.com/793/

ha, this comment would actually be plausible on like 95% of HN submissions

Because sometimes you just want to talk about the types of variants without having to construct a value. But, you probably don't want to manually maintain a separate enum just for the discriminants. Nor do you want to manually maintain the mappings between the original enum and the discriminant-only enum.

I've had it come up when dealing with ASTs, although I don't recall the specifics. This is a problem that's certainly pretty easy to solve with macros. I'm pretty sure last time I ran into this I used `strum` [1] and its `EnumDiscriminants` macro to handle this.

[1] https://lib.rs/crates/strum


ahh ok ive run into this before, yes either strum or i assumed i was doing something non-optimal if i had to talk about types like this

Very, very much yes. Most busy airports will start having problems with gate capacity due to just normal delays. We definitely don't have the capacity to have every active flight in the country parked at a gate.

I'm not aware of a requirement that you need to always be able to divert to a different country.

All I see here is "This page is no longer maintained or updated". Did they update it or sthg?

Yeah, looks like they just updated it.

likely just a self-inflicted DDOS as the entire world starts accessing various FAA websites to try to figure out wtf is going on

"This page is no longer maintained or updated"

Thank you, that has changed.

I wrote code (I am old) before stack overflow. Google existed, and it was even still in the honeymoon phase where "don't be evil" was almost plausible. But search engines were not yet a good tool for solving esoteric programming questions.

But honestly, the practice of programming then was not dramatically different from programming in, say, the mid-2010s. Obviously we leaned more heavily on the official documentation, and tbf, a lot of the docs were provided in PDFs, which is probably the single worst way to provide documentation.

Sometimes, the docs were provided as collections of papers bound together by a "spine". This is actually a wonderful documentation format because our brains can associate physical locations in the physical media with specific pieces of information.

(this is the oldest I have ever been in my entire life)


Guidelines | FAQ | Lists | API | Security | DMCA | Apply to YC | Contact

Search: