HNHacker News
TopNewBestAskShowJobs

saturn_vk

294 karma · joined September 1, 2015

submissionscomments
saturn_vk··on New in Go 1.20: wrapping multiple errors
> (1st month, 2nd day, 3rd hour, 4th minute, 5th second, 6-th year, 7th timezone)

Who was the bright spark that decided they the month of all things should go in first? This format makes almost as much sense as Sunday being the first day of the week

saturn_vk··on EVs are the least reliable vehicle type: Consumer Reports
> E.g. Adjusting mirrors takes 3 menu clicks, don't even think of doing it while driving.

20 years ago I was taught that mirrors should have already been adjusted by the time you turn the key. Has this changed? Why would you ever need to adjust the mirrors while driving?

> it clears all your other settings and goes to "auto",

No it doesn't

> Seat warmer? 2+ clicks on center console

It's over click. It's still awful because you have to look at the screen, but it's still only 1 click. There is no reason to lie, it's still terrible.

> Map? You're practically looking at the passenger glove box to see it.

Unless you display is overlapping the glove box somehow, this is not the case.

saturn_vk··on You don’t understand how bad it could get in Europe this year
I'm curious, are such comments being paid by the number, or article? And is the payment in rubles or some other currency?
saturn_vk··on Go Developer Survey 2022 Q2 Results
What gopath?
saturn_vk··on Gimp development release 2.99.12 includes initial CMYK support
You are forgetting a very important step. You need to get the source by cloning with git
saturn_vk··on French Nuclear Outages Risk Making Europe’s Gas Crisis Worse
Your #3 link seems to be talking about a market, not a maternity ward. Did you give a wrong link by mistake?
saturn_vk··on Why I Don't Like Golang (2016)
Doesn't the official language server have support for this?
saturn_vk··on Sick of Windows but can't afford a Mac? The cynic's guide to desktop Linux
I have a similar experience. Had a Mac from my previous job. I insisted on a Linux laptop when I switched because I just couldn't use macos as effectively as my personal Linux laptop. I didn't find the hardware all that special either
saturn_vk··on Go: Functional Options Are Slow
Indeed, but you should probably do that right before looping
saturn_vk··on My real life use-case for generics in Go: API for client-side pagination
I always assumed most people were against it afraid of generics because they only had experience with dynamic typed languages and heard someone complain about c++ templates that one time.
saturn_vk··on Paris suspends electric bus fleet after two fires
Trolleybus routes require additional costs for maintenance. This might be significant
saturn_vk··on Why LSP?
By this definition neovim is an ide just because it has native support for treesitter. Yet I don't think it is one
saturn_vk··on Go Chainable: .map().filter().reduce() in Go
> The documentation[0] actually recommends that you copy-paste your entire codebase into a separate v2/ subdirectory and then maintain that.

That's not the documentation though. Just a blog post. The documentation [0] recommends a branch be created. Creating a directory is not even mentioned.

[0] https://go.dev/doc/modules/major-version

saturn_vk··on Go Chainable: .map().filter().reduce() in Go
I agree, the current implementation is really not sufficient, at least for this. I played around with lazy iteration a while back and found the current restrictions would make working with it an annoyance.

I've placed some thoughts in the Readme [1] so I don't forget. Hopefully at least some of the restrictions will be dropped.

1: https://github.com/urandom/iter

saturn_vk··on How generics are implemented in Go 1.18
This has never been the case, and stating it as a fact is a big lie
saturn_vk··on How generics are implemented in Go 1.18
That's OK. But saying it isn't good as a fact is a bit misleading. If it wasn't any good, it would not be used and would've faded to obscurity a long time ago. That is not the case, so there must be some redeeming qualities to is
saturn_vk··on Dependency injection in Go with Uber-go/fx
I think you are confusing dependency injecting with frameworks that facilitate it. You are probably using the former with constructors
saturn_vk··on A new wave of Linux applications
You can also use the scroll wheel of the mouse just fine, or the TouchPad scroll gesture. I don't even remember that the scrollbars are invisible anymore
saturn_vk··on A new wave of Linux applications
I think you can drag almost anything on the header bar without activating it
saturn_vk··on 1Password for SSH and Git (Beta)
Isn't storing passwords island 2fa in the same place a bad idea?
saturn_vk··on Large-scale, semi-automated Go GC tuning
There's always a tradeoff. Perhaps it would decrease development speed, or maybe introduce memory leaks?
saturn_vk··on Go 1.18 Beta 1 is available, with generics
If the repo was used at least once, it will be cached by the default proxy. At that point, deleting it will have no effect on builds
saturn_vk··on ‘Rust’ crew describes on-set gun safety issues and misfires days before shooting
I don't think there are ever any live rounds on set
saturn_vk··on Effective Go
It looks like a subdirectory is obit recommended if you want to support get old versions of the toolchain. Using branches or tags is probably the way to go these days
saturn_vk··on Go 1.17 Release Notes
Funny, I've only ever used vim for go projects big and small, and the experience was excellent

Wouldn't any visibility change require a large diff in all languages?

saturn_vk··on KDE Plasma Mobile 21.07
An "app drawer" is going to look extremely weird, with every entry starting with a "K"
saturn_vk··on I loved jQuery, and still do (2019)
I recall an earlier discussion on here stating that using CDN nowadays doesn't have any gains, only drawbacks.
saturn_vk··on Down the Golang Nil Rabbit Hole
This is just hypothetical, but the go statement could be an expression that returns a cancel function. From there, the sky is the limit. And in the other side, have a runtime.Done function that returns a channel that will need closed when the said cancel function is called. There are a bunch of other runtime functions that are goroutine specific already, so there is precedent
saturn_vk··on Down the Golang Nil Rabbit Hole
I find that would be a bit pointless. Unless you can actually recover from that, it's better to just panic, since you clearly don't want a nil receiver
saturn_vk··on Down the Golang Nil Rabbit Hole
They weren't wrong. You might as well start an entirely new language for that change, even though it looks so small.
← PreviousPage 4 of 7Next →