1,405 karma · joined Oct 28, 2016 (10y ago) · 474 submissions
comment 3y ago · link · parent
But I must confess,
> Systemd also restarts the app daily to make sure it works properly long term
leaves me with a viscerally negative feeling. I feel like daemons should be able to run for years unless there is some kind of leak. Maybe I am wrong.
comment 3y ago · link · parent
Also the "2019" section made me lol:
> I started working for wolfSSL, doing curl full-time. It just took 21 years to make curl my job.
Finally: thank you to Daniel Stenberg, Rafael Sagula, and the many, many contributors for making this tool.
comment 3y ago · link · parent
> (That's life)
> And as funny as it may seem
> Some people get their kicks
> Stomping on a dream
> But I don't let it, let it get me down
> Cause this fine old world, it keeps spinnin' around
- That’s Life
By Dean Kay and Kelly Gordon. Most famously recorded by Frank Sinatra.
comment 3y ago · link · parent
I don't know much about Lua or mruby but I understand they may fill such needs too.
Also fun to note that John Backus was at IBM. I have some vague memories of BNF. I imagine that AT&T Bell Labs and IBM and Xerox were amazing places to work at one time. I do hope that things are generally trending for the better, in that ideas can be exchanged digitally, and that things are de facto more inclusive today, but I bet it would have been a heady thing to have a lounge filled with people like at those offices and then go back to your own office and noodle away on ideas that had been discussed.
comment 3y ago · link · parent
> Rexx (Restructured Extended Executor) is a programming language that can be interpreted or compiled. It was developed at IBM by Mike Cowlishaw.[2][3] It is a structured, high-level programming language designed for ease of learning and reading. Proprietary and open source Rexx interpreters exist for a wide range of computing platforms; compilers exist for IBM mainframe computers.[4]
>
> Rexx is a full language that can be used as a scripting, macro language, and application development language. It is often used for processing data and text and generating reports; these similarities with Perl mean that Rexx works well in Common Gateway Interface (CGI) programming and it is indeed used for this purpose. Rexx is the primary scripting language in some operating systems, e.g. OS/2, MVS, VM, AmigaOS, and is also used as an internal macro language in some other software, such as SPF/PC, KEDIT, THE and the ZOC terminal emulator. Additionally, the Rexx language can be used for scripting and macros in any program that uses Windows Scripting Host ActiveX scripting engines languages (e.g. VBScript and JScript) if one of the Rexx engines is installed.
The page goes on to discuss ARexx (the Amiga port) and Compound variables, which can be used as arrays (both of these things have been mentioned here by other commenters).
comment 3y ago · link · parent
Something I've been wondering about lately is how much language developers get to code in their actual language. Perhaps if things get really really far along, the language interpreter/compiler/runtime/whatever becomes self-hosting. But I suspect many languages never actually get that far. I was just thinking about the fact that maybe most language developers today still code in C (I have no idea if this is actually true). Perhaps in the future they will code in Rust or Go.
He does briefly speak to part of this point:
> I don't think I'd change anything in them except to emphasise more that a programming language is a Human-Computer-Interface and the language designer should design for the users of the language, not just for himself or herself.
--
I personally have never used Rexx. But I remember many years ago I made an attempt to sign up for an OS/2 Warp beta and being shocked when I actually got picked. I recall installing it and the OS contained what was the first instance I had seen of some sort of voice control for computers. Even at the time my IBM PS/2 (a 386sx running at 20MHz) was at the low end of the requirements for OS/2 Warp and the system didn't perform very well at all. But I have a memory of speaking something like "Computer: Go to sleep!" and my brother laughing at me and repeating it from time-to-time after that, long after I'd uninstalled OS/2 and went back to Windows 3.11 or DOS or whatever I was running in those days.
comment 3y ago · link · parent
I had a few notes:
1. It is really nice to have such thorough documentation. Even if a programmer doesn’t always have or make the time to read it.
2. I _think_ I remember reading an interview with Peter Norvig in Coders at Work where he talks about programmers never having the time to fully grok their API docs (it may well have been a more general statement about rushing to get stuff done).
Some time ago I personally learned a virtualization discovery API whereby one could make some calls and learn, through some sort of traversal, how a topology of VMs was laid out. My title at the time was Intermediate Software Developer. I remember I was pretty happy with my solution and shared during standup that it was working well but was kind of slow, and that there was another, more complicated and finicky type of traversal mentioned in the docs, and that my reading of the docs was that learning and coding this other method was necessary or helpful is some use cases but that for our situation it would not make a difference and would just add complexity. Well within a couple of weeks another team member - Junior Software Developer - read the same docs and tried out the more finicky version and wouldn’t you know, the discovery process suddenly became blazing fast.
comment 3y ago · link · parent
I would say that for the most part I am a printf-style debugger. I remember reading some years ago (on HN, I believe) about time travel debugging in - I believe - C# and I was really impressed but I don’t code in C# so it soon left my mind.
I have a deep appreciation for mastering one’s toolset. I can’t think of the number of times that I learned something new about a tool (language, editor, shell, browser, whatever) that I use daily that changes my workflow - it has happened so many times. And as with all things code, sometimes new features are added.
I am going to try to make a point to re-read this article later and to visit each link and glean what I can.
I mostly code in Go. I wonder, does anybody know how much of this stuff might be supported there?
comment 3y ago · link · parent
> Plankalkül (German pronunciation: [ˈplaːnkalkyːl]) is a programming language designed for engineering purposes by Konrad Zuse between 1942 and 1945. It was the first high-level programming language to be designed for a computer.
Apparently it influenced ALGOL 58 as well. Implementations were made:
> Plankalkül was more comprehensively published [vague] in 1972. The first compiler was implemented by Joachim Hohmann in his 1975 dissertation. Other independent implementations followed in 1998 and 2000 at the Free University of Berlin.
Here is something about primitive data types:
> The only primitive data type in the Plankalkül is a single bit or boolean (German: Ja-Nein-Werte – yes-no value in Zuses terminology). It is denoted by the identifier S 0 {\displaystyle S0} {\displaystyle S0}. All the further data types are composite, and build up from primitive by means of "arrays" and "records".
Cool.
Also this reminded me - nothing happens in a vacuum:
> In 1945, Zuse described Plankalkül in an unpublished book. The collapse of Nazi Germany, however, prevented him from submitting his manuscript.
I don’t know what the significance of that statement is and I won’t baselessly speculate, but it sure makes me curious. It also reminds me of some messages I remember seeing from Russian founders in the recent past.
comment 3y ago · link · parent
But I’m thinking of:
1. How badly secured many real-world APIs are and how many API keys are out there to be scraped
2. Some APIs offer truly destructive or otherwise irreversible actions.
Suppose for one second there was a poorly secured API to control medication dosages. Or to deliver a lethal injection to a death row prison inmate. Or to detonate a building scheduled for demolition. Or, …
comment 3y ago · link · parent
comment 3y ago · link · parent
1. I found some "active" shit I legitimately enjoyed doing: playing music, writing, walking, iyengar yoga
2. I walk a lot
3. I do yoga intensely once a week
4. I keep a journal
5. I learned how to manage my emotions from a powerful book called "The Anger Management Workbook for Men" by Aaron Karmin, and embracing it changed my life and enriched it in ways I absolutely never could have predicted
6. I have found a couple of communities that I am a part of
None of this stuff happened overnight, but the shift into the right direction started occurring a lot more quickly than I expected, and the not feeling like complete shit all the time, the extremely poor and sometimes very destructive coping mechanisms, they are a work in progress, but I am so much closer to my ideals than I could have expected in such a short time.
If I had to pick one to recommend, it would easily be the Karmin book. Best investment I've ever made.
comment 3y ago · link · parent
I believe I still identify strongly with the article and I believe that it is easy for consumers like me to forget that my purchasing actions have many consequences like children and people getting sick because of the plastic waste burning as a result of a recycling program that is largely bs.
But that doesn’t mean I am right, and I feel that it is quite important for me to realize that my sources of information are largely imperfect, often with huge biases present in them.
comment 3y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
edit: yeah, i looked it up, and i was right. i get the general feeling of a personal attack from the author's text in that paragraph, which irks me. i believe it is quite possible to argue against implementation or functionality without resorting to that sort of thing. its especially funny because the person clearly has no real idea of the situation and makes that clear. no need for that. i do agree with the content of the thoughts otherwise.
comment 4y ago · link · parent
> Snaps update automatically, and by default, the snapd daemon checks for updates 4 times a day. Each update check is called a refresh.
i don't know when that line made it into the docs. i could be wrong but i actually thought that being evergreen was one of the selling points of snaps, and was advertised early on.
an edit: sorry upvoters - i went ahead and read the article now. i actually believe now that the article author has a point. to summarize: while it will display a notification to the user about two weeks ahead of time, announcing that an update is scheduled and that the user should close the app to avoid disruptions (the author has some valid complaints about this notification, i think), at the end of the period, the app will be killed - potentially causing unsaved data to be lost - and updated. i believe in many cases this behavior is undesirable. it probably should be discussed and a better alternative proposed.
i do take issue with the author's vehemence against (and manner of expressing such for) the notification, but i suspect i would be quite angry too if i were either an application maintainer fielding complaints about something that i didn't break, or a user who was angry to have lost some data.
comment 4y ago · link · parent
sometimes saying no is the right thing to do.
as an aside, i find it a little distasteful that the author of this blog post chose to call projects out by name. these people are putting their efforts out for free and they are, to my eyes, taking flak for doing so.
comment 4y ago · link · parent
thanks for the information. i am a high level programmer by trade these days, but given enough free time, i think that it would be fun to learn about the internals of the linux kernel in some depth. frankly, it intimidates me a bit (perhaps it should, im not sure).