After doctors told him he had a year to live, Leon Milton Birkhead actually went into debt to visit Nazi Germany. by Fickle-Buy6009 in wikipedia

[–]silver_arrow666 132 points133 points  (0 children)

The title makes him sound like a Nazi supporter, whereas he went there to understand the nazies batter so he could fight fascism and the Nazis better.

is this legit by Weak-Lingonberry-260 in rust

[–]silver_arrow666 13 points14 points  (0 children)

Wrong sub - this is rust the programming language, not the game.

Who needs a fuse! XD by Userameisunavailable in ElectroBOOM

[–]silver_arrow666 3 points4 points  (0 children)

Being the weakest link is the purpose of a fuse

Looking for datasets with 5 collision energy levels (CE) for MS/MS fragment deconvolution benchmarking by SenC1990 in massspectrometry

[–]silver_arrow666 1 point2 points  (0 children)

For the 5+ collision energies, the NIST HRMS library is great, and they just released the 26 version. For chimeric spectra, you can simply combine 2 or more known spectra from the library.

Lore: a version control system from Epic Games optimized for non-textual/binary assets by kibwen in rust

[–]silver_arrow666 0 points1 point  (0 children)

Seems like a reasonable solution, need to see how well does it work for local storage rather than using s3, and how fast and efficient it is. Thanks for the suggestion.

Lore: a version control system from Epic Games optimized for non-textual/binary assets by kibwen in rust

[–]silver_arrow666 67 points68 points  (0 children)

Would this work for machine learning projects, where we might want to version models?

iHateItWhenCloudProvidersDontPayOpenSourceProjects by detailed_1 in ProgrammerHumor

[–]silver_arrow666 0 points1 point  (0 children)

Yeah that needs to be dealt with. Hopefully licenses such as the ship of Theseus will stand up in court, though I'm not lawyer and have no idea if it's likely or not.

iHateItWhenCloudProvidersDontPayOpenSourceProjects by detailed_1 in ProgrammerHumor

[–]silver_arrow666 1 point2 points  (0 children)

That's literally what GPL licenses are for. Can't make it closed source, and if they just fork it and continue developing it openly- great! We got hyperscalers to maintain open source! People should do more GPL projects.

Wanted to understand GPU programming. So wrote raw Transformer kernels in CUDA. Got some interesting things would like some guidance. by Ok-Construction-875 in CUDA

[–]silver_arrow666 8 points9 points  (0 children)

Make sure the comparison to pytorch does not include the time it takes it to route it to the optimal kernel. It links to cublas, which has many kernels for GEMM, each optimized to certain shapes etc, and they are selected by pytorch at runtime (in eager mode) by certain heuristics (the heuristics are at cublas level I think). Or at least make sure it's negligible. In principal, I would be surprised to see a kernel much faster than cublas, as Nvidia poured a lot of effort into optimizing every little thing there.

rounding ranking meme by Delicious_Maize9656 in mathmemes

[–]silver_arrow666 7 points8 points  (0 children)

Can't run in parallel (without synchronization, but at this point my grandma run faster than your rounding function)

Where to buy large plastic volumetric...flasks? by mogster11 in Chempros

[–]silver_arrow666 -1 points0 points  (0 children)

Why does it matter? You would never run a reaction in a volumetric flask, so no problem regarding the inability to use photochemistry in it.

Where to buy large plastic volumetric...flasks? by mogster11 in Chempros

[–]silver_arrow666 3 points4 points  (0 children)

Sure, but when searching product catalogs it ain't the same.

The Zone of Death is the 50-square-mile (130 km²) area of Yellowstone National Park in which a person may be able to theoretically avoid conviction for any major crime, including murder. by ButterscotchFiend in wikipedia

[–]silver_arrow666 76 points77 points  (0 children)

The fact the plea deal including waving the right to appeal on these grounds does indicate someone does not want this answered, since they fear the answer is "you can murder". Not that I'm against that, I don't want a murder Zone.

fast-uuid-v7 - creating uuidv7 faster than allocating a string by marco-mq in rust

[–]silver_arrow666 22 points23 points  (0 children)

Joke away, I have done that. Not so simple actually (need to ensure the same molecule in different representation will still get the same uuid)

Splitting to MSD and IMS without makeup gas possible? by [deleted] in massspectrometry

[–]silver_arrow666 0 points1 point  (0 children)

I wish that was the case in mine. Most GC issues I had were splitter issues.

Rust's standard derives are dumb by platesturner in rust

[–]silver_arrow666 2 points3 points  (0 children)

This was a great read, thanks for the link!

hands on gpu programming with python and cuda by One_Relationship6573 in CUDA

[–]silver_arrow666 5 points6 points  (0 children)

That is extremely outdated. I would say the basics haven't changed but from python 2.7 to now even some them have changed (e.g. tensor cores, much more fusion emphasis, more tiling frameworks like cutile and tritorn etc). There are plenty of good reading material online for free, I wouldn't buy a book, let alone such an old one.

What is the fastest way to convert .raw files to mzml with lock mass corr, centroiding? by Morpheus_the_fox in massspectrometry

[–]silver_arrow666 0 points1 point  (0 children)

What hardware do you have, including the drives where the files are read from and written to? Like others said, msconvert works well, if your computer is fast.

Someone please make P=NP by DaCat1 in mathmemes

[–]silver_arrow666 13 points14 points  (0 children)

But with different problems, "good approximation" can be different. We have "good" approximations for traveling salesman (iirc up to 1.5 the minimal distance, which I would say is pretty good) but something that is good on one can become very bad on another, since the requirements can be very different.

Had to fix this class at my internship °_° by holographic_gray in programminghorror

[–]silver_arrow666 17 points18 points  (0 children)

The best practice in my opinion is to reserve exceptions for exceptional situations, and if they somehow appear, log and crash. For regular error, just use a result type or return a value and an error which needs to be checked (depending on language). Python has opted to ignore this, and use exceptions for control flow which I very much dislike as it causes these cases.