News for hackers. Stuff that matters.

p2edwards

Re:ReFrame – The EPaper Camera on Wednesday July 29, 2026 @10:23AM (#49097929)
Spam?
Don't do this here.
Full color, except for certain shades of blue
Re:Don't verify email addresses by sending spam to them on Tuesday June 23, 2026 @06:54PM (#48652665)
Yeah. The abundance of comments that take the article at face value makes me pause. I assumed it was satire.
Re:Ask HN: What Are You Working On? (Nov 2025) on Monday November 10, 2025 @10:47AM (#45877040)
Hey cool! I've been wanting something like this for a while.

Would it be able to take multiple inputs?

Re:When Stick Figures Fought on Tuesday November 04, 2025 @10:30AM (#45812101)
H*R is up again.

https://homestarrunner.com/main

Using Ruffle. Like the others, it's somewhat recent.

https://en.wikipedia.org/wiki/Homestar_Runner#cite_ref-18

Agreed —

seeinglogic's article made me think of a 3rd option:

1. Sorta long functional chain where the type changes partway through 2. Use temp variables 3. (New option) Use comments

(Here's funcA from seeinglogic's article, but I added 3 comments)

    function funcC(graph) {
      return 
        // target node
        graph.nodes(`node[name = ${name}]`)
          // neighbor nodes
          .connected()
          .nodes()
          // visible names
          .not('.hidden')
          .data('name');
     }


Compare to funcB which uses temp variables:

    function funcB(graph) {
      const targetNode = graph.nodes(`node[name = ${name}]`)
      const neighborNodes = targetNode.connected().nodes();
      const visibleNames = neighborNodes.not('.hidden').data('name')

      return visibleNames;
    }
For me the commented version is easier to read and audit and it also feels safer for some reason, but I'm not how subjective that is.
Re:Civet: A Superset of TypeScript on Tuesday October 22, 2024 @01:05PM (#41916333)
I do miss 2 features from LiveScript:

1. `wxyz = [ 2 8 -5 5 ]` (commas optional for non callables)

2. `console.log \hello` (backslash strings)

Don't know how hard/compatible #1 is, but for #2 I had a tested PR that I could bring around.

(#3 was bulleted lists, but you already added that!)

Re:I Coded Something Dumb and I'm Proud of It on Wednesday May 15, 2024 @03:06PM (#40371014)
This is awesome. Thanks for making it.