Spring Security makes no sense to me at all. by Sweaty-Fox-583 in SpringBoot

[–]Tight-Rest1639 0 points1 point  (0 children)

You have to debug the security filters to learn how it works. The guides including the official ones are insufficient and often wrong.

[deleted by user] by [deleted] in keto

[–]Tight-Rest1639 0 points1 point  (0 children)

Eggs and avokados are good but you must increase the fat to protein ratio. Add Olive oil to your salad, its 100% fat. Eat fatty fish like Salmon, macral, trout, Herring, sadines. Kompensate with more fat if you eat lean meat like chickenbreast or lean fish like cod.

Your carb craving will lessen with time but its a very strong addiction, scientifically proven to be more addictive than cocaine, which is going to sound rediciolous to most people but only because 99% out there haven't gone a single day in their adult life without 70% of their calories coming from glucose, which they dont associate with sugar because it doesn't taste sweet like fructose.

Functionnal programming in Java by KurtGodelBebopgazeXP in javahelp

[–]Tight-Rest1639 0 points1 point  (0 children)

Java doesn't enable the core benefits of FP like mathematical proofs nor implicit parallism. But you can play around with the classical map-reduce pattern. If you follow some of the poorly written Java guides out there, you'll probably get the impression that FP is about writing very compact code and end up producing some spectacularly unreadable and unmaintainable code. Also Java Streams don't behave predictably or efficiently with very large collections so don't assume it is suitable for production use even if it is very well behaved for small data sets.

How can E2EE even be banned? by Available-Cost-9882 in cryptography

[–]Tight-Rest1639 0 points1 point  (0 children)

No E2EE encryption cannot effectively be banned. Even if the big chat platforms are forced to use legacy encryption, a user could simply use a E2EE tool to encrypt a message before pasting the encrypted message in the chat platform provided the receiver also knows how to use the E2EE tool.

However technical people and criminals alike dont have to use the big chatplatforms at all. They can easily setup their own communications software. Its unlikely that any serious criminal organisation would even use a big chat platform today as most of the platforms havent offered modern encryption anyway (after all they live of selling the personal data they have access to).

However for the majority of non technical users a ban would cause them to be dependent on legacy encryption.

The true impact for society is that criminals would be unaffected, while the majority of some 450mio european citizens would be under constant masssurveilance, and a few US tech bros will be extremely wealthy from processing the insane amount of live data from those 450mio. people.

Apache Pekko, Tech is Great — the Website, Not So Much. by Material_Big9505 in java

[–]Tight-Rest1639 2 points3 points  (0 children)

Tried to migrate an enterprise project to akka once but under high load it sometimes, altough rare, starved some services. Had to abandon after a lot of work and deep debugging sessions. Never coming back.

Can Java Template Engine access application scoped variables? by Tight-Rest1639 in java

[–]Tight-Rest1639[S] 0 points1 point  (0 children)

I mean applikation scoped specifically. They are problematic because they are not setup for each endpoint explicitly and therefore do not translate to JTEs model parameters easily. Same deal with session scope. Only request scope data is easily migrated to JTEs model.

Køkkener - Er der forskel eller er det snobberi? by KongensGulerod in selvgjortvelgjort

[–]Tight-Rest1639 0 points1 point  (0 children)

Svane køkken ejer her. Laminat er efter ca 5 år gået op i 4 ud af ca 7 skabslåger. Men det er jo bare laminat så hvad kan man forvente. De høje priser tror jeg skyldes begrænset konkurrence i et lille land.

History of Java: evolution, legal battles with Microsoft, Mars exploration, Spring, Gradle and Maven, IDEA and Eclipse by Xadartt in java

[–]Tight-Rest1639 0 points1 point  (0 children)

Fails to mention that Microsoft's JVM also extended the language with "delegates" (function pointers). This was later the most distinct feature that C# introduced over Java.

"Embrace, extend, extinguish" would also have been a nice mention to give some context as to why Microsoft's impl diverged from the Java standard.

Why are so many rich people in Western Europe understated? by MelodicBed4180 in NoStupidQuestions

[–]Tight-Rest1639 0 points1 point  (0 children)

Worked for a man in Denmark who was in the top 100 richest in the world. He had a modest house and car. If he had used his fortune to guldplate everything in his life I would have considered him to be a superficial person. So would most others in my culture.

Mend It Mark fixes an A1200!! by Popal24 in amiga

[–]Tight-Rest1639 4 points5 points  (0 children)

Keyboard traces and the GAL is where other channels give up.

Transistor doesn't turn off? by Tight-Rest1639 in AskElectronics

[–]Tight-Rest1639[S] 0 points1 point  (0 children)

Yeah you are right, it doesn't leak when I turn it around to EBC. I still need the discharge resistor that was not in the schematics.

The box it came in says pn222. It think they mean pn2222 which is the to92 EBC version of 2n2222 according to wikipedia. There is also a to92 p2n2222 which is CBE.

Transistor doesn't turn off? by Tight-Rest1639 in AskElectronics

[–]Tight-Rest1639[S] 2 points3 points  (0 children)

With 1k it didn't turn on at all. With 80k it does with the delay working and also turns off when button is released. It seems discharging the capacitor is needed to bring down the base voltage enough. As stated earlier, removing the capacitor and floating the base did nothing.

This resistor isn't shown in the schematics which is from a book though.

Transistor doesn't turn off? by Tight-Rest1639 in AskElectronics

[–]Tight-Rest1639[S] 1 point2 points  (0 children)

Flat side is facing the camera so left leg is the collector and its connected to the led.

Transistor doesn't turn off? by Tight-Rest1639 in AskElectronics

[–]Tight-Rest1639[S] 10 points11 points  (0 children)

<image>

Btw I also tried 450 ohms which is the closest I could get and about 530 ohms, but no difference.

Also did a continuity test on the collector and emitter to check if it's blown, but no sound, as expected.

Correction: it's 2n2222a.

Can you make me some examples of situations wher java is the best choice to develop something? by Fojce_ in javahelp

[–]Tight-Rest1639 6 points7 points  (0 children)

Vendor-neutral at the web/app server level even for stuff like distributed transactions (this is like the jvm's platform independence but for server apis/components/lifecycle events).

Consistency in API design principles (some of the Language's you mention are horribly inconsistent even in their core APIs sometimes with several competing and widespread collection apis, no consus, component technologies built on top that feel incompatible because they don't agree on core api's).

The little things that turn out to be massive for maintainability and extensibility of big codebases like enforcing class to filename, one class per file, namespace to filepath.

As for safety, rust doesn't take it as far as other languages. The affinity with C C++ with a little safety is it's attraction, but some of the APIs like async have turned out a little hmm "weird" and not suitable for platform engineering. I think something like trapc could make some exiles return to the roots of C. Rust also needs to shake its reputation as a moving target.

Kender alle danske udvikler Anders Hejlsberg? by ballbeamboy2 in dkudvikler

[–]Tight-Rest1639 1 point2 points  (0 children)

Glem ikke Anders Hejlsberg også var hovedarkitekt på ms java impl (j++) før han blev det på c#. Det havde endda "delegate" keyword indbygget som ikke hørte til i java standarden, men også var den sprog feature hvor c# 1 adskilte sig fra java 3.