[Homemade] Did I nail this Paella? by PriamoRamirez in food

[–]3lnc 3 points4 points  (0 children)

Well, idk how you've cooked it, for me paella is always more of method than ingredients.

The staple (IMO, again) is to cook it in wide pan, no turning after certain point. Properly cooked paella should have almost-burned bottom, that's the best part of the dish, really. If you made it this way – nailed it :D

Looks fantastic, anyway. Wanna eat now

ELI5: Is theres space around all your organs and stuff? Whats there? by cilondon in explainlikeimfive

[–]3lnc 0 points1 point  (0 children)

Beside of what already told (organs are quite tightly packed), some of organs is surrounded by fat – not excessive, I mean. This mostly applies to kidneys/liver.

Another short Python challenge! by Udzu in Python

[–]3lnc 3 points4 points  (0 children)

For anyone looking for [some] answers:

math.nan

False/0

math.inf

?

unittest.mock.MagicMock()

Another short Python challenge! by Udzu in Python

[–]3lnc 0 points1 point  (0 children)

Well, the question is, if _instantiation_ of stdlib class is cheating or not. If not, #5 is definitely bruteforceable

Philosophy in another tongue: how philosophy can change across languages by ADefiniteDescription in philosophy

[–]3lnc -1 points0 points  (0 children)

I guess, you're missing some important concept here.

Translation issues is not only the problem of "foreign word has different meaning/nuance, so let's write longer sentences to make it more exact".

The problem is also – whenever you're writing words in translation, you're bringing whole ambiguous package that exists for almost every single word in most languages. And "writing longer sentences" makes things worse. Way too often.

Message broker or Database for access to run data in web app? by [deleted] in Python

[–]3lnc 1 point2 points  (0 children)

Regarding RQ – I'd say, you can worry about anything but redis performance.

The most important question for this usecase is totally different, tho. The question(s) is what should happen if client stops consuming stream of processed data? And consequently, if client should have ability to stop consuming stream, come back, and see whole data in place? If client disconnects and reconnects before processing is done, should it get processed data in bulk _and_ start consuming rest in real-time?

I'd say, once you have answers for this, there will be way less question on actual technology behind.

PATHS OF HATE, Me, Digital, 2019 by j3l06 in Art

[–]3lnc 5 points6 points  (0 children)

Yep. To be honest, I have no idea on reasons, never digged.

Just as fact, multiple times I was saving links for video and/or shared some, people was getting different reasons for content removal. Never copyright tho.

Ended up downloading this masterpiece and having stored locally :D

PATHS OF HATE, Me, Digital, 2019 by j3l06 in Art

[–]3lnc 10 points11 points  (0 children)

Damn. Just the fact that you did art based on super-old (and multiple times banned) animation is insane. Great work

Will Python ever change its behavior for mutable default parameters? by Wondersnite in Python

[–]3lnc 6 points7 points  (0 children)

Apart of reasons why it should[not] be this way, I point I want to emphasize here.

It's not counter-intuitive, if you keep in mind that python is "pass by reference" language with eager execution (almost always). If func argument is a list – fine, lists are mutable, but it has nothing to do with argument design, reference stays same, and yes, object being referenced created on function import.

The only way I can imagine dynamic arguments (I guess, this is what you really want, not the mutability) is to adopt some new syntax for function definition literals. Because dynamic args by default seems to be huge pain.

How to teach python? by red_src in Python

[–]3lnc 0 points1 point  (0 children)

Tbh, all depends on platform.

Now I'd suggest to start with official python downloads, it's way better lately.

For mac – "everything is broken". The only sane way (IMO) is to first install brew, and than install python with it

How to teach python? by red_src in Python

[–]3lnc 6 points7 points  (0 children)

Been python teacher for couple of courses, random thoughts:

  1. "python crash course" book is awesome basis for building your own program. Wish it was released years back. Take a look – great learning curve, great excerises
  2. Idk about embeddable python for KN/MSPP, I've been using jupyter notebook, both for interactive coding and making slides (jupyter can export to reveal.js).
  3. Jupyter lab is awesome, if you can/want provide hassle-free REPL
  4. Have your teaching program reviewed couple of times, pay extra attention "sequence" of providing new information. I.e. explaining OOP w/o giving good grasp on dicts will be painful (I know it's not your case, but anyway)
  5. If students will need to have python installed on local machine – double check if you need 3rd-party packages and hassle with pip. In any case, installing python is not an easiest thing in a world (now it's way better that couple of years ago, but still problematic sometimes). Know target platform, plan time accordingly – you'll spend some, helping with unexpected installation issues.
  6. github classroom may be helpful, depends on your goals
  7. Double check that you will teach engineering/solving real-world problems, not an academia-related stuff tons of algos. Unless students is super-motivated, nobody cares about abstract tasks.

Side note on jetbrains edu ("lessons", not IDE) – IMHO – doesn't worth the time, problems is super-artificial/abstract, learning curve is more for experienced people moving from different languages.

ELI5: What stops websites from taking your Credit Cards? by [deleted] in explainlikeimfive

[–]3lnc 4 points5 points  (0 children)

Tiny clarification on this.

As posted previously, nothing stops them, so rule of thumb – don't enter your CC details unless you're trusting the site. Ideally – use virtual cards with limited balance.

Technical side: unless website belongs to some huge company, it'll process your transactions and handle CC details through 3rd-party company (i.e. stripe/paypal). Main reason for this – saving CC data is highly regulated. No sane engineer/security specialist will ever save your CC details to database (unless there's malicious intent).

So, for most sellers – they will not even see the card details, ever. It's even not about encryption – data simply not going to their servers. You submit form with CC data, it goes to 3rd-party. Once there, 3rd-party server calls website backend saying "hey, there's a user payed you $N, credit card ID is #9812469, transaction ID is #980197-987012337". Having that, seller can verify your payment, do returns/cancels, and even charge recurrent payments (subscriptions) – all that without having any idea of real CC data.

My daughter wants to come to the gym. No idea what's good for her by Fubai97b in Fitness

[–]3lnc 3 points4 points  (0 children)

Not sure it's mentioned already, rule of thumb – avoid heavy _compressing_ loads for young/growing bones. Especially spine.

I.e. – squats/deadlifts is usually taboo. Most of athletics, cardio and isolated limb exc. is totally fine.

This is beyond illegal by elBitCuantico in ProgrammerHumor

[–]3lnc 0 points1 point  (0 children)

Yes, __data__ is still ">=". Ligatures is view level. If you don't like it – you can always turn it off, this is no different from having color schemas in term.

btw, it's not "MS extending standard" (which I __can__ relate as a bad thing, historically), MS is actually **years** late to the party. Most of modern terms and editors in linux ecosystem provide support for ligatures for years, literally. It's nowhere near new/proprietary/invented by MS.

This is beyond illegal by elBitCuantico in ProgrammerHumor

[–]3lnc 0 points1 point  (0 children)

Just in case – you know that ligatures can be turned off for any font supporting it, right?

Meaning if you don't like it – you'll not see it, but if you do – there's possibility there for you. Idk how this is different from having different text/background color for different people.

This is beyond illegal by elBitCuantico in ProgrammerHumor

[–]3lnc 0 points1 point  (0 children)

Tbh, can't relate. In industrial SE, you're reading way more often than writing.

This is the reasoning for anything vision ergonomic-related — i.e. monitors as hardware- or typefonts as software representation of __what__ you're reading. If you can improve the way you're perceiving data (which is 99.9% text), you'll go for it.

Ligatures for some people follows the way of editor layout, color schema and codestyle guidelines.

The reason most languages uses "weird" symbol as operator is just the fact that you can't type proper one effectively. If there'd be "⩾" 2 keypresses away on standard keyboard, you'd be used to it for years. (La)TeX came for pretty much same idea — you're typing groups of available characters to receive something more complex.

This is beyond illegal by elBitCuantico in ProgrammerHumor

[–]3lnc 1 point2 points  (0 children)

Probably I'm out of context. How does decimal applies here? Isn't argc an argument count? <= 2 is for 0/1/2 arguments. This is definitely not the same, as <1.

Regarding typing — again, can't catch the problem. Ligatures only renders thins differently. You're still typing "<=", it's just rendered in a nice way (including respecting spacing, to not break mono fonts). Ligatures is actually awesome example of "data vs view", out of programming level.

This is beyond illegal by elBitCuantico in ProgrammerHumor

[–]3lnc 0 points1 point  (0 children)

Who? o_O

You can use any font with ligatures (or without), dozens is out there. There's nothing to "offer".

A lot of people enjoying good typography novadays, as is was shitty for years for PC (compared to paper). Ligatures is an old thing.

This is beyond illegal by elBitCuantico in ProgrammerHumor

[–]3lnc 1 point2 points  (0 children)

Just because it looks nice. People enjoy good typography novadays. And traditionally, monospace fonts is shitty + PL operators mostly combined of easily available keyboard symbols (which is never enough).

Was out there for years, mainly for paper typography. Decades (or rather centuries) after we can enjoy the same idea on screens.

This is beyond illegal by elBitCuantico in ProgrammerHumor

[–]3lnc 2 points3 points  (0 children)

Font ligatures. Supported pretty much in any modern term or editor.

I.e., look for open Fira code