News for hackers. Stuff that matters.

acconsta

Moderna and Pfizer tested variant-specific (B1.351) boosters and found they weren't significantly more-effective than a third dose of the original vaccine. https://www.nature.com/articles/s41591-021-01527-y

This may of course change with new variants.

Re:Dropbox Reaches Key Profit Milestone on Thursday April 27, 2017 @07:28PM (#14215720)
How about when they were buying those DCs?
Re:Regex: badly needs fuzzing on Wednesday February 08, 2017 @04:47PM (#13602457)
> modern C++

This library is old enough to drive...

Re:Simple coroutines for games in C++ on Sunday March 20, 2016 @09:40PM (#11325668)
Google implemented fibers. Hopefully they'll get upstreamed.

https://www.youtube.com/watch?v=KXuZi9aeGTw

Re:Glibc getaddrinfo stack-based buffer overflow on Tuesday February 16, 2016 @02:42PM (#11112568)
>Many of Rust's safety guarantees come from compile-time checks that then do not have any runtime penalty.

But not bounds checks, which are unfortunately what you need with respect to buffer overflows.

Re:Once upon a time, memory allocators made sense on Monday January 18, 2016 @02:36PM (#10926372)
For large allocations, realloc can remap virtual memory instead of doing a naive copy:

http://blog.httrack.com/blog/2014/04/05/a-story-of-realloc-a...

Re:Writing high-performance servers in modern C++ on Sunday January 10, 2016 @05:11PM (#10877472)
A networking library based on Asio has been proposed for C++17. In the meantime, use Asio.

http://think-async.com/

Re:How Completely Messed Up Practices Become Normal on Wednesday December 30, 2015 @12:47PM (#10813214)
> And I can think of more than one well-regarded unicorn where everyone still has access to basically everything, even after their first or second bad security breach.

Which companies? That's pretty scary.

>A rotating disk is roughly able to saturate a 1Gb ethernet link.

Locality is key there. Read randomly and you won't saturate a 100Mb link.

It's good to have competition in this area. Influx is giving me whiplash (it's on its third database engine in six months!)

The circular buffer approach is fine, but it does have the drawback of being unable to represent variable-length data (like key-value pairs). It's also harder to compress the data.

Can a GROUP-BY do windowed aggregations? Like, take an average over ten-minute windows? My SQL knowledge is not great.

Yeah, but...

Need replication? Gotta write your own sharding logic or set up pg_shard.

Need aggregations? Gotta write your own logic. Will you do them on the fly? Use triggers? On demand?

Need to remove old data? Gotta set up a cron job. But wait, what if I want to age different series at different rates? Now you need a policy system. Sigh.

Not saying Postgres can't be the storage engine, but there's a lot of work to do on top of that.

Re:Experiences Building an OS in Rust on Sunday October 04, 2015 @07:40PM (#10329258)
Yeah, I'm not brave enough for embedded.

I'm still pretty excited about what's happening in this space though. Thanks for your thoughts.

Re:Rust Faster on Sunday October 04, 2015 @03:17PM (#10328474)
I apologize if I gave the impression I was claiming otherwise. It's just context for the discussion.
Re:Rust Faster on Sunday October 04, 2015 @01:27PM (#10328109)
The author also points out that some of the benchmarks poorly represent real workloads:

"Bottom up (since the worst offenders are now first),

binary-trees is silly since it measures allocation speed for a case that simply doesn't exist in real code;

thread-ring is basically insane, since nobody ever bottlenecks like that;

chameneos-redux's C++ implementation is ridiculous. The C is not so ridiculous, but you still have the problem that basically every language in the top few spots does something completely different;

pidigits tests whether you have bindings to GMP;

regex-dna tests a regex engine on a small subset of cases (arguably the first half-acceptable benchmark);

k-nucleotide tests who has the best hash table for this particular silly scheme, and they don't all even do the same thing (eg. Scala precompacts, like my new Rust version);

mandelbrot is kind'a OK;

reverse-complement would be kind'a OK if not for a few hacky implementations (like the Rust);

spectral-norm is kind'a OK;

Haskell basically cheats fasta (which is why I copied it);

meteor-contest is too short to mean anything at all;

fannkuch-redux is probably kind'a OK,

n-body is kind'a OK.

So maybe 5/13 are acceptable, and I'd still only use 4 of those. I think if looking at mandelbrot, spectral-norm, fannkuch-redux and n-body you can argue the benches are a reasonable measure of peak performance. However, these cases are also all too small and simple to really be convincing either, nor is it particularly fair (where's NumPy for Python?)."

https://users.rust-lang.org/t/blog-rust-faster/3117/12?u=acc...

Re:Experiences Building an OS in Rust on Saturday October 03, 2015 @07:28PM (#10325820)
Ah, so Rust does represent thread semantics through types? It's curious that the authors don't mention that in their proposal.
Re:Windows 10 and .NET Native on Saturday October 03, 2015 @06:14PM (#10325580)
Unmanaged native code definitely has an edge, even in I/O-heavy applications like databases.

http://www.scylladb.com/technology/cassandra-vs-scylla-bench...

Not to mention low-memory environments like mobile.

Re:Experiences Building an OS in Rust on Saturday October 03, 2015 @05:03PM (#10325365)
Basic question โ€” when you're writing a kernel in Rust with its own threading implementation, how does the rust compiler even know what threads are? It has to identify thread boundaries for send/sync, right?
Re:Experiences Building an OS in Rust on Saturday October 03, 2015 @04:45PM (#10325284)
Any thoughts on C++ coroutines? Microsoft has a draft implemented in their compiler, and there's a second competing proposal.

https://msdn.microsoft.com/en-us/magazine/mt573711.aspx

http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/n445...

Ideally we'd implement something similar in Rust.

Re:Experiences Building an OS in Rust on Saturday October 03, 2015 @03:25PM (#10325047)
I think every OS does this to some extent. Windows uses DPCs, Linux uses tasklets.
Re:Pushing the Limits of Kernel Networking on Friday October 02, 2015 @05:01PM (#10321305)
Even with the intrinsics AES is pretty expensive

https://software.intel.com/en-us/articles/intel-aes-ni-perfo...

Re:Trying Rust for web services on Friday October 02, 2015 @01:33PM (#10319968)
That might make you the biggest company using Rust? Very cool, I hope you write it up.
Re:My gamedever wishlist for Rust on Thursday October 01, 2015 @05:10PM (#10314744)
Oh OK, that's cool. I don't think many languages could enforce that.
Re:Trying Rust for web services on Thursday October 01, 2015 @03:33PM (#10314038)
I was thinking async-await, which I thought hasn't been standardized yet. Do generators provide the same functionality?

Either way, I hope Rust skips the callbacks.

Re:Trying Rust for web services on Thursday October 01, 2015 @03:29PM (#10314000)
Scope-bound resource management (SBRM) is clearer than RAII, I think.
Re:My gamedever wishlist for Rust on Thursday October 01, 2015 @03:25PM (#10313960)
And... how would that be possible at compile time?
Re:Trying Rust for web services on Thursday October 01, 2015 @03:07PM (#10313773)
50% C++, 25% Java

http://qr.ae/RP7wXh

At Google's scale, the performance difference between Java and C++ can means millions of dollars in electricity alone.

Re:Trying Rust for web services on Thursday October 01, 2015 @02:30PM (#10313454)
>Even Google mostly uses Java

I'm not so sure about that. The core services (e.g. Search, Maps, Earth, Big table, Map reduce) seem to be C++. Ads is possibly an exception.

Re:Trying Rust for web services on Thursday October 01, 2015 @02:21PM (#10313362)
A Node-style event loop leads to callback hell. It would be awesome to have something like Boost Asio.

Older ยป