Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pushrax
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
151.
▲
by
pushrax
6y ago
I am fairly sure it uses thin packs during a clone usually. Though I checked the docs at https://www.git-scm.com/docs/shallow , and it says: > There are some unfinished ends of the whole shallow business: > - may
152.
▲
by
pushrax
6y ago
Also worth noting that git is pretty efficient at cloning a bunch of subsequent commits, due to delta encoding. edit: looks like git doesn't implement fetching thin packs when populating a shallow clone. It will still avoid fetching un
153.
▲
by
pushrax
6y ago
Also, profiling applications is surprisingly easy to learn. It boils down to looking at timestamps, and seeing what takes the longest. The majority of the effort is just figuring out where/how to get the timestamps you are looking for.
154.
▲
by
pushrax
6y ago
I would expect that internally someone profiled the build (i.e. looked at timestamps) and then either profiled git, or just looked at the logs and did some guessing/research. This didn't seem like it would be complicated to find o
155.
▲
by
pushrax
6y ago
This is one of the best Wikipedia entries I have read yet. Concise and relatively plain English. Clear description of benefits, shortcomings, and possible tests.
156.
▲
by
pushrax
6y ago
I would guess it’s similar to the chunking they do when streaming in the first place. Assembling the pieces is one of the main functions of youtube-dl.
157.
▲
by
pushrax
6y ago
You can debate whether "leverage" comes from the noun or verb form of "lever" (which both exist, and the "-age" pattern is used for both nouns and verbs), but the main point is that "leverage" used as
158.
▲
by
pushrax
6y ago
TIL about x-client-data. It looks even worse than user-agent, it's completely unique per user. I think you mean user-agent rather than referer?
159.
▲
by
pushrax
6y ago
"leverage" used as a verb bugs me the most. The "-age" suffix is clearly established as a way to form a noun, in this case with the base verb "lever". If we treat "leverage" as a verb, "leveragea
160.
▲
by
pushrax
6y ago
In the end price discovery is supply/demand, and it appears investment in DRAM manufacturing is focused on improving RAM performance, and just keeping up with demand, not outpacing it. Since the barrier to entry is very high, there
161.
▲
by
pushrax
6y ago
Yep, the main idea is to set up the liquid interpreter with the right variables/methods and the right liquid templates, and evaluate the result. There’s a lot of code that runs around that, but the path-specific code is quite small. He
162.
▲
by
pushrax
6y ago
Differing inputs causing verification failures is indeed an issue. In addition to data access races, replication latency also causes this. The legacy service always reads from the primary MySQL instances per shard, but the new service alway
163.
▲
by
pushrax
6y ago
“Not a CRUD app” isn’t a design decision, it’s just that storefront is almost entirely read-only, and the views are merchant-provided Liquid code. Most of a shop's data can be accessed on any page; data dependencies are in large part d
164.
▲
by
pushrax
6y ago
(contributor here) The project does still use code from Rails. Some parts of ActiveSupport in particular are really not worth rewriting, it works fine and has a lot of investment already. The MVC part of Rails is not used for this project,
165.
▲
by
pushrax
7y ago
None of those things are necessary to consider something a process.
166.
▲
by
pushrax
7y ago
These are the ways the strategies differ: - a token can be invalidated individually, while resetting a password invalidates all sessions - a token can be given a predetermined expiry without the issues that arise from predetermined password
167.
▲
by
pushrax
7y ago
Exactly. Hence posing the question (rhetorically, I suppose).
168.
▲
by
pushrax
7y ago
How does WASM fill this gap? > fast compiles, fast startup and fast runtime ... mainstream C is this but it's harder to write secure/correct C, the standard library is smaller, and there's no canonical toolchain in the sam
169.
▲
by
pushrax
7y ago
Aside from the cases you mentioned, there are other dynamic languages in which numbers are by default floating point. e.g. Lua. I agree though.
170.
▲
by
pushrax
7y ago
It appears you did not see the critical point in the above comment. "Performing arithmetic operations against money in floating point is the dangerous part, as error can accumulate beyond an atomic unit."
171.
▲
by
pushrax
7y ago
Storing money in floating point is fine. Just round to the nearest atomic unit when displaying. Sometimes this is a necessity when working with money in e.g. existing JSON APIs. You lose a few bits of range relative to fixed point storage b
172.
▲
by
pushrax
7y ago
It’s interesting to take this view and apply it to personal identity. A self seems to be a low fidelity model of one’s autonomous system. It seems necessary to include a model of self to reach the kind of predictive ability necessary to lea
173.
▲
by
pushrax
7y ago
Attempting to appeal to everyone by serving a different ad based on tracking is precisely what I meant, but I'm thinking more from a platform standpoint than as a brand. An ideal marketplace would prefer to sell a spot to brands who ad
174.
▲
by
pushrax
7y ago
This is true with encrypted credentials, if security is compromised by release of the repo then the encryption is not secure. I think the spirit of the principle is met, and in cases where you do later release the source code without having
175.
▲
by
pushrax
7y ago
i.e. you want to see the facets you'd be looking for when choosing a product to purchase. For many products and people that will just be the visual appeal, and advertisers target their widest audience. This is a case where tracking can
176.
▲
by
pushrax
7y ago
Config also benefits from review and version control, and it's inconvenient to use multiple systems for these. It's been working out well for us to store secrets encrypted with public key crypto alongside source, or in a deploymen
177.
▲
by
pushrax
7y ago
Mind linking the patchset?
178.
▲
by
pushrax
7y ago
On the other hand, if you don't want to open pdfs by accident, use "Always Ask" .. https://support.mozilla.org/en-US/kb/disable-built-pdf-viewe...
179.
▲
by
pushrax
8y ago
It really depends on your domain. If you're into low level hacking and distributed systems, there is a lot more algorithmic work. There is demand for software that's cheap to scale and/or low latency. Some fields are bottlene
180.
▲
by
pushrax
8y ago
The dimensionality is the key part. It's not just a metaphor, it's a physical quantity. Like cheesecake, the neurological response to heroin follows a specific profile of activation. However, (most) humans find fulfillment in far
More ›