« first day (2101 days earlier)      last day (1378 days later) » 

8:44 AM
🦀
 
Do the safety dance!
 
9:44 AM
Currently porting some Fortran code to Java. That is converting core dumps into array index out of bounds exceptions ^^
 
👀
 
arrays everywhere... only arrays... the scientist who made the model hadn't heard about structures so everything is an array
 
10:44 AM
who let scientist use fortran
who let anyone use fortran
why fortran is legal ?
 
11:04 AM
@DenysSéguret We used to call "scientists' code". Deeply nested (8+ levels) of ifs, use of only basic data structures (such as arrays), copy-paste nightmares everywhere, even the most basic abstractions such as functions are used sparingly and when they are used, usually you would see 500+ LoC functions everywhere..
 
and variables are called a, a1...
 
@DenysSéguret That as well, how could I forget about those? :rolling_eyes:
@Stargateur Exactly, people should use COBOL! :see_no_evil:
 
11:27 AM
please stop me now, cause this gonna be a bad time, just leave me an axe
 
Ah no, the rules for this chatroom clearly state "do not hand over sharp axes to squirrels".
 
Yeah, we pretty much learned from historical events such as that one.
 
Are the terms "shared" and "exclusive" reference preferred to "immutable" and "mutable"?
 
@Jason Well, they are not equivalent in all contexts, so I would choose whichever fit better in a certain context.
In RwLock the choice was neither: read access and write access.
 
11:59 AM
Thanks! I've found this page which helped docs.rs/dtolnay/0.0.9/dtolnay/macro._02__reference_types.html
 
By dtolnay, no other! :)
 
12:16 PM
@E_net4trustsnobots Albeit read is a synonym for immutable and write for mutable, so calling those shared and exclusive respectively makes perfect sense. I believe having the latter terms are more self explanatory on what to expect as the above linked article explains it clearly
 
I can't give the messages a thumbs up, but thanks so far! :-)
🦀
 
 
1 hour later…
1:32 PM
@Stargateur This reminds me of my favourite graphic novel series, David Petersen's Mouse Guard: mouseguard.net
I highly recommend to give it a go if you're not familiar with it already
 
 
3 hours later…
4:07 PM
 
 
2 hours later…
6:22 PM
Ha, that looks like a solid password
 
 
1 hour later…
7:42 PM
@PeterVaro wow
 
8:10 PM
Has anyone used ndarray before here? :-)
 
 
3 hours later…
11:16 PM
I'm trying to get Rust code to be displayed with proper unicode symbols (e.g. `!=` as `≠`, `->` as `→`, etc.) in the VSCode editor. Search results usually come back with symbol tables and locations to download VSCode... Is anyone here aware of a specific VSCode option to accomplish this?

FWIW, I'm in Ubuntu Linux, which has been using a default UTF-8 charset for many years, so it shouldn't be something like that.
 

« first day (2101 days earlier)      last day (1378 days later) »