nickwitha_k

@nickwitha_k@lemmy.sdf.org

This profile is from a federated server and may be incomplete. Browse more on the original instance.

nickwitha_k,

No. No. They’re right. When even Forbes reports that nearly 30% of people can’t afford their normal expenses and a further 40% living paycheck to paycheck, it’s a systemic issue. Payroll.org’s numbers from 2023 put the paycheck to paycheck at 78%.

Sure some of those are poor spending habits but, to brush it off as that is wishful thinking. Could blame it on neoliberalism but, people have been coerced into making the wealthy even more money in order to survive since long before that. Not having a home is illegal. Every bit of land on the plant is considered owned, whether occupied or not, so, there is no option to opt-out and refuse to participate while alive and free.

nickwitha_k,

Not every action needs to serve a greater purpose or be related to financial gain.

My 4th grader picked a shirt based on her connection to me, with potentially humorous caveats...

So, my 10yo and I have a pretty great relationship. She’s smart and funny and curious and all the things I might have hoped I could raise a kid to be. That said, she idolizes her mom. As much as she is like me, Daddy is definitely the “boring” parent, because my job is stupider than my wife’s and also much less...

nickwitha_k,

That is adorable! Thanks for brightening the cloudy work morning a bit. I hope that she has a great time.

Python is great, but stuff like this just drives me up the wall (lemmy.world)

Explanation: Python is a programming language. Numpy is a library for python that makes it possible to run large computations much faster than in native python. In order to make that possible, it needs to keep its own set of data types that are different from python’s native datatypes, which means you now have two different...

nickwitha_k,

They are two different data types with potentially different in-memory representations.

nickwitha_k, (edited )

Data typing is important. If two types do not have the same in-memory representation but you treat them like they do, you’re inviting a lot of potential bugs and security vulnerabilities to save a few characters.

ETA: The WONTFIX is absolutely the correct response here. This would allow devs to shoot themselves in the foot for no real gain, eliminating the benefit of things like mypy. Type safety is your friend and will keep you from making simple mistakes.

nickwitha_k,

In an abstract sense, they do mean the same things but, in a technical sense, the one most relevant to programming, they do not.

The standard Python bool type is a subclass of the integer type. This means that it is stored as either 4 bytes (int32) or 8 bytes (int64).

The numpy.bool_ type is something closer to a native C boolean and is stored in 1 byte.

So, memory-wise, one could store a numpy.bool_ in a Python bool but that now leaves 3-7 extra bytes that are unused in the variable. This introduces not just unnecessary memory usage but potential space for malicious data injection or extraction. Now, if one tries to store a Python bool in a numpy.bool_, if the interpreter or OS don’t throw an error and kill the process, you now have a buffer overflow/illegal memory access problem.

What about converting on the fly? Well, that can be done but will come at a performance cost as every function that can accept a numpy.bool_ now has to perform additional type checking, validation, and conversion on every single function call. That adds up quick when processing data on scales where numpy is called for.

nickwitha_k,

Typing and function call syntax limitations are exactly why I hate JS.

nickwitha_k,

That is a very solid point. If user-defined types are NOT explicitly defined as compatible (supposing language support), they should not be.

In your example, if it were, say a banking system, allowing both types to be considered equivalent is just asking for customer data leaks.

nickwitha_k,

Personally, now that I have a machine capable of running the toolchains, I want to explore hardware accelerated compilation. Not all steps can be done in parallel but I bet a lot before linking can.

nickwitha_k,

That’s actually ok with me.

nickwitha_k,

But I don’t get how citing facts of what’s he done is “unnecessary” or “attempting” to make him seem better.

My take on that would be that it brings nuance and humanity to those that some auth-leftists want to hate and dehumanize. Pointing out that Biden is not a cardboard cutout of [insert chosen evil diety here] and that he has done good things makes it harder to rationalize digging in. To justify vilifying, “dunking on”, and generally bullying those who would support him (even unhappily) rather than embrace accelerationiam that would load to extraordinary harm of LGBTQ+ people with no concrete data to suggest that it would cause net benefit or leftward motion, while claiming dialectics and opposition to silencing dissent, takes a good deal of cognitive dissonance as is. Being forced to acknowledge that ramps that dissonance up higher.

(Holy long sentence Batman! Sorry about that.)

Just to be clear to auth-left folks (though any state or corpo actors can get fucked), I’m not trying to be sectarian or talk shit. This is honestly how I perceive this. Dehumanizing other leftists (or people for that matter, or hell, even bourgeois dickheads) is not something that has led to positive societal changes in history. Generally, it’s just used to justify unnecessary death and suffering. Suppressing or ignoring data (or lack thereof) is not conducive to making data-backed theses.

nickwitha_k,

Indeed. Very few people actively want to do what they think is wrong or “evil”.

nickwitha_k,

I’m going to have to come back to Nix/NixOS in a bit. I tried setting it up as a baremetal OS but clearly didn’t have sufficient understanding of the Nix DSL to get it to do what I want. Following the instructions in the manual led to a functional system missing the network stack. I’ll probably wait until the official docs catch up as it appears that they are quite a bit behind. That and I’m not sure how I feel about a DSL for package management. I’d much rather use JSON or YAML, or even INI or TOML. Maybe if I were a LISP or Haskell guy.

So, after a few hours sunk there, I switched to Fedora Silverblue, which worked out of the box and added Incus via rpm-os-tree. Just need to get the UI setup and I can start moving through my distro list.

nickwitha_k,

I call mine “A Tale of Two Dissappointments”. Was going for a literary-arthouse vibe. Most of the budget (about $5.13 and a pack of Welch’s-brand fruit snacks) went to wardrobe, leaving little for production (not to mention post-production). It went a surprisingly long way though as the miniature costumes were very light on raw materials and the labor was handled through an unpaid internship given to a student at the local Liberal Arts college that was majoring in Experimental Puppet Theater.

nickwitha_k,

He marched to encourage people to do said assassination. So, knows first hand.

nickwitha_k,

Wouldn’t gender-fluid also fall under the NB “umbrella”?

nickwitha_k,

Ok. That makes sense to me. Thank you!

nickwitha_k,

A lot simpler, IMO. That said, I’m still mainly using plain markdown.

nickwitha_k,

More of a couple of features. Python venv makes it much easier to work with third-party libraries. That said, the standard library is fantastic for everything from parsing json to subnetting to quick regex searches.

nickwitha_k,

That one isn’t Open-Source, unfortunately. Plain old MD works well, if but quite as fancy as Obsidian.

nickwitha_k,

The extra fun thing is that Americans don’t have that much lower of a tax burden. Only the wealthiest and those with investment-based income really pay appreciably lower taxes than in countries such as yours. However, the populace in the US gets far, far lower return on investment for their taxes (which has been continuously being reduced since Regan).

nickwitha_k,

I just look at it as manifestations of the corruption of the One Ring.

nickwitha_k,

I’m wondering if those complaining about the “deviation” played the same games as me. The BoS was as always a bit cultish. While I didn’t quite catch it as a kid it was pretty apparent when starting the series over as an adult.

nickwitha_k,

Really? I’m playing their FNV now and have meet Mr. House. That part seems to match up pretty well.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • tacticalgear
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • Durango
  • cubers
  • Youngstown
  • mdbf
  • slotface
  • rosin
  • ngwrru68w68
  • kavyap
  • GTA5RPClips
  • provamag3
  • ethstaker
  • InstantRegret
  • Leos
  • normalnudes
  • everett
  • khanakhh
  • osvaldo12
  • cisconetworking
  • modclub
  • anitta
  • tester
  • megavids
  • lostlight
  • All magazines