HNHacker News
TopNewBestAskShowJobs

zapt02

677 karma · joined May 26, 2012

submissionscomments
zapt02··on Robinhood cuts losses after transaction revenue drops
The problem is that many people has less money to go around due to cost of goods and interest rates rising, so it's harder than ever to take advantage of lower stock market prices.
zapt02··on Show HN: A tool to help you remember shit you are interested in
Non-starter for me if it's not possible to self host. Self hosting is not only knowing that my data is private, but also that once the company behind the product dies out, my data won't disappear forever.
zapt02··on Ask HN: So you moved off Heroku, where did you go?
It will be at least full repo download access, because how else would Coolify download the repository?
zapt02··on Ask HN: So you moved off Heroku, where did you go?
There are a bunch of ways to deploy via GitHub, I would check out this action, it's the easiest and most straightforward. There should be no need to adapt it based on different frameworks: https://github.com/marketplace/actions/caprover-deploy

You can also use the built-in webhook from inside CapRover control panel but it requires you to log in via your GitHub account in Cap (I created a secondary CI account for this).

Installing a GitHub app comes with challenges, it basically gives Coolify access to your account should they want it, since they control the app and not you. This is bad from a privacy perspective.

CapRover has dark mode. :-) But yes the design is more utilitarian in Cap and not as nice to look at.

zapt02··on Ask HN: So you moved off Heroku, where did you go?
CapRover has a huge collection of "One Click Apps" that will deploy hundreds of fully functioning applications for you including dependencies (so for example for WordPress it will spin up both a web and a database container): https://caprover.com/docs/one-click-apps.html

Also I think the way you create different kinds of resources are confusing in Coolify, like what is a "Git Source" or "Destination", all I want is to run my container. It's very different from Herokus/Caps interface and not in a good way.

Also why can't I just deploy from an image? In CapRover I often spin up a container, like `redis-commander` or `wordpress` and then just configure its env vars and volume mounts. In Coolify it seems you have to connect a GitHub repo which is not a desirable workflow for me.

zapt02··on Ask HN: So you moved off Heroku, where did you go?
Non-zero downtime deployment is supported for apps without mounted volumes: https://github.com/caprover/caprover/issues/661#issuecomment...

Tangentially I was looking at Render.com the other day and they also don't support zero downtime deployments if you have a mounted volume, so it's not very uncommon even on cloud platforms.

As for restarts, I didn't have that problem yet, I believe CapRover adds `restart: always` to all the running containers so they should automatically boot. You might want to check out the logs of the containers that don't restart or just always hard restart the server after a Docker update.

zapt02··on Ask HN: So you moved off Heroku, where did you go?
It's funny how people are different, after using CapRover for years I tried Coolify but it felt like so much functionality was missing that I would not use it over CapRover in its current state. All the things you mentioned (GitHub webhooks, custom domains, SSL certs, reverse proxying) are supported by Cap. It also supports Docker Swarm.
zapt02··on Gadgetbridge is an Android application for your smart watch and other devices
Yup. There's also no Bluetooth audio stack right now, so even if you could put your music on it you wouldn't be able to connect your headphones. :-(
zapt02··on Gadgetbridge is an Android application for your smart watch and other devices
Bangle.js 2 does have a GPS but is a no-go for music listening because it only has an 8MB flash memory. The ecosystem is also much much much less polished than an Android watch. However Bangle is very hackable and easy to write apps for, you can literally do it in one minute using the Web IDE: https://www.espruino.com/ide/

(Top left connect icon > Emulator > Bangle JS 2)

Just don't expect the ecosystem to be very polished.

zapt02··on Show HN: I may have created a new type of puzzle
Cool puzzle and nice art. Too much flashing at the end. Concept reminds me of the indie game Baba is you: https://hempuli.com/baba/
zapt02··on Let’s make WordPress officially support SQLite
You could also place the database outside the web root. As far as I know WordPress already supports putting `wp-config.php` one directory up from the main installation.
zapt02··on Let’s make WordPress officially support SQLite
I don't think this is a correct take, because most plugins that interact with the database already use the abstraction functions, eg get/set_option(), WP_Query, get_post_meta() and so on.

These would all work out of the box.

The only plugins that would not work are:

1. Plugins that register their own database tables (however there already exists prior art such as https://github.com/aaemnnosttv/wp-sqlite-db for handling these cases)

2. Plugins that do direct queries against the standard database schema (broadly either for invalid (bad code) or performance (valid but slim use case) reasons)

Also, WordPress would of course keep the old query functions around and they would likely add a tag to the plugin repository so authors can mark plugins as supporting thes new ORM features.

Great idea in my opinion!

zapt02··on Wizz Air now charging some travellers a strange extra fee (2020)
You are right! I wasn't debating the ethics but the mistaken notion that ads on a website could only give "pennies" of revenue. (aka Cost per impression)
zapt02··on Wizz Air now charging some travellers a strange extra fee (2020)
What's to say the ad blockers aren't visually hiding upsells though? This might actually cost them a lot of money. There are plenty of visual hiding rules in the most used blocklists.
zapt02··on Hetzner Price Adjustment
It will depend on where you live, very common in Sweden with many companies offering it.
zapt02··on Hetzner Price Adjustment
The poster said it's an extra 0.4 cents/kWh, not 0.4 USD/kWh.

Our contract in Sweden is NordPool market price + 0,006 USD/kWh. Typical electricity prices in Sweden is anything from 0,001 USD/kWh to 0.5 USD/kWh, it varies widely day by day. This is what enables people to be able to save by using electricity when it's almost free.

zapt02··on My network home setup v3.0
As far as I know you can set up a local UniFi management point using using the latest version of the Cloud Key Gen2 Plus firmware. However you won't be able to use Unifi Protect (the security camera offering) as that still requires a cloud account to set up. But once you have set up the cloud account you can revert back to local-only operation and no video data leaves your LAN.

https://community.ui.com/questions/BUG-USG-PPPoE-or-Static-I...

zapt02··on Hetzner Price Adjustment
You can use Nord Pool data for the last couple of years to do estimations.

https://www.nordpoolgroup.com/en/Market-data1/Dayahead/Area-...

zapt02··on Ask HN: Why are there so few artificial sunlight or artificial window products?
Check out https://www.parans.com/ which do just that.
zapt02··on Ask HN: What game do you wish existed?
This reminds me of the game Prisoner of War. The setting is completely different (you are a POW in a german concentration camp) but the mechanics are pretty much there:

- Live in the "walls" (barracks) - Sneak out during curfew to do tasks and build things to open up more areas, and also for food - You nurture a relationship with the other prisoners and new ones arrive often

Check it out!

zapt02··on McDonald’s to Exit from Russia
McDonalds is not "open in DNR/LNR", DonMak is a completely unaffiliated restaurant that is a knock-off of the McDonalds brand.

https://factcheck.afp.com/doc.afp.com.326T9WB

zapt02··on How does Firefox's Reader View work? (2020)
Yes, it's a standard industry term and still used on many sites.
zapt02··on ECMAScript Proposal: Types as Comments
Most apps are not staffed by 50-60 frontend engineers, so simplifying for solo devs (which is by definition the majority of developers) is worthwhile.
zapt02··on Android: Freeing up 60% of storage for apps by removing parts of the app
It won't, the whole point is to take less space. If you archived an app, you can't expect it to be able to be unarchived when you're offline. I fail to see much of a use case for it anyway since most apps require connectivity anyway.
zapt02··on Plausibly deniable encryption (2020)
That's not strictly true, you can format a drive to contain all zeroes. That can then be demonstrated easily via a hex editor looking at the drive. Truecrypt volumes will always look like random scrambled data (like if you formatted your drive with a "secure erase" method).
zapt02··on Fast File Finder for Windows is a tool for quickly finding files by name
As of Windows 11, the situation is exactly the same.
zapt02··on Show HN: Bytle – A Wordle-like game where you guess an unsigned 8-bit binary int
I think it's just a misunderstanding of how the game works, you should enter base 10 numbers, like 82, not the binary sequence. It's poorly explained.
zapt02··on Ask HN: Why does Cloudflare/hCaptcha care so much about buses, boats and trains?
Fascinating insight!
zapt02··on My Evaluation of SvelteKit for Full-Stack Web App Development
I agree with you error boundaries are a huge omission. You can do basic error boundaries using one of these two packages:

* https://github.com/crownframework/svelte-error-boundary * https://github.com/denisstasyev/svelte-error-boundary

They only protect from component initialization errors but it's better than nothing. I think Svelte v4 will have more coherent error handling.

zapt02··on Choose-Your-Own-Adventure AI Dungeon Games
The experience is quite good on desktop!
← PreviousPage 2 of 13Next →