robinadams

@robinadams@mathstodon.xyz

Computer Scientist, husband, father and comedian (he/him)

This profile is from a federated server and may be incomplete. For a complete list of posts, browse on the original instance.

futurebird , to random
@futurebird@sauropods.win avatar

Is there a good resource or book for learning about some of the details of how webservers work?

For example if I want an IP address on a intranet to be a webpage that people on that intranet can go to... how would I set that up from scratch. Let's say I have a machine with a static IP on the local net... (but what I really also need to understand is how a static IP is established locally, a DNS?)

Maybe the dream book or resource doesn't exist. But I ask anyway.

(it's macs if that matters)

robinadams ,

@futurebird @adriano A Web server is a program that takes HTTP requests as inputs and returns HTTP responses. Requests and responses are just text strings (*) of a certain format

For the bare minimum "Hello World" server, write a program such that when it receives this string

GET /index.html HTTP/1.1

It returns this string:

HTTP/1.1 200 OK
<html>
<head>
<title>Hello World</title>
</head>
<body>
<p>Hello World!</p>
</body>
</html>

A browser is a program that takes a URL from the user, send a GET request to that location, and if it gets a 200 response whose body is valid HTML, then it renders it on the screen.

For lower level than that - what does it mean for a machine to send or receive a string to or from a given IP address - then you want to start looking into the TCP/IP model.

Hope I understood what you're asking. Sorry if this was patronising.

(*) The body of a request or response need not be text, it could be a sequence of bytes representing an image, say.

molly0xfff , to random
@molly0xfff@hachyderm.io avatar

just realized i've had the mollywhite.net domain for over 10 years(!!)

related sneak peek into an upcoming piece: i firmly believe that if you're going to spend money on one thing online it should be a domain, particularly as online identity gets more fragmented. as platforms come and go, you can always find me there.

robinadams ,
ianrosewrites , to random
@ianrosewrites@scicomm.xyz avatar

The implosion and (to use @pluralistic 's excellent term) enshittification of National Geographic has been truly sad to watch. A NatGeo writing job was once the dream of just about every science and nature writer I knew. Now they've gutted their writing staff, and all they seem to do is gear reviews and SEO listicles. In a few short years, they've taken a legendary brand and made it something so forgettable. I just deleted it from my feed reader, which 20 year old me would never understand.

robinadams ,

@fuzzychef @ianrosewrites @pluralistic This was the most in-depth account I could find. The magazine, like most print media, was losing money hand over fist. NatGeo was being kept alive by the cable channel, which was showing Doomsday Preppers and adaptations of Bill O'Reilly's history books. So the TV people were calling the shots. https://www.theguardian.com/media/2015/nov/14/how-fox-ate-national-geographic

pluralistic , to random
@pluralistic@mamot.fr avatar

Combine Angelou's "When someone shows you who they are, believe them" with the truism that in politics, "every accusation is a confession" and you get: "Every time someone accuses you of a vice, they're showing you who they are and you should believe them."

--

If you'd like an essay-formatted version of this thread to read or share, here's a link to it on pluralistic.net, my surveillance-free, ad-free, tracker-free blog:

https://pluralistic.net/2024/04/19/make-them-afraid/#fear-is-their-mind-killer

1/

robinadams ,

@MPgh @sentient_water @pluralistic "The idea that the poor should have leisure has always been shocking to the rich." - In Praise of Idleness by Bertrand Russell

https://harpers.org/archive/1932/10/in-praise-of-idleness/

pluralistic , to random
@pluralistic@mamot.fr avatar

Today's threads (a thread)

Inside: Amazon's financial shell game let it create an "impossible" monopoly; and more!

Archived at: https://pluralistic.net/2024/03/01/managerial-discretion/

#Pluralistic

1/

robinadams ,

@GhostOnTheHalfShell @horenzienzwijgen @pluralistic The FTC is suing Amazon for this and other anti-competitive practices. The case has been ongoing for over a year now.

https://itif.org/publications/2023/11/09/taking-stock-of-phase-one-of-the-ftcs-case-against-amazon/

futurebird , to random
@futurebird@sauropods.win avatar

Why do they make us do all that extra multiplying for (a+b)^2? FOIL? it's just a bunch of extra work. "show your work" ? I can do it in my head! (a+b)^2 is a^2 + b^2 And that's how it will be with me in charge.

FOIL is a deep state plot to add extra steps to homework!

(This is what Trump sounds like to me when he talks about countries paying us. And climate change... and everything. )

robinadams ,

@futurebird Way too coherent for Trump.

"Look, (a+b)^2 - and the thing is, here in America, we have the greatest mathematicians in the world - but they tell me a^2, they tell me b^2, they tell me some mathematicians say 2ab, maybe Chinese mathematicians, I don't know, but they tell me - and did you know there's a thing called the Chinese Remainder Theorem? Not many people know that, but under Obama, under Biden, you have children going into schools and being told... and they said to me FOIL. Did you know that? There's a thing called FOIL, and it's, it's... but so they were telling me there's this thing called FOIL, and I said 'We're going to FOIL the Chinese". That's what we're gonna do folks, we're gonna FOIL the Chinese, and Sleepy Joe Biden just lets them walk all over us - you know, when I was President, American schools and universities taught the greatest math in the world. They really did. Every category. We were killing it. They said to me they couldn't believe it. But under Sleepy Joe it's been - so anyway (a+b)^2 there's a lot of things you can say but I don't think science knows actually.

robinadams ,

@futurebird @angelastella Yes, you can read into his words whatever you want to be there.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • test
  • worldmews
  • mews
  • All magazines