- This data structure is called the zipper, and the neat thing is that you can generalize this to more complicated types like trees: https://www.st.cs.uni-saarland.de/edu/seminare/2005/advanced...
- I built a similar system for my school’s CS club. I considered using a door sensor, but the eventual solution I settled on was a light sensor, because it’s almost always true for us that the lights are on iff the door is open.
This way, we don’t need to mount anything on the door, we just have a microcontroller plugged into one of the machines.
Our previous solution was a webcam that pointed to the lights that did a similar thing (implemented by someone before my time) but then it stopped working due to some driver issues, and I didn’t want to spend time investigating them.
- > my wife with iphone pops up browser, I pop up mine with firefox and ublock origin. Internet is utterly useless and horrible place on her phone, while completely fine on mine (plus I get youtube ads blocking as a bonus)
I recently set up NextDNS on my iPhone and browsing the web has become much more usable (previously, I would get webpage crashes!). Something to look into in addition to or instead of Wipr.
- Somewhat related game: https://store.steampowered.com/app/1533050/Press_Ctrl/
- When I was traveling abroad, I placed an order on Walmart, shipping to my home address, so that it would be there for me when I got back home. Walmart cancelled the order, "due to location restrictions on placing and shipping orders", even though the delivery address was in the US! I have no idea why the physical location of the computer placing the order should matter to Walmart. Eventually I just had to get my friend order for me.
- Many streets in parts of Asia (Korea and Taiwan for example) are similar. A majority of the "side" roads just don't have sidewalks, and people walk on the road. I was a little nervous the first few times I encountered it (having grown up in very car oriented suburbs and then lived in Canadian downtowns after that), but it definitely grew on me.
- The point is that this is a societal issue. One person paying doing some charity on their own doesn't solve the societal issue.
As analogy: "It sucks that my peers earn less than me because they are part of <X disenfranchised group>"; You: "Why don't you just take your extra income and give it to them?"
- This is a classic coordination problem: you need all the sellers to leave together so that individual merchants don't take a loss. And coordination problems like this are one of the main areas government action can help!
- For Uber and UberEats, turns out you actually can disable marketing notifications, under the communication settings, it's just hidden away.
- The funny thing was that even Apple violated that rule themselves: https://marco.org/2014/12/01/app-store-rule-5-6
- I watched the movie first, but enjoyed the written story more (though I still thought the movie was great!). The big difference for me was the inclusion of the physics in the written story, and how it was connected to the linguistics.
- Capital One credit cards have this feature.
- I don't think it's clear that PFOF is bad for retail investors. Many people argue (see Analysis section of the article you posted, and also Matt Levine's writing about it on Money Stuff) that PFOF is actually a net good for retail investors, getting them both price improvement and lower commissions.
Also:
> In the United States, accepting PFOF is allowed only if no other exchange is quoting a better price on the National Market System. ... Transactions must be executed at the best execution, which could mean the best price available or the speediest execution available.
- Many of my professors would mention the problem numbers for both the current version, and the previous version, to deal with that specifically.
- > Europe does not have skyscrapers so it is possible.
I'll steelman your argument to be "Europe has less skyscrapers than NYC" (which I think is true, IIRC).
If you need to get away with less super tall buildings, you need to spread out the density elsewhere; that is, have medium density everywhere. In US and Canada, we've decided that the suburbs are untouchable, so the only solution is to have super tall buildings in a few areas. That's how you get 30 story apartments literally next to 2 story houses [0]. This is an intentional choice. I think it's the wrong one, but overcoming it is going to take a lot of convincing.
0 - https://www.alamy.com/stock-photo-stock-photo-aerial-view-of...
- It was changed because of a California law IIRC.
- You'll also want `set show-mode-in-prompt on`.
Note that this feature is broken when you have a PS1 with a \n in it, in an older version of readline/bash (I am not sure which), so if you're having this problem, just upgrade your bash version.
- > not regulating the real-estate industry
Are we talking about the same city? SF real estate is super regulated, it’s my go to example of real estate regulations taken to an insane level. This is the city where any citizen can appeal any project for just a few hundred dollars, and basically every medium-large project is a negotiation with the SF board of supervisors (and often random non profits too, just look at what happened to 469 Stevenson St).
Ted Chiang has an alternate definition though, I prefer that one to be honest. His definition is about whether there are certain “special people” to whom the general laws of the universe don’t apply [0]. Under that definition, even what we would colloquially call magic (ex. turning lead to gold) would be called sci-fi, as long as everyone could do it; once you have that, you can do things like mechanize it and make factories to do it at scale, and there’s where you get the interesting second order problems.
Under that definition, I think Tower of Babylon is better considered sci-fi, because there are no “special people”. The new rules of the universe also lead interesting second order effects: the tower gets so tall that entire families live in the tower, and people are born and die in the tower [1].
[0] - better explained him here: https://boingboing.net/2010/07/22/ted-chiang-interview.html, see “You have very specific views on the difference between magic and science. Can you talk about that?”
[1] - I don’t know if Chiang intended this, but I think you could probably draw a parallel to missionaries to the new world.