frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Nearley.js: a toolkit for parsers written in JavaScript

https://nearley.js.org/
1•fanf2•41s ago•0 comments

Quantum code breaking? You'd get further with an 8-bit computer, abacus, and dog

https://www.theregister.com/2025/07/17/quantum_cryptanalysis_criticism/
1•beardyw•1m ago•0 comments

Show HN: Beautiful CSS Radios Examples

https://getcssscan.com/css-radios-examples
1•guivr•5m ago•0 comments

Pix Payment System Against the Law for Witholding Its Source Code

https://d1gesto.blogspot.com/2025/06/brazils-pix-system-faces-legal-risk-for.html
1•voxleone•5m ago•0 comments

Automated Function ID Database Generation in Ghidra on Windows

https://blog.mantrainfosec.com/blog/17/automated-function-id-database-generation-in-ghidra-on-windows
1•eqarmada2•7m ago•1 comments

Exorcism

https://en.wikipedia.org/wiki/Exorcism
1•simonebrunozzi•7m ago•0 comments

Show HN: Trialguard – Subscription tracker Chrome extension

https://trialguard.app/
1•bigbrainmacko•10m ago•0 comments

Show HN: I built an interactive tool to beat my study

https://www.octivus.xyz/
1•Bslou•13m ago•0 comments

Smallest USB-C Li-Ion Charger?

https://www.youtube.com/watch?v=9voOQcQ1ySA
1•iamflimflam1•13m ago•0 comments

Large Hadron Collider data hints at explanation for why everything exists

https://www.theregister.com/2025/07/17/cern_lhc_matter_antimatter/
2•beardyw•13m ago•0 comments

Show HN: SilentArena – Learn ransomware behavior safely (C-based)

https://github.com/SilentPuck/SilentArena
1•silentpuck•18m ago•0 comments

Show HN: I built a proxy to bypass adblock for OneSignal and Google Tag Manager

1•egorzudin•20m ago•1 comments

The Impact of Prompt Bloat on LLM Output Quality

https://mlops.community/the-impact-of-prompt-bloat-on-llm-output-quality/
1•kiyanwang•22m ago•0 comments

N8n vs. node-red, which to use for AI workloads

https://daniel-payne-keldan-systems.medium.com/n8n-vs-node-red-485e8382b971
2•daniel-payne•22m ago•0 comments

YouTuber faces jail time for showing off Android-based gaming handhelds

https://arstechnica.com/gadgets/2025/07/youtuber-faces-jail-time-for-showing-off-android-based-gaming-handhelds/
8•BallsInIt•25m ago•0 comments

Ask HN: Is OpenAI Acquiring Cursor?

1•schappim•29m ago•1 comments

The limits of our personal experience and the value of statistics

https://ourworldindata.org/limits-personal-experience
4•alphabetatango•41m ago•0 comments

Fast Speculative Decoding Algorithms for Heterogeneous Vocabularies

https://ICML.cc/virtual/2025/poster/43675
1•macleginn•41m ago•0 comments

Google finds custom backdoor being installed on SonicWall network devices

https://arstechnica.com/security/2025/07/google-finds-custom-backdoor-being-installed-on-sonicwall-network-devices/
4•akyuu•44m ago•0 comments

Show HN: A tool that alerts when 404s silently return 200)

https://heberjulio65.medium.com/when-an-404-suddenly-turns-200-and-you-didnt-knew-b35e474df44b
1•kurogai•48m ago•1 comments

Flower: A Friendly Federated AI Framework

https://flower.ai/
2•mpweiher•51m ago•0 comments

Show HN: SAML Proxy – decouple your SAML SP from your IdP

https://github.com/mikehadlow/samlproxy
2•mikehadlow•51m ago•1 comments

Upcoming coordinated security fix for all Matrix server implementations

https://matrix.org/blog/2025/07/security-predisclosure/
5•notpushkin•52m ago•0 comments

Peter Naur's legacy: Mental models in the age of AI coding

https://www.nutrient.io/blog/peter-naur-legacy-mental-models-age-ai-coding/
1•dmartincy•57m ago•1 comments

Voting age to be lowered to 16 in UK by next general election

https://www.theguardian.com/politics/2025/jul/17/voting-age-to-be-lowered-to-16-in-england-and-northern-ireland
5•hagbard_c•58m ago•5 comments

Untapped asset class no city planner is prepared for

https://flyingcar.sky.trade/
1•mrsmithadams•59m ago•0 comments

Mushroom learns to crawl after being given robot body

https://www.the-independent.com/tech/robot-mushroom-biohybrid-robotics-cornell-b2610411.html
2•Anon84•59m ago•0 comments

The AI Bubble Today Is Bigger Than the IT Bubble in the 1990s

https://www.apolloacademy.com/ai-bubble-today-is-bigger-than-the-it-bubble-in-the-1990s/
3•akyuu•1h ago•0 comments

Gmail/Google starts disabling features unless you agree to data processing

https://bsky.app/profile/victor.earth/post/3lu5ovm2oy22g
18•diggan•1h ago•6 comments

Scalability Is Not Performance

https://gregros.dev/architecture/scalability-is-not-performance
1•gregros•1h ago•0 comments
Open in hackernews

Wttr: Console-oriented weather forecast service

https://github.com/chubin/wttr.in
114•saikatsg•5h ago

Comments

ioma8•4h ago
The site is down :(
shellwizard•3h ago
HN hugh of death
voidUpdate•4h ago
This is cool, but it seems to give different results for my city depending on whether I use the normal view or the v2 or ?format views. The current weather is closer to the normal view
cess11•4h ago
Used it for a while but moved over to a national weather service for better data and uptime.

Nice API though.

opan•3h ago
How do you make use of your national weather service? Do you get a similar terminal output in the end?
cess11•2h ago
Yeah. I use the one in a neighboring country because they provide decent JSON and image API:s, unlike my local weather service.

In one use case I take 'https://api.met.no/weatherapi/locationforecast/2.0/compact?l...' and push through a jq incantation to format the prognosis for the coming five hours into a neat packaging for terminal viewing, then put that in a watch -n on five minutes. I'm not really interested in the escape sequences and ASCII art.

eisbaw•4h ago
I like the service but I've displayed this via curl on my home dashboard for more than 2 years - and the uptime is not great.
NoboruWataya•3h ago
You could self host it which would hopefully give better uptime (while also helping reduce strain on the public service)?
edarchis•4h ago
I love this one, it's excellent at packing lots and lots of information in very little space.

It's sadly victim of its success and is quite often over quota to its weather API. We should make a paid version that wouldn't have this problem and bring some monetary karma to Igor

NoboruWataya•3h ago
> As of the end of June 2025, wttr.in handles 20-25 million queries per day from 150,000 to 175,000 users, according to the access logs.

No wonder! That works out at about 133-143 requests per user per day. Presumably due to scripts refreshing their data 24/7.

Another solution is just to host it yourself, given the code is open source. No quota worries, and you can always donate to Igor if you feel so inclined (assuming he wants/accepts donations).

Duanemclemore•3h ago
This is pretty rad.

I'm surprised no one's made a CEEFAX replica for the terminal yet [0]. Their weather page is pretty iconic [1].

[0] There are CEEFAX Emulators online that pull from the BBC RSS feeds to do this.

[1] https://teletextart.co.uk/wp-content/uploads/2016/05/weather...

PokemonNoGo•2h ago
That is pretty. Can you link? Took me a moment to realise it wasnth July 20th yet. Can't imagine the weather was like that 9 years ago!
vesinisa•1h ago
July 20, 2016 was a Wednesday and the screencap shows Friday. First 20 July Friday before 2016 is Friday 20 July 2012.

No idea how to pull historical UK weather data to see if it matches :)

JdeBP•59m ago
You need some U.K.-specific knowledge, which is that CEEFAX went off air in 2012. If you see a screenshot of genuine CEEFAX (not one of the several modern things that pretend to be teletext) it will be from before 2012, possibly from long before as it was a service embedded in analogue PAL broadcasts that was capturable as page text (with all of the control characters) by BBC Micro users (who had bought the Acorn "Teletext Adapter") as long ago as the early 1980s.
section_me•1h ago
There is kind of one now https://github.com/shift/ceefax-weather :D
frumiousirc•1h ago
What took you so long?!
rjh29•1h ago
Have you actually run it?
section_me•34m ago
Of course I have. It's nothing impressive and far from a 100% clone of the CEEFAX page. But its a start if someone wanted to take it further. I was more interested in trying out ratatui with Gemini.
JdeBP•41m ago
Strictly speaking, one couldn't do it properly, rendering the pages as actual text for TUIs rather than graphically for GUIs, until Unicode version 13 came along, which included the necessary block graphics characters and which was only 5 years ago.

And even then one needs modern fonts like Viznut's Unscii or GNU Unifont or which cover the necessary code points (or one of the terminal emulators that algorithmically constructs block and line characters, and has been updated for Unicode 13).

* https://github.com/jdebp/unscii/blob/2.1.1f/src/grids.txt#L4...

* https://github.com/jdebp/unscii/blob/2.1.1f/src/grids.txt#L9...

kcaseg•3h ago
We need more little ANSI suns in the age of AI slop
cft•3h ago
It needs a compact Non-ascii Graphics form, in termux on my phone, the ASCII output is too big for the screen size.
shakna•3h ago
It has a json API, if you want to spin up and customise something for your window size.
JdeBP•17m ago
It has one. There is a ?format= URL parameter.
yoavm•3h ago
That's a niche within a niche, I know, but for those using Waybar (https://github.com/Alexays/Waybar/), I've built wttrbar (https://github.com/bjesus/wttrbar/) - it uses Wttr.in to display a nice detailed weather widget in your bar.
dghf•2h ago
Thank you! I was just thinking "how do I get this to display in Waybar", and now I don't have to spend time working on it.

EDIT: this is particularly timely because the UK Met Office has recently announced the retirement of the API I was previously using: https://www.metoffice.gov.uk/services/data/datapoint/datapoi...

aa-jv•3h ago
Ah, the age of the terminal is still very much well and truly with us. If only the teenager me, clutching my vt100 back in 1988 as it was being removed to be replaced with 'a modern computer interface', would've known not to fret so much and just let the future have its way ..

The very awesome awesome-console-services has more neat tools like this:

https://github.com/chubin/awesome-console-services

My favourite is:

$ nc ticker.bitcointicker.co 10080

.. which is a nice thing to check while waiting for builds ..

And then, there is this wonderful, wonderful thing:

$ curl cheat.sh

Such a great resource when all you've got is a terminal and 15 minutes waiting for those builds ..

Another great one, which I have found very useful for sending myself links across an air gap ..

$ curl qrenco.de/https://news.ycombinator.com/item\?id\=44590971

Okay, one more, because I just can't get enough:

$ curl https://api.lyrics.ovh/v1/depeche-mode/behind-the-wheel

pvdebbe•3h ago
Kinda neat. One UX gotcha that I spot right away. I'm polling weather for my area (UTC+3) and it gives me some night time values even though it's noon. I'm thinking timezones?
mixcocam•2h ago
I think that this popularity is making the site slow down dramatically. I hope all these hits won't cost too much $$
mixcocam•2h ago
I think that this popularity is making the site slow down dramatically. I hope all these hits won't cost too much $$
rollcat•2h ago

    curl wttr.in/London > london.txt
    open -a TextEdit london.txt
Witness the control code garbage.

IMHO you should not emit ANSII escape sequences until you at least call isatty, preferably also consult termcap. But also IMHO we should bury the terminals, and build better REPLs and lightweight GUI toolkits.

lblume•2h ago
This is a web API that does not have access to your local computer.
felipelemos•2h ago
AND you can disable the ANSI control code:

```

To force plain text, which disables colors:

$ curl wttr.in/?T

```

lblume•2h ago
You can also just change the format to whatever suits you best.
throwaway150•2h ago
> IMHO you should not emit ANSII escape sequences until you at least call isatty, preferably also consult termcap.

How exactly do you propose that wttr.in, which is not actually a process running on your machine (but a remote server), call isatty() on your machine?

Or are you suggesting that curl should check isatty() and strip out the control codes? But that would be overstepping curl's responsibilities, wouldn't it? Its job is to faithfully output the response, garbage or not.

rollcat•2h ago
> How exactly do you propose that wttr.in, which is not actually a process running on your machine (but a remote server), call isatty() on your machine?

That's exactly my point. You can't do that.

    $ curl --head -s wttr.in/London | grep Content-Type
    Content-Type: text/plain; charset=utf-8
This is not plaintext, this is ANSII garbage. If you're outputting HTML, you set the content type to text/html, so the client can interpret it. But the lack of an associated content type is not the problem, it's the blind assumptions about the capabilities of the client.
throwaway150•1h ago
Thanks for clarifying. You're right! The output isn't actually text/plain. As someone who values standards, it is annoying to see control-code garbage when the content type claims to be text/plain. But wttr.in seems more like a fun novelty than a serious service and I suspect they don't pay much attention to standards. Still, I'm not sure that excuses saying one thing in the headers and delivering something else in the body.

But you've got a fair point. So thanks!

klinch•57m ago
Agreed, but but what would the right content type even be? Afaik there's no `text/tty` or `text/with-control-characters` etc. On the other hand, using the generic `application/octet-stream` seems unnecessarily vague?
hliyan•2h ago
For some reason, I was expecting a user experience like:

  $ weather in san francisco, today evening?
    about 14C, no rain, cloudy
lblume•2h ago
Interesting idea. Surely one could write a weather command that would just forward $@ to a LLM to make a structured request. On the other hand, this doesn't seem useful enough to justify the needed compute.
ivolimmen•2h ago
I do not think I would need an LLM for making something like that
throwaway150•2h ago
Yes, absolutely. I certainly don't need an LLM to do something like that.

When I ask for the weather, I want to know exactly what the Met Office says the weather is. Not what an LLM guesses the Met Office might have said, with a non-zero chance of introducing a hallucination.

This habit of inserting LLMs into otherwise deterministic tasks is frustrating. Why take something that can be solved accurately and deterministically (like parsing the Met Office's data) and make it probabilistic, error-prone, and unpredictable with an LLM?

LLMs are appropriate for problems we cannot solve deterministically and accurately. They are not appropriate for problems we can already solve deterministically and accurately.

yoavm•2h ago
I'm pretty sure the idea is to use an LLM to parse the natural language into a query, not for guessing the weather.
throwaway150•1h ago
I didn't assume either that the LLM is to guess the weather. I said that using LLM for parsing the Met Office's data is maybe not such a good idea if you can do it deterministically.
yoavm•36m ago
The idea was "forward $@ to a LLM to make a structured request", not to parse a structured response.
krylon•2h ago
I really appreciate this service.

Worth pointing out, maybe, that there is an emacs package, too - more than one, actually, the one I am using (occasionally, at least) is https://github.com/cjennings/emacs-wttrin which is available from melpa.

lpollin•2h ago
This is great, but you can vibe this and have your own custom version hitting free weather services and getting the specific info you want without making global calls to a service that might not stick around. Also, when you make calls from a terminal, it could expose your server as one they might want to try to attack, because you might have access that they want and might be gullible enough to use random services, so your security might not be great. Even if the developer is well-intentioned, the person that takes over their domain later might not be. Curl has vulnerabilities, though.
latexr•1h ago
This is getting ridiculous. To propose accepting any random LLM suggestion for a random endpoint would be more trustworthy and reliable than a service which has been developed, trusted, and working for a decade… Equally nonsensical are the server exposure claims.

These comments are getting absurd, and are worryingly coming more and more from new accounts. Are you yourself a bot designed to spam communities and hype coding with LLMs?

throwaway57865•1h ago
That’s not what they’re saying. They’re saying that you could write code to do this and not be visiting some random page that targets you or potentially exploits vulnerabilities in curl.
DocTomoe•2h ago
From this developer: a talk about this project, some similar of his projects, and console/textmode-web interfaces: https://media.ccc.de/v/gpn18-164-using-and-creating-console-...
chrismatheson•1h ago
This was a welcome find today on HN. Gave my day a bit of joy.
PhilippGille•56m ago
Unfortunately 3-letter airport codes don't work as advertised, because for many airport codes there are actual cities with the same 3-letter name and those take precedence in their lookup.

Multiple GitHub issues around this have been opened already.

Otherwise pretty neat of course!

Langdal•9m ago
I really like the idea, but the data quality for my city (Trondheim, Norway) was unfortunately too off for me to use.

The national forecast service (yr.no) is saying it will be sunny and very hot all through the weekend, while wttr reports it will be 16-19 degrees Celcius and rain on saturday.