snaggen

joined 1 year ago
[–] snaggen@programming.dev 5 points 1 month ago (2 children)

Have he said something even close to the stupidity of Trump? Like suggesting bleach against Covid? Why should all Trump opponents be measured with a different scale then Trump. Could you imagine the number of headlines required if Trump would get a headline every time he does anything on this scale?

[–] snaggen@programming.dev 17 points 1 month ago

Well, not sure an inflation, twice the size of the GDP is positive for a country...

[–] snaggen@programming.dev 16 points 1 month ago (2 children)

Comment about image

[–] snaggen@programming.dev 14 points 1 month ago (3 children)

Well.... it is true that it doen't have all these crates like Url included in the rust standard library, and hence it is not official. On the other hand Url was created by Mozilla to be used in Firefox, hence it is a quite competent crate that is very well maintained. And my guess is that the http crate may have the same kind of origins... but I'm not entirely sure about that.

And even Java that includes quite a lot, still didn't get a good Http library until very recent, until then you had to rely on some obscure library created by the unknown organization Apache... so...

As a developer you always have to think about what libraries you use, and if you trust them... that goes for pretty much any language.

[–] snaggen@programming.dev 4 points 1 month ago

Well, Perl is great for small scripts that works on large texts, that you process with regex. I still use Perl from time to time, for that kind of scripts. Also commandline, instead of awk/sed...

[–] snaggen@programming.dev 15 points 1 month ago* (last edited 1 month ago)

I learend it in the 90s, and was working on a large Perl codebase 2005 and a couple of years forward. And 20 years, it still started to feel dated, and 15 years ago it was just so out dated it hurt. So, starting to learn Perl 20 years ago would not have been great :) However, the things making Perl horrible, is pretty much threre in Python also with the addition of significant whitespace... so technically, going from Python to Perl might actually be a step in the right direction.... Now, if you excuse me, I will hide behinde this huge rock for a while to let the incoming projectiles settle.

[–] snaggen@programming.dev 5 points 1 month ago* (last edited 1 month ago)

I used to use IntelliJ Rust as my primary rust IDE, but when they switched to Rust Rover I stopped using it. Not sure why actually, possibly since I used Java with IntelliJ it was already my go to IDE, so using it for Rust was natural. I also guess, that I had nvim with rust-analyzer working, so that was available at my finger tips already. So, I might have switched over anyway... who knows.

Anyway, it is good to see more options available, and I hope it is getting so good that it is worth the money.

[–] snaggen@programming.dev 29 points 1 month ago (2 children)

No, it is not based on Gnome. It is a full DE environment written in rust.

 

Found this on Mastodon https://fosstodon.org/@dpom/112681955888465502 , and it is a very nice overview of the containers and their layout.

[–] snaggen@programming.dev 0 points 2 months ago (4 children)

I think you underestimate the number of trips per car per day. Most people will take more trips by car per month than they will fly for their lifetime. In Sweden , a country of 10 million, we have about 150 people killed per year from car accidents, yet most adults travel by car daily. That is millions of trips per day, and only half a death.

[–] snaggen@programming.dev 0 points 2 months ago (6 children)

The fact that airplane travel is safer than cars is a myth invented to promote airplane travel. Well, it is not fully a myth, but to get to that result they measure per mile, and that greatly favor airplane travel. If you instead measure how likely you are to die on your next trip, then the dangers of airplane travel will significantly exceed car travel and other means of transportation.

[–] snaggen@programming.dev 0 points 4 months ago* (last edited 4 months ago) (4 children)

I actually asked chatGPT about a specific issue I had and solved a while back. It was one of these issues where it looked like a simple naive solution would be sufficient, but due to different conditions that fails, you have to go with a more complex solution. So, I asked about this to see what it would answer. And it went with the simpler solution, but with some adjustments. The code also didn't compile. But it looked interesting enough, for me to question my self. Maybe it was just me that failed the simpler solution, so I actually tried to fix the compile errors to see if I could get it working. But the more I tried to fix its code the more obvious it got that it didn't have a clue about what it was doing. However, due to the confidence and ability to make things look plausible, it sent me on a wild goose chase. And this is why I am not using LLM for programming. They are basically overconfident junior devs, that likes mansplaining.

view more: next ›