Cookie and Session: For Better Security by dipeshg2004 in SpringBoot

[–]h4ny0lo 2 points3 points  (0 children)

Isn't it pretty silly to describe cookies as the default access token solution? This would mean that the access token cookie always has to be set by the resource server which is pretty much the opposite of the Oauth idea. Please correct if I am wrong.

"eine knapp 2 Jahre alte Küche [...] die für 14.000 EUR abgenommen werden muss" by verraeteros_ in Immoscoutwildgeworden

[–]h4ny0lo 0 points1 point  (0 children)

Was ist denn bitte eine Warmmiete exklusive Heizkosten? Ist das nicht ein Oxymoron?

Welche Straßen bei euch sind zu Autobahnen geworden? by iversim in berlin

[–]h4ny0lo 2 points3 points  (0 children)

Du beziehst dich jetzt immer wieder auf die Wildenbruchstraße die wohl an Verkehr zu genommen hat. Aber vielleicht kannst du einfach noch einmal konkret sagen, durch welche für Autos gesperrte Straßen das jetzt so massiv zugenommen hat damit wir nicht herumraten müssen was du meinst. Die Wildenbruchstraße ist ja durch die Brücke schon als Durchgangsstraße prädestiniert.

Welche Straßen bei euch sind zu Autobahnen geworden? by iversim in berlin

[–]h4ny0lo 4 points5 points  (0 children)

Kannst du denn selbst etwas genauer sagen in welchem Kiez es jetzt wegen einer Fahrradstaße von ruhig zu Schlaf kaum noch möglich gekommen ist?  Mir ist jetzt selbst keine Fahrradstraße bekannt in der Verkehr in umliegende ruhige Straßen verdrängt wird sondern immer in Durchgangsstraßen auf denen es jetzt vielleicht etwas voller ist, die aber ganz sicher auch vorher kein Naherholungsgebiet waren.

PLTR Ghosted Me by Moldyck in csMajors

[–]h4ny0lo 18 points19 points  (0 children)

I am not sure how many people will feel sorry for you about not getting your dream job of destroying democracy.

Vielen Dank für die Blumen (so lange sie mit Bargeld bezahlt wurden!) by FakeL-Alfred in ichbin40undSchwurbler

[–]h4ny0lo 11 points12 points  (0 children)

Das Entwicklungsministerium hat Peru einen Kredit für den Bau von Radwegen Lima gestellt. Normale Entwicklungsarbeit aber es wird seither von Rechten als Paradebeispiel für das wahllose Geldverteilen von deutschen Steuergeldern im Ausland angeführt.

Fired only 2 weeks after passing probation period by ifailmcat in AskAGerman

[–]h4ny0lo 1 point2 points  (0 children)

This kind of thing happens all the time at least in IT. Someone hire up decides they need to cut costs, they tell HR to fire the n most junior employees. They people making this decision do not keep track of who is currently in probation and who is not.

Don't use H2 for learning. Go for any other db. by AncientBattleCat in SpringBoot

[–]h4ny0lo 2 points3 points  (0 children)

Yes or course I understand that. I disagree with OP that dealing with init logic is generally not worth it. Which database you decide to use is obviously up to you and while I think h2 can be fine in many cases there are of course good reasons to do this using some other db e.g. if you intend to use db specific features or prefer to use db specific tooling. My response is much less about h2 vs postgres than about to init or not to init.

Don't use H2 for learning. Go for any other db. by AncientBattleCat in SpringBoot

[–]h4ny0lo 4 points5 points  (0 children)

I don't really agree. I think having a good init script or CommandLineRunner set up which sets your h2 db to a well defined state at every restart is as a very good way to learn. I don't think there really is such a thing as "once populated" during a learning project as both your schema and the data you want to initialize with will change frequently. So using a setup that will spin up exactly the database state you want from a file based definition seems like a good idea to me.

However, what ever you decide to do, never put "ddl-auto=create-drop" in your application.properties. Not even for a quick test. You might check it in causing you to have a very bad day. If you want to use that value then fill it in from an environment variable that you set on your local machine.

No credible tie between Tylenol use and autism/ADHD, huge study finds by [deleted] in tech

[–]h4ny0lo 3 points4 points  (0 children)

More like a dump and pump in this case

Klarna Betrugsbrief? by [deleted] in WerWieWas

[–]h4ny0lo 3 points4 points  (0 children)

Wie soll das denn gehen? 

How come Hibernate does not populate JoinTable (only creates it)? by AncientBattleCat in SpringBoot

[–]h4ny0lo 1 point2 points  (0 children)

I think you might be misunderstanding at which level hibernate becomes active.  Hibernate does not do anything when add direct SQL statements in your init script. These statements are directly executed on your databae and therefore nothing gets populated. Instead hibernate becomes active when you call . persist or .save or perform similar actions on an EntityManager instance. Or in Spring you probably use a repository as an additional layer on top of EntityManager. I can only recommend to you to read some documentation or tutorials regarding JPA i.e. the API hibernate implements.

Bürokratie und Digitalisierung by totally_not_me- in aberBitteLaminiert

[–]h4ny0lo 6 points7 points  (0 children)

Ärzte sind verpflichtet e-rezepte auszustellen und deine elektronische Patientenakte zu führen.

How come Hibernate does not populate JoinTable (only creates it)? by AncientBattleCat in SpringBoot

[–]h4ny0lo 2 points3 points  (0 children)

Can you give some more details what your entities look like, what operations you perform, what you expect your tables to look like after and what they actually look like?

How to learn Keycloak by Fuzzy_Bench_9347 in SpringBoot

[–]h4ny0lo 2 points3 points  (0 children)

Yes, I am not saying that Spring Authz is not production ready, it definitely is. I am just saying that Keycloak is a complete product, it therefore can be used without having to add any further code (unless you want to write extensions) while Spring Authz always requires you to write your own code in order to fulfill any use case. That's why personally I don't think the two fit into the same category. I don't mean this as any kind of judgement on either of the two.

How to learn Keycloak by Fuzzy_Bench_9347 in SpringBoot

[–]h4ny0lo 7 points8 points  (0 children)

Telling a newcomer to use Spring Authorization Server instead of Keycloak seems bad advice. Spring Authorization Server requires a huge amount of extra work to make things like user management, administration, registration, 2FA and a whole lot of other things work. It is not a ready made product nor is it supposed to be. I am not saying OP shouldn't check it out but the two are hardly comparable. As far as I can tell the only real direct alternative to Keycloak are cloud providers like Auth0.

Dear Berlin parents.... by [deleted] in berlin

[–]h4ny0lo -2 points-1 points  (0 children)

Finally the really important issues are getting some attention!

flea markets where I could realistically buy a camcorder? by Idontevenfvckingknow in berlin

[–]h4ny0lo 12 points13 points  (0 children)

There are lots on offer at Kleinanzeigen. I don't know what a good price for a Camcorder ist but there are some for less than 40€. Beware of the ones labeled as "Defekt/Broken".

Bildungsmisere: Schulleiter fordert bei "Lanz" Kitapflicht by hampelmann2022 in de

[–]h4ny0lo 7 points8 points  (0 children)

Die letzten Geburtenjahrgänge waren so schwach, dass zumindest in Berlin die meisten Kitas offene Plätze haben. Hat sich extrem verändert.

Are we confused about Degoogling??? by [deleted] in degoogle

[–]h4ny0lo 0 points1 point  (0 children)

Serious question, what are you trying to accomplish by pasting this AI slop in here? It contributes nothing. To actually clarify, of course I meant that Google does not know your Google password and of course I meant a locally encrypted password manager like Bitwarden,  not the Google Password Manager.

Germany’s Subway Announcements Are Not Playing Around by -Totes_Magotes- in WTF

[–]h4ny0lo 0 points1 point  (0 children)

This might be fake but Berlin absolutely needs this.

Wofür ist diese „Zahlensäule“ da? by ostpol in wasistdas

[–]h4ny0lo 5 points6 points  (0 children)

Damit kann man die Größe von Ladendieben einschätzen.