[-] FizzyOrange@programming.dev 3 points 1 year ago

The non-strict versions also panic by default, but only in debug mode. So if you were willing to use abs() you should be willing to use strict_abs().

Arguably a bit of a mistake to have the "obvious" function names be surprisingly unsafe, but I guess it's too late to fix that.

[-] FizzyOrange@programming.dev 3 points 1 year ago

Clearly within the margin of error. Especially because they were obviously not just looking at Bulgaria.

[-] FizzyOrange@programming.dev 3 points 1 year ago

Nah Python is weird about static types - it only defines the syntax, not the semantics.

Ditch Mypy. Pyright is much much much better.

[-] FizzyOrange@programming.dev 3 points 2 years ago

Don't be an idiot.

[-] FizzyOrange@programming.dev 3 points 2 years ago

Wait so what would you have to do if you were covered by the CRA? The article mentions limited reporting & policy requirements for "open source stewards". I'm curious what the requirements are for full on commercial entities though.

[-] FizzyOrange@programming.dev 3 points 2 years ago

It's pretty easy to not notice what community you're in. I'm subscribed to this because I use Linux and am interested in it, but like JokeDeity I am not under the illusion that many people here are that it is really a viable alternative to Windows for anyone but a small minority for whom fixing bugs is a hobby.

I want my audio to work and my laptop to get more than 2 hours battery life and not hard reboot when it runs out of RAM.

On that last point my most recent attempt to work around the issue was by massively increasing swap. I am a professional programmer with 30 years experience. I've been using Linux for 25 years. Increasing swap space was difficult for me.

On Windows it's a slider in a GUI. Just... stop pretending that Linux is on the same level, please.

[-] FizzyOrange@programming.dev 3 points 2 years ago

I am a professional programmer and a user of AI.

With current AI, it's going to have absolutely no effect on "creativity of new programmers". I would say it would even help with that since it greatly lowers the barrier to entry for programming. One of the things it is actually quite good at is explaining basic concepts, which can often be hard to google.

The thing it isn't good at - yet - is writing complete programs. Especially if they aren't very common domains like CRUD or parsers. So you still need to know how to program.

At the moment it's kind of like you've got a friend who has read a ton of stuff but isn't very clever or reliable. Amazing for finding things, looking things up, doing grunt auto-complete work, etc. But you can't ask them to write an SPI driver for a radio module or whatever.

Maybe in future they'll get to the point where they can reliably do the kinds of complex tasks that most professional programmers do, but I think that will take a while (and probably be close to AGI by that point).

[-] FizzyOrange@programming.dev 3 points 2 years ago

I’m an old 31yo man. These fora are getting to complex. Back in my day we had bulletin board systems.

Lol bullshit. BBSs were completely obsolete by like 1997 when you were 4.

[-] FizzyOrange@programming.dev 3 points 2 years ago

He's right. It can give the correct answer but still be crazy incoherent code. Like

let sum = a + b + 2 * a + 3 - b + b - a - 3 - a;

Do you really want code like that in your project? IMO AI assistants definitely increase productivity, but you also definitely need to actually read and understand the code they output, otherwise you adding a ton of bugs and bad code.

[-] FizzyOrange@programming.dev 3 points 2 years ago

You seem to be giving a lot more leeway to interpretations of Peters’ words than my comparison. Odd.

It doesn't require any leeway. It's a totally mainstream opinion supported by actual research. It's only in woke CoC teams that comments like that are objectionable.

he’s also dismissing that it’s worthwhile to try and have an environment free from sexual harassment.

Complete misunderstanding of his comment. Read it again.

Gracefully accepting constructive criticism.

Lol the irony is overpowering.

[-] FizzyOrange@programming.dev 3 points 2 years ago

Those sensors are pure trash. Use SHT-75 or SHT-85 if you actually care about getting a real value. More expensive though.

[-] FizzyOrange@programming.dev 3 points 2 years ago* (last edited 2 years ago)

You're still limited by lambda expressions though. And in general the language is still statement based, not expression based. You can't do a = if foo then x else y type things (except for the one-off and backwards x if foo else y; they were so close!).

view more: ‹ prev next ›

FizzyOrange

0 post score
0 comment score
joined 3 years ago