seles
Joined 17 years ago
Joined 17 years ago
Also the original quote is flat out wrong as they are deemed 10x more likely to crash according to this: https://prospect.org/infrastructure/transportation/2023-06-1...
That doesn't seem to actually be better than people yet.
I tried to follow along defunctionalizing map, but it is a bit different since it has a return value, whereas in the video it is a void. What I ended up with was equivalent to building a list and then reversing it. So it did infact work (all functions were tail callable). This was mentioned in the article as inferior to the author's final product though. So I think it is a bit different to a special case of CPS defunctionalization optimization.
Although there may have been other ways to deal with the return value in continuations...
myMap = myMapHelper id
myMapHelper cont f [] = cont []
myMapHelper cont f (x:xs) = myMapHelper (cont . (f x :)) f xs
Of course this actually makes things slower in Haskell, either due to the growing continuation or existing optimizations in Haskell$string = "漢字";
But if you are using say UTF-8 and one of those Chinese characters has one of its bytes have a value of 34 (the ascii value of "), then wouldn't the string terminate prematurely?
Edit: to answer my own question, quote from wikipedia: ASCII bytes do not occur when encoding non-ASCII code points into UTF-8
Does anyone know the name for this type of fallacy? Not False Dichotomy but similar?
BTW I cannot view that link... "This site can’t be reached" :)
Something I could do about it is personally is stop using YT until they do. I've seen other instances of the negatives of YT that are making me think this is what it must come to (i.e. https://news.ycombinator.com/item?id=24571038).
The ironic thing is that I'm tempted not to ban YT because there's so much content that I like (pbs spacetime, veritasium, etc). However this type of reasoning is how atrocities in the past have been allowed to happen. Essentially youtube is Google's real monopoly and this is just another example of the problem of monopolies.
So I'm going to block myself from youtube (since habit is too hard to break, I'll do it by adding these lines to /etc/hosts)
127.0.0.1 youtube.com
127.0.0.1 www.youtube.com
Could someone please post here when these channels are deleted?
So this could easily be explained by people googling about the theory itself.