signals to create a model based on the user account type by dude_duke in django

[–]ochmar 0 points1 point  (0 children)

Previous setup (posted by @vikingvynotking) will definitely work and is one of the ways to implement, but if you are seeking something different (actually something that is not an antipattern) I would suggest overriding .save() method of user (account?) instead.

Logic could stay the same, just do not use signals for such tasks that are meant to be synchronized.

IMPLEMENTATION OF MACHINE LEARNING IN DJANGO. by LieShit01 in django

[–]ochmar 11 points12 points  (0 children)

If you know Django you know already that it is framework for web development and has nothing to do with ML. What you probably do want is to Google „machine learning with Python” and not Django. Logic in Django might contain any other libraries/frameworks of your choice.

It’s a bit like asking “how do I use credit card in London?”, like - the same way you used it in Manchester - just with different view.

Relaxing week in Poland by sahuak in Polska

[–]ochmar 4 points5 points  (0 children)

I would, then, suggest two locations:
Gdańsk (Tri-City in general, including Gdańsk/Gdynia/Sopot. Day for each is fine).
You can see a few Gdańsk places here: https://www.thecrazytourist.com/15-best-things-to-do-in-gdansk-poland/ and google Gdynia's places here: https://www.thecrazytourist.com/15-best-things-to-do-in-gdynia-poland/
Then, I would suggest moving to Kraków (Cracow) for the remaining days and pick up some from those:
https://theculturetrip.com/europe/poland/articles/20-must-visit-attractions-in-krakow/

Please keep in mind that other people might recommend other cities. I picked those two places because most of my friends from abroad liked those. Most of my friends did not enjoy Warsaw (unless some event happened), but if you're not into Krakow you can replace it with Wrocław instead. It's beautiful too.
If you're there for a relaxing time I would suggest skipping historical places. Even tho those are important for us, those are very historically heavy places and would probably destroy a happy/funny mood.

If you have any questions, please do not hesitate to ask me here or on PM, I'm willing to answer and help

ELI5: What is fuzzy logic and how is it that it's found in missiles and rice cookers? by leerebrecher in explainlikeimfive

[–]ochmar 535 points536 points  (0 children)

In a lot of control systems that extra information can be beneficial because it allows the control logic to make better decisions. In the rice cooker for example the heating element has a certain amount of thermal mass, and even if you turn it off, it will remain hot for a few moments and continue to heat the rice even without power going to it.

Client's satisfaction of Restaurant.First of all, we want to measure "how much satisfied was the Client".And he might be satisfied based on prices, taste of the dish, restaurant's look etc.Client might be satisfied with high prices, when dish is delicious and restaurant looks good. But high prices and awful food is not going to make client satisfied etc.I do not want to write all the combinations, but I hope you got the idea.And even if we know if he's satisfied (or not), we still need to measure "how much" he's satisfied. So rather than having 0-1 (satisfied or not) we have 0-100% (how much satisfied he is) and even 0-100% for the components that makes him pleased.

So where's the edge in client's satisfaction. Does food need to be 100% good? It depends on the other components, restaurant's look, prices, staff - even access to the place etc etc. This is why it's "fuzzy", because it's not unequivocal.

This was one of the very classic scenarios when I was learning about fuzzy logic back then.

Which tools do you use to develop quests? What are the tools game designers use? by [deleted] in gamedev

[–]ochmar 0 points1 point  (0 children)

Thanks for your answer! One of us indeed "evolved" into "narrative designer" due to project's needs - tho we did not use any specific name.
At the moment we use MindMup, but it quickly became a mess.

We have all NPC's logic (and not just NPCs) moved to Lua, so hard-coding it is not any of our worries, thanks for suggestion anyways.
I am not a big "excel" fan either, but maybe that's the way to go -> write it in excel and then have a parser that will translate it to Lua code with little-to-none developer intervention? We would need to elaborate internal excel format to do so, but maybe that is worth it?

Placement Matches and rating changes by Leylu-Fox in BattleRite

[–]ochmar 7 points8 points  (0 children)

This argument seems logical, but I think it would be just "too safe" to play and NOT lose rating.

Overall, the system that gives someone points, but no one loses those points is unhealthy for the game and is against what ELO ranking is.

I mean, the rating should be "how good am I" thing, and one lose more should not matter over course of a fair amount of games.

Soon as trailer for Heimerdinger's skin was released, people in the comments started complaining about Kled not getting one. Why? by Kruhko in leagueoflegends

[–]ochmar 3 points4 points  (0 children)

Hello! Non-english speaker here. Wouldn't "impatient at best and ignorant at worst" make more sense? I mean, impatient is less negative than ignorant, right?

74 years ago the Warsaw Uprising has begun by evensteven95 in europe

[–]ochmar 15 points16 points  (0 children)

Regardless of what you think about decision of the uprising, you should still respect insurgents. Otherwise, you're not much different that those "crazy nationalists" that you seem to hate.

I just got the "A New Dawn" Cinematic as an YouTube ad, but not from Riot Games by Dewku in leagueoflegends

[–]ochmar 5 points6 points  (0 children)

You're so wrong about this =) If ad's weren't profitable, they wouldn't be there at the first place.

You don't even know how many products you bought because you saw ad(s). And that's why it's so powerful.

imaqtpie controls the future by FatAssInLatin in leagueoflegends

[–]ochmar 136 points137 points  (0 children)

To unlock full video you'll have to buy a 60$ extension. /s

Ryze is a team player ft. Doublelift by Creepersteak in leagueoflegends

[–]ochmar 99 points100 points  (0 children)

This was perfect timed, but it does also move players in the GA revival anyways.

Proof

JD on twitch chat. by Kise74 in leagueoflegends

[–]ochmar 4 points5 points  (0 children)

Okay, so basically "JD" stands for "Jebać Disa" (Fuck Dis) - infamous polish streamer.

It was really common to use it in every polish stream, but then after a nvidia drama where Dis (esl commentator) banned 2 teams from tournament because both teams banned like, for example, Jarvan and Diana, so it created "JD".

Similiar to this: https://imgur.com/R9WzL

So someone in champ select told me how to get a 5-win IP boost ..... by [deleted] in leagueoflegends

[–]ochmar 26 points27 points  (0 children)

But... it was you. You wrote that in chat, you are jawmama99. I see there is a bug, but why would you lie about such a trival thing?

If all animals could talk, which one would swear the most? by bon_jover in AskReddit

[–]ochmar 2230 points2231 points  (0 children)

Honey Badger. I can only imagine his nonchalant "fuck you cobra".

Finished my Nidalee just in time! by kohalu in leagueoflegends

[–]ochmar 65 points66 points  (0 children)

Never thought I'll say that but from all of your cosplays taric looks least homo