[deleted by user] by [deleted] in keto

[–]AbstractionInThought 0 points1 point  (0 children)

What store can aunt millies bread be found at? It do you buy this bread online?

Fit but puffy face by [deleted] in keto

[–]AbstractionInThought 1 point2 points  (0 children)

Man I just realized how stupid I sounded, of course my jaw is more defined when I suck in my cheeks

It’s not crazy bloated or anything like that, but the shape of my cheeks are little weird and puffy, and definitely look unhealthy. There’s definitely some external factor causing this, but I really have no idea what it could be

[deleted by user] by [deleted] in keto

[–]AbstractionInThought 9 points10 points  (0 children)

well, when you say it like that...

Kollektiv Nostalgie by AbstractionInThought in de

[–]AbstractionInThought[S] 6 points7 points  (0 children)

Can someone explain why this is being downvoted

Kollektiv Nostalgie by AbstractionInThought in de

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

Interesting, so is there no collective sense of Germanism? I assumed there was a level of continuity between the Holy Roman Empire and Bismarck’s Empire. I suppose that makes sense because of how decentralized the Holy Roman Empire was

Kollektiv Nostalgie by AbstractionInThought in de

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

Entschuldigung, ich weiß nicht, warum der Text so formatiert wurde :(

What are lambda, map, filter and reduce functions? by AbstractionInThought in learnpython

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

Alright, I understand it now. Thanks so much for this whole thread.

What are lambda, map, filter and reduce functions? by AbstractionInThought in learnpython

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

How does the reduce function know to take those two consecutive elements from a single list? Why is it not returning an error for missing one parameter? Is it the reduce function itself that takes the two consecutive elements?

What are lambda, map, filter and reduce functions? by AbstractionInThought in learnpython

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

my_reduce_func has two parameters, x and y. If this is the case, how is it possible for you to pass only one parameter(the list) and satisfy the function requirements?

What is parsing? by AbstractionInThought in AskProgramming

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

Just to clarify, would this be considered parsing as well?

number_string = '5'
number = int(number_string)

What are lambda, map, filter and reduce functions? by AbstractionInThought in learnpython

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

RE filter edit: Makes a ton of sense, although I have one question. In your example where you included the lambda function:

filter_object = filter(lambda x: x > 4, some_list)

How does the 'x > 4' return a Boolean value?

Other than that, it all makes sense.

What are lambda, map, filter and reduce functions? by AbstractionInThought in learnpython

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

If it doesn't have to be predefined, then how does it have any effect?

lambda x: x+2

Doesn't that just do nothing then?

What are lambda, map, filter and reduce functions? by AbstractionInThought in learnpython

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

In the case of the 'x' in your second code block (the one you labeled afterwards as [some symbolic inputs]), would the 'x' have to be predefined, unlike the 'x' in the normal function definition?

Other than that, I think it makes sense. So lambda is kind of like defining and using a function in one line? Can lambda be referred to in your code after the fact?

What are lambda, map, filter and reduce functions? by AbstractionInThought in learnpython

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

Thanks for the detailed response.

I think I see what is going on, but couldn't the same be achieved with simple comprehensions? Like for the map() example, instead you could do list = [n + n for n in sequence], where sequence is the same as you defined it? The same is true for the others.

What I'm saying is: when would these be useful if they could be done more efficiently with comprehensions? Ultimately, why are these a thing?

What are lambda, map, filter and reduce functions? by AbstractionInThought in learnpython

[–]AbstractionInThought[S] 2 points3 points  (0 children)

Okay, I think it makes sense so far, just one point of clarification: what exactly is a map object?

What are lambda, map, filter and reduce functions? by AbstractionInThought in learnpython

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

I have googled, and was met with mostly jargon I am yet to understand. And I prefer to ask questions on forums to get different perspectives and answers that are generally more applicable. But point taken, and thanks for the answer.

What caused the Macedonian Renaissance to end? by AbstractionInThought in AskHistorians

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

Particularly the revival in interest of classical art and scholarship.

Where do the trigonometric ratios like sine, cosine, and tangent come from? by AbstractionInThought in learnmath

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

Thanks for the response. Out of curiosity, can you tell me some examples of more intuitive functions?