Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pushrax
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
121.
▲
by
pushrax
6y ago
Once you are implementing your own allocator you need to worry about fragmentation under many operations, which would be the majority of the complexity.
122.
▲
by
pushrax
6y ago
Doesn’t this depend on the size of each element? What if each element is 1 MiB?
123.
▲
by
pushrax
6y ago
If your primary operation is inserting at a random location in the list, linked lists are faster than arrays at large sizes. You avoid having to move all the memory after the index you are modifying (to make space for the inserted element).
124.
▲
by
pushrax
6y ago
Expanding on this: usually linked lists allocate each element with a separate malloc() on the heap, so they end up all over the place in memory. You could, in principle, allocate your linked list out of contiguous memory in such a way that
125.
▲
by
pushrax
6y ago
Do they analyze the noise floor or something? I guess you'd have to defeat that with a noise gate.
126.
▲
by
pushrax
6y ago
Just mute your mic in hardware?
127.
▲
by
pushrax
6y ago
A few signs: - taking a while to make an obvious move, especially in the endgame, where there might actually be only one move that makes any sense to make - taking a very consistent amount of time between moves - shuffling pieces around in
128.
▲
by
pushrax
6y ago
I think most people who actually want to cheat regularly on online chess also lack the skills to set up a highly effective and stealthy way to do so. There are a lot of obvious cheaters that you can catch by looking at move times.
129.
▲
by
pushrax
6y ago
A woodworker would have more off the shelf tools if they were equivalently cheap/good/fast/efficient as a custom tool. Physical objects can’t be so freely copied as a software library. I do agree fully that programmers should
130.
▲
by
pushrax
6y ago
An average engineer in any field probably has developed enough systems thinking to reason a great deal about the variation of wheels across applications.
131.
▲
by
pushrax
6y ago
Or a typical writable database. Resharding data may not be feasible at all during a high load event.
132.
▲
by
pushrax
6y ago
Vanity (in my experience). Though I don't know why web server logs aren't enough for that. Engagement duration tracking is probably the most important thing client-side analytics brings for a site that's trying to make money,
133.
▲
by
pushrax
6y ago
I always viewed AMP as being primarily for Google’s data collection interests, not primarily lock-in.
134.
▲
by
pushrax
6y ago
Gatekeeper-by-default is sensible IMO. I've seen how some people interact with these devices, and how easily malware gets on a computer. As long as the walled garden can be easily circumvented, advanced users can do what they wish. &qu
135.
▲
by
pushrax
6y ago
The fact that this slows down devices boils down to a rushed or simply incompetent implementation. It's sensible to require waiting for a certificate check the first time an app is launched, but after that, the cache validity should be
136.
▲
by
pushrax
6y ago
Your interpretation is normal in Canada too.
137.
▲
by
pushrax
6y ago
Downvotes on this comment are probably missing the point (as I see it), which is that redirect/browser/other HTTP hijacking malware is pretty common and could cause something weird like this.
138.
▲
by
pushrax
6y ago
It may simply be that their obfuscation process removes those files and adds GHE-specific files, and none of it ran.
139.
▲
by
pushrax
6y ago
You don't need structure for secure control though, as long as the control channel is isolated. It's easier to make an insecure program when dealing with loosely described text streams, but it's by no means inevitable.
140.
▲
by
pushrax
6y ago
That makes sense. Though it seems like it should be inconsistent with "if the loan defaults, it's the partner bank's problem, not Ant's."
141.
▲
by
pushrax
6y ago
I'm not saying to follow a purely incremental optimization path, leading to local maxima. Thinking outside the box is clearly important for generating new ideas to test. We're not done until we run out of things to perfectly predi
142.
▲
by
pushrax
6y ago
If the loan is actually written by another bank, why is there any requirement on Ant? Though my position is that 30% capitalization is actually reasonable and that our current collective level of leverage is unnecessarily unstable.
143.
▲
by
pushrax
6y ago
My take on science is defined by the scientific method: - we want to be able to understand and predict things - we can come up with various explanations that might be able to do this - if our explanation fails to predict an observation, it
144.
▲
by
pushrax
6y ago
I agree, if anything the eventual goal should be to invert it. In applications I work on right now, trace tags contain the richest and best-described request metadata. Tags are indexed differently depending on their cardinality, and there i
145.
▲
by
pushrax
6y ago
It previously returned an XSS test payload https://pbs.twimg.com/media/ElAYZTcX0AEyFUY?format=jpg&name=...
146.
▲
by
pushrax
6y ago
The logical extreme of "no hierarchy of goals" is to have no law. A law is able to penalize certain goals that are actively harmful. This encodes consensus of a hierarchy, and many people believe it is useful (depending on the par
147.
▲
by
pushrax
6y ago
Perhaps “should” instead
148.
▲
by
pushrax
6y ago
There is a more general idea here: why don't we efficiently allocate resources, when we know that we could? Why is the fashion industry so big? Apparently it causes >10% of carbon emissions. 85% of used clothes end up in the dump. W
149.
▲
by
pushrax
6y ago
Even if completely neutral with respect to the two parties, the effect of social media as a transport for political information means it has a high involvement in political activity. Don't pretend those two parties form an ideal set of
150.
▲
by
pushrax
6y ago
It takes >12h to build Windows on the MS build platform. On a single core, Chromium surely takes hours to build. Though I agree that 40min for the repository in question is highly suspect.
More ›