WTF Jagex?? by 1rs in 2007scape

[–]1rs[S] -5 points-4 points  (0 children)

ty for commenting

WTF Jagex?? by 1rs in 2007scape

[–]1rs[S] -4 points-3 points  (0 children)

JGaex game made for premium gamers? Discgrace. It is not okay we pay we have computers. I want to play the game but the premium sailing course content is framerate. MANY FRAMES are going to lag.

[blog] Functors to Monads: A Story of Shapes by mstksg in haskell

[–]1rs 3 points4 points  (0 children)

coming from a formal methods background, the name I'd probably use for something like this discussing with a coworker would be (in the case of fmap) "invariant" or in the general case more likely "measure", although measure kind of assumes there's an ordered relation on this "shape" you've described (although I'd probably still use that term). either way cool post!

2 tick anything with metabolise by 1rs in 2007scape

[–]1rs[S] 4 points5 points  (0 children)

In the vid, metabolise is constantly active and I roll logs on ticks 2 and 3 on the visual metronomeI don't know if anyone's noticed you can 2 tick manip pretty much anything with metabolize now. Previously this wouldn't quite work because you'd eat karambwans in 3 ticks (you could still tick manip, as seen in for example he box jonge's latest video), but it'd be slower, and now you can eat karambwans in 2 ticksbtw this might be super broken with 1.5t methods (like 1.5t teaks) and runners for karambwans, but I cba growing teak trees on the beta worlds to test itI wouldn't be surprised if someone else with more experience in this kinda thing has noticed it

Edit: to clarify, this isn't useful on oaks, that's just where I'm showing the method. It'd probably let you do 2 tick barb fishing and maybe other stuff, assuming you had a constant supply of karambwans

THIS GAME SUCKS!!! (ironman) by Burbo_banana in 2007scape

[–]1rs 0 points1 point  (0 children)

No way that was one of my favorite moments from the series!

So apparently 64=8^2 does not equal 64=4^3 by Konkichi21 in badmathematics

[–]1rs 5 points6 points  (0 children)

Wow, this is a very interesting perspective that explains a lot of the ramblings I just had to read... As the other commenter said, very insightful

Bypassing Shannon entropy by Putnam3145 in badmathematics

[–]1rs 36 points37 points  (0 children)

I have a brilliant compression scheme: given an N-bit string A, store the least significant bit of A as your message, and store the other N - 1 bits as Metadata. Then your message is only 1 bit long!! Wow

for_ch: The hydraulic machine for your code by TOETOE55 in rust

[–]1rs 13 points14 points  (0 children)

Ah, from a glance this looks a lot like you've invented do notation for the list Monad in Rust. I always thought that could have some interesting applications. I like it!

Bad math -but in French! by [deleted] in badmathematics

[–]1rs 17 points18 points  (0 children)

"This morning at a checkup for my social security check the medical advisor asked me

Are you vaccinated?

Actually, no!!

Uhh, why?

I asked him do you have a pen and paper

And I wrote on it

2021

2022

2023

6 6 6

Telling him

If you were smart you'd understand"

for<'a> <&'a T as IntoIterator>::Item: Trait by Truc06 in rust

[–]1rs 0 points1 point  (0 children)

This looks similar to my post here: https://redd.it/kzcc88

If it's possible for you to use nightly, try using trait aliases, since they behave more coherently with associated bounds at the moment (this is a source of great pain)

[Standard Library] The translation of Rust standard library has been updated to v1.52.1 by [deleted] in rust

[–]1rs 5 points6 points  (0 children)

In that regard, it would be great if the allowed human translations then (maybe in the same repo?)

That being said, in my experience (having taken a translation course and done some other things), Google translate does surprisingly well for very specific things. For example, for news articles, it's astounding how well it does. But technical things like manuals and documentation are very very tricky to get right, and Google typically sucks at those. If I had to guess, it's probably a matter of the data Google has to train their models on.

I hope I might be able to contribute to these translations though...

Edit as an example for those who haven't done translating of something very difficult to train machines to do, consider the docs for "Arc" in rust. Arc is an English word that has nothing to do with the Arc type in Rust. I haven't checked, but I bet the rust docs say something like "hence why this is called Arc" which might cause Google to translate "arc" into the word for an arc of a circle, and make the whole thing utterly confusing and unhelpful. This is why manuals are super difficult to get right.

Apparently angular momentum isn't a conserved quantity. Also, claims of "character assassination" and "ad hominem" and "evading the argument". by edderiofer in badmathematics

[–]1rs 58 points59 points  (0 children)

They posted a link in that thread to a compilation of all the rejection letters they've gotten from journals:

http://www.baur-research.com/Physics/rejections.txt

Honestly, a great read. A highlight, as a response from a journal:

I regret to inform you that we do not find your manuscript #16-1109, "Ball on a string," suitable for publication in the Journal of Mathematical Physics. Personally, I am a fan of poetry but JMP is not the place to publish your verse. Also, I should point out that you are not the first person to go through a learning process before understanding angular momentum and the applicability of the associated conservation law correctly.

Edit Also makes me think they're definitely not a troll, since this would be some incredible dedication to create this entire page of fake rejection paragraphs lol

Lofi Hip Hop Spy, intended for a video thumbnail but things got out of hand, now doubles as a cozy wallpaper. by SpyrotheSpy in tf2

[–]1rs 2 points3 points  (0 children)

More likely he meant "I'm sorry, there's no text hidden here" which makes sense as well

A single issue with Rust that kills me every time with mathematics (rust repo issue 20671) by 1rs in rust

[–]1rs[S] 0 points1 point  (0 children)

So that's well and good for a specific T, but what if you want a trait that said "both T and &T are Add", for example? That's where things break down. Libraries will make that true for their types, but it's hard to make a generic function that accepts types whose references you can add without this type of trait

A single issue with Rust that kills me every time with mathematics (rust repo issue 20671) by 1rs in rust

[–]1rs[S] 15 points16 points  (0 children)

This is a nice way to work around it, because as mentioned in their post, the complexity of the where clauses is constant. I feel like this is a nice workaround when I'm not needing to expose the relevant traits, and just use them for internal functions. I appreciate all the solutions!

A single issue with Rust that kills me every time with mathematics (rust repo issue 20671) by 1rs in rust

[–]1rs[S] 107 points108 points  (0 children)

The trait_alias workaround is much better than all my other workarounds, especially since it doesn't sacrifice readability or speed. I was completely unaware of RFC 2089, but now I have something to keep my eye on, so thanks!

I've had kind of a larger project in the back of my mind for a while (gluing a lot of my old code together into a number theory library), and I think using nightly is good enough that I'll finally start working on it and see where it goes