Better HN
topnewbestaskshowjobs
Log inSign up

timerol

2,473 karma · joined Nov 26, 2015 (11y ago) · 539 submissions

Submissions

comment 3y ago · link · parent

> over 95 degrees

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

Single-unit buildings close to downtown can have higher land costs. But single-unit buildings in single-unit neighborhoods are, again, around 1/5 land cost.

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

Note that both of their rear tires were flat, which complicates things

comment 3y ago · link · parent

Awesome. Thanks for the explanations!

comment 3y ago · link · parent

> How can it do merges in space (much) smaller than the input.

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

I used the word "allocate" imprecisely. (The plain English description in the README did a good job of explaining the up-front allocation needs.) What I meant to ask:

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

The ability to work with different memory sizes is pretty intriguing. How does the algorithm decide where and when to allocate?

comment 3y ago · link · parent

The main roadblock here is the crime. You would need some safeguards to make sure these people aren't real enough to receive any government benefits, or open a bank account.

comment 3y ago · link · parent

https://news.ycombinator.com/newsguidelines.html

> 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

This is not accurate outside of a handful of broken housing markets. In Philadelphia[1] land is often 1/5 of the total value. There are definitely some parcels that are undeveloped[2] or underdeveloped[3], but most properties are more balanced.

[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

[3] https://property.phila.gov/?p=881520352

comment 3y ago · link · parent

> Though also he should still be raked over the coals.

I think GP's position on that question is abundantly clear

comment 3y ago · link · parent

Note that homelessness is a constant flow of people. The services and compulsion removing people from the streets is currently happening. The problem is that the housing market is dumping more new homeless onto the street than our current system can handle. Turning off the faucet, so to speak, will make dealing with the existing homeless population a much simpler and more humane activity.

comment 3y ago · link · parent

Homelessness Is a Housing Problem: https://homelessnesshousingproblem.com/

> 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

Based on modern understanding of walking ergonomics, it would be better for you to go back to your 11 year old walking style

comment 3y ago · link · parent

I (almost) exclusively use the "Start (+30 s)" button to set time. It's very rare for me to microwave things more than 3 minutes (6 rapid button presses), I normally do 60 or 90 s. The microwave starts going as soon as the first button is hit.

comment 3y ago · link · parent

(2018), but reads like it was written yesterday

comment 3y ago · link · parent

No. (Channels patio11) As a society we have decided to delegate a bunch of responsibilities to the companies that move money. The most notable one is fraud protection. The companies that make this much money do so by pretending that a transfer of money is a clean, simple, and absolute thing. In reality it is messy, reversible, and fraud-prone. Being able to transfer $1B dollars as easily as you are able to transfer $1 would be a failure of the system, not a feature.

comment 3y ago · link · parent

None of ADA_EXEMPT, IS_VEHICLE, or DISALLOW_IN_PARK can be easily formally defined. And the mere mention of "wheelchair" adds an additional ADA-related logic exemption. What about bicycles? Strollers? Unicycles? Shopping carts? Skateboards?

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

This character set was only added to Unicode last September, as mentioned on the page. I first learned about them via this video https://www.youtube.com/watch?v=EyS6FfczH0Q

comment 3y ago · link · parent

It's perfectly reasonable for a user to pay a big company for hosting, and then delete their local copies, since they paid for hosting. And then assume that, because their data is publicly available, that they'll be able to download that information.

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

Also not noted: 320 TB in 40 M.2 drives will be extremely expensive. Newegg doesn't have any 8 TB M.2 SSDs under $1000. $0.12/GB is about twice as expensive as more normally-sized drives, to say nothing of the price of spinning rust.

comment 3y ago · link · parent

I wonder how compactly you could represent most chess games. On a per-piece basis, each non-pawn would require 6 bits of location, plus 1 bit for whether it exists, for 16 * 7 = 112 bits. Each pawn can only access half of the squares at most (never row 1 or 8, capturing diagonally creates a fan of at most 32 squares, at minimum 21 for the flank pawns) so an additional 16 * 6 = 96. You would need to add an extension for promoted pawns, likely average out to never relevant. It could be stored as an illegal pawn position, so 208 bits in the normal case, but a variable-length format.

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 queen

comment 3y ago · link · parent

Nuclear is very bad at ramping all of the way off, but NuScale's reactors can go from full power to 25% of output power in 1 hour. https://www.youtube.com/watch?v=h--FAVoAQvk&t=59s

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

Producer price index on steel pipe and structural steel are bonkers: https://fred.stlouisfed.org/series/PCU3312103312100 and https://fred.stlouisfed.org/series/PCU33231233231211

comment 3y ago · link · parent

> Issue: fixed-route, fixed-schedule (FRFS) mass-transit systems are obsolete

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

Allow reversing transactions that are proven to be scams, as they are required by law to do. https://www.investopedia.com/terms/r/regulation-e.asp

comment 3y ago · link · parent

"Warning: This code is fucking awful.

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

Based on the nearest numbers that floats represent, the two numbers are Y = 13.715999603271484375 (https://float.exposed/0x415b74bc) and X = 4.57200002670288085938 (https://float.exposed/0x40924dd3).

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

Even in the parts of the US that are unified grids, a kWh is not a kWh. Where you live determines how expensive your electricity is. Compare Cambridge, MA https://electricityrates.com/compare/electricity/02139/ with Philadelphia, PA https://electricityrates.com/compare/electricity/19101/. About twice as expensive in MA.

comment 3y ago · link · parent

The "US Cancer Death Rate" talked about in the article is measured in deaths per 100,000 population, not deaths per detected cancer. So we are comparing apples to apples, but finding and treating cancers earlier could be helping to result in fewer deaths.
1
8910
18