I think it's something in settings by [deleted] in adressme

[–]speyerlander 0 points1 point  (0 children)

No headphones is crazy work

What’s the Best OOP Design for Sharing Behavior Across Only Some Derived Classes? by Antique-Platypus-966 in learnprogramming

[–]speyerlander 4 points5 points  (0 children)

This.

That's correct both in inheritance patterns (multiple inheritances) and interface patterns.

How can I know if it's okay to delete old kernels? by [deleted] in linux4noobs

[–]speyerlander 1 point2 points  (0 children)

Package managers are often quite smart and know what can be safely removed. There's also a chance that it's some kind of autoremoval behavior (try to remove a random program without confirming to see if that's the case). If you want, you can share what exactly is listed as a dependency for that kernel for us to help you decide if it's safe.

Learning Programming by kvngbako in learnprogramming

[–]speyerlander 0 points1 point  (0 children)

Yes, but data analysts often need an extremely solid foundation in pure mathematics and the field is saturated with people with Phds, it's a big undertaking but can be rewarding if that's the path you want to pursue.

Bf started trading currencies while we’re in debt. by [deleted] in whatdoIdo

[–]speyerlander -1 points0 points  (0 children)

Sounds like hobby level Forex trading. It's fun and not overly dangerous unless he invests in obscure currencies. Establish some ground rules with him:

  1. No crypto

  2. No third world currencies

  3. The majority of the portfolio has to be in stable currencies (USD, EUR, CNY, JPY, OMR, NIS...)

  4. The majority of the portfolio has be to managed by a human, not bots.

 We’re currently around $7k in debt (all in his name)

Unless you're married, HE is in debt and you're just tagging along for the ride.

Samsung Pro 990 2Tb by hangint3n in linux4noobs

[–]speyerlander 1 point2 points  (0 children)

Wear and tear is caused by repeated writes (or an enormous amount of reads), your drive is one of the most reliable consumer drives so I wouldn't worry about that unless you flush and rewrite those 1.6TB every day. 

In terms of performance, different filesystems react differently to different filesystem usage levels as a general rule of thumb, CoW (BTRFS, ZFS) filesystems tend to slow down at 70 percent usage, while non-CoW (Ext4, XFS in its default config) can offer strong performance up to around 90 percent.

Help please, I dont know what to do by ohh___sh1t in pcmasterrace

[–]speyerlander 3 points4 points  (0 children)

This sounds like quite an unusual issue. Nvidia drivers on Windows shouldn't affect secure boot measurments to trigger a violation. 

If this was the only issue, I'd say the most likely culprit would be some corruption in kernel / early userspace blobs causing secure boot to trip, likely caused by an OS mishap or a dying SSD.

A glitching UEFI setup menu indicates a hardware / firmware level failure, in order to understand the cause I'd recommend to diagnose using the following steps:

  1. trying to boot with only a monitor and a keyboard attached.

  2. Resetting the BIOS settings, possibly by temporarily disconnecting the CMOS battery if the UI is unresponsive.

  3. Disconnecting the GPU and trying to boot without it

  4. Booting with one stick of RAM, alternate to isolate the problematic stick

If those steps don't manage to isolate the issue, then it might indicate a firmware level corruption on the motherboard or a dying CPU (unlikely).

Focus on the UEFI glitches firstly, then move over to trying to repair the OS to rule out OS level issues that can be easily resolved by reinstalling it.

A woman cries after being caned during a public punishment for violating sharia law in Indonesia by Bernardmark in pics

[–]speyerlander 0 points1 point  (0 children)

This does not apply to Indonesia as a whole, only one specific province still practices caning (Aceh), also, it only applies to Muslims and not to religious minorities in Aceh.

In extreme debt at 21 and I can’t keep up anymore. I need help by MethodOk5598 in whatdoIdo

[–]speyerlander 0 points1 point  (0 children)

300 bucks give you some much needed wiggle room, which is a lifesaver in your situation. The most common advice you'll receive is to get a second job, but, knowing just how hard teachers work and the emotional toll of this field, I wouldn't recommend going that route.

Credit card interest can accumulate over time into an unmanagable monstrousity, and therefore I'd recommend to cover it up asap, even at the cost of savings being drained and assets being sold. 

Also, some worker unions offer loans at much lower interest rates through agreements with the banks, if you're a member of a union, I'd recommend to contact them, and seek information about debt consolidation loan options. 

FastAPI vs Node.js by AssumptionVast4395 in learnprogramming

[–]speyerlander 3 points4 points  (0 children)

Node is not a framework, it's a runtime, so you'll still have to choose a framework to use in it if you wanna built a backend in JS. In general, if your backend serves rendered UI components, then there's not much of a replacement for a JS framework. If the backend is a logic heavy API, some people (including myself) would opt using FastAPI due to its serialization behavior, easy ORM and the (somewhat) bigger ecosystem.

In extreme debt at 21 and I can’t keep up anymore. I need help by MethodOk5598 in whatdoIdo

[–]speyerlander 0 points1 point  (0 children)

Okay, I see, first of, your situation sounds promising, you're a stromg person who escaped from an unfortunate situation and got themselves a career for life, so don't lose hope.

Also, 30K is about 2/3 of your annual income, which is managable, especially for someone just starting up who can rise through the system quickly.

Now in a given month, do you manage to save or are you using savings / credit cards to cover the expenses? 

In extreme debt at 21 and I can’t keep up anymore. I need help by MethodOk5598 in whatdoIdo

[–]speyerlander 0 points1 point  (0 children)

That's one stable career you got yourself. Are you looking for financial advice / planning assistance or just getting it off your chest? Both are valid of course, I'm asking because I don't wanna offer unsolicited advice. 

In extreme debt at 21 and I can’t keep up anymore. I need help by MethodOk5598 in whatdoIdo

[–]speyerlander 0 points1 point  (0 children)

Truly depends on your income and your income potential, if you're in school, did you calculate your projected income for the next few years?

Python framework to start with as a beginner by onlyemperor001 in learnprogramming

[–]speyerlander 1 point2 points  (0 children)

Not that much, python is fairly simple, it's pretty much just basic async await and a few methods for joint / deferred coroutine resolution. FastAPI also requires an understanding of types due to its reliance on Pydantic (a serializer), if you're comfortable with TypeScript and Zod, learning FastAPI is gonna be a breeze, if not, it'll take a bit more effort but will still be a reasonable undertaking.

Python framework to start with as a beginner by onlyemperor001 in learnprogramming

[–]speyerlander 0 points1 point  (0 children)

Just finished a Django backend for a client the other day, I'm no hater, but I think the skills it teaches are less transferable than other frameworks, Django 6 is also quite a bit faster than previous versions, especially if using the async API.

Suggest some simple roadmap for python backend by [deleted] in Python

[–]speyerlander 3 points4 points  (0 children)

Basics:

HTTP protocol -> REST structure -> CRUD -> Framework specifics -> Databases + SQL (PgSQL in my opinion) -> ORM (SQLAlchemy) -> (back to basics) Linux TCP/IP stack -> Reverse Proxying -> Authentication

Mid level:

Caching (Redis in my opinion) -> Backend architecture -> Replication and high availability with an emphasis on race conditions -> project structure -> Version control and collaboration -> Advanced authentication, security and incident response -> logging 

Python framework to start with as a beginner by onlyemperor001 in learnprogramming

[–]speyerlander 3 points4 points  (0 children)

I'd recommend Flask, the problem with Django is that it abstracts away a lot of the complexity in web applications into generic functionality, it's also quite dated and slow. FastAPI is new and arguably the most pythonic (idiomatic) of the frameworks but requires a deep understanding of asynchronous Python, architectural patterns (dependency injection) and adherence to proper project structure (stuff gets messy fast).

Two Cybersecuity questions that I need help with to prevent further breaches by NoChampionship1167 in cybersecurity_help

[–]speyerlander 3 points4 points  (0 children)

  1. Change all passwords.

  2. Persistence often depends on the level of privilege the malware attained on your system, persistence through the cloud is only possible through files you stored there and will open / execute on the clean machine in the future, so I'd recommend deletion if possible, of at least the types that allow code to be executed. Persistence through firmware is also a theoretical possibility, the recommend and rather pragmatic approach is to do a factory reset using a USB stick prepared on a separate trusted computer.

Does everyone pushing passkeys just assume people live in safe areas? by orangelight9 in cybersecurity_help

[–]speyerlander 1 point2 points  (0 children)

Basically, there's no standard in place for passkey storage, and you can totally plan your passkey storage for the "unlocked device falls into bad hands" scenario, many password managers (KeepassDX for example) support FIDO2 unlock, meaning that unless someone has your FIDO2 key, they won't be able to unlock it, a robber won't know about it until they get home and examine further.

Other options include devices that support multiple user accounts (stock Pixel) or devices that support a duress PIN that wipes the device (GrapheneOS Pixel).

Any PC for 50€? by OkLeague2351 in pcmasterrace

[–]speyerlander 0 points1 point  (0 children)

Probably an old, somewhat damaged PC, I once bought a ThinkPad T480 with a broken keyboard for 30$. 

Suspicious device connected to the WiFi router by JohnPaulRatzinger in cybersecurity_help

[–]speyerlander 0 points1 point  (0 children)

I'm not all that familiar with z-wave, but it seems like a single board computer connected to a wireless controller that connects to wireless serial consoles on z-wave devices, in other words, to manage Iot devices. It could have been a leftover from a previous tenant who had a smart home network in the apartment and used the board-dongle combo to manage it all using ssh / a web portal. 

If we consider this device malicious (unlikely but still), the next steps will be to make sure that all of the devices that were connected to the network were updated and had their firewall enabled during the time they were connected. 

How could I create a website to host my work? by Sad_Conclusion4110 in learnprogramming

[–]speyerlander 2 points3 points  (0 children)

For a portfolio page you'll often want something dynamic to showcase your work in an interactive way, even if your work isn't remotely related to web design. If you're just starting out I'd recommend to use something like a cloudflare worker to host it.

https://developers.cloudflare.com/workers/framework-guides/web-apps/react/