Better HN
topnewbestaskshowjobs
Log inSign up

timerol

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

Submissions

comment 2y ago · link · parent

> Armor is an occasional expense ... Soldiers are a constant expense

I'm not an expert, but it's worth considering that you can't ramp the production of armor in the same way you can ramp conscription. So to have enough armor, you'd need to be buying armor for nobody in times of peace, which is a tough decision, especially if you're living in an era where firearms are improving rapidly.

comment 2y ago · link · parent

TFA is about Intel's humbling not Intel's humility. If Intel was already humble, there would be no need for a humbling

comment 2y ago · link · parent

It's not punishment. The reason air travel is so safe is because every near-miss is root-caused and policies are put in place to prevent the same cause from resulting in a future accident.

comment 2y ago · link · parent

If I write you a $500 check and you accept it for $500 cash (or $500 of goods), you are extending me credit. You don't actually know that my account has the $500 until you cash the check. Someone has to pay that $500, even if I only have $100 in my account. And if I read the article right, the bank is legally required to take the loss.

comment 2y ago · link · parent

The main motors of an EV are not powered off of the 48V system. EVs generally have 300-400 V main batteries, with discussion of 800 V on the table (someone may have already done it, I haven't been keeping track).

comment 2y ago · link · parent

Solar has become so cheap that the bottleneck is the interconnection queue - utilites are overwhelmed by the amount of modelling that they have to do to ensure the stability and capacity of the grid with the addition of more renewables. (There are a number of ways that they make this harder for themselves. These processes are very much not built for intermittency.)

Hydropower plants are already permitted and connected generators. They are allowed to produce energy for sale onto the grid. From the utility's perspective, adding solar to a hydropower plant is the same as if there was a year with extra rainfall - the maximum (and reserve) power limits will still be adhered to, but more total energy will come from that single source.

(Note that solar on the ground right next to the hydropower plant would have the same benefits without the additional costs of floating, but often hydropower plants are built in geographies that are more challenging for ground-mounted solar - they're either extremely hilly or built out.)

comment 3y ago · link · parent

I opened the article after reading this comment, looked at the cover image, and thought you must be out of your mind. Then I scrolled down, and the newer images looked progressively worse. The South Gardens complex looks like it's afraid to be anything other than a box. There are balconies that give clear opportunities for a varied facade, but they look almost identical to everything else. (I say this as someone who heavily advocates for needing to build more in expensive cities. Bland boxes are way better than no new construction.)

comment 3y ago · link · parent

Your math is off a bit. The panel you linked is 1.722m by 1.134m, or $34 per square meter. It's wild that it's in the same ballpark as a fence panel, though

comment 3y ago · link · parent

It was so close to a good example, too. Increasing the payout to $1.1M would make the example make so much more sense. It's positive EV for everyone, but only Mr. Behemoth can control his variance. (This is ignoring finance.)

comment 3y ago · link · parent

The "intentionally designed" part isn't just the mail, it's the process that comes after receiving mail. The VP of Retail Banking does not read their own mail. Who does read that mail? How are various letters delegated to appropriate teams? What letters are discarded or given a canned response? How does the bank make sure that it doesn't ghost people (most of the time)? It basically needs an entire support system, which may or may not rely on parts of the official support system

comment 3y ago · link · parent

> so that no one ever had to have their lives savings stolen by bankers with no recurse.

This is meant sarcastically, right? Crypto is extremely efficient at causing people's life savings to evaporate

comment 3y ago · link · parent

Here's a rewritten first sentence, without endorsement for or against:

English Wikipedia has become a party organ for the ideology of universities' liberal arts departments. It filters for a particular viewpoint: deconstructive, post modernist, existentialist, nihilist, anti-western, socialist. English Wikipedia no longer cares about objective truth, and is more interested in assigning inflammatory labels to opinions outside of its ideology, and purging views that come from the wrong sources, namely dead white males.

Some notes: The clarification about language vs. kingdom is unnecessary. Specifying that philosophy et al are now "ruined" is deliberately argumentative. "personal truth and lived experience" is duplicative of "post modernist". "battering down the gates" is also deliberately argumentative. I do not remember Shut Down Tech day, and so it adds nothing. The footnote on "party organ" doesn't help explain what a party organ is, but instead seems focused on aligning you with the views of The Nation against the CCP.

Your entire first post reads like you're trying to pick a fight, and not trying to explain or convince anyone.

comment 3y ago · link · parent

Wikipedia is unsurprisingly pretty good: https://en.wikipedia.org/wiki/Effective_altruism

I feel that this summary is useful as a history of the movement. https://forum.effectivealtruism.org/posts/XTBGAWAXR25atu39P/... I stopped identifying with the movement around the start of the second wave. I went from "EA is cool and great and you should read about it and donate to help save lives" to "EA has had some cool ideas but is now mostly focused with weird probability math that siphons money away from it's mission of saving lives", but I digress.

comment 3y ago · link · parent

TFA quotes an "EA forum", and some Googling leads to https://forum.effectivealtruism.org/posts/xof7iFB3uh8Kc53bG/...

comment 3y ago · link · parent

> earning their 10%

Note that GiveWell only gets 10% of your donation if you explicitly request that they do. https://www.givewell.org/donate/more-information#How_is_Give...

comment 3y ago · link · parent

"Rise from fringe to fastest-growing" seems like a math misunderstanding. Something that's small has the largest possibility of growing rapidly, expressed as a percentage. https://xkcd.com/1102/

The article really doubles down on suspect use of numbers by talking about "[Hillsborough County, Fla] vote results have predicted the winner in 22 of the last 24 presidential elections. Now it is a harbinger of a different trend: the widespread adoption and acceptance of home schooling." Spurious election correlations make for bad articles.

Within that county since 2017 school enrollment has grown "3.4 percent, to 224,538 students." (about 7400 student increase), while homeschooling has grown 74%, up to 10,680 (growth of about 4500 students).

comment 3y ago · link · parent

Your parent was complaining about desktops, not laptops. They specifically called out that laptops do this correctly (along with most other devices)

comment 3y ago · link · parent

Some people are just bad at managing finances. I had a loved one who racked up $10k in credit card debt because autopay was set to pay the minimum payment. The payments were low enough that they thought they had more money than they did, and adjusted their spending accordingly. Eventually the interest caught up with their monthly expenses, and they came to me confused and overwhelmed. I helped them consolidate the debt and changed the setting to "full statement balance" - it's now been over a year with no issue. (We talk finances monthly to confirm that everything's still going smoothly.)

Manually paying would have caught the issue before it snowballed. Setting up autopay for the full statement balance in the first place would have entirely prevented the issue, as the extra money went entirely to luxuries that they thought they could afford.

comment 3y ago · link · parent

A Huffman code like this can also represent knights (or any single other piece) in 3 bits.

  000 - black pawn
  001 - black knight
  0100 - black bishop
  0101 - black rook
  0110 - black king
  0111 - black queen
  100 - white pawn 
  101 - white knight
  1100 - white bishop
  1101 - white rook
  1110 - white king
  1111 - white queen
Going with "a pawn in the first row is actually en-passantable, and should be swapped with the piece in the appropriate position if it exists", and "kings are represented as knights when they can castle in either direction, bishops when they can only castle kingside, and rooks when they can only castle queenside", that gets the initial representation down to 64 + 16 * 3 (pawns) + 6 * 3 (knights and kings) + 10 * 4 = 170 bits, with a worst case of 172 bits (when kings lose some castling rights), if I understand it correctly.

Huffman encoding for 21.5 bytes seems to win the day.

comment 3y ago · link · parent

There are specific types mentioned to denote rooks that the king is allowed to castle towards, and pawns that can be en passanted

comment 3y ago · link · parent

Your version 1 is similar to my top level comment. Note that 4 bits is enough to encode color, type, and include special types for en passantable pawn and castleable rook, so you keep a clean 24 bytes. (Compressing the two special types into one special option, decodable based on position, can get just under 23 bytes.)

For version 2, note that 12 promotions can happen, since one capture (white's B pawn taking black's A pawn) can open up the promotion path for 3 pawns (white's B pawn, white's A pawn, and black's B pawn). Two bits per pawn and 5 bits per other piece start at 14 bytes, but can go as high as 17.5 bytes. (Promoting 12 pawns with 0 other captures would be pretty ridiculous as a game, but technically possible...)

comment 3y ago · link · parent

I like the bitboard inversion idea. (Requires flipping logic as well from https://news.ycombinator.com/item?id=37526484, since 32 is a special case.) Note that the en-passantable pawns and castle-able rooks came from options that were unused in my first pass (linked comment). I could use 0x1 as "castleable rook or en-passantable pawn, determined from where it is" and then store 32 integers with 13 options in 119 bits[1], saving 9 bits. But I'm kinda attached to the simplicity here.

(The 16->32 was edited as you wrote this comment.)

[1] log(13^32)/log(2) = 118.4

comment 3y ago · link · parent

... right. I thought 16 felt a little small. Thanks for the catch, updated

comment 3y ago · link · parent

Convention - use the same bit-to-number scheme in the blog post. Bit 0 is a1, bit 7 is h1, bit 8 is a2, bit 56 is a8, bit 63 is h8.

comment 3y ago · link · parent

I played with this in the past (https://news.ycombinator.com/item?id=34461113#34462521), but am willing to take another stab at it.

Store one 64 bit bitboard - a set bit means that a piece is present at that place. An unset bit means that no piece is after that position. After the bitboard, store a list of 32 4 bit integers, where the order of the pieces in the list corresponds to the order of the bits set. If there are less than 16 bits set in the bitboard, ignore the last items in the list.

  0000 - 0x0 - black pawn 
  0001 - 0x1 - black pawn (can be en-passant'd)
  0010 - 0x2 - black knight
  0011 - 0x3 - black bishop
  0100 - 0x4 - black rook (castling unavailable)
  0101 - 0x5 - black rook (castling available)
  0110 - 0x6 - black king
  0111 - 0x7 - black queen
  1000 - 0x8 - white pawn 
  1001 - 0x9 - white pawn (can be en-passant'd)
  1010 - 0xA - white knight
  1011 - 0xB - white bishop
  1100 - 0xC - white rook (castling unavailable)
  1101 - 0xD - white rook (castling available)
  1110 - 0xE - white king
  1111 - 0xF - white queen
I think that covers all possibilities to store a chess position in 64 + 32 * 4 = 192 bits, or 24 bytes exactly.

The starting position would be represented with a bitboard of 0xFFFF00000000FFFF, with a list of [0xD, 0xA, 0xB, 0xF, 0xE, 0xB, 0xA, 0xD, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5, 0x2, 0x3, 0x7, 0x6, 0x3, 0x2, 0x5], using the same position-to-number scheme in the blog post

Edit: 32 pieces, not 16. Thanks to the peanut gallery for catching it quickly

Edit2: To store which player is next: do nothing for white. For black, if there are 32 pieces, flip the bitboard upside down. (To check if it's black's turn, verify that black pawns are "below" white pawns, which is illegal before captures are made.) If there are less than 32 pieces and it's black's turn, invert the bitboard. (To check, count the number of set bits.) This is entirely taken from https://news.ycombinator.com/item?id=37526484

comment 3y ago · link · parent

> The energy density rating of the average supercapacitor is between 2,500 Wh per kg and 45,000 Wh per kg.

That's from your source, and those numbers are entirely made up. The Wikipedia article for supercapacitors lists a more normal 1.5 Wh/kg to 260 Wh/kg (with only one research nanomaterial going above 15 Wh/kg). No commercial supercapacitor has a higher energy density than a standard lithium ion battery.

Edit: The absurdly fast charging speeds would make for some fun pit stops, though

comment 3y ago · link · parent

These turbines are meant to be used in a fleet, along a river. They take about 16 feet across per pair, so call it 20 across the normal flow of the river. They also do not block the flow, so more can be installed a little downstream, depending on the pitch of the riverbed. Assuming 5 groups per mile, 10 miles of flow of the Klamath River will give you the capacity to install 1000 of these, for a total capacity of 10 MW to 40 MW.

Saying that these are too small is like saying that solar panels are too small. The module size has nothing to do with the total generation - they're built to be manufactured and placed in bulk.

Source: I listened to the referenced podcast episode when I came out, and just looked at the spec sheet to refresh my memory.

comment 3y ago · link · parent

> But the UCLA investigators developed a technique that prevents that corrosion and showed that, in its absence, lithium atoms assemble into a surprising shape—the rhombic dodecahedron, a 12-sided figure similar to the dice used in role-playing games like Dungeons and Dragons.

I've never seen a rhombic dodecahedron d12 before. They do exist after a quick search, but the much more common d12 is just a dodecahedron, with pentagonal faces.

comment 3y ago · link · parent

Superconductors aren't always superconducting. There is a set of circumstances in which superconduction happens. If the current is below this limit, voltage is 0. If current is above this limit, then voltage is more accurately predicted from bulk resistivity numbers. This image is on it's side from a normal I-V curve, but accurately describes the relationship: https://i.stack.imgur.com/5Irds.jpg. At Ic the material stops superconducting.

Note that there are temperature and magnetic field effects on the value of Ic, which in every other currently-known material is 0 at 300 K.

comment 3y ago · link · parent

Note that this joke is made, but better, in TFA. With an accompanying (non-original) graphic.
1
567
18