74810b012346c9a6_old

@orionwl
592 Followers
586 Following
550 Posts
🐡🐙🏴🌑 [old account, please follow @orionwl instead]
[periodic reminder that this account moved → @orionwl ]
THIS ACCOUNT HAS MOVED
I'm leaving mastodon.social
if you want, follow me on my new instance: @orionwl
THIS ACCOUNT HAS MOVED
I'm leaving mastodon.social
if you want, follow me on my new instance: @orionwl
At 128 days without any response on my US visa application, a Department of Homeland Security IT guy emails me for private curl support... The irony is not lost on me.

@orionwl looks like it works, thanks everyone that helped testing

I hate moving, but I guess it's time to start how to figure out how to move my followers and such

@[email protected] yes, basically that, it's what reminded me of your java example

@[email protected] variant types are sum types IIRC
as for methods, for example:

enum ColorPair {
DEFAULT = 1,
PLAYER,
...
}
impl ColorPair {
pub fn attr(&self) -> u64 {
COLOR_PAIR((*self) as i16)
}
}

then one can call .attr() on instances of ColorPair

have been toying with setting up my own mastodon instance, don't know if this works already: @orionwl
@[email protected] I really like rusts' enum types, which are essentially sum types, and one can also add methods on them
@surfrndk @alrs I came to Silicon Valley in '93, worked at companies that helped build out the Internet infrastructure. Those were heady days, for sure. It's a good thing Silicon Valley got its name back then; today it would have been called "JavaScript Alley" 😂