Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cbolton
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
181.
▲
by
cbolton
3y ago
You can do that by escaping the slash: `1\/(d+1)`
182.
▲
by
cbolton
3y ago
here's 3.31: $ cal(C)(M) = cal(E)_T^t (theta, cal(S)_t)^2 + C_t M_t^(-2/d) + cal(E)_T^"PDE" (theta_t, cal(S)_"int")^2 + C_"PDE" M_"int"^(-2/(d+1)) \ + C_1T^(1/2) [cal(E)_
183.
▲
by
cbolton
3y ago
I find the typst syntax nicer and more compact: https://typst.app/docs/guides/guide-for-latex-users/#maths I was initially suprised to see that the typst devs chose to go with their own syntax, but I'm n
184.
▲
by
cbolton
3y ago
That's a valid point: if you don't want a language that makes breaking changes (so you can always compile old files with the latest version), it's not the right time to use typst. It's just moving too fast now. It's
185.
▲
by
cbolton
3y ago
Come on, it's a really good strategy if you care about this (use the official binary, or make the effort of making a static binary yourself). And even your linked binary will probably work in 10 years, these libraries are not likely to
186.
▲
by
cbolton
3y ago
It's not faked. I guess the nix recipe does things differently from the official binary. Try yourself: https://github.com/typst/typst/releases/download/v0.11.0/typ... But it's true that wh
187.
▲
by
cbolton
3y ago
$ ldd bin/typst statically linked
188.
▲
by
cbolton
3y ago
> Will we be able to compile a typst file made today in 10 years? Yes! typst is actually better than LaTeX in this regard: LaTeX: contrary to how it sells itself, it's not good at compiling old files. The TeX core is fine but the pa
189.
▲
by
cbolton
3y ago
> Yes, we are aware of typst. I think it’s cool, but C++ hasn’t replaced C, Rust hasn’t replaced C++, Typst is unlikely to replace LaTeX. Likewise, many are aware of LuaTeX, but, again, the entrenching of a 40-odd year system is not to b
190.
▲
by
cbolton
3y ago
> Bader had lost a prosthetic leg when escaping his disabled aircraft. When he had baled out, Bader's right prosthetic leg became trapped in the aircraft, and he escaped only when the leg's retaining straps snapped after he pul
191.
▲
Typst 0.11
(typst.app)
2 points
by
cbolton
3y ago
|
0 comments
192.
▲
by
cbolton
3y ago
> The formatting is ridiculously bad, which makes it extremely hard to read: Subsections within subsections within subsections with approximately zero indentation. Maybe I misunderstand (I can't get the page to load right now) but w
193.
▲
by
cbolton
3y ago
I hope we'll crack down on heavy SUVs vs normal cars before electric vs ICE.
194.
▲
by
cbolton
3y ago
Take a star in a region of the universe that recedes from us at 3c. In what sense is the star not traveling faster than the speed of light relative to us?
195.
▲
by
cbolton
3y ago
This fits nicely with my experience of FedEx. They sent me a bill 7 months after I had received the package. A few days later I get a reminder that doesn't include the necessary information for payment, which seems rather lazy and stup
196.
▲
by
cbolton
3y ago
Sometimes it's easy to fix something even though you don't understand why it's broken. Like reverting the commit that broke things.
197.
▲
by
cbolton
3y ago
Nowhere does it say it's related to bad behavior?
198.
▲
by
cbolton
3y ago
I guess... From https://en.wikipedia.org/wiki/Star_catalogue : > The largest [catalogue] is being compiled from the spacecraft Gaia and thus far has over a billion stars. I think you'd have to go out of your wa
199.
▲
by
cbolton
3y ago
Haha right :) Though I feel we're talking of different levels of granularity: I've seen that quote applied at a level close to single operations, which makes sense when you're making judgment on a programming language or API.
200.
▲
by
cbolton
3y ago
Interesting measure of code quality! I think it's the first time I see it.
201.
▲
by
cbolton
3y ago
Yeah these problems with "engineer code" the author describes, they are real, but it's a well known thing in software engineering. It's exactly what you can expect from junior developers trying to do their best. More exp
202.
▲
by
cbolton
3y ago
How did you get the trillionth of a percent? The total space is 2^64 and they found 24,964 videos. Based on their estimated number of videos (13,325,821,970) we can infer[1] that they have made the equivalent of a sample of size 3.46e13. I
203.
▲
by
cbolton
3y ago
32000 is just the "cheat factor" by which they increase the method's efficiency. I'm not sure how much the "cheating" would affect the precision of the result. But assuming it has no effect, it's easy to e
204.
▲
by
cbolton
3y ago
Exactly, and if I make a mistake and assume that the possible space is 0 to 3999, it still works! I'll just need a bigger sample to estimate the number of videos with the same precision. (The method does fail if I exclude valid values,
205.
▲
by
cbolton
3y ago
No the distribution doesn't matter at all. I've given an extreme example here: https://news.ycombinator.com/item?id=38742735
206.
▲
by
cbolton
3y ago
Actually the method works regardless of the distribution. It's an interesting and important feature of random sampling. Consider 1000 IDs assigned in the worst (most skewed) way: as a sequence from 0 to 999. If there are 20 videos they
207.
▲
by
cbolton
3y ago
Is this more than a change of terminology? Is it wrong to say that the electromagnetic oscillation is still there in the medium but coupled to a mechanical oscillation, and the coupled system is called a phonon? (I mean there's still a
208.
▲
by
cbolton
3y ago
Indeed! I was trying in Julia and got [0, 1, 1, 2, 3, 5, 8, 0, 0, 0]. Had to use "big integers" to make it work past n=7: function f(n) b = big(2) << n return b^(n+1) ÷ (b^2-b-1) % b end or for code golf
209.
▲
by
cbolton
3y ago
On the other hand Gemini does generate Flutter interfaces on the fly when it thinks it's a useful way to show answers and gather more input from the user: https://youtu.be/v5tRc_5-8G4?t=121
210.
▲
by
cbolton
3y ago
Interesting example on page 57 of the technical report[1] with a poorly worded question: "Prompt: Find the derivative of sinh 𝑥 + cosh 𝑦 = 𝑥 + 𝑦." I couldn't understand what was being asked: derive what with respect to what?
More ›