Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
OskarS
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
22 ms
·
301.
▲
by
OskarS
3y ago
And slashes as well, which is a magic character in both urls and file systems. Means you can't reliably use normal base64 for filenames, for instance. That might seem like a niche use-case, but it's really not, because you can use
302.
▲
by
OskarS
3y ago
That doesn't fix the problem: these languages has to be able to coexist peacefully with C in the same address space. You can have a dynamically linked library written in Rust in a host program written in C, you can use C libraries in G
303.
▲
by
OskarS
3y ago
I'm guessing interleaving is probably not possible because the `extend` call is passed the full list, and it holds the GIL until it's finished. But you'd have to look at the bytecode to be sure, I suppose. If there were three
304.
▲
by
OskarS
3y ago
According to the article, they have half a billion dollars in revenue (with currently $154 millon in losses), and that seems plenty to run a company like Unity. Lay-offs are rough, but looking at the numbers, they make sense in a cold-heart
305.
▲
by
OskarS
3y ago
"pretty clear" is an overstatement, I read it and I didn't understand it. I'm not a lawyer, but the article could have included... you know... your exact comment somewhere.
306.
▲
by
OskarS
3y ago
Is there no capability in SQLite to dump these things as well? Seems like a pretty big thing missing if that's the case, a thing I would expect SQLite to support pretty well.
307.
▲
by
OskarS
3y ago
What? In my experience, RAR is extremely un-Linux. It's not free software and not command-line friendly, and it seems mostly to be used by piracy weirdoes who need to split up files for uploading to newsgroups. If you're on Linux,
308.
▲
by
OskarS
3y ago
If it's meant to be a monospace-for-coding font, they really should show off... you know... what code looks likes in it.
309.
▲
by
OskarS
3y ago
Indeed: the convex hull is the outer boundary of the Delaunay triangulation. In addition: if you "bow out" the points into 3D, the 3D convex hull is exactly the Delaunay triangulation. These two concepts are very closely related.
310.
▲
by
OskarS
3y ago
I wrote a moderately popular Delaunay/Voronoi library for Unity a few years back [1] with a neat little demo video [2]. I implemented the incremental Bowyer-Watson algorithm for generating the triangulations, and then took the dual to
311.
▲
Nobel Prize in Medicine awarded to Katalin Karikó and Drew Weissman
(nobelprize.org)
590 points
by
OskarS
3y ago
|
351 comments
312.
▲
by
OskarS
3y ago
Well, it doesn't error out! In this example, it seems like it picks the result from whatever matches the last column, but not sure if this is determinstic: sqlite> create table x(c1, c2); sqlite> insert into x values (&
313.
▲
by
OskarS
3y ago
Tell that to the 16th century Catholic church...
314.
▲
by
OskarS
3y ago
Conceptually, though, that's the wrong model. Pijul works like that, but git does not: commits are not diffs, they are full snapshots of the repository, including history. If you cherry-pick a commit from one branch to another, that&#x
315.
▲
by
OskarS
3y ago
> I've never claimed it doesn't. Yes you did: > You must specify the offset from where it should continue No, you mustn't, you can specify - and it does exactly what you want. The docs are very clear and even provide
316.
▲
by
OskarS
3y ago
> You recall incorrectly. curl's -C flag does not work as-is. You must specify the offset from where it should continue. Why doesn't it take the resumed file's existing length as the guess by default? What else could the
317.
▲
by
OskarS
3y ago
> I tried using curl but out of the box it could not resume or retry the download. Maybe I'm misunderstanding, but curl has exactly that feature, it's the `-C` flag. If you want retries, there's `--retry`. I find curls def
318.
▲
by
OskarS
3y ago
I much prefer the fact that curl doesn't do this by default (but has the option), it much closer matches the behavior of most unix-y tools. Makes it so much easier to put it into pipelines.
319.
▲
by
OskarS
3y ago
Stackless coroutines are arguably pretty serializable, since they are (usually) implemented by bundling all the relevant data into a struct. There’s no a priori reason that couldn’t be serialized, thiugh I admit I cannot think of an example
320.
▲
by
OskarS
3y ago
> Intuition pump: imagine the postal service opening every letter to check to see if someone's organising a letter writing campaign sending abuse to George Washington Just on this specific point: this is not a particularly weird sce
321.
▲
by
OskarS
3y ago
My impression was that that was exactly what they were going to do: replace the GIL with fine-grained locking on the objects themselves. I can't imagine they'd let multiple python threads manipulate python data-structures concurre
322.
▲
by
OskarS
3y ago
Why would you do this instead of just converting the digits to a fraction over a power of 10 and then reducing the fraction (or power of 2, if it's a floating point datatype)? I was thinking it was faster, but the recursive procedure i
323.
▲
by
OskarS
3y ago
Lots of other people have mentioned very good practical reasons (and you can read the linked post for others, like people being unsure of what the password to the Vim FTP is), but there are lots of good sentimental ones as well. When someth
324.
▲
by
OskarS
3y ago
My brother passed away very suddenly a few years ago, and I was put in charge of wrapping up and archiving his "digital" life. We were very lucky that we had access to a recovery email for his main gmail account (as well as a coup
325.
▲
by
OskarS
3y ago
Does this work with the bag/multiset distinction that the author uses? Like, if table1 has two copies of some row and table2 has a single copy of that row, wont this query return that they're the same? But they're not: table1
326.
▲
by
OskarS
3y ago
> As to "implicit firewall", as has been indicated, there isn't really such a thing, just the filtering behaviour. I mean, there clearly is a firewall. If you buy a printer today, you don't really have to worry very m
327.
▲
by
OskarS
3y ago
I've always wanted to smash a CRT monitor. Big and hollow! Seems like so much fun!
328.
▲
by
OskarS
3y ago
I've always liked that feature of C and C++. There's a lot of people that really hate it and in new languages they unify it to be just a dot. Zig does this as well, for instance. I always liked that the distinction was very explic
329.
▲
by
OskarS
3y ago
> Try it, make an array of, I dunno, Strings, and then "delete" one. You can't, there is no "delete" operator, that would be meaningless. Your argument is that there's no such function as `std::Vec::remove`?
330.
▲
by
OskarS
3y ago
I want to be clear: I think Rust offers ENORMOUS security benefits over C. No one is disputing that. I personally love Rust, I think it's a great language. This is not an attack on the language, this is an observation that if you use t
More ›