Solemarc

joined 1 year ago
[–] Solemarc@lemmy.world 9 points 1 week ago

My phone app(also google phone app) is only 91mb's, Google Pixel 6, everything up to date.

[–] Solemarc@lemmy.world 18 points 2 weeks ago (2 children)

IMO the best way to start in a new language is to rewrite some of your previous projects in that language.

I generally start out by rewriting a couple simple 1-3 function console apps, basic leet code stuff like; palindrome, fizzbuzz, reverse an array in place, etc, and some simple unit tests for them. Then I go ahead and rewrite some of my previous projects or uni assignments in that language.

At that point I generally have a good understanding of basics and have an idea of how to approach a new project. When I got to this point in rust I then started on threading, async, why it's easy to return a String and an ordeal to return &str, etc.

[–] Solemarc@lemmy.world 1 points 2 weeks ago (1 children)

Something I've always found funny about the "AI will replace programmers soon" is that this means AI's can create AI's and isn't this basically the end of the economy?

Every office worker is out of a job just like that and labourers only have as long as it takes to sort out the robot bodies then everyone is out of a job.

You thought the great recession was bad? You ain't seen nothing!

[–] Solemarc@lemmy.world 6 points 3 weeks ago

The performance is just a "nice to have".

Python package management, especially at scale is infuriating. At work we use python microservices in docker containers and it infuriates me trying to update the one our team is responsible for.

I always like to rant that python 3rd party package management tools are a mistake. We should've gone for an "as simple as possible" setup instead of all this.

So I'm sceptical of UV on principle since it's yet another 3rd party package manager but if it can do all of this and not be a nightmare I'll be ok with it.

[–] Solemarc@lemmy.world 2 points 3 weeks ago

Imagine voting for Voldemort

[–] Solemarc@lemmy.world 4 points 4 weeks ago

Man I just realised there's a Gemini button! I never actually open the app, I use shortcuts from notifications! Good on google letting users opt out of something basically no one wants!

[–] Solemarc@lemmy.world 6 points 1 month ago* (last edited 1 month ago) (1 children)

In the case of docker I'm already at the point where I no longer think it's necessary. At my current job our stack is JS, PHP and Python. 3 interpreted languages, we then build on Ubuntu and deploy on Ubuntu. I don't think our project really needs docker, even though it does use it. We also have wasm/wasi prepping to eat Docker's lunch.

[–] Solemarc@lemmy.world 31 points 1 month ago (7 children)

I'm not against immutable distro's on principle. I imagine they still have some kinks to iron out, but I haven't looked in on them for a while.

My opinion on these things is; if it's a superior system, then it'll become the new standard, that's always what happens, and the naysayers are largely irrelevant. Just like computers, smart phones, the internet, etc.

[–] Solemarc@lemmy.world 3 points 1 month ago

The AOSP is a huge success and phones are really only the tip of the iceberg, android runs everywhere and is basically responsible for the mainstream adoption of "smart" devices.

It's a small OS that runs on basically anything and you can stick it on most computers regardless of how strange the hardware setup is.

Is it perfect? No, as a project android is basically maintained by Google alone and Google obviously doesn't think it's perfect, or fuschia wouldn't exist.

[–] Solemarc@lemmy.world 22 points 1 month ago (1 children)

I started learning Lua for a WoW add-on. Not even making my own add-on, just tweaking someone else's.

[–] Solemarc@lemmy.world 17 points 1 month ago (5 children)

Maybe this is a case of hindsight being 20/20 but wouldn't they have caught this if they tried pushing the file to a test machine first?

[–] Solemarc@lemmy.world 121 points 1 month ago (10 children)

If you look at projects in more popular languages like JS, Rust, Python. There is plenty of new blood in the contributors list. I won't speculate as to why, but it looks like the new generation doesn't like c and c++.

I think this is also backed up by the Linux kernel and thunderbird projects. Both are old c/c++ codebases and both have stated they are adopting rust in hopes of drawing interest (and contributors) from the rust community.

view more: next ›