8,495 karma · joined Feb 1, 2017 (9y ago) · 2,551 submissions
comment 5y ago · link · parent
I thought rust had a steep learning curve and borrow mechanics were hard. Boy howdy, "Real" c++ makes rust look like a cake walk. C++ has basically all the borrow mechanics of rust, it's just verbose, tedious , idiosyncratic, and bolted on. Plus umpteen other ways to pass data around.
The package and build system just works.
IMHO The "only" real advantages c++ has over rust are momentum, availability, and the ability to natively use C can code. The mind share, library ecosystem, and ubiquity are unmatched. However I see a point where wrapping FFI becomes easy enough that this last advantage becomes a draw. The second is fixed by more compiler support.
Compared to Java, rust is less verbose, faster, less memory, and better abstractions, though I haven't touched Java in 5 years.
The rust experience is so much better than C++ that I see it continuously eating into mind share. I think the joy comes from the relief of frustration of working with automatic foot guns for years.
comment 5y ago · link · parent
I have no idea how they stayed afloat during the best of times and I'm not sure it's going to open up once covid is gone. But the community itself has been around since the 70s, hopping from one seedy joint to the next as they got shuttered, demolished, turned into swanky gastropubs and hospital parking lots. Something will arise from the ashes.
comment 5y ago · link · parent
Nay-Sayers should see the way we used to make formic acid (literally distilling formicae, ants) vs now (massive petrochemical plants).
Bleaching can be done with gas phase or supercritical peroxide in giant autoclaves like those used to make treated lumber.
You scale up the end result, not each individual step.
comment 5y ago · link · parent
The normal bleaching process is quite energy intensive, so that is also a win.
No. If it's not 100% all natural it's green-washing.
comment 5y ago · link · parent
I also use it a lot at boundaries where the modality changes, eg going from local data structures to RPC, where the data shape is the same, but there is io and fault tolerance to deal with.
comment 5y ago · link · parent
The real key is: treat excess indentation and nesting as a code smell. Python should aim for 5 tabs deep max, imho. Anything else should be refactored into functions.
comment 5y ago · link · parent
comment 5y ago · link · parent
Rust is all around better of an experience.
comment 5y ago · link · parent
comment 5y ago · link · parent
Maybe it shouldn't be doing that? Isn't that the whole point of something like a -safe flag? Increase security as you go along. Yes it is going to take time. The best time to plant a tree is 20 years ago, next best is today.
comment 5y ago · link · parent
> you can put whatever dependencies you want on your NFS (or copy them to your node).
This is exactly what we do currently. For non controlled data, this works. However this gets really thorny when you involve CUI (confidential unclassified information), precisely because of mentioned shared fs.
Both SLURM and Kube let you write schedulers but just getting SLURM to talk to the DB was a tough affair, some very poorly documented bugs were at play.
I haven't been on this project in a bit so I don't recall the exact details. And maybe it's lack of familiar with SLURM. But I definitely felt hobbled by it. We are probably going to something based off of Hashicorp stuff.
comment 5y ago · link · parent
Higher SNR means lower bit error rate means deeper modulation (cutting edge is like 65536-QAM and maybe higher). Noisy channel coding theorem and all that.
comment 5y ago · link · parent
- Lots of different kinds of nodes
- anything more complex dependency wise than a handful of shared Conda envs
- anything involving docker
- anything vaguely untrusted
- any kind of partitioning worse than 3 nines e.g. connectivity or uptime instability
- anything more complex than 3-5 priority levels of scheduling
It's great if you hit that niche but it frankly struggles with the complexities of even moderately heterogeneous work loads.
It's also just a bit dated feeling. Even though kube is complex, it's a joy to work with compared to SLURM. Hashicorp is even better imho.
comment 5y ago · link · parent
"Oh the PhD pinned to a nightly version of some dep and the AUC score plummets when you try to upgrade and customer wants this latest model in production on airgapped machines last week? Aight, stick their Conda env in a container, call it with `docker run`, and sort it out later"
Horrifying? Yes. Solving the problem on short notice? Also yes.
Plenty of more pedestrian uses but that was an actual situation where docker's reproducibility saved my bacon.
comment 5y ago · link · parent
1. Trivial or easy. Probably started using best 2/3 compatibility practices easily on, or the nature of the code lends itself to 2to3.
2. Not able to switch without effort, but able to be slowly ported to 2/3 with six and the like.
3. Hopelessly intractable. Either too much bad practices in string handling, or tied to a legacy system. No way to port it without risking subtle bugs. Usually this is due to playing fast and loose with string types, even though we have known better since well before python 3.
comment 5y ago · link · parent
It's about 400 B tokens. Library if Congress is about 40M books, let's say 50K tokens per book, or about 2T tokens. Not necessarily unique.
I would say it's plausible that it was a decent percent of the indexed text available, and even more of the unique content. GPT2 was 10B tokens. Do we have 20T tokens available for GPT4? Maybe. But the low hanging fruit are definitely plucked.
comment 5y ago · link · parent
You can also drive reactions by removing the end products in lieu of providing external energy.
comment 5y ago · link · parent
comment 5y ago · link · parent
http://www.fchea.org/in-transition/2019/11/25/hydrogen-in-th...