HackerTrans
TopNewTrendsCommentsPastAskShowJobs

unpythonic

no profile record

Submissions

97% Off? Values of Old Office Towers Go to Near-Zero, but the Land Has Value

wolfstreet.com
3 points·by unpythonic·2 years ago·3 comments

White House Urges Developers to Avoid C and C++

tomshardware.com
4 points·by unpythonic·2 years ago·0 comments

comments

unpythonic
·2 years ago·discuss
The other article fails to mention the building vs land+building valuation. I posted it over there, but thought this was a better article on its own.
unpythonic
·2 years ago·discuss
Here's a better article covering this situation: https://wolfstreet.com/2024/08/01/values-of-old-office-tower...

Unsurprising that a building's value goes down over time while the land on which it resides appreciates. The 97% discount is a comparison of the building price versus the building + land price, so the 97% isn't very relevant.
unpythonic
·3 years ago·discuss
Sadly, it's not always that simple. If one of your well-pinned packages has a build dependency which is not correctly pinned, then you're subject to the problem.
unpythonic
·3 years ago·discuss
Oh yeah! Perl sure did have a bunch of ugly programs, but I believe that was because it was so easy for non-experts to program in it. There have been many companies successfully built atop of a Perl code base, and I've seen fantastic systems built with it. I've also seen one-off programs handed from manager to manager which would scare you to death.
unpythonic
·3 years ago·discuss
Horror is apt.

You hit it on the head with the slowness of loops when the body comprises a series of program invocations. The horror really seeps in when you realize the original author wasn't stopped by the lack of data structures: they could get around that with some creative variable names.
unpythonic
·3 years ago·discuss
The effortless composition of complex commands out of simple standalone programs is one of the best features of Unix. And yes, I admire and love it as well.

That said, imagine a metrics system for a huge networking company that used these methods to cover all automated testing or defect analysis. Those inner loops were made of greps and seds and so forth, and each one is the invocation of a new program. It wasn't uncommon for these runs to take almost a day.

Besides performance, the other nightmare was was someone described below: each script was a one-off that didn't leverage the work from others. If the author only new C shell, then you know you're going to be doing gymnastics to catch the stderr of some of those programs (you can't capture it in the same manner that Bourne variants do).

Anyway, yes, we all adore the Unix philosophy, but there are limits.
unpythonic
·3 years ago·discuss
When perl came out we were living in horrific times. You had the choice of either Bourne, C or Korn shell. Automation was glued together in one of these with a series of grep, awk, sed, ls, test, commands glued together. Anything more complicated was written in C and called from one of these things.

Perl in one stroke collapsed the programming of C, text manipulation, the capabilities of all of the Unix utilities, and data structures into one system. For anything which wasn't subsumed into the monolith of Perl, you could easy access via backticks. It was very friendly in dealing with text streams, and that's what those call-outs in those back ticks spoke.

Yes, awk and sed were replaced by Perl, but more importantly, the unmaintainable nightmare that glued all of it together was wiped out.
unpythonic
·3 years ago·discuss
I was an innkeeper, in this crazy, little town in Vermont...

https://youtu.be/OwYw2i2icNg?t=430