HNHacker News
TopNewBestAskShowJobs

apaprocki

6,468 karma · joined May 31, 2011

Andrew Paprocki Infrastructure R&D - Bloomberg LP andrew@ishiboo.com

[ my public key: https://keybase.io/ap; my proof: https://keybase.io/ap/sigs/SYtj6sAMdb8hiO4D3m5al83Ak1RBvSEHZzN_9vDftg8 ]

submissionscomments
apaprocki··on GlobalFoundries to Acquire MIPS
Both register windows and the delay slot exist on SPARC processors, which you’re much more likely to run into in a data center (running open-source software).

Itanium was the really odd one — it not only used register windows but could offload some of the prior windows onto the heap. Most people would probably never notice… unless you’re trying to get a conservative scanning GC working and are stumped why values in some registers seem to not be traced…

apaprocki··on Jane Street's sneaky retention tactic
Yes, and our database, ComDb2, was open-sourced. It still powers the company today. And yes, we use TCP/IP :) And yes, we still have one of the largest private networks in the world.

https://github.com/bloomberg/comdb2

apaprocki··on Jemalloc Postmortem
Ah, porting to HP Superdome servers. It’s like being handed a brochure describing the intricate details of the iceberg the ship you just boarded is about to hit in a few days.

A fellow traveler, ahoy!

apaprocki··on Did missing/corrupt dates in COBOL default to 1875-05-20?
The Windows epoch is January 1st, 1601. The rationale is:

"The Gregorian calendar operates on a 400-year cycle, and 1601 is the first year of the cycle that was active at the time Windows NT was being designed. In other words, it was chosen to make the math come out nicely."

apaprocki··on Servo's progress in 2024
The Bloomberg Terminal is rendered using Chromium and has been for many years. You don’t need to wait for new browser engines to use the existing ones, but you do need resources to contribute, maintain, bugfix, etc. because there is no such thing as a free lunch.
apaprocki··on UK will give sovereignty of Chagos Islands to Mauritius
> In England during the sixteenth century it was common practice to make leases for a term of three lives or a period of 99 years. It is presumed to be upon the theory that the lease should last thru three generations as it has been common practice to accept thirty-three years as the span of a single generation.

https://archive.org/details/longtermlandlea00mcmigoog/page/n...

apaprocki··on Baltimore's Key Bridge struck by cargo ship, collapses
<checks terminal> "current draft is 12.2m with 116851 t DWT" and last reported speed was 6.7kt.

Good estimation! :)

apaprocki··on Scythians Between Russia and Ukraine
We're in broad agreement. The only unknown is that of timing. Russia will not win. The collective "West" is helping very deeply, and part of the problem has been getting everyone closer to the conflict to realize there are no options other than force. That has taken much longer than it should have. (e.g., France's recent change in tone.) It is not such a doom-and-gloom picture -- Poland is leading the charge in terms of ramping up modern military capacity. Every participant nation is chipping in heavily to get the job done. More expensive air defense systems will give way to cheaper alternatives (F-16s, air drones, eventually lasers to neutralize "slow" drone and cruise missile threats), freeing them up to focus on ballistic threats. The front is going to be increasingly taken over by "unmanned" systems -- mine laying robots, loitering vehicles, automated fire vehicles/stations. Systematic destruction of A-50s is paving the way for fighters to operate with much less risk, taking out bomber threat and continuing to use HARMs to further reduce risk from S-300/400s and EW. Ukraine has been so effective in deep targeting of refineries, factories, airfields, at some point it will be time to turn attention to creative ways of stopping the air-launched threat from Olenya and others at the source. These things are won by logistics, and relying on continual delivered aid is a losing strategy. Everyone wants it to be over yesterday, but the only thing that will counter Russia's ability to whip a mobilization economy faster is collective sustainable local production done right. Russia was counting on the US, UK, etc. losing focus through election cycles, but the Eastern Bloc and Baltics will not lose focus. That was a big hurdle to overcome, and the leadership exhibited there helps ease fears that the outcome will solely be determined by what the US does or doesn't do. You couldn't have convinced me earlier Germany would be the ones dragging their feet and France would unambiguously flex muscle, but here we are.
apaprocki··on Scythians Between Russia and Ukraine
It's not about lies to the people -- I didn't say it was about their control on society through media. I agree with you that the people are not the ones that are going to overthrow the government. I'm merely observing that the compounding negative effect of this domestic "lie chain" is a damage multiplier.

It's myopically about one's lies to their superior. At each level, the situation is portrayed less seriously by some amount to make it less "bad" for the individual. That continues up the chain so that at each point, it doesn't make sense for some drastic overreaction to happen. By the time it reaches the top, it's very divorced from reality.

Case in point, given the events of last evening -- the Black Sea Fleet is practically getting erased with no real change in behavior because it is happening slowly. I'm sure the story as it makes its way up the ranks each time is that the damage was minor, it's being repaired, only a few casualties, etc.

Acknowledging how bad the situation is to your superiors is acknowledging how effective naval drones and modern missiles are and how bad your harbor protection and air defense is. Again, they only care about money, not their people. Even in light of clear videos showing air defense being powerless to stop these attacks, they'll deny, deny, deny because they still have paying customers for their technology. Ukraine is taking out their refinery capacity and making those paying weapons customers think twice and change long-term behavior. (See yesterday's story about how India isn't going to get its planned S-400 delivery.)

apaprocki··on Scythians Between Russia and Ukraine
> or entered with the purpose of making a definitive end of it at the original border.

There is a current argument that the tactic is absolutely necessary because the Russian structure absolutely relies on every level from the bottom to the top to be able to reasonably lie about how things are going. If you do nothing, they obviously win; if you do too much, you actually can lose because it is no longer possible for the lies to work properly to prevent more drastic moves. If you do what seems to be happening right now, the lies keep the machine turning at its current pace and they will drive themselves right off the cliff in no time. It was done economically to the USSR and the same thing appears to be happening right now more directly, militarily. It will seem to be this unstoppable force until the last moment, when it all just spectacularly falls apart in one way or another.

apaprocki··on Scythians Between Russia and Ukraine
I read that to mean generally supporting self-determination and helping give a voice to the "underdog", when oppressed. If a movement is not oppressed, it's generally harder to justify why their desires can not be expressed in a voting booth. Just by stating unsupported "alternative facts", bad actors know there will be a non-zero amount of people, regardless of political ideology, that will pick up and side with their narrative for a variety of reasons. Like most of the nonsense spewed on social media, it's quite literally free for them to throw out a few nonsense sentences in a variety of ways. Anything that "sticks" only helps, so... why not? That is how we arrived where we are today. There is no feedback mechanism or downside to stating falsehoods online. We incorrectly try to apply reputation feedback mechanisms to actors that absolutely do not care about reputation in the eyes of average citizens. They do care about legacy and history books, which conveniently they control in their top-down managed society.

https://www.usip.org/sites/default/files/pwks16.pdf

https://www.amnesty.org/en/latest/news/2023/09/ukraine-russi...

apaprocki··on Does this 8088 code in the Leisure Suit Larry 2 game do anything?
It feels wrong and an anti-pattern to copy-paste a 98% subjectively correct answer as your own, just to sprinkle the 2% (again, subjectively) that it was missing to be the Answer.

Why can’t we highlight specific content and create a discussion thread hinged off the highlighted part?

Creating a properly written, end-to-end answer for a complex question is an heroic task if all you wanted to point out was that there was a demonstrably better way to do Item 15(a)(5)(iii) and the author missed it.

It’s funny that we, collectively as programmers, use git all day long to solve this problem for modifying discrete blocks of programming language text with discussion and more, but can’t seem to ever apply the same tools and fascination to written English.

Even more interesting now that we use the best answers to train models. You’d think there would be more discipline involved in making the best answer even bestier. (Like, say, Wikipedia)

apaprocki··on Did the entire media industry misquote a Hamas spokesperson?
So a logical question would be: Did the Al Jazeera English account simply use a translation tool and publish without a native speaker listening/reading? If two professional translators said it couldn’t be interpreted that way, they either used a tool when most readers would believe they understand the language natively, or they intentionally misled. For a news outlet, you’d think owning up to the former would be preferable to readers believing the latter.
apaprocki··on Anything longer ago than yesterday should just say the actual date
Maybe I’m in the minority, but if you’re ever not going to display the actual date, put the exact date/time in a nice, readable tooltip, or otherwise surface a way to see/copy it on right-click. I feel like some of this could be highly customized user agent settings. Always send the most precise data to the renderer and let it render how the user wants to consume it. By default, that could be how you want them to see it, but don’t get in the way.
apaprocki··on Artificial intelligence gave a paralyzed woman her voice back
Interesting thought experiment… does the right to remain silent prevent a USB device from being placed on your head?
apaprocki··on Fifty years ago, a fire ripped through the National Personnel Records Center
Highly recommend apps like TurboScan. They automatically rectify the image and save in high contrast black & white (unless you want grey scale or color). Syncs with iCloud, etc. I used to use a dual-sided scanner for everything but have since just switched to this workflow and it’s great.
apaprocki··on Shortage of COBOL developers in insurance and banks
It also appears in ways that you don’t expect. PeopleSoft is COBOL and they have like 25k+ customers. As we write, Oracle is trying to sell more COBOL into the enterprise in 2023 :)
apaprocki··on New C features in GCC 13
You're correct -- Just 11.3. I've only ever used Solaris on SPARC hardware, so that colors my view.
apaprocki··on New C features in GCC 13
Since GCC 13 made the first page, it’s worth pointing out that 13 marks *-solaris2.11.3 obsolete and the backend will be removed entirely in 14. In order to get it in 13, you need to build GCC with --enable-obsolete. It’s always hard to judge who may still use or need this, but just throwing it out there.

edit: Sorry, didn't mean to say 11.4 was obsolete. If you know of 11.3 machines that still exist, upgrade them!

apaprocki··on Bank Failures Visualized
My credit union (it’s actually very worth it, so I’m not switching) has no branch within multiple states from me. A domestic wire requires phone calls and fax, can’t be done entirely online. It’s certainly more doable with a behemoth like Chase, but then you’re dealing with all the negatives of using Chase and employees that have no leeway to use common sense when solving problems.
apaprocki··on Bank Failures Visualized
If you’ve ever tried to practically use multiple banking institutions in the US, especially through the 80s-90s, you’d immediately relate to only using a single account regardless of what the statistical hazards are. It’s 2023 and my institution limits Zelle transfers to $2,500/mo. Want more, just as fast? Back to human wires and fax machines…
apaprocki··on 1990 Impact Electric Drag Race [video]
Yes, 300hp on paper. I owned a Z NA 2+2 that I converted to a TT, maybe ~600hp. The RX7, 300ZX, Supra generation were all fun and great competition, but that was probably also the order in terms of reliability. The rotary engine is super tunable, but very finicky. The Z was a V6, and much less stable than the Supra’s in-line 6. That’s usually why all the monster builds were Supras. You could get a Z there with a lot of cash and free time, but it would require a fairly decent amount of upkeep and tuning to make sure you didn’t blow up your engine every time you tried to race. Supras might appear just as unstable, but those were usually 1000+hp builds having issues versus 600-700hp Z builds. A 600hp Supra would probably be more resilient due to the engine.
apaprocki··on Bing: “I will not harm you unless you harm me first”
Brings me back to the early 90s, when my kid self would hex-edit Dr. Sbaitso's binary so it would reply with witty or insulting things because I wanted the computer to argue with my 6yo sister.
apaprocki··on Why would a 21st century warplane shoot a balloon with a missile?
Per what I read, the F-22 was operating at 58,000 ft and shot the balloon that was at the time at 65,000 ft. A missile was used because it had to elevate ~7,000 ft to hit the target. The balloon fell in 47 ft of water, 6 mi from the coast.

edit source: https://www.defense.gov/News/News-Stories/Article/Article/32...

apaprocki··on AI-powered lawyer will be first of its kind to represent defendant in court
> imagine an indefatigable, perpetually nice adversary out to screw you over.

That's already the case on a lot of calls. In particular, the systems that are configured to not hand you over to a human no matter what unless the system itself detects there is an error in its handling of the situation. I've just defaulted for some time now to saying the word "gibberish" when prompted, and usually that gets you connected directly to a human after no more than 3 times saying it because the system believes that it can't understand you. You can not ask the system to please do that for you no matter how you phrase the question because it was designed specifically to stop you from reaching a human.

apaprocki··on Apple considering dropping requirement for iPhone web browsers to use WebKit
Battery life, keychain, PIN numbers from iMessage, integration between desktop/mobile, it's not supported by ads/Google...
apaprocki··on Apple considering dropping requirement for iPhone web browsers to use WebKit
Yes. I have used every way to consume the web since text-only was preferred in early lynx days and finding gopher resources was the norm. NSCA Mosaic, Netscape Navigator, all IE versions, Firefox, Chrome when it first appeared. I want nothing more to only use Safari / OS WebKit on all my devices. If this winds up going through, I will actively delete all applications that switch off WebKit. To each their own...
apaprocki··on Apple considering dropping requirement for iPhone web browsers to use WebKit
I've found when talking to Apple-ecosystem users that they aren't even aware of how well Apple Music works. I'm aware there's certain integrations that might not be possible, or a random family member being on Android that would preclude its use, but it really does work great if you don't have any reason to stray from the ecosystem. Lots of people I talk to started using Spotify years ago and just never reevaluated. Similarly, people that only use iPhones and Macs and still use Dropbox. I'm sure someone has curated a list somewhere...
apaprocki··on Fputc semantics for conforming C implementations
Except we’ve had stdint.h since C99 (23 years now), so we’ve had a byte type for a long time now. Are you saying C99 historically took too long, or that you don’t get what you need from C99?
apaprocki··on VHS-Decode – Software defined VHS decoder
Well, there used to be. The early QIC drives that hooked up to a FDC connector like the 3.5" were pretty ubiquitous in the prosumer world. They eventually transitioned to better tapes/standards, but all worked well and even Windows eventually had native support (via Microsoft Backup). I restored my files off of these tapes 25 years after recording them, so I'm grateful they existed at the right moment in time when drives and floppies would have otherwise failed me. I naively assumed in modern times LTO must be dirt cheap due to decades of competition, but it never came to be.
← PreviousPage 3 of 34Next →