Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sfink
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
66 ms
·
901.
▲
by
sfink
4y ago
The question was not about bottom vs top, iiuc. It was about having the tabs always visible vs behind a tab button. As far as I can see, there is no way of doing that. Not that I would want it, myself, since my current counter is 48 tabs an
902.
▲
by
sfink
4y ago
A load balancer is a compiler. Instruction scheduling and register allocation are probably the most similar tasks. An OS kernel is a database, or rather a DBMS. Query planning fits well. Arguably, a load balancer is a primitive query planne
903.
▲
by
sfink
4y ago
Sometimes making money off of something turns out to be incompatible with enjoyment, and you find out too late. Depends on the person, how slippery the slippery slope is, and the motivation for a particular project. I could ask myself "
904.
▲
by
sfink
4y ago
It's the JS `===` operator. The semantics are defined by JS. JS can use IEEE754 semantics for numeric `===` comparisons if it wants, but it'll be at a cost if there are other ways to distinguish the two. In this case, if you make
905.
▲
by
sfink
4y ago
Sadly, JS weirdness interferes with value semantics: > 0 === -0 true > #{v: 0} === #{v: -0} ???
906.
▲
by
sfink
4y ago
I believe this approach was proposed, but implementers pushed back because the initial interning is expensive and there are a lot of scenarios where it would never be used. You don't really expect creating a Point to do a hash lookup.
907.
▲
by
sfink
4y ago
Is the presence of Pocket pushing toxic politics, or is it the Mr. Robot extension? I understand that people have complaints and want to hang onto others' past mistakes, but I fail to see how either of those (Pocket&Robot) can be c
908.
▲
by
sfink
4y ago
sqlite> create table numbers (val int); sqlite> insert into numbers values (7); sqlite> insert into numbers values (8); sqlite> insert into numbers values (9); sqlite> insert into numbers values ("
909.
▲
by
sfink
4y ago
Yeah, I was thinking a linear graph with a scrollbar would emphasize the point a lot better, and then add a toggle for the log scale so you could actually see the data without scrolling. But then you'd need to explain why you're s
910.
▲
by
sfink
4y ago
This one really struck me too. I think of it from the point of view of the emitter, which is surrounded by a sphere of every final destination of a photon in every direction, with no distance in between. The photon itself, from its own pers
911.
▲
by
sfink
4y ago
I claim that an improved option 4 would be: parent { ...parent rules... } @nest { ...nested rules... } by analogy with `try { ... } catch { ... }` syntax. Looks a lot better than the line noise `} {` thing. An
912.
▲
by
sfink
4y ago
Whitelists/allowlists are tricky, because they create a bias towards existing, larger players. If you're creating some new gadget, you now have to convince the browser makers to allow it through. And the browser makers need to com
913.
▲
by
sfink
4y ago
Our current "AI" does only interpolation, not extrapolation. You feed it a large input corpus and it digests it in clever ways. Then when you probe for something contained wholly within the space described by that corpus, it is am
914.
▲
by
sfink
4y ago
Um, no. "Regular" extensions used XUL. XUL is mostly gone. "Regular" extensions worked by directly modifying the code that controlled the browser and content, sometimes by decompiling existing functions and patching them
915.
▲
by
sfink
4y ago
Ctrl-Tab shows them in recency order, which makes horizontal tabs survivable. (But yeah, I use TST too.)
916.
▲
by
sfink
4y ago
> This is a rather extreme position Only if you take a rather extreme interpretation of that position. For the sake of argument, assume that material possessions increase happiness (or decrease unhappiness) up to a certain point, then le
917.
▲
by
sfink
4y ago
First, it's a small percentage. Or believed to be a small percentage. There are some larger buckets (eg distributions that disable telemetry), but it's possible to do very rough estimates of the sizes of those through other means.
918.
▲
by
sfink
4y ago
(I work for Mozilla, though far from where decisions about telemetry would be made.) Usage times and intensity are of high value when trying to improve market share. People who barely use the browser are at high risk of stopping use altoget
919.
▲
by
sfink
4y ago
continued existence
920.
▲
by
sfink
4y ago
> I find the amount of data they collect[1] to be borderline creepy. What in that report is creepy? Surely knowing the percentage of people on 32- vs 64-bit isn't problematic. Maybe add-ons? I'm genuinely curious.
921.
▲
by
sfink
4y ago
That's not really how these things tend to go. More likely: you start out with a smallish company trying to compete with a behemoth. You do well for a while, but as soon as you become an active threat, you start hearing a lot of "
922.
▲
by
sfink
4y ago
> Why not just use mercurial if you want to use mercurial? Why invent this... monstrosity? But this is mercurial. Or rather, it's mercurial rebased on top of the git data store, and it's a fork with breaking changes so it has
923.
▲
by
sfink
4y ago
I want both. I want a stable ordering, which is roughly the order that I opened the tabs. And I want a recency ordering, to be able to quickly switch between the most recent handful of tabs I'm working with. Fortunately, I have exactly
924.
▲
by
sfink
4y ago
> Does the effect fall off with the square of the distance? Is it linear? Is there a threshold? You seem to want to treat it as some sort of physical field or force. IANAP (I am not a psychologist), but it seems fairly self-evident that
925.
▲
by
sfink
4y ago
Disagreeing with other answers here, but usually they will, and not because the authors tried to make it happen. It's just sort of the default behavior. A copying collector has to trace through the whole graph to find everything reacha
926.
▲
by
sfink
4y ago
Just describe your sorted list as "a balanced binary tree with implicit child links" and then you get credit for being fast, space-efficient, and using fancy data structure.
927.
▲
by
sfink
4y ago
I usually use doubling, but I just recently landed a patch to expand by a factor of 8 instead, which sped up a microbenchmark (of constructing a JSON string, fwiw) by 50%. Someone saw in a profile that we were spending a lot of time in real
928.
▲
by
sfink
4y ago
This appears to assume that there will be no intervening allocations that are allowed to use the same region of memory, since otherwise your "hole" will be very discontiguous. But if that is the case, then why are you releasing me
929.
▲
by
sfink
4y ago
> It also actively prevents heat from transferring into the sand So it's slower to charge. And the charge speed is presumably adjustable by circulating more air (or moving it through faster). It's unclear whether this is a prob
930.
▲
by
sfink
4y ago
I'm not really familiar with the space, but the article kind of suggests another reason I could imagine not supporting JPEG XL: if it has the long list of advantages described, then how much of a single thing is it? Do you have to impl
More ›