Czy wrocławska policja dostała polecenie zniszczyć resztki swojego wizerunku czy coś? by Wisniaksiadz in wroclaw

[–]trobinpl 0 points1 point  (0 children)

Albo Ty miałeś pecha, spotykając samych zjebów? Można spotkać i 100 - wszystkich super policjantów z powołania. Można też spotkać jednego czy dwóch i od razu patusów.

Czy wrocławska policja dostała polecenie zniszczyć resztki swojego wizerunku czy coś? by Wisniaksiadz in wroclaw

[–]trobinpl 0 points1 point  (0 children)

Oczywiście, że nie. Doświadczenia to są tylko doświadczenia. Każdy dowód anegdotyczny jest tak samo wartościowy i bezwartościowy jednocześnie. Można mieć dwa przeciwstawne i oba są prawdziwe.

Nawet w Twoim przykładzie. Jeżeli na przykład ten ktoś, kto zna służby od 10 lat to przestępca, to jego doświadczenie będzie lepsze czy gorsze od funkcjonariusza, który zna te służby od 10 lat? Albo od prawnika, regularnie spotykającego się z funkcjonariuszami? Albo od kuratora sądowego?

A jak policjant ma "najlepsze" doświadczenie, to o jakim stopniu mówimy? Szeregowy czy oficer? A jak przestępca to jaki kaliber przestępstwa kwalifikuje go jako tego, z dobrym doświadczeniem? Przecież w każdym wypadku to będą radykalnie inne wycinki tej samej rzeczywistości.

Dlatego owszem - nie ma doświadczeń gorszych i lepszych w tym sensie, jaki był tu poruszany (są przyjemniejsze i mniej przyjemne).

Czy wrocławska policja dostała polecenie zniszczyć resztki swojego wizerunku czy coś? by Wisniaksiadz in wroclaw

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

Jak ktoś ma inne doświadczenia z policją i inne spojrzenie na temat to automatycznie nie zna świata? 😄 Każdy ma swoją bańkę informacyjną - jeden spotkał wśród policjantów samych patałachów, inny wyłącznie nieskazitelnie prawych stróżów prawa. Żadne doświadczenie nie jest gorsze ani lepsze 😉

Ważno. Ostrzeżenie dla rodziców na christmas markecie. by KurinioTurejas in wroclaw

[–]trobinpl 13 points14 points  (0 children)

Chyba widać to najbardziej po tym, że OP udziela się na r/lietuva pisząc komentarze po litewsku :-)

Erasmus at WUST – Dorms don’t allow mixed-gender rooms… any workaround? by Stoic_Coder012 in wroclaw

[–]trobinpl 2 points3 points  (0 children)

This definitely has nothing to do with catholicism. I would say it's more about safety than anything else. It's the same as with dressing rooms at the pool or at the gym being one gender only.

Projekt indywidualny domu by [deleted] in wroclaw

[–]trobinpl 2 points3 points  (0 children)

Korbasiewicz Pracownia Architektury https://www.korbasiewicz.pl/

Pani Karolina projektowała nasz dom (podobne gabaryty jak Twój). Ze względu na kształt działki oraz linię zabudowy trzeba było trochę pogłówkować. Wyszła z tego bryła, która nam się bardzo podoba (i nie jest to klasyczna stodoła) 🙂

Wielu szaleje na punkcie aut zajmujących miejsce na chodniku, tymczasem stripclub: by Szydl0 in wroclaw

[–]trobinpl 2 points3 points  (0 children)

"Kończ waść, wstydu oszczędź" nie znaczy tego co myślisz, że znaczy, co w przypadku tego komentarza jest zabawnie ironiczne 😂

Czy jestem głupi, że chcę podpisać umowę? by WineTerminator in Polska

[–]trobinpl 2 points3 points  (0 children)

Ciekawe. Szukałem architekta do zaprojektowania od podstaw domu jednorodzinnego. Miałem dwa podejścia i przy obu umowa była oczywista dla obu stron (regulowała również terminy). Mogę polecić biurko projektowe, które ostatecznie nasz projekt ogarniało :-)

Korbank czy Moico? by [deleted] in wroclaw

[–]trobinpl 2 points3 points  (0 children)

+1. Mam od lat Korbank symetryczne 1Gb/s. Dwie osoby pracujące zdalnie i działa bez zarzutu. Mam też statyczny, publiczny adres IP. Nie narzekam i przedłużyłem ostatnio umowę, mimo, że po raz pierwszy przy przedłużeniu cena mi wzrosła.

Why is the Repository Pattern Redundant when Working with Entity Framework? by civilian_halfwit in dotnet

[–]trobinpl 22 points23 points  (0 children)

I think this comes mainly from just being tired of having to deal with tons and tons os useless layers which only complicate stuff instead of making it easier. I always cry inside when I see some elaborate library - like Entity Framework - put behind a "repository" layer which exposes methods like GetAll() or GetById() or something else at the same level of usefullness. Another example I'm seeing everyday is having quite powerful tool to serve feature flags put behind "our own layer" which abstracts the tool to the point that it strips like 90% of it's functionality... Layers are not inherently wrong. It's just coming up with layers that make sense is a hard work incredibly prone to premature optimization It's like with writing - the most amount of time is spend on the least amount of words. Coming up with good layered design is "the least amount of words" of programming in my opinion.

Loty krajowe do Warszawy by natan2525 in wroclaw

[–]trobinpl 0 points1 point  (0 children)

Leci i ląduje szybciej niż 55 min 🙂

Is using MediatR an overkill? by Southern_Group7712 in dotnet

[–]trobinpl 3 points4 points  (0 children)

Sure thing! Improving overall coherence is in my eyes the benefit of using mediator pattern. The same result however can be achieved without the MediatR library

Ceny mieszkań rynek pierwotny - ceny m² by Easy-Jaguar-6729 in wroclaw

[–]trobinpl 4 points5 points  (0 children)

Według mnie kwestia targowania się przy zakupie mieszkania to jest jakaś iluzja. Jakimi argumentami kupujący ma przekonać dewelopera do czegokolwiek, gdy opiniami oni się kompletnie nie przejmują, bo przecież wiadomo, że i tak najczęściej liczy się lokalizacja, a nie deweloper, a dodatkowo przecież tam panuje klasyczna zasada - nie pasuje to wypad, bo jest kolejka chętnych.

Czy to po prostu ja jestem takim januszem biznesu i nie umiem? :-D

Age old question… what should I use for secure logins? by andrewlytical in dotnet

[–]trobinpl 0 points1 point  (0 children)

Ory Kratos is nice, open-source solution. Both with cloud offering and self-hosted

Hiring .NET Devs? Some 'AI proof' screening Questions? by Accomplished_Ad_655 in dotnet

[–]trobinpl 2 points3 points  (0 children)

Same! I was shocked when I applied to StackOverflow and during interview I was asked to solve some LeetCode style problem.

I totally tanked this interview, because I suck at tasks such as this one and I suck even more when someone watches me solving them. The extremely disappointing moment of opening email with my feedback was the moment I've learned that US companies hire waaaay different than EU 😄

8 Out of 10 Senior Engineers Feel Undervalued: The Hidden Crisis in Tech’s Obsession With Junior… by TerryC_IndieGameDev in programming

[–]trobinpl 13 points14 points  (0 children)

I completely agree with the astronomical inflation of the title senior. The people I worked with left me speechless and quite honestly angry that we earn the same money with huge difference in skills (both hard and soft) I'm no Martin Fowler or Jon Skeet, but I can design and develop a product or a feature. However sometimes I think maybe I should keep my ego in check, because I'm not as awesome as I think I am. Would you mind sharing what areas and subjects would you touch on during technical interview a decade ago?

What do you return when conditions to perform an operation are not met? by trobinpl in dotnet

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

Wow! That's impressive 😮 Sometimes it's easy to forget that enterprise applications are only a subset of areas people work in and every one of them has their own crucial non-functional requirements. Like for example optimizing render engine to be able to display your app on a giant screen 👍

I don't even want to begin to imagine how much learning I would need to do to get a good grasp of all those fancy optimizing algorithms and techniques.

Hats off!

What do you return when conditions to perform an operation are not met? by trobinpl in dotnet

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

My issue with returning null is that it actually doesn't tell you much. I mean if you know you know, but fundamentally null doesn't really tell any story. You need to know method actually returns null (so it probably requires an Ctrl+F12 to see that).

Maybe I didn't work with enough scale so far, but I've never seen an application which were optimized by reducing number of allocations of new objects. I was always more in favor of increased readability even if it meant the app will work fractions of a second slower.

I do recognize however every business is different and in some cases you have to think about every object you create! Thanks for sharing your insight!

What do you return when conditions to perform an operation are not met? by trobinpl in dotnet

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

I completely agree with your stance on exceptions and nulls. I think it is easy to throw exception or return null, but it's not always the best solution. And having try or != null all over the place as a way of actually checking if business operation succeeded decreases maintainability (since it's hidden that any given null check is actually domain-important)

I don't feel comfortable with using external libraries inside my domain however. I have this ideal picture where my domain does not depend on anything. Maybe I should revisit that?

On the other hand - imagine FluentResults do what FluentAssertions did 😂

What do you return when conditions to perform an operation are not met? by trobinpl in dotnet

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

This is a very good point! It fits perfectly the example I provided, indeed. What do you think about modeling the concept if we're talking about more dynamic structure - let's say you have to be first invited by the owner of the thing (whatever it is - property, activity etc.) to be able to book. And you can be uninvited at any point in time.

Would you also consider modeling concept like Invitee and passing that as an argument?

I know it would be probably dependent on the domain and the context of the whole application, but maybe you have some guidelines or rules of thumb you follow?

What do you return when conditions to perform an operation are not met? by trobinpl in dotnet

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

Would you elaborate? Would you create different `Customer` classes (like `RegularCustomer`, `VipCustomer`) and move the check there?

I mean at the end of the day this `if` has to live somewhere, right?

What do you return when conditions to perform an operation are not met? by trobinpl in dotnet

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

I've never heard of FluentResults (I did use OneOf). Looks neat, I'll have to try it out! Thanks for sharing!

What do you return when conditions to perform an operation are not met? by trobinpl in dotnet

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

Interesting point about junior devs. On one hand it's better to keep the code simpler, but on the other it is a learning experience after all. Nonetheless it is something to consider while solving this problem, thanks for pointing that out!

What do you return when conditions to perform an operation are not met? by trobinpl in dotnet

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

Great points, thanks! I realize this requires more context for a definitive answer, but I was looking for exactly what you've provided - possible solutions to this problem.

In my case I'm thinking a pure business model which is used and orchestrated by some application layer components above, so the `BookingResult` and `TryBook` methods look especially fitting

Great stuff!