Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
bbatha
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
26 ms
·
331.
▲
by
bbatha
9y ago
Just crash it into the ocean, sea water is an excellent neutron moderator.
332.
▲
by
bbatha
9y ago
I don’t think your solution works. It will make sure the pointer is never null (assuming these back pointers are !Sync) sure, but rust guarantees far more that that. Each ownership type (value, &, &mut) is a capability, it very impo
333.
▲
by
bbatha
9y ago
That fixes all of my problems. Great work!
334.
▲
by
bbatha
9y ago
It’s not. But it’s not in the current tool. And as this article devoted a long section to why they’re not required for reproducibility I suspect the go team isn’t planning on added one. It’s especially important to give this feedback early
335.
▲
by
bbatha
9y ago
vgo will guarantee that you only receive a single resolved minor version for any given major of a package. Each major will be imported as a different name, e.g. `import “registry.io/my/pkg”` for v1, `import “registry.io/my&#
336.
▲
by
bbatha
9y ago
That’s untrue. You will only be able import the library once and that version will be common across your all of your dependencies. Only major version breaks change this equation, but as explained in the third article those imports will have
337.
▲
by
bbatha
9y ago
Vendoring is not supported by vgo so it’s not an issue
338.
▲
by
bbatha
9y ago
I still remain unconvinced at the lack of lockfiles. I’m in complete agreement with rsc the minimum version algorithm produces more reliable builds, ie version selection is deterministic. However, lockfiles do more than select versions dete
339.
▲
by
bbatha
9y ago
I like this quiet a lot, it fits very nicely in the go stack. Absent this article is a discussion of alternatives to renaming. Reading the article would hint that a semver major bump would just leave you high and dry! This is certainly true
340.
▲
by
bbatha
9y ago
`=` deps also are inherently incompatible with libraries, especially in languages like go where you can only have one version of a library in your dependency graph at a time. e.g. if my library depends on foo =0.4.1 and I try to bring in a
341.
▲
by
bbatha
9y ago
These issues all seem to be solved by lockfiles, which are a part of the dep tool. Why ditch them here? It seems like rsc seems to be hinting at an argument for simplicity. But the long history of package managers, and my anecdotal experien
342.
▲
by
bbatha
9y ago
Teams is a joke. It’s an alpha level product at best. At worst it’s black hole on the user voice forums for features that were in IRC and a constant memory leak. The vscode team needs to teach the teams team how to properly write an electro
343.
▲
by
bbatha
9y ago
Absolutely, but its arguably 10 years too late. Node has already eaten python's lunch in the server space. To get your existing python code working on async you may basically need a full rewrite including any libraries that you pulled
344.
▲
by
bbatha
9y ago
> The quoted argument that "easy to write but slow languages are better because programmer time is far more costly than CPU speed" was pretty common, and I honestly think correct, 10-15 years ago. But things have changed. I don
345.
▲
by
bbatha
9y ago
Rust’s wasm32-unknown-unknown target does not use emscripten at all. The tool cargo-web will handle the js module shims for you.
346.
▲
by
bbatha
9y ago
You also have to factor in familiarity, ie does it make sense for a dentist to pick up a new tool with slightly better outcomes if they’re going to make more mistakes while they learn on it?
347.
▲
by
bbatha
9y ago
Wouldn't you need to make `Foo` a union for this to be defined anyway?
348.
▲
by
bbatha
9y ago
Tea is also used in the same way in the West for example Rooibos, mint, and chamomile are all popular “herbal teas” that don’t contain any tea leaves.
349.
▲
by
bbatha
9y ago
If you’re blind you can also get free audio books from the library of congress[1]. The selection is more limited than audible and you need a special reader, but it is free. My father who’s blind uses both services actively. 1: https:/
350.
▲
by
bbatha
9y ago
Yes. What the statistic we're seeing here is that women who divorce their spouse are twice as likely to victims of domestic abuse. Is that really a stretch?
351.
▲
by
bbatha
9y ago
While I'm certain all sorts of shenanigans come out in divorce proceedings, > (indeed, in one state where I looked at the statistics in depth, as a man, you have a 12% chance of engaging in domestic violence, and a >25% chance of
352.
▲
by
bbatha
9y ago
For the average desktop or mobile app it’s rarely worth it to write in any language with manual memory management.
353.
▲
by
bbatha
9y ago
The former net neutrality laws did not apply to wireless. I personally believe they should but there is a strong technical argument why they shouldn’t, as presented here. Additionally there’s for more competition for wireless networks. Most
354.
▲
by
bbatha
9y ago
All of those things are possible consequences of repealing net neutrality. Simply net neutrality is your ISP ignoring the contents of your packets and simply routing them to their intended destination. Repealing net neutrality would allow I
355.
▲
by
bbatha
9y ago
Git commits are composed of all of the files in the commit, it’s parent and the commit message. This is an important guarantee that each checkout is valid without the rest of the repo. This allows you to have a lot of exotic implementations
356.
▲
by
bbatha
9y ago
> https://www.law.cornell.edu/constitution/tenth_amendment The internet is textbook interstate commerce, and therefore not subject to the 10th amendment. You're getting internet from an ISP who's likely he
357.
▲
by
bbatha
9y ago
One of the main things the British did was prevent the Qing government from taxing the product. We've seen with tobacco and alcohol that sin taxes can be very effective. You can also regulate marketing, which has also been effective wi
358.
▲
by
bbatha
9y ago
> The Chinese experience with Opium in the 1800's was terrible and very damaging to their society. To play devil's advocate, China had loads of Opium pumped in by the British to pay for their tea debts. The British countered an
359.
▲
by
bbatha
9y ago
> yelling fire in a theater This is not the current standard. You can yell fire in a crowded theater all you want (probably). We no longer use the "clear and present danger" standard, instead Brandenburg v. Ohio changed it to b
360.
▲
by
bbatha
9y ago
> That being said, 40 hours doesn't seem like an awful amount of time to sink into a game to unlock a character. Heck, I'm ashamed to talk about how many hours I've put into CS:GO, and it's only triple digits. Its not
More ›