70 karma · joined August 23, 2023
I only got it right because I looked up the password on my Mac, whose keychain app displays them in gloriously readable monospaced font. FFS
All of this depends on having a sane email client though, doing it via outlook or gmail is a nightmare and I suspect this is the root of many people’s aversion to email.
I recently saw a lady try to make this point to them, only for the staff to keep repeating “but it sticks out”. In the end, the lady had to take the belt off her jacket and wrap it around the bag just to make the point. What a waste of time.
People who defend this airline “because it’s cheap” are just degrading themselves quite frankly. It’s awful and we shouldn’t be accepting of it.
It’s good to isolate your dependencies within the code :)
func Foo(r io.Reader) {
var m MyStruct
binary.Read(r, binary.LittleEndian, &m)
}
but we may be operating in different contexts where the underlying copy is or isn't a problem. That said, depending on the implementation of the reader passed in, the bytes might be being streamed from elsewhere, in which case the copying is minimised.You have to define the struct for sure, but beyond that you just pass it to binary.Read and it comes back with the fields populated. I don’t see how you’d avoid defining the struct.
The entire point of TFA is that there isn’t a simple mapping between flags of countries and languages so we should probably stop trying to create one.
> Back in my day we all had to use ASCII, etc etc.
And it turned out that this assumption was a bad one hence the need for Unicode. Why make the same mistake again?