2,473 karma · joined Nov 26, 2015 (11y ago) · 539 submissions
comment 3y ago · link · parent
Note that a heat pump cooling a building is essentially the same as an air conditioner. So it's more a matter of how efficient the air conditioner you're replacing is. Cooling a house is much easier than heating, because the temperature differences are lower. In your example, cooling 95 F to 70 F is a 25 F difference, while heating 20 F to 70 F is a 50 F difference. The world record for heat is about 135 F, which is the same difference from 70 F as 5 F, a completely normal winter temperature in much of the world.
comment 3y ago · link · parent
https://property.phila.gov/?p=492129100 https://property.phila.gov/?p=581427500 https://property.phila.gov/?p=212348000 https://property.phila.gov/?p=344136100
comment 3y ago · link · parent
That's part of it. More specifically I'm interested in the dynamic nature of the space overhead. In the video you linked, from 10 to 12 seconds, it looks like the algorithm is using about n/4 scratch space. But for larger arrays, it's bounded at n/8. Is that done by further recursing merges for larger merge sizes? Is the number of recursive layers needed to do a big merge determined by the size of the input, or the size of the scratch space?
I see that try_merge_into_scratch will fail when the scratch space isn't big enough, which mostly answers my question https://github.com/orlp/glidesort/blob/master/src/physical_m.... But I'm still not sure how that failure causes the overall algorithm to change
(I have been trying to ask about how glidesort uses the preallocated scratch space internally, not how it interfaces with system memory and system allocators.)
comment 3y ago · link · parent
How does the algorithm stay bounded in memory usage? Is glidesort written in such a way to never use more memory than that? Is the some sort of back-pressure mechanism, when most of the allocated memory is in use, and another operation is ongoing? Basically: when sorting a 1 GiB array of data, how does the algorithm keep from using more than 128 MiB of additional memory? Nothing in the "Technique Overview" section mentions bounded memory use (under n bytes, at least).
comment 3y ago · link · parent
> If you had to reduce it to a sentence, the answer might be: anything that gratifies one's intellectual curiosity.
No comment on the applicability to the current article
comment 3y ago · link · parent
[1] I chose Philly because of a good clickable property tax browser https://property.phila.gov/?p=881576550, and because it keeps separate land vs. improvement assessments.
[2] This is in no way a statement that Rittenhouse Square should be developed. Parks are good. https://property.phila.gov/?p=885705260
comment 3y ago · link · parent
comment 3y ago · link · parent
> Over the course of the book, the researchers illustrate how absolute rent levels and rental vacancy rates are associated with regional rates of homelessness. Many other common explanations—drug use, mental illness, poverty, or local political context—fail to account for regional variation.
comment 3y ago · link · parent
comment 3y ago · link · parent
And even if IS_VEHICLE was formally defined, that doesn't help, because the concept isn't reusable. It's perfectly normal for "No vehicles allowed in park" and "No vehicles allowed in playground" to have different definitions of what counts as a vehicle, based on what would seem reasonable to a jury
comment 3y ago · link · parent
comment 3y ago · link · parent
Getting your photos off of Instagram is easy, according to the top 10 search results for "Instagram photo downloader". But even then, the distinction that you're not paying Instagram for hosting is notable.
comment 3y ago · link · parent
With bitboards: There are 12 types of pieces, so could use 4 bitboards[0] to capture all of the information. 64 * 4 = 256 bits.
I think the most compact would be a combination. One bitboard (64 bits) marking where pieces are, and then a list of 4 bit integers[0] noting which piece is which, ordered by how they show up on the bitboard. With 32 pieces that's an additional 128 bits, for 192 total. And the size could only go down from there, as pieces are removed.
Writing this out, I see how 4 bitboards would be much simpler than 1 bitboard and a weirdly-indexed list that needs to be reordered every move.
[0] Boards could be 1=white/0=black, 1=more/0=less than 4 points, 1=royal-or-minor/0=rook-or-pawn, 1=queen-bishop-rook-or-pawn/0=king-knight-or-nothing, so that all 0s means no piece, and 1000, 0100, and 1100 as unused values. The full list would be:
0000 - empty
0001 - black pawn
0010 - black knight
0011 - black bishop
0100 - reserved
0101 - black rook
0110 - black king
0111 - black queen
1000 - reserved
1001 - white pawn
1010 - white knight
1011 - white bishop
1100 - reserved
1101 - white rook
1110 - white king
1111 - white queencomment 3y ago · link · parent
Nuclear power is used as base load because of economics, not physics or regulations. France's nuclear fleet is used for load-following. See "Load-following with PWR nuclear plants" in https://www.world-nuclear.org/information-library/country-pr.... (SMRs are easier to use for load-following, since you enable and disable reactors, as opposed to using the "grey control rods" mentioned in the linked article.)
comment 3y ago · link · parent
comment 3y ago · link · parent
I doubt that I'm going to find much to agree with here.
> Vision: variable-route, variable-schedule (VRVS) systems are sustainable
Is this meant as a "we will find some way to make them sustainable"? Or "they already are sustainable"? Seems like bad writing, either way.
> Challenges: standardization, traveler trust, legal constraints, and external threats
Oh man, at least they admit that everyone thinks they're going to kill people and break laws with impunity. I'm surprised that they don't have "safety" listed, though.
> Mass-Transit Solutions for an Automobile Culture: FRFS transportation systems such as railroads, no matter how fast the trains, will have little effect on automobile drivers and traffic.
[Citation needed] But seriously, if you start with the assumption that people will never use mass transit, even when it's obviously faster and better, than I guess you could get here?
> The Promised Land: CAVs - single-occupant cars, taxis, limos, and buses - operating on CAVWAYs under common protocols, protected from human drivers, will operate as VRVS systems, offering safe, efficient, secure, accessible, sustainable mass transit.
You can just say "gadgetbahn", you know.
Other pages....
> In California, where most of the right-of-way was procured for freeways and highways, railways would be redundant with the new CAVWAYs; new routes and right-of-way for trains would be very expensive.
Wow, it's a shame that building new rights of way would be expensive and unworkable. Glad we can instead build new rights of way that are, uh, not expensive or unworkable?
> AVs on CAVWAYs will use far less energy than vehicles idling in freeway traffic jams. Those CAVs will be fuel efficient because they can remain safe using light-weight construction. Constant CAV speeds and ride-share services will also reduce fuel use. And, CAVs on CAVWAYs will use the most-effective energy sources available at the time.
These types of systems refuse to realize that roads have a carrying capacity, and traffic slows down when more cars are added past that capacity. No amount of automation will solve this.
> Davius' Ten Commandments of CAV Systems are introduced below. They will appear on various pages of this website.
> 1) Build roads from where travelers (Roman armies) are to where they need to go (unconquered villages and farms).
This page is clearly satire, by the way.
comment 3y ago · link · parent
comment 3y ago · link · parent
Do not expect the code to be stable under any modifications, but you can try if you want I guess. Also there are barely any comments sorry. I am in Electrical Engineering and I like writing shitty code to piss off my Computer Science friends."
I appreciate this README's sense of humor
comment 3y ago · link · parent
The division of these numbers is 2.9999998957049091386350361962468173875300478102103478639802753918, but the nearest float to that is 3. (Exactly 3.) [2]
The modulo operation can (presumably) determine that 3X > Y, so the modulo is Y - 2X, as normal.
This gives inconsistent results, if you don't know that every float is actually a range, and "3" as a float includes some numbers that are smaller than 3.
[1] https://www.wolframalpha.com/input?i=13.715999603271484375+%... [2] https://www.wolframalpha.com/input?i=2.999999895704909138635..., then https://float.exposed/0x40400000
comment 3y ago · link · parent