[-] balder1993@programming.dev 4 points 3 months ago* (last edited 3 months ago)

Also AWK is made to be fast, right? I suppose doing something in CPython in a non efficient way might not be noticeable with a bit of text, but would show up with a large enough data stream.

[-] balder1993@programming.dev 4 points 3 months ago* (last edited 3 months ago)

If they actually wanted quality documents for people to use, they would be advocating for Standard Ebooks or something.

Or… you know… have PDFs that aren’t pictures of handwritten text?

[-] balder1993@programming.dev 4 points 3 months ago

This is why technically software is a liability. The less code you need, the better, since every line of code is a potential vulnerability and something to maintain, update, etc.

[-] balder1993@programming.dev 3 points 3 months ago* (last edited 3 months ago)

But is it that different than the podcasts voices Google already generate with NotebookLM since a while ago?

[-] balder1993@programming.dev 4 points 3 months ago

Only chatGPT has these kinds of comments as if you’re seeing code for the first time. 😆

I’m not against adding comments where is needed: in the company I work for (a big bank) my team takes care of a few modules and we added comments on one class that is responsible to make some very custom UI component with lots of calculations and low level manipulations. It’s basically a team of seniors and no one was against that monster having comments to explain what it was doing in case we had to go back and change something.

For 99% of the code you just need to have good names though.

[-] balder1993@programming.dev 4 points 4 months ago* (last edited 4 months ago)

Also Windows has a button similar to “don’t update this week” or similar.

[-] balder1993@programming.dev 4 points 11 months ago* (last edited 11 months ago)

At the same time, I feel like nowadays there's less forums or places people can ask help with, although today ChatGPT can be a good help with newbie questions.

[-] balder1993@programming.dev 4 points 11 months ago

Another option is to have enough people in the company interested in using that to justify it.

In my company (a large bank) Linux is now being rolled out to selected people as test because there was enough interest from a lot of the backend crowd.

[-] balder1993@programming.dev 4 points 11 months ago* (last edited 11 months ago)

That’s what I do, except I straight up create the python venv in a folder, activate it and then do pip install yt-dlp. No messing up with my system.

[-] balder1993@programming.dev 4 points 1 year ago

If I was gonna make a suggestion, it would be to use some formatting tool such as black to make sure your code is styled in a standard way.

[-] balder1993@programming.dev 4 points 2 years ago

I’d go as far as saying you should know what every line of code does or you’re risking the whole thing to have unexpected side effects. When you understand what the code is doing, you know what parts you should test.

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

Another example is a large number of libraries using an external dependency to check if a number is odd.

view more: ‹ prev next ›

balder1993

joined 2 years ago