HackerTrans
TopNewTrendsCommentsPastAskShowJobs

PopsiclePete

no profile record

comments

PopsiclePete
·7 lat temu·discuss
Look, there are core Go developers who admit that parametric polymorphism is a good idea. In fact, I'm not aware of anyone on the Go team arguing against that. Which is what you mean by "generics", right? In fact Go already has "generics" - maps, slices, channels. Are those "slow" in your opinion?

The only thing left to do is to propose a system that has reasonable trade-offs, doesn't suck, and doesn't completely break the existing language. Easy peasy!

I wonder who is doing Go more a disservice - people who hate everything about, or the blind fanatical devotees who think any criticism towards any aspect of Go is heretical.
PopsiclePete
·8 lat temu·discuss
Ah yes that. That’s an (old) bug about how logind interacts with gdm. A quick workaround is ctrl-alt-fn-F1 to force the screen to lock itself. Makes the flicker go away.
PopsiclePete
·8 lat temu·discuss
Linux is just consistent. When it works, it works. When it doesn't - god help you.

There's no rhyme or reason.

Sometimes, my wifi is broken. On a different distro, it's not. Right now, under Ubuntu 18.10, my suspend from resume is broken - it wasn't on 18.04.

I have the official Linux laptop, basically - a Dell XPS 9350, all 100% Intel hardware, no binary blobs.
PopsiclePete
·8 lat temu·discuss
what works for me

1. brew install pyenv 2. pyenv install 2.7.x 3. pyenv install 3.x 4. cd work; pyenv local 3.7.x (by default, all projects under "work" will use 3.x) 5. cd work/legacy; pyenv local 2.7.x (but this one will be on 2.x)

then for each project, I'll create a separate virtual environment.

For various reasons, I have about 6 separate python versions and a dozen or so mini projects all working flawlessly as separate virtual environments created under separate versions managed by pyenv, and I always have the latest pyenv thanks to brew.
PopsiclePete
·8 lat temu·discuss
Eastern European and Western European countries' past history and experience is very different from one another. And events that happened 600 years ago influence that world-view to this day.

The way an "enlightened" Frenchman or Italian might view Turkey is very, very different from how a Bulgarian (such as myself) or Serb would view them. As to who's more "correct" in their view, well - that's a whole different subject.

These are complex issues and calling Hungary a bunch of racist twats is exactly the same as what Hungarians are doing to "refugees", who, interestingly enough, are disproportionately young men, in good physical condition, running away from countries that are not Syria or otherwise in a state of war. Some of the photographs I've seen of the border crossing show a distinct and very noticeable lack of women and children. And that in itself is also a very interesting subject we could debate for hours.
PopsiclePete
·9 lat temu·discuss
Heh. I was reading about the origins of Golang and how Rob Pike and Robert Griesemer were waiting 3 hours or something for a C++ build to finish. And with that much time available - might as well make a brand new language that has compilation speed as a first-class feature.

Are we doing it wrong? In the case of C++ - yes, absolutely, 100% certainly, wrong. I'm not suggesting that Chrome would be better off under Golang - I'm just saddened that 30 years after the C++ abomination was born in Stroustrup's head, nothing else has come out to challenge it.

Maybe Rust?