sorted by: new top controversial old

My apologies. Your comment came off (to me anyway) as the former.

Fair enough. We all have our preferences. :)

[-] EveryMuffinIsNowEncrypted@lemmy.blahaj.zone 10 points 2 days ago* (last edited 7 hours ago)

ProtonVPN also has port-forwarding.

That being said, last time I tried it, their Linux GUI was abysmal, though I hear they recently did a revamp. I haven't used it yet though so I can't speak on it beyond that.

Just something to keep mind.

 


Edit: Syntax.

[-] EveryMuffinIsNowEncrypted@lemmy.blahaj.zone 1 points 2 days ago* (last edited 2 days ago)

I don't mind self-learning. Hell, if I'm interested in the subject matter, I usually find myself experimenting and researching.

I'm all about that "wait, I wonder if..." mindset. 😎

[-] EveryMuffinIsNowEncrypted@lemmy.blahaj.zone 1 points 2 days ago* (last edited 2 days ago)

I work as a cashier at a dead-end retail store in a town of 5000. (Seriously, the closest reasonably large city is like 30 minutes away.) So I don't think there's much of an opportunity at my current workplace. Haha.

But you still make an excellent point and it sounds like a good starting-off point. Thank you!

[-] EveryMuffinIsNowEncrypted@lemmy.blahaj.zone 1 points 2 days ago* (last edited 2 days ago)

I didn't know that. Thanks!

Which distros, out of curiosity?

I really appreciate the effort! My dream is to eventually learn enough from free online courses to then take a certification test and then maybe I can get a job even though I don't have a degree. I fear my lack of a degree will doom that goal before I ever get a chance, but I have to take that chance, I feel. Also, I fucking hate customer service. Lol.

[-] EveryMuffinIsNowEncrypted@lemmy.blahaj.zone 4 points 3 days ago* (last edited 3 days ago)

Honestly, I had a bunch of little confusions. I thought the input() function was only a string until the user typed in a value when prompted, and then it became either an integer value or a floating-point value depending on what you typed in.

Thanks to Labna@lemmy.world and your other response, I understand that it is always a string regardless until you convert it after the fact.

Also, I meant to type an asterisk instead of a plus sign when typing over my code snippet into my post. Fixed now.

Also, to answer your last question, if I do h+r or h*r, I get "5010" for the former (which makes sense) and the standard "can't multiply sequence by non-int of type 'str'", which also makes sense to me now that I understand the above point.

7
submitted 3 days ago* (last edited 3 days ago) by EveryMuffinIsNowEncrypted@lemmy.blahaj.zone to c/python@programming.dev

I'm currently doing Dr. Charles Severence's lessons on FreeCodeCamp to try to learn Python3. I'm on lesson exercise 02_03 and confused about multiplying floating-point and integer values.

The goal is to write a Python program multiplying hours worked by pay rate to come up with a pay quantity.

This is the code I wrote:

h = input("Enter hours: ")
r = input("Enter pay rate: ")
p = float(h) * r

I got a traceback error, and the video said the correct way to solve said error was change Line 3 from p = float(h) * r to p = float(h) * float(r).

However, what I'm confused about is why would I need to change r to a floating-point value when it's already a floating-point value (since it'd be a currency value like 5.00 or something once I typed it in per the input() command*?

What am I missing here?

 


*I can't remember: are the individual commands in a python line called "commands"?

 

 


Edit: Wrote plus signs in my post here instead of asterisks. Fixed.

 


EDIT: Thanks to @Labna@lemmy.world and @woop_woop@lemmy.world. I thought that the input() function was a string until the end-user types something in upon being prompted, and then becomes a floating-point value or integer value (or stays a string) according to what was typed.

This is incorrect: the value is a string regardless of what is typed unless it is then converted to another type.

41

I'm currently learning Python and am learning about very basic functions such as int(), float(), and input().

I have the first two down pat, but I'm struggling to understand the last. The example I'm looking at is found at 12:26 of this video:

nam = input('Who are you? ')
print('Welcome', nam)

Who are you? Chuck
Welcome Chuck

In this case, wouldn't nam be a variable equal to the text on the right side of the = sign?

In which case, if nam is equal to input('Who are you? '), then wouldn't print('Welcome', nam) just result in

Welcome input(Who are you? )?

Obviously not (nor does it work in a compiler), which leads me to believe I'm clearly misunderstanding something. But I've rewatched that section of the video several times, and looked it up elsewhere on the web, and I just can't wrap my head around it.

Could someone help me with this?

Thanks.

83

I'm currently learning how to code (currently Python, then maybe JavaScript), but I'm not always around my desktop, and learning on my phone is not always an option (also, it can be quite cumbersome at times). Therefore, I'm looking into purchasing a laptop just for learning how to code and stuff.

I don't want to get a Chromebook because I want to be able to wipe the drive and install Linux on it (probably Linux Mint). Maybe it's changed since 2013, but the last time I had a Chromebook, it was a pain in the ass to install even bog-standard Ubuntu on it.

Problem is, I'm also heavily limited by space & budget: no more than 11 in (280 mm) total laptop width and 330 USD base price.

Does anyone have any suggestions?

Please forgive me if this is not the right space for this kind of question. Lemme know if it is and I'll delete it. :)

18
submitted 5 months ago* (last edited 5 months ago) by EveryMuffinIsNowEncrypted@lemmy.blahaj.zone to c/piracy@lemmy.dbzer0.com

To start off, I just want to say that Kega Fusion is a wonderful emulator for pre–Sega Saturn emulation. However, the fact that it is not open-source concerns me. What if something happens and the person is required to take it down? (Not likely after 14 years but still...) Or hell they just decide to take it down for whatever reason. (Again, not likely after 14 years, but still...)

I still am using it, but it would also be nice to have an alternative if the worst were to happen, or hell just in case there's a person out there who would prefer a different emulator.

Unfortunately, the Megathread is kind of...lacking in this department. In the Sega subsection, it lists three emulators: two for the Dreamcast and one for the Genesis / Mega Drive and below.

So, yeah, does anyone know of any alternatives we could add to the Megathread?

(On the same note, I'd also like to add that Yabause seems a decent enough emulator for the Saturn, none of for which are included on the Megathread. (Not sure if my syntax was correct there... :/ ))

116

I remember back in the day the emulator Snes9x was one of the best emulators for Super Nintendo emulation, but it's not on the Megathread. Is it no longer trustworthy or was it just missed?

Sorry if this was already asked in this community. I would've searched but Lemmy (or at least my Lemmy instance, I suppose) doesn't seem to have a search function for intra-Community searching.

Cheers.

44
submitted 7 months ago* (last edited 7 months ago) by EveryMuffinIsNowEncrypted@lemmy.blahaj.zone to c/piracy@lemmy.dbzer0.com
  • In the Megathread, section 3-12 (Unsafe Sites), under "All Purpose", the first entry is 1377x-to, reason listed as

    Fake clone: (Crafted with cunning intent to ensnare unsuspecting users through deliberate deception).

  • However, in the Megathread, section 3-1 (All Purpose), under "Torrents", likewise the first entry is 1377x-to.

 


Edit:

Lol, got the characters mixed up, I guess. Whoops. Well, to all the people being nice about it and kindly letting me know, thank you very much!

To all the people being dicks about it (concerningly a lot of you it seems ಠ_ಠ), maybe learn a bit of humility. Some people mix up similar-looking characters in their heads. It's a thing that happens.

228
submitted 10 months ago* (last edited 10 months ago) by EveryMuffinIsNowEncrypted@lemmy.blahaj.zone to c/lemmyshitpost@lemmy.world
3

I'm well aware that I can rip most Blu-rays with MakeMKV and then convert to mp4 with Handbrake; however, the former just rips everything raw from the disk so the file size is humongous and the conversion via Handbrake for just a single file is terribly long and puts a lot of strain on my computer.

I've heard that EaseFab LosslessCopy is decent, but they only have a Windows and a Mac version, and I'm unsure how well it'd run under Wine.

I am willing to pay for it, but only as long as it's not a subscription thing. Has to be a one-time payment.

Does anyone know any decent Blu-ray ripping software that fits these conditions and run well on Linux? Specifically, it would be either Pop!_OS or Linux Mint. (I'm still using Windows because I want to figure out some software alternatives before I do so I'm not caught with my pants down, so to speak.)

view more: next ›

EveryMuffinIsNowEncrypted

joined 1 year ago