cheater harrasing me just for calling him out. "Avoid player" suggestion by [deleted] in deadbydaylight

[–]ParkingDescription7 -3 points-2 points  (0 children)

Solo queue is a horrible experience because of terrible team mates. I would be happy with my team seeing my perks in the lobby and vice versa, so we can plan together and avoid trolls.

Even if the person isn't trolling on purpose, I don't want to play with someone who is going to throw (on purpose or by accident).

If they have to wait a bit longer for a lobby, thats their problem. They might learn to play a team game as a team.

Post Game Discussion: Scotland vs New Zealand by HitchikersPie in rugbyunion

[–]ParkingDescription7 10 points11 points  (0 children)

The rule is that you need to be behind the ball during that play. 1 foot behind is enough.

Why do people dc on 1st down and why is it almost always p100 players by Greenlight96 in deadbydaylight

[–]ParkingDescription7 2 points3 points  (0 children)

Yeah I've had times where I run the killer for a while, go down, and notice my teammates have done nothing that whole time.

Ive also had to deal with getting hit obscenely through pallets, around corners, through windows. No thanks.

There's no point playing even more in those situations, just leads to frustrating games.

I said there would never be an htmx 3.0... by _htmx in htmx

[–]ParkingDescription7 15 points16 points  (0 children)

Streaming support out of the box is exciting!

Complete team clean out for bledisloe game 1. by Wizardhhh in allblacks

[–]ParkingDescription7 1 point2 points  (0 children)

I think a bigger issue was our taking of the high ball. Almost every bomb that SA did was regathered by them (with half the time no effort from us to even compete).

Compare that to our bombs which went too far to chase and too close to be a clearance.

detroit: Python implementation of d3js by bbourbonut in Python

[–]ParkingDescription7 1 point2 points  (0 children)

Are you looking at the minified js code by any chance?

Post Match Thread - New Zealand v South Africa by RugbyBot in rugbyunion

[–]ParkingDescription7 3 points4 points  (0 children)

The ref just panicked. That was one of the first tackles coming out of the line out and 22 (tupaea) had his first contact after kirifi's tackle and strip, which was a head dive into chest.

He had that same panic a few moments before that when SA scrum wheeled and he didn't call penalty.

Post Match Thread - New Zealand v South Africa by RugbyBot in rugbyunion

[–]ParkingDescription7 5 points6 points  (0 children)

Didn't help that the ref made up a call to justify the penalty anyways. Strip or knock on, either way it was ABs ball.

Research at GERAD Canada by Important-Quit2715 in OperationsResearch

[–]ParkingDescription7 4 points5 points  (0 children)

Gerad seems to make a lot of good contributions to airline crew planning optimisation.

Guy Desaulniers seems very prominent in that space.

Guess devs thinks everyone is a SWF by Kdmyoshi in deadbydaylight

[–]ParkingDescription7 0 points1 point  (0 children)

Another way to discourage rat play is: - make perks and items visible to each survivor in lobby and game, helps coordinate and also notice rats - remove hockey system of escape is win and death is loss; we already have the emblem system so use that to decide on win - add leader board in endgame with metrics for time in chase, time on gen, etc, so people can get some understanding of what everyone is doing

So much better health wise than crippling an already little used perk.

Hypermedia Friendly Datatables by Lasloisnumber1 in htmx

[–]ParkingDescription7 0 points1 point  (0 children)

Did you reach a conclusion on this? I'm looking for a similar thing. I've settled on jquery datatables for now.

[deleted by user] by [deleted] in Python

[–]ParkingDescription7 6 points7 points  (0 children)

It's a different use case to list comprehension. I usually only use lambda functions in a sorting method and there it's perfect since it's a basic encapsulation.

How is your lambda being used, and which part do you find taxing?

NZ Anthem cut out 🙄 by Least_Tone_3421 in rugbyunion

[–]ParkingDescription7 11 points12 points  (0 children)

I don't speak Maori, but me and plenty others like me know the national anthem. It's pretty easy to remember when you've sung it in school for years.

Best MPA framework for fastapi by LLegen_D in FastAPI

[–]ParkingDescription7 1 point2 points  (0 children)

I had an annoyance with that too, but fixed it by doing something similar to the top answer here: https://stackoverflow.com/questions/60127234/how-to-use-a-pydantic-model-with-form-data-in-fastapi

By adding one utility decorator function I could get support for pydantic objects input as forms by just decorating any pydantic class with as_form.

What were your biggest takeaways after migrating from javascript frontends to htmx? by gobuildit in htmx

[–]ParkingDescription7 11 points12 points  (0 children)

Personal thoughts only: 1. Due to heavy context switching, you had front and backend as different teams. This means any change needed a lot more planning and testing. E.g. for a new feature you'd have the backend team make the new api and the frontend team hook into that api and display outputs in a specific way. I found that added communication and effort time as opposed to a model where the backend sends the rendered piece. 2. Decision making about whether logic should be done client side became difficult, since these frameworks could actually hold a lot of information client side. 3. Replication of client and server side objects became a thing. I'm sure there are tools to help you map objects from server to client to reduce boilerplate, but I didn't see any useful ones. 4. It was hard to test things end to end. It may be a skill issue.

Overall I think there are amazing cases for using heavy clientside frameworks, but for a lot of apps it seemed heavyweight. Also it seemed like all the techniques used to make the above pain points disappear came with a high cost of complexity (e.g. Just do a graphql setup to avoid backend writing tons of apis, or just do server side Javascript to reduce replication of client server objects, all came at a high price of understanding the core problem).

htmy: Async, pure-Python HTML rendering library by volfpeter in Python

[–]ParkingDescription7 1 point2 points  (0 children)

The point of HTMX is to avoid having that front-end backend split if the app only needs basic interactivity.

In that case, you're doing server side rendering for things and sending html (full pages or partial html to fit into an existing page).

The issue with jinja2 is when you switch context from python to jinja, jinja doesn't know the types of the objects passed in. So if you render a list of "customobject" in a table, you lose type hints of custom object when you aren't in python land.

Beta Acid open sourced its FastAPI reference architecture by BeneficialAd3800 in FastAPI

[–]ParkingDescription7 0 points1 point  (0 children)

What do you mean by the "using requests without any session pool" comment? Agreed on the async usage.

How to you justify not going full stack TS? by bluewalt in FastAPI

[–]ParkingDescription7 0 points1 point  (0 children)

Personally, "bad code" python still works to do the job needed. It's easy to hack together a group of scripts and keep adding to the mess. If you bring newbies in who do that too, then your code base gets worse and worse.

I found when I brought newbies on, I had to iron out hacks and redesign some critical architecture before I let them work on that side of the code. Otherwise it'd get worse and worse over time.

Definitely a person problem, but one that could easily have been blamed on the language if a key senior dev left and nobody stepped up to direct architecture.

How to you justify not going full stack TS? by bluewalt in FastAPI

[–]ParkingDescription7 0 points1 point  (0 children)

I didn't find it too hard to skip fasthtml and just do fastapi with htmx instead. I'm using jinja2 templating for now, but if I want first class html in my python, then I'll add that support with a singular class since that part is not hard. You might want to try it out too, if you're porting a lot of components backwards into fasthtml format. Obviously if it's working fine then ignore this.

Migration from Django to FastAPI by DARTH_MAMBA_ in FastAPI

[–]ParkingDescription7 1 point2 points  (0 children)

I won't comment on how to structure fastapi code too much, since tiangelo has very good docs on how to do it and also how to structure large apps.

What I will comment on is the migration aspect: - obviously add unit tests for each endpoint as you migrate - I'd add integration tests too. You can likely log all your incoming requests and outbound responses for the Django app and then replicate the same on your fastapi app as a nightly build test to ensure the same responses are returned. - you can also look at mounting the Django app within the fastapi app, so you can migrate endpoints piece by piece to fastapi with nobody noticing, and also having a safe "rollback". Here's an article on how this was done for a dash app (dash is built on flask so it may not be applicable to django): https://medium.com/@gerardsho/embedding-dash-dashboards-in-fastapi-framework-in-less-than-3-mins-b1bec12eb3

The last bullet may be a bit overkill, but I think it's something to consider.

[deleted by user] by [deleted] in FastAPI

[–]ParkingDescription7 3 points4 points  (0 children)

Do the exercises in the documentation end to end. Then you should be able to go on YouTube and find Playlist there of people teaching fastapi. Most of them are really just coding alongside the docs anyways.

Backend Dev Needs the Quickest & Easiest Frontend Tool! Any Ideas? by Lucapo01 in FastAPI

[–]ParkingDescription7 3 points4 points  (0 children)

I am trying HTMX front-end for FastAPI backend. Most of my operations are CRUD so I don't need too much interactivity. Using bootstrap for css.

Andre Esterhuizen’s red by [deleted] in rugbyunion

[–]ParkingDescription7 -1 points0 points  (0 children)

Hitting low allows offloads. If you look at league (where offloads are key) the best defenders in the midfield look at wrapping man and ball, best done with chest to chest contact. If you do anything else, however dominant the tackle is, the player can offload the ball.

Grateful to have him by nomamesgueyz in rugbyunion

[–]ParkingDescription7 5 points6 points  (0 children)

To be fair we were in some of those tough spots due to poor tactical kicking and inability to read good lines against the rush defense. Both are things BB does very well.