Better HN
topnewbestaskshowjobs
Log inSign up

johncmouser

21 karma · joined Apr 7, 2015 (11y ago) · 21 submissions

johncmouser@gmail.com
Submissions

comment 6y ago · link · parent

I thought that "/" was absolute and "../../something/else" was relative.

comment 6y ago · link · parent

would you need the doctype if the user-agent said it was html5 compliant?

comment 6y ago · link · parent

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>

comment 6y ago · link · parent

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

comment 6y ago · link · parent

okay, quasi-html

comment 6y ago · link · parent

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

comment 6y ago · link · parent

not sure how right this is but this is on twitter https://twitter.com/hncynic/status/1258916263562219520

comment 6y ago · link · parent

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)

comment 6y ago · link · parent

Yeah... I have "xterm-256color" hardcoded in my .bashrc because it just seems to... fix everything. I'm currently running Termite btw.

10.

Revel in Its Difficulty(blog.notryan.com ↗)

2 points · by johncmouser · 6y ago · discuss

comment 7y ago · link · parent

Agreed. No idea what DS stands for in this context.

comment 7y ago · link · parent

Well that felt facetious

13.

Bringing FPGA Development to the Masses(notryan.com ↗)

7 points · by johncmouser · 7y ago · 1 comment

comment 7y ago · link · parent

Neat, but not sure how much I would want to rely on a cloud service

15.

Visualizing Cyber Threats – 3d network graph(metastackio.github.io ↗)

2 points · by johncmouser · 10y ago · 1 comment

16.

Ask HN: Is anyone else getting tired of “awesome-blank” on GitHub?

4 points · by johncmouser · 11y ago · 3 comments

comment 11y ago · link · parent

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

comment 11y ago · link · parent

Why is this not more popular? Such a cool project!