Miaou

joined 1 year ago
[–] [email protected] 8 points 5 months ago (2 children)

I have the same problem with oop. 10 levels of encapsulated calls just to see you were in an overridden methods without enough data to find out which implementation it was. Ugh

[–] [email protected] 1 points 5 months ago (1 children)

Having to run a debugger to know what gets called at a given time is awful, and this oop practices exacerbate this

[–] [email protected] 1 points 5 months ago

Well the ones from France don't seem to do much, maybe the other ones are worse

[–] [email protected] 1 points 5 months ago

I agree with your point, but you're arguing that noise can be redundant data. I am arguing that redundant data is not necessarily noise.

In other words, a signal can never be filtered losslessly. You can slap a low pass filter in front of the signal and call it a day, but there's loss, and if lossless is a hard requirement then there's absolutely nothing you can do but work on compressing redundant data through e.g. patterns, interpolation, what have you (I don't know much about compression algos).

A perfectly noise free signal is arguably easier to compress actually as the signal is more predictable.

[–] [email protected] 1 points 5 months ago (2 children)

Ugh? That's not what it means at all. Compression saves on redundant data, but it doesn't mean that data is noise. Or are you using some definition of noise I'm not aware of?

[–] [email protected] 3 points 5 months ago

What I meant is, the former can be a genuine mistake, the latter is a conscious (probably uneducated) decision

[–] [email protected] 2 points 5 months ago* (last edited 5 months ago) (1 children)

I spent my day today setting up nginx with mtls at work, and I actually think it's a great approach for what op is trying

[–] [email protected] 1 points 5 months ago* (last edited 5 months ago)

Rust has a warning (has it been promoted to error? I think it was supposed to be) about comparing floats. Nothing to do with same being const. You basically don't have an equality operator for them

[–] [email protected] 2 points 5 months ago (2 children)

They wouldn't be running into an issue, but creating one, that's different

[–] [email protected] 1 points 5 months ago

Then most people shouldn't be writing code, I don't know what else to tell you, this is probably one of the first thing you learn about FP arithmetic, and any decent compiler/linter should warn you about that.

[–] [email protected] 2 points 5 months ago (1 children)

Idiots downvoting you (c/technology...) but this how e.g. Haskell and rust handle that, and probably most strongly typed languages

[–] [email protected] 2 points 5 months ago* (last edited 5 months ago)

My bad I misunderstood what you meant

Still this is what DNT is for but no one honours that, and it's not the EU's fault

view more: ‹ prev next ›