Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ben0x539
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
89 ms
·
931.
▲
by
ben0x539
12y ago
At least the DMCA takedown wouldn't also somehow disable his google music subscription.
932.
▲
by
ben0x539
12y ago
Apart from the putting-things-together aspect, is there anything "innovative" in rust besides the borrow system?
933.
▲
by
ben0x539
12y ago
Or maybe very many adults actually plan to watch porn, but are generally okay with censorship?
934.
▲
by
ben0x539
12y ago
If you explicitly use the "green" runtime that ships with rust instead of the "native" runtime, you get green threads where the built-in blocking IO only blocks the green thread but lets the OS-level thread carry on exec
935.
▲
by
ben0x539
12y ago
It's not as much as a win if you just don't maximize your browser window.
936.
▲
by
ben0x539
12y ago
As far as I can tell (and have been told), rust-http starts a new task (thread, here, really) for every request. Edit: but see https://news.ycombinator.com/item?id=7978299
937.
▲
by
ben0x539
12y ago
Am I missing something or is this basically a reverse adblock?
938.
▲
by
ben0x539
12y ago
If you can't bullshit your way through criticism with vague-sounding phrases like “As the particles move along, they feel the wave field generated by them in the past and all other particles in the past”, you're not trying hard en
939.
▲
by
ben0x539
12y ago
clang -O3 on linux amd64. I'm told that aliasing is unrelated to equality, and I guess the trick is that realloc's returned pointer is attributed noalias. I get assembly that does the check, does the stores, but omits the loads:
940.
▲
by
ben0x539
12y ago
From the linked John Regehr blog post ( http://blog.regehr.org/archives/767 ): Nick Lewycky submitted this code: #include <stdio.h> #include <stdlib.h> int main() { int *p = (int*)malloc(s
941.
▲
by
ben0x539
12y ago
Look at it as the compiler unrolling the loop to: if (table[0] == v) return true; if (table[1] == v) return true; if (table[2] == v) return true; if (table[3] == v) return true; undefined_behavior(); return false;
942.
▲
by
ben0x539
12y ago
No, that stuff only happens when I pay with my credit card, I guess.
943.
▲
by
ben0x539
12y ago
I also walk around town completely uncamouflaged, voluntarily displaying my uniquely identifiable face and whatnot, and yet somehow most businesses can still restrain themselves and do not follow me around, colluding to enable each other to
944.
▲
by
ben0x539
12y ago
I vaguely agree with you but I think comparisons with media players and text editors sell short how central web browsers are to computer use these days.
945.
▲
by
ben0x539
12y ago
If this is you being kind, I hope I never raise your ire.
946.
▲
by
ben0x539
12y ago
I've googled this a bunch out of curiosity before and everybody, including a bunch of courts, seems to argue that fleshed-out fictional characters are in fact covered by copyright even with the serial numbers filed off. IANAL either, o
947.
▲
by
ben0x539
12y ago
It goes a lot smaller with `--codegen prefer-dynamic`, also around 6K for me.
948.
▲
by
ben0x539
12y ago
> Nice! Is this going into the standard library? Possibly. There's been some talk in that direction, but also some "can't we just fix llvm?" objections. I guess someone needs to write up a pull request (and see what o
949.
▲
by
ben0x539
12y ago
Prompted by pcwalton I've added a tiny specialized iterator for zipping two vector slices that apparently is simple enough to avoid the null pointer checks after all. This brings the runtime on my system down from ~3.1 seconds to ~2.06
950.
▲
by
ben0x539
12y ago
.unwrap() is checked, if it goes wrong, it will safely cause task failure and stack unwinding. There won't be any memory unsafety.
951.
▲
by
ben0x539
12y ago
Ugh. You're replacing a thing with silver in the tagline, and you're using Go to do it, and you don't go with go lden in your own?!
952.
▲
by
ben0x539
12y ago
> If it is to make a point, she shouldn't, or one might simply say she cannot have a rational discussion, because it simply doesn't prove anything. One might say that, but I don't think that would delegitimatize her positi
953.
▲
by
ben0x539
12y ago
> I don't think we have the same definition of offensive (please correct me if my second language english is wrong). That policy was harmful, but I wouldn't qualify it as offensive. I think the article provides good examples wh
954.
▲
by
ben0x539
12y ago
The problem with "people could just create fake identities" is that they'd basically be permanently living with the fear of being caught by google and having their entire identity erased, and all the comments would just be &q
955.
▲
by
ben0x539
12y ago
Outdated?
956.
▲
by
ben0x539
12y ago
Webapps hardly look more native than even unidiomatic cross-platform widget toolkits or whatever.
957.
▲
by
ben0x539
12y ago
Doesn't work for me because I disabled :visited last time this sort of thing got discussed. :V
958.
▲
by
ben0x539
12y ago
It's not illegal , it's just apparently impacted by copyright. Since Joda-Time is available under the Apache 2.0 license, that doesn't seem like an unsurmountable obstacle.
959.
▲
by
ben0x539
12y ago
Protocols being used both as type parameter constraints and as types themselves reminded a few people of Rust's traits, but of course Rust didn't come up with those from whole cloth either.
960.
▲
by
ben0x539
12y ago
Sign me up for a "someone gets indignant about rust developers responding to other people's comments about rust" drinking game. (small-time rust contributor here too)
More ›