Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
floitsch
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
91.
▲
by
floitsch
5y ago
That's why you compare per capita.
92.
▲
by
floitsch
5y ago
Finland is not really a country that relies heavily on natural resources. First page I found ranks the US as having more income from natural resources than Finland. https://www.theglobaleconomy.com/rankings/natural_reso
93.
▲
TypeScript Library to Flash ESP32s
(blog.toit.io)
2 points
by
floitsch
5y ago
|
0 comments
94.
▲
by
floitsch
5y ago
It's not that simple. The index table needs to be sparse (for the hashing to work), and thus has quite a few entries unused. It also wants to be small in memory to improve cache locality. Therefore you want to have the entries in the i
95.
▲
by
floitsch
5y ago
Which unavoidable memory overhead? The hash map as described in the article doesn't seem to waste any memory.
96.
▲
by
floitsch
5y ago
You were stating that "[...] it definitely is using memory it wouldn't need if it didn't preserve order.". There is no reason for that. A sorted list doesn't need more memory than an unsorted list. And an insertion-
97.
▲
by
floitsch
5y ago
With that reasoning a sorted list would need more memory than an unsorted list.
98.
▲
by
floitsch
5y ago
Rust has hash maps that hate you. The default hash map visits the keys in arbitrary order ( https://doc.rust-lang.org/std/collections/struct.HashMap.htm... ). You could use a BTreeMap, but that's not insertion
99.
▲
A Jabber client written in Bash
(github.com)
2 points
by
floitsch
5y ago
|
0 comments
100.
▲
by
floitsch
5y ago
The brand seems to be available mostly in Germany and Denmark. A very similar chocolate seems to be Vivani (from the same manufacturer). "Vivani edel bitter 70%". Maybe that one is easier to find.
101.
▲
by
floitsch
5y ago
If it had been available in common Danish supermarkets I would have included it :)
102.
▲
by
floitsch
5y ago
As mentioned in the post: the Cote d'Or and Suchard chocolates are extremely similar, and only had a minor difference in the ingredient list. If we had known, we would not have included both.
103.
▲
by
floitsch
5y ago
Will keep that in mind. It's very hard to present tables on Medium. If someone knows a better technique I would be happy to learn about it.
104.
▲
by
floitsch
5y ago
Happy to answer questions about the participants. For the "Knack": I'm not 100% sure either. I think he meant that it had a nice snap/crunch.
105.
▲
Ten Kilograms of Chocolate (2020)
(medium.com)
58 points
by
floitsch
5y ago
|
42 comments
106.
▲
by
floitsch
5y ago
Me too. I used the existing board and connected myself directly to the transistor. Used http://toit.io to connect the ESP32 to the cloud so I could control it from my phone (with a tiny Flutter app).
107.
▲
by
floitsch
6y ago
This is pretty rare. Almost all test of twins that are in doubt are identical. Don't have a source right now but I remember because we wondered if we should take a test as well. In retrospect (now 40+ years old and still looking very s
108.
▲
Jabber Client in Bash
(github.com)
2 points
by
floitsch
6y ago
|
0 comments
109.
▲
by
floitsch
6y ago
I implemented (part of) the Dart date/time library. Lots of fun stuff with time zones... Wrote a blog post about the most interesting things I found: https://medium.com/@florian_32814/date-time-526a4f86badb
110.
▲
by
floitsch
6y ago
I wrote a Chrome extension with a similar purpose. https://chrome.google.com/webstore/detail/ctrl-access/glmoeh... The idea was copied from Konqueror.
111.
▲
StruhChur – Fast strchr-like function
(github.com)
2 points
by
floitsch
7y ago
|
0 comments
112.
▲
by
floitsch
7y ago
They did. https://en.wikipedia.org/wiki/Time_in_Spain#Criticism_of_the...
113.
▲
by
floitsch
7y ago
Spain has long been suspected to suffer from their timezone choice. I do remember reading about that problem before, and a fast Google search finds several articles discussing the issue. (For example https://www.theguardian.com&#
114.
▲
by
floitsch
7y ago
Hi Brian, I really hope this will change, though. Skilled AIs could make so many games more interesting and better. Many online games really suffer from bad multiplayer experiences. Players that drop in the middle of a game, ... If Overwatc
115.
▲
by
floitsch
7y ago
I don't think the comparison with aimbots is fair. Aimbots are more like a perfect micro. In the beginning (when they did their first show match), Alphastar was insane at that. Now the micro is not giving an advantage anymore. Where al
116.
▲
by
floitsch
7y ago
The question isn't whether the AI still has advantages, but whether it's an unfair one. The current restrictions were implemented with input from TLO, and seem to work quite nicely. One could, of course, add more restrictions (lik
117.
▲
by
floitsch
7y ago
These extremely difficult/impossible things didn't really give an advantage. For example, AlphaStar would sometimes click on an object at the border of the screen. For humans that would be almost impossible, because the screen wou
118.
▲
by
floitsch
7y ago
Depends. "Correct" conversion, where the length doesn't matter (which could be called "fixed length" for a certain length that is big enough) is easier, because one can avoid a lot of rounding and imprecision issue
119.
▲
by
floitsch
7y ago
Looks like a great library. Not sure I actually knew about it. I will probably update the double-conversion library README to add a link. Internally it uses the same algorithm, Grisu, (with some additional optimizations) so there shouldn&#x
120.
▲
by
floitsch
7y ago
Yes. These algorithms (Grisu, Ryu, ...) all satisfy the "internal identity requirement", which means that they can print a double and read it back in to the same double. The harder part is to also produce the shortest of all possi
More ›