9,539 karma · joined Feb 1, 2010 (16y ago) · 1,882 submissions
comment 3y ago · link · parent
Yes, going out into the desert without supplies to perform a vision quest is certainly more romantic than a stint in a mental hospital. But it's certainly not safer.
comment 3y ago · link · parent
It threw into perspective for me how psychosis must have been viewed in
those times, before medicalization: a potentially valuable journey of growth
and transformation, rather than just like, “well that sucks”.
It was viewed like that for a small proportion of people, who ended being crazy enough to be interesting, but not so crazy as to be dangerous. A much larger fraction were exiled and left to fend for themselves, resulting in their eventual death. It's important to not over-romanticize "ancient" or "traditional" societies. They were groups of people, trying to survive in a world just as harsh as ours (or even harsher, in many cases) with far fewer resources. They had to make difficult choices about who to give food, clothing and medicine to, because they did not live in some kind of utopia, they lived in nature, with all its harshness and brutality.Yes, if the shaman candidate went out on their vision quest, and returned cured, they were accoladed and held in high esteem. But for all the ones that ventured forth, how many never returned?
comment 3y ago · link · parent
Nobody cares what your code looks like. Nobody cares what your architecture
looks like.
… until it breaks. Nobody cared how the FAA NOTAM database was implemented either, until it went down. Part of being a professional engineer is thinking about these things, so your users won't have to.comment 3y ago · link · parent
I want to skip over the static typing benefits argument, because I think it
is well understood that static typing is a good thing and if we could bless
JavaScript with a built-in and robust typing system then I don't think many
people would be against that.
Well, yes. That's what Typescript is. If a built-in and robust typing system were added to Javascript, it would be the same thing as integrating Typescript into the ECMA spec. for Javascript.EDIT (some more thoughts):
For example, a new package you install can require a new TypesScript
version. Once installed, you then may need to update your source code. This
can place quite a high tax on the developer, where perhaps a 10 minute
change becomes hours long.
Yes, that's not very different than upgrading to a new version of e.g. Python or Ruby on the back end. The problem is that you're seeing Typescript as "just a framework", rather than a compiler/interpreter. If you view upgrading Typescript versions the same as e.g. upgrading Python or Ruby versions, and plan for it accordingly, then you'll at least have the correct expectations regarding the scope of work, even if the actual work to do isn't any less. Most libraries do not document their types, or have no examples using
TypeScript.
If a type system were integrated into Javascript itself, it would have to be optional, in order to maintain backwards compatibility with the vast untold billions of lines of Javascript that are out there. Thus, you'd have exactly the same problem. It's very difficult to add a typesystem to a language after the fact. Errors are long and don't provide enough detail. They will explain a type
mismatch referencing many types you may not have ever seen, and are not
documented anywhere. Except for simple errors, many of them are very hard to
follow to a remedy.
Poor error messages are an issue with any type system that allows generics. Typescript's error messages are, at least in my experience, better than C++'s error messages. I find this remarkable, given that C++ was designed as a typed language from the beginning, and Typescript has, as one of its design constraints, strict backwards compatibility with Javascript. I referred to TypeScript as a framework which it isn't. However it feels
similar to me in that you are at the whim of TypeScript developers and how
they decide to progress with the language.
That's true of any programming language, Javascript included. If you're writing Java, you're at the whim of Oracle. If you're writing C#, you're at the whim of Microsoft. If you're writing C++, you're at the whim of the C++ standards committee. If you're writing Python, you're at the whim of the Python Steering Council (and you used to be at the whim of Guido Van Rossum). Every programming language has some person or committee that's in charge of it, and if you're choosing to use that language, you're implicitly accepting the decisions made by that person or committee.comment 3y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
[1]: https://medium.com/chick-fil-atech/edge-computing-at-chick-f...
comment 3y ago · link · parent
It might be ironic, but I don't see any particular contradiction in saying that worse-is-better AI magnifies the advantages of worse-is-better programming languages.
comment 3y ago · link · parent
Doing "more" of the same, throwing more bodies at it, rewriting the world
because your UI or ORM needs a reboot, trying to attach checksums and
technical proxies for dependencies as a substitute for the basic fact that
you need to know what code you are running and why to be a responsible
software vendor; none of this will work.
You're assuming that the "bodies" being thrown are going to continue to be human. But what if they aren't? We've already seen what can be done with the very early, relatively primitive AI programming assitants that we have today. What happens when we're competing against an army of Java/Python/Go programmers, all of whom have extensive AI assistance?I love Lisp. All Lisps. Common Lisp. Scheme. Clojure. Even elisp. And, for a long time I thought Lisp was the future. I thought, like you, that the ever expanding size of codebases written in more conventional programming languages would necessitate a switch to something more functional and more amenable to building non-leaky layers of abstraction because that would be the only way to continue to build without introducing at least one bug for every new feature.
However, the advent of LLM powered coding assistants (like OpenAI's Codex, or Github's Copilot) has made me reassess my view. LLMs benefit from having more training data. Now, the thing that I thought would kill Java/Python/Go codebases, i.e. the sheer number of lines of code required to do even the simplest thing, turns out to be a strength. Because each line (and all its variants) now represents a datum point in the training set for the AI.
Can Lisp be enhanced with AI support. Sure it can, in theory. But in practice, there's far less Lisp code out there. Primarily this is because far fewer people use Lisp on a regular basis. But it's also because, for any given task, far less code is required to accomplish it. Just like Java's greatest weakness turned out to be a strength in a world where we have AI assistance, Lisp's greatest strength turns out to be a weakness.
I'm going to continue to use Lisp wherever I can. If not at work, then in my projects at home. But I'm far less sanguine today about the eventual dominance of Lisp (and Lisp-like languages) than I have been at any time in the past.
comment 3y ago · link · parent
comment 3y ago · link · parent
but the ability to have more than 4-5 buttons is a huge benefit
It is? For whom? A few years ago, I upgraded from a 2007 Hyundai Elantra to a 2019 Subaru Legacy. The new car is better in many ways (most notably, having all wheel drive) but the HVAC situation is an absolute regression. In the old Elantra, I have physical knobs. No, not physical buttons that send digital inputs, actual physical mechanical knobs connected directly to the HVAC mechanisms. I miss those knobs every time I have to take my eyes off the road and enter some kind of complicated input to get outside air blowing. In the old car, it was a matter of turning on the fan and making sure the toggle was set to outside air, rather than internal recirculation. In the new car, you have to turn the system on with the on/off button, set the temperature to "low" by twisting the temperature control until the temperature display reads "LO", adjust the fan speed with a +/- button, and then finally get the air blowing where you want by repeatedly pressing the button with the seat icon until the air is blowing at your face (rather than at your feet).The crazy thing is, as bad as all that is, Subaru is one of the better automakers in this regard. They have the HVAC controls broken out into their own separate module on the dashboard, with its own display for the temperature, fan speed, vents, etc. And all the controls have physical buttons, so I can at least feel where the controls are, even if I can no longer determine their current state by feel. Other automakers, like Toyota, Honda and Ford consolidate everything into a single 8" display with capacitive controls. Oh you want to adjust the fan speed while also being able to see the Android Auto UI? Too bad, screw you.
Cars have improved in a lot of subtle ways, I'll admit. All-wheel drive has gone from being a relatively high-end option to being far more ubiquitous. For all its warts, I genuinely do appreciate the fact that Android Auto allows me to have a decent GPS and mapping solution built into my car. But if you gave me a way to bring the HVAC controls from my old car into my new car, I'd take it in a heartbeat.
comment 3y ago · link · parent
In theory, modern games, with patching could be even better. They could be just as well tested as older games, but also ship patches to fix the things that do slip through testing. But in practice nobody does that. Instead, game developers just compress the schedule, knowing full well that they can now ship games with totally breaking bugs that get addressed with multi-gigabyte "day one" patches.
comment 3y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
- When reading, researching, listening to a lecture/podcast/video/etc, take notes on paper. Don't really worry about the formatting or the organization
- Then, in a separate step, structure and transcribe the notes into org-mode (or OneNote or Roam or Evernote or …)
For me, having that two-pass system really does a lot to improve retention. I can type a lot more quickly than I can write by hand, so the actual time commitment for the transcription step isn't very high. But I've found that forcing myself to go over my notes (at least once) in order to get them into an organized and searchable format does a lot to improve how well I remember what I've taken notes on. It also has the added bonus of allowing me to be as messy and disorganized as I need to be in order to get the information down in the first step, because I know that what I'm writing down isn't the "final version", and I'll be going back over it again to edit.
comment 3y ago · link · parent
Teachers (or school systems) that mandate this system, and, even worse,
GRADE NOTEBOOKS completely misunderstand the point of it. In K-12, one of
the goals is to help students become effective learners, which involves
students identifying the tools that help them learn best.
A single assignment forcing Cornell Notes (or any other note taking system) might be all right. Something like, "Here's a reading, please submit a summary of it in Cornell Notes format." That gets the kids to interact with the system, and it exposes students to something that they might find useful going forward. To force its use for an entire quarter or semester just sounds like sadism.Furthermore, from what I can tell, the Cornell system is highly tied to paper (and lined letter/A4 sized paper at that), and is basically useless outside of a school/university context. It doesn't do much to structure your notes. Instead, the class itself is assumed to be providing the structure, and the notes combine with the class structure to provide an outline of your knowledge.
In the "real world", where information is coming at you from a dozen different sources, and it's up to you to provide your own structure, something like Cornell falls down, hard.
comment 3y ago · link · parent
comment 3y ago · link · parent
That is of course perfectly fine, but to me that represents a
not-so-ideal fit between your interests and your job.
If the day job were Clojure, I'd be hacking in Python in my spare time. Or some other language (Rust, Haskell, etc.). Or not even hacking at all, but reading a book, or doing something else. The entire point of having hobby projects for me is that they're not what I'm working on during the day. They're an opportunity to broaden my horizons. Me and a coworker started to dig into glusterfs to solve our
issues. We spent months reading the code on our free time, reading
papers on distributed filesystems, fixing issues in our fork
(hoping that RH would pick up maintenance after the transition).
That just sounds like a lot of unpaid overtime to me. It sounds like you enjoyed it, but I'd find that experience absolutely miserable. Working intensely on a project is great, but I need time where I'm thinking about something completely different, otherwise I burn out fast.comment 3y ago · link · parent
What if your job was open enough that you could find dozens of interesting
fun things to code on the side?
No job is that open. From your other comment in this thread: I have some days packed with meetings and calls, and I actually find it
refreshing/relaxing to work on more down to earth matters in the evenings or
weekend.
I guess I'm fortunate in that I don't really have that many meetings or calls, and I don't have to spend my weekends and evenings doing programming. I get to do mostly programming during the day. Then, in my off hours, I have the option of programming. But I also have the option of doing other things, like watching TV or reading a book, or going for a bike ride.comment 3y ago · link · parent
Nothing great has been achieved by teams where people shut down their brain
after 6pm.
Why do you think that the only options are:1. Thinking about work
or
2. Shutting your brain down
If I want to go hack on some Clojure after work, when the day job is in Python, then what's wrong with that?
comment 3y ago · link · parent
If you're so uninterested by your work that thinking about it after 6pm
makes you sick, why did you pick it?
Doing anything continuously for long periods without rest is unhealthy, and leads to both declining physical and mental health. Working 10-12 hour days is something that you can do for a short burst, but if you're doing it for months on end, it will negatively impact you. I've been in the industry for 15 years, coding since 25+ years, and I very
often think, code, read about work or work related things at any time of the
day or weekend or vacation
I think about code too, but it's rarely work code. It's usually about some hobby project or interesting algorithm that I've picked up.comment 3y ago · link · parent
An occasional coding marathon is fine. I've done it myself, but I don't expect it of anyone else, and if it became a routine expectation (as it seems to be with the author of this post), I would consider it a major red flag.
comment 3y ago · link · parent
Rare work-life balance. In other professions, your work day ends at 18:00,
and you forget about the job. Not here. You will most likely always be
online and checking the code, even in the evening.
If that's the case, quit immediately. I've been in this industry for over a decade (oh god, has it been that long already?) and I have never had a job where I was "always online and checking the code, even in the evening". Not even when I worked at Amazon. Yes, I've been on-call. And yes, I've been paged, but never at anything like the frequency that would imply that I'm "always online".comment 3y ago · link · parent
And besides, it's not as if you're free of those things as a freelancer.
comment 3y ago · link · parent
Maybe if Gnome didn't have so much "modern tech", (like DBus, for example) the Gnome devs wouldn't be so overworked.