phunehehe0
Joined 13 years ago
Joined 13 years ago
But the reward is not limited there. Once you reach each and every "balance point", the next step is 50% chance for doubling the reward. If you currently have X, the value of continuing to play is 1.5X. This is independent of how big X is, or how unlikely you have made it this far (sorta a reverse Gambler's Fallacy). And it's why the expected value is infinite.
Imagine if you had written:
> I've seen shade-tree mechanics show a complete disregard for the environment, but I'm not in favor of this kind of law.
It seems like you think that's the same sentence as before but to me, and I suspect other readers, they say different things.
I was on a quest to find the narrowest font and Quinze was the answer. It's something like 20% narrower than Iosevka, which is already quite narrow. I love Iosevka but to me nothing beats maximizing the area of the characters (readability) while minimizing their width (fitting more characters on a line). That means sacrificing the number of lines on the screen, which I solve by splitting when needed.
In fact this font is so narrow that when I attempted to force its use in all monospace text in the browser, readability took a hit instead of improving. This is because at the same height Quinze is much smaller than "normal" fonts. In my coding setup I use a huge font size so it's no problem.
"Insomnia is available for Mac, Windows, and Linux and can be downloaded from http://insomnia.rest/download/"
https://github.com/Kong/insomnia/commit/23cca8c42b80aa6d9de2...
- Picking from the 256 color pallete will likely give you colors with different brightness. This may hurt readability of darker colors on a dark background, and may make some color stand out unintentionally. Consider using something like HSLuv [1] to pick colors with the same lightness, then convert to the closest Xterm color [2].
- To make it obvious there is a gradient, I'd pick one lightness (assuming HSLuv) and one saturation (I usually stick to 100%), then pick a distance in hue for each step. For example if I expect to see a maximum of 7 steps on the screen at once, one way is to start at 0, then 30, then 60, etc. You may choose to go over 180, but keep in mind 360 will be the same as 0 so maybe stop at 240. Note how by picking adjacent colors from the table you are still picking a distance, but the distance is too small so it's hard to see.
- You may want to choose a different starting point than 0, and maybe different direction for the steps, depending on whether you want the colors to "mean" anything. For example red is commonly associated with warning, so you can arrange to have the top of the range aligned with red. Or arrange to avoid the red region if you don't want that association.
[2] https://codegolf.stackexchange.com/q/156918 <- I'm sure there are more readable ways but can't find them in a quick search
To put it in perspective, imagine 10 people have cancer in a population of 1000 (a rate of 10% which is too high compared to what I think the real number should be). The test would fail to identify 5 of the people with cancer, and it would say that 5 of the people without cancer have cancer. So overall it would misidentify 10 people. The coin flip would misidentify 500 people.
Amusingly in this example if you have a "test" that just says nobody has cancer it would also misidentify only 10 people :) I think this is why they are reporting true positive rate and false positive rate.
To extend a naive view, I think it would be ideal if everyone can choose the languages they want to learn and use. This would make it a bit more like programming languages. There is concentration at the top if you want efficiency of communication, but also a lot of choices to explore. Of course this wouldn't work so well with human languages, since you need something to communicate with people around you. There is a little bit more choice if you decide to learn a second language or more.
By the way, some of this is already happening with globalization. I'd expect one's first language to be whatever used where they are raised. Their second language, if they choose to pick it up, is likely to be one of the popular ones. And the third on so on would be whatever interests them.
On a tangent, there is a Freakonomics podcast "Is Learning a Foreign Language Really Worth It?" that covers some of this. The distinctive conclusion I remember from it is, it's only worth it if the foreign language is English. I guess now or soon it could be Chinese, who knows.
[1]: https://blog.penningtonpublishing.com/grammar_mechanics/how-...
My biggest annoyance with Elixir is that the ecosystem seems to impose a lot of opinion on how things should be done, and sometimes actively makes it hard to do things differently. In some edge cases I couldn't do the easy thing because it's "wrong", and couldn't do the right thing because it was not yet implemented. I believe this is with good intention and is mainly a side effect of the relatively small and young community, as in many areas the de facto libraries are made by the same few people. I suppose this problem will get better as there are more libraries to choose from and/or more contributors to those libraries.
Another, milder source of annoyance for me is the lack of functional programming features in a functional programming language. To invoke a function that has been passed as a parameter you need a dot. No currying etc. Still, you can get things done and with these limitations it's harder to get yourself into a mess of functions being passed around (but not too hard if you try).
All in all, to me what Elixir brings to the table is more than enough to offset its annoyances. However when it comes to choosing Elixir, I agree with other comments suggesting to choose something the team is comfortable with.
I was on a quest to find the narrowest font and Quinze was the answer. It's something like 20% narrower than Iosevka and M+. I can't find an easy comparison with PragmataPro but if Iosevka is a free interpretation of PragmataPro like you mentioned then Quinze should be narrower as well.
In fact Quinze is so narrow that when I attempted to force its use in all monospace text in the browser, readability took a hit instead of improving. This is because at the same height it is much smaller than "normal" fonts. In my coding setup I use a huge font size which works great with the narrow width.
I guess the downside is that Quinze is very minimal: pretty much only ASCII, no ligature, no customization etc. None of those bother me.