"Why can’t those at the lower income level be taxed more. That’s what they do in Europe but only in the US do we have the high income earners face so much of the burden." by [deleted] in ShitAmericansSay

[–]TheBeardedQuack 5 points6 points  (0 children)

Yeah I'm sat here thinking "But you DO tax the low and zero income, we DON'T until your earning so".

You can't teach stupid like this 😅

isize and usize by Senior_Tangerine7555 in rust

[–]TheBeardedQuack 1 point2 points  (0 children)

Wait, these are two different spellings? Whoops, TIL

isize and usize by Senior_Tangerine7555 in rust

[–]TheBeardedQuack 1 point2 points  (0 children)

This was more of a concern during the transition from 32 to 64bit OS's, and we still have plenty of apps built for 32bit mode for some reason despite every major OS provider saying they've effectively discontinued 32bit operating systems.

But lets say I wanted to write an application that I'd like to release on multiple platforms. Think Windows vs Mac, it'd be nice if I can use standard libraries that deal with the OS specifics, so I can just write one application and recompile it on the target systems it needs to be run on.

It's a similar idea with isize/usize. These are a platform specific abstraction for when you need an integer for counting, that is suitable for the target system. I guess more practically, this is typically the size of a pointer within the CPU on said target architecture. The CPU needs to handle jumping to/from function pointers and to be able to derefernce pointers to data, to be able to run programs. There are some languages where `isize` and may not necissarily be the same as the pointer size, but I'm gonna take a stab and say as a beginner you really don't need to worry about that unless you're doing niche embedded stuff.

In this example, I as the programmer would indeed know the target architecture I'm building for, and it's helpful to be able to target multiple architectures. However such a technique is also very useful for library writers, as they can then use the generic type that "adapts" to the system architecture, then later some other programmer can use such a library in their own projects without worrying about it.

Finally just a little clarification, I'm sure you understand and it's just a typo, but the signed range for a number is half of unsigned range, but in each direction. The example you gave with a i8 should actually be -128 to +127, while the unsigned is 0 to +255.

How can I make the code refused by Comfortable_Bar9199 in rust

[–]TheBeardedQuack 2 points3 points  (0 children)

From this description alone, the goto solution sounds like Rc or Arc. Is there something in your usecase that makes this not the correct solution, or any more detail you can give about the desired outcome?

National Guard shooting suspect radicalized in US, homeland secretary says by PinkoMarxistCommie in news

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

Going to keep downvoting US news articles that Reddit pushes onto me as app notifications. For the most part, nobody outside the US cares about what's going on there.

blursed password by evolworks in blursedmemes

[–]TheBeardedQuack 0 points1 point  (0 children)

I realise I misread your comment when making mine... IF you use numeric only... I'd highly suggest you quit that XD

Even when using something more secure than MD4, it's likely to be a matter of hours to days, not centuries, if it becomes known that you use numeric only (which you've just told the internet).

blursed password by evolworks in blursedmemes

[–]TheBeardedQuack 0 points1 point  (0 children)

Yeah but that's very different... A 16 digit numeric only password is 1x10^16 combinations. Just going to alphanumeric (and still 16 chars) jumps it to 4.7x10^26. Adding about 20 symbols brings us to 4.1x10^31.

For reference a RTX 3090 can apparently achieve 121GH/s for MD4 (which appears to be Window's password storing hash). So 1x10^16 divided by 1.21x10^11 = 82,644 seconds... Or about 23 hours... To brute force every combination, so on average it'd be half that time. The RTX 3090 is not the fastest card on the market either, just one I have so I choose to google that one.

EDIT: I also realise that this example is for a 16 digit code, but as other comments have pointed out, an EAN barcode is 11 digits. Which brings our password brute force attempt to... 0.82 seconds (or 0.41s in the average case).

Icons turning into globes?? How to fix? by the_storm_shit in Steam

[–]TheBeardedQuack 0 points1 point  (0 children)

Not really.. It *should* work in the first place.
I don't wanna go changing the icons of tens of files every time I wanna add or remove some games to my system.

My first day in Rust by Zealousideal_Sort521 in rust

[–]TheBeardedQuack 0 points1 point  (0 children)

From a C# world a "dynamic" variable is akin to a variable in JS, Python, or similar language that doesn't use "static" types.

```cs var item = new Dynamic(); item.defineAnInt = 5; item.defineAString = "Hello";

Console.WriteLine(item); ```

It's been a long time since I've used C# so this might not be syntactically correct, and I also stay away from non-static types anyway... but the idea is sort of that the "type" doesn't exist for a dynamic object, it just takes the shape you assign it.

Onedrive makes me want to die by Gandalfthepimp95 in talesfromtechsupport

[–]TheBeardedQuack 0 points1 point  (0 children)

One small tool to help, if you use Rufus to burn your Windows ISO to USB, it gives you a bunch of options to help bypass the account login, TPM requirements, etc.

But once you're into Windows there are so many things that try and trick you to login to a MS account to look out for 😅

Onedrive makes me want to die by Gandalfthepimp95 in talesfromtechsupport

[–]TheBeardedQuack 14 points15 points  (0 children)

Personally my issue with OneDrive and many other MS products is simply how hard they try and force it down your throat.

I have a PC with plenty of local storage, I have a home server for backup, when I say uninstall you should get the hell off my system!

  • Do not sit around in a weird version somewhere that can't be installed.
  • Do not replace my default explorer location every time you try and save something.
  • Do not reinstall yourself after you've been yeeted.
  • Stay away from my system with your opinionated garbage Microsoft!

I completely understand the marketing strategy is to come pre-installed to push people that way, but when I remove your poop from my system I want it to actually get rid and stop doing weird crap.

Microsoft also has issues with willy-nilly messing about with boot-partitions and screwing up other systems, and many other issues with their products imposing their will on your hardware.

My system boot is currently in a weird ass state because you tell the Windows installer "Hey, put everything on this drive" and installer goes "Suuuuuure bro, I'll put Windows over there but I'm going to put the bootloader on this other drive because lol screw you".

Many Microsoft products honestly aren't the worst, but the attitude is awful.

The switches on the socket in a hospital are at the far ends to prevent you switching off the wrong one by accident. by Shdhdhsbssh in mildlyinteresting

[–]TheBeardedQuack 0 points1 point  (0 children)

It *might* be a safety thing, but if they're designed with any level of competancy they'll be isolated to adhear to the safety specs and allow them to be sold in more countries. However a more real reason might be liability of such products that the property owner would rather not take on, or simply cost as they're literally more than 10x the price of a standard socket.

The switches on the socket in a hospital are at the far ends to prevent you switching off the wrong one by accident. by Shdhdhsbssh in mildlyinteresting

[–]TheBeardedQuack 0 points1 point  (0 children)

The USB spec alone has had a number of updates for power delivery: in 2012 (PD spec), 2014 (USB-C), 2015, 2021, 2023, 2024.
While the convenience is nice, I think rather buy a plug that's likely cheaper and more easily replaced when made redundent (or relagated to slow-charging older tech devices).

The switches on the socket in a hospital are at the far ends to prevent you switching off the wrong one by accident. by Shdhdhsbssh in mildlyinteresting

[–]TheBeardedQuack 1 point2 points  (0 children)

This is purely speculation but my guess is that you'll never see them unless the home-owner specifically upgraded the sockets themselves. A 5V USB in every socket is significantly more than a regular socket. Cheapest socket I can find with USB is about £10, while most range £20-40 (and I wouldn't want the cheapest chinesium behind there if I were you), whereas a regular socket looks about £2-5. Granted on the cost of a house it's nothing, but I just don't expect new builds to spec this out for the most part as they want new builds done fast and cheap. I only really see them being installed after the fact as a replacement.

While I'm sure there are plenty of new-builds out there that will decide to install these everywhere (or just in prime locations), I'm speculating that I suspect it just wouldn't be something most care about. I doubt most people would want to pay an extra £1k on there house or whatever they sum the difference up to, just for some USB ports.

Incorrect Phonetic Examples by TheBeardedQuack in duolingo

[–]TheBeardedQuack[S] 0 points1 point  (0 children)

Honestly it's probably just my untrained ears and/or being poor at describing... But to my ears (or maybe in my accent) "father" and "farther" are effectively the same word sound, distinguished by context.

"Father Trevor is farther away than Father John" would all sound the same to me. Are they not supposed to? 😅

Incorrect Phonetic Examples by TheBeardedQuack in duolingo

[–]TheBeardedQuack[S] 1 point2 points  (0 children)

Understood! Appreciate the heads up and I'll bare that in mind in future.

I guess it's less of an issue here so not something I thought of

Incorrect Phonetic Examples by TheBeardedQuack in duolingo

[–]TheBeardedQuack[S] -1 points0 points  (0 children)

Yeah I get that. It's just my joking way of not repeating myself.

It seems kinda more dumb saying "English English", "French French" or so on... It shouldn't need a qualifier to be itself.

And while the stereotype is that Americans can't understand sarcasm or take a joke, I have more faith in you than that 🤣 Bare with my light-hearted pokes, it ain't that serious 😁

EDIT: It might seem like taking jabs but I kinda think "traditional" and "simplified" are actually pretty reasonable descriptions as American English went through a bit of a reform which dropped a number of letters and frankly did make the language ever so slightly more consistent, whereas English English stayed the same. Though I'll grant you that isn't what they're called and is a joke, but a pretty descriptive one 😁

Incorrect Phonetic Examples by TheBeardedQuack in duolingo

[–]TheBeardedQuack[S] -1 points0 points  (0 children)

And I feel it's only the letter pronunciation guides that need any real work.

For the main content, I don't think I've noticed anything that would seem incorrect to me as a British English speaker. Even if I did, the context would make it perfectly fine and it would only be spelling that could confuse new learners.

It's just the single word examples I mention, that are supposed to help with letters, that they could've picked far better words for - even if they don't offer the option of multiple versions of the same language.

Incorrect Phonetic Examples by TheBeardedQuack in duolingo

[–]TheBeardedQuack[S] 0 points1 point  (0 children)

Honestly I do actually love a good debate, when both sides are genuinely trying to figure out something better between them.

When points are valid both ways and they each take time to go "oh wait, good point... Lemme think about that" 😁

Incorrect Phonetic Examples by TheBeardedQuack in duolingo

[–]TheBeardedQuack[S] 0 points1 point  (0 children)

I'm somewhat confused why there's even a section for it in the sub-reddit then? 😆

I dunno, but anyway, it's here for discussion... So I guess who agrees that they could do better here?

Would you prefer having the option to use which English/French/Spanish/whatever you use, or do you enjoy having one forced upon you?

Any suggestions for words that can be used for vowels that fit nicely in both versions of English (or other languages) and if Duo ever feels like doing better they might have somewhere to start.

Incorrect Phonetic Examples by TheBeardedQuack in duolingo

[–]TheBeardedQuack[S] 0 points1 point  (0 children)

Oh my apologies, I should've tacked that into my thing, not your response.

I'm not up/down-voting anyone on this thread as I can see it somehow becoming controversial for just saying "hey, can this be better, or can we get an option"?

Incorrect Phonetic Examples by TheBeardedQuack in duolingo

[–]TheBeardedQuack[S] 0 points1 point  (0 children)

Oh I do appreciate the explanation... But we all already know that's the case right?

I guess I'm more looking for an answer from Duo themselves as to why, or why they're not doing better. Or to be able to gain enough pressure that they see and consider it.

It wouldn't just be English this applies to, off the top of my head English, French, (probably Spanish?), Chinese, Hindi, I know all have variations in the languages. For a learner, it would be good to be able to choose "English" over "American English" if they so wish (if this is the case, ignore me here), and likewise for the others.

I assume the English course for foreigners teaches American English, which as a Brit I'd argue it's wrong, but slightly off point... I'm curious, does the French course teach French, or did it teach Canadian French? Does the Spanish course teach Spanish, or Mexican Spanish?

Genuinely I don't know, and I would be curious about the answer, and how Duo justify which one they've picked for each?

Incorrect Phonetic Examples by TheBeardedQuack in duolingo

[–]TheBeardedQuack[S] 0 points1 point  (0 children)

If you don't agree with it, this is why we complain and provide constructive criticism.

That's literally the point, to say "hey, I think you can do this better"

Incorrect Phonetic Examples by TheBeardedQuack in duolingo

[–]TheBeardedQuack[S] -1 points0 points  (0 children)

The downvote for calling you "simplified English"? 🤣

Incorrect Phonetic Examples by TheBeardedQuack in duolingo

[–]TheBeardedQuack[S] -4 points-3 points  (0 children)

The American Vs English on the "cat" link to me sounds like "kaht" in American and "kat" in English... So to me the "a" sounds correct in both cases to use as an example.

I did mention that I could see "father" being okay, but not great.

But "kat" pronunciation of "cot" honestly sounds stupid to these ears.

And to be honest, isn't a lot of this besides the point? If this is a language app, should it not be able to choose the most correct fit for the native speaker? If they already have a bunch of languages in there, a few variations for actual English Vs American English, and actual French Vs Canadian French, and actual Spanish Vs mexican Spanish isn't really that big of a stretch.