It's clearer because with the duplicated variable name, the syntax is just a special case of the general default argument syntax. The default value for the "visibility" parameter is the value of the "visibility" variable in the scope the function belongs to. Anyone who knows the default argument syntax can work that out. And even if you don't know the default argument syntax, you might be able to guess how it works by analogizing it to the similar-looking variable assignment syntax. With the new syntax, on the other hand, you have to know about it in order to understand what it does. It just adds one more thing people will have to learn about Python syntax, for, as far as I can see, a very minor benefit. The trade-off doesn't seem worth it to me, given that one of Python's USPs is its relative accessibility to newcomers.
These things are everywhere in Manhattan; a few weeks ago there were so many it took concerted effort not to step on one on the sidewalk. They don’t appear to be particularly intelligent either, and as such the ground is littered with their dead bodies, crushed underfoot by pedestrians. It’s gross.
The only place I ever encountered these was in the computer labs in Soda Hall at Berkeley. They’re a great fit for an environment like that so there’s one machine for each person without needing the extra space for a traditional tower. But I imagine outside of situations like this where you need something that’s not locked down for programming, Chromebooks have probably taken the lion’s share of the education market.
Starting with Ice Lake there’s support for 5-level paging, which increases this to 128 PiB. Can’t say that I’ve ever seen this used in the wild though.
Yeah, there mostly isn’t a use case for it in databases. If you have that much storage you’ll need to bypass the kernel cache and scheduler anyway for other reasons. That was true even at the 48-bit limit.
I name all my personal programs prefixed by the comma. I learnt it from someone on lobste.rs. No Unix utilities use the prefix in their name and it is a valid filename.
So I can type , and I am sure it's my program and I'm not running something else and it'll autocomplete among my list of programs.
“Show HN” is generally reserved for things the author themself created. Looking at your post history, you’ve made “Show HN” posts on a wide variety of topics every couple days. If you made all those things yourself, that’s incredible, and I applaud your productivity, but if not they shouldn’t have the “Show HN” prefix.
> Apartments, obviously, need operable windows to vent cooking fumes and brighten living space.
I for one would be perfectly happy to rent an apartment without any windows if it meant getting a place located in the heart of a major city.
> although, of course, a common bathroom for 20 units won’t do
Again, I’d be fine with dorm-style shared bathrooms as a trade-off for having an apartment with an excellent location.
I suppose the overall sentiment I’m feeling is that I’d enjoy living in a dorm-style building for young professionals. Go ahead and throw in some large common rooms while you’re at it. I get that this isn’t for everyone, but I think there’d be enough demand from individuals in a similar demographic (i.e. professionals in their early 20’s) to make this viable, especially somewhere like SF.
Absolutely. Unknowingly, I just wrote almost the exact comment as this. There's no shortage of TikToks's of people giving tours of their ridiculously small apartments in the outer boroughs. Imagine how alive the financial district could be with a influx of thousands of young people.
Washing people and clothes, and cooking, produce a lot of vapour which if not vented will produce mould. You will rapidly find that the health issues produced by mould are a more serious issue than location, which is why this is not left to the market.
Leaving aside whether I'd want that as a young professional with a good job, I'd argue that there is a difference between a college dorm or a shared house situation and sharing facilities with a bunch of completely random people over which you have zero control.
ADDED: And it's almost certainly a fantasy to think that shared amenities and residents would be young professional friendly rather than being more in line with those who rent SROs today. (Although as the article notes, these conversions are expensive--so they almost have to be luxury apartments--rather than SROs with shared facilities.)
I don't think it can get much worse than a shared college dorm. People shitting in communal showers. People not knowing how to do laundry breaking the machines. Building fire alarms going off multiple times per week. People having zero respect for shared bathrooms pissing all over the toilet seats and floor.
Twice I’ve seen one of the higher ups add a private bathroom attached to their office. (in additional to the bathroom that the normal employees use by the elevators).
Once because of IBS and once because they liked taking mid-day showers.
I think the one thing you need to make the bathroom situation work is someone constantly cleaning them. Assuming you have a fair amount of residents should be possible. I think you also need to set things up in a way where someone can't just linger in the shower for an hour. I don't know it's hard and people suck. They'll shave in the shower and leave a nasty mess for others.
My experience is that powered ventilation (especially when controlled by a humidistat for a bath or timer for a kitchen) is more effective than opening a passive window.
The power is not out frequently enough in the US to be a detectable contributor to mold risk.