News for hackers. Stuff that matters.

j13n

Humans didn’t evolve from chimps.
And credits or rebates for vehicles with improved safety features?

I assume the 18-tonne lorries that move most of the world’s goods would be exempt, too, or would you pass that cost on to consumers? Just make everything a bit more expensive for everyone.

First thing I thought when I saw it being tied.

"Hey, that's the Ian Knot!"

Re:Resizing windows on macOS Tahoe – the saga continues on Wednesday February 18, 2026 @02:15AM (#47058193)
Try dragging a playlist around in the left-hand sidebar such that scrolling is required. Or scrolling with horizontally where holding down shift is usually required.
Re:Resizing windows on macOS Tahoe – the saga continues on Friday February 13, 2026 @02:14AM (#46999843)
You think this is bad? Try using Apple Music with a traditional mouse. You can’t even right click on half of the interface, dragging elements near to scrollable edges doesn’t trigger any scroll, and UI elements like the star on favourited songs just don’t show up. It’s marginally better on a trackpad.
Re:Datastar: Web Framework for the Future? on Friday April 11, 2025 @05:41PM (#43658931)
You can disable all use of eval with htmx. The tradeoff is one has to write a bit more JavaScript.

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

Re:Datastar: Web Framework for the Future? on Friday April 11, 2025 @02:36PM (#43656944)
This is the second post I’ve seen praising Datastar in the last 24 hours, and once again no mention of the requirement to punch a gaping hole in one’s Content-Security-Policy.

If this is the framework of the future, cyber criminals are going to have a bright future!

The linked post relies on the Datastar project, which requires use of `unsafe-eval` in one’s Content-Security-Policy [1]:

> When using a Content Security Policy (CSP), unsafe-eval must be allowed for scripts, since Datastar evaluates expressions using an IIFE (Immediately Invoked Function Expression).

The project itself links to Mozilla’s docs on CSP, which state:

> The unsafe-eval keyword can be used to override this behavior, and as with unsafe-inline, and for the same reasons: developers should avoid unsafe-eval.

Out of the box, htmx uses a similar approach, but one can disable this use of eval [2]:

  htmx.config.allowEval - can be set to false to disable all features of htmx that rely on eval:
  
  - event filters
  - hx-on: attributes
  - hx-vals with the js: prefix
  - hx-headers with the js: prefix
[1]: https://github.com/starfederation/datastar/blob/develop/site...

[2]: https://htmx.org/docs/#configuration-options

Re:Parinfer: Simpler Lisp Editing on Tuesday January 21, 2025 @03:46AM (#42777821)
I love innovation in this space, and remember when Parinfer came out having some enlightening discussions with colleagues about how they efficiently edited code.

I've since settled on Lispy and Lispyville in Emacs, and have run into very few issues over the past few years.

There's something about Lispy’s style of editing that appeals to me — the use of hugging parentheses to enable its bindings, combined with Lispyville making all of my Vim bindings safe, makes me very happy.

A scalar field is a field with one value at any point.

Temperature can be represented using a scalar field. There is only one temperature at any point in our universe.

Theories like Quantum Field Theory describe our universe as a series of interacting fields that are everywhere. The Higgs field gives us mass, a single number at any point in space.

In this sense, the space around us is permeated by many fields.

Space itself is not a single scalar field because space contains many properties at every point that cannot be represented using a single number — for that one might use a matrix of values.

https://en.wikipedia.org/wiki/Scalar_field

It’s great to see reports of the excellent work Daniel Slutsky and others are doing to make data science more straightforward for everyone.

I'm grateful that I get to benefit from these community efforts.

Re:Vision 1993 on Tuesday February 06, 2024 @03:21AM (#39272140)
I've had a to-do item to build a collaborative AR experience for people to graffiti the world and find the creations of others.

I picked up the domain OutHere and spent some time drafting the initial experience because I think it's a compelling idea, but life has gotten in the way of late.

Re:Vision 1993 on Tuesday February 06, 2024 @03:17AM (#39272114)
The current trend of projecting information onto our eyes through devices is a primitive form of sensory enhancement.

It is time to make a leap towards a more transformative innovation, which could be achieved by transmitting knowledge directly into our brains. This way, we could simply know the name of a plant by looking at it.

Reading is primarily about acquiring knowledge. I am personally excited about the idea of augmented intelligence, which would not require strapping a couple of TVs to our faces.

Re:GitHub Actions and Vanity Metrics on Saturday August 05, 2023 @05:45PM (#37016579)
As long as you’ve got some big numbers, absolutely.

Failing builds and outdated dependencies disappear when sitting beside 20K stars and 100K downloads.

Re:GitHub Actions and Vanity Metrics on Saturday August 05, 2023 @04:37PM (#37016078)
Mission accomplished! Happy to hear it.
Re:GitHub Actions and Vanity Metrics on Saturday August 05, 2023 @04:29PM (#37016007)
Is this better or worse than laughing at your jokes?
Re:GitHub Actions and Vanity Metrics on Saturday August 05, 2023 @02:45PM (#37015149)
That’s great news re: the glasses — headaches are horrendous!
Re:GitHub Actions and Vanity Metrics on Saturday August 05, 2023 @01:45PM (#37014584)
Apologies for the confusion. I hope the ambiguity didn’t detract too much from your enjoyment.

Maybe I could sneak an <abbr> in there for SLOC like I did for CSP.

Re:GitHub Actions and Vanity Metrics on Saturday August 05, 2023 @11:24AM (#37012926)
You’re thoroughly welcome, bloopernova!

Thank you for reading and letting me know I’ve had a positive impact — it means a lot.

Re:GitHub Actions and Vanity Metrics on Saturday August 05, 2023 @11:18AM (#37012856)
An astute observation!

More badges being more vain than less, should that push up or down one’s Q-quotient?

Re:GitHub Actions and Vanity Metrics on Saturday August 05, 2023 @10:58AM (#37012655)
fzf, zsh, rg, and fd all on macOS‽ Delectable! Stars++

And more importantly, helping other people out of the goodness of your heart.

Thank you for being so generous, fellow earthling!

Re:Vegan diets cause far less climate pollution, study shows on Saturday August 05, 2023 @09:06AM (#37011640)
It's a step in the right direction, but the dairy industry takes a huge toll on the environment all on its own.
Re:Bram Moolenaar Passed Away on Saturday August 05, 2023 @08:39AM (#37011433)
Bram defined the interface I've used to express myself in so many ways since my early teens. His contributions to software development reach far beyond the $EDITOR and pervasive interaction patterns we're all so familiar with.

Thoughts are with his friends and family right now. Rest in peace, Mr. Moolenaar.

ZZ

Re:GitHub Actions and Vanity Metrics on Saturday August 05, 2023 @08:34AM (#37011398)
You'd be a superposition of infinitely capable and the sum type of all divide-by-zero errors. Either way, I'd want to work with you.
Re:GitHub Actions and Vanity Metrics on Saturday August 05, 2023 @07:56AM (#37011143)
My favourite review so far! Thank you for the kind words.
Re:GitHub Actions and Vanity Metrics on Saturday August 05, 2023 @06:49AM (#37010785)
The Q-quotient will be my legacy… what have I done.
Re:GitHub Actions and Vanity Metrics on Saturday August 05, 2023 @05:38AM (#37010454)
Something I wrote recently to put a smile on my face after a couple of tough weeks doing cold outreach.

If it makes another person smile, it was time we’ll spent.

Older »