1,102 karma · joined Jun 12, 2015 (11y ago) · 1,205 submissions
comment 7y ago · link · parent
I'm using Elixir and Elm, and understand why Mint happens. I'm keeping eyes on Mint, would love see a build-with-Mint page. This app is the first one!
comment 7y ago · link · parent
Any sport that's good for you is great. (Not a big fan of running either, but jogging in the morning is quite nice)
comment 7y ago · link · parent
cycling: the most enjoyment of scenery, 26km (how I do per day) gives you a lot of different views; mountain, river, road, smell of air along the ways. These are also good for brain.
basketball: it just nicely exercises agility, muscle memory (imagine you nail it 10/10 shooting continually, how nice the muscle is!), reactivity, quick decision making as a team.
table tennis: it is incredible how you can control the small ball in very fast interaction, in very small area (table). Little skills you gain from this is mind-blowing to me.
I play a lot of other sports, I'm very satisfied what my body can do, and breaking current limit is also fun.
comment 7y ago · link · parent
comment 7y ago · link · parent
- Enough for buying satisfied house and land AND a nice secondary room in the middle of city. So they support two main life styles. Need a peaceful time, go to house surrounding by nature. Need a party, city life, back in town.
- Enough money for commuting between places as you want
- Enough money for buying whatever objects. Get bored, go shopping
- Enough money for not worrying about it so you can do things that improve your contentment.
Well, this is not new, money solves maybe 90% of whatever problems you have right now.
comment 7y ago · link · parent
These are features that help eliminating uncertainties:
1. Function head pattern matching
This also includes anonymous functions used in Enumerable functions like map, reduce. Which is my most favorite way of using pattern matching
2. Guard clause
It's part of function definition so it's visible in very nice ways; not mess with the body.
3. Process supervision strategies
Let it crash! The elegant way of dealing with exceptions and unexpected errors.
It's a fair trade with static typing.
comment 7y ago · link · parent
LiveView is the haven for apps that are focusing on B2B and internal tools in organizations. Because it doesn't have to support offline usage, and cost effective since you don't have to have a frontend team.
1046.
Git-based or API-driven CMS (2017)(youtube.com ↗)
1 points · by Existenceblinks · 7y ago · discuss
comment 7y ago · link · parent
More duplicated efforts on making reusable uis because they (React/Vue/Svelte/Elm/Ember etc) don't mean to integrate well with each other. Mostly they live their own world. Nothing integrates well with server rendering approach because most of them are based on virtual dom or compiler, vm that takes over the whole ui containers.
When you change a frontend language/lib/framework, your design system also need to change. All of your branded ui components need to be reinvented although some people just wrap libs such as Sortablejs, Select2 with their favorite js thing.
I've experiment Phoenix LiveView with a bunch of mentioned js lib/framework/language (above), nothing really integrates well for production uses. Vanilla js is still best bet for working with server-side rendered html (Unpolyjs or Stimulusjs is nice, but it only serves small purposes)
I hope there would be more js that works with good old html that you are already rendering.
comment 7y ago · link · parent
Its technique is not new, it's just server-side rendering via websocket and DOM patching (Morphdom is also very old)
> not appropriate at all
"At some" would be appropriate. Pretty much typical CRUD (real world) that needs to fire requests to server anyway (e.g. form, business logic validation).
The only reason not to use it _right now today_ is it's not 1.0 yet.