Preferences

vmsp
Joined 501 karma
Writer and software engineer. Built healthcare and recruitment software. Interested in finance, economics and policy.

https://0x1.pt

vmsousapereira@gmail.com


  1. Snapchat also maintains Djinni, used to generate type-safe bindings for C++ code. With Valdi, it seems like they chose to go another route.

    https://github.com/Snapchat/djinni

  2. That's perfectly reasonable but, at that point, the argument becomes: build 95% natively and maybe there's a 5% "core" that warrants extracting into a common lib. Technically? That's excellent architecture. In terms of saving development time — which is where stuff like React Native comes in? Not so much.
  3. I hear this and it makes sense but when I actually go about implementing it, it quickly falls apart.

    Most apps are UI, remote requests and maybe some storage. What do you put in the common core? Android does HTTP requests one way. iOS does them another way. You go for the lowest common denominator an implement a third way, using libcurl or something?

    Or do you just put business logic in the common core? Is there really that much business logic that doesn't issue requests or access a database?

  4. 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/

  5. 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.
  6.   Location: Portugal
      Remote: Yes
      Willing to relocate: No
      Technologies: Ruby, Rails, Python, Django, Postgres, React, Node, Go
      Résumé/CV: https://0x1.pt/Vitor_Sousa_Pereira_CV.pdf
      Email: vmsousapereira@gmail.com
    
    Currently Lead Engineer at a London-based AI SaaS. Been there from the very start. Looking to switch industries.
  7. 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.

  8. Looks similar to Clasp but implements Clojure instead of Common Lisp.

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

  9. How does one get into the investment business?
  10. I think the link for k.zip was just removed.

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

  11. 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.
  12. Do you mean njs? Or is there a really a NodeJS module?

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

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

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

  15. 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.
  16. 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.

  17. For those curious, Mk is available in Plan 9 from User Space

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

  18. 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.
  19. Can you expand on the web server? Does it implement WSGI?

This user hasn’t submitted anything.

Keyboard Shortcuts

Story Lists

j
Next story
k
Previous story
Shift+j
Last story
Shift+k
First story
o Enter
Go to story URL
c
Go to comments
u
Go to author

Navigation

Shift+t
Go to top stories
Shift+n
Go to new stories
Shift+b
Go to best stories
Shift+a
Go to Ask HN
Shift+s
Go to Show HN

Miscellaneous

?
Show this modal