Better HN
topnewbestaskshowjobs
Log inSign up

yoru-sulfur

236 karma · joined Feb 9, 2019 (7y ago) · 52 submissions

Submissions

comment 10mo ago · link · parent

https://davidbuckley.ca

comment 1y ago · link · parent

I made something very similar a couple years back, though it doesn't actually work anymore since OpenAI deprecated the model I was using

https://github.com/buckley-w-david/akashic_records

comment 1y ago · link · parent

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 1y ago · link · parent

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 1y ago · link · parent

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 1y ago · link · parent

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 2y ago · link · parent

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 2y ago · link · parent

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 2y ago · link · parent

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 2y ago · link · parent

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 3y ago · link · parent

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 3y ago · link · parent

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 3y ago · link · parent

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 3y ago · link · parent

A number of years ago I worked for a company that developed a home security product using this kind of tech: https://www.cognitivesystems.com/

comment 3y ago · link · parent

https://davidbuckley.ca/?bashrc=ls%20blog

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

comment 3y ago · link · parent

My website seems to have no indexing problems. I would be shocked if I had literally any other sites linking to mine (Small personal website), so at least from my perspective the indexing behaviour seems fine.

comment 3y ago · link · parent

Looks like this is from here: https://codegolf.stackexchange.com/questions/88783/build-a-d...

comment 3y ago · link · parent

lsp-mode: https://github.com/emacs-lsp/lsp-mode/issues/2080

comment 3y ago · link · parent

Tobi still actively works on project within Shopify.

I've worked on projects within the last year that had (pretty heavy) direct involvement from Tobi.

comment 4y ago · link · parent

This was the incident that made me switch off of Gmail: https://www.thegamer.com/markiplier-fans-google-account-ban-...

> Unfortunately, and for reasons that are still unclear, this triggered YouTube's auto-detect system for spam. Hundreds of accounts in Mark's 'community' have been banned. ... Being banned from your YouTube account is one thing; ... However, these fans' Google accounts were banned, meaning they lost access to their emails, ...

The accounts may have eventually been reinstated, but to me it showed a willingness to ban an entire google account from a minor infraction in some individual service, which I was just not comfortable taking the risk on.

Not exactly the same as what you're responding to, but very similar.

comment 4y ago · link · parent

This is way better than I expected. I booted up "Gamer Boy" and started throwing out questions about some of my favourites, and got very coherent and believable answers, including details from those games. It wasn't 100% perfect, but just reading the transcript I would believe it was a real person.

comment 4y ago · link · parent

> and just...ditch miniconda please

Why the recommendation to stop using miniconda?

comment 4y ago · link · parent

I noticed some similarities in the source code to https://github.com/baskerville/plato/

Is there some common source for Kobo-compatable rust code that you both drew from, or was plato the original source?

EDIT: Nevermind, should have looked closer, you already called out that you drew from plato

> The code responsible for rendering to the eInk display is written by baskerville and taken from https://github.com/baskerville/plato

comment 4y ago · link · parent

30% seems way _way_ higher than I would expect.

I've been running Tailscale on all my devices for a couple months now, and I haven't noticed any impact on battery life. I just checked my phone (Android) and it's reporting 1% usage.

I would report an issue if you're seeing numbers that high.

comment 4y ago · link · parent

There are a few groups doing public open source that I'm aware of:

- 18F https://github.com/18f

- GDS https://github.com/alphagov

- CDS https://github.com/cds-snc

I do agree with the sentiment, it's absurd that any software developed through public means is not available to the public.

comment 4y ago · link · parent

Deleted my account. The irresponsibility displayed by contracting out DMCA takedown like this is disgusting.

comment 4y ago · link · parent

The long meandering nature is kind of the authors style. He typically picks a problem then goes deep into it exploring whatever tangents may crop up while doing so.

ToC sounds like a good idea though

comment 4y ago · link · parent

Yup

https://youtube.com/watch?v=xP5-iIeKXE8

comment 5y ago · link · parent

Nice work. Funny coincidence I was just going through https://rustwasm.github.io/docs/book/ today, so Rust, WebAssembly, and the Game of Life was already on my mind.

comment 5y ago · link · parent

A few years ago I wrote some software to create allrgb images that resemble a source image. I even wrote a small blog post about it

https://davidbuckley.ca/post/colour-sort/

12