HNHacker News
TopNewBestAskShowJobs

itishappy

5,020 karma · joined September 23, 2022

submissionscomments
itishappy··on JSON Canvas Spec (2024)
If we're adding external interactivity, we're treating each as a custom DSL format and need to evaluate them as such:

JSON Canvas:

    graph primitive
    easier to read, write, and reason about
    harder to render
SVG:

    path primitive
    easier to render
    harder to read, write, and reason about
itishappy··on JSON Canvas Spec (2024)
It's not interactive for me:

https://codepen.io/ItIsHappy/pen/vEXrXxg

Yes, I'm being pedantic, but that was the point of my comment. SVGs aren't interactive by default, you need to bring your own interactivity.

For static content, SVGs work great, but for interactive content the additional sematic layer of JSON Canvas has a clear benefit. SVGs represent connections using paths, while JSON Canvas uses a graph. This means SVG cannot connect a single node to more than 2 adjacent nodes. If I want to draw arrows from Alice, Bob, and Charlie all to Dave, then I need to create a second Dave or reference to that location somehow. (You can see this in your sword example by moving one of the edge points. The sword delaminates because only two of the four edges at that point can be connected together.) SVG provides limited tooling for this, but it gets rather complicated rather quickly.

itishappy··on LinkedIn is searching your browser extensions
> To protect the privacy of our members, their data, and to ensure site stability, we do look for extensions that scrape data without members’ consent or otherwise violate LinkedIn’s Terms of Service.

What a nightmare! Are your findings and this list of malicious extensions published somewhere?

itishappy··on JSON Canvas Spec (2024)
It's interactive, for starters. You can do that with SVG, of course, but the boilerplate required would be larger than the `.canvas` file. You can externalize the boilerplate, but then you're no longer creating portable SVG files, and if we're going to create an SVG-like DSL we may as well try out this JSON-like DSL.
itishappy··on The Claude Code Source Leak: fake tools, frustration regexes, undercover mode
I suspect vibe coders might actually want you to consider turning to Claude for accountability and ownership rather than the human orchestrator.

If your linter is able to action requests, then it probably makes sense to add too.

itishappy··on Teenage Engineering's PO-32 acoustic modem and synth implementation
It's sending sound parameter information (e.g. filter cutoff at 12khz, resonance at 1.6, Q of 0.89) along with note information (e.g. start playing note A4 with velocity 80). You could absolutely use a MIDI CC channel to convey this information. The OP-32 chooses a different route and encodes this into an audio signal so that it can transmit it over the air using the speaker/mic instead of a wireless stack.

I bet it sounds like a dial-up tone!

itishappy··on Seeing like a spreadsheet
For better or worse...

A single spreadsheet used locally is probably the best imaginable tool for answering "what if I changed that."

That same sheet shared across an organization suddenly becomes a game of "what caused that change."

itishappy··on Nvidia NemoClaw
So, what does having inference done by NVIDIA directly add?
itishappy··on Asian governments roll out 4-day weeks, WFH to solve fuel crisis caused by war
> Can't you fucking do your homework beforehand, think your idea thoroughly, and then have at least a small written paragraphs about it before interrupting your colleagues.

They never said they didn't.

> Really, I am not a co-processor in a bus for you to dispatch a job to me and raise an interrupt line whenever the fuck you fancy doing it.

I am! I'm perfectly capable of managing my own time and shoeing others away if needed. Please bother me! That's why I have a cell phone and a salary.

Almost certainly relevant: I work in manufacturing.

itishappy··on Asian governments roll out 4-day weeks, WFH to solve fuel crisis caused by war
They could be!

Here's a line from my local library's site:

> Our auditoriums are provided as a public service for use by individuals, institutions, groups, organizations, and corporations for a small fee, when not being used for library-affiliated or sponsored activities.

itishappy··on Show HN: What's my JND? – a colour guessing game
I'm colorblind, but I ended up getting a 0.0028 "much better than average" score. Hmm... Fun site!

To promote some further reading:

OKLab isn't actually a perceptually uniform colorspace. It's better than others, but it was specifically chosen as a tradeoff between accuracy and speed (hence the name OK). When you start digging this deep, you quickly learn that we have yet to invent any perceptually uniform colorspaces; even the most precise models we have end up using fits and approximations. Color has some really inconvenient properties like depending strongly on brightness and background. Frankly, given the differences in human biology (having orders of magnitude differences in relative numbers of each cone, for instance), it's surprising we agree as much as we do! Human color perception is an endless pit of complexity.

(Note, I don't say any of this to detract from what you've built here, merely expand. Your site is awesome and I love it!)

itishappy··on Warn about PyPy being unmaintained
CPython (the compiler) is the most popular implementation of Python (the language) like GCC, Clang, and MSVC (compilers) are implementations of C (the language). Other Python implementations include PyPy, Jython, and IronPython.

Nobody is "pretending" anything. These have all been around for 15+ years at this point. Your ignorance does not imply intent to deceive on others part.

itishappy··on Show HN: I ported Manim to TypeScript (run 3b1B math animations in the browser)
Issues were all marked as fixed, but the first two still persist.

The flickering in particular was fixed only on the logo example, but now exists on the Three D Light Source Position example as well.

For issues, may I recommend a more "human-in-the-loop" approach?

itishappy··on The United States and Israel have launched a major attack on Iran
Kinda? I can't help but notice that I'm not particularly worried about my friends or family being sent off to fight North Korea anytime soon.
itishappy··on Show HN: I ported Manim to TypeScript (run 3b1B math animations in the browser)
Bug reports:

The entire Manim CE Logo example, the `x - x_1` text from the Brace Annotation example, all text from the Sin Cos Plot example, and the entire Heat Diagram example all flicker roughly once per second.

The text looks rather fuzzy, especially the large M from the Manim CE Logo example.

The Three D Light Source example also doesn't appear to have any functioning directional lighting.

itishappy··on NASA announces overhaul of Artemis program amid safety concerns, delays
DART is an example of both an incredible NASA accomplishment and a SpaceX launch that left Earth orbit.
itishappy··on NASA announces overhaul of Artemis program amid safety concerns, delays
Is it clear how many SLS launches would be needed to subsume Starship's part of the mission?
itishappy··on Statement on the comments from Secretary of War Pete Hegseth
Skynet nukes humanity.
itishappy··on Nearby Glasses
For what benefit? A secret camera is not a deterrent as by definition it can only be used reactively.
itishappy··on Nearby Glasses
Totally agree. To be clear, I'm not arguing for a ban on smartglasses. I'm simply explaining why they make me uncomfortable.

The ability to record authorities is something I fully support, but I still don't want to be in that video if I can help it.

On top of that, most smartglasses are not private. If authorities can access the feeds, then my neighbor with RayBans becomes an authority, and it makes it that much harder for me to avoid them like the plague. This similarly applies to Ring doorbells and Flock ALPRs.

itishappy··on Nearby Glasses
I do like it, and agree it's an important mechanism, but it's not a blank check as it's in tension with the other articles. I do not read that as granting you the right to any and all information you might desire. For instance, I hope we can agree that allowing the public to film bathrooms or gynecology appointments crosses a line.
itishappy··on The Om Programming Language
Ah yes, now there is a LISP I can get behind!
itishappy··on The Om Programming Language
I'm not super familiar with Raku, but if RakuAST is what you had in mind it looks a bit different:

    use experimental :rakuast;
    
    my $ast = RakuAST::Call::Name.new(
      name => RakuAST::Name.from-identifier("say"),
      args => RakuAST::ArgList.new(
        RakuAST::StrLiteral.new("Hello world")
      )
    );
Looks more like "low-level programming an AST" (which I believe other languages offer as well), rather than using a bidirectional transform. I don't know how you'd get Raku code back out, for example.

Edit: I should have looked deeper, `DEPARSE` does exactly this:

https://docs.raku.org/type/RakuAST

Neat!

itishappy··on Nearby Glasses
How do you figure? There is no "right to record," nor is surveillance mentioned in the Declaration of Human Rights. In fact, it points out in Article 12 and 29 that rights and freedoms can and should be limited by law if they impinge on the rights and freedoms of others, such as those mentioned in Article 12:

> No one shall be subjected to arbitrary interference with his privacy, family, home or correspondence, nor to attacks upon his honour and reputation. Everyone has the right to the protection of the law against such interference or attacks.

That doesn't seem as clear cut as you're implying.

itishappy··on The Om Programming Language
That's cool, but I might prefer semantic whitespace. Sure would be neat if we could both work with the same code in our preferred forms.
itishappy··on The Om Programming Language
Love this take! Unison is exactly this, and it's awesome!

Here's a quote from one of the creators:

> But here's the super cool thing about our language! Since we don't store your code in a text/source code representation, and instead as a typechecked AST, we have the freedom to change the surface syntax of the language very easily, which is something we've done several times in the past. We have this unique possibility that other languages don't have, in that we could have more than one "surface syntax" for the language. We could have our current syntax, but also a javascript-like syntax, or a python-like syntax.

https://news.ycombinator.com/item?id=46053304

itishappy··on Nearby Glasses
Oh, it very much does matter to me what happens to recordings! I should have made that more clear. Self hosting is infinitely preferable than sending that info to Facebook. This isn't enough to flip my opinion on the technology in general, but if I had a friend who wanted to self-host their own smart glasses, I would not mind. The keyword there is friend.

My issue is that I don't have the ability to audit every smart glasses user to find out what their tech stack is, so I'm looking at averages. If I saw that smart glasses were being used and promoted as assistive technology, I would likely form a different opinion. Unfortunately, that's not what I perceive. I am open to the possibility that smart glasses could end up a net positive on our society, but the history of similar technologies does not encourage.

I will think more on your comments here. I find them quite insightful.

Edit: For a rather recent example of my threat model, I will repost part of my comment from elsewhere in the thread:

> I watched a guy setup a cell phone to record his laps in a pool yesterday. He swam one lap right about a meter from the 15 year-old girl playing with her mom, then climbed out of the pool, shut off his phone, and walked away. The remainder of the pool was open. Should I have called him out? I couldn't decide, and therefore didn't. This is normal now.

itishappy··on The Om Programming Language
Fascinating! It almost seems like the more popular a language is the less likely it is to have syntax on the landing page.
itishappy··on Nearby Glasses
No difference. If I see your recording in public, either via cell phone or smart glasses or shoulder mounted news rig, I do my best to steer clear. I don't like Alexa or Flock or whatever else either.

I do not agree that the existence of surveillance tech justifies the expansion of surveillance tech.

itishappy··on Nearby Glasses
Totally agree, but that's not a justification. "We already do a thing you don't like so you won't mind if we do it lot more, right?"

The same talking points still apply to cell phones. I think people who record TikToks in public are similarly gross and I go out of my way to avoid them.

I watched a guy setup a cell phone to record his laps in a pool yesterday. He swam one lap right about a meter from the 15 year-old girl playing with her mom, then climbed out of the pool, shut off his phone, and walked away. The remainder of the pool was open. Should I have called him out? I couldn't decide, and therefore didn't. This is normal now.

← PreviousPage 9 of 34Next →