HNHacker News
TopNewBestAskShowJobs

dktalks

58 karma · joined February 10, 2020

submissionscomments
dktalks··on Homebrew no longer allows bypassing Gatekeeper for unsigned/unnotarized software
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.

dktalks··on Man who threw sandwich at US border agent not guilty of assault
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

dktalks··on How to self-host a web font from Google Fonts
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.
dktalks··on Browser Fingerprint Detector
Why does this have a domain of .ai, what exactly it is doing AI related?
dktalks··on I ditched Docker for Podman
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.
dktalks··on I ditched Docker for Podman
edit: [1] https://old.reddit.com/r/docker/comments/e6u2pk/docker_noob_...
dktalks··on I ditched Docker for Podman
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.

dktalks··on I ditched Docker for Podman
Many docker containers are optimized to run as Alpine on other systems. You get the benefit that it runs on Alpine itself.
dktalks··on I ditched Docker for Podman
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

dktalks··on I ditched Docker for Podman
If you are on a Mac, I have been using OrbStack[1] and it has been fantastic. I spin up few containers there, but my biggest use is just spinning up Alpine linux and then running most of my Docker containers in there.

[1] https://orbstack.dev/

dktalks··on Why was Apache Kafka created?
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.
dktalks··on Using Fibonacci numbers to convert from miles to kilometers and vice versa
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.

dktalks··on Cellular outage in U.S. hits AT&T, T-Mobile and Verizon users
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.
dktalks··on The Hacker News Top books of 2023
This is due to the browser not trusting certificates from letsencrypt, you probably might also see this on other sites like stackoverflow, videolan etc. You need to import and trust the certificates for ISRG Root from[1] and should not see that error.

[1] https://letsencrypt.org/certificates/

dktalks··on Timsort (2019)
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.

dktalks··on Why is California wasting millions on hydrogen fuel pumps?
Every other electric car enthusiastic never questions, why did we invest 100s of millions in hydro power plants. It's all about this exists, we can use it and it's less combustion but never about, how much does it cost me personally to charge my car vs how much does it take you to fuel a car in a gas station, how long do I have to take to make my car go forward etc.

It's always about, this is the newest invention, this is an electric car, this is the good things that is said about it, but nothing about the hell you are in when it comes to charge your car or what you pay for it.

This is why I never get into a, oh you are better off getting an electric car because it is good for the environment discussion without them understanding that you are generating electricity the best way using fuels, it's so stupid, it's bad.

dktalks··on Google will stop using Oracle’s finance software and adopt SAP instead
A confusing Oracle interface[2] actually caused a $500 million mistake at Citi recently[1], so yea those interfaces are outdated

[1] https://news.ycombinator.com/item?id=26180785 [2] https://www.businessinsider.com/citigroup-accidental-wire-tr...

dktalks··on Mark Zuckerberg's phone number appeared among the leaked data of Facebook users
just like an armchair activist as well who takes a genuine question and makes another one a villian
dktalks··on Mark Zuckerberg's phone number appeared among the leaked data of Facebook users
Not sure how this is too much work unless everything is tightly coupled with relating an email address to everything in their database and not a keyword to search for.
dktalks··on 533M Facebook users' phone numbers and personal data have been leaked online
This is just one of the websites. Here is a list of all the websites which have your information with easy links to opt-out from them.

I do not maintain this but don't know where I got this from, however I have notifications when this spreadsheets gets updated to remove my information from another website

https://docs.google.com/spreadsheets/d/10wzyKEl-fAxjCD42u9HQ...

dktalks··on Inside a viral website
I had a popular website which had 20MM views per month but made most of my money through ad banners. I tried direct sell for banners, links etc but they never materialized because you could actually pay cents on the dollar to do that through a network.

Also, one thing I learned on the website was that having 20 million views on your website does not equate to a consistent amount of money because the ads don't pay the sam e in every country.

For example, I had some ads pay $20CPM and some that paid $0.00001 because they were fillers, so I had to tweak my low fillers by signing up with local country ad networks who could provide better CPMs.

In the end, it still did not evolve into a large shift and the average was still lower, good but not great.

I think that these days, running your own website is good, you might still get 50MM views but not much income because ads are still not going to give you the best returns which is why some or more websites are shifting to a paywall. For the most time, everyone was good with ads, because that was what worked. Now it's paywalls and it will trend that way because they get the most value and a consistent payment that way (not many cancel active subscriptions over a period of time). Ads will still play significant amount of money for direct sellers like Google, Facebook, Twitter & Amazon, but not for third party sites who will have to find different ways.

There is also the upgrades to search engines and facebook/twitter etc to now keep you on their own website for everything and corner a full $$ vs paying third party websites a cut, which is why we see snippets etc in search engines and then people engage there more and click on a higher paying ad to them.

Also, there is ad-blockers, which means you are not getting any impressions on some percentage of the visitors in the first place.

dktalks··on Living without a SIM card
I would say that this does not work in third world countries and the author also mentions this subtly by saying.

>>If you're in Southeast Asia and in need a taxi service, you can ask someone to hail you a Grab. I've done this numerous times in Kuala Lumpur by kindly asking Coffee shop baristas. The feeling of moving around without your whereabouts being constantly beamed into a database can be quite liberating.

Imagine asking strangers to book you a cab in a country you cannot speak the language of.

While these countries and all first world countries have the ability to hail cabs for instance, asking strangers is basically not the way anyone goes because they don't have a sim card. For example, I do use a data-only SIM in a country I am visiting right now from Google Fi just to do basic things like ordering an Uber, checking bus timings etc.

However, I cannot without a local number 1. Order Food Online 2. Get Any services which require mobile number valid in the country for any services

I am used to doing all this because I have a phone number in my country, but can't do this in another country, because logistics involve delays and they have to be communicated and a local number is the best way to do it. Without wide-spread messaging only services which work out of the box for every app there is no way any establishment can contact you.

Everything is a step in the right direction, for example, people would call on WhatsApp/Facebook Messenger etc, but you don't expect micro-economy people in third world countries to have the skills to do that, they will want a phone number to do it.