« first day (2102 days earlier)      last day (1393 days later) » 

12:27 AM
For those interested, the fonts I tried in Ubuntu Linux didn't support ligatures, so I had to install a new font that did (e.g. sudo apt install fonts-firacode), before the VSCode settings would actually make a difference.
 
I'm not sure it will be better :p
 
 
2 hours later…
2:54 AM
I like how the ligatures look, for now at least ._.
I'm also checking "Cascadia Code", which is in the fonts-cascadia-code package.
 
 
4 hours later…
6:58 AM
Still porting some Fortran code... At least the variables are clearly named and the comments helpful
"nom" is French for "name"
 
7:52 AM
That looks painful
 
8:02 AM
It is painful. Imagine. No data structure. Everything is an array, so fields are found by index in dozens of 2, 3 or 4 dimensional arrays. Indexes are computed. And start at 1. And you port it into a language without any metaprogramming facility
(and when you execute the fortran code it always core dumps because it's buggy to start with but the original author didn't spot all the out of array writes which don't really matter because it's mostly at the ends of the simulated area)
 
Ouch :-(
 
8:25 AM
I hope you're getting paid for porting that... :v
At least...
 
I'm well paid, no worry
 
I like getting paid.
 
9:03 AM
@E_net4trustsnobots I like writing enjoyable code more.
 
@PeterVaro That I like as well.
Which is why I have marked uglify for eventual death.
 
Of course you do. What I meant was: I got to the point where I don't care about the money anymore. You can't pay me enough to work on something that makes me feel miserable. I've been there, I've done that, it ain't worth it.
 
(I'm not saying it's not part of a job to port legacy shite or in some cases even maintain it temporarily, but if you have to do it for a longer period of time, that will just simply crush your soul)
 
yeah. I'm lucky enough not to have to do this kind of work often.
 
9:43 AM
At my (beginner) level, it's hard to comprehend that answer. @Kitsu's answer is very clear. — Stewart 2 mins ago
Send help
 
 
3 hours later…
12:34 PM
Ha, Stackoverflow really is the greatest of rubber ducks for debugging
 
 
1 hour later…
1:38 PM
@Jason I have at least once discarded the question I was about to ask because I ended up finding things out by myself while reacting the question.
So yes, the greatest of rubber ducks.
 
@E_net4needscoffee Exactly! :-) It's funny how when I am trying to describe the problem as best as I can that I end up finding the solution to it.
 
@Jason It's no coincidence nor pet peeve that we expect a lot of research effort before asking. The act of redacting the question alone can do some great good.
 
2:09 PM
posted on July 16, 2020 by The Rust Release Team

The Rust team is happy to announce a new version of Rust, 1.45.0. Rust is a programming language that is empowering everyone to build reliable and efficient software. If you have a previous version of Rust installed via rustup, getting Rust 1.45.0 is as easy as: rustup update stable If you don't have it already, you can get rustup from the appropriate page on our website, and check out the d

3
 
@Feeds Hear ye, hear ye! 1e8_f32 as u8 is no longer UB!
 
2:24 PM
Indeed, there are some really cool things in this release!
 
2:42 PM
@E_net4needscoffee I think that's a good thing, I had a look at the review queue a while ago and the questions really varied in quality.
 
@Jason You're being too polite.
 
@PeterVaro Haha, it's somewhat of a euphemism for how I truly felt about them, yes.
 
3:40 PM
So.. we should get a release of Rocket that builds in stable this week :)
 
 
3 hours later…
6:25 PM
Really exciting! I'd love to give a web framework a shot. Each release is like unwrapping a present 🦀
 
6:36 PM
@E_net4won'tputupwithyou I never cast a f32 to integer
 
7:06 PM
@Stargateur But now you can, safely in fact! :P
 
7:17 PM
@PeterVaro that not because it's not ub that it would make sense
when you cast a floating to an integer in your code you fuck up something
 
Strong words, and I'm afraid, lack of sense of humour as always :)
 
well, don't forget I'm French, I don't talk english very well
screw up something ?
ah more screw something up
I would like to be able to do that:
#[derive(Debug, Clone)]
pub enum EEPVendor {
    GenericVendor = 0x0000,
    FreeSWITCH = 0x0001,
    KamailioSER = 0x0002,
    OpenSIPS = 0x0003,
    Asterisk = 0x0004,
    HomerProject = 0x0005,
    SipXecs = 0x0006,
    NTop = 0x0007,
    Unknown(u18),
}
 
8:31 PM
@E_net4won'tputupwithyou docs.rs/ux/0.1.3/ux/struct.u18.html
 
9:12 PM
@E_net4won'tputupwithyou u16 sorry xd
anyway my point was, have an enum for representing arbitrary value u16 but with some that I can match
because here my enum need an extra space that it not strictly necessary
 
Gotcha. That would probably also make sense for a DICOM value representation, but it would've been a mess to represent it in practice.
 

« first day (2102 days earlier)      last day (1393 days later) »