HNHacker News
TopNewBestAskShowJobs

johncmouser

21 karma · joined April 7, 2015

johncmouser@gmail.com
submissionscomments
johncmouser··on Fun Facts on Producing Minimal HTML
I thought that "/" was absolute and "../../something/else" was relative.
johncmouser··on Fun Facts on Producing Minimal HTML
would you need the doctype if the user-agent said it was html5 compliant?
johncmouser··on Fun Facts on Producing Minimal HTML
wow, two things:

1. thanks for the link. that documentation is realllly put together well.

2. for anyone else who goes to the docs, scroll down to the table bit. Official HTML never looked so close to markdown before. But I guess it's legal, with the <td> omissions, etc.

cool stuff!

EDIT: posting code here

  <table>
   <caption>37547 TEE Electric Powered Rail Car Train Functions (Abbreviated)
   <colgroup><col><col><col>
   <thead>
    <tr> <th>Function                              <th>Control Unit     <th>Central Station
   <tbody>
    <tr> <td>Headlights                            <td>                <td>y
    <tr> <td>Interior Lights                       <td>x               <td>y
    <tr> <td>Electric locomotive operating sounds  <td>                <td>
    <tr> <td>Engineer's cab lighting               <td>x               <td>z
    <tr> <td>Station Announcements - Swiss         <td>x               <td>y
  </table>
johncmouser··on Fun Facts on Producing Minimal HTML
wait, for which tags does this apply? because won't

  <p>one<p>two<p>three<p>four
create four <p> elements nested together? does this only work with <a> tags?

your third point about the triple-identical (reminds me about TCP ACK and Re-transmit haha) is pretty nuts though

johncmouser··on Fun Facts on Producing Minimal HTML
okay, quasi-html
johncmouser··on Fun Facts on Producing Minimal HTML
Ah, maybe a better name would have helped:

HTML Code Golf - How to make really small HTML that doesn't break Firefox or Chrome, currently at least

johncmouser··on Fun Facts on Producing Minimal HTML
not sure how right this is but this is on twitter https://twitter.com/hncynic/status/1258916263562219520
johncmouser··on Fun Facts on Producing Minimal HTML
they will be nested right. so

  <div>
  <p>
  <h1>
  <h2>
without closing tabs create the DOM tree div->p->h1->h2

if you were actually developing production code and misplaced, let's say, <p>'s closing tag, then that would mess up the rest of your tree (from your perspective -- the computer doesnt care)

johncmouser··on $TERM Is Terminally Broken
Yeah... I have "xterm-256color" hardcoded in my .bashrc because it just seems to... fix everything. I'm currently running Termite btw.
johncmouser··on The Paxos Algorithm, or How to Win a Turing Award
Agreed. No idea what DS stands for in this context.
johncmouser··on Show HN: Connective – Large-scale reactive programming in Javascript/Typescript
Well that felt facetious
johncmouser··on Flashing FPGAs with Your Phone
Neat, but not sure how much I would want to rely on a cloud service
johncmouser··on Sophia: A modern embeddable key-value database – v1.2.2 released
Cool! I was looking for a simple key-value alternative for SQLite3 and was going to use redislite[1]. But this is perfect, I think it has the potential to replace SQLite3.

[1]https://github.com/seppo0010/redislite

johncmouser··on Show HN: SSH-based realtime chat, ssh to 2ton.com.au
Why is this not more popular? Such a cool project!