giovannibajo1 | 7 years ago | on: Coroutines in C (2000)
giovannibajo1's comments
giovannibajo1 | 7 years ago | on: Modern LZ Compression
giovannibajo1 | 7 years ago | on: Remote code execution vulnerability in apt/apt-get
giovannibajo1 | 7 years ago | on: Goboy: Multi-Platform Nintendo Game Boy Color Emulator Written in Go
giovannibajo1 | 7 years ago | on: Ditching the MacBook Pro for a MacBook Air
giovannibajo1 | 7 years ago | on: Design choices of the Go garabage collector
giovannibajo1 | 7 years ago | on: GoogleMeetRoulette: Joining random meetings
giovannibajo1 | 7 years ago | on: Bloated
We really need to split the web stack in two somehow, differentiate consumption sites with some basic interaction from full blown applications, handle them completely separately down to the operating system integration level. Right now a web application like Facebook runs in a tab (?) or worse is shipped with a whole browser instance (eg Slack). That’s something wrong here.
A Google-AMP like version of the web for things that are not GMail or Facebook (99% of the web, especially in the long tail) is probably good enough.
giovannibajo1 | 7 years ago | on: Bloated
Unfortunately Google has bound it to other questionable practices like hosting on their domain, but it’s still a step on the right direction. We need something like that plus a way to cache it on the edge servers in a portable fashion so that any CDN like Cloudflare could pick them up.
giovannibajo1 | 7 years ago | on: Killing processes that don't want to die
giovannibajo1 | 7 years ago | on: Why I never finish my Haskell programs (part 2)
To me, it’s fun to achieve a goal — programming to solve a real problem, implementing something that I can use or others can. It’s super fun when my program works, has no bugs, it’s cute and nice.
To others, the act itself of programming is funnier than actually doing something useful, so that you can deep dive into the best way of programming without actually doing something useful if not a program complex enough to use whatever programming feature you want to have meta-fun with.
giovannibajo1 | 7 years ago | on: Notes on the Go2 Generics Draft
I think it’s disingenuous to reduce Go success to some Google marketing operation. I dislike Google as a brand in the way they design products and their weak privacy stance, but I love Go nonetheless.
giovannibajo1 | 7 years ago | on: On the Worst-Case Complexity of TimSort
For instance, timsort is also very fast if only a single element is unsorted, or only two elements, or only three elements. These are not special cases explicitly handled, its just the natural way the algorithm works.
giovannibajo1 | 7 years ago | on: Go 2 Draft Designs
giovannibajo1 | 7 years ago | on: Go 1.11 and Beyond
giovannibajo1 | 7 years ago | on: Italy’s famous dome is cracking, and muon imaging may help
At the same time, weather in August is better than July and June on average — you usually get some storms and thus some relief from hot. But yes, it’s still hottish but that’s Italy.
It’s true that the best seasons would be Spring and Fall. But you get many many more tourists, longer queues, and much higher prices for hotels. So YMMV.
giovannibajo1 | 7 years ago | on: Apple and Google Face Growing Revolt Over App Store ‘Tax’
What is more unfair is that Apple forbids apps to open/link websites where subscriptions can be done to “workaround” the iTunes subscription. If you take Spotify for instance and login as free user, there are absolutely zero mentions that you can upgrade to premium, because they decided to lose those potential customers and rather let them know through other channels of their purchasing options (eg: emails).
On the other hand, this creates a very safe and simple environment for iPhone users. Absolutely NO app asks for a credit card, ever. You either pay one-click safely through iTunes, or nothing. There is no phishing, no mismanaged credit card handling, no credit cards “stolen by hackers from the app I installed into my iPhone”. I’m not saying this fully justifies the above unfair rule, but it’s at least a partial positive side effect.
giovannibajo1 | 7 years ago | on: What else is in Go 1.11?
Rust has a half backed support for default initialization, where you can either mark all fields as default initialized via a macro or none (or you can mark them and add a constructor that only changes some, but then the API is confusing for clients unless default initialization is a valid construction). This means that it’s much more common to write constructors, and being forced to set many fields to 0, empty string, None, ecc. is tedious and factually useless; the provide support (Default macro) is not powerful enough to avoid this, unfortunately.
I strongly prefer Go’s approach to default initialization in general, and I think it is orthogonal to non-nullable types (you could have both and save the day). For instance, I don’t see what we lose in Rust by saying that integers auto-initialize to zero unless you name them in the constructor.
giovannibajo1 | 7 years ago | on: Google has plans to deprecate cookies over http
I’m not familiar with their workflow but it looks like something that the development team is considering, not random babbling from a random employee.
giovannibajo1 | 7 years ago | on: Faxploit: Sending Fax Back to the Dark Ages