Plugging a 1986 Mac Plus into the Modern Web (2013)
keacher.com
keacher.com
So I'm going down a street and I see a Mac being thrown out :) ~ https://www.flickr.com/photos/bootload/14378861885
such a great article, thanks for @teuobk writing this & @franze for re-posting this. It means I can have a crack at using the classic as a web client/proxy. I'm still up to the lets plug a modern keyboard and mouse stage but this is a great push forward to connecting to the network, the hard bit: MacPlus and TCP/IP.
Say what you will about table based layouts, but they sure are backwards compatible.
Could you give an example? I've done "tables" in CSS, and most of the time you're using DIV to manage most of the positioning, which is non-semantic.
If there was a CSS table replacement which defaulted back to something which looked like a table in HTML, I'd be impressed.
If you're building a navigation area, a callout, or some similar semantically significant sidebar, take a look at https://html.spec.whatwg.org/multipage/dom.html#sectioning-c... for the nav and aside elements.
But even if you use a div, as long as the semantic content makes sense without the div, you're fine. For instance, put one div with your article content starting with an appropriate heading tag, and another div for your navigation. Without the CSS, it still makes sense to have a section for content and a section for navigation.
Also, there is actually CSS markup to make something look like a table, if that's what you want; see http://caniuse.com/#feat=css-table for instance.
Still valid after all these years.
<table style='height: 100%; width: 100%'>
<tr><td align=center valign=center>
<h1>Hello world</h1>
The following button should be centered:<br>
<button>Button</button>
</td></tr>
</table>
Can you reproduce that with flexbox? In a way that works across all browsers? Without writing huge amounts of code?[NOTE: This example has a bug in it. See the subsequent comments]
<table style='height: 100%; width: 100%'>
<tr><td align=center valign=center>
<h1>Hello world</h1>
The following green square should be centered:<br>
<div style='width: 30px; height: 30px; background: green'></div>
</td></tr>
</table>
margin:auto also requires you to manually set the width of the div you're trying to center in order to work.The devil is in the details. I believe if you try it you will find it is nowhere near as easy as you imagine.
Not at all. "display: table" (and the related "display: table-cell" and similar) mean that you've written something which is not semantically a table, but which should use the browser rendering conventions of a table. That's a perfectly reasonable distinction.
Otherwise, would you suggest that every use of "font-family: sans-serif" is cheating and essentially conceding that you should have been using a <font> tag all along?
Yes, if your intent is to use font-family as an example in an argument for using CSS.
> and essentially conceding that you should have been using a <font> tag all along?
No, I'm saying that a font tag and a font-family style are equivalent. One is as good as the other.
You should read this:
http://blog.rongarret.info/2009/02/on-semantics-of-html.html
So, there's a major difference between using font-family and a <font> tag, and a major difference between using display: table* and <table>/<tr>/<td> tags. And for the same reason, you shouldn't use class="sidebar" if what you mean is class="navigation" (or for that matter <nav>). Let alone class="big-red-button" when what you mean is class="delete".
To use an example from that article: sure, <p> is not as semantically significant as <section> or <h1>, but it's a lot more semantic than, say, <br/><br/>, which I've seen used between paragraphs. "This is a paragraph" is more semantically useful than "this has an indent on the left and 1.4x line spacing"; "this is a heading" is more semantically useful than "this is 24pt and bold".
I completely agree. But HTML+CSS does not achieve that goal, at least, it didn't when that post was written.
Here's a working example that doesn't use tables: https://jsfiddle.net/q8zxxr3b/
Or, here's the inline example:
<div style="display: flex; height: 100%; flex-direction: column; align-items:center; justify-content: center;">
<div style="text-align: center;">
<h1>Hello world</h1>
The following green square should be centered:<br />
<div style="display: inline-block; width: 30px; height: 30px; background: green;"></div>
</div>
</div>http://flownet.com/ron/plisp.html
I'll fix the blog post too.
Too bad the demoscene didn't really catch on with Macs for some reason... the hardware is theoretically quite capable and I'm sure they could've done some awesome effects with it if they tried.
http://www.unrealvoodoo.org/projects/three-and-a-half-inches...
Ahh... the memories! Though for me it was 300 baud on an LSI ADM-3a with an acoustic coupler.
But a lot of Mac disk images might be in some weird Apple-proprietary Disk Copy format. I think modern Disk Utility may be able to open them. I'm not sure. I haven't tried anytime recently.
Jeff mentioned a Zip drive. You could try that, too, if you have USB and SCSI Zip drives. Files are much more likely to transfer correctly if you use a Mac instead of Windows.
And I do mean images that you can just use dd to write to the floppy. Then you just need a USB floppy drive.
It has been a few years since I tried that though.
http://www.keacher.com/1216/how-i-introduced-a-27-year-old-c...
And here's the HN discussion from last time:
Pretty misleading of them to date it March 22, 2015, but perhaps that was just a technical glitch.
Mods changed the URL to point to the original.