Readit News logoReadit News
d0m3 commented on The negative impact of mobile-first web design on desktop   nngroup.com/articles/cont... · Posted by u/skadamat
hasoleju · 2 years ago
I like the mental model and I have often witnessed the meddling you mentioned. My favorite kind of meddling: The current state of a software product is presented to C-Level. After listening (usually) for a few minutes one of the most senior people in the room starts expressing a strong opinion about how a certain color should be changed. Now the color scheme discussion starts. The complexity of enabling an interaction of a user with the software through the interface is not discussed at all. At least changing a color usually doesn't harm the usability too much.
d0m3 · 2 years ago
That's called bike shedding! People tend to avoid complex stuff as it's much easier to discuss the simple stuff
d0m3 commented on Show HN: Solve the best fantasy team with MiniZinc   github.com/fnb-software/r... · Posted by u/d0m3
mzl · 2 years ago
Interesting model! Testing it locally, I could see that one issue in the model is that there is a lot of symmetry to the results. Enforcing that players in the team are ordered was not useful and did not help. Enforcing that the team positions were ordered helped a lot though, by extracting the `[position[p] | p in team]` expression as a separate array `team_position` and enforcing increasing on it.

With HiGHS the solve-time went from 1m7s on my machine (M1 Max) to just 7.23s. The model is solved at the root node with this change, as opposed to 1430 nodes without it.

Using OR-Tools 9.7 with free search enabled (see Configuration editor in the MiniZinc IDE) with the new model took 10.3 seconds. With 10 threads it is solved in 1.56s.

d0m3 · 2 years ago
Thank you that is such a useful change! I wondered about symmetry but had no idea how to break it.
d0m3 commented on User Driven UI   garden.bradwoods.io/notes... · Posted by u/bradwoodsio
d0m3 · 3 years ago
VS code (developer interface) has this feature where you activate a text input with a hotkey. It is used to trigger specific actions. You can type text and it will give you the actions that match the text. You also see a list of the actions you triggered that way previously. This is great because I don't have to remember how to trigger a specific action and I can also discover new actions just by searching. Ultimately it doesn't change the UI, but it sounds quite similar to what the author describes. There is some potential there with a search bar that is more about intent than text matching.
d0m3 commented on ClimateJets: Private Jet Emissions   climatejets.org/... · Posted by u/legrande
avalys · 3 years ago
Yes, the rich consume more resources and emit more carbon, what else is new? As a fraction of total worldwide emissions, private jets are irrelevant.

The environmental movement wants everyone to be poor. Live in a small house, don't use much heat in the winter, don't use A/C in the summer. Don't travel far. Walk to the grocery store and carry stuff yourself. Don't own a car - not even an electric car - take public transportation. Don't go far on vacation, don't ski, don't visit your friends or family all that often if they live far away.

Really, the environmental movement would actually be most happy with you if you killed yourself and stopped consuming resources altogether! But they only say that in private.

d0m3 · 3 years ago
Because that's the reality of what our average life could look like if would have a sustainable life.
d0m3 commented on What “work” looks like   blog.jim-nielsen.com/2022... · Posted by u/LordNibbler
d0m3 · 3 years ago
That's why remote work is so liberating. You don't have to stay at your desk but you can move your body and free your mind as much as you like. When I get back to the office I feel stuck. Physically and mentally.
d0m3 commented on Finishing what you start makes teams more productive and predictable   lucasfcosta.com/2022/07/1... · Posted by u/todsacerdoti
d0m3 · 3 years ago
This article makes some assumptions that could easily change the result. By the way, if you have a batch size of 1 you're back to the initial hypothesis which is obviously not how things work in the fast food industry. I think it misses the point of idle time and availability. From the supply chain theory, if your resources are always 100% busy, your delivery time will go infinite because as soon as something takes a little more time as expected then you can never catch up. This applies particularly well to software engineering.
d0m3 commented on Networking of a turn-based game   longwelwind.net/blog/netw... · Posted by u/blue1
sjrd · 4 years ago
I'm also writing an online version of a board game I like, to play with family and friends. I am about to start the networking part, and I actually intended to implement the deterministic approach, although I didn't know the concept had a name before reading the article. It's nice to read some validation that it is a good design.

I'm curious to know how you achieve not to need a server at all. How do you create the initial connection between clients without a server to negotiate NATs and things like that?

d0m3 · 4 years ago
Initially I thought I would be able to do it with webRTC but it turns out you still need some kind of specific server to connect clients. Instead I cheated a little bit and used a messaging service https://ably.com/. It was easy to setup and use, and their free plan is generous. Another thing I didn't achieve is to find a RNG I could configure with a seed, so amongst my client I have a special one, the "host" who is drawing the cards, etc. Overall it's been working really well. There is one thing that is particularly difficult without a server, that is debugging. Especially if using a mobile phone, you're in the dark when a bug happens. And with Ably and the free tier, you have to be connect in debug mode beforehand to see the logs, very unpractical. Good luck with your game!
d0m3 commented on Networking of a turn-based game   longwelwind.net/blog/netw... · Posted by u/blue1
d0m3 · 4 years ago
Nice article. I built my own online version of a turn based board game because none exists at the moment. I just want to play with my family so I didn't bother coding a server at all, instead all clients communicate their actions to all others so I naturally implemented the deterministic approach. I haven't thought about secret state so it's interesting to see a possible solution for that. Fun!
d0m3 commented on A simple system I’m using to stay in touch with hundreds of people   jakobgreenfeld.com/stay-i... · Posted by u/jakobgreenfeld
kator · 4 years ago
Interesting way to approach it, my approach might be less technical, when someone comes to mind randomly, I just txt them with:

  Hey, you just popped into my mind, I hope all is well with you and yours!
It's simple, lightweight, and you'd be shocked how often the other person pings back.

My completely un-scientific view is that most people think of others once in a while. Perhaps we're too busy to reach out, or the guilt of getting out of touch makes it hard to push through that resistance. I just push through it.

d0m3 · 4 years ago
It sounds like good advice. Heck I don't wanna automate my life, especially not up that point. Imagine if the people the author contacted knew why, I wouldn't be too happy about it. Slightly related, I try to remember my closest friends birthdays, means more to me if I can remember it rather than a generic reminder...

u/d0m3

KarmaCake day26June 29, 2021View Original