Community
Chat Logs
Tuesday, August 18, 2026
- enoqtrying to step through spring security and its abysmal docs again, looks like the blogosphere has been completely taken over by AI crap
- enoqI'm trying to figure out if adding your custom AuthenticationProvider with @Component injects it into all security filter chains which I don't want
- enoqat least looking at ProviderManager it seems like it should inject a list of providers from the global scope
- hassoonmeh
- enoqthat coupled with the decline of SO is kinda bad
- hassoonSO ?
- nimajestackoverflow.com
- hassoonah
- hassoonal lthe blame on the damn AI
- hassoonall the *
- hassoonSO is still useful though, to some extent
- hassooni think a google search now is more useful than a SO, because it generates an AI response for you from SO and other sources combined
- deebobrewing a cup of tea and reading the tea leaves is more useful than google
- jreicherI've actually found gemini summaries quite useful because they provide sources. Most of the time I click on those.
- deebothey're usually ok, just have to verify everything
- hassoondeebo: good.. idea
- hassooni only use deepseek when i try to toy with AI
- hassoonor try to brainstorm something
- jreicherdeebo: but that's acceptable, no? I wouldn't expect AI to be much better than a junior RA.
- deebowell it's the best available since google itself is complete ass now
- deebotried using duck duck go for some time, but they were really bad with local language synonyms etc, so it was impossible to find what i wanted
- deebogoogle is good at that, but then pushes ad based results or seo bullshit
- jreicherdeebo: while I'm not interested in defending google, if you describe it as "ass" that implies something better? What would that be?
- deeboi don't think there really is, which is the sad part
- jreicherMy hope is that AI will kill SEO.
- dreamrealIt's just going to change it
- jreicherI agree, but I don't think there's any "just" aboutit.
- dreamrealwell, there never was, SEO was always a moving target
- jreicherI've always thought it was a fool's errand.
- dreamrealI've never been able to do it well, myself.
- jreicherAnd the nice thing about that - if I'm right - is that it becomes really easy to identify the fools.
- dreamrealI read stuff that I wrote that's had SEO applied and it's... just.. kinda gross
- dreamrealAs an author you have to decide what's more important: rent or your precious words
- jreicherdreamreal: just make up some shit about Miley Cyrus.
- deeboneed coding articles written like recipe articles
- dreamrealWill pass on that, know very little about her
- deeboi still remember the darkening days and my grand mothers stories about virtual threads around the fireplace
- dreamrealI've been actually happy with the stuff I've been writing lately, although I don't know that there's a lot of new ground I can cover on the topics
- deeboevery morning i take my coffee in my office at my desk and open hackernews and realize it's just AI news now
- LaSombraSuch is life nowadays
- dreamrealNews FROM AI or ABOUT AI?
- deeboprobably both
- dreamrealThere's certainly some aspect of that, but HN tends to downvote anything AI-related reflexively
- deeboit's like articles about the latest shovels and peoples comparing shovels to previous models, but then never digging any holes
- dreamrealI posted a human-written article and the AI summary of the article to show teh difference and teh summary got flagged as AI
- dreamrealjust imagine: an AI summary, prefixed with "this is the AI summary of the article," got flagged as AI!
- LaSombraCan never be too sure :)
- jreicherdeebo: I have a paid subscription to a paper newspaper that is delivered to my house daily, and I pick up the free local newspaper weekly (again, paper).
- dreamrealwell, whn it's attributed directly to an AI it's probably a safe bet
- ne555good morning, `list.stream().map(x -> x.get()).filter(x -> Objects.nonNull(x)).forEach(x -> { ... })`, say that `list` holds `WeakReference`, ¿is that map-filter correct or may bite me later?
- dreamrealdoes it work
- nimajewhat problems are you expecting there?
- fizzieOn a completely unrelated note, isn't the whole point of Objects.nonNull that you can use it to write just `.filter(Objects::nonNull)` instead of a lambda?
- cheeserfizzie: the whole point? probably not, but you can do that, yes.
- fizzieCan't really think why you'd write `Objects.nonNull(x)` over `x != null` if not using it for a method reference. Well, I guess you could be allergic to punctuation.
- fizzie(The JavaDoc does mention that "This method exists to be used as a Predicate, filter(Objects::nonNull)".)
- dreamreal$work uses it as a simple validation all the time since it's a method call instead of a statement.
- dreamrealSo if you can't think of why, well, I get it, but that's a limited imagination.
- dgregoryI think it's fine - the `.get()` converts the `WeakReference` to a strong reference or null, and `nonNull` ensures that the `forEach` only runs if the `WeakReference` wasn't already cleared
- ParaIt produces an NPE with better trace as it nowadays includes the symbol name. Or so I've told.
- ParaI have never bothered to actually check :P
- fizzieIt doesn't throw an NPE.
- ParaWell AssertionError or whatever :D I'm just doing the motions.
- fizzieIt doesn't throw anything.
- fizzieObjects.requireNonNull would, and I have no beef with that.
- cheeserrequireNotNull() throws.
- Parawell that.
- fizzie`Objects.nonNull(x)` just returns the boolean value of `x != null`.
- fizzieI'm a little curious about what sort of context requires (or at least prefers) a method call rather than a different kind of expression.
- ParaI guess it prevents people from flipping the args and having stupid errors that way but ehhhh.
- wazimportant issue of the day!
- cheeseri can see people putting in to a list of validations. that's honestly not far off from how a predicate would be used in many ways but not entirely.
- fizzieI admit I've written `x != null` where I actually (atypically) meant `x == null`, I guess it might have been harder to accidentally mix up `Objects.nonNull(x)` and `Objects.isNull(x)`.
- jbosmansi still always write .filter(o -> o != null)
- jbosmansand very often same for other method refs
- jbosmanssubjective an opinion as ever
- dreamrealnot sure it matters if it works
- dmlloydif you use Objects::isNull instead of o -> o != null, it theoretically could create fewer lambda instances