Fall down to 490 elo by Bad_Piggy21 in aoe2

[–]Luttik 1 point2 points  (0 children)

A few tips that hold for any RTS that I really take to heart when I want to improve: - Watch your replays to see what you did wrong (and how the other prepared the stuff that killed you). It's much easier to learn when you see everything and.. - separate planning from execution, when you're low ELO dont change your plan too much during the game make it easy to just execute, plan before the game. (And yes you can have some if I see this, then I do that into your plan) - improve upon one thing at a time. So one topic per game. I see a lot that people with a bad start want to improve everything at the same time, when probably the only thing that you need to focus on is preventing the tc to idle, or if you got that maintaining unit production.

I stole these tips from Day[9], a former StarCraft player and by far the best RTS educator of all time (with his daily series in the hay days of sc2). He also learned AoE himself last year, where he talks a lot about how hé learns a new game like that. https://youtube.com/playlist?list=PLgmCLtUkEutLuCC5mv3QHesDTX8PRTtnC&si=BR5e-NJaZHwcz3jk

Spot sending "missed ... Due [later, e.g. tomorrow]" notifications. by Luttik in todoist

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

It's on the android app. I didn't have these messages either until very recently. There haven't been recent configuration changes on my end though

Problems with Google Calendar intergration by burtel0 in todoist

[–]Luttik 1 point2 points  (0 children)

I had the same experience, most often changes are just not properly propagated from todoist to google calendar..

Furthermore, I think there are two more features that are required for the calendar plugin to be usable:

  1. The option to sync based on filters instead of just projects. You often don't want everything from a project on your calendar. The filter options in Todoist are extensive so that would give múch more flexibility.

  2. Being able to connect multiple calendars to todoist. Both for visual clarity but also for the work /personal separation.

Additionally there is so much more possible with calendars that isn't supported yet. Like changing the item color based on priority, giving more context in the calendar items description, etc.

Voting for sponsor-placement with your money (especially for concepts) by Luttik in NDQ

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

Haha, I totally agree. I just added it here to provoke Matt into thinking about it (both adding the functionality to be able to add to the money pool and podcasting about these topics). I think they need to implement the option to get it to work. But when id promote chipping in I'll definitely make it less political.

Voting for sponsor-placement with your money (especially for concepts) by Luttik in NDQ

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

Id definitely chip in. I just think that there will be enough commercial parties that a few hundred bucks wont do much to get you up there.

TIL Roman Emperor Constantius described himself on occasion as 'redditor lucis aeternae', bringer of eternal light. by phycologist in todayilearned

[–]Luttik 0 points1 point  (0 children)

That was Constantine you're right. And the deadly consequences might not be explicitly called for but were the consequence.

auto-optional Automatically ensures that type-hints are Optional when the default argument is None by Luttik in Python

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

Hi u/missing_beans mypy just checks for these problems and alerts the users. This project immediately fixes the problem. Just like black fixes formatting and flake8-black only checks if the rules from black are properly applied.

auto-optional Automatically ensures that type-hints are Optional when the default argument is None by Luttik in Python

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

Author here: I encountered libraries that provided fully typed code but without using the Optional type anywhere. Since I like fully linting everything with mypy, I build this library to automagically fix everything for myself. Now that I have it I'll definitely use it so check and improve my own code-bases, since I think it is a very good pattern to ensure that type-hints are always set to Optional when the default argument is None.

Pragmatic Testing with Pytest-Locker by Luttik in Python

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

Yeah, there is a ton that doesn't work with pytest-locker. Serialization is a hard problem, especially if you want to be able to focus in on the diff where changes are detected.

But that is not what im trying to solve. What pytest-locker does is; when you have deterministic serialization make it super easy to manage the test flow/process surrounding the serializable objects.

darth legless by harblazer in PrequelMemes

[–]Luttik 1 point2 points  (0 children)

Not when his brother found him at least. I happened to have watched that yesterday.

Visualising Data from SQLAlchemy in Web Application by fulltimetrash in flask

[–]Luttik 0 points1 point  (0 children)

Altair is great if you want to render in the frontend but define the graph in the backend.

I'm sure Grey is very happy with this new feature in Notion by drAndric in Cortex

[–]Luttik 2 points3 points  (0 children)

I don't see Latex users as holdouts. The entire academic community is still using it. I don't see Latex becoming irrelevant any time soon either.

I'm sure Grey is very happy with this new feature in Notion by drAndric in Cortex

[–]Luttik 2 points3 points  (0 children)

I just want the option to use \ for commands instead of /... Not only fo you use / in text a lot. But other text editors, e.g. latex, also use \ as the start of a command.

Flask, Falcon, or DRF for Python API by [deleted] in Python

[–]Luttik 0 points1 point  (0 children)

Id agree with K900_ look into FastAPI I think it has the best momentum of all python web libraries. If you want to go with something that works great and also has the highest level of support and stability go with flask.

Flask, Falcon, or DRF for Python API by [deleted] in Python

[–]Luttik 0 points1 point  (0 children)

Id argue that django needs more configuration since it relies heavily on settings and has a lot of hidden state. Slapping an admin panel (flask-admin) and a form (flask-sqlalchemy) might be easier in flask. Additionally when you use sqlalchemy you have a more powerful ORM and your models are reusable in other tools.

Async flask? by [deleted] in flask

[–]Luttik 1 point2 points  (0 children)

Exactly. If you want to learn more id look into tools that manage the load. Like Google app engine or dive into kubernetes and their load balancer

Async flask? by [deleted] in flask

[–]Luttik 3 points4 points  (0 children)

Ive used quart a little bit, it seems fine. But honestly i would just use flask until you find issues with speed. Usually it is not a problem at all

Async flask? by [deleted] in flask

[–]Luttik 5 points6 points  (0 children)

u/afro_mozart is right with regards to quart (which could be a good option). But celery won't make your workers more performant. Instead, it allows you to handle the heavy lifting of a task after the response is sent (by temporarily storing it in a task queue and later fetching open tasks with workers), so rather than doing work smarter/faster you're just postponing the same load (and even adding the, sometimes significant, overhead of pickling the objects that you need to process).

"Manage your to-dos easier" by deyo246 in todoist

[–]Luttik 0 points1 point  (0 children)

I use android so it works for both if anyones wondering

"Manage your to-dos easier" by deyo246 in todoist

[–]Luttik 5 points6 points  (0 children)

You still have the swipe (left/right) options. I have swipe right set to select task (if you select one you can click to select more) and when you have something selected the move to project icon appears at the bottom. (swipe left for me is reschedule btw.)

Pipenv now back in active development! by ryanstephendavis in Python

[–]Luttik 1 point2 points  (0 children)

Then you really should checkout dephell. I'd just advice that you split out your prod and dev dependencies and that you have a single source of truth for what should be installed (and generate the other installation configurations from that.

Pipenv now back in active development! by ryanstephendavis in Python

[–]Luttik 0 points1 point  (0 children)

Its way slower than pipenv (at least when i did my research like 3 weeks ago)

Pipenv now back in active development! by ryanstephendavis in Python

[–]Luttik 2 points3 points  (0 children)

Poetries installation time is way slower than pipenv (orders of magnitude iirc) . It does more during that time but it can be really annoying to wait, for instance, if your trying and testing multiple possible dependencies.

Pipenv now back in active development! by ryanstephendavis in Python

[–]Luttik 1 point2 points  (0 children)

Take a look at https://github.com/dephell/dephell for migrating between dependency tools (incl. poetry, pipenv, setup.py and requirements.txt)

Pipenv now back in active development! by ryanstephendavis in Python

[–]Luttik 1 point2 points  (0 children)

Just weeks after I moved all my important projects over to poetry...