2,665 karma · joined May 16, 2021 (5y ago) · 800 submissions
comment 6d ago · link · parent
I agree with the other posts saying that the home-row first levels in this game feel wrong, no actual typing works like that, give me words.
comment 2w ago · link · parent
That happened in game 6, when the computer sacrificed a knight for a pawn to wreck Black's defense, which Kasparov thought the computer wouldn't do because it wouldn't look deep enough past the material loss, but the computer knew to do it because IBM had added it to the opening book. This controversy was separate from another in game 2 where Kasparov also accused IBM of cheating, where Kasparov expected the computer to grab some material gain but it played more positionally instead and Kasparov thought the computer wouldn't find that line without human intervention.
https://en.wikipedia.org/wiki/Deep_Blue_versus_Garry_Kasparo... https://en.wikipedia.org/wiki/Deep_Blue_versus_Kasparov,_199...
comment 1mo ago · link · parent
The signature hack on the system is to reuse sprites mid-frame. That's the "racing the beam": after an object has been drawn, reposition the sprite to draw something else further down on the screen, before the scanline beam gets there.
Pac-Man didn't do that. Instead, it draws only one ghost sprite per frame, and flickers between the four of them every four frames. The flickering and racing-the-beam are opposites, not one causing the other.
Atari's programmers knew how to race the beam for reusing sprites. Air-Sea Battle did it years before Pac-Man. What's different about Pac-Man is that the objects aren't constrained in their movement. They can overlap on the same scanline which makes drawing multiples with a single sprite impossible. The right solution to this and what Ms. Pac did is smart sprite reuse - if they're on the same scanline, flicker temporarily, but then when they move to be separated vertically, race the beam to display both together. This didn't happen for Pac-Man because Atari rushed it to release in too short a timeframe to implement that, and also the code wouldn't have fit into a standard 4k cartridge and would have needed more expensive hardware with bankswitching logic chips. 2600 Pac-Man's terribleness was a business decision, not a technical limitation.
comment 1mo ago · link · parent
The key is to make sure you never leave a defensive opening - you have to watch out for two enemy pieces attacking a pawn that's defended only once. The computer/opponent will sacrifice the first piece to get the second to break through behind the pawn ranks, and it can often demolish all the pawns from there or checkmate your cramped king.
comment 3mo ago · link · parent
(Of course, both really come from a long lineage of naval vessels with the name.)
comment 4mo ago · link · parent
The fuzziness is in the physical properties needed to achieve that. 13 Jupiter masses is generally the threshold where deuterium fusion starts, but that can vary: a brown dwarf composed of only primordial H and He would need a bit more, while one with some heavier elements from previous generations of stars will be denser and need slightly less. Rotation speed also matters: a faster rotator will experience centrifugal force and thus have less interior pressure.
And there is fuzziness in what we can observe, so sometimes we're not sure if an object is a brown dwarf. We may not know its exact mass and composition, and we might not be able to tell if it's radiating energy from deuterium fusion, or just from gravitational compression, or (in a binary system) if it's just reflecting light from its companion star.
comment 4mo ago · link · parent
comment 4mo ago · link · parent
It's low resolution at only 256 x 80, stretched vertically to the screen size.
It's only 16 colors so only 4 bits/pixel.
That comes to 10kb per frame.
A variant of Huffman coding gets it to 3.52kb per frame.
It's at 15 fps and is 12.5 seconds in length.
15 x 12.5 x 3.52kb = 660kb, which fits in a 4mb cartridge.
There is dithering to give the appearance of more colors, and it's done in vertical stripes rather than checkerboards because that compresses better. Then at runtime, every other scanline is offset by 1 pixel, and in opposite directions every other frame, so the dithering blurs back together to give the appearance of many more colors.
comment 4mo ago · link · parent
comment 4mo ago · link · parent
https://www.youtube.com/watch?v=Svz-W5w2bPM
There's a 7-minute version, with two more verses that aren't in the version you always hear on the radio. The one starting at 3:45 in that video is particularly powerful and chilling.
comment 4mo ago · link · parent
20 cycles through the bag can be packed into exactly 56 lines and that pattern can be repeated forever. Such a solved game might not meet everyone's definition of best. Although for casual play it's great to have every piece coming regularly.
comment 4mo ago · link · parent
comment 4mo ago · link · parent
https://en.wikipedia.org/wiki/High_Luminosity_Large_Hadron_C...
That's the wiki article for the new one. Says "Increasing LHC luminosity involves reduction of the beam size at the collision point, and either the reduction of bunch length and spacing, or significant increase in bunch length and population."
The linked article says the new one will have "between 140 and 200 proton–proton collisions in every bunch crossing, compared to around 60 during the last LHC run." So the "10x luminosity" seems to be composed of ~3x more protons at a time along with presumably a ~3x tighter focused beam.
comment 5mo ago · link · parent
Not every console came with SMB. One very early package didn't have it, and one later package included SMB3 instead. So SMB was sold as a standalone for these cases, but very few units were needed or extant.
comment 5mo ago · link · parent
So yes, start at (R, 0), increment the y-coordinate each time and possibly decrement the x-coordinate, until x=y which will be at 45°. If the circle's center is an integer on the pixel grid, you can reflect/translate each pixel in that first octant to all eight as you go. If the center is fractionally positioned, you'd have to calculate it all the way around, iterating primarily on y or x depending on the location.
comment 6mo ago · link · parent
There are tax advantages that favor owning (in the US), for a primary resident and not an arbitrageur - mortgage interest and capital gains when you sell are not taxed, while capital gains in a non-retirement account are.
You can gain by appreciation and leverage, of course - but you can just as easily not, you don't know if your city is going to be the next high-flying Austin or Boulder, or run-down Detroit. My own house has been flat in estimated value for four years in an area that I thought would continue to rise.
comment 6mo ago · link · parent
Possible tweaks, maybe it has a cost (all lands have cycling 1 or 2 mana or life.) Or delay that draw until end of turn, which feels like about the right power level, but does have memory and execution issues.
comment 6mo ago · link · parent
It's like Super Mario Bros. With a 4-way d-pad and 2 action buttons, why is the more complex 4-way on the left? Because most of the time you're holding a direction first with less requirement for precise timing, and then pressing the button at the correct instant depending on the movement. (We're talking general platformer play, not hyper precise d-pad moves for something like Super Metroid speedrunning.)
Even typing on a keyboard, I never hold a right-side shift or other modifier key, it's always left-shift then the target key.