Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
wging
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
121.
▲
by
wging
2y ago
The quote is followed immediately by this: "It extends naturally to equations with coefficients *in any field*, but this will not be considered in the simple examples below." Emphasis on 'in any field' is mine. Among the
122.
▲
by
wging
2y ago
Do you know how Dieudonné answered?
123.
▲
by
wging
2y ago
Really does appear to be memory-holed, rather than just having moved. Not a good look. https://www.google.com/search?q=site%3Acockroachlabs.com+"Co... ."
124.
▲
by
wging
2y ago
Firefox has a decent task manager view that I use to identify rogue tabs like that. Shift+Esc -> sort tabs by CPU usage (it lives at the URL about:processes and can be found under 'More tools' -> 'Task manager' too
125.
▲
by
wging
2y ago
It's been a while for me too, but I think I recall common advice to use java.net.URI instead of java.net.URL wherever possible, at least partly for that reason. Also, the javadocs of URL now state: "The java.net.URL constructors a
126.
▲
by
wging
2y ago
That isn't an implementation of addition between Spans and other Spans. It looks like there isn't one in the library right now. `impl<'a> Add<Span> for &'a Zoned` means a borrow of Zoned is on the left ha
127.
▲
by
wging
2y ago
https://docs.oracle.com/en/java/javase/21/docs/api/java.base... is probably a better link (though it's not that different)
128.
▲
by
wging
2y ago
You could also think of it as declining to _lose_ a decimal place; a.add(b) ought to be the same as b.add(a), so there's no reason to prefer a's precision to b. You need to take the higher precision of the two for an exact result
129.
▲
by
wging
2y ago
Maybe GP was thinking of the optional rounding modes? With plain old add(), you get a BigDecimal 0.05 with scale 2 in both cases and the two examples are equal according to the equals() method. var a = new BigDecimal("0.0");
130.
▲
by
wging
2y ago
Fun(?) fact: it's not technically true that const can't be used in for loops: for (const i = 0; i > 0; ) { console.log('this is stupid'); } let ran = false; for (const i = 0; !ran; ran = t
131.
▲
by
wging
2y ago
'var' is JavaScript's older variable declaration construct. Variables created this way are live from the beginning of the function that contains them (or globally if there isn't one). So a block with braces (such as you&
132.
▲
by
wging
2y ago
It's not covered extensively in the article, but it was alluded to at one point via the phrase "pissed them off with anti-privacy decisions". (In context, 'them' refers to the engineering side of Triplebyte's u
133.
▲
by
wging
2y ago
Right, what I meant is that if Google used Elixir internally they'd likely also provide an officially supported Elixir client.
134.
▲
by
wging
2y ago
The world seems full of APIs that make it easy to avoid global state. Most of my usage of randomness has been through things like rust's rand::thread_rng or Java's ThreadLocalRandom. (In fact I think even java.util.Random uses its
135.
▲
by
wging
2y ago
That's a distributed system in the sense he's referring to.
136.
▲
by
wging
2y ago
The vertical scrolling has the advantage that when you are watching a build go, and you see a certain step's taking a long time, it doesn't ever disappear from the terminal completely. You don't need to look through dependenc
137.
▲
by
wging
2y ago
My impression is that there are (possibly underenforced) US laws that mandate a certain amount of accessibility - the ADA and possibly others. (I'm 100% not a lawyer, this is not legal advice.) At a previous job, that was the justifica
138.
▲
by
wging
2y ago
You're thinking of Sandi Metz: https://sandimetz.com/blog/2016/1/20/the-wrong-abstraction
139.
▲
by
wging
2y ago
I don't think this leak shows that they use Elixir. It's open-source code that Google customers are supposed to be able to use to interact with Google APIs. It's natural to provide support for your customers to use the lang
140.
▲
by
wging
2y ago
Agreed. “Do the simplest thing that could possibly work” has sometimes been good advice for me, even if that simple thing is unsuitable at scale, not production-ready, etc. There are problems for which that solution is a stone’s throw from
141.
▲
by
wging
2y ago
The way I typically handle that is via native terminal-app tabbing. Tab 1: local tmux session, tab 2: remote tmux session. (My normal workflow doesn't go beyond 2 systems, 3 in an edge case.) You don't need much support from the t
142.
▲
by
wging
2y ago
Perhaps now, but the story is about Yahoo, which means it could be from the early 2000s or late 90s. Traffic volumes were probably lower, computers were definitely slower, internet advertising was not as big as it is now, etc.
143.
▲
by
wging
3y ago
I’ve used a Kindle since 2012 and I don’t think I have ever seen that kind of dictionary issue. On my Kindle, even though text highlighting behaves as you describe, dictionary lookups still work because punctuation is stripped before search
144.
▲
by
wging
3y ago
The actual argument is a bit simpler than implied by the quote's use of the terms 'monodromy', 'solvable subgroup', etc. Here's an explanation of Arnold's proof that doesn't use those words at all, an
145.
▲
by
wging
3y ago
If anyone is wondering, you can turn off combat if you want to experience the same low-stress building experience. I think I'd recommend that for a new player, there's a lot to figure out and enjoy even without gradually increasin
146.
▲
by
wging
3y ago
The comment in question appears in incognito mode. I don't think they're banned.
147.
▲
by
wging
3y ago
Not all of them. This problem isn’t an artifact of remote work or even geographically distributed teams. You might just call someone from your desk and comfortable setup, instead of walking up a flight of stairs. Or you might be in a differ
148.
▲
How to read from a TCP socket (but were too afraid to ask)
(incoherency.co.uk)
7 points
by
wging
3y ago
|
1 comments
149.
▲
by
wging
3y ago
It's Go. The description fits well, and it's pretty much confirmed by the Rob Pike quote in the sidebar. https://www.youtube.com/watch?v=uwajp0g-bY4
150.
▲
by
wging
3y ago
“DRM” means “digital rights management” in this context; it has little to do with the choice of AC or DC power. What acronym did you interpret it as?
More ›