HNHacker News
TopNewBestAskShowJobs

vmsp

606 karma · joined August 28, 2015

Software engineer. Built healthcare and recruitment software. Interested in finance, economics and policy.

https://0x1.pt

vmsousapereira@gmail.com

submissionscomments
vmsp··on Fenster: Most minimal cross-platform GUI library
There's an accompanying blog post at https://zserge.com/posts/fenster/

This author has some pretty cool stuff, like a tiny alternative to Firebase https://zserge.com/posts/pennybase/

vmsp··on Ask HN: Is it time to fork HN into AI/LLM and "Everything else/other?"
No. This is a trend. HN is a tech and startups website so it will show trends. At one point it was VR, eventually it was Web 3.0. Right now it's LLMs but this too will pass and something else will come along.
vmsp··on Sapphire: Rust based package manager for macOS (Homebrew replacement)
Homebrew was kind of slow, at one point, but I find that it works pretty well these days. Still, this is pretty cool and competitions is always good.

Interestingly, I always imagined that a would-be replacement would come written in Swift. I guess I was wrong.

vmsp··on From C++ to Clojure: Jank language promises best of both
Looks similar to Clasp but implements Clojure instead of Common Lisp.

https://clasp-developers.github.io/

vmsp··on Ask HN: What is the best code base you ever worked on?
Is this it?

https://aolserver.github.io/

vmsp··on The First Hedge Fund
How does one get into the investment business?
vmsp··on Arthur Whitney releases an open-source subset of K with MIT license
I think the link for k.zip was just removed.

EDIT: shakti.com/k/k.zip is now returning 404.

vmsp··on ILGPU: Write GPU programs with C# and F#
Would you mind expanding on what your friend does? Sounds like energy trading which is something I’ve been taking a look at. I’m just curious.
vmsp··on Scriptable operating systems with Lua (2014) [pdf]
Do you mean njs? Or is there a really a NodeJS module?

https://nginx.org/en/docs/njs/

vmsp··on The Ur Programming Language Family
Ur/Web has some incredible ideas. The main ones being:

* 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.

vmsp··on 54% of Portugal’s electricity is now generated by renewable energy
You missed the point.

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.

vmsp··on 54% of Portugal’s electricity is now generated by renewable energy
That's just wrong. If China (29%) and the US (14%) waved the said wand we'd cut down emissions by almost 50% and would be looking at a completely different scenario.
vmsp··on 54% of Portugal’s electricity is now generated by renewable energy
I'd like to offer a more critical perspective as a Portuguese living in Portugal.

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.

vmsp··on Mk: A Successor to Make (1987) [pdf]
For those curious, Mk is available in Plan 9 from User Space

https://9fans.github.io/plan9port/

vmsp··on Show HN: An index of all monthly dividend stocks
I think the parent comment was talking about the companies. Instead of re-investing profits into the company -- long-term thinking -- they just pass them over to the investors -- short-term wins.
vmsp··on Backend of Meta Threads is built with Python 3.10
Can you expand on the web server? Does it implement WSGI?
vmsp··on Michel de Montaigne
I wrote a blog post about that! :)

https://0x1.pt/2023/01/20/how-montaigne-learned-latin/

vmsp··on Show HN: Subscriber-Only – Paid Subscriptions for Jekyll
That's a very reasonable approach. Sort-of like what Substack does on the podcast feeds. Do you think having a feed exclusively for subscriber posts would fit the use-case, though? I'd expect the feed to include both public and private posts.
vmsp··on Show HN: Subscriber-Only – Paid Subscriptions for Jekyll
Just to be clear, you're neither giving Subscriber Only nor the authors your payment details. All of that is handled by Stripe. Their core service is handling this kind of sensitive data.

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!

vmsp··on Show HN: Subscriber-Only – Paid Subscriptions for Jekyll
You got it. Copies of your gated posts are kept on the our end which will run access-control and serve it to authorized users. You get to keep all of your content and you won't ever be locked to Subscriber Only.

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.

[0] https://oauth.net/2/grant-types/authorization-code/

vmsp··on Show HN: Subscriber-Only – Paid Subscriptions for Jekyll
That's exactly right. That's pretty much all there is to know. Your configuration tokens will show up in the site page as soon as you setup a payment method.

Feel free to reach me at vitor@subscriber-only.com if there's anything I can help you with.

Thanks for you kind words!

vmsp··on The anatomy of the Cayman Islands offshore financial center (2016)
Thanks for your insight!

Can you comment on how easy it is for non-residents to open up a company?

vmsp··on The Alternative Genesis Block of Bitcoin
Slightly off topic, but the site seems to be generated by "Olivetti 0.104.3". Has anyone heard of this static site generator? Google's not helping.
vmsp··on Kerf Time Series Lang and Columnar DB Open Sourced
This is great! I had the pleasure of exchanging a couple of emails with Kevin, years ago. He was pretty clear that a programming language as a business was a bad play, even more so a closed-source one. I wonder if this will change anything.
vmsp··on Ask HN: What developer tools would you like to see?
There's an Emacs mode that does this called annotate. But why would this be better than just leaving a comment on the file?

https://github.com/bastibe/annotate.el

vmsp··on COBOL Programming Course
This project made the rounds a couple of years (months?) ago. Always accompanied by mentions of companies having a hard time hiring engineers to work on COBOL codebases. I've never had the luck of stumbling on one of these. Maybe because I'm not based in the US or just didn't look hard enough. It'd certainly be cool to take a peek at that code.
vmsp··on Changing std:sort at Google’s scale and beyond
In school, we used big O notation for all cases. I've never heard about theta or omega notation.

Wikipedia's bubble sort page -- as an example -- also uses it for all cases.

https://en.wikipedia.org/wiki/Bubble_sort

vmsp··on Ask HN: Share your personal site
Only have a couple of writings, should work on adding more.

https://0x1.pt/

vmsp··on Show HN: A plain-text file format for todos and check lists
There's at least a parser using that as a spec at https://github.com/200ok-ch/org-parser
vmsp··on CodeEdit: Building a free, open-source code editor for macOS
Is this true? I thought that the UI was in OpenGL but that text rendering was done using the native platform APIs. I.e. CoreText
← PreviousPage 2 of 5Next →