this post was submitted on 20 Aug 2024
709 points (98.8% liked)

Programmer Humor

32361 readers
465 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 61 points 2 months ago (9 children)

If you want to find solutions online, stop using Google.

Sometimes I post stuff to my blog about things that I could not find a satisfying solution to and where I had to figure one out myself. I post those things because I want it to be discoverable by the next person who is searching for it.

I did a quick test, and my posts don't show up anywhere on Google. I can find them via Kagi, DuckDuckGo, and even Bing. But Google doesn't show my stuff, even when hitting specific keywords that only my post talks about. And if my site even shows up, it is only about +6 months after I posted.

Even tried their search console thing, it doesn't report any issues with my site. So it must be the lack of ads, cookies, and AI generated content which makes Google suspicious of it.

So, If you are an engineer looking for solutions to your problems online, just stop using Google. It's become so utterly useless, it's ridiculous. Of course you will miss all the cool AI features and scam ads, but there's always some drawbacks.

Reposting my post from Mastodon yesterday, it felt relevant. https://infosec.exchange/@hertg/112989703628721677

[–] [email protected] 30 points 2 months ago* (last edited 2 months ago) (1 children)

I gave up on Google over a decade ago - maybe two decades by now. Way back when I was using Yahoo, Ask Jeeves, Astalavista, and others. When Google came, it somehow beat them all at finding exactly what I was looking for.

Later they stopped searching for the exact words you typed, but it was okay because adding a plus in front of terms, or quotes around phrases, still let you search exact things. The combination of both systems was very powerful.

And then plus and quotes stopped working. Boolean operators stopped working. Their documentation still says they work, but they don’t.

Now, it seems like your input is used only as a general guideline to pick whatever popular search is closest to what it thinks you meant. Exact words you typed are often nowhere in the page, not even in the source.

I only search Google maps now, and occasionally Google translate.

[–] [email protected] 14 points 2 months ago (2 children)

and occasionally Google translate

deepl.com is a decent alternative, if you want to replace Google Translate

load more comments (2 replies)
[–] [email protected] 13 points 2 months ago

So it must be the lack of ads, cookies, and AI generated content which makes Google suspicious of it

If your site isn't integrated with Google's Adsense infrastructure it is immediately at a disadvantage as Google won't scan your site anywhere near as often, and even when it does will put the results way below anything else that does. It's not that it finds your site suspicious, it is simply incentivized to really look hard at all the other sites paying for service.

[–] [email protected] 12 points 2 months ago* (last edited 2 months ago)

I totally came to say this. Google has become designed to tarpit you into staying on the site longer. They no longer have the goal of giving you what you want quickly, they want you to see more ads.

Google makes $307/yr. per user. They are strongly motivated to tarpit us. If we want a clean search experience we need to be open to the idea of paying.

As an embedded systems dev that searches a lot of obscure stuff, I use Kagi and love it. Go try its free searches and see for yourself.

If you value your time and mental stability, please do yourself a favor and go see what clean, high quality search results look like on Kagi.

[–] [email protected] 8 points 2 months ago* (last edited 2 months ago)

Google used to better than ddg like a year ago, now it's almost completely unusable for development and I find myself going back to ddg and actually finding what I want instead of some unrelated nonsense, ads and LLM output crap

[–] [email protected] 7 points 2 months ago (2 children)

It kinda depends what you're looking for. For technical stuff DDG is much better than Google (I don't know about kagi) but for local information Google still gives better results. Google seems to return what it thinks you want to search for and not what you actually tell it to so for exact searches it's always worse. If you're not sure what you're looking for Google can be better sometimes.

[–] [email protected] 5 points 2 months ago* (last edited 2 months ago) (1 children)

Please try kagi.

Not saying it's you, but some people that think paying for Search is silly have forgotten how wonderful clean searches with actual answers are.

[–] [email protected] 2 points 2 months ago

I've gotten pretty used to DDG's interface. I'll try kagi at some point but I don't know if I'd use it full time.

[–] Taleya 3 points 2 months ago* (last edited 2 months ago)

that's because google is geared towards selling shit, not locating articles on the internet.

DDG shits me with its "oh a - symbol means show less of something" no it means I want it fucking elimated you fl00n.

[–] [email protected] 4 points 2 months ago

Kagi seems to surface great independent content and I've been loving it.

[–] Taleya 3 points 2 months ago (1 children)

Google's been heading that way for a while, but goddamn this last month it's completely shat the bed.

My fave was the other night whrn a search for 'vast visual auditory sensory theatre' (literal artist and album) gave me top results of scholarly articles. Trying to google song lyrics gave me fucking screen issues. Utterly useless now.

Yandex gives some fun results, when was the last time you saw non-reddit forum posts pop up?

[–] [email protected] 3 points 2 months ago

Switched to Perplexity a year ago, but I occasionally still go to Google just from muscle memory. Google's aggressively unhelpful now - it's kinda insane.

[–] [email protected] 2 points 2 months ago

In contrast to my experience, all the other search engines stink. Google is the only good one. But I suggest using a frontend like Araa if you want privacy.

load more comments (1 replies)
[–] [email protected] 36 points 2 months ago (2 children)
[–] [email protected] 14 points 2 months ago

I wouldn't recommend talking to your cat about Satanism. The best bet is to just hope they never find out about it.

[–] [email protected] 9 points 2 months ago (1 children)
[–] [email protected] 9 points 2 months ago

Hold up, this exists?

[–] [email protected] 35 points 2 months ago (3 children)
[–] [email protected] 6 points 2 months ago (1 children)
[–] [email protected] 14 points 2 months ago* (last edited 2 months ago) (3 children)
[–] [email protected] 2 points 2 months ago (1 children)
[–] [email protected] 2 points 2 months ago (1 children)

As I have stolen these, now you too shall carry on the tradition.

load more comments (1 replies)
[–] [email protected] 2 points 2 months ago

Love them all.

[–] [email protected] 2 points 2 months ago

Man, the world needs that fly book.

load more comments (1 replies)
[–] [email protected] 20 points 2 months ago (3 children)

[off topic]

I've been telling people to read 'Cryptonomicon' for decades.

It tells two interwoven stories. Back in WW2 the grandfather is involved in proactive missions to keep the Nazis from learning the Allies had broken their codes, and in the late 1990's the grandson is trying to start an online bank

[–] [email protected] 13 points 2 months ago (1 children)

This book also basically predicted cryptocurrency (but not the blockchain stuff)

[–] [email protected] 9 points 2 months ago

I had a long flight so I took along Reamde.

I'd read it twice before, but damned if it didn't hook me up again. I got to the first airport around 10 am and didn't get home until 3 am. Saved my sanity.

For the uninitiated, Reamde involves the kidnapped niece of a billionaire game maker; the game is really fun and also a money laundering operation. There are terrorists, Right Wing militias, undercover spies, demented science fiction authors, and a bear skin rug.

[–] [email protected] 3 points 2 months ago (1 children)

I remembering stumbling into this book at a shop a while back, reading the synopsis on the back and then the first page thinking "This should be fun." I was not prepared for how enthralling and deep the story went. Perfect travel book, loved reading it on flights. Would be amazing to see it adapted as an HBO show, especially the hunt in the forest towards the end. I was laughing so hard!

[–] [email protected] 3 points 2 months ago

He just casually invented cryptocurrency as a plot device.

[–] [email protected] 3 points 2 months ago

My library estimates I'll be able to read it in 7 weeks, so thanks for the future surprise I'll forget about until then.

[–] [email protected] 12 points 2 months ago (2 children)
[–] [email protected] 3 points 2 months ago* (last edited 2 months ago)

*(char*)0 = 0; - What Does the C++ Programmer Intend With This Code? - JF Bastien - C++ on Sea 2023

https://www.youtube.com/watch?v=dFIqNZ8VbRY

[–] [email protected] 2 points 2 months ago (2 children)

How would you use that for debugging?

(Sry I'm too cheap to go and buy the book)

[–] [email protected] 7 points 2 months ago

My best guess is that in some configurations it raises SIGSEGV and then dumps core. Then, you use a debugger to analyse the core dump. But then again you could also set a breakpoint, or if you absolutely want a core dump, use abort() and configure SIGABRT to produce a core dump.

[–] [email protected] 2 points 2 months ago

to see whether your code has executed a certain path (like printf("here") but as a crash)

[–] Taleya 10 points 2 months ago

Googling doesn't work any more, they're incentivised to keep you searching fruitlessly for as long as possible so they can serve more ads

[–] [email protected] 8 points 2 months ago (2 children)
[–] [email protected] 3 points 2 months ago
load more comments (1 replies)
[–] [email protected] 8 points 2 months ago* (last edited 2 months ago) (1 children)

Book for new programmers: How to properly prompt ChatGPT to solve errors.

[–] [email protected] 6 points 2 months ago (1 children)

Or dont read the book and paste your question in chatGPT

[–] [email protected] 6 points 2 months ago (6 children)

Better yet, have your LLM of choice read the book first.

load more comments (6 replies)
[–] [email protected] 6 points 2 months ago (2 children)

If you're asking for real, Designing Data-Intensive Applications is probably the best I've ever read (if you're into that kind of thing)

[–] [email protected] 2 points 2 months ago

I'll keep in mind getting pdf

[–] [email protected] 2 points 2 months ago* (last edited 2 months ago) (1 children)

I've been trying for years to complete this, but it's very weighty and I keep forgetting minor concepts every now and then. I'm still stuck at the Replication chapter.

load more comments (1 replies)
[–] [email protected] 5 points 2 months ago

Man! I need a dozen of this in paper format to send around.

[–] [email protected] 3 points 2 months ago* (last edited 2 months ago)

The best book is either Consider Phlebas by Iain Banks, or Fine Structure by Sam Hughes.

Oh, you meant programming books. Maybe still try Sam Hughes, it'll probably be more blog post than book, though

Edit: You might also like Ra by Sam Hughes; it's magic as a field of science/engineering, and spells have programming-like syntax. Spoiler: 'magic' is not actually magic

load more comments
view more: next ›