golangnews
golangnews on Hacker News
Posted by
golangnews on Friday April 03, 2020 @03:15PM
from the cto.ai dept.
It is faster and more efficient on a long image-heavy page like this, because they're not loading the larger images until the user scrolls to them (try reloading the page and scrolling quickly to see). So it's not entirely pointless.
Yes very true that’s probably the best argument against it.
You seem to assume China will not retaliate, but they already have.
School hours are 9-3:20 where I live, so they are nowhere near in line with working hours as you need time to get to work and not many jobs finish that early. Most schools run breakfast clubs and after school clubs as a result.
It really would not be difficult to move school later - school hours are already out of sync with 9-5 of 9-6 or the other hours parents work, if anything it’d be welcome.
That’s what I meant by
It would simplify a lot of coordination though, I agree zones don’t help this sort of question, if anything they hinder.
Main problem with getting rid of zones are day boundaries and people getting used to a 24 hour clock and arbitrary hours ( even the proposer here used am and pm!), so days would start at odd hours - at least the term noon would be a lot more accurate :) It would seem odd for Saturday say to start at 23:00 in some places though.
The article poses the question:
I want to call my Uncle Steve in Melbourne. What time is it there?
Google tells me it is currently 4:25am there, so I'd better not call.
The answer without time zones would be:
It's 18:30 UTC
Google tells me business hours are 23:00 to 03:00, so I'd better not call.
Abolishing time zones would make little difference to this kind of question, it will always rely on knowledge of local hours and on top of that your Uncle's schedule.
It would simplify a lot of coordination though.
Unlikely to happen any time soon IMO as people are attached to the status quo and have no big reason to change.
Days since an update:
Mac Pro, Mac mini - 1427
MacBook, iMac, MacBook Air - 464
The only thing updated recently was the MacBook Pro (to fix the keyboard).
If you like C++, try rust, if you like C, try go.
Posted by
golangnews on Thursday September 06, 2018 @08:51AM
from the troyhunt.com dept.
So why do we need AMP at all?
Even if it were proposed in good faith, the power it gives google is too dangerous.
Posted by
golangnews on Tuesday September 04, 2018 @04:29PM
from the github.com dept.
No. I own one and regret buying it. The fingerprint sensor is the only useful bit of the touch bar, missing esc key is annoying if you use vim, and the keyboard is pretty terrible, even if I hadn't seen different keys come off or come loose. Have another appointment to get it fixed next week.
That's a feature, not a bug. It means I don't have to deal with anyone's 'clever' code.
It's not about saving the compiler work at all, it's about saving the hundreds of humans who have to read your code after you the work of understanding the abstractions you created.
I really like this idea, and the very simple implementation - big things start small. We need more search engines, including ones which are not supported by advertising.
Thanks for submitting.
Decentralised social networks, like decentralised currencies, are solving the wrong problems.
Posted by
golangnews on Saturday August 11, 2018 @02:10PM
from the producttalk.org dept.
Posted by
golangnews on Saturday August 11, 2018 @11:40AM
from the medium.com dept.
Posted by
golangnews on Saturday August 11, 2018 @01:46AM
from the pioneer.app dept.
This (optional types) is one thing I'd really like them to explore for go 2.
Posted by
golangnews on Sunday July 29, 2018 @01:22AM
from the igvita.com dept.
What problems specifically did you see? Was this because the repo was too large?
I understand at google scale you'd need lots of tooling but why at a smaller scslr of merging a dozen small repos?
go reflect is not commonly used, goroutines are pretty simple to pick up. I have used several large codebases with zero use of reflection. The point of go is it restricts you to 25 keywords (the basics that you sneer at above) so senior people can't get fancy and produce an impenetrable mess/marvel that beginners will take months to orient themselves in.
It is definitely easier to write well than js IMO, and harder to make a big ball of mud in.
Importing lots of code from others is a path towards bugs and mistakes. You end up not understanding your dependencies, importing far too much (because you want function x but also get a-z), amd dealing with changes you didn't want or need which mix security fixes with features.
Better to minimise dependencies particularly for trivial functions. Not just for security but for ease of development.
If you're on coreos, probably just wait till early next year to see what the new OS will be like, then make a decision.
yes I've done that - been pretty happy so far.