https://0x1.pt
vmsousapereira@gmail.com
- 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.
- 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?
- 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/
Currently Lead Engineer at a London-based AI SaaS. Been there from the very start. Looking to switch industries.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- 268 points
- Looks similar to Clasp but implements Clojure instead of Common Lisp.
- Is this it?
- Do you mean njs? Or is there a really a NodeJS module?
- 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.
- 90 points
- 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.
- 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.
- 43 points
- For those curious, Mk is available in Plan 9 from User Space
- 1 point
https://github.com/Snapchat/djinni