bhrgunatha's recent activity

  1. Comment on Day 2: Red-Nosed Reports in ~comp.advent_of_code

    bhrgunatha
    Link Parent
    Comment 1 You've specified #lang racket and used (require racket/base rackunit) - racket/base is redundant since it's a subset of #lang racket Comment 2 Since tolerant-safe? already calls safe? I...
    Comment 1

    You've specified #lang racket and used (require racket/base rackunit) - racket/base is redundant since it's a subset of #lang racket

    Comment 2

    Since tolerant-safe? already calls safe? I think (or (safe? report) (tolerant-safe? report)) cab be (tolerant-safe? report). That way you could replace the fold's in both parts with count ah.. ah.. aaaah

    Comment 3

    I was unaware of for/list/concurrent so thanks for introducing me to that! Does it buy you anything reading from a port though. Isn't the port a shared resource between all the threads? I'll have to experiment myself with that.

    2 votes
  2. Comment on Very unusual behaviour trying to use Duck Duck Go. Any suggestions for what to do? in ~tech

    bhrgunatha
    Link Parent
    It's the same with Chromium. Tried private window, trouble-shooting mode, even a new profile. Since posting and suggestions here I've become convinced it's the DNS cache at my service provider and...

    It's the same with Chromium. Tried private window, trouble-shooting mode, even a new profile.

    Since posting and suggestions here I've become convinced it's the DNS cache at my service provider and that they're ignoring other DNS requests. It's all going through their modem/router where I don't have admin privileges.

    I did read that most SOHO level routers have their own DNS server acting as a cache. Presumably they can't decrypt VPN traffic, but they can hijack/ignore DNS requests. Or the router cache is overly aggressive perhaps?

    I'll give it another day or two and if it doesn't self-correct I'll contact them.

    Weird that it's a single site (that I've discovered so far) and co-incident with DDG's new SSL certificate.

    3 votes
  3. Comment on Very unusual behaviour trying to use Duck Duck Go. Any suggestions for what to do? in ~tech

    bhrgunatha
    Link Parent
    I've re-booted my PC but hadn't thought about turning off the router. Definitely worth a try, thanks. Given that the traceroute I ran listed 9 hops I think it's the ISP's server that's cached the...

    I've re-booted my PC but hadn't thought about turning off the router. Definitely worth a try, thanks.

    Given that the traceroute I ran listed 9 hops I think it's the ISP's server that's cached the wrong value.

    7 votes
  4. Comment on Very unusual behaviour trying to use Duck Duck Go. Any suggestions for what to do? in ~tech

    bhrgunatha
    Link Parent
    I agree. ping -4 duckduckgo.com PING duckduckgo.com (216.239.38.120) 56(84) bytes of data. 64 bytes from any-in-2678.1e100.net (216.239.38.120): icmp_seq=1 ttl=58 time=4.47 ms 64 bytes from...

    It's a bit odd that you're getting an IPv6 address for DDG on the ping command

    I agree.

    ping -4 duckduckgo.com
    PING duckduckgo.com (216.239.38.120) 56(84) bytes of data.
    64 bytes from any-in-2678.1e100.net (216.239.38.120): icmp_seq=1 ttl=58 time=4.47 ms
    64 bytes from any-in-2678.1e100.net (216.239.38.120): icmp_seq=2 ttl=58 time=3.31 ms
    64 bytes from any-in-2678.1e100.net (216.239.38.120): icmp_seq=3 ttl=58 time=5.86 ms
    64 bytes from any-in-2678.1e100.net (216.239.38.120): icmp_seq=4 ttl=58 time=3.90 ms
    

    216.239.38.120 is google.

    Interestingly using dig with my ISP's DNS servers gives the same IP address as I get with the google and cloudflare servers.

    Since only the VPN has worked I guess they are ignoring other DNS requests and it's somehow wrongly using a google address.

    4 votes
  5. Comment on Very unusual behaviour trying to use Duck Duck Go. Any suggestions for what to do? in ~tech

    bhrgunatha
    Link Parent
    Thank you for that. I've tried using both google(8.8.8.8) and cloudflare(1.1.1.1) DNS server both of which resolve duckduckgo.com to 20.43.161.105 which is different to the one you have??? See my...

    duckduckgo.com resolves to 52.142.124.215

    Thank you for that.

    I've tried using both google(8.8.8.8) and cloudflare(1.1.1.1) DNS server both of which resolve duckduckgo.com to 20.43.161.105 which is different to the one you have???

    See my reply to password1 for more strange behaviour.

    Similarly using the IP address you posted directly in my browser (https://52.142.124.215 ) presents as duckduckgo.com in the address bar but displays the google 404 page???

    1 vote
  6. Comment on Very unusual behaviour trying to use Duck Duck Go. Any suggestions for what to do? in ~tech

    bhrgunatha
    Link Parent
    Using both cloudflare and google's give the same IP address for duck duck go: 20.43.161.105 Note that it is oddly different from the one posted by @Protected I visit https://20.43.161.105 in my...

    Using both cloudflare and google's give the same IP address for duck duck go: 20.43.161.105
    Note that it is oddly different from the one posted by @Protected

    I visit https://20.43.161.105 in my browser and I get an SSL warning:

    Warning: Potential Security Risk Ahead - I usually see these when a website forgets to renew their SSL certificate. Clicking on the Advanced button then displays:

    Websites prove their identity via certificates. 
    irefox does not trust this site because it uses a certificate that is not valid for 20.43.161.105. 
    The certificate is only valid for the following names: *.duckduckgo.com, duckduckgo.com
     
    Error code: SSL_ERROR_BAD_CERT_DOMAIN
    

    Weird.
    When I view the certificate it looks like a valid certificate for DDG issued by DigiCert Inc.

    Interestingly is says:
    Validity
    Not Before: Mon, 28 Oct 2024 00:00:00 GMT
    Not After: Tue, 25 Nov 2025 23:59:59 GMT

    Which is suspiciously around the time I started having issues.

    Another button appears after a short delay saying Accept the Risk and Continue.

    After clicking THAT links I then see google 404 not found page again!

    .

    1 vote
  7. Very unusual behaviour trying to use Duck Duck Go. Any suggestions for what to do?

    Solution I added 20.43.161.105 duckduckgo.com to my hosts file and everything is working fine now. I also changed DNS servers away from my ISPs, thanks to all the recommendations in this thread....

    Solution

    I added 20.43.161.105 duckduckgo.com to my hosts file and everything is working fine now.
    I also changed DNS servers away from my ISPs, thanks to all the recommendations in this thread.

    cat /etc/resolve.conf
    nameserver 1.1.1.1
    nameserver 1.0.0.1
    

    That seems to be working

    > nslookup duckduckgo.com
    Server:		1.1.1.1
    Address:	1.1.1.1#53
    
    Non-authoritative answer:
    Name:	duckduckgo.com
    Address: 202.39.62.156
    Name:	duckduckgo.com
    Address: 2001:b000:1a0:3505:202:39:62:15d
    

    except (note that non-autoratative IP address which belongs to my ISP) ...

    > ping -4 duckduckgo.com 
    PING duckduckgo.com (202.39.62.156) 56(84) bytes of data.
    

    My ISPs address again. More...

    traceroute to duckduckgo.com (202.39.62.156), 30 hops max, 60 byte packets
     1  * * *
     2  * * *
     3  * * *
    ...
    30 * * * *
    

    Why do ping and traceroute not use the new DNS server's I've configured (after re-booting too_)
    The only thing to work is to add

    20.43.161.105 duckduckgo.com
    

    to my hosts file and now everything seems to be working as expected, though I have doubts now that changing the DNS configuration has done any good.

    I know ISPs cache things like youtube to reduce costs so I'm wondering if 202.39.62.156 handled caching of duckduckgo, and they pointed their nameservers there and that box is broken.

    Thanks for everyone's input and patience (lol are you still reading???)


    Original Question

    I've used Duck Duck Go as my main search engine for many, many years.
    I have several search engines installed in Firefox including 2 for duck duck go. One for the /lite version and one for the full version.

    [See update at bottom]

    In recent days neither of these work. I would type my query into the search engine, press enter as I have done for years.

    All I see is a blank page.

    The latest development is that when I try and enter ANY search to either of those engines I get a GOOGLE 404 not found page.

        
        traceroute duckduckgo.com                                                                                                             ─╯
        traceroute to duckduckgo.com (216.239.38.120), 30 hops max, 60 byte packets
         1  * * *
         2  * * *
         3  The usual internal routing of my ISP
         4  ""          ""            ""
         5  ""          ""            ""
         6  ""          ""            ""
         7  ""          ""            ""
         8  * * *
         9  any-in-2678.1e100.net (216.239.38.120)  4.089 ms  4.077 ms  4.181 ms
        
        ping duckduckgo.com                                                                                                                   ─╯
        PING duckduckgo.com (2001:4860:4802:32::78) 56 data bytes
        64 bytes from any-in-2001-4860-4802-32--78.1e100.net (2001:4860:4802:32::78): icmp_seq=1 ttl=117 time=10.1 ms
        64 bytes from any-in-2001-4860-4802-32--78.1e100.net (2001:4860:4802:32::78): icmp_seq=2 ttl=117 time=8.52 ms
        64 bytes from any-in-2001-4860-4802-32--78.1e100.net (2001:4860:4802:32::78): icmp_seq=3 ttl=117 time=6.87 ms
        64 bytes from any-in-2001-4860-4802-32--78.1e100.net (2001:4860:4802:32::78): icmp_seq=4 ttl=117 time=8.83 ms
        
        --- duckduckgo.com ping statistics ---
        4 packets transmitted, 4 received, 0% packet loss, time 3005ms
        rtt min/avg/max/mdev = 6.873/8.584/10.118/1.155 ms
    
    cat /etc/resolv.conf
    > MY ISPs name servers
    > MY ISPs name servers
    

    Sure enough I cannot find any pages on the site 2001-4860-4802-32--78.1e100.net which is obviously belongs to google.

    This is very very strange.

    Could someone verify if they can use DDG or whether they see the same as me?
    Does anyone have any idea what's happening?


    UPDATE
    I can connect to and use DuckDuckGo using a browser VPN. This appears to be a mess made by my ISP.
    I'd still like suggestion to overcome the problem though.

    14 votes
  8. Comment on Gamedev in Lisp. Part 1: ECS and metalinguistic abstraction in ~comp

    bhrgunatha
    Link
    If anyone's interested in Lisp game dev, you may like Bagger's channel in particular The Pushing Pixels With Lisp playlist. Other playlists deal with Lisp in general too. The channel is no longer...

    If anyone's interested in Lisp game dev, you may like Bagger's channel in particular The Pushing Pixels With Lisp playlist. Other playlists deal with Lisp in general too.

    The channel is no longer active but there's plenty to check out.

    2 votes
  9. Comment on Great examples of explaining an algorithm (or even just a process) in ~engineering

    bhrgunatha
    Link
    Do you know what O(n), O(log n) or O(n*n) mean? If not these 2 lectures may be too formal for you, but they are well structured and explained. If you have the co-ordinates of points or places, how...

    Do you know what O(n), O(log n) or O(n*n) mean? If not these 2 lectures may be too formal for you, but they are well structured and explained.

    If you have the co-ordinates of points or places, how do you find the closest pair? You could just find the distance between each pair of points and remember the closest and if you had say 10 places that would be fine. You would compare 45 distances.

    Point 1 to each of 2..10 = 9  
    Point 2 to each of 3..10 = 8 
        - ignore 1 since 1 -> 2 was already done
    Point 3 to each of 4..10 = 7  
    ...
    

    I'm sure you see the pattern. What if you want to compare over 19,495 places like the cities, towns and villages in the U.S? That would be slightly over a whopping 190,000,00 comparisons.

    These lectures show (and prove) how you can calculate that with about 200,000 comparisons.

    1 The high level overview and details of the algorithm
    2 The proof

    If you found them worthwhile, hit me up.
    Tim Roughgarden is a great teacher and I have plenty of links to share.

    1 vote
  10. Comment on What are your ten favourite movies of all time? in ~movies

    bhrgunatha
    Link Parent
    Right. the fun is seeing everyone's favourites, then kicking yourself for not listing so many of your other favourites. A few surprises in this thread ... for example are Scorcese and Kubrick...

    Right. the fun is seeing everyone's favourites, then kicking yourself for not listing so many of your other favourites. A few surprises in this thread ... for example are Scorcese and Kubrick under-represented?

    A toss up between Mulholland Drive and Tarkovsky's Stalker (which is his only film I've seen but left a big, big impression). I feel that Genius is thrown about for a lot of good or even great (but not actual genius) directors. I do feel Lynch deserves it though.

    By the way you've done a bang up job responding to a very busy thread, cheers.

    1 vote
  11. Comment on What are your ten favourite movies of all time? in ~movies

    bhrgunatha
    (edited )
    Link
    Alphabetic order: A Fish Called Wanda Alien Koyaanisqatsi Lost Highway Monty Python and the Holy Grail Mulholland Drive Pan's Labyrinth RoboCop Santa sangre The Lobster I used to rate movies on...

    Alphabetic order:

    • A Fish Called Wanda
    • Alien
    • Koyaanisqatsi
    • Lost Highway
    • Monty Python and the Holy Grail
    • Mulholland Drive
    • Pan's Labyrinth
    • RoboCop
    • Santa sangre
    • The Lobster

    I used to rate movies on Movie Lens because I liked their recommendations at the time. I just chosen 10 of my 5.0-rated films. Problem is I stopped using it ages ago so these are historical faves. Honestly this is a fool's errand, lol. Made even worse by reading through other people's lists :(

    7 votes
  12. Comment on Apple Music's 100 best albums list in ~music

    bhrgunatha
    Link Parent
    It's a nightmare with a desktop browser too :(

    It's a nightmare with a desktop browser too :(

    1 vote
  13. Comment on Five of the best Terry Pratchett books and suggestions for how to read Pratchett's work in ~books

    bhrgunatha
    (edited )
    Link
    I was considering this myself a while ago. The best result I found was a reddit thread and its expandable image.

    I was considering this myself a while ago.

    The best result I found was a reddit thread and its expandable image.

    4 votes
  14. Comment on Whats a drug that you would never try? in ~talk

    bhrgunatha
    Link Parent
    I just meant it as an ironic footnote.

    I just meant it as an ironic footnote.

    1 vote
  15. Comment on Whats a drug that you would never try? in ~talk

    bhrgunatha
    Link
    I find it interesting this was posted by @buddhism@ ... see later. I crossed out drugs from the NIH Commonly use drugs chart that I haven't taken Alcohol Cannabis (Marijuana/Pot/Weed) Central...

    I find it interesting this was posted by @buddhism@ ... see later.

    I crossed out drugs from the NIH Commonly use drugs chart that I haven't taken

    • Alcohol
    • Ayahuasca
    • Cannabis (Marijuana/Pot/Weed)
    • Central Nervous System Depressants (Benzos)
    • Cocaine (Coke/Crack)
    • Fentanyl
    • GHB
    • Hallucinogens
    • Heroin
    • Inhalants
    • Ketamine
    • Khat
    • Kratom
    • LSD (Acid)
    • MDMA (Ecstasy/Molly)
    • Mescaline (Peyote)
    • Methamphetamine (Crystal/Meth)
    • Over-the-Counter Medicines—Dextromethorphan (DXM)
    • Over-the-Counter Medicines—Loperamide
    • PCP (Angel Dust)
    • Prescription Opioids (Oxy/Percs)
    • Prescription Stimulants (Speed)
    • Psilocybin (Magic Mushrooms/Shrooms)
    • Rohypnol® (Flunitrazepam/Roofies)
    • Salvia
    • Steroids (Anabolic)
    • Synthetic Cannabinoids (K2/Spice)
    • Synthetic Cathinones (Bath Salts/Flakka)
    • Tobacco/Nicotine and Vaping

    I'm pretty sure I would have tried the rest if I'd had access to them, except Steroids.

    I'm not sure if I was addicted to the harder drugs - though probably weed and alcohol. Despite the horror stories and danger, a lot of people take harder drugs recreationally, probably way more than you think - though I'm not condoning it.

    I ended up in a bad way at one point. I still don't understand why but weirdly I convinced myself to spend a year in a Zen monastery in Japan. Japan is notoriously expensive so I travelled and worked (mostly illegally) through Asia trying desperately to save enough. Despite continuing my bad habits I was introduced to a yoga/meditation teacher which eventually led me to quit everything though it was quite a long struggle.

    I never made it to Japan へ‿(ツ)‿ㄏ

    14 votes
  16. Comment on TV Tuesdays Free Talk in ~tv

    bhrgunatha
    Link Parent
    Just deserts? I assumed it was the mistress but remember wondering how could she have dried and changed so quickly. Poetic justice though if it was someone else disguised as her.
    Just deserts? I assumed it was the mistress but remember wondering how could she have dried and changed so quickly. Poetic justice though if it was someone else disguised as her.
    1 vote
  17. Comment on TV Tuesdays Free Talk in ~tv

    bhrgunatha
    Link Parent
    For anyone else interested, it's worth reading your more detailed analysis than mine. The only thing I'd mention is he lost his right eye at 3 to cancer and it's a prosthetic - same as mine as if...

    For anyone else interested, it's worth reading your more detailed analysis than mine.

    The only thing I'd mention is he lost his right eye at 3 to cancer and it's a prosthetic - same as mine as if I needed any more

    2 votes
  18. Comment on TV Tuesdays Free Talk in ~tv

    bhrgunatha
    Link Parent
    We have to infer one hidden detail The doctor strangles his wife after planning a trip together and she dies later in the hospital. Columbo discovers the plan to disguise his mistress/patient as...
    We have to infer one hidden detail The doctor strangles his wife after planning a trip together and she dies later in the hospital. Columbo discovers the plan to disguise his mistress/patient as his wife boarding and leaving the plane . She crumbles under Columbo's threats and pressure and agrees to fake her death at the pool (implying Columbo set this up off-screen). Overhearing the doctor's contempt causes her to fully co-operate with the police.
    2 votes
  19. Comment on TV Tuesdays Free Talk in ~tv

    bhrgunatha
    Link Parent
    You're not wrong though, it ran from 1968-2003 - 75 in hist last appearance. Apparently a proposed finale was turned down in 2008. Hope you enjoy them as much as I did.

    You're not wrong though, it ran from 1968-2003 - 75 in hist last appearance. Apparently a proposed finale was turned down in 2008. Hope you enjoy them as much as I did.

    2 votes
  20. Comment on ‘Reddit can survive without search’: company reportedly threatens to block Google in ~tech

    bhrgunatha
    Link Parent
    It's not filtering DDG's own results, it takes you directly to google's search page/s (or whatever the site). It also strips out some of the tracking you wold incur if you searched directly on the...

    It's not filtering DDG's own results, it takes you directly to google's search page/s (or whatever the site). It also strips out some of the tracking you wold incur if you searched directly on the site like your originating IP address but it's marginal at best since once you're on the site you're bound by their own data collection.

    There's even a !bangs search

    1 vote