Better HN
topnewbestaskshowjobs
Log inSign up

avg_dev

1,405 karma · joined Oct 28, 2016 (10y ago) · 474 submissions

Submissions

comment 3y ago · link · parent

I feel like I agree with the general ethos of the project. And I am also a fan of pragmatism; I think Fred Brooks referred to our trade as “toolsmiths” and I feel it is an apt word. Our work product exists solely to fill a need or to enable things that were not previously possible. I feel like I work hard not to be an idealist or to view well-written code as an end to itself.

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

Indeed. I really enjoyed the article, and I am grateful for the tool as well. My favorite section was "Staying relevant" which explains (IMO) how it is possible for this project to have not only kept such staying power but exploded in use.

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

> I said that's life

> (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

That's really interesting. I personally feel like JS as it was originally created is some sort of travesty (my apologies to those involved - I myself have written a tremendous amount of bad code under time pressure - and not under time pressure ;) ), but it definitely does allow for a lot of functional programming paradigms which is kind of nice.

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

The Wikipedia article on Rexx seems to be pretty informative: https://en.wikipedia.org/wiki/Rexx

> 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

It is indeed very brief.

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 enjoyed the article. Long time since I programmed in Java. I recall being recommended a book called Java Concurrency in Practice and it languishing on my shelf.

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

Thanks very much for posting this article. I found it very intriguing. I read it carefully but I didn’t visit all the links or watch all of the in-line videos.

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

Wow, this is fascinating.

> 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

One thing I don’t see people discussing here is that API calls often have consequences. Like, if you make a call in your trial-and-error process that inserts a row in some database, and that’s about it, it’s not a really big deal.

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

I’ve enjoyed several of his reddit posts about his latest works. They are very entertaining.

comment 3y ago · link · parent

Wow this is quite a takedown. For many years I was feeling like I let myself down by not reading the book Clean Code. I now feel like, by accident, I did exactly the right thing. That sample code he quoted is near unreadable to me. I also did enjoy A Philosophy of Software Design; the main thing I took away from it was to avoid unneeded complexity because you want to be able to “spend” your complexity budget for doing actual work.

comment 3y ago · link · parent

At a job I had, we had a big CTF event where people broke into groups and attempted to capture flags in the Juice Shop. I thought it was a lot of fun.

comment 3y ago · link · parent

I would say I have good mental health. That was not always the case. A number of things have turned the tide for me.

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

sometimes, not even the intentions are good

comment 3y ago · link · parent

Thank you both for this note. It helps me remember to practice skepticism in all things.

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

But, but, all three people who look at my favorites will misunderstand me!

comment 3y ago · link · parent

Thanks - I do!

comment 3y ago · link · parent

This is a total tangent but I wonder if there is something like a bookmark on HN. I would like to save this link so I can read it later. I could upvote it which seems wrong as it has a social component but then I could see it in my upvotes later. I could favorite it but then it would appear to someone else looking at my favorites that I really loved the article when I haven’t even read it yet. I will take that option so I can see it later because it seems like the lesser of two evils. But I would love to see a reading list or something. (I am the kind of guy who was 500 browser tabs open at a time lol)

comment 3y ago · link · parent

thanks for saying this. i believe it to be an important comment and it has helped me.

comment 4y ago · link · parent

I really liked his other book The Design of Design as well. They go well together.

comment 4y ago · link · parent

https://news.ycombinator.com/item?id=33854332 applies here too

comment 4y ago · link · parent

oh i completely agree. i dont take issue with the content but the wording. i believe the poster said explicitly the developer was likely quite young. it bugged me. im old now, if anything i probably face the reverse kind of ageism. but i think that comment was ageist

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

what do you use now?

comment 4y ago · link · parent

no need to apologize. evergreen in this case means "perpetually self-updating".

i celebrate sharing this knowledge with you today :)

https://xkcd.com/1053/

comment 4y ago · link · parent

hmm... https://snapcraft.io/docs/keeping-snaps-up-to-date

> 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

thanks. i might try this

comment 4y ago · link · parent

i believe that software design is really hard. it seems appropriate to mention "conceptual integrity" which is a term i believe was coined by the (recently) late great fred brooks. his book "the design of design" talks about it a lot and i really found the discussion helpful. here is a very brief summary from his earlier book: https://en.wikipedia.org/wiki/The_Mythical_Man-Month#Concept...

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

very cool. i recall in one of my classes at unversity (i did a compsci degree) we used nachos (https://en.wikipedia.org/wiki/Not_Another_Completely_Heurist...) and i have vague memories of implementing some kind of virtual memory system with a page table. i also did a microkernel message-passing rtos for the i386 in another class but if i recall correctly, that particular os didn't have to support dynamic allocation (or maybe i have forgotten - it was a long time ago). i am not sure how useful such a limited system would be in practice.

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).

1
789
16