Hoogle appears to be down

It seems hoogle.haskell.org has been down all day. I get 502 Bad Gateway.

6 Likes

I notified folks in #haskell-infrastructure.

Meanwhile, if you are not already aware, you can run Hooge locally too!

2 Likes

There’s also a Hoogle at https://stackage.org.

2 Likes

And @MangoIV has his own instance too! https://hoogle.mangoiv.com/

6 Likes

Might be worth force reloading, it respects dark mode now.

2 Likes

and a fancy looking one at that :clap: +1

2 Likes

Thanks for notifying the folks in #haskell-infrastructure. Though maybe there is some automatic alert that detects it’s down as well?

Thanks for the pointer about building it locally. I use nix though with cached builds, so if I changed it to build docs, I’m afraid I wouldn’t hit the cache anymore and it would take a very long time to build. Maybe I could talk to my coworkers about possibly caching another set of builds with docs?

Yes, I know of the one at Stackage, but it doesn’t search packages that are in Hackage but not Stackage.

Also, I’m thinking of all the new Haskellers who have been taught to use Hoogle and might be a little distraught and more likely to give up on Haskell at this point.

1 Like

That’s awesome, did not know about that one, thanks @MangoIV.

1 Like

If you’re using the Nixpkgs infra, building docs should be the default afaik. There’s also a thing that gives you a hoogle for a package closure, I don’t remember the name though. In shellFor it might just be „withHoogle = true“

1 Like

Nice one - maybe it could mention which packages it covers - eg “stackage lts-22.35”, “hackage 20240915” or some such.

I wanted to keep UI as clean as possible. But it should get regenerated each night (standard settings, so iirc that’s stackage smth?) (I’m checking regularly and it has been working well since I spun it up). Perhaps I’ll add a herald endpoint for that stuff. Maybe I should also look to generate a bit more? Dunno how important that is for you, if there’s some interest then maybe I’ll add it :sweat_smile:

I don’t need this myself at the moment, even as a fallback, so no pressure. But it’s always useful to know what you’re searching (and how to adjust the scope by adding packages if that’s possible).

2 Likes

It was really helpful to have this when hoogle.haskell.org was down, thanks for providing it.

I personally find the layout, fonts and colors of hoogle.haskell.org easier to read, though. It was especially difficult to read the purple text on a black background when in dark mode.

1 Like

Thanks for the feedback. I have noticed that the darkmode has a bit of a problematic contrast, too. I will probably fix it soon.

That’s very nifty, thanks.

Is there a guide somewhere of how I can do this for a local cabal project with some private packages? Looks like there’s a way to generate a hoogle database using ‘local’ items and local haddocks, but it’s not very clear.

Not tried, but this seems spot on.

1 Like

I have fixed that problem.

1 Like

@MangoIV it’s beautiful, thank you

3 Likes

It really is. I might start using this by default now, not least because hoogle.haskell.org has been very slow recently. Thanks @MangoIV.

3 Likes