HN user

JonathanBeuys

756 karma
Posts29
Comments271
View on HN
news.ycombinator.com 3y ago

Ask HN: Use Bitcoin on the command line?

JonathanBeuys
1pts4
iris.to 3y ago

Education company Chegg loses 40% market cap: ChatGPT is killing their business

JonathanBeuys
1pts0
iris.to 3y ago

US Bank Failures over Time

JonathanBeuys
3pts0
news.ycombinator.com 3y ago

Ask HN: What do you think of Twitter's new “Pay to play” plan?

JonathanBeuys
1pts2
news.ycombinator.com 3y ago

Ask HN: What Happened to Gitlab?

JonathanBeuys
2pts4
www.paulgraham.com 3y ago

Microsoft Is Dead (2007)

JonathanBeuys
3pts2
news.ycombinator.com 3y ago

Ask HN: Why does everybody say “Mastodon” when they mean ActivityPub?

JonathanBeuys
5pts12
news.ycombinator.com 3y ago

Ask HN: Kubuntu or Debian+KDE?

JonathanBeuys
2pts5
news.ycombinator.com 3y ago

j/0=1

JonathanBeuys
6pts7
news.ycombinator.com 3y ago

Ask HN: Since yesterday, Firefox and Thunderbird take 30s to start. Why?

JonathanBeuys
4pts12
news.ycombinator.com 3y ago

Ask HN: Will banks inflate Bitcoin just like they inflate fiat money?

JonathanBeuys
11pts29
news.ycombinator.com 4y ago

Tell HN: It looks like even air gapped Bitcoin hardware wallets can phone home

JonathanBeuys
69pts52
news.ycombinator.com 4y ago

Ask HN: How do you use Bitcoin in a trustless way?

JonathanBeuys
85pts82
news.ycombinator.com 4y ago

Ask HN: What is a good medium for daily incremental backups?

JonathanBeuys
16pts12
news.ycombinator.com 4y ago

Ask HN: Why is PayPal not offering Bitcoin in Europe?

JonathanBeuys
4pts4
news.ycombinator.com 4y ago

Ask HN: Do links to Twitter get you shadow banned on HN?

JonathanBeuys
2pts5
twitter.com 4y ago

Thinking from first principles: What is the lower bound of Bitcoin's market cap?

JonathanBeuys
1pts0
twitter.com 4y ago

The Bitcoin price touches its linear regression line today

JonathanBeuys
12pts3
twitter.com 4y ago

The story of ARKK does not look so great anymore

JonathanBeuys
1pts0
twitter.com 4y ago

Will DALL-E 2 be a boost to kids creativity?

JonathanBeuys
2pts0
news.ycombinator.com 4y ago

Ask HN: Solopreneurs of HN – do you send a newsletter? Do you read newsletters?

JonathanBeuys
3pts1
news.ycombinator.com 4y ago

Ask HN: Why does Twitter have 500M Dollar “Cost of revenue” per quarter?

JonathanBeuys
2pts2
twitter.com 4y ago

A real threat to Bitcoin: Miner Centralization

JonathanBeuys
1pts0
dl.acm.org 4y ago

The Twitter Ranking Algorithm

JonathanBeuys
31pts13
api.time.com 4y ago

Vitalik Buterin is on the cover of TIME magazine

JonathanBeuys
3pts0
news.ycombinator.com 4y ago

Ask HN: What are some great essay writers other than Paul Graham?

JonathanBeuys
2pts3
twitter.com 4y ago

Even in Web3, the Rule Is “Convenience Uber Alles”

JonathanBeuys
13pts6
security-tracker.debian.org 4y ago

It seems Debian Stable is not applying patches to Chromium anymore

JonathanBeuys
4pts1
news.ycombinator.com 4y ago

Ask HN: Analyst opinions on internet stocks from the late 90s?

JonathanBeuys
2pts3

Ok, let's say 25% growth over 10 years. That is a factor of 9.

9*$50B = $450B yearly revenue.

What could be the margin Alphabet makes from that? Last quarter, Alphabet had $100B revenue and $35B net income. So 35% margin.

$450Bx0.35 = $158B

What is $158B in annual profit worth? Currently Alphabet's p/e is about 30. If we take that, it would be $158Bx30 = $4740B. So around $5T.

If we are heading towards the creation of $5T in value via cloud revenue, investing $100B per year to build it seems not particularly high to me.

Is cloud usage really high?

Look at all the stuff people do. Almost none of it is automated via software. Look at people on construcion sites, cashiers, cleaning stuff, cab drivers ... all of it is done manually. I am writing this manually, even though I would prefer to just say it while doing the dishes. But there is no good voice interface for browsers yet. And hey, why do I even do the dishes?

I would say we haven't even started automating the world via software.

10 years of 30% growth just means we will spend 14x more on software in 10 years than we do now. Considering we have not even really started using software for automating work, I would be surprised if we stay below that.

I would think that no matter what the percentage of AI in the revenue is - mankind keeps automating their work via software. And so far, we automated only very little. We probably can keep increasing it at 30% pa for 10 years. That would mean we just automate 14x more than we do now. In 10 years, that seems not even fast to me.

Do I understand your logic correctly that after 14 years of 30% growth another year is extremely unlikely and after 14.99 years it is almost impossible?

My logic is that we only have to take the next 10 years into account when calculating the probability.

And lots of things grew 30% or more for 10 years.

Bitcoin's market cap grew over 70% pa for 10 over years now.

Amazon's revenue grew over 60% pa for over 10 years in their early days.

I can think of many numbers, but would have to check: global solar installations, smartphone usage are examples that come to mind.

I have not looked into Meta, but when I look at the growth of Alphabet's cloud revenue, it looks pretty solid:

https://x.com/JonathanBeuys/status/1984882268817519036

That is revenue from real world usage of their datacenters. Usage their customers would not pay for if it did not have a positive ROI.

A pretty stable growth of 30% per year for the last 5 years. At a current level of about $50B per year.

What is the value of it, if it continues like this for another decade? Revenue would be at roughly $1T/year then.

In the face of this real usage and the growth of it, spending tens of billions of dollars on building out infrastructure looks ok to me.

The way I understand the gunicord documentation, this has the same effect as if you set up a script which listens for file changes and restarts the server (or workers) every time a file changes.

That's way less efficient compare to how PHP handles it.

I don't want processes to be killed and new ones to be started every time I change a file.

PHP does it the right way: Only when a request that touches outdated code hits the server is that outdated code reparsed. As long as you just edit files, it uses up no resources at all.

True. I see a "Zend OPcache" section in my phpinfo().

It says:

    Cache hits   4746528
    Cache misses   38875
Both values go up every time I execute phpinfo().

I wonder why. Shouldn't "Cache misses" only go up when a source file is changed?

When a framework "supports auto-restart", that usually means it has its own webserver for development and the auto-restart is supported when you use that.

I don't like having a different webserver in development and production.

Imports are also updated the moment you update the imported file.

I'm not sure if PHP stores any compiled binary or byte-code at all. Maybe it compiles it all on each request. It's super fast though, even with tons of imports.

My guess would be that it keeps compiled versions of each file in memory and on each request, it walks down the whole import path. And when it encounters a changed import, it compiles only that one.

Would be cool if someone with more knowledge could shed a light on what is actually happening.

You talk about performance, but I think that is another point for PHP. In my experience, PHP handles the same requests faster.

Yes, I could build everything from scratch myself in Python and have the same statelessnes as in PHP. But parsing headers, creating headers etc feels like it should be handled by a framework. In PHP, it is build right in.

And if I would build it, it would talk to the webserver via CGI. But I think CGI is slow. For PHP, you have mod-php which is super fast.

Even though I prefer Python over PHP, for web projects, I'm probably down with PHP forever. Because it so nicely supports stateless request handling without long running processes.

In PHP, you can just throw a php file on a webserver and it works. To update, you just update the file. You don't have to restart anything.

On the dev machine, you can just have Vim in one window and Firefox in the other, change code, hit F5, and you see what you did.

I don't like having to run a code watching process which then recompiles the whole codebase every time I save a file.

HTTPS is still a pain in the ass, even in 2024.

If letsencrypt would offer wildcard certificates with their url based authentification as they offer for non-wildcard certificates, it would be ok.

But having to tinker with the DNS infrastructure for each project which wants to use domain wide HTTPS is so much hassle.

Same here. You can't just access my auth data over the internet.

You would also have to get hold of my machine and get past it's security mechanisms.

You can put as many layers on top of what you call "obscurity". But at the bottom it's still just a simple string that holds the power to authenticate you.

And "multi-factor authentication" does not help with the situation "User is allowed to use this script, so they are also allowed to use that website. Let's open it for them.".

I'm not typing them in my terminal. I have scripts that automate my workflow. And part of it is logging me into websites.

Regarding storing them in plain text: That's not much different from ssh keys. When someone can read your ssh key, they can log in as you.

If you know a better way to automatically log a user into a website, let us know!

Yes. The auth part should not be displayed when you hover over a bookmark. Chromium does not display it.

In the end, every security mechanism is "plain text". Even ssh keys. When someone gains access to your ssh key, which is just an ascii string, they can log in as you.

I would like to, but Firefox behaves problematic in regard to auth urls like

https://name:password@news.ycombinator.com

1: When you bookmark them, it shows the auth part when you hover the bookmark with the mouse.

2: When you open them from the command line

    firefox https://name:password@news.ycombinator.com
And then ctrl+click links on the site, it opens the new tab and shows the auth part in the tab title as long as the link loads. It seems the "current url" in Firefox code is stored with the auth part, and it passes that part on to local links.

These issues make it insecure to use auth urls because as soon as someone looks over your shoulder (or there is a camera like in many cafes), you are p0wned.

I wish we had a better way to log into a website from the command line, like ssh keys. But for now, we are stuck with what we have. And Firefox makes it insecure to use it. So for now, I continue to use Chromium.

Correct.

I use a script in a root terminal to control a lot of my workflow. One thing is that I start browser windows from it when needed. I start them with

    sudo -u desktopuser chromium example.com
Because
    sudo -u desktopuser firefox example.com
does not work.

I thought that is relevant to the question "Why bother with Chrome".

desktopuser of course is the normal user which would also start Firefox if I did it via the Desktop gui.

I don't want to install multiple browser versions.

I just want to launch a new browser window.

This does not work:

    sudo -u normaluser firefox example.com
So I do:
    sudo -u normaluser chromium example.com
I thought that was relevant to the question "Why bother with Chrome".

Yes, that is exactly what I am experiencing.

You cannot start FF from the Desktop and then start new windows from a shell.

Unless that shell was directly started from the desktop.

So it must have something to do with the environment or process tree.