Recent submissions

Comment · 1 year ago
Not exactly, I have automated stuff which uses python and does rar and unrar and it's installed through brew, it is not a cask, but every time I do brew update, my code will fail to run because it was updated.

This is like buying a machine and not having the ability to do whatever you want with it.

Oh who are we kidding, that's what is happening anyways.

Comment · 1 year ago
I was in a grand jury recently and a cop/attorney came to the supreme court of our state with a terroristic threat from a homeless person in a park who made a gun sign and said pow pow, and they wanted us to indict them....

By this standard most of the sports player in the nation should be indicted.

Good news we unanimously rejected it

Comment · 1 year ago
What benefits are you getting from this? I mean have you built an entire CDN to cache the fonts so that your server does not have to download it every time a new page is loaded? I understand self-hosting for your own servers, but for a website this is overkill.
Comment · 1 year ago
Why does this have a domain of .ai, what exactly it is doing AI related?
Comment · 1 year ago
And you can run Docker inside OrbStack too, it is really good. But most of my containers are optimized Alpine containers so I prefer to run them on an OS they were built for and others in OrbStack.
Comment · 1 year ago
Comment · 1 year ago
No, you don't run the Docker containers run in OrbStack, you can spin up an Alpine instance and run all docker instance on it.

The benefit is that, Alpine has access to all your local and network drives so you can use them. You can sandbox them as well. It's not a big learning curve, just a good VM with access to all drives but isolated to local only.

Comment · 1 year ago
Many docker containers are optimized to run as Alpine on other systems. You get the benefit that it runs on Alpine itself.
Comment · 1 year ago
Setup is really easy once you install alpine

1. ssh orb (or machine name if you have multiple) 2. sudo apk add docker docker-cli-compose (install docker) 3. sudo addgroup <username> docker (add user to docker group) 4. sudo rc-update add docker default (set docker to start on startup)

Bonus, add lazydocker to manage your docker containers in a console

1. sudo apk add lazydocker

Comment · 1 year ago
Comment · 1 year ago
I worked on this while I was at LI and I think the major selling point back then was Replayability of messages but it was something similar to what you would get with Pub/Sub. We could also have multiple clients listening and processing same messages for their own purposes so you could use the same queue and have different clients process them as they wanted.
Comment · 2 years ago
This is a good theory but the basic maths is that 1 mile = 1 km * 1.6 or vice versa. This is the basic thing you need to do.

However, this can get confusing it it get's to odd numbers etc, so what you can do is, simple leave it as miles because if you are in a miles country no one is converting it to km or vice versa.

Same with C and F in temperatures, there are basic maths systems that can do this in constant time, so there is no real reason to complicate it unless you want to do it in your head and then there is the basic maths to do it, if you can't just use a calculator.

Comment · 2 years ago
If you use Google Maps, it will automatically prompt you to download a map of the area if there is known poor coverage. It also has automatic (?) local maps.
Comment · 2 years ago
Comment · 4 years ago
This blog steals content from other sites, original is at https://hackernoon.com/timsort-the-fastest-sorting-algorithm....

Unfortunately I cannot downvote.

Please don't link plagiarized content. This guy also linked to his own "Big O Notation" in his page, where he says O(n) is polynomial

>>>In our shopping list example, in the worst-case of our algorithm it prints out every item in the list sequentially. Since there are n items in the list, it takes O(n) polynomial time to complete the algorithm.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton