Better HN
topnewbestaskshowjobs
Log inSign up

quanticle

9,539 karma · joined Feb 1, 2010 (16y ago) · 1,882 submissions

[ my public key: https://keybase.io/quanticle; my proof: https://keybase.io/quanticle/sigs/DvkLj31z1-sAsaUF2PN8JNDWdvLAJC5vTycg_RIVjAI ]
Submissions

comment 3y ago · link · parent

I assume no such thing. Quite the opposite, actually. I'm pointing out that the author makes this assumption, implicitly, by suggesting that vision quests and other traditional shamanic interpretations of psychosis are a better, more holistic way of dealing with "mad" people than modern medicine.

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

See my other comment [1] re: my experience at Potbelly. Restaurant usage is extremely bursty. For a lot of restaurants in business-y areas, you basically have a single spike of traffic from roughly 11:30 to 13:30 that drives >90% of the day's sales. You miss that, and you may as well write off the entire day's revenue. Investing in the redundancy (two internet connections, three servers, etc) to ensure that the point-of-sale system is online for that spike can be worth it, even for a relatively low-margin business. In fact, it might be more important for a low-margin business given the ephemeral nature of restaurant sales. It's not like e.g. Amazon, where if you're down for a few hours it doesn't matter, because customers will wait to buy their knick-knacks. If you're down for a lunch rush, you've lost that day's sales forever. After all, it's not as if customers are going to stay hungry and come back and buy two sandwiches tomorrow. They'll just go somewhere else for lunch.

[1]: https://news.ycombinator.com/item?id=34350556

comment 3y ago · link · parent

Yeah, but on the other hand, just a few days ago, I went into a Potbelly and had to leave because the point of sale system was "rebooting", and they could neither process credit cards nor even get the cash drawer open to handle sales the old fashioned way. Pretty much everyone in line behind me left too once they realized what was going on. Maybe if they'd had a Kubernetes cluster keeping their local systems online, they wouldn't have missed out on a busy lunch rush.

comment 3y ago · link · parent

It's easy to have a low-effort cynical take about Chick-Fil-A's use of Kubernetes in its restaurants, but the actual post outlining why they chose to provision each restaurant with a 3-node Kubernetes cluster [1] makes a fairly compelling argument. Simply put, they needed to ensure that their point-of-sale terminals had bulletproof reliability, and they wanted to do it in a way that leveraged commodity hardware. The solution they came up with, Kubernetes clusters running on consumer-grade Intel NUCs is a fairly elegant solution to that problem. It reminds me of how Google chose to run on "commodity" Intel servers, rather than "enterprise-grade" hardware from IBM or Sun, realizing that, at scale, failure is guaranteed, no matter how overdesigned your hardware is, and it's more important to design for redundancy, easy provisioning and replacement than it is to design for absolute uptime. Chick-Fil-A has come to a similar realization for their point of sale systems.

[1]: https://medium.com/chick-fil-atech/edge-computing-at-chick-f...

comment 3y ago · link · parent

I appreciate the irony, but the kind of AI that Lisp was designed for (i.e. automated reasoning, expert systems, etc) is really not the same as the kind of AI that we have today. The AI we have today is very much a "worse-is-better" [1] AI. There's no elegance. No craftmanship. Just scale and raw power. And just like worse-is-better programming languages conquered Lisp, worse-is-better AI approaches conquered the classical approaches that were pioneered along with Lisp.

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.

[1]: https://www.dreamsongs.com/WIB.html

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

I used cold air and air conditioning as an example, but my problem is actually the opposite. I live in Minnesota. It gets cold here. I need a constant supply of hot air blowing at the windshield and side windows in order to keep them defrosted. Subaru, in its infinite wisdom, decided to make the "Full Auto" default to having the hot air come out of the foot vents. It also throttles the way back when it detects that the cabin is up to temperature (68°F in my case), which is ostensibly fine, but causes problems with frost. So, every time, I end up having to do a bunch of configuration to override the "smart" HVAC system in order to actually get it to appropriately balance safety and driver comfort.

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

You're proving my point. You're saying that the quality controls imposed upon developers by the console manufacturers resulted in fewer, but higher quality games.

I'm saying that's a good thing.

comment 3y ago · link · parent

No, I think that games that couldn't be patched were, at the very least, just as good and very likely a lot better than modern games. At the very least, the fact that the game couldn't be patched meant that companies invested in QA and testing. In those days, "going gold" or shipping the master ROM was a big deal, and so companies went out of their way to ensure that their product didn't have any huge showstopper bugs prior to launch.

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

All of whom copied it, in turn, from emacs :)

comment 3y ago · link · parent

I would also note that the paper only covers the multiple choice portion of a bar exam, the Uniform Bar Examination (UBE) that has been adopted by most, but not all states. The UBE consists of a multiple choice portion (the Multistate Bar Exam, or MBE), an essay portion and a scenario-based performance test. GPT-3.5 gets a 50% success rate on a practice version of the MBE. It's impressive, but I wouldn't go so far as to say that it's imminent that AIs will threaten lawyers.

comment 3y ago · link · parent

It's a bit odd to see the supplementary data repository linked, rather than the actual paper [1] (HN discussion [2]).

[1]: https://arxiv.org/abs/2212.14402

[2]: https://news.ycombinator.com/item?id=34216239

comment 3y ago · link · parent

    If you were never allowed to provide tech support, in any form, what would
    have to change?
Am I the only one who thinks that the answer to that question, for quite a few companies, is, "Nothing. Absolutely nothing. In fact, that's pretty much what we do right now."

comment 3y ago · link · parent

This is what works for me:

- 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

Well, it's not as if the Gnome devs are listening to me as it is, so I don't really see the difference.

comment 3y ago · link · parent

The part of the paragraph that really bothered me wasn't the hours, actually. It was the implication that you would be expected to code during those hours. Even when I've been on-call, I've never expected to write code, outside of business hours, during my on-call shifts. Update configuration? Sure. Roll back a broken deployment? Absolutely. But if devs are writing significant amounts of code (beyond 10-line patches, or updates to config files) in order to put out operational fires, that's a big red flag. It means that the codebase hasn't been designed to be easily changed with configuration. It means that deployments are so difficult, it's easier to try to write a patch in the moment than it is to roll back and see what went wrong in the morning. Furthermore, any code that is written under that kind of pressure isn't going to be high quality. It's going to be code that does the minimum necessary, with no documentation or unit tests. It's tech-debt equivalent of a high-interest payday loan.

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

I'll be sure to let my boss know about your definition of "working" when it's time for performance reviews :)

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

Right, that's the contrast I wanted to draw. In many other professions it is routine and expected that you're available in the evenings or in your off hours to deal with urgent (potentially life-threatening) issues. Programming is not one of those. If you're routinely being called upon to actually work on code in the evening, that's neither normal or healthy.

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

Programming is a "dream job" for me. I'm getting paid to do (approximately) the same stuff I would be (and am) doing on my own time, and I have entire departments whose job it is to handle the boring drudge work, like accounting, taxes, billing, client meetings, etc. etc. Sure, there are trade-offs. I have to use a language that I'm not entirely happy with, infrastructure choices I don't fully agree with, pre-existing code, and meetings that I find irrelevant, but, overall, I'm happy with the tradeoff.

And besides, it's not as if you're free of those things as a freelancer.

comment 3y ago · link · parent

I don't know about bugs. I haven't really noticed very many bugs in KDE, XFCE or MATE. Those pieces of software seem to be no buggier than Gnome. And I'm not sure why "modern tech" or a rapid release schedule is a good thing in and of itself. Modern tech and rapid releases are good only when they result in good things. Otherwise they're just churn. Change for the sake of change.

Maybe if Gnome didn't have so much "modern tech", (like DBus, for example) the Gnome devs wouldn't be so overworked.

12345
63