Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
onei
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
26 ms
·
241.
▲
by
onei
7y ago
Sure there will. I doubt many people would use SVN for a new project, but plenty of old projects still use them. It's not always simple to migrate SVN to Git especially if you want to maintain the history.
242.
▲
by
onei
7y ago
I guess you could make the case that windows is written in C++, which is a superset of C which was designed while writing UNIX. Sure the OS is different, but it ended up being built from the same blocks. If we didn't have C, would we h
243.
▲
by
onei
7y ago
I get that a formatter should reject syntactically incorrect code, but I question why it's syntax error in the first place. Coming from using black with python, I generally leave the trailing comma there but for the compiler to care se
244.
▲
by
onei
7y ago
I've seen go code fail to compile because a closing } was on the next line and there wasn't a trailing comma. I'd fully expect a formatter to handle that kind of minutiae for me.
245.
▲
by
onei
7y ago
Maybe it works in your english codebase, but I'd be very hesitant about rolling it out everywhere. For example, Perl 6 supports unicode in identifiers so it's perfectly valid to write your code in Japanese. Another increasingly co
246.
▲
by
onei
7y ago
I never actually read the whole story behind this. To me, it looks like the original author of leftpad was in the right - radically changing a package can break someone's build. Maybe he went a bit too far with his next action, but if
247.
▲
by
onei
7y ago
I was curious as well. Especially as I thought they'd been allocated the .amazon TLD.
248.
▲
by
onei
7y ago
Out of curiosity, what sort of topics require months of years of explanation? I find that most complex topics can be broken down to a point where an average adult could digest them if they're interested enough in learning them. I would
249.
▲
by
onei
7y ago
I would naturally pair loops with iterables, such as lists, particularly in python. I wondered if it was more to do with learning to structure code before structuring data. Personally, I'd be inclined to teach basic types and control f
250.
▲
by
onei
7y ago
If you want to convert it to an object, have you tried using dataclasses? I haven't used them much, but last time I tried them they felt much easier than trying to use the native dict/list/str/int/etc. that gets ret
251.
▲
by
onei
7y ago
The Rust developers are working hard to ensure that no breaking changes ever appear in the language. As such old code would always be compilable, even if there's better ways to do it with modern features. Rust learns the lessons that o
252.
▲
by
onei
7y ago
Ah, that makes more sense. I was imagining it as a routing thing rather than caching the packages.
253.
▲
by
onei
7y ago
Why do you need a proxy to fetch the modules in the first place? It seems a little odd for a package manager.
254.
▲
by
onei
7y ago
If I recall, ULTRA played a non-trivial part in the Dunkirk landings by checking what the Nazis actually knew. Without that intelligence, it may not have succeeded and things could indeed look very different today. Moving on from that, one
255.
▲
by
onei
7y ago
They have been for years. The issue is that they're tables, and often nested tables (there's nothing to prevent how nested afaik) which don't render that well on the mobile UI. Rather than figure out how to render them or com
256.
▲
by
onei
7y ago
As a Brit, I'd say roughly half of those examples are accurate (and things I'd likely say). However, after a point some of them are things that give others license to misinterpret. If you're wanting to call someone insane, I
257.
▲
by
onei
7y ago
I'd swap impossible with awkward or unweildy. Things like generators (might be in more recent versions of Java), list comprehensions and duck typing make Java feel clumsy and slow by comparison. You can replicate them, but I'd giv
258.
▲
by
onei
7y ago
For writing complete programs I'd be inclined to agree that Rust could do pretty much everything Go could do. However, I'd be inclined to say the reverse is not always true although in the vast majority of circumstances it will be
259.
▲
by
onei
7y ago
After using Rust for about a year on the side, I get the feeling that it's not quite mature enough yet in some places. On the other hand, I also get the feeling that the development of the language itself has been measured and careful
260.
▲
by
onei
7y ago
I absolutely agree that if someone was as abrasive and toxic as has been suggested then they should have been dealt with long ago. However, if Wikimedia feel that the community has failed to do so, then why not seek to address that failing
261.
▲
by
onei
7y ago
From reading the article, the bans handed out by the Foundation appear to have been permanent and targeted at less high-profile members of the community. It also suggests that the bans were targeted at obviously illegal activities, e.g. chi
262.
▲
by
onei
7y ago
Seances and faeries strike me as improbable rather than impossible.
263.
▲
by
onei
7y ago
I wonder if it was more of a cultural issue. The article states that civil servants were difficult to fire, implying you could expect to have a job for life. Conversely, private sector jobs had some severance pay which could bridge the gap
264.
▲
by
onei
7y ago
Sometimes you can't see the wood for the trees. I once spent more time than I want to admit trying to fix a broken import in python that I knew existed but wouldn't import. The morning after I realised I was trying to import "
265.
▲
by
onei
7y ago
I guess this is a thinly veiled attack on China, but I'm a bit confused why there's a feud between the US and China in the first place. Perhaps my ignorance is down to being British and a bit out of the loop, but could someone giv
266.
▲
by
onei
7y ago
Just to play devil's advocate, do you have any citations for that statement?
267.
▲
by
onei
7y ago
I think "http only" is a bit misleading given [1], but I'm no expert. In essence, apt doesn't use HTTPS because it provides limited value for a package manager. However see the link for a more comprehensive explanation.