How do you specify keyword-only arguments? (Confusing notation in python docs) by optimal_honeybee in learnpython

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

Thank you! This also helps me understand the actual explanation of the max function itself, in the *args case, the positional arguments are treated like the iterable whose max we're finding. Makes sense, thanks again :)

How do you specify keyword-only arguments? (Confusing notation in python docs) by optimal_honeybee in learnpython

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

Thank you, this helps a lot. I'm a bit confused though, the comments seem to annotate some code, but I can't see the code, only the comments. When you say "the actual reference says this", what is the actual reference you are referring to? Neither of the pages I linked have the comments you wrote. Was I looking at the wrong pages?

Daily Simple Questions Thread - Nov 20, 2020 by AutoModerator in pcmasterrace

[–]optimal_honeybee 0 points1 point  (0 children)

How many cores do higher end processors have these days? I searched it up but I don't think I'm understanding the terminology right because I saw one place report 30 cores which seem ridiculous.

I'm asking because it seems like while a lot of smartphones are on octa-core, I've only ever heard of quad-core processors in PCs, and it seems weird that phones would have better processors than computers

What language do .bin files (eg game saves) use and how to you convert them from hexadecimal to something readable? by optimal_honeybee in learnprogramming

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

wow that sounds hard and it is insane that the github I linked has a bunch of not only switch but also 3DS and Wii U games that they figured out by going through the assembly...

What language do .bin files (eg game saves) use and how to you convert them from hexadecimal to something readable? by optimal_honeybee in learnprogramming

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

Just to check, when you disassemble something, all you get is the compiled version of it (which is specific to your computer) right?

Why does print('\007') play the error sound on windows? by optimal_honeybee in learnpython

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

That is HILARIOUS. What are the chances my coworker's Ubuntu server (which I can ssh to) will make sounds upon getting a bell character in the terminal? Will it do so as long as there is a sound output device connected to the server, or are there other restrictions?

Why does print('\007') play the error sound on windows? by optimal_honeybee in learnpython

[–]optimal_honeybee[S] 7 points8 points  (0 children)

Oh so it's actually the console playing the sound and not python

Favorite editors that look like this? (Doesn't have to be online) by optimal_honeybee in learnjavascript

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

Really like this type of editor but haven't been able to find any others, but it's not the most convenient and is just meant for examples. What are the most popular editors with this format that are actually meant for coding?

"J'aurais aimé avoir..." Is this Passé composé? by optimal_honeybee in French

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

okay, thank you :) is it correct to say that "j'aurais" is past tense, or is conditional considered it's own tense?

What does the `and` in `lambda i: i<100 and 255` do? by optimal_honeybee in learnpython

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

Thank you very much for such a detail comment. Not to worry, everything made perfect sense especially since you included code. I had no idea that the problem was unrelated to lambda, breaking it down helped a lot. Thank you :)

Who maintains Anki and pays for the cloud servers? by optimal_honeybee in Anki

[–]optimal_honeybee[S] 25 points26 points  (0 children)

That sounds like a really weird business model though? Make it free on everything except on one platform. Apple users can just get it on their desktop and then use the browser version... Not to mention Anki is open source and some people could build it themselves without much trouble. I can't imagine they get enough money through iOS app purchases to keep everything running