This author has some pretty cool stuff, like a tiny alternative to Firebase https://zserge.com/posts/pennybase/
606 karma · joined August 28, 2015
https://0x1.pt
vmsousapereira@gmail.com
This author has some pretty cool stuff, like a tiny alternative to Firebase https://zserge.com/posts/pennybase/
Interestingly, I always imagined that a would-be replacement would come written in Swift. I guess I was wrong.
EDIT: shakti.com/k/k.zip is now returning 404.
* HTML fragment type and literals. It's analogous to React's JSX and helps you write statically-checked and type-safe HTML.
* SQL literals. Sort of like LINQ in C#. This ensures that your SQL is statically checked, so you can't end up with invalid queries at runtime, and type-safe.
* Allows you to write client side code in Ur. This means that you can, for example, write a button's `onclick` that issues a (strong-typed) RPC call to the backend all in Ur. Sort of like tRPC for TypeScript.
You can find all of these features in other web stacks, as mentioned. But in Ur/Web everything is tightly integrated. And you can also be sure of your app's correctness due to all the static and type checks.
Those are the good parts. The bad part is that Ur/Web went down the ML rabbit-hole. You pretty much have to be familiar with an ML language to be able to use it. It also suffers from the usual low adoption of ML languages.
Us not polluting is, obviously, great news.
What we had to do to get to get here is the bad news. We chose to invest cash we don't have in fixing a problem we don't (really) cause and to which we don't (really) have a solution for. This, while 1/4 of the population earns minimum wage. My conclusion still stands.
We're a country with very severe economical, financial, social and health problems which have been unsolved for years. Living in Portugal is a hard and it's expected it will get harder and harder. We have tons of young people leaving the country every year.
Our CO2 emissions are like 0.15% of the total and our per-capita emissions are already lower than for ex. Germany. We basically have no industry. If we could wave a magic wand and completely stop our CO2 emissions it wouldn't move the needle on global warming at all.
Notwithstanding these facts, the government went all in on renewables and cutting down on emissions -- despite it not making any sense -- because it's a popular measure across all age groups.
Energy companies had to invest in still unproven renewable tech which was very costly. As a result, energy companies then had to amortize this investment and now we have one the highest energy prices in all of Europe. Had we chosen to start investing in renewables more recently, like Brazil, we would be buying better and cheaper tech.
So, we -- the Portuguese -- are worse, overall, because of these short sighted measures. But, hey, at least we get good press.
I can certainly understand not liking recurring payments but it's a pretty standard business model. On Subscriber Only, you can choose between monthly and yearly subscriptions and you can cancel them at any time. You can look at it a sort-of automation of what you're already doing with one-time donations.
Don't quote me on this -- I have no data -- but I think monetizing a personal blog is pretty tough. Unless you'd consider Strachery <https://stratechery.com/> a personal blog. If you want to get paid writing, I suggest specializing in a niche of a niche. E.g. Don't write about the tech industry, write about semiconductor manufacturing in Germany.
But hey, you won't know until you try!
For authentication, the bare minimum of the "OAuth 2.0 Authorization Code Grant" [0] is being used. A blog post detailing this process is on the roadmap.
You can login in as many browsers as you like. This will raise some eyebrows but, right now, I'm adopting a sort-of Netflix's "Love is sharing a password" motif. This might change later.
On feed readers, the content of the post will just be a message saying you need to access the website to read the post. I wish there was a better way of handling this use-case but haven't found one yet.
Feel free to reach me at vitor@subscriber-only.com if there's anything I can help you with.
Thanks for you kind words!
Can you comment on how easy it is for non-residents to open up a company?
Wikipedia's bubble sort page -- as an example -- also uses it for all cases.