Recent submissions

Comment · 9 months ago
Comment · 1 year ago
Comment · 1 year ago
I don't have a Steam deck, but for what it's worth I haven't had any problems with it on my arch desktop
Comment · 1 year ago
It reminds me of javascripts template literals (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...) and .nets FormattableString (https://learn.microsoft.com/en-us/dotnet/api/system.formatta...)

The best use case I know of for these kinds of things is as a way to prevent sql injection. SQL injection is a really annoying attack because the "obvious" way to insert dynamic data into your queries is exactly the wrong way. With a template string you can present a nice API for your sql library where you just pass it "a string" but it can decompose that string into query and arguments for proper parameterization itself without the caller having to think about it.

Comment · 1 year ago
It's a problem with a k8s component called "Ingress Nginx" (the ingress controller that uses Nginx).

Nginx isn't the problem, but I don't think you can really get away from including it in the title given the name of the component

Comment · 1 year ago
I am mostly playing devil's advocate

> and reality does not collapse immediately

How do you know that reality does not collapse immediately? At any given instant you could be a fresh brain that just came into existence, all your previous memories which imply a life lived up to this point also formed in that same instant.

Comment · 2 years ago
I don't see anything in the comment guidelines banning humor. I do however see that it asks us to be kind, not sneer at the rest of the community here, and to stop the tired comparisons to Reddit.

The voting and flagging systems, along with the work of the moderators, are perfectly capable at managing the comments. No need to try to police them yourself.

Comment · 2 years ago
My favourite solution to this problem was going all in on analyzing the input. Instead of just assuming the set of modules must have cyclic behaviour and running the simulation until you find the periods, look at the input and _really_ understand what its doing.

What you will find is that the modules form a set of binary counters (chains of flip flops), with a number encoded into them via whether they are connected to a "hub" node of the chain (a conjunction).

You can parse the module structure and traverse the graph to extract that number. The connections to the hub are the bits of the number (1 if module is connected, 0 if not). Do that for all the counters and LCM (or multiply since they are all coincidentally co-prime) them together to get your answer.

No simulation required.

Comment · 2 years ago
For those unaware, Shopify already has platform wide search. You can use https://shop.app/ (or the app), and it also has some chatbot thing that can offer suggestions
Comment · 2 years ago
The limit has been removed from most paid plans since September

https://blog.kagi.com/unlimited-searches-for-10

> We’re thrilled to announce that unlimited search is now included in our $10/month Professional plan and our Ultimate, Family, and Duo plans.

Comment · 2 years ago
Funny enough I recently ran into a very relevant blog post: https://intercoolerjs.org/2016/05/08/hatoeas-is-for-humans.h...

HATEOAS is for humans

I haven't really thoughy about REST in relation to all the recent ML advancements. REST (With HATEOAS) might actually be a good way to expose APIs to these agents since they now have some ability to "reason" about responses beyond a hardcoded set of handlers

Comment · 2 years ago
I think that dismissing it out of hand as useless is unproductive.

From my understanding Roy Fieldings dissertation was a description and formalization of the web as it has been built, not just prescriptive advice on software architecture. To say it's not useful is to ignore how humans browse the web.

Comment · 3 years ago
I haven't worked there for years, so not sure what has changed since I was there but at least at the time it was decent. It could reliably detect movement, but was getting triggered by pets and such. They were working on solutions to that when I left.
Comment · 3 years ago
Comment · 3 years ago
https://davidbuckley.ca/?bashrc=ls%20blog

Mobile experience is poor, I suggest not trying to use your phone.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton