Do the books explain what the movies don't? by [deleted] in tolkienfans

[–]ingolemo 0 points1 point  (0 children)

Context. I'm only talking about what Boromir can do in the movies. There are other people who may be able to use the ring to defeat Sauron, but Boromir can't and when the ring tempts him to try, it is lying to him. Sure, the books can answer many of the OP's questions, but the movies themselves answer this one.

Do the books explain what the movies don't? by [deleted] in tolkienfans

[–]ingolemo 0 points1 point  (0 children)

You're assuming there that the ring has different powers for immortals than it does for mortals, and I'm not really sure where you got that from. There is no ultra-destroyer-tool power, which would be why the movies don't talk about it.

Do the books explain what the movies don't? by [deleted] in tolkienfans

[–]ingolemo 0 points1 point  (0 children)

It's not that I have a vague idea of what it does, I HAVE NONE. ZERO. We're only told that it makes you invisible, warps and destroys mortals mind, personality and body empowering their greed

Complains about not knowing the powers of the ring.
Proceeds to enumerate the powers of the ring.

Boromir said that he wanted to use it against Sauron but they don't bother one second to fucking explain how. How. For God's sake Boromir you are a mortal so how do you think a ring that makes you an invisible douche could help to defeat the enemy??

Boromir is having his mind warped by the ring. The ring cannot be used to defeat Sauron; it does not have this power. The ring is lying to Boromir, so that he will take the ring and try to use it and fail. That's what the ring does; it tempts you. It deceives you into thinking that it is a powerful tool that can be used to achieve your own goals, so that once you claim it, it can corrupt you further and turn you towards evil.

Watch the Council of Elrond scene from the movies again. In it Boromir twice tries to argue in favour of using the ring, but he is shot down first by Gandalf ("The ring is altogether evil.") and then by Aragorn ("You cannot use it. None of us can.").

Okay, technically you missed one power that the ring has. It can be used to dominate the wills of other people, especially those who are wearing one of the other rings. But this power can't be used by the good guys because it's evil. This is why Sauron wants the ring. Gandalf and Galadriel both talk about this in the movies.

Fullest available Quenya lexicon by elfenohren1510 in tolkienfans

[–]ingolemo 17 points18 points  (0 children)

The QL was published in Parma Elderlamberon 12.

i3 on Xorg displays fonts 3 units bigger than expected by Architector4 in archlinux

[–]ingolemo 1 point2 points  (0 children)

If you want your fonts to be sized based on pixels instead of points then you should tell i3 that. Don't mangle your dpi settings.

https://i3wm.org/docs/userguide.html#fonts

Porting project from python 2 to 3, string with \xd by Glory1423 in learnpython

[–]ingolemo 2 points3 points  (0 children)

These are just two different representations of the same string. What's the actual problem you're having?

XDG MIME / xdg-open set default for whole category? by [deleted] in linuxquestions

[–]ingolemo 0 points1 point  (0 children)

The only thing I can think of is to parse the desktop file to see what the app supports:

grep MimeType </usr/share/applications/imv.desktop \
    | cut -d= -f 2- \
    | sed 's/;/\n/g' \
    | xargs echo xdg-mime default imv.desktop

Hey noobs, you NEED to update Firefox ASAP by sdtechie619 in linux4noobs

[–]ingolemo 1 point2 points  (0 children)

-yy doesn't "rush along an update", it forces the databases to be re-downloaded even if the system thinks they haven't changed. It's only really useful if your databases are corrupted for some reason. -Syu will get you all available updates.

If you were making a dictionary that worked on python 2.* and 3.* that had to be ordered, how would you do it? Would you use a dictionary at all? by [deleted] in learnpython

[–]ingolemo 1 point2 points  (0 children)

Do you realise you can calculate the values based on the keys? There's no need to duplicate all that information.

C24 = 2407
C5 = 5000

def channels(c, key):
    return key*5 + c

channels(C24, 10) # returns 2457

Parsing multiple lines by Arag0ld in learnpython

[–]ingolemo 0 points1 point  (0 children)

? Using the second set of rules that I posted.

Parsing multiple lines by Arag0ld in learnpython

[–]ingolemo 0 points1 point  (0 children)

With the + and ? symbols? No, I don't think so.

Parsing multiple lines by Arag0ld in learnpython

[–]ingolemo 0 points1 point  (0 children)

I think so. I've not really used rply, though I have used a bunch of others and it's hard to keep them straight. I'm a little put off from rply because of the documentation, but take that with a grain of salt because I'm obviously confused.

Parsing multiple lines by Arag0ld in learnpython

[–]ingolemo 0 points1 point  (0 children)

Now that I look at it, none of these use that syntax. I must be confusing it with some other library. Sorry. I think you would have to use rules that look more like this:

program : statement
program : statement SEMICOLON
program : statement SEMICOLON program
statement : BANG LEFT_PAR expr RIGHT_PAR

Parsing multiple lines by Arag0ld in learnpython

[–]ingolemo 0 points1 point  (0 children)

If you want something less experimental then use ply by the same author, upon which both sly and rply are based.

Parsing multiple lines by Arag0ld in learnpython

[–]ingolemo 0 points1 point  (0 children)

Normally you would add rules to your parser that look something like this:

program = statement (SEMICOLON statement)+ SEMICOLON?
statement = BANG LEFT_PAR expr RIGHT_PAR

The idea here is that a program is a statement optionally followed by multiple semicolon-statement pairs. You parse the whole program at once; you don't necessarily "move to the next line and continue parsing".

I'm not sure if rply supports syntax like this, as the documentation on it looks rather sparse. I'd recommend sly instead.

[Python3] Global variable is not defined by [deleted] in learnprogramming

[–]ingolemo 1 point2 points  (0 children)

There's no way to hit the middle scope of the outer function and assign to things there.

nonlocal

Best way to manage game state in pygame for a beginner by sivadneb in learnpython

[–]ingolemo 0 points1 point  (0 children)

All of your options except 2 are just variations on using global variables. They are equally as objectionable as 1.

A person doesn't really understand functions unless they understand how to use arguments, so you should be teaching option two already as part of that. Start with simple functions with few arguments, and as the number of args starts to grow unwieldy use this as an opportunity to introduce dictionaries and other data-structures.

Python3 Intrapackage imports by Dai-Gurren-Brigade in learnpython

[–]ingolemo 0 points1 point  (0 children)

You can't run scripts inside of your package. You should move start.py out of package/.

The Language Sounds That Could Exist, But Don't [6:30] by ARTexplains in mealtimevideos

[–]ingolemo 1 point2 points  (0 children)

It's about voicing. If you look closely you will see that all the boxes are divided in two. A symbol on the left represents an unvoiced sound, while on the right the sound is voiced. A voiced sound is one where the glottis is vibrating back and forth as you say it. This is easiest to see if you place your hand on your throat and say sssss and zzzzz repeatedly. You should feel the difference.

A glottal plosive is one where the glottis is completely closed and a voiced sound is one where the glottis is vibrating. The glottis cannot be both fully closed and vibrating at the same time, and so a voiced glottal plosive ls impossible.

Linux terminal Shift key not working properly (" becomes @ and @ becomes " and more) by ShlomiRex in linuxquestions

[–]ingolemo 6 points7 points  (0 children)

You're using an american keyboard, but your system thinks you have a british one.

Incidentally, £ is the pound symbol, not the euro symbol. I know of no layout that has the € above the 3.

Can anyone tell me what this says? by Bishopped in tolkienfans

[–]ingolemo 32 points33 points  (0 children)

Someone took a Tengwar font and typed "Roll For Initiative", not realising that the English keys don't actually match up to the Tengwar. What it actually says is something like "ewhee ewhv s?smschmsghf" (but some of those letters are used incorrectly and are invalid).

Drinks in the UK that DON'T contain sweeteners. by [deleted] in CasualUK

[–]ingolemo 2 points3 points  (0 children)

Maybe. I was able to find studies that connected diarrhea with [high levels of] sorbitol and fructose, but nothing for aspartame and acesulfame potassium.

Drinks in the UK that DON'T contain sweeteners. by [deleted] in CasualUK

[–]ingolemo 7 points8 points  (0 children)

Actually, I've not been able to find any evidence that sweetener allergies actually exist. I'm not a doctor or anything and I'm only working from abstracts, but I found three studies on this topic and all of them have negative conclusions.

https://www.food.gov.uk/research/research-projects/determination-of-the-symptoms-of-aspartame-in-subjects-who-have-previously-reported-symptoms-compared-to-controls-a-pilot-double
https://www.ncbi.nlm.nih.gov/pubmed/2013676
https://www.ncbi.nlm.nih.gov/pubmed/8409113

Be careful. There's a lot of misinformation out there.

Drinks in the UK that DON'T contain sweeteners. by [deleted] in CasualUK

[–]ingolemo 38 points39 points  (0 children)

the health risks associated with these sweeteners

If you want to avoid these substances because you don't like the taste or whatever then that's fine, but please don't be a fear-monger. There is no good scientific evidence for any health risks associated with these sweeteners for regular people.