News for hackers. Stuff that matters.
Re:My 20 Year Career Is Technical Debt or Deprecated by kragen on Monday May 15, 2023 @11:55PM (#35957589)
a thing most of these have in common is that they're proprietary, so the users are dependent on the companies that own them for enhancements, bug fixes, and ports to new platforms. this is a recipe for wasting your time

visual basic, asp, coldfusion, foxpro, activex, flash, and silverlight, windows ce, asp.net, webforms? proprietary, proprietary, proprietary, proprietary, proprietary, proprietary, proprietary, and proprietary

and mostly pretty dead as a result

how about the non-proprietary things in the list? html, css, js, fortran, java, ruby, and rails are all just about as alive as they were 10 or 20 years ago, if not more so, except that rails didn't exist then

the exceptions are perl, objective-c, and the js frameworks. perl, ember, and backbone aren't going to disappear anytime soon but they will likely continue to stagnate. but unlike silverlight or windows ce, you can probably run your perl and backbone and angular and react and swift code 10 or 20 or 30 years from now on whatever platform people like then

unless the platform is centrally controlled by an owner who forbids it, so try to avoid platforms like that

(java applets were already dead 20 years ago, and soap sucked from the beginning, so these examples are out of place)

there is certain knowledge with a very limited half-life. but hopefully you aren't spending most of your time learning react apis or wasm instructions or editor keystrokes or chromium bugs, but rather general principles that transfer across domains. algorithms, reasoning, type theory, math, writing skills, hierarchical decomposition, scientific debugging, generative testing, heuristic search, that kind of thing. a lot of that stuff goes back before computing

and most code has an even shorter lifespan than the knowledge we use to build it. which is as it should be: most code is written to solve a problem that won't last decades or even years, but it's still profitable for companies to have it written. modifying a big system is harder than modifying a small one, so it's better to maintain just the code you need for today's problems. writing code and throwing it away is mostly fine

still, i've spent my career on free-software tools, and their half-life seems to be a lot longer, about 25 years. i reviewed some of the stuff i'm using right now in a comment on here 10 days ago, https://news.ycombinator.com/item?id=35829663

i know a guy whose preferred programming editor is ex. the non-full-screen version of vi

Re:My 20 Year Career Is Technical Debt or Deprecated by turtleyacht on Tuesday May 16, 2023 @12:51AM (#35957856)
> whose preferred programming editor is ex

It's intriguing, because that implies he can work on most things in a way that "fits inside one's head."

Do you know if he extensively calls out to external tools, custom aliases, and the like?

I imagine there is some fullscreen mode where he can--temporarily--suspend ex, make use of custom sourced mappings, and the output is piped back into his editing session.

It's hard to find certain tidbits, so I'm always glad for even the smallest details.

Thank-you.

Re:My 20 Year Career Is Technical Debt or Deprecated by johncowan on Friday May 19, 2023 @06:06PM (#36007346)
I'm the ex(1) troglodyte in question. I don't use custom aliases, because I have had all editing tasks hardwired into my brain for decades, ever since I dropped Teco for ed and then ex. (Ed is the standard editor, but I'm willing to trade off a little standardosity for added convenience.) If the te command had been widely available, I might have stayed with it and not used ex, but that day has passed.

I do pipe stuff through various commands more or less constantly. I most often pipeline through awk, sed, sort, uniq, cat -n, etc. I have a back-burner project to write a meta-editor that works by pipelining and maintains a whole persistent undo-redo history.

Re:My 20 Year Career Is Technical Debt or Deprecated by kragen on Saturday May 20, 2023 @12:18AM (#36009334)
i was wondering too! thanks!
Re:My 20 Year Career Is Technical Debt or Deprecated by revelio on Tuesday May 16, 2023 @03:31AM (#35958721)
Not very convincing. The world is full of abandoned open source projects and companies that maintain proprietary platforms near indefinitely. Angular 1 is dead, Python 2 is dead, Perl is dead, GTK 1-3 are dead, old KDE is dead, X11 is dying, but you can still buy supported versions of Delphi, COBOL and even VB6 is still somewhat maintained by MS [1]. ActiveX was killed by browsers (open source), the underlying proprietary APIs are very much not dead.

[1] https://learn.microsoft.com/en-us/previous-versions/visualst...

Re:My 20 Year Career Is Technical Debt or Deprecated by kragen on Tuesday May 16, 2023 @12:44PM (#35964398)
it's not at all difficult to run code written for angular 1, python 2, gtk 2, gtk 3, or x11; you don't even have to port them, you can just run them, and i do every day. it doesn't even require any effort

contrast that to applications written for silverlight, activex, or flash

with respect to gtk 1, you sort of have a point, but gtk 2 was released in 02002, and it's usually not hard to port gtk 1 apps to gtk 2 (and almost all of them have already been ported). and i'm not sure what you mean about 'old kde'

free software licenses provide strong legal protections to users to do whatever is necessary to maintain and extend the software they depend on and share that with others, and in practice they do, and the consequence is that the hype cycle is much slower and less destructive