Live data from Hacker News

My daughter (7 years old) used HTML to make a website

naya.lol

51–60 of 547 posts

Re: My daughter (7 years old) used HTML to make a website

#51

Very cute! I did something similar with my dad when I was a kid. First basic HTML then Dreamweaver. A couple years down the road and I’m working at a SaaS company. Beware.

Me too. First framesets, handcrafted. Then Dreamweaver and Photoshop slicing (forgot what this monstrosity was called). Via PHP portals, CMSes (Drupal!).

Decades later I'm tuning YAML files that trigger ansible runs on CIs that compile docker images in which we embed hundreds of npm packages that get transpiled from typescript. Which gets released to cloud serverless edge thingies that store stuff in a database and on some block storage. All to serve a page that's similar in information and feature-density to what I handcrafted back in 1999 in notepad.exe. Yet hundreds of times the size, thousands of times more complex and much, much slower to run and load.

(I'm not exaggerating, but I did pick the worst example. Most of my work is building backend stuff in rust, simple static sites in hugo or jekyll and occasionally sime JS or TS to spice these static sites up with client-side features)

Re: My daughter (7 years old) used HTML to make a website

#53
post #26

Width and height must be specified without units (although looks like browsers accept it, probably by ignoring the unit). IMG tags are self-closing, so you can omit The dog picture has wrong aspect ratio. The dog is squeezed! It should be 620 × 349 or, if 500 width or 400 height is needed, there's a good mathematical task to calculate the size of the other side. No need for / in HTML. unicorn.html unicorncopy.html Pa…

> The dog is squeezed!

We talked about that, and she thought it looked better that way.

Re: My daughter (7 years old) used HTML to make a website

#54
post #53
post #26

Width and height must be specified without units (although looks like browsers accept it, probably by ignoring the unit). IMG tags are self-closing, so you can omit The dog picture has wrong aspect ratio. The dog is squeezed! It should be 620 × 349 or, if 500 width or 400 height is needed, there's a good mathematical task to calculate the size of the other side. No need for / in HTML. unicorn.html unicorncopy.html Pa…

> The dog is squeezed! We talked about that, and she thought it looked better that way.

I agree.

Re: My daughter (7 years old) used HTML to make a website

#55
post #26

Width and height must be specified without units (although looks like browsers accept it, probably by ignoring the unit). IMG tags are self-closing, so you can omit The dog picture has wrong aspect ratio. The dog is squeezed! It should be 620 × 349 or, if 500 width or 400 height is needed, there's a good mathematical task to calculate the size of the other side. No need for / in HTML. unicorn.html unicorncopy.html Pa…

> No need for / in HTML

I personally prefer having the /> even though it's not necessary, so that I can tell at-a-glance whether a tag is self-closing or not. It doesn't hurt, does it?

(plus I'm just used to it because the book I learned HTML from was confident that XHTML was the future)

Re: My daughter (7 years old) used HTML to make a website

#57

Earlier quoted context omitted.

Files are an abstraction that was very useful in the last several decades, but that just isn't as relevant in the current world. Those videos and documents you mentioned are likely managed via object storage in a distributed database, itself possibly using block storage directly, with no actual "file" in an old-school filesystem anywhere in sight. I still personally cling to files personally, but I have no real reaso…

Sure, call them byte streams or blobs, that's fine too. I'm not disagreeing, but the point I wanted to make was that recently, people seem to have gotten the idea that their objects are semi-magical things locked into some app or some cloud service. Which is fine by the SaaS providers, or course. But it doesn't really foster understanding of the world around you. Like kids thinking corn comes from the corn factory.

When I was a kid I used to think that pasta came from a pasta factory.

Re: My daughter (7 years old) used HTML to make a website

#58
post #26

Width and height must be specified without units (although looks like browsers accept it, probably by ignoring the unit). IMG tags are self-closing, so you can omit The dog picture has wrong aspect ratio. The dog is squeezed! It should be 620 × 349 or, if 500 width or 400 height is needed, there's a good mathematical task to calculate the size of the other side. No need for / in HTML. unicorn.html unicorncopy.html Pa…

The concept of "Connection Before Correction" emphasizes creating a positive relationship and safe learning environment before addressing mistakes.

Connection and Correction - pair programming

Connection before Correction - code review

Post reply on HN