59 points

God I wish weather pages were more like that first one.

permalink
report
reply
46 points

I like to use this one: https://wttr.in/

You can get info for a specific city by appending it like this: https://wttr.in/newyork

permalink
report
parent
reply
-3 points

Nice thanks.

permalink
report
parent
reply
5 points

Tysm

permalink
report
parent
reply
4 points
*

It seems to be down right now, but if i remember correctly this one also works when you are using a terminal and curl, i.E. curl wttr.in/newyork

Edit: It works again, you can use the command as written above :D

permalink
report
parent
reply
-2 points
*

Akshwallyyyy those are both presentation problems, eg frontend

Edit: to those downvoting me please tell me why a frontend dev would end up showing a raw error like that on a page

permalink
report
reply
-3 points

Front hand back hand?

permalink
report
reply
11 points

The frontend developer made the backend so inefficient that it runs out of memory

permalink
report
reply
15 points

They have this cool hack where they emulate Edge within Node.js and then run their stuff as a webpage within Edge.

permalink
report
parent
reply
51 points
*

in Paris

in Paris

in Paris

in Paris

What is this bloat? Trash site.

permalink
report
reply
2 points

You can see the programmer used Copilot, who in their right mind would want to type <?php echo htmlspecialchars($city); ?> four times

permalink
report
parent
reply
7 points
*

It’s meant to be used like this:


curl localhost:8000/?city=Paris | grep Temperature >> TemperaturesOfTheWorld.log
permalink
report
parent
reply
5 points

Who was in Paris?

permalink
report
parent
reply
5 points

I mean maybe B’Ellana if Tom was into some kinky shit but we aren’t talking about Voyager right now.

permalink
report
parent
reply
2 points

Some fine gentlemen.

permalink
report
parent
reply
3 points

What’s a Paris?

permalink
report
parent
reply
16 points

Honestly you don’t even need to make the text field visible. If they can’t touch-type that’s on them.

permalink
report
parent
reply
22 points

I would prefer a dropdown list of all possible coordinate combinations.

permalink
report
parent
reply
19 points

Pfft just go there and feel the air yourself. Knowing the weather in advance is bloat anyway. If medieval sailors could launch ships without weather info and survive 30% of the time, you can too.

permalink
report
parent
reply

Programmer Humor

!programmerhumor@lemmy.ml

Create post

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

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.

Community stats

  • 5K

    Monthly active users

  • 1.5K

    Posts

  • 33K

    Comments