steventrouble

@steventrouble@programming.dev

This profile is from a federated server and may be incomplete. View on remote instance

I don't know anything about Linux and the idea of installing it frightens me. Where do I start?

I bought a laptop yesterday, it came pre-installed with Windows 11. I hate win 11 so I switched it down to Windows 10, but then started considering using Linux for total control over the laptop, but here's the thing: I keep seeing memes about how complicated or fucky wucky Linux is to install and run. I love the idea of open...

steventrouble , (edited )

Hello and welcome to the club! It depends on your skill level. For some it can be very difficult to install any OS, Linux or not.

I'd recommend practicing on a VM first to verify your technical chops.

Step 1: Download virtualbox and create a new Linux virtual machine with 30 GB of disk space.
Step 2: Download a Linux ISO and mount it in the VM.
Step 3: Maximize the VM window and install Linux.
Step 4: Play around with your new Linux installation as though it were your real OS.

steventrouble ,

I'm so tired of this freepressjournal trash, it's always some clickbait article that looks like it was written by a child for a middle school book report. Can we stop posting throwaway sources like this and use real sources instead?

steventrouble ,

Go could be a good option. I say this as a Rust and Kotlin fanboy.

Rust is great but it's heavyweight for a simple webserver. Kotlin is great but requires a lot of setup. Golang is super small, compiles very fast and predictably, and has easy concurrency. It's possible for anyone to contribute to a Go project at any level of experience.

steventrouble ,

From low tech to high tech:

  • You could put a box in your closet that says "In case I die"
  • You could make a website with a password that your loved ones can log into to mark you as dead
  • You could use a physical device like a magtag, and when you push the button on it it resets a countdown timer that, when it goes off does the thing
  • You could scrape your email server and reset the timer whenever it sees a sent message
  • You could set up your phone to reset the timer every time you unlock it
  • You could set up facial recognition cameras that would reset the timer when they see you
  • You could use differential equations to predict the exact moment of your death and schedule messages to be sent after that

Google Allows Creditors to Brick Your Phone ( lemmy.world )

I installed NetGuard about a month ago and blocked all internet to apps, unless they're on a whitelist. No notifications from this particular system app (that can't be disabled) until recently when it started making internet connection requests to google servers. Does anyone know when this became a thing?...

Hi i am a complete noob who want to get into torrenting and piracy in general can people here help??

And before you say i have read the megathread atleast as much as i can because it feels too buzzwordy for me and i think it is more suitable with people with a little more experience than for litteral noobs also i want to leaen how to in android and not a pc and the megathread leans heavily into pc ....

steventrouble ,

For posterity, torrent can be safer because hosts can't modify the files after it's created. A torrent that's been around for ages is much more likely to be vetted and safe, and VirusTotal will usually be pretty accurate for it.

With Nicotine, a host can easily modify the files at any time to use the latest zero-day vulnerability, meaning viruses found there are much more likely to get through your defenses without detection.

steventrouble ,

Nothing is ever 100% safe, but you're usually safe with movies, tv, books, and audiobooks. You're rolling the dice with game ISOs, executables, and scripts that haven't been vetted.

Some software has had vulnerabilities in the past (like this Adobe Acrobat exploit or Microsoft Word exploit) where opening non-executables like a pdf or doc could open a virus, so still be careful and scan everything.

otl , to Programming
@otl@hachyderm.io avatar

Why We Can't Have Nice Software

https://andrewkelley.me/post/why-we-cant-have-nice-software.html

From Andrew R. Kelley, he's the author of the Zig language

@programming

steventrouble ,

"You can find this scene on YouTube but I won't link it for fear of accidentally causing someone to view an advertisement."

I love this energy

steventrouble , (edited )

If people are not happy, that’s the most important thing. I’d fix that first and foremost.

  • It doesn’t sound abnormal
  • You’re not crazy, there is always room to improve dev experience
  • Probably they worked at a big company with tooling for this kind of thing. Startups can’t afford the same design patterns as big companies.
  • YMMV, but this architectural pattern doesn’t seem very Go-friendly or startup-friendly. I’d just use one type with optional fields, instead of writing fully different types for each of DB, BE, and FE.
  • Frameworks are like safety rails around design patterns. If you’re not an expert, they can help you build a passable system design. But in the long term it’s better to learn design fundamentals and use frameworks only as needed.

Depending on your experience level, reading through refactoring.guru may help your situation. Lmk if so, and what you end up doing.

steventrouble ,

Uhhh where is this person getting those stats? Turnover at Google is nowhere near that high.

Source: I used to work there

How do you feel about TypeScript?

Specifically, do you worry that Microsoft is going to eventually do the Microsoft thing and horribly fuck it up for everyone? I’ve really grown to appreciate the language itself, but I’m wary of it getting too ingrained at work only to have the rug pulled out from under us when it’s become hard to back out....

steventrouble ,

Corporations aren’t people and don’t behave like people. Giving credit to corporations doesn’t work in the long term, because people who work for them are constantly changing. The ones who did a good job may leave or get replaced, and the ones who take over may not care about maintaining their legacy.

steventrouble ,

Compared to C or C++ it is miles ahead, but higher-level programming languages can be more intuitive. Kotlin IMO is much more intuitive than Rust.

While Rust code may look as simple as other high level languages, it takes much more effort to get there. It can feel like the type system is fighting against you, rather than being there to guide you toward a correct answer. Thanks to Rust’s macros, IDE support for Rust is also not as good, which contributes to that feeling.

What to learn next, Swift or Rust

I’ve been programming for decades, though usually for myself, not as a profession. My current go-to language is Python, but I’m thinking of learning either Swift (I’m currently on the Apple ecosystem), or Rust. Which one do you think will be the best in terms of machine learning support in a couple of years and how easy is...

steventrouble ,

I would recommend Swift out of the two, if you’re in the Apple ecosystem and want to make Apple apps. It’s a beautiful language. Otherwise, I’d use Rust.

Side Note: For ML, I’d stick with Python. ML libraries are written in native code, but as an ML developer you almost exclusively call their code through a Python interface.

steventrouble ,

Side note: Rust is technically being used at the web app level, but it’s hard work compared to Typescript or Javascript. I wouldn’t recommend learning web development through Rust.

steventrouble ,

Serverless.

Modern DBs (supabase, atlas, firebase) don’t require much, if any, backend code.

steventrouble , (edited )

FWIW, serverless doesn’t mean “no backend”. Serverless apps can still have backend code using edge functions. Serverless just means “much less backend”.

Most backend code I’ve seen is boilerplate, or reimplementing functionality that already exists in the DB, and serverless libraries just remove the need to write that boilerplate at all.

steventrouble ,

Good point. That used to be the case, but I think that’s been a solved problem for a while. IIRC, most places cache functions for up to a day, so any site with reasonable traffic won’t have to wait for boot.

Regarding scaling, one cool thing about serverless libraries is that some are open source and provide instructions on how to self-host.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • All magazines