Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
marvy
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
31.
▲
by
marvy
6y ago
Okay nice. IRC finally makes sense. Seems kind of like Discord. Sounds pretty nice actually.
32.
▲
by
marvy
6y ago
Okay, so the magic ingredient is that variables that are marked "stable" are treated specially. Nice!
33.
▲
by
marvy
6y ago
Never tried Slack, so that comparison doesn't help too much :) But I think I'm getting the idea now. It's a similar idea to a typical instant messenger, except that since the protocol is standard, you have federation that ac
34.
▲
by
marvy
6y ago
If I understand the persistence stuff correctly, programs don't do explicit I/O but instead just run forever and thus use normal variables and data structures to store state. This sounds very convenient until one fine day you deci
35.
▲
by
marvy
6y ago
Here's a question I've vaguely wondered but never mustered the effort to actually look up: how does IRC work? Like, if two people want to talk to each other over IRC, do they need to be connected to the same same IRC server at th
36.
▲
by
marvy
6y ago
Can you still comment if you get all the quiz questions wrong?
37.
▲
by
marvy
6y ago
I assume that mods have "local" powers in specific sub-reddits and admins have global sitewide powers?
38.
▲
by
marvy
6y ago
> It grew out of the MaximeVM project at Sun labs. I think you mean MaxineVM :)
39.
▲
by
marvy
6y ago
Thanks! I think that answers my question. Since kernel threads will likely have 64KB stacks or even more, this is still a huge win, even for 32-bit code I guess.
40.
▲
by
marvy
6y ago
I don't see why you need to wait for that. You already know the memory usage for 64-bit, and you implied elsewhere in this thread that memory usage is the key metric that makes these things cheaper than kernel threads. So you should
41.
▲
by
marvy
6y ago
32-bit means you have at most 4 gigs of address space to play with; pron implied that lower memory usage is the key savings of fibers vs threads, so I assume a 32-bit JVM will hit a memory limit a lot sooner.
42.
▲
by
marvy
6y ago
How many parked "fibers" do you think a 32-bit JVM might be able to handle once loom is ready for prime time? A thousand? A million? Somewhere in between?
43.
▲
by
marvy
6y ago
good point
44.
▲
by
marvy
6y ago
I'm guessing no one is crazy enough to consider line numbers part of the public API. And yet... I could imagine myself writing code like this if I were desperate enough, even though I would know perfectly well that my code would proba
45.
▲
by
marvy
6y ago
I didn't watch it either, but... Does your language have exceptions? Do the exceptions support stack traces? Do those stack traces have line numbers? Well then... // old code: version 1.2.3 if(problem1) throw new
46.
▲
by
marvy
6y ago
How about just "fed"?
47.
▲
by
marvy
6y ago
It would have been under "Theoretical Computer Science" but that section is a stub because it actually got broken out into its own article.
48.
▲
by
marvy
6y ago
fair enough but is this really the least destructive action you could take?
49.
▲
by
marvy
6y ago
But no one is proposing to break anything in this discussion, right?
50.
▲
by
marvy
6y ago
Python has a long-standing rule that you can't nest statements inside expressions. In my opinion, this is a good rule for a whitespace-sensitive language. (This is also why lambdas can only be a single expression.) Thus, making match
51.
▲
by
marvy
6y ago
> awful for the users, but are required by law I am really curious what sort of law does this. (Though maybe I'm better off not knowing...?)
52.
▲
by
marvy
6y ago
It would imply that our brains are using currently-unknown physics, since all current theories are computable.
53.
▲
by
marvy
6y ago
re: PeerJ: I missed that, nice! re: semantics vs visual layout of math... Wikipedia says OpenMath is a thing, but... that only solves half the problem. Once you have a format that encodes what you want, someone has to actually it. Like, i
54.
▲
by
marvy
6y ago
So basically, give up on LaTeX to PDF as the primary workflow. Either convert LaTeX to semantic HTML instead of to PDF (probably doable for simple cases... \emph to <em>, \section to <h2>, \begin{tabular) to <table>, and
55.
▲
by
marvy
6y ago
I just tried in Chrome; at least for page 2 it actually did a bit better than my browser: it actually managed to preserve the line breaks! (I don't have Safari installed.) (Also, if you look closely, the summation signs are not gone,
56.
▲
by
marvy
6y ago
> Subcaption works perfectly for that I'm not saying it doesn't work. I'm saying that if your needs are simple enough, you can get away without it.
57.
▲
by
marvy
6y ago
I meant they might be so closely related that you want them share the same caption and figure number and everything.
58.
▲
by
marvy
6y ago
No need to go on, that's already more than I bargained for, thank you so much for taking the time to respond :) I suspect we're using different PDF viewers; I'm using the one that comes with my browser. The results are somewh
59.
▲
by
marvy
6y ago
Just tried copying across a line break on page 9, seems to work: Here the potential function is, to say the least, not very simple.
60.
▲
by
marvy
6y ago
Okay, nice, but maybe overkill, unless you want to refer to them separately within the main text?
More ›